﻿@font-face {
    font-family: 'neo-sans-pro-medium';
    src: url('../font/fonts/neo-sans-pro-medium.woff') format('woff');
}

@font-face {
    font-family: 'neosans-bold-tr';
    src: url('../font/fonts/neosans-bold-tr.woff') format('woff');
}

@font-face {
    font-family: 'neosans-light-tr';
    src: url('../font/fonts/neosans-light-tr.woff') format('woff');
}

@font-face {
    font-family: 'NeoSansPro-Regular';
    src: url('../font/fonts/NeoSansPro-Regular.woff') format('woff');
}

.overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #3438c2;
    opacity: 0.7;
    filter: alpha(opacity=70);
    left: 0;
    top: 0;
    z-index: 98;
}

.logo_mobil {
    width: 70%;
    float: left;
}

.mobile_right {
    width: 15%;
    float: left;
    border-left: 1px solid #fff;
}

    .mobile_right .left,
    .mobile_right .right {
        width: 100%;
        float: left;
        text-align: center;
        height: 55px;
        color: #fff;
        font-size: 25px;
        line-height: 55px;
    }

    .mobile_right .right {
        border-left: 1px solid #fff;
        position: relative;
    }

        .mobile_right .right a {
            color: #fff;
        }

.search-box {
    z-index: 1;
    background: #263277;
    position: absolute;
    width: 100%;
    right: auto;
    left: 0;
    line-height: 60px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-top: 1px solid #fff;
    display: none;
}

    .search-box:before {
        content: "";
        position: absolute;
        top: -28px;
        right: 5%;
        border-left: 12px solid transparent;
        border-right: 12px solid transparent;
        border-top: 14px solid transparent;
        border-bottom: 14px solid #ffffff;
    }

    .search-box .form-control {
        width: 75%;
        display: inline-block;
        font-size: 12px;
        padding: 10px;
        outline: none;
        color: #000;
        background-color: #fff;
    }

    .search-box .btnAraMobile {
        width: 15%;
        display: inline-block;
        background: #263277;
        color: #fff;
        font-size: 24px;
        outline: none;
        cursor: pointer;
        line-height: normal;
        border: 1px solid #263277;
    }

.logo_mobil img {
    width: 150px;
    margin: 15px auto;
}

.icon {
    width: 15%;
    height: 55px;
    float: left;
    padding: 5px 3px;
    border-right: 1px solid #fff;
}

nav {
    position: relative;
}

.mobile_menu {
    position: absolute;
    border-top: 1px solid #fff;
    width: 100%;
    height: auto;
    background: #3438c2;
    left: 0;
    top: auto;
    display: none;
    z-index: 2;
}

    .mobile_menu ul li a {
        line-height: 50px;
        font-size: 16px;
        font-weight: bold;
        color: #fff;
        cursor: pointer;
        padding: 0 10px;
        display: block;
        text-decoration: none;
        text-align: center;
    }

    .mobile_menu ul li.mobil_user {
        background: #333;
        border-bottom: 1px solid #fff;
    }

.toggle-wrap {
    padding: 10px;
    position: relative;
    cursor: pointer;
}

    .toggle-bar,
    .toggle-bar::before,
    .toggle-bar::after,
    .toggle-wrap.active .toggle-bar,
    .toggle-wrap.active .toggle-bar::before,
    .toggle-wrap.active .toggle-bar::after {
        -webkit-transition: all .2s ease-in-out;
        -moz-transition: all .2s ease-in-out;
        -o-transition: all .2s ease-in-out;
        transition: all .2s ease-in-out;
        cursor: pointer;
    }

.toggle-bar {
    width: 30px;
    margin: 10px auto;
    position: relative;
    border-top: 3px solid #fff;
    display: block;
    cursor: pointer;
}

    .toggle-bar::before,
    .toggle-bar::after {
        content: "";
        display: block;
        background: #fff;
        height: 3px;
        width: 30px;
        position: absolute;
        top: -10px;
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        -ms-transform-origin: 13%;
        -webkit-transform-origin: 13%;
        transform-origin: 13%;
        cursor: pointer;
    }

    .toggle-bar::after {
        top: 5px;
    }

.toggle-wrap.active .toggle-bar {
    border-top: 6px solid transparent;
}

    .toggle-wrap.active .toggle-bar::before {
        -ms-transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    .toggle-wrap.active .toggle-bar::after {
        -ms-transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

.nav {
    display: inline-block;
    padding: 50px;
    text-align: center;
    margin: 0px 10px;
    position: absolute;
}

    .nav li:hover {
        background: #4fa9d8;
    }

    .nav > ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: inline-block;
        background: #3B95C4;
        border-radius: 5px;
        color: rgba(255,255,255,0.7);
    }

        .nav > ul > li {
            float: left;
            width: 120px;
            height: 50px;
            line-height: 50px;
            position: relative;
            font-size: 14px;
            cursor: pointer;
        }

ul.drop-menu {
    position: absolute;
    top: 100%;
    left: auto;
    min-width: 300px;
    max-width: 62%;
    text-align: left;
    z-index: 9999;
    padding: 0 15px;
    background-color: #fff;
}

    ul.drop-menu li {
        overflow: hidden;
        height: 35px;
        display: none;
    }

        ul.drop-menu li a {
            display: block;
            overflow: hidden;
            line-height: 34px;
            color: #000000;
            border-bottom: dashed 1px #e3e3e3;
            min-height: 34px !important;
            font-size: 13px;
            font-family: 'neo-sans-pro-medium';
        }

        ul.drop-menu li:last-child a {
            border: none;
        }

        ul.drop-menu li a:hover {
            color: #3438c2;
            padding-left: 14px;
            -webkit-transition: all ease 0.5s;
            transition: all ease 0.5s;
            background-color: #fff !important;
        }

        ul.drop-menu li:hover {
            background: #fff;
        }

        ul.drop-menu li:first-child {
            border-radius: 2px 2px 0 0;
        }

        ul.drop-menu li:last-child {
            border-radius: 0 0 5px 5px;
        }

li:hover > ul.drop-menu li {
    display: block;
}

li:hover > ul.drop-menu.menu-5 {
    perspective: 1000px;
}

    li:hover > ul.drop-menu.menu-5 li {
        transform-origin: top center;
        opacity: 0;
    }

    li:hover > ul.drop-menu.menu-5 div.imgResim1 {
        display: block;
        height: 160px;
        background-image: url('../img/menukurumsal.jpg');
        background-repeat: no-repeat;
        background-position: top center;
    }

li:nth-child(3):hover > ul.drop-menu.menu-5 li {
    float: left;
    width: 50%;
}

li:hover > ul.drop-menu.menu-5 div.imgResim2 {
    display: block;
    height: 160px;
    background-image: url('../img/menuhizmetler.jpg');
    background-repeat: no-repeat;
    background-position: top center;
}

li:hover > ul.drop-menu.menu-5 div.imgResim3 {
    display: block;
    height: 160px;
    background-image: url('../img/menusayfalar.jpg');
    background-repeat: no-repeat;
    background-position: top center;
}

li:hover > ul.drop-menu.menu-5 li:nth-child(1) {
    animation-name: menu-5;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
}

li:hover > ul.drop-menu.menu-5 li:nth-child(2) {
    animation-name: menu-5;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
}

li:hover > ul.drop-menu.menu-5 li:nth-child(3) {
    animation-name: menu-5;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
}

li:hover > ul.drop-menu.menu-5 li:nth-child(4) {
    animation-name: menu-5;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
}

li:hover > ul.drop-menu.menu-5 li:nth-child(5) {
    animation-name: menu-5;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
}

li:hover > ul.drop-menu.menu-5 li:nth-child(6) {
    animation-name: menu-5;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
}

li:hover > ul.drop-menu.menu-5 li:nth-child(7) {
    animation-name: menu-5;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
}

li:hover > ul.drop-menu.menu-5 li:nth-child(8) {
    animation-name: menu-5;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
}

li:hover > ul.drop-menu.menu-5 li:nth-child(9) {
    animation-name: menu-5;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
}

li:hover > ul.drop-menu.menu-5 li:nth-child(10) {
    animation-name: menu-5;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
}

li:hover > ul.drop-menu.menu-5 li:nth-child(11) {
    animation-name: menu-5;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
}

li:hover > ul.drop-menu.menu-5 li:nth-child(12) {
    animation-name: menu-5;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
}

li:hover > ul.drop-menu.menu-5 li:nth-child(13) {
    animation-name: menu-5;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
}

@keyframes menu-5 {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    50% {
        opacity: 1;
    }

    90% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media(max-width:767px) {
    .open > .dropdown-menu {
        position: relative;
        width: 100%;
        border: none;
        border-radius: 0;
    }
    li:hover > ul.drop-menu.menu-5 li {
        opacity: 1;
    }
    .mobile_menu ul li a {
        line-height: 35px;
        font-size: 14px;
    }

    .mobile_menu ul li.open > .dropdown-menu li a {
        color: #000;
    }

    .mobile_menu ul li.open > .dropdown-menu li:first-child {
        border: none;
    }

    .mobile_menu ul li.open > .dropdown-menu li {
        border-top: 1px solid #000;
    }

    ul.drop-menu {
        max-width: 100%;
        width: 100%;
        top: auto;
    }

    li:hover > ul.drop-menu.menu-5 div.imgResim3, li:hover > ul.drop-menu.menu-5 div.imgResim2, li:hover > ul.drop-menu.menu-5 div.imgResim1 {
        background-image: url('none');
        height: auto;
    }

    li:nth-child(3):hover > ul.drop-menu.menu-5 li {
        width: 100%;
    }
}
