.megamenu {
    margin-bottom: 0;
    padding: 0 0 0 2%;
    width: 80%;
	height:35px;
    list-style: none;
    position: relative;
    font-size: 20.5px;
    font-family: OpenSansCondensedLight, Arial, Helvetica, sans-serif;
}
.megamenu li {
    margin-bottom: 0;
    display: inline;
}
.megamenu>li>a {
    float: left;
    padding: 4px 15px;
    text-decoration: none;
    color: #FFF;
    font-size: 1em;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.megamenu>li.active>a {
    color: #F47D1F;
    font-family: OpenSansCondensedLight, Arial, Helvetica, sans-serif;
}
.megamenu>li.right {
    float: right;
}
.megamenu .dropdown, .megamenu .dropdown li .dropdown {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    position: absolute;
    z-index: 999;
    width: 160px;
    border: solid 1px rgba(0, 0, 0, .1);
    background: #fff;
}
.megamenu .dropdown {
    top: 59px;
}
.megamenu .dropdown li .dropdown {
    left: 160px;
    top: inherit;
}
.megamenu .dropdown li {
    clear: both;
    width: 100%;
    border-bottom: solid 1px rgba(0, 0, 0, .1);
}
.megamenu .dropdown li:last-child {
    border-bottom: 0;
}
.megamenu .dropdown li a {
    float: left;
    width: 100%;
    padding: 10px 25px;
    text-decoration: none;
    display: block;
    border: 0 none;
    font-size: 14px;
    color: #444;
    background: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    transition: color .4s ease-in-out;
    -moz-transition: color .4s ease-in-out;
    -webkit-transition: color .4s ease-in-out;
    -o-transition: color .4s ease-in-out;
}
.megamenu .dropdown li:hover>a {
    background: #dbdbdb;
}
.megamenu>li>.megapanel {
    position: absolute;
    display: none;
    background: #fff;
    box-shadow: 0 2px 4px #aaa;
    width: 100%;
    top: 86px;
    opacity: 1;
    left: -1px;
    z-index: 999;
    padding: 20px 30px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.megamenu .megapanel ul {
    margin: 0;
    padding: 0;
}
.megamenu .megapanel img {
    width: 100%;
    border: solid 1px #dedede;
    cursor: pointer;
    -webkit-transition: border .3s linear;
    -moz-transition: border .3s linear;
    -o-transition: border .3s linear;
    transition: border .3s linear;
}
.megamenu .megapanel img:hover {
    border: solid 1px #777;
}
.megamenu form.contact input, .megamenu form.contact textarea {
    font-family: Calibri, Arial;
    font-size: 16px;
    color: #444;
    outline: 0;
}
.megamenu form.contact input[type=text], .megamenu form.contact textarea {
    resize: none;
    width: 100%;
    margin: 10px 0;
    padding: 5px 10px;
    border: solid 1px #dedede;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: border .3s linear;
    -moz-transition: border .3s linear;
    -o-transition: border .3s linear;
    transition: border .3s linear;
}
.megamenu form.contact input[type=text] {
    height: 40px;
}
.megamenu form.contact input[type=text]:focus, .megamenu form.contact textarea:focus {
    border: solid 1px #999;
}
.megamenu form.contact input[type=submit] {
    width: 100px;
    height: 35px;
    border: 0;
    color: #fff;
    cursor: pointer;
    background: #999;
}
.megapanel .row {
    width: 100%;
    margin-top: 15px;
}
.megapanel .row:first-child {
    margin-top: 0;
}
.megapanel .row:after, .megapanel .row:before {
    display: table;
    content: "";
    line-height: 0;
}
.megapanel .row:after {
    clear: both;
}
.megapanel .row .col1, .megapanel .row .col2, .megapanel .row .col3, .megapanel .row .col4, .megapanel .row .col5, .megapanel .row .col6 {
    display: block;
    min-height: 20px;
    float: left;
    margin-left: 2.127659574468085%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.megapanel .row [class*=col]:first-child {
    margin-left: 0;
}
.megapanel .row .col1 {
    width: 48.893617021276595%}
.megapanel .row .col2 {
    width: 31.914893617021278%}
.megapanel .row .col3 {
    width: 48.93617021276595%}
.megapanel .row .col4 {
    width: 65.95744680851064%}
.megapanel .row .col5 {
    width: 82.97872340425532%}
.megapanel .row .col6 {
    width: 100%}
.megamenu>li.showhide {
    display: none;
    width: 50%;
    height: 40px;
    cursor: pointer;
    color: #FFF;
    z-index: 999;
}
.megamenu>li.showhide span.title {
    margin: 6px 0 0 15px;
    float: left;
}
.megamenu>li.showhide span.icon1:after {
    position: absolute;
    content: "";
    right: 15px;
    top: 10px;
    height: 3px;
    width: 25px;
    font-size: 50px;
    border-top: 3px solid #FFF;
    border-bottom: 3px solid #FFF;
    z-index: 999;
}
.megamenu>li.showhide span.icon2:after {
    position: absolute;
    content: "";
    right: 15px;
    top: 22px;
    height: 3px;
    width: 25px;
    font-size: 50px;
    border-top: 3px solid #FFF;
    border-bottom: 3px solid #FFF;
    z-index: 999;
}
.skyblue li>a, .skyblue>li.showhide span {
    color: #fff;
}
.skyblue .dropdown li:hover>a, .skyblue>li:hover>a {
    color: #F47D1F;
}
.skyblue form.contact input[type=submit] {
    background: #00405d;
    text-transform: uppercase;
}


@media (max-width:1366px) {
    .megamenu>li>.megapanel {
    top: 82px;
}
}

@media (max-width:1280px) {
    .megamenu>li>.megapanel {
    top: 80px;
}
}

@media (max-width:1024px) {
    .megamenu>li>.megapanel {
    top: 75px;
}
}

@media (max-width:1280px) {
    .megamenu>li>.megapanel {
    top: 63px;
}
}

@media (max-width:1024px) {
    .megamenu>li>a {
    padding: 5px 10px;
	font-size:20px;
}
.megamenu>li>.megapanel {
    top: 58px;
}
.h_nav h4 {
    font-size: 1.1em;
}
}

@media only screen and (min-width:901px) and (max-width:1023px) {
    .megamenu>li>a {
    padding-left: 10px;
    padding-right: 15px;
}
}

@media only screen and (min-width:800px) and (max-width:900px) {
    .megamenu>li>a {
/*    padding-left: 10px;
    padding-right: 10px;
    font-size: 20px;*/
	font-size:20px;
}
}

@media(max-width:768px) {
    .megamenu {
    width: 40%;
    height: auto;
    position: absolute;
    z-index: 999;
    margin-top: 1px;
    font-size: 20px;
}
.megamenu>li {
    display: block;
    width: 100%}
.megamenu>li.active, .megamenu>li:hover {
    border-top: 0;
}
.megamenu>li.active>a, .megamenu>li:hover>a, .megamenu>li>a {
    padding: 10px 10px 5px;
}
.megamenu a {
    width: 96%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.megamenu .dropdown, .megamenu .dropdown li .dropdown {
    width: 100%;
    display: none;
    left: 0;
    border-left: 0;
    position: static;
}
.megamenu .dropdown li {
    background: #221F1F!important;
    border: 0;
}
.megamenu .dropdown>li>a {
    padding-left: 40px!important;
}
.megamenu>li>.megapanel {
    position: static;
    margin-top: 50px;
}
.megapanel .row [class*=col] {
    float: none;
    display: block;
    width: 100%;
    margin-left: 0;
    margin-top: 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.megapanel .row, .megapanel .row:first-child [class*=col]:first-child {
    margin-top: 0;
}
.black {
    background: #222;
}
.skyblue li>a, .skyblue>li.showhide span {
    background-color: #221f1f;
    opacity: 0.99;
}
.skyblue, .skyblue>li.showhide {
    background-color: #221f1f;
}
.megamenu>li>a {
    border-bottom: 1px dotted #525252;
}
}

@media (max-width:799px) {
    .megamenu>li.showhide {
    color: #fff;
}
.skyblue, .skyblue>li.showhide {
    z-index: 10;
	height:25px;
}
}

@media (width:640px) {
    .skyblue, .skyblue>li.showhide {
    width: 30%;
    height: 30px;
}
.megamenu {
    font-size: 20px;
}
}

@media (width:480px) {
    .skyblue, .skyblue>li.showhide {
    width: 98%;
    height: 30px;
}
.megamenu {
    font-size: 20px;
}
.skyblue, .skyblue>li.showhide {
    background-color: #221f1f;
}
}

@media only screen and (min-width:361px) and (max-width:479px) {
    .megamenu {
    width: 98%;
    font-size: 18px;
    margin-top: 2px;
}
}

@media only screen and (min-width:280px) and (max-width:360px) {
    .megamenu {
    width: 100%;
    font-size: 18px;
    top: 1.5px;
}
.megamenu>li.showhide span.title {
    margin: 5px 0 0 5px;
}
.skyblue, .skyblue>li.showhide {
    width: 98%;
    height: 30px;
}
.megamenu>li.showhide span.icon1:after {
    top: 8px;
    border-top: 2px solid #FFF;
    border-bottom: 2px solid #FFF;
}
.megamenu>li.showhide span.icon2:after {
    top: 18px;
    border-top: 2px solid #FFF;
    border-bottom: 2px solid #FFF;
}
.skyblue, .skyblue>li.showhide {
    background-color: #221f1f;
}
.megamenu>li>a {
    border-bottom: 1px dotted #525252;
}
}

@media (width:320px) {
    .skyblue, .skyblue>li.showhide {
    width: 98%;
    height: 30px;
    background-color: #221f1f;
}
}