/* DE Web Works - Main CSS */

body {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 21px;
  color: #242424;
  background-color: #ebebeb;
}

h1, h2, h3 {
  font-family: 'Source Sans Pro', sans-serif;
}

iframe {
  border: none;
}

.page-wrapper {
  position: relative;
  margin: 0 auto;  
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

.row {
  max-width: 100%;
}

.no-js .top-bar {
  display: none;
}

.image-left,
.image-right {
  margin-bottom: 1rem;
}

#fancybox-wrap {
  box-sizing: content-box;
}

/* fix iOS issue where videos are clipped */
#fancybox-content {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/*------------------------------------*\
    #SITE HEADER
\*------------------------------------*/
.header {
  position: absolute;
  width: 100%;
  z-index: 10;
}

.header-inner {
  position: absolute;
  width: 100%;
}

.header .container {
  /*min-height: 244px;*/
}

.header-logo {
  max-width: 80%;
  margin-left: -10px;
  margin-top: 10px;
}

.header-phone {
  margin-top: 52px;  
  font-size: 30px;
  font-weight: 600;
  color: #fff;
}

.header-phone a,
.header-phone a:hover {
  color: #fff;
}

.header > img {
  width:100%;
}

.navigation {
  background-color: #184fac;
}

.home-page .navigation:after {
  position: absolute;
  content: "";
  width: 100%;
  height: 44px;
  background-image: url(./img/navigation-shadow.png);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: contain;
}

.breadcrumbs {
  height: 30px;
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 30px;
  color: #fff;  
  background: url(./img/bg-breadcrumbs.png);
  background-repeat: repeat-x;
  background-position: top left;
}

.breadcrumbs a {
  color: #fff;
}

.breadcrumbs a:hover {
  color: #fff;
  text-decoration: underline;
}

/*------------------------------------*\
    #SECONDARY PAGE BANNERS
\*------------------------------------*/
.banner {
  position: relative;
  z-index: 5;
  padding-top: 11%;
}

.banner img {
  width: 100%;
}

/*------------------------------------*\
    #HOMEPAGE ROTATOR
\*------------------------------------*/
.rotator {
  position: relative;
  z-index: 5;
  padding-top: 5%;
}

.slick-slider {
  margin-bottom: 0;  
}

.slick-slide img {
  width: 100%;
}

/*------------------------------------*\
    #HOMEPAGE CALLOUTS
\*------------------------------------*/
.callouts .container {
  max-width: 930px;
  padding-top: 40px;
}

.callouts img {
  width: 100%;  
  border-radius: 50%;
}

.callouts div.column img {
  border: solid 10px #577dbf;
}

.callouts div.column:first-of-type img {
  border: solid 10px #577dbf;
}

.callouts div.column:last-of-type img {
  border: solid 10px #577dbf;
}

.callout-item {
  position: relative;
  text-align: center;
}

.callout-caption {  
  display: inline-block;
  position: relative;
  top: -40px;  
  min-width: 210px;
  padding: 8px 0 8px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  background-color: #184fac;
}


/*------------------------------------*\
    #PAGE CONTENT
\*------------------------------------*/
.content a {  
  color: #296099;
  text-decoration: none;
}

.content a:hover {  
  text-decoration: underline;
}

.content, 
.content p {
  font-weight: 600;
  line-height: 1.4;  
}

.home-content {
  padding-top: 50px;
  text-align: center;
}

.secondary-content {
  min-height: 300px;
  padding-top: 50px
}

.secondary-content .container {

}

.secondary-content h1 {
  margin-bottom: 20px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 37px;
  color: #296099;
}
.secondary-content h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 30px;
  color: #296099;
}
.secondary-content h3 {
  margin-bottom: 3px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}

.secondary-content,
.secondary-content p {
  
}

.secondary-content a {
  text-decoration: underline;
}

.secondary-content a:hover {
  text-decoration: none;
}

/*------------------------------------*\
    #FORMS
\*------------------------------------*/
.form {
    padding: 2rem;
    background-color: #FFF;
    border: solid 1px #CCC;
}

input[data-invalid],
select[data-invalid],
textarea[data-invalid] {
    border-color: #f04124 !important;
}

.error small.error label {
    color: inherit;
}

small.error {
    display: none;
}

.is-invalid-input {
  margin-bottom: 0;
}

.is-invalid-input + small.error {
  display: block;
  margin-bottom: 0.5rem;
}

.contact-form .button {
  color: #fff;
  background-color: #296099;
}

.contact-form .button:hover {
  background-color: #437AB3;
}

/*------------------------------------*\
    #CONTACT
\*------------------------------------*/
.contact-map-container {
    position: relative;
    cursor: pointer;
}

.contact-map {
    display: block;
    width: 100%;
    height: 18.75rem;
    background-color: #E9E5DC;
    border: none;
}

html.no-js .contact-map {
    display: none;
}

.map-link {
    display: none;
}

html.no-js .map-link {
    display: inline;
}

/* cover map to prevent accidentally interacting with when scrolling page */
html.js .contact-map-container:before {
    content: "Click to interact";
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    padding: 1rem;
    text-align: center;
    color: transparent;
    background-color: rgba(0, 0, 0, 0.05);
    -webkit-transition: color 200ms ease, text-shadow 200ms ease;
    -o-transition: color 200ms ease, text-shadow 200ms ease;
    transition: color 200ms ease, text-shadow 200ms ease;
}

html.js .contact-map-container:hover:before {
    text-shadow: 1px 1px 2px #000;
    color: #FFF;
    background-color: rgba(0, 0, 0, 0.2);
}

html.js .contact-map-container.interactive:before {
    display: none

}
/* end cover map */

.contact-info,
.contact-form-container {
    margin-bottom: 1.75rem;
}

.contact-form-container {
    position: relative;
    z-index: 1;
}

html.no-js .contact-form {
    margin-top: 0 !important;
}

.contact-form h2 {
    margin-top: 0;
    font-size: 37px;
}

/*------------------------------------*\
    #FOOTER
\*------------------------------------*/
.footer {
  min-height: 318px;
  background-image: url(./img/bg-footer.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  /* background-color: #7b9bbd; */
}

.footer .container {
  padding-top: 120px;
}

.footer-logo {  
}

.footer-info {
  margin-top: 40px;
  margin-left: 3rem;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: #fff;
}

.members {
  display: inline-block;
  margin-top: 40px;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  line-height: 1.75;
  text-align: left;
  color: #fff;
}

.footer-icons {
  list-style-type: none;  
  margin: 10px 0 0 0;
}

.footer-icons li {
  display: inline;  
  padding: 0 0 0 20px;
}

.footer-icons li:first-of-type {  
  padding: 0;
}

.deww-footer {
  margin-top: 2rem;
  color: #fefefe;
}

.deww-footer p {
  margin: 0;
  font-size: 15px;
}

.deww-footer a {
  color: #fefefe;
  text-decoration: underline;
}

.deww-footer a:hover {
  text-decoration: none;
}

/*------------------------------------*\
    #MEDIA QUERIES
\*------------------------------------*/
/* Small only */
@media screen and (max-width: 47.9375em) {
  /*------------------------------------*\
      #SITE HEADER
  \*------------------------------------*/
  .header {
    position: relative;
  }

  .header-inner {
    position: relative;
    background-color: #2f4a93;
  }

  .header-logo {   
  position: relative;
    width: 80%;        
    margin: 1rem auto 0;    
    z-index: 3;
  }

  .header-phone {
    position: relative;
    margin-top: 1rem;     
    font-size: 22px; 
    z-index: 2;
  }

  .header > img {
    position: relative;
    margin-top: -5%;
    z-index: 1;
  }

  .title-bar {
    background-color: #184fac;   
  }

  .menu-icon {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    width: 1.25rem;
    height: 1rem;
  }  
  .menu-icon::after {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 0.125rem;
    background: #fefefe;
    top: 0;
    left: 0;
    box-shadow: 0 0.4375rem 0 #fefefe, 0 0.875rem 0 #fefefe;
  }
  .menu-icon:hover::after {
    background: #cacaca;
    box-shadow: 0 0.4375rem 0 #cacaca, 0 0.875rem 0 #cacaca;
  }
  .top-bar, .top-bar ul {
    background-color: #333;
  }  
  .menu > li > a {
    color: #fff;
  }
  .is-drilldown-submenu-parent > a::after {
    border-color: transparent transparent transparent #fff;    
  }
  .js-drilldown-back > a::before {      
    border-color: transparent #fff transparent transparent;
  } 

  /*------------------------------------*\
      #SECONDARY PAGE BANNERS
  \*------------------------------------*/
  .banner {
    margin-top: -12%;
    padding-top: 0;
  }

  /*------------------------------------*\
      #HOMEPAGE ROTATOR
  \*------------------------------------*/
  .rotator {
    position: relative;
    z-index: 5;
    margin-top: -10%;
    padding-top: 0;
  }  

  /*------------------------------------*\
      #PAGE CONTENT
  \*------------------------------------*/
  .home-content  {
    padding-top: 1rem;
  }

  .secondary-content {    
    padding-top: 1rem;
  }

  .secondary-content .container {    
    /*padding: 2rem 1rem 0 ; */
  }

  .contact-layout {
    /*margin-bottom: 2rem;*/
  }

  /*------------------------------------*\
      #HOMEPAGE CALLOUTS
  \*------------------------------------*/
  .callouts .container {    
    padding-top: 1rem;
  }


  /*------------------------------------*\
      #FOOTER
  \*------------------------------------*/
  .footer {          
    background-image: url(./img/bg-footer.png);
    background-repeat: no-repeat;
    background-size: inherit;
    background-position: top center;
    background-color: #3e559b;
  }

  .footer .container {
    padding-top: 100px;  
  }

  .footer-logo {
    width: 80%;
  }

  .footer-info {  
    margin-top: 0;   
    margin-left: 0; 
    font-size: 22px;    
  }

  .members {    
    margin-top: 1rem;   
    font-size: 22px;
    text-align: center;    
  }

  .footer-icons {
    list-style-type: none;  
    margin: 0;
  }

  .footer-icons li,
  .footer-icons li:first-of-type {
    display: list-item;  
    padding: 0 0 10px 0;
  }

  .deww-footer {
    margin-top: 1rem;    
    padding: 0 1.5rem;
  }
}

/* Phones in portrait orientation */
@media screen and (max-width: 47.9375em)and (orientation: portrait) {
 
}

/* Phones in landscape orientation */
@media screen and (max-width: 47.9375em)and (orientation: landscape) {

}

/* Medium and up */
@media screen and (min-width: 48em) {
  .image-left,
  .image-right {
    max-width: 50%;
  }

  .image-left {
    float: left;
    margin-right: 1rem;
  }

  .image-right {
    float: right;
    margin-left: 1rem;
  }

  .no-js .top-bar {
    display: block;
  }

  .no-js .title-bar {
    display: none;
  }
  
  .top-bar {
    padding: 0;  
  }  

  .top-bar,
  .top-bar ul {
    background-color: transparent;
  }

  .top-bar-left {
    float: none;
  }

  .menu {
    /*margin-left: 200px;*/
    width: 100%;
    text-align: center;
  }

  .menu > li {    
    display: inline-block;
    padding: 0;
  }

  .menu > li > a {      
    position: relative;
    padding: 19px 1.25rem 19px;
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #fefefe;
    text-transform: uppercase;
  }

  .menu > li > a:hover {
    transition: all 0.2s;
    color: #599ee0;  
    background-color: #fefefe;
  }  
  
  .dropdown.menu > li.is-dropdown-submenu-parent > a {
    
  }

  .dropdown.menu > li.is-dropdown-submenu-parent > a::after {
    position: absolute;
    content: '';        
    border: none;
  }

  ul.is-dropdown-submenu {        
    border: none;
    padding: 0 0 0.75rem 0;
    text-align: left;
    background-color: rgba(24,79,172,0.9);
  }

  .menu ul.is-dropdown-submenu a {    
    padding: 0.5rem 20px 0.5rem;
    font-size: 0.875rem;
    color: #fefefe;    
  }

  ul.is-dropdown-submenu a:hover {
    color: #599ee0;  
    background-color: #fefefe;  
  }
  

  /*------------------------------------*\
      #CONTACT
  \*------------------------------------*/
  .contact-map {
      height: 29.375rem;
  }

  .contact-form {
      /*float: right;*/
      margin-top: -8rem;
  }
}

/* Tablet only */
@media screen and (min-width: 48em) and (max-width: 64em) {
  .header-logo {
    width: 50%;
  }
  
  .header-phone {
    margin-top: 20px;  
    font-size: 22px;
  }
}

/* Tablet portrait only */
@media screen and (min-width: 48em) and (max-width: 64em) and (orientation: portrait) {  
  .container {
    margin: 0 1rem;      
  }  

  .header-logo {
    width: 70%;    
    margin-left:2rem;
  }  
}

/* Large and up */
@media screen and (min-width: 64em) {
   
}

/* Large only */
@media screen and (min-width: 64em) and (max-width: 74.9375em) {}