﻿.logo_mobil {
    width: 75%;
    float: left;
    border-bottom: 1px solid #ddd;
}

.mobile_right {
    width: 15%;
    float: left;
    border-left: 1px solid #ddd;
}

    .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 #ddd;
        position: relative;
    }

        .mobile_right .right a {
            color: #fff;
        }

.search-box {
    z-index: 1;
    background: #000;
    position: absolute;
    width: 100%;
    right: auto;
    left: 0;
    line-height: 60px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    border-top: 4px solid #fff;
    display: none;
}

    .search-box:before {
        content: "";
        position: absolute;
        top: -28px;
        right: 20%;
        border-left: 12px solid transparent;
        border-right: 12px solid transparent;
        border-top: 14px solid transparent;
        border-bottom: 14px solid #fff;
    }

    .search-box .form-control {
        width: 75%;
        display: inline-block;
        font-size: 16px;
        padding: 10px;
        outline: none;
        color: #000;
    }

    .search-box .btnAraMobile {
        width: 15%;
        display: inline-block;
        background: #fff;
        color: #000;
        font-size: 16px;
        outline: none;
        cursor: pointer;
        line-height: 33px;
        border: 1px solid #fff;
    }

.logo_mobil img {
    width: 90px;
    margin: 0 auto;
}

.icon {
    width: 25%;
    height: 50px;
    float: left;
    padding: 5px 3px;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

nav {
    position: relative;
}

.mobile_menu {
    position: absolute;
    border-top: 1px solid #ddd;
    width: 100%;
    height: auto;
    background: #9d9d9d;
    left: 0;
    top: auto;
    display: none;
    z-index: 2;
}

    .mobile_menu ul li a {
        line-height: 32px;
        font-size: 12px;
        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: #4a4a4c;
        border-bottom: 1px solid #ddd;
    }

.toggle-wrap {
    padding: 10px 5px;
    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: 0;
    min-width: 180px;
    max-width: 100%;
    text-align: left;
    z-index: 9999;
}

    ul.drop-menu li {
        display: none;
        background: #fff;
        border-bottom: 2px #fff solid;
        padding: 5px 0;
    }

        ul.drop-menu li a {
            display: block;
            color: #000;
            overflow: hidden;
            padding: 0 15px;
            -ms-text-overflow: ellipsis;
            -o-text-overflow: ellipsis;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-size: 12px;
            font-weight: 500;
            line-height: 30px;
        }

        ul.drop-menu li:hover {
            background: #edeff3;
        }

        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-1 {
    perspective: 1000px;
}

    li:hover > ul.drop-menu.menu-1 li {
        transform-origin: top left;
        opacity: 0;
    }

li:hover > ul.drop-menu.menu-5 {
    perspective: 1000px;
}

    li:hover > ul.drop-menu.menu-5 li {
        transform-origin: top center;
        opacity: 1;
    }

        li:hover > ul.drop-menu.menu-5 li:nth-child(1) {
            animation-name: menu-5;
            animation-duration: 175ms;
            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-duration: 275ms;
            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-duration: 375ms;
            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-duration: 475ms;
            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-duration: 575ms;
            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-duration: 675ms;
            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-duration: 775ms;
            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-duration: 875ms;
            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-duration: 975ms;
            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-duration: 1000ms;
            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-duration: 1025ms;
            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-duration: 1050ms;
            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-duration: 1075ms;
            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;
    }*/
    ul.drop-menu {
        position: relative;
    }

        ul.drop-menu li {
            padding: 10px 15px;
            font-size: 14px;
        }

    .mobile_right .right a, .mobile_right .left, .mobile_right .right {
        color: #9d9d9d;
    }

    .toggle-bar {
        border-color: #9d9d9d;
    }

        .toggle-bar::before, .toggle-bar::after {
            background-color: #9d9d9d;
        }

    .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;
    }
}
