﻿.main-nav {
  position: relative;
  /*background: #1d5cba;*/
/*  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);*/
}

.main-nav:after {
  clear: both;
  content: "\00a0";
  display: block;
  height: 0;
  font: 0px/0 serif;
  overflow: hidden;
}

.nav-brand {
  float: left;
  margin: 0;
}

.nav-brand a {
  display: block;
  padding: 10px 10px 10px 20px;
  color: #fff;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-weight: normal;
  line-height: 29px;
  text-decoration: none;
  text-transform: uppercase;
}

#main-menu {
  clear: both;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

@media (min-width: 768px) {
  #main-menu {
    
    clear: none;
  }

}







.mega-menu h2{
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  padding: 10px 0;
  margin: 10px 15px;
  color: #154695;
  border-bottom: 1px solid #eaeaea;
  
}
#main-menu,
#main-menu > .has-mega-menu {
  position: static !important;
}

#main-menu .mega-menu {
  background: transparent !important;
  margin-left: 0 !important;
  right: 0 !important;
  width: auto !important;
  max-width: none !important;
  padding-top: 0;
}


#main-menu > .has-mega-menu .scroll-up,
#main-menu > .has-mega-menu .scroll-down {
  margin-left: 0 !important;
}




#main-menu .mega-menu > li {
  overflow: auto;
}




#main-menu .mega-menu {
  color: #353451;
}

#main-menu .mega-menu ul {
  position: static;
  display: block;
  margin: 0.83em 0;
  border: 0;
  
  padding: 0 0 0 0px;
  width: auto;
  background: transparent;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
    /*text-transform: uppercase;*/

}

#main-menu .mega-menu ul li {
  display: list-item;
 
  border: 0;
  padding-left: 0 !important; 
}

#main-menu .mega-menu a {
  display: inline;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  text-decoration: underline;
}




#main-menu .mega-menu .column-1-3,
#main-menu .mega-menu .col-sm-3 {
  padding: 0 15px;
}
#main-menu .mega-menu .column-1-3 ul li,
#main-menu .mega-menu .col-sm-3 ul li{
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: normal;
    direction: ltr;
    text-align: left;
}
#main-menu .mega-menu .column-1-3 ul a,
#main-menu .mega-menu .col-sm-3 ul a{
    
    padding: 5px 0px;
    background: transparent;
    color: #222;
    border-radius: 0 !important;
    display: block;
    text-decoration: none;
    margin-bottom: 10px;
    /*font-size: 12px;*/
}
#main-menu .mega-menu .column-1-3 ul img, 
#main-menu .mega-menu .col-sm-3 ul img{
max-height: 40px;
margin-left: 8px;
margin-right: 10px;
}
#main-menu .mega-menu .column-1-3 ul a:hover, #main-menu .mega-menu .column-1-3  ul a:focus, 
#main-menu .mega-menu .column-1-3  ul a:active, #main-menu .mega-menu .column-1-3  ul a.highlighted,

#main-menu .mega-menu .col-sm-3 ul a:hover, #main-menu .mega-menu .col-sm-3  ul a:focus, 
#main-menu .mega-menu .col-sm-3  ul a:active, #main-menu .mega-menu .col-sm-3  ul a.highlighted {

    /*color: #ef3133;*/

        color: #222; 
        background: #f5f5f5;
    border-bottom: 1px solid #ffc514;

}
#main-menu .mega-menu ul{
  margin: 0;

}


@media (min-width: 768px) {
  #main-menu .mega-menu .column-1-3{
    float: left;
    width: 33.33%;
  }
  #main-menu .mega-menu .col-sm-3{
    float: left;
    width: 25%;
  }

#main-menu .mega-menu .container{
  background: #fff;
  padding-top: 10px;
  
  padding-bottom: 25px;
  margin-bottom: 10px;

  /***-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);***/
  max-width: 970px;
}
#main-menu .mega-menu ul{
  
  margin: 0;
}
.pb15{

}
}




.mega-menu-sample-image {
  margin: 0.83em 0;
  border: 1px solid;
  height: 80px;
  line-height: 80px;
  text-align: center;
}




#main-menu:before {
  content: '';
  display: block;
  height: 1px;
  font: 1px/1px sans-serif;
  overflow: hidden;
  background: #4b4a73;
}

@media (min-width: 768px) {
  #main-menu:before {
    display: none;
  }
}




.main-menu-btn {
  float: right;
  margin: 10px;
  position: relative;
  display: inline-block;
  width: 32px;
  height: 30px;
  text-indent: 9999px;
  line-height: 0px;
  font-size: 0px;
  /*border: 1px solid #fff;*/
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}




.main-menu-btn-icon,
.main-menu-btn-icon:before,
.main-menu-btn-icon:after {
  position: absolute;
  top: 50%;
  left: 2px;
  height: 2px;
  width: 24px;
  /*background: #1457ba;*/
  background: #fff;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
}

.main-menu-btn-icon:before {
  content: '';
  top: -7px;
  left: 0;
}

.main-menu-btn-icon:after {
  content: '';
  top: 7px;
  left: 0;
}




#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon {
  height: 0;
  background: transparent;
}

#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:before {
  top: 0;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:after {
  top: 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}




#main-menu-state {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

#main-menu-state:not(:checked) ~ #main-menu {
  display: none;
}

#main-menu-state:checked ~ #main-menu {
  display: block;
}
.newfont{
  font-size: 12px !important;
  text-transform: uppercase !important;;
}

@media (max-width: 768px) {

  #main-menu .mega-menu .column-1-3 ul li ,
  #main-menu .mega-menu .col-sm-3 ul li {
      /*border-bottom: 1px solid #e2e2e2;*/
      padding: 5px 0;
      background: rgba(102, 102, 102, 0.03);
  }
  #main-menu .mega-menu .col-sm-3 ul a,
  #main-menu .mega-menu .column-1-3 ul a {
      padding-left: 20px;
      padding-right: 20px;
      border-left: 8px solid transparent;
      color: #fff;
  }

  #main-menu .mega-menu .column-1-3 ,
  #main-menu .mega-menu .col-sm-3 {
    padding: 0;
  }
  .sm-blue ul {
    
    background: rgba(102, 102, 102, 0.03);

  }
    .sm-blue ul ul {
    background: rgba(102, 102, 102, 0.03);
  }
  #main-menu .mega-menu .container{
    padding-left: 0;
    padding-right: 0;
  }
  .mega-menu h2{
    display: none;
  }
}
@media (min-width: 768px) {
  
  .main-menu-btn {
    position: absolute;
    top: -99999px;
  }
  
  #main-menu-state:not(:checked) ~ #main-menu {
    display: block;
  }


}





.demo-text {
  margin: 3em 22px;
}

.demo-text p {
  margin-bottom: 1em;
}

.demo-text a {
  color: #999;
}