/*
Theme Name: Twenty Seventeen Child (HydroEye)
Author: Phil Regan - defkind media
Author URI: http://defkind.com/
Description: Twenty Seventeen child theme for HydroEye
Template: twentyseventeen
Version: 1.0.0
*/


/*--------------------------------------------------------------
Child theme styles
--------------------------------------------------------------*/

 @import url('https://fonts.googleapis.com/css?family=Raleway');

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

.hidden {
  opacity: 0;
}
.visible {
  opacity: 1;
  -moz-transition: opacity 1.5s ease-in-out;
  -webkit-transition: opacity 1.5s ease-in-out;
  transition: opacity 1.5s ease-in-out;
}

p {
  margin: 0 0 1.4em;
}
/* Hide empty p tags created by WP */
p:empty { display:none; }

h1, h2, h3, h4, h5, h6 {
  color: #333;
  margin: 0 0 2em;
}

h4, h5, h6 {
  margin: 0 0 1.6em;
}

h1, h2 {
  font-family: 'Raleway', sans-serif;
}

h2,
.page .panel-content .entry-title, 
.page-title, 
body.page:not(.twentyseventeen-front-page) .entry-title {
  color: #333;
  font-size: 2.25rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

ul {
  list-style-position: inside;
}

.header-wrapper, 
.page.page-one-column .entry-header, 
.twentyseventeen-front-page.page-one-column .entry-header, 
.archive.page-one-column:not(.has-sidebar) .page-header {
  margin-bottom: 3em;
}


.home .entry-header,
.header-wrapper {
  border-bottom: 1px solid #7f7f7f;
  text-align: center;
}
.entry-header .entry-title {
  margin-bottom: 0.75em;
}

a:link,
a:visited {
  color: #008bbf;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: color .35s, background-color .35s; 
  transition: color .35s, background-color .35s; 
}

.gallery a:link,
.gallery a:visited {
  opacity: 1;
  -webkit-transition: opacity .35s; 
  transition: opacity .35s; 
}
.gallery a:hover {
  opacity: 0.8;
}

a.button-link {
  border: 1px solid #008bbf;
  font-size: 0.9375rem;
  padding: 8px 12px;
  -webkit-border-radius: 17px;
  -moz-border-radius: 17px;
  border-radius: 17px;
  -webkit-transition: color .35s, border-color .35s; 
  transition: color .35s, border-color .35s; 
}
a.button-link:after {
  content: '\0279C';
  padding-left: 0.3rem;
}
a.button-link:hover,
a.button-link:active,
a.button-link:focus {
  border: 1px solid #000;
  -webkit-box-shadow: none;
  box-shadow: none;
}

button, 
input[type="button"], 
input[type="submit"] {
  background-color: #008bbf;
  -webkit-transition: background-color .35s; 
  transition: background-color .35s; 
}
button:hover, 
input[type="button"]:hover, 
input[type="submit"]:hover {
  background-color: #000;
}

label {
  font-weight: 600;
}

/*----- Header -----*/

.site-header {
  background-color: #fff;
  text-align: center;
}

#masthead .wrap {
  padding: 0;
}

.site-title a {
  background: url(images/hydroeye_logo.png);
  background-image: url(images/hydroeye_logo.svg), none;
  background-position: 0 0;
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  height: 60px;
  overflow: hidden;
  text-indent: -9999px;
  width: auto;
}
.site-description {
  color: #999;
  font-size: 1.625rem;
}
.navigation-top {
  font-size: 1rem;
  text-transform: uppercase;
}
.main-navigation a {
  color: #000;
  font-weight: 400;
}

/*----- Footer -----*/

.site-footer {
  background: #222;
  color: #fff;
  font-size: 0.8125rem;
  text-align: center;
}
  .site-footer a:link,
  .site-footer a:visited {
    color: #008bbf;
  }
  .site-footer a:hover,
  .site-footer a:active {
    color: #fff;
  }
  .site-footer .wrap {
    padding-top: 6.5em;
  }
  .site-footer h4 {
    color: #fff;
    font-size: 1rem;
    margin: 0 0 1rem;
  }
  .site-footer > p {
    margin: 0 0 1rem;
  }

  .site-footer .footer-company-info, 
  .site-footer .footer-nav, 
  .site-footer .social-navigation {
    clear: both;
    display: block;
    float: none;
    margin-bottom: 10px;
    vertical-align: top;
  }
    .footer-company-info > img {
      display: inline-block;
      margin-right: 16px;
    }
    .footer-company-info > .footer-company-info-text {
      display: inline-block;
      text-align: left;
    }
    .footer-company-info > h4 {
      display: inline;
    }
    

  .footer-nav ul {
    list-style: none;
  }


  .social-navigation a:link,
  .social-navigation a:visited {
    background-color: #008bbf;
    border-radius: 40px;
    height: 40px;
    margin: 0 0.5em 0.5em 0;
    width: 40px;
  }
  .social-navigation a:hover,
  .social-navigation a:active {
    background-color: #444;
  }
  .social-navigation .icon {
    fill: #fff;
    height: 20px;
    top: 10px;
    width: 20px;
  }

.footer-badges {
  text-align: center;
}
.footer-badges img {
  margin: 5px;
  max-width: 80px;
}

.site-footer .site-info {
  float: none;
  font-size: 0.75rem;
  margin: 0;
  padding: 2.5em 0 0;
  text-align: center;
  width: auto;
}




/* Galleries & grids */
.home .gallery-caption {
  color: #fff;
  text-align: center;
}

.home .gallery-item a {
  color: #fff;
  display: block;
  font-style: normal;
  font-weight: bold;
  margin: 0.25em 0;
}
.home .gallery-item a:hover {
  color: #008bbf;
}
.gallery-item img {
  border: 1px solid #fff;
}
.entry-content a img, .widget a img {
  box-shadow: none;
}

/*----------- Pages -------------*/


/*----------- HOME PAGE -------------*/

/* Recent Post Slider */
.wp-medium-8 {
  width: 100%;
}
.wppsac-post-slider.design-1 .wppsac-post-content-left {
  text-shadow: 1px 1px #000;
}
.wppsac-post-slider h2.wppsac-post-title,
.wppsac-post-slider .wppsac-post-content {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 916px;
}
.wppsac-post-slider.design-1 .wppsac-post-image-bg {
  height: 300px;
}

.wppsac-post-slider.design-1 a.wppsac-readmorebtn {
  border: none;
  color: #21a4d6;
  font-size: 0.875rem;
  margin: 5px 0;
  padding: 0;
  text-decoration: none;
}
.wppsac-post-slider.design-1 a.wppsac-readmorebtn:hover {
  background: none;
}





/* See the Sea (grey) section */
.home #panel1 {
  background: #222;
  color: #fff;
}
.home #panel1 .entry-header {
  border-bottom: 1px solid #008bbf;
  text-align: center;
}
  .home #panel1 .entry-title {
    color: #fff;
  }


/* How We Do It (white) section */
.home #panel2 .entry-header {
  border-bottom: none;
}
.home #panel2 .entry-header h2 {
  background: url(images/hydroeye_circle_220.svg) 0 0 no-repeat;
  height: 220px;
  margin: 0 auto;
  overflow: hidden;
  width: 220px;
  text-indent: -99999px;
}

  .home-tech-img-2 img {
    padding: 0 2rem 1rem;
  }


.rotatingtweets-wrapper {
  margin-top: -6px;
}
  .twitter-feed-icon {
    float: left;
    height: 41px;
    margin: 16px 16px 0 0;
    width: 50px;
  }
  .rotatingtweets {
    border: none !important;
    margin: 0 auto !important;
    width: auto !important;
  }
  .rotatingtweet {
    width: auto !important;
  }


/* SERVICES PAGE */

.services-item {
  margin-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.services-item img {
  margin-bottom: 2rem;
  padding: 4px;
  border: 1px solid #eee;
}
.services-item p {
  margin-bottom: 2rem;
}



/*--------------------------------------------------------------
Responsive
--------------------------------------------------------------*/


@media screen and (min-width: 20em) {
  
}

@media screen and (max-width: 30em) {
  /* Mobile gallery single width */
  .gallery-item {
    padding: 0 0;
    width: 100%;
  }
  .gallery-item a img {
    margin: 0 auto;
  }


}

@media screen and (min-width: 30em) {

  /* Above mobile */

  .site-branding {
    padding: 2em 0;
  }

  .navigation-top .menu {
    text-align: center;
  }

  /* Home slider */
  .recent-post-slider.design-1 .post-image-bg {
    height: 500px;
  }

  /* Footer */
  .site-footer .footer-company-info, 
  .site-footer .footer-nav, 
  .site-footer .social-navigation {
    clear: none;
    display: inline-block;
  }
  .site-footer .footer-company-info {
    width: 100%;
  }
  .site-footer .footer-nav {
    width: 49%;
  }
  .site-footer .social-navigation {
    width: 50%;
  }


}

@media screen and (min-width: 48em) { 

  /* Layout */
  .page-one-column .panel-content .wrap {
    max-width: 1000px;
  }

  /* Home slider */
  .recent-post-slider.design-1 .post-image-bg {
    height: 550px;
  }

  .home-tech-img-1 {
    display: inline-block; 
    vertical-align: middle; 
    width: 40%;
  }
  .home-tech-text-1 {
    display: inline-block; 
    padding: 1rem;
    vertical-align: middle; 
    width: 59%; 
  }
    .home-tech-img-2 img {
      display: inline-block; 
      vertical-align: middle;
      width: 50%;
    }
  .home-tech-text-2 {
    display: inline-block; 
    vertical-align: middle; 
    width: 40%;
  }

  /* Single Post */
  .single-post:not(.has-sidebar) #primary,
  .page.page-one-column:not(.twentyseventeen-front-page) #primary,
  .archive.page-one-column:not(.has-sidebar) .page-header,
  .archive.page-one-column:not(.has-sidebar) #primary {
    max-width: 1000px;
  }


  /* Services */
  .services-item img {
    max-width: 300px;
  }
  .services-item > div {
    float: left;
    max-width: 50%;
  }


  /* Footer */
  .site-footer {
    text-align: left;
  }
  .site-footer .footer-company-info {
    width: 43%;
  }
  .site-footer .footer-nav {
    width: 23%;
  }
  .site-footer .social-navigation {
    width: 33%;
  }

}

/* Wide Desktop */ 
@media screen and (min-width: 62em) { 

  /* Header */  

  .site-header {
    border-bottom: 1px solid #eee;
    text-align: left;
  }
  .site-header-inner {
    margin: 0 auto;
    max-width: 1000px;
    padding-left: 3em;
    padding-right: 3em;
  }

  .custom-header {
    float: left;
  }
    .site-branding {
      margin-bottom: 0 !important;
    }

  .navigation-top {
    border: none;
    float: right;
    margin-top: 60px;
    position: relative;
    width: auto;
  }
  .navigation-top .wrap {
    padding: 0.75em 0;
  }
  .navigation-top nav {
    margin-left: 0;
  }
  .main-navigation a {
    border-left: 1px solid #000;
    padding: 0 1em;
  }
  .site-navigation-fixed.navigation-top {
    border-bottom: 1px solid #eee;
    margin-top: 0;
  }
  .site-navigation-fixed .main-navigation a {
    border-left: none;
    padding: 1em;
  }
  .main-navigation .menu-item-home a {
    border-left: none;
  }

    /* Home slider */
  .wppsac-post-slider.design-1 .wppsac-post-image-bg {
    height: 600px;
  }

}