/*
Global Variables

@import this file at the top of each page
template file to make variables available.
*/
/*
Mixins

Add mixins to any css page using @include

e.g.
.element{
	@include transition( background .2s ease-out )
}
*/
@media screen and (max-width: 900px) {
  #navbar .bot-nav .site-logo path, #navbar .bot-nav .site-logo polygon {
    fill: #d5dde1 !important;
    -webkit-transition: fill 0.2s ease-out;
    -moz-transition: fill 0.2s ease-out;
    -ms-transition: fill 0.2s ease-out;
    -o-transition: fill 0.2s ease-out;
    transition: fill 0.2s ease-out;
  }
  #navbar .bot-nav .site-logo:hover path, #navbar .bot-nav .site-logo:hover polygon {
    fill: #474c52 !important;
  }
}

.bot-nav {
  position: absolute;
  z-index: 9;
  background: none;
  width: 100%;
}

@media screen and (max-width: 900px) {
  .bot-nav {
    position: relative;
    background: white;
  }
}

.bot-nav #header_nav li.menu-item-has-children > a {
  background: url("/wp-content/themes/terrawest/images/upload/arrow-white.png") right 15px center no-repeat;
  background-size: 16px;
}

.bot-nav #header_nav li.menu-item-has-children:hover > a {
  background: url("/wp-content/themes/terrawest/images/upload/arrow-blue.png") right 15px center no-repeat;
  background-size: 16px;
}

.bot-nav #header_nav li a {
  color: white;
}

.bot-nav #header_nav li:hover > a {
  color: #3fbffe;
}

.banner {
  padding-top: 320px;
  padding-bottom: 50px;
  background: #97a1a5 center center no-repeat;
  background-size: cover;
}

@media screen and (max-width: 1200px) {
  .banner {
    padding-top: 240px;
    padding-bottom: 40px;
  }
}

@media screen and (max-width: 900px) {
  .banner {
    padding: 80px 7.5% 33px 7.5%;
  }
}

@media screen and (max-width: 600px) {
  .banner {
    padding: 40px 6% 20px 6%;
  }
}

.banner .banner-text {
  max-width: 100%;
}

.team-list {
  display: flex;
  flex-wrap: wrap;
  padding: 0px 7.5% 20px 7.5%;
  padding-right: calc(7.5% - 30px);
}

@media screen and (max-width: 1300px) {
  .team-list {
    padding-right: calc(7.5% - 25px);
  }
}

@media screen and (max-width: 600px) {
  .team-list {
    padding-left: 6%;
    padding-right: calc(6% - 20px);
  }
}

.team-list .member {
  width: 25%;
  font-weight: 600;
  padding: 0 30px 55px 0;
  font-size: 17px;
}

@media screen and (max-width: 1300px) {
  .team-list .member {
    width: 33.33333%;
    padding: 0px 25px 45px 0px;
  }
}

@media screen and (max-width: 1300px) {
  .team-list .member {
    width: 50%;
  }
}

@media screen and (max-width: 600px) {
  .team-list .member {
    padding: 0px 20px 30px 0px;
    font-size: 16px;
  }
}

.team-list .member .member-img {
  background: #e3e4e6 center center no-repeat;
  background-size: cover;
  padding-top: 115%;
  position: relative;
}

.team-list .member .member-img:after {
  content: '';
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  background: #0caefe;
  opacity: 0;
  -webkit-transition: opacity 0.2s ease-out;
  -moz-transition: opacity 0.2s ease-out;
  -ms-transition: opacity 0.2s ease-out;
  -o-transition: opacity 0.2s ease-out;
  transition: opacity 0.2s ease-out;
}

.team-list .member .name {
  color: #0caefe;
  padding-top: 20px;
}

@media screen and (max-width: 600px) {
  .team-list .member .name {
    padding-top: 10px;
  }
}

.team-list .member .position {
  color: #474c52;
}

@media screen and (max-width: 1600px) {
  .team-list .member .position {
    font-size: 15px;
  }
}

@media screen and (max-width: 600px) {
  .team-list .member .position {
    font-size: 12px;
  }
}

@media screen and (max-width: 900px) {
  .content-block .content-col:first-child {
    padding: 0px;
  }
}

.cta {
  background: none;
  position: relative;
}

.cta:before {
  content: '';
  position: absolute;
  top: 0px;
  left: 7.5%;
  right: 7.5%;
  height: 1px;
  background: #d5dde1;
}
