/**********************
  GENERAL
************************/

body {
    font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif !important;

  font-size: 14px!important;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: inherit;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
}

.margin-top {
  margin-top: 1em;
}
.text-hide {
    font: 0/0 a !important;
    color: transparent !important;
    text-shadow: none !important;
    background-color: transparent !important;
    border: 0 !important;
}
/************
  Sticky
*************/
#header {
     position: fixed;
     background: white;
     top: 0;
     left: 0;
     width: 100%;
     z-index: 200;
     -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
     -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}
#header .grid-container {
  position: relative;
}
header .top-bar,
header nav .plugin > ul {
  background: #fff;
  padding: 0;
}

.blackbar {
  display: block;
  padding: 1rem 0;
  background: #000;
}

.no-js .top-bar {
  display: none;
}

@media screen and (min-width: 40em) {
  .no-js .top-bar {
    display: block;
  }

  .no-js .title-bar {
    display: none;
  }
}
header .top-bar-title {
   /* display: block; */
   /* position: absolute; */
   left: 0;
   /* height: 46px; */
   /* width: 240px; */
   /* margin: 0; */
   z-index: 100;
}

.dropdown.menu.large-horizontal>li.is-dropdown-submenu-parent>a::after {
  display: none;
}

header .top-bar-title .home-logo {
  /* position: absolute; */
  z-index: 100;
}
.home-logo img {
  width: 240px;
}

header .top-bar-right {
  margin-left: 16em;
}
#main-menu {
  float: right;
}

.dropdown.menu.vertical>.parent>.is-dropdown-submenu {
  left: 0;
  border: none;
  padding: 0;
  min-width: 215px;
  border: 5px solid #e6e6e6;
  /*background: #cecece;*/
  z-index: 100;
  -webkit-box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.27);
  -moz-box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.27);
  box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.27);
}
.product-services {
  position: static;
}
.dropdown.menu.vertical>li.product-services>.is-dropdown-submenu {
  position: absolute;
  width: 100%;
  flex-direction: column;
  background: #fff;
}


.product-services .child {
  width: 50%;
  float: left;
  /* height: 225px; */
  /* position: relative; */
  /* z-index: 0; */
}
.product-services .child::after, .product-services .child::before {
    display: table;
    content: ' ';
    -webkit-flex-basis: 0;
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -webkit-box-ordinal-group: 2;
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1;
}
.product-services .nested > .child > .grandchildren {
  position: relative;
  display: block;
  right: 0;
  left: 0;
  z-index: 99;
  top: 10px;
  border: none;
  background: none;
}

.product-services .greatgrandchildren {
  z-index: 100;
  border: none;
  background: none;
  position: relative;
  display: block;
  flex: none;
  left: 0 !important;
  right: 0 !important;
}

.product-services .greatgrandchild {
  z-index: 999;
  position: relative;
  display: block;
}


#main-menu .product-services .greatgrandchild > a {
  color: #6d6d6d;
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  padding: .5em;
}
#main-menu .product-services .greatgrandchild > a:before {
  content: '-';
  padding-left: 5px;
}

#main-menu .product-services .greatgrandchild > a:hover {
}
.product-services .is-dropdown-submenu-parent.opens-left>a::after,
.product-services .is-dropdown-submenu-parent.opens-right>a::after {
  display:none;
}

.dropdown .is-dropdown-submenu a {
  padding: .5em;
}

.is-dropdown-submenu .is-dropdown-submenu-parent.opens-left>a::after {
  left: 4px;
}

/*Main*/
#top-news {
  padding-top: 7em;
}
#top-news .plugin,
#top-news img,
#top-news iframe {
  display: block;
  width: 100% !important;
  margin: auto;
}


#rotatorOuter {
  background-color: #000;
  /*height: 320px;*/
  margin-top: 70px;
  position: relative;
  width: 100%;
  z-index: 20;
}


#main section h2, #news-updates .media-section-text h5,
#main .inner-layouts h3 {
  border-bottom: 3px solid #4596c8;
  color: #2f3c46;
  display: table;
  font-family: 'Oswald', sans-serif;
  font-size: 1.8em;
  font-weight: bold;
  /*letter-spacing: .5px;*/
  line-height: 1.5;
  text-transform: capitalize;
}

#featured-products .cell {
  background: #000;
}
#featured-products .cell img {
  width: 100%;
      -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    transition: all 200ms linear;
     opacity: 1;
}

#featured-products .cell:hover img {
      box-shadow: 5px 5px 15px 0 rgba(0, 0, 0, 0.4);
      opacity: .8;
}
#news-updates .grid-container{
  background: #f1f1f1;
  padding: .9375rem;
}
#news-updates .main-article  {
   display: -webkit-flex; /* Safari */
   display: flex;
}

#news-updates .main-article .media-section-image,
#news-updates .main-article .media-section-text  {
    -webkit-flex-grow: 0; /* Safari 6.1+ */
    -webkit-flex-shrink: 0; /* Safari 6.1+ */
    -webkit-flex-basis: 30%; /* Safari 6.1+ */
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 30%;
}
#news-updates .main-article .media-section-image {
    -webkit-flex-basis: 70%; /* Safari 6.1+ */
    flex-basis: 70%;
    margin-right: .987em;
}

#news-updates .main-article .media-section-image img{
  width: 100%;
}

 #news-updates .media-section-text h5 {
  border-bottom: none;
  font-size: 1.4em;
  letter-spacing: initial;
        -webkit-transition: all .2s ease-in-out 0s;
  transition: all .2s ease-in-out 0s;
 }
  #news-updates .media-section-text a {
    color: #000;
      -webkit-transition: all .2s ease-in-out 0s;
  transition: all .2s ease-in-out 0s;
  }
  #news-updates .media-section-text a p {
    font-family: 'Open Sans', sans-serif;
    margin-bottom: .2em;
  }

#news-updates .media-section-text a.readmore {
  color: #2472c4;
  text-transform: capitalize;
}
#news-updates .media-section-text:hover h5,
#news-updates .media-section-text:hover a {
    color: #2472c4;

}

.dropdown.menu>li.is-dropdown-submenu-parent>a::after {
    border-color: #4596c8 transparent transparent;
}


/**SUBNAV PAGES***/


#company-divisions .subnav-rows {/* padding: 1em; */}
#company-divisions .subnav-columns {
  border-bottom: 1px solid #cecece;
  /*height: 230px;*/
  margin-top: 1em;
  overflow: hidden;
  padding-bottom: 20px;
  padding-top: 20px;
  position: relative;
}
.subnav-columns:hover .image{
  box-shadow: 5px 5px 15px 0 rgba(0, 0, 0, 0.4);
  opacity: 0.8;
  background-color: #eee;
}

#company-divisions .subnav-columns:first-child {
  margin-top: 0;
}

#company-divisions .button {
  background: #4596c8;
  border: none;
  display: table;
  position: relative;
  left: 0;
  right: 0;
  top: 0;
  margin-top: 1em;
}


#company-divisions .image {
  display: block;
  position: relative;
  overflow: hidden;
  width: 40%;
}
#company-divisions .image img {
  width: 100%;
}
#company-divisions .text-side {
   color: #2f3c46;
   font-family: 'Roboto', sans-serif;
   font-weight: 400;
   margin: auto;
   line-height: 1.2;
   /* padding: 2em; */
   text-align: justify;
   width: 55%;
   position: relative;
   height: 100%;
  padding: 0 20px;
}
#company-divisions .text-side h4{
    color: #2f3b47;
    line-height: 1;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    /* text-transform: uppercase; */
}

#company-divisions .text-side p {
  margin: auto;
  line-height: 1.2;
}

#company-divisions .subnav-columns:nth-child(even) .image,
#company-divisions a:nth-child(even) .subnav-columns .image,
#company-divisions a:nth-child(odd) .subnav-columns .text-side,
#company-divisions .subnav-columns:nth-child(odd) .text-side {
  float: right;
}

#company-divisions .subnav-columns:nth-child(odd) .image,
#company-divisions a:nth-child(odd) .subnav-columns .image,
#company-divisions a:nth-child(even) .subnav-columns .text-side,
#company-divisions .subnav-columns:nth-child(even) .text-side {
  float: left;
}



#main .inner-layouts {
  margin-top: 5em;
      background: #fff;
    padding: .9375rem;
}


/* Small only */
@media screen and (max-width: 39.9375em) {
  

  #header .home-logo-small {
    display: block;
    width: 190px;
  }
    #header .title-bar {
      background: #fff;
      padding: .45em 0;
      display: block;
    }

    header .top-bar-right {
      margin: auto;
    }

  #header .menu-icon {
    cursor: pointer;
    width: 40px;
    height: 30px;
  }


  #header .menu-icon:after {
    border-radius: 4px;
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 6px;
    background: #0980bb;
    top: 0;
    left: 0;
    box-shadow: 0 10px 0 #0980bb, 0 20px 0 #0980bb;
  }

  #main-menu {
    float: none;
    width: 100%;
  }

  #main-menu .menu  {width: 100%;}

  #main-menu .menu li.parent > a {
    line-height: 30px;
    border-bottom: 1px solid #eaeaea;
    text-align: left;
  }
  .accordion-menu .nested.is-accordion-submenu {
    margin: 0;
  }
  #main-menu li ul .child {
       background: #dfdfdf;
  }
  #main-menu li ul .child > a, #main-menu li ul .grandchild > a {
    color: #828282;
  }

  #rotatorOuter {
    height: auto;
  }
  
  #news-panels .panel.slick-slide {
    opacity: 1; 
  }
  
  #rotator .panel {
    height: 100%;
  }
  
  #rotator .panel .has_links .text {
    border: none;
  }

  #rotatorOuter {
    background: #0277ad;
  }
  
  #rotator .panel .panel-image {
    float: none;
    width: 100%;
    height: 220px;
  }
  
  #rotator .panel .panel-image img {
    width: 100%;
  }
  
  #rotator .panel-cover {
    display: none;
  }
  .carousel-controls {
    display: none;
  }
  
  #news-panels .cc-container {
    position: relative;
    width: 100%;
    max-width: 100%;
  }
  
  #news-panels .cc-container > .carousel-caption > h2 {
    font-size: 1em;
  }
  .product-services .child {
    width: 100%;
    float: none;
  }

  #main-menu li.product-services ul .child > a {
    font-weight: 300;
  }

  #featured-products .cell {
    padding: .954em;
    background: none;
  }
  #news-updates .main-article {
    
        display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;

  }
  #news-updates .main-article .media-section-image,
  #news-updates .main-article .media-section-text  {
    webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  #news-updates .cell {
    border-bottom: 1px solid #2f3b47;
    margin-bottom: .125em;
    padding-top: .25em;
  }

  #company-divisions .subnav-columns {
    height: auto;
  }
  #company-divisions .text-side,
  #company-divisions .image {
    /* padding: .5em; */
    height: auto;
    /* text-align: center; */
    float: none !important;
    position: relative;
    width: 100%;
  }

  #company-divisions .image {
  /* height: 260px; */
  }

  #company-divisions .text-side {
    float: left !important;
  }
  #company-divisions .text-side h4 {
    margin: .5em 0;
  }
  .news-system-wrapper input.button {
    width: 100%;
  }
  #newsarchive .grid-padding-x>.cell{
    padding: 0;
  }
  .article-info-wrapper img {
    display: block;
    margin: auto;
  }
}

/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
   #header .home-logo-small {
    display: block;
    width: 230px;
  }
  #header .top-bar {
    display: block;
  }
    #header .title-bar {
      background: #fff;
      padding: .45em 0;
      display: block !important;
    }

    header .top-bar-right {
      margin: auto;
    }
  #main-menu {
    float: none !important;
    flex: auto;
  }
  #header .menu-icon {
    cursor: pointer;
    width: 40px;
    height: 30px;
  }


  #header .menu-icon:after {
    border-radius: 4px;
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 6px;
    background: #0980bb;
    top: 0;
    left: 0;
    box-shadow: 0 10px 0 #0980bb, 0 20px 0 #0980bb;
  }

  #main-menu .menu  {width: 100%;}

  #main-menu .menu li.parent > a {
    line-height: 30px;
    border-bottom: 1px solid #eaeaea;
    text-align: left;
  }
  .accordion-menu .nested.is-accordion-submenu {
    margin: 0;
  }
  #main-menu li ul .child {
       background: #dfdfdf;
  }
  #main-menu li ul .child > a, #main-menu li ul .grandchild > a {
    color: #828282;
  }
  .product-services .child {
    width: 100%;
    float: none;
  }

  #main-menu li.product-services ul .child > a {
    font-weight: 300;
  }
  
  #rotatorOuter {
    height: auto;
  }
  
  #news-panels .panel.slick-slide {
    opacity: 1; 
  }
  
  #rotator .panel {
    height: 100%;
  }
  
  #rotator .panel .has_links .text {
    border: none;
  }

  #rotatorOuter {
    background: #0271a5;
  }
  
  #rotator .panel .panel-image {
    float: none;
    width: 100%;
    height: 220px;
  }
  
  #rotator .panel .panel-image img {
    width: 100%;
  }
  
  #rotator .panel-cover {
    display: none;
  }
  .carousel-controls {
    display: none;
  }
  
  #news-panels .cc-container {
    position: relative;
    width: 100%;
    max-width: 100%;
  }
  
  #news-panels .cc-container > .carousel-caption > h2 {
    font-size: 1em;
  }
    #featured-products .cell {
    /* padding: .954em; */
    background: none;
  }
  #news-updates .main-article {
    
        display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;

  }
  #news-updates .main-article .media-section-image,
  #news-updates .main-article .media-section-text  {
    webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    margin: auto;
  }
  #news-updates .cell {
    border-bottom: 1px solid #2f3b47;
    margin-bottom: .125em;
    padding-top: .25em;

  }
   #news-updates .cell img {
    margin: auto;
    text-align: center;
    display: block;
   }
  #company-divisions .subnav-columns {
    height: auto;
  }
  #company-divisions .text-side,
  #company-divisions .image {
    /* padding: .5em; */
    height: auto;
    /* text-align: center; */
    float: none !important;
    position: relative;
    width: 100%;
  }

  #company-divisions .image {
  /* height: 260px; */
  }

  #company-divisions .text-side {
    float: left !important;
  }
  #company-divisions .text-side h4 {
    margin: .5em 0;
  }
   .news-system-wrapper input.button {
    width: 100%;
  }
  #newsarchive .grid-padding-x>.cell{
    padding: 0;
  }

  .article-info-wrapper img {
    display: block;
    margin: auto;
  }

 
}
