﻿
@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)";

.searchBar-container {
    margin: 50px -15px;

    input[type=search] {
        background: #fffcfc;
        border: 1px solid #2c3e50;
        border-radius: 2px 0 0 2px;
        border-right: none;
        color: #666;
        float: left;
        font-size: 16px;
        padding: 4px 8px;
        height: 36px;
        width: 85%;

        &:focus {
            background: #fff;
            border: 1px solid #ced4da;
            color: #333;
            transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
        }
    }
    /* Style the submit button */
    button {
        border-radius: 0 2px 2px 0;
        border-left: none;
        float: left;
        height: 36px;
        width: 15%;
    }

    label.form-control {
        border: none;
        background: none;
    }

    &:after {
        content: "";
        clear: both;
        display: table;
    }
}



.homePageContainer {
    background: transparent;
    padding-top: 0;

    .box {
        /*border-radius: 8px;*/
        width: 100%;
        height: 100%;
    }

    .hizliErisim {
        /*@media @xsmallDevices {
            width: auto;
        }

        @media @smallDevices {
            width: 540px;
        }

        @media @mediumDevices {
            width: 720px;
        }

        @media @largeDevices {
            width: auto;
        }

        @media @xlargeDevices {
            width: auto;
        }*/
    }

    .erisimbuton {
        border-radius: 8px;
        /*border:1px solid #333;*/

        a {
            display: block;
            height: 100%;
            width: 100%;
            overflow: hidden;
            border-radius: 8px;
            /*margin: 0px 0px 1px 0px;*/


            img {
                height: 100%;
                width: 100%;
                transition: transform 0.5s;

                &:hover {
                    transform: scale(1.05);
                }
            }
        }
    }


    .sliderContainer {
        border-radius: 8px;
        /* todo yukarıdaki border radius yeni eklendi */
        height: 100%;
        background: #fff;
        padding: 2px;
        /*margin-bottom: 20px;*/
        /*@media @largeDevices {
            height: 307px;
            height: 482px;
        }

        @media @mediumDevices {
            height: 347px;
        }

        @media @smallDevices {
            height: 257px;
        }

        @media @xsmallDevices {
            height: auto;
        }*/
    }

    .hizliErisimContainer {
        /*padding-left: 0px;
        padding-right: 0px;*/
        width: 100%;

        .hizliErisim {
            width: auto;
            height: auto;
            /*height:175px;*/
            /*border: 4px solid #e2e4e5;*/
            background: #fff;
            border-radius: 8px;
            /*border-color: black;*/
            /*margin: 0px 3px 3px 0px;*/


            a {
                display: block;
                height: 100%;
                width: 100%;
                overflow: hidden;
                border-radius: 8px;
                /*margin: 0px 0px 1px 0px;*/


                img {
                    height: 100%;
                    width: 100%;
                    transition: transform 0.5s;

                    &:hover {
                        transform: scale(1.05);
                    }
                }
            }
        }
        /*.mevzuat {
            margin: 0px 0px 5px 0px;
        }

        .bulten {
            margin: 0px 0px 5px 0px;
        }

        .kurulus {
            margin: 0px 0px 17px 0px;
        }

        .surdurulebilirlik {
            margin: 0px 0px 17px 0px;
        }*/
    }

    .tbvContainer {
        /* todo aşağıdaki 1 satır radius yeni eklendi */
        border-radius: 8px;
        background: #fff;
        padding: 25px;


        @media @largeDevices {
            font-size: 0.8em;
            height: 307px;
        }

        ul {
            padding-left: 0;
            margin-top: 1em;

            li {
                list-style: none;
                color: #333;
                padding: 0.5em 0;
                transition: all 0.4s;

                .tbv_up {
                    font-size: 1.3em;
                    color: #adcd9c;
                    margin-left: 1em;
                }

                &:hover {
                    background: #eee;

                    .tbv_up {
                        color: #4a5c41;
                    }
                }
            }
        }

        hr {
            margin-top: 4px;
            margin-bottom: 4px;
        }

        p.showAllLink {
            margin-bottom: 0;
        }

        p.showAllLink > a {
            color: #467bad;
            transition: all 0.4s;


            &:hover {
                text-decoration: none;
                text-shadow: -2px 2px 8px #aacced;
            }
        }
    }

    .midButtonContainer {
        /*border-radius: 8px;*/

        a {
            display: block;
            height: 100%;
            width: 100%;
            overflow: hidden;
            border-radius: 16px;


            img {
                height: 100%;
                width: 100%;
                transition: all 0.8s;

                &:hover {
                    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
                    transform: scale(1.05);
                }
            }
        }

        .midButton {
            transition: all 0.4s;
            background: #fff;
            /*height: 150px;*/
            border-radius: 14px;
            /*border: 4px solid #e6e6e6;*/

            a {
                color: inherit;
                cursor: pointer;
                display: block;
                height: 100%;
                width: 100%;
                text-decoration: none;
                text-align: center;



                &:hover {
                    img {
                        opacity: 1;
                        transform: scale(1.05);
                    }
                }

                img {
                    height: 90%;
                    margin-top: 10px;
                    opacity: 0.8;
                    transition: all 0.8s;
                    -webkit-transition: all 1.0s; /* For Safari 3.1 to 6.0 */
                }
            }
        }
        /*margin-bottom: 16px;

        .midButton {
            background: #eff1f3;
            border: 1px solid #333;
            transition: all 0.4s;
            margin-bottom: 4px;*/
        /* todo: aşağıdaki radius yeni eklendi */
        /*margin-bottom: 8px;
            border-radius: 8px;

            a {
                color: inherit;
                cursor: pointer;
                display: block;
                height: 100%;
                width: 100%;
                text-decoration: none;

                span.icon {*/
        /*background: #467bad;*/
        /*color: #fff;
                    display: table-cell;
                    padding: 0em 2em;
                    text-align: left;
                    height: 110px;
                    width: 120px;
                    vertical-align: middle;*/
        /* todo: aşağıdaki  background ve radius yeni eklendi yukarıdaki background comment'lendi */
        /*background: #5d9ad5;
                    border-radius: 8px 0 0 8px;

                    &:hover {
                        color: #467bad;
                    }
                }

                span.text {
                    padding: 0.5em;
                    display: table-cell;
                    vertical-align: middle;
                    font-size: 16pt;
                    height: 100px;

                    span.aciklama {
                        font-size: 9pt;
                        display: table-row;
                    }
                }

                &:hover {
                    color: #467bad;
                    text-decoration: none;

                    span.icon {
                        transition: all 0.4s;
                        background: #2b4876;
                    }
                }
            }

            &:hover {
                background: #fff;
                box-shadow: 0 0 8px #1A1727;
            }
        }*/
    }

    .hotDuyuruContainer {

        .tab-content {
            background: #fff;
            padding: 1em;
            /*border: 1px solid #fff;*/
            border-radius: 8px;
            /*border: 1px solid #444;*/
        }

        h4 a:hover {
            color: black; 
            /*text-decoration: underline;*/ 
        }
    }

    .hotTopicContainer {
        /*background: #fff;
        margin: 0;*/
        /* todo: yukarıdaki iki satır commentlendi*/
        .hotTopicList {
            /*padding: 2em 0em;*/
            padding: 2em;
            background: #fff;
            border-radius: 8px;
            /* todo yukarıdaki 3 satır yeni eklendi*/
            h4.hotTopicTitle {
                border-bottom: 1px solid;
            }

            h4.firstHotTopic {
                color: #a34f4b;
            }

            h4.secondHotTopic {
                color: #4b78a3;
            }

            h4.thirdHotTopic {
                color: #91aa1d;
            }

            ul {
                padding: 0em;
                list-style: none;

                li {
                    border-bottom: 1px solid #ddd;

                    &:last-child {
                        border: none;
                    }
                }

                .hotTopic {
                    transition: all 0.5s;
                    height: 85px;

                    a {
                        display: block;
                        height: 100%;
                        width: 100%;
                        padding: 1em 0em;

                        span.icon {
                            display: table-cell;
                            vertical-align: middle;

                            span.iconCircle {
                                display: block;
                                padding: 9px;
                                text-align: center;
                                background: #467bad;
                                border: 1px solid #467bad;
                                border-radius: 50%;
                                color: #fff;
                                height: 50px;
                                width: 50px;
                            }

                            span.iconCircle.firstHotTopic {
                                background: #a34f4b;
                                border: 1px solid #a34f4b;
                            }

                            span.iconCircle.secondHotTopic {
                                background: #467bad;
                                border: 1px solid #467bad;
                            }

                            span.iconCircle.thirdHotTopic {
                                background: #91aa1d;
                                border: 1px solid #91aa1d;
                            }
                        }

                        span.text {
                            color: #333;
                            display: table-cell;
                            padding: 0 0 0 1em;
                            vertical-align: middle;
                            font-size: 10pt;

                            span.gorunenTarih {
                                color: #467bad;
                                font-size: 0.8em;
                                display: table-row;
                            }
                        }

                        &:hover {
                            text-decoration: none;

                            span.text {
                                color: #000;
                            }
                        }
                    }


                    &:hover {
                        background: #eee;
                    }
                }
            }
        }

        div.sonCizgi {
            width: 100%;
            display: block;
            height: 7px;
            background-image: repeating-linear-gradient(135deg, #e2e2e2,#e2e2e2 2px,#fff 2px, #fff 4px);
            margin-bottom: 1em;
        }

        p.showAllLink {
            /* todo: aşağıdaki padding bottom yeni eklendi, normalde default değer bırakılıyor, sağdaki 5 midbutton ile aynı seviye olsun diye*/
            margin-bottom: 10px;

            a {
                color: #467bad;
                transition: all 0.2s;



                &:hover {
                    text-decoration: none;
                    text-shadow: -2px 2px 8px #aacced;
                }
            }
        }
    }

    .subButtonContainer {
        /*margin: 1em 0;*/
        margin-top: 1em;
        /*border: 1px solid #333;*/
        /*border: 1px solid #eff1f3;*/
        /* todo aşağıdaki 1 radius ve 1 background color yeni eklendi*/
        border-radius: 8px;
        /*background: #eff1f3;*/
        /*background: #fff;*/

        .subButton {
            /*background: #eff1f3;*/
            /* todo yukarıdaki background yeni commentlendi*/
            transition: all 0.4s;
            background: #fff;
            height: 150px;
            border-radius: 14px;
            border: 4px solid #e6e6e6;

            a {
                color: inherit;
                cursor: pointer;
                display: block;
                height: 100%;
                width: 100%;
                text-decoration: none;
                text-align: center;



                &:hover {
                    img {
                        opacity: 1;
                        transform: scale(1.1);
                    }
                }

                img {
                    height: 90%;
                    margin-top: 10px;
                    opacity: 0.8;
                    transition: all 0.8s;
                    -webkit-transition: all 1.0s; /* For Safari 3.1 to 6.0 */
                }
                /*span.icon {
                    padding: 1em;
                    color: #467bad;
                }

                span.verticalAligned {
                    font-size: 10pt;
                    display: block;
                    text-align: center;
                }

                span.verticalAligned.text {
                    padding: 0 1em;
                    height: 4em;
                }

                &:hover {
                    color: #467bad;
                    text-decoration: none;
                }*/
            }
        }
    }
}






//FlatButtons

.flatButtonContainer {
    /*width: 100%;
    margin-left: 0;
    margin-right: 0;*/
    /*margin-left: -10px;
    margin-right: -10px;
    margin-bottom: 2em;*/
    border: 1px solid #1C4E8F;
    border-radius: 8px;
    padding: 10px 10px 10px 10px;
    margin: 10px;


    a &:hover {
        color: #1C4E8F;
        /*text-decoration: underline;*/
    }
    /*a:hover h4 {
        color: black;*/
    /*}*/


    .flatButton {

        @color: #666;
        @color: #1C4E8F;
        @hover-color: #000;
        @background: none;

        @hover-background: none;
        @borderColor: default;
        @hover-borderColor: default;
        @border-radius: default;
        @box-shadow: none;

        padding: 4px;
        /*margin-bottom: 2em;*/

        div.panel {
            background: @background;
            border-color: @borderColor;
            border-radius: @border-radius;
            box-shadow: @box-shadow;
            color: @color;
            margin: 0;
            padding: 0;
            position: relative;
            transition: all 1.0s;
            -webkit-transition: all 1.0s; /* For Safari 3.1 to 6.0 */
            &:hover {
                background: @hover-background;
                border-color: @hover-borderColor;
                color: @hover-color;
                /*opacity:1;*/
                .honk {
                    opacity: 1;
                    transform: scale(1.1);
                }
            }

            a {
                cursor: pointer;
                color: inherit;
                cursor: pointer;
                display: block;
                height: 100%;
                width: 100%;
                text-decoration: none;

                span.icon {
                    overflow: hidden;
                    background-size: auto;
                    box-shadow: 0 8px 8px #ccc;

                    &:hover {
                        transition: all 1.0s;
                        box-shadow: 0 8px 8px #ccc;
                    }
                    /*width: 100%;
                    height: 50%;*/
                    img {
                        width: 100%;
                        display: block;
                        opacity: 0.8;
                        transition: all 1.0s;
                        -webkit-transition: all 1.0s; /* For Safari 3.1 to 6.0 */
                    }
                }

                span.verticalAligned {
                    display: block;
                    text-align: center;
                    /*border: 1px solid #333;*/
                    border-radius: 8px;
                }

                span.verticalAligned.tarih {
                    font-size: 12pt;
                    font-weight: bold;
                    /*border: 1px solid #333;*/
                    border-top: none;
                    border-bottom: none;
                    margin-top: 15px;
                }

                span.verticalAligned.baslik {
                    font-size: 10pt;
                    padding: 0 1em;
                    height: 64px;
                    text-align: justify;
                    line-height: 12pt;
                    border-radius: 0 0 4px 4px;
                    /*border: 1px solid #333;*/
                    border-top: none;
                    margin-top: 10px;
                }
            }
        }
    }
}
