﻿
/*--------------top bar-----------------------*/
/*--------------------------------------------*/
.logo-bar {
    background-color: #f0f0f0;
}
.logo-bar a {
    color: #333;
}

.logo-bar.fixed {
    background-color: rgba(180,180,180,0.85);
    transition: all .3s ease-in, background-color 0.5s ease-in;
    position: fixed;
    z-index: 99;
    top: 0;
}

.logo-bar .tagline {
    text-align: right;
    font-weight: bold;
}

.logo-bar .contact {
    display: flex;
    flex-basis: 33.33%;
    flex-grow: 1;
    justify-content: flex-end;
    font-weight: bold;
    font-size: 16px;
    align-items: center;
}

.logo-bar .social-links {
    display: flex;
    flex-basis: 33.33%;
    flex-grow: 1;
    justify-content: flex-end;
    font-size: 20px;
    align-items:center;
}

    .logo-bar .social-links a {
        margin-left: 20px;
        color: #333;
    }

.logo-bar .contact .phone {
    margin-right: 20px;
}

/*---------------main menu--------------------*/
/*--------------------------------------------*/
.mburger {
    height:40px;
    margin-top:0px !important;
    color:#f0f0f0;
}
.mburger:hover, .mburger:focus {
    opacity:.8;
    color: #f0f0f0 !important;
}
.main-menu-wrapper {
    border-bottom: 2px solid #707c80;
    box-sizing: border-box;
    position: relative;
    z-index: 20;
    background-color: #1d5daa;
}

    .main-menu-wrapper nav {

        display: inline-block;
        
    }

.featured-nav-image, .featured-nav-image-wrapper {
    height: 100%;
    position: relative;
    background-position: center center;
    background-size: cover;
    background-color: #d3d3d3;
}

.page-overlay {
    display: block;
    margin: 0 auto;
    position: absolute;
    height: 0px;
    opacity: 0;
    bottom: 0;
    background-color: transparent;
    zoom: 1;
    background-color: rgba(0,0,0,.7);
    top: 160px;
    width: 100%;
    z-index: 2;
    transition: opacity .5s;
    -webkit-transition: opacity .5s;
}

ul.main-menu{
    list-style-type:none;
    margin:0px;
    padding:0px;
}

ul.main-menu li{
    display:inline-block;
}

ul.main-menu > li:hover a{
    color:rgba(255,255,255,.5);
}

ul.main-menu > li a{
    display:block;
    text-decoration:none;
    color:#fff;
    font-weight:bold;
    font-size:16px;
    line-height:40px;
    margin-right:57px;
    cursor:pointer;
}

ul.main-menu >li a:hover{
    
}

.mega-drop-down.open a {
    color: rgba(255,255,255,.5);
}
.mega-drop-down.open .mega-menu {
    display:inline-block;
}

.menu-title {
    padding: 10px 0px 5px 0px;
    font-size: 20px;
    font-weight: bold;
    margin-right: 20%;
    margin-bottom: 10px;
    border-bottom: 2px solid #333;
}

.mega-menu {
    display: none;
    position: absolute;
    width: 100%;
    border-top: 2px solid #707c80;
    background-color: #f5f5f5;
    right: 0px;
    z-index: 999;
    box-shadow: 0 10px 10px 0px rgba(0,0,0,.3);
}

.mega-menu-wrap{
    
}
.mega-content-wrap {
    max-width: 525px;
}

ul.subproducts {
    width: 100%;
    margin: 10px 0px 10px 0px;
    padding-left: 0px;
    min-height: 400px;
}
ul.subproducts li {
     display:block;
     z-index:98;
}

    ul.subproducts li a {
        height: 35px;
        line-height: 35px;
        display: block;
        width: 100%;
        color: #333 !important;
        padding-left: 5px;
        -webkit-transition: all .25s;
        transition: all .25s;
    }

    ul.subproducts li:hover > a {
        border-bottom: 3px solid #3272c1;
        background-color: rgba(0,0,0,.04);
    }
.subproducts-more {
    background: rgba(244,244,244,0.65);
    width:350px;
    padding-left:0px;
    z-index:99;
    display: none;
    position: absolute;
    right: -350px;
    top: 0;
    height:100%;
}
    .subproducts-more ul {
        padding-left:0px;
    }
        .subproducts-more ul li a {
            padding-left: 20px;
        }
    .subproducts-more .menu-title {
        padding: 0 0 5px 0;
        margin: 10px 20% 0 20px;
        margin-bottom: 10px;
        border-bottom: 2px solid #333;
    }

ul.subproducts li:hover .subproducts-more {
    display:block;
}
.subproducts-more li a {
    line-height: 30px;
    padding-left:20px;
}
.subproducts-more li:hover {
    background-color: #3396ff;
}

    .subproducts-more li:hover a {
        color: #fff !important;
    }



/*--------media queries---------*/
@media only screen and (min-width : 2250px) {
    .mega-content-wrap {
        width:320px;
    }
}


/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
    .logo-bar .social-links a {
        margin-left:10px;
    }
    .logo-bar .contact .phone {
        margin-right:10px;
    }
    .main-menu-wrapper {
        margin-top: 0px;
    }

    ul.main-menu > li a {
        margin-right: 22px;
    }

}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {

    .main-menu-wrapper{
        padding:10px 0px;
    }
    .main-menu {
        display: none;
    }


}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
    .logo-bar .contact {
        font-size:14px;
    }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {
}