﻿
@xsmallDevices: ~"only screen and (max-width: 575px)";
@smallDevices: ~"only screen and (min-width: 576px) and (max-width: 767px)";
@mediumDevices: ~"only screen and (min-width: 768px) and (max-width: 991px)";
@largeDevices: ~"only screen and (min-width: 992px) and (max-width: 1199px)";
@xlargeDevices: ~"only screen and (min-width: 1200px)";



.btn-primary {
    background: #08578b;
    border-color: #3282be;

    &:hover {
        background: #3282be;
    }
}

html {
    background: #1C4E8F; /*#2A3747;*/ /* footer'ın background'u ile aynı olmalı*/
    font-size: 11pt;
}

body {
    /*color: #444;*/
    color: #1C4E8F;
    font-family: Open Sans,sans-serif;
    background: #e6e6e6;


    #main-container {
        background: none;
        margin-top: 16px;

        #upperImage-container {
            #inner-container {
                box-shadow: none;
                margin: 0px auto;

                #breadCrumb-Container {
                    background: #e8e8e8;
                    padding: 0;
                }

                #content-container {
                    background: #fff;
                    background-image: none;
                    background-position: 0 50px;
                    background-repeat: no-repeat;
                    background-size: contain;
                    min-height: 600px;
                    padding: 15px 15px;
                }

                #yanMenuContainer {
                    background: #f3f3f3;

                    ul {
                        padding: 22px 0 0 0;

                        li.liUstKategori {
                            list-style: none;


                            a.aUstKategori:first-child {
                                border-bottom: 1px solid #999;
                                color: #1C4E8F;
                                display: block;
                                height: 100%;
                                width: 100%;
                                padding: 8px 0px;
                                font-weight: bold;

                                &:hover {
                                    color: #376EA7;
                                    text-decoration: none;
                                    text-shadow: -2px 2px 8px #ccc;
                                }
                            }

                            ul {
                                padding: 0 0 0 1em;

                                li {
                                    list-style: none;

                                    a {
                                        border-bottom: 1px solid #ccc;
                                        color: /*#333;*/ #1C4E8F;
                                        display: block;
                                        font-size: 0.9em;
                                        height: 100%;
                                        width: 100%;
                                        padding: 8px 0px;

                                        &:hover {
                                            color: #376EA7;
                                            text-decoration: none;
                                            text-shadow: -2px 2px 8px #ccc;
                                        }
                                    }

                                    &:last-child {
                                        border: none;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}


header.container-fluid {
    @banner-all-color: #31608c; /*Todo : burası değişti*/
    /*@topBar-background: #FFFFFF;*/ /*#193c5d;*/ /* #2A3747;*/ /*Todo : burası değişti*/
    @topBar-background: #ff1100;
    @topBar-color: #eee;
    /*@topBar-height: 36px;*/
    @topBar-height: 25px;
    @bannerBar-background: #FFFFFF; /*#193c5d;*/ /*#DAE8F3;*/ /*Todo : burası değişti*/
    /*@bannerBar-height: 115px;*/ /*eski hali 115 px idi alanı daraltmak istendiği için değiştirildi*/
    @bannerBar-height: 79px;

    @background: #1f76bd;
    @color: #eee;
    padding: 0;
    box-shadow: -2px 5px 6px none;

    #topBar {
        background: @topBar-background;
        color: @topBar-color;
        height: @topBar-height;
        margin-left: 0;
        margin-right: 0;

        .kayanYazi {
            animation: marquee 25s linear infinite;
        }

        .kayanYazi:hover {
            animation-play-state: paused;
        }

        @keyframes marquee {
            0% {
                transform: translateX(100%);
            }

            100% {
                transform: translateX(-100%);
            }
        }


        #ustMenu {
            padding: 0;

            @media @smallDevices {
                display: none;
            }

            @media @xsmallDevices {
                display: none;
            }

            nav {
                a.nav-link {
                    color: #ccc; /*Todo : burası değişti*/

                    &:hover {
                        color: #fff;
                    }
                }
            }
        }

        #mainSearch {
            padding: 0;

            input[type=search] {
                background: #ddd;
                border: 1px solid #115c9b;
                border-radius: 0;
                color: #333;
                float: left;
                padding: 0 8px;
                width: 80%;
                height: 36px;

                &:focus {
                    background: #fff;
                }
            }

            button {
                background: #115c9b;
                border: none;
                color: #ccc;
                cursor: pointer;
                float: left;
                width: 20%;
                height: 36px;
            }
        }
    }

    #bannerBar {
        background: @bannerBar-background;
        height: @bannerBar-height;

        @media @mediumDevices {
            display: none;
        }

        @media @smallDevices {
            display: none;
        }

        @media @xsmallDevices {
            display: none;
        }
    }
}
@mainBar-background: #1C4E8F; /*#193c5d;*/ /* linear-gradient(to bottom, #31608c 0%, #193c5d 100%); */
@mainBar-border-bottom: none; /* 2px solid #f3f060;*/   /*Todo : bu satır değişti, tamamı comment yapıldı */
#mainBar {
        background: @mainBar-background;
        border-bottom: @mainBar-border-bottom;
        margin-left: 0;
        margin-right: 0;
    }


.nav-item img {
    /*width: 280px;
    height: 280px;*/
    /*max-width:280px;
    max-height:280px;*/
    margin:20px;
}


//Titles
h1, h2, h3, h4 {

    @color: #1C4E8F;
    @font-size: 12pt;
    @font-family: "Open Sans", sans-serif;
    @helpButton-color: #115c9b;
    @titleUnder-color: #0e749f;
    color: @color;
    font-family: @font-family;
    width: 100%;
    //Underline effect
    .title-under {
        display: block;
        margin: 5px auto;
        background: @titleUnder-color;
        height: 1px;
        width: 100%;
        // &:after { content: ''; display: block; width: 100px; background: inherit; height: 2px; margin: 0; margin-top: 10px; }
    }
}

h3 > span.gorunenTarih {
    font-size: 0.5em;
}



footer {
    @color: #fff;/* #ccc;*/
    @background: #1C4E8F; /*#2A3747;*/
    background: @background;
    color: @color;
    padding: 2em 0;

    .iletisimContainer {
        margin-bottom: 16px;
    }

    .uyariContainer {
        font-size: 10pt;
    }

    .modalKullanimSartlari {
        color: #444;

        h4 {
            @color: #0e749f;
            color: @color;
        }
    }
}







@media (min-width: 768px) {
    .navbar-collapse .navbar-nav > li > a > .menuItemIcon {
        display: none;
    }

    .navbar-collapse .navbar-nav > li > a > span.text-left {
        display: block;
    }
}

@media (min-width: 992px) {
    .navbar-collapse .navbar-nav > li > a > .menuItemIcon {
        display: block;
    }

    .navbar-collapse .navbar-nav > li > a > span.text-left {
        display: none;
    }
}
/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .navbar-collapse .navbar-nav > li > a > .menuItemIcon {
        display: block;
    }

    .navbar-collapse .navbar-nav > li > a > span.text-left {
        display: none;
    }
}


#slider {
    padding: 1.5rem;
    margin-right: 0;
    margin-left: 0;
    border-width: 0.2rem;
}

.box-center {
    margin: 0 auto;
}

.carousel-caption {
    right: 0;
    bottom: 0;
    left: 0;
    padding-bottom: 30px;
    opacity: 0;
    transition: all 800ms linear;
    background: rgba(0, 0, 0, 0.75);
}

.carousel-item {
    &.active .carousel-caption {
        opacity: 1;
    }
}

#carouselExampleIndicators {
    .carousel-indicators {
        margin:0 5px 0 5px;
        float: right;
        justify-content: flex-end;

        ol {
            float: right;

            li {
                width: 10px;
                height: 10px;
                border-radius: 5px,5px;
            }
        }
    }
}

.carousel-caption {
    h5 {
        text-align: left;
        margin-left:5px;
    }
}
