﻿h1 {
    font-size: 26px;
    color: #C0392B;
}

h2 {
    font-weight: bold;
    font-size: 20px;
}

h3 {
    font-weight: bold;
    font-size: 20px;
    color: #800000;
}

.lineheight12 {
    line-height: 1.2;
}

.padding5 {
    padding: 5px;
}

.padding10 {
    padding: 10px;
}

.alignleft {
    text-align: left;
}

.alignright {
    text-align: right;
}

.border3 {
    border-spacing: 3px;
    border-collapse: collapse;
    border-width: 1px;
    border-style: solid;
    border-color: #C0C0C0;
}

.gridName {
    min-height: 96px;
    overflow: hidden;
    display: block;
}

.center {
    text-align: center;
}

.floatleft {
    float: left;
}

.boxshadow {
    box-shadow: 5px 5px 10px #e8e8e8;
}

.boxradius {
    border-radius: 4px;
}

.newsImage {
    height: 250px;
    border-width: 0px;
    float: left;
    margin-right: 10px;
}

.spot {
    line-height: 2;
}

.gridimage {
    height: 150px;
    width: auto;
    border-width: 0px;
    float: left;
    margin-right: 15px;
    margin-bottom: 10px;
}

.logotext {
    font-family: Arial;
    font-size: 40px;
    color: #cc0000;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
}

    .logotext:hover {
        color: red;
    }

.logotext25 {
    font-size: 25px;
    color: #cc0000;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
}

    .logotext25:hover {
        color: red;
    }

.mainmenu {
    background: #003366;
    vertical-align: middle;
    width: 100%;
}

.mainmenuitem {
    float: left;
    padding: 10px 20px 10px 20px;
    text-align: center;
    align-items: center;
    display: flex;
}

.mainnmenulink {
    font-size: 16px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
}

    .mainnmenulink:hover {
        color: #FFF000;
    }


.submenu {
    background-color: beige;
}

.submenuItem {
    float: left;
    width: 25%;
    text-align: left;
}


.submenulink {
    color: #448f07;
    text-decoration: none;
}

    .submenulink:hover {
        color: #fc8902;
    }

.link18 {
    font-size: 18px;
    color: #1F3A93;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
}

    .link18:hover {
        color: #C0392B;
        text-decoration: underline;
    }

.bottom-cookies {
    background-color: #fffa91;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    overflow: hidden;
}

.newsbody {
    word-wrap: break-word;
    margin-top: 10px;
}

.GridSpot {
    font-size: 16px;
    color: #000000;
    text-decoration: none;
}

    .GridSpot:hover {
        text-decoration: underline;
    }

.GridTitle {
    font-size: 20px;
    color: #cc0000;
    font-weight: bold;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%; 
}

    .GridTitle:hover {
        color: red;
        text-decoration: underline;
    }

.Link20 {
    font-size: 20px;
    color: #1F3A93;
    font-weight: bold;
    text-decoration: none;
    display: block;
}

    .Link20:hover {
        color: #C0392B;
        text-decoration: underline;
    }

.LinkList20 {
    font-size: 20px;
    color: #cc0000;
    font-weight: bold;
    text-decoration: none;
}

    .LinkList20:hover {
        color: red;
        text-decoration: underline;
    }

.LinkList16 {
    font-size: 20px;
    color: #cc0000;
    font-weight: bold;
    text-decoration: none;
}

    .LinkList16:hover {
        color: red;
        text-decoration: underline;
    }

.button16 {
    border-width: 1px;
    border-radius: 3px;
    color: white;
    background-color: #cc0000;
    height: 45px;
    width: 140px;
    font-size: 16px;
}

.footercorporatemenu {
    background-color: whitesmoke;
    width: 100%;
    line-height: 2;
}

.footermenu {
    background-color: white;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    overflow: auto;
    border-top: solid grey 1px;
    line-height: 1;
}

.footerlink {
    font-size: 15px;
    color: navy;
    line-height: 19px;
    text-decoration: none;
    font-weight: normal;
}

    .footerlink:hover {
        color: red;
        text-decoration: underline;
    }

a {
    color: #1F3A93;
    text-decoration: none;
}

    a:hover {
        color: #C0392B;
    }

.links-container a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    color: #34495e;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid #eef2f5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease-in-out;
}

    /* Dokununca veya Fareyle Üzerine Gelince (Hover/Active) */
    .links-container a:hover,
    .links-container a:active {
        background-color: #f8fafd;
        color: #b71c1c; /* Seçilen link sitenin rengini alır */
        border-color: #e2e8f0;
        transform: translateX(3px); /* Sağa doğru hafif tatlı bir kayma efekti */
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    }

    /* İsteğe bağlı: Sağ tarafa küçük bir ok simgesi eklemek istersen (CSS yardımıyla otomatik gelir) */
    .links-container a::after {
        content: "›";
        font-size: 18px;
        color: #bdc3c7;
        transition: color 0.2s;
    }

    .links-container a:hover::after {
        color: #b71c1c;
    }


@media screen and (min-width: 1025px) {
    body {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 16px;
        line-height: 1.4;
        color: 333;
        background-color: #f5f5f5;
    }

    .pagebody {
        width: 1200px;
        border-spacing: 0;
        border-collapse: collapse;
        border-width: 1px;
        border-style: solid;
        border-color: #1D2C00;
        overflow: auto;
        margin: auto;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
        background-color: #ffffff;
    }

    .IsMobileView {
        display: none;
    }

    .IsDesktopView {
        display: normal;
    }

    .pagewidth {
        width: 1200px;
        overflow: auto;
        margin: auto;
    }

    .pageLine {
        width: 100%;
        border-width: 0px;
        border-spacing: 0;
        overflow: auto;
        margin: auto;
        box-sizing: border-box;
        padding: 10px;
    }

    .contentleft {
        float: left;
        width: 85%;
    }

    .contentright {
        float: left;
        width: 15%;
        text-align: right;
    }

    .newsGrid {
        overflow-x: hidden;
        overflow-y: hidden;
        margin: auto;
        text-align: left;
        line-height: 1.5;
    }

    .newsGridItem {
        width: 97%;
        height: 160px;
        min-height: 160px;
        margin: 10px;
        padding: 8px 8px 8px 8px;
        display: inline-block;
        overflow: hidden;
        background-color: red;
        line-height: 1.5;
    }

    .newsdetail {
        width: 75%;
        overflow: auto;
        margin: auto;
        height: 100%;
        min-width: 400px;
    }

    .textbox {
        width: 60%;
        min-width: 200px;
        font-size: 18px;
        border-width: 1px;
        border-radius: 3px;
        vertical-align: top;
        display: inline;
        background-color: white;
        padding: 10px;
    }

    .footerbox {
        width: 18%;
        height: 175px;
        text-align: center;
        margin: 10px;
        float: left;
        min-width: 175px;
        line-height: 1.7;
    }

    .searchbox {
        width: 60%;
        min-width: 200px;
        font-size: 18px;
        border-width: 1px;
        border-radius: 3px;
        font-weight: bold;
        vertical-align: top;
        display: inline;
        color: #1F3A93;
        background-color: white;
    }

    .searchButton {
        margin-left: 10px;
        margin-right: 10px;
    }
}


@media screen and (min-width: 769px) and (max-width: 1024px) {
    body {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 16px;
        line-height: 1.4;
        background-color: #EFEBD4;
    }

    .pagebody {
        width: 90%;
        min-width: 600px;
        max-width: 1200px;
        border-spacing: 0;
        border-collapse: collapse;
        border-width: 1px;
        border-style: solid;
        border-color: #1D2C00;
        overflow: auto;
        margin: auto;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
        background-color: #ffffff;
    }

    .IsMobileView {
        display: none;
    }

    .IsDesktopView {
        display: normal;
    }

    .pagewidth {
        width: 90%;
        min-width: 600px;
        max-width: 1200px;
        overflow: auto;
        margin: auto;
    }

    .pageLine {
        width: 100%;
        border-width: 0px;
        border-spacing: 0;
        overflow: auto;
        margin: auto;
        box-sizing: border-box;
        padding: 10px;
    }

    .contentleft {
        float: left;
        width: 85%;
    }

    .contentright {
        float: left;
        width: 15%;
        text-align: right;
    }

    .newsGrid {
        margin: auto;
        text-align: left;
        line-height: 1.5;
    }

    .newsGridItem {
        width: 99%;
        height: 160px;
        min-height: 160px;
        margin: 5px;
        display: inline-block;
        overflow: hidden;
        background-color: red;
    }

    .newsdetail {
        width: 75%;
        overflow: auto;
        margin: auto;
        height: 100%;
        min-width: 400px;
    }

    .textbox {
        width: 60%;
        min-width: 200px;
        font-size: 18px;
        border-width: 1px;
        border-radius: 3px;
        vertical-align: top;
        display: inline;
        background-color: white;
        padding: 10px;
    }

    .footerbox {
        width: 18%;
        height: 175px;
        text-align: center;
        margin: 10px;
        float: left;
        min-width: 175px;
        line-height: 1.6;
    }

    .gridimage {
        float: none;
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 0 auto 15px auto;
    }

    .searchbox {
        width: 60%;
        min-width: 200px;
        font-size: 18px;
        border-width: 1px;
        border-radius: 3px;
        font-weight: bold;
        vertical-align: top;
        display: inline;
        color: #1F3A93;
        background-color: white;
    }
    .searchButton {
        margin-left: 10px;
        margin-right: 10px;
    }
}

@media only screen and (max-width: 768px) {

    .IsMobileView {
        display: normal;
    }

    .IsDesktopView {
        display: none;
    }

    body {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 16px;
        line-height: 1.4;
        text-align: center;
        margin: 0px
    }

    .pagebody {
        width: 100%;
        max-width: 600px;
        border-spacing: 0;
        overflow: auto;
        margin: auto;
    }

    .pagewidth {
        width: 100%;
        max-width: 600px;
        overflow: auto;
        margin: auto;
    }

    .pageLine {
        width: 100%;
        border-width: 0px;
        border-spacing: 0;
        overflow: auto;
        margin: auto;
        box-sizing: border-box;
    }

    .contentleft {
        float: left;
        width: 100%;
    }

    .contentright {
        float: left;
        width: 0%;
        text-align: right;
    }

    .newsGrid {
        margin: auto;
        text-align: left;
        line-height: 1.5;
    }

    .newsGridItem {
        height: auto !important;
        min-height: unset !important;
        margin-bottom: 30px !important; /* Her haber kutusunun altına 30px boşluk açar */
        border-bottom: 1px solid #e0e0e0 !important; /* İsteğe bağlı: Haberler arasına çok hafif, ince bir çizgi çeker */
    }

        .newsGridItem > div:nth-child(2) {
            display: block !important;
            clear: both !important;
            width: 100% !important;
            height: auto !important;
        }

    .newsdetail {
        width: 100%;
        overflow: auto;
        margin: auto;
        text-align: center;
    }

    .textbox {
        width: 60%;
        min-width: 200px;
        font-size: 18px;
        border-width: 1px;
        border-radius: 3px;
        vertical-align: top;
        display: inline;
        background-color: white;
        padding: 10px;
    }

    .footerbox {
        width: 94%;
        height: 175px;
        text-align: center;
        margin: 10px;
        float: left;
        line-height: 1.6;
    }

    .footermenu-box {
        background-color: white;
        float: left;
        width: 20%;
        text-align: center;
        overflow: auto;
        height: 100%;
        padding-bottom: 2px;
        padding-top: 5px;
        white-space: nowrap; 
        letter-spacing: -0.5px;
    }

    .gridimage {
        float: none !important; 
        display: block !important;
        width: 99% !important;
        height: auto !important;
        margin: 0 auto 15px auto !important;
    }
    .searchbox {
        width: 75%;
        min-width: 200px;
        font-size: 18px;
        border-width: 1px;
        border-radius: 3px;
        font-weight: bold;
        vertical-align: top;
        display: inline;
        color: #1F3A93;
        background-color: white;
    }
    .searchButton {
        width: 20%;
    }
}
