
/** HEADER STYLES **/


.full-width-container.header {
    overflow: hidden;
    box-shadow: 0 0 4px 1px #7b7b7b;
    position: relative;
    border-bottom: 5px solid #dcdcdc;
    position: fixed;
    z-index: 10000;
    background-color: #FFF;
}


.hdr-bg-img{
    position: absolute;
    background-image: url(../images/speaker-grille-texture-bg.jpg);
    background-image: url(../images/stainless-steel-bg.jpg);
    /*    background-image: url(../images/stainless-steel-bg-v.jpg);*/
    width: 100%;
    height: 110px;
    opacity: .2;
}

#header {
    height: 110px;
    position: relative;
    padding: 0;
}

#main-nav ul li {
    display: inline-block;
    box-sizing: border-box;
    font-weight: bold;
    margin: 0px 17px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
}

#main-nav a {
    color: #000;
}

#extnav ul li {
    display: inline-block;
    padding: 10px;
    box-sizing: border-box;
    font-weight: 500;
}

#social-nav ul li {
    width: 30px;
    height: 30px;
    background-color: rgb(54, 54, 54);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2px 5px;
    font-size: 15px;
    color: #000;
    opacity: .45;
}


#social-nav ul li a{
    color: #FFF;
}

#social-nav {
    flex: 1;
    justify-content: flex-start;
    display: flex;
    width: 50px;
}

#main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding-bottom: 20px;
}

#logo {
    flex-basis: 450px;
    position: relative;
    top: 0;
}

#logo img{
    position: relative;
    top: 0;
}

#top-bar {
    color: #FFF;
    border-bottom-left-radius: 43px;
    padding-left: 6px;
    display: flex;
    height: 40px;
    width: 420px;
    right: 0;
    position: absolute;
    top: 0;
}

#extnav ul {
    display: flex;
    margin: 0;
    padding: 0;
}

#main-nav ul {
    margin: 0;
    padding: 0;
    display: flex;
}

#main-nav ul .selected {
    color: #000000;
    position: relative;
}

#social-nav ul {
    display: flex;
    margin: 0;
    /* margin-left: 10px; */
    justify-content: flex-start;
    align-items: center;
    padding: 0;
}

div#top-bar div {
    display: flex;
    align-items: center;
    position: relative;
    justify-content: center;
    right: inherit;
}

.skewy {
    height: 51px;
    width: 33px;
    background-color: inherit;
    transform: skew(49deg);
    border-bottom-left-radius: 19px;
    position: relative;
    left: -10px;
    background: inherit;
}

#main-nav ul li:last-child {
    margin-right: 0;
}

.full-bar {
    background-color: inherit;
    color: #FFF;
    padding-left: 30px;
    display: flex;
    height: 51px;
    width: 30%;
    right: -379px;
    position: absolute;
}

li#facebook:hover {
    background-color: #4983fd;
    opacity: 1;
}

li#twitter:hover {
    background-color: #03A9F4;
    opacity: 1;
}

li#linkedin:hover {
    background: #2196F3;
    opacity: 1;
}

#extnav ul li:hover {
    cursor: pointer;
}

#main-nav ul li:hover {
}


#main-nav .selected .icon:after {
    position: absolute;
    left: 40%;
    top: -5px;
    color: #db2827;
    content: "\f0d7";
    font-family: FontAwesome;
    font-size: 20px;
}

#main-nav .selected .icon {
    position: absolute;
    width: 100%;
    height: 25px;
    left: 0;
    bottom: -25px;
}

.burger-menu {
    display: none;
}

.top-bar-color{
    background: linear-gradient(to bottom, #8cc5ff 1%,#2591d0 100%);
}

.fa-bars.hide{
    display: none;
}

.fa-times.hide{
    display: none;
}

.hdr-overlay.hide{
    display: none;
}

#extnav ul li:first-child {
    /* border-right: 1px solid rgba(108, 107, 107, 0.73); */
}

#extnav {
    background-color: rgba(148, 148, 148, 0.22);
    color: #000;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 10px;
}

.scrollTop {
    width: 55;
    height: 55px;
    display: flex;
    background-color: #2591d0;
    position: fixed;
    bottom: 10%;
    right: -2px;
    cursor: pointer;
    z-index: 10;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    font-size: 2.8em;
    box-shadow: 0 0 4px 1px rgba(101, 101, 101, 0.52);
}

.scrollTop:hover {
    background-color: #535151;
}


.scrollTop .fa {
    color: #FFF;
    position: relative;
}

.scrollTop img {
  left: 11px;
  position: relative;
  top: 5px;
  opacity: .3;
}



/* SUB NAV*/

.hdr-sub-nav {
    position: absolute;
    z-index: 200;
    background-color: #eeeeee;
    width: 70%;
    right: 0;
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 4;
    padding: 20px;
}

.hdr-sub-nav {
    position: absolute;
    z-index: 200;
    background-color: #eeeeee;
    width: 70%;
    right: 5%;
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 4;
    padding: 20px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 4px 6px 5px 1px rgba(141, 141, 141, 0.57);
    border-top: 5px solid #db2827;
}

.hdr-sub-nav ul {list-style: none;margin: 0;padding: 0;}

.hdr-sub-nav ul li.nav-item-hdr {
    font-weight: bolder;
    text-transform: uppercase;
    color: #2591d0;
    margin-bottom: 3px;
}

.hdr-sub-nav ul li {
    margin-bottom: 3px;
}

 #main-nav li span i{
    display: none;
 }


 .sticky {
    position: fixed !important;
    top: 0;
    z-index: 1000;
    background-color: #FFF;
}


.sticky #header-nav {
    font-size: 0.8em;
    transition: 1s ease;
}




/*.sticky #main-nav {
    position: relative;
    top: -20px;
    transition: 1s ease;
}
*/


/************************** MOBILE STYLES IN LANDSCAPE ***********************************/


/********* TABLET LANDSCAPE *********/
@media screen and (max-device-width: 1024px) and (orientation: landscape){

    
       
    #logo img {
        width: 300px;
        padding: 20px;
    }

   #logo {
        position: absolute;}

   #main-nav {
        margin: 0 15px;
    }


   #social-nav {
        right: 5;
    }


    
}




/********* LARGE PHONE LANDSCAPE *********/
@media screen and (max-device-width: 736px) and (orientation: landscape){

    
    .full-width-container.header.selected {
        width: 70%;
        z-index: 204;
        position: fixed;
    }
    
    #header {
        height: 100px;
    }

    #header.on .flex.f-col.f-one {
    }

    #logo img {
        width: 300px;
        top: -15px;
    }

   #logo {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        top: 0;
        }

   #main-nav {
        margin: 0 10px;
    }


   #social-nav {
        right: 5;
        width: 100%;
    }

    #logo a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .burger-menu {
        width: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 120px;
        font-size: 2.8em;
        z-index: 1000000000;
    }

     #header .nav {
        display: none;
    }


    #header.on {
        height: 100vh;
        align-items: baseline;
        background-color: #fff;
        position: relative;
    }

    #header.on .nav{
        display: block;
    }

    .on .burger-menu {
        position: relative;
        top: 14px;
        height: initial;
    }


    #header {
        height: 100px;
        display: flex;
        align-items: center;
    }

    #main-nav {
        width: 100%;
        position: absolute;
        margin: 0;
        margin-top: 43px;
        z-index: 103;
        left: 0;
    }

    #main-nav ul {
        display: flex;
        flex-direction: column;
        width: 100%;
        background-color: #5a5a5a;
        height: 208px;
    }

    #main-nav ul li {
        padding: 8px;
        margin: 0;
        text-align: center;
        box-sizing: border-box;
        border-bottom: 1px dashed #efefef;
    }

    #logo {
        height: 100px;
        flex: 1;
        margin-right: 50px;
    }

    #top-bar {
        position: absolute;
        top: 69%;
        border-bottom-left-radius: 0;
        height: auto;
        flex-direction: column;
    }

    .skewy {
        display: none !important;
    }

    #top-bar {
        width: 100%;
    }

    #extnav ul {
        display: flex;
        flex-direction: column;
        width: 100%;
        /* padding: 20px; */
        box-sizing: border-box;
    }

    #extnav ul li {
        text-align: center;
        padding: 4px;
        border-bottom: 1px solid #efefef;
    }

    #extnav {
        flex-direction: column;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    #main-nav ul .selected {
        display: none;
    }

    #main-nav a {
        color: #FFF;
    }

    #social-nav ul {
        margin: 0 auto;
        padding: 10px 0 20px 0;
    }

    .hdr-overlay {
        background-color: rgba(0, 0, 0, 0.6);
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        z-index: 10;
    }
    .scroll-hide { overflow: hidden; }

  
    
}




/********* SMALL PHONE LANDSCAPE *********/
@media screen and (max-device-width: 640px) and (orientation: landscape){

    
    .coloured::after{
        content: "I am a small phone in landscape";
        color: #14147E;
        font-size: 25px;
    }
    
}






/************************** MOBILE STYLES IN PORTRAIT ***********************************/


/********* TABLET PORTRAIT */
@media screen and (max-device-width: 768px) and (orientation: portrait){

    .full-width-container.header.selected {
        width: 70%;
        z-index: 204;
        position: fixed;
    }
    
    #header {
        height: 100px;
    }

    #header.on .flex.f-col.f-one {
    }

    #logo img {
        width: 330px;
        top: 0;
    }

   #logo {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        top: 0;
        }

   #main-nav {
        margin: 0 10px;
    }


   #social-nav {
        right: 5;
        width: 100%;
    }

    #logo a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .burger-menu {
        width: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 120px;
        font-size: 25px;
    }

    .burger-menu i {
        position: relative;
        top: 7px;
    }

     #header .nav {
        display: none;
    }


    #header.on {
        height: 100vh;
        align-items: baseline;
        /* background-color: #fff; */
        position: relative;
    }

    #header.on .nav{
        display: block;
    }

    .on .burger-menu{
        position: relative;
        top: -2;
        height: 100px;
    }

    #header.on #logo img {
        margin-left: 40px;
    }


    #header {
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #main-nav {
        width: 100%;
        position: absolute;
        margin: 0;
        margin-top: 50px;
        z-index: 103;
        left: 0;
        border-top: 5px solid #9c9c9c;
    }

    #main-nav ul {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 610px;
    }

    #main-nav ul li {
        padding: 20px;
        margin: 0;
        box-sizing: border-box;
        border-bottom: 1px solid #dbdbdb;
    }

    #logo {
        height: 100px;
        flex: 1;
        padding-right: 30px;
        width: 80%;
    }

    #top-bar {
        position: absolute;
        top: 69%;
        border-bottom-left-radius: 0;
        height: auto;
        flex-direction: column;
    }

    .skewy {
        display: none !important;
    }

    #top-bar {
    width: 100%;
}

    #extnav ul {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
    }

    #extnav ul li {
        text-align: center;
        padding: 20px;
        border-bottom: 1px solid #efefef;
    }

    #extnav {
        flex-direction: column;
    }

    #main-nav .selected .icon {
        display: none;
    }

    #main-nav a {
        color: #000;
        font-size: 1em;
        font-weight: 500;
        padding: 10px 20px;
        display: block;
    }

    #social-nav ul {
        margin: 0 auto;
        padding: 10px 0 20px 0;
    }

    .hdr-overlay {
        background-color: rgba(0, 0, 0, 0.6);
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        z-index: 10;
    }

    #extnav {
        padding: 0;
    }
    #main-nav li {
        position: relative;
    }
    
    #main-nav li span.icon {
        position: absolute;
        width: 40px;
        height: 30px;
        top: 5px;
        right: 0;
    }

    #main-nav li span i {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: .8em;
        color: #9c9c9c;
        transform: rotate(90deg);
    }


    
}



/********* LARGE PHONE PORTRAIT */
@media screen and (max-device-width: 414px) and (orientation: portrait){

    
   

    #main-nav ul {
        height: 370px;
    }

    #main-nav ul li {
        padding: 0;
    }

    .full-width-container.header.selected {
        width: 85% !important;
        background-color: #eee;
        transition-delay: 2sec;
        transition: width .5s;
    }

    #extnav {
       lor: #000;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
    }
    
    #extnav ul {
        padding: 0;
    }

    
}



/********* SMALL PHONE PORTRAIT */
@media screen and (max-device-width: 360px) and (orientation: portrait){

    
    .coloured::after{
        content: "I am a small phone in portrait";
        color: #983A4A;
        font-size: 35px;
    }

    #logo img {
        width: 240px;
    }

    #main-nav ul li {
        padding: 10px;
    }

   #main-nav ul {
        height: 252px;
    }
    
    #top-bar {
        top: 57%;
    }

    
    
}

