/* ==========================================================================
   Sections
   ========================================================================== */
body.view {
  overflow: auto;
  float: none;
  margin: inherit;
  text-align: inherit;
  position: inherit;
}
body.view p {
  color: inherit;
  text-align: inherit;
  padding: inherit;
  font-size: inherit;
}
body.view h2 {
  color: inherit;
  text-align: inherit;
  background: inherit;
  margin: inherit;
  padding: inherit;
}
body.view h2 a {
  color: inherit;
}
section {
  overflow: hidden;
}

section.primary {
  background-color: #505050;
  color: white;
}

section.white {
  background-color: #fff;
  color: #444;
}

section.cloudcontent, section.building {
  color: white;
}

section.cloudcontent h1, section.building h1 {
  color: white;
}

section.building h1 {
  text-align: center;
  text-shadow: 0px 0px 10px rgba(0,0,0,0.85);
}

section.building .contentarea {
  border: 4px solid white;
  padding: 30px;
  margin: 40px;
  box-shadow: 0px 0px 9px rgba(0,0,0,0.25);
}

.bigtext {
  font-size: 200%;
}


/* ==========================================================================
   Parallax Scroll
   ========================================================================== */
.parallax-section {
  background-size: 100%; 
  background-repeat: no-repeat;
  background-color: #222;
  background-position: bottom center;
  min-height: 300px;
  z-index: 110;
}

.paralax-section:first-child {
  opacity: .99;
}

.building {
  padding-top: 30%;
  padding-bottom: 20%;
  background-image: url('images/background-building.jpg'); 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  min-height: 420px;
  max-height: 500px;
  z-index: 2;
}

.clouds {
  background-image: url('/themes/bafe_theme/images/business_meeting.jpg'); /*clouds-bg.jpg*/
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: 0px 0px;
  overflow: hidden;
  z-index: -10;
  position: fixed;
  bottom: 0;
  height: 100%;
  min-height: 50%;
  width: 100%;
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  display: none;  
}
.embed-container iframe, .embed-container object, .embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#video-container {
  cursor: pointer;
}
/* ==========================================================================
   Landing Pages, Designer Content Blocks
   ========================================================================== */
#lp-content h1 {
  font-size: 64px;
}
#lp-content h2 {
  font-size: 40px;
}
.white-block, .blue-block {
  padding: 2em;
}
.blue-block {
  background-color: #1DBFD6;
  color: #FFFFFF;
}
.blue-block h1, 
.blue-block h2, 
.blue-block h3,
.blue-block h4, 
.blue-block h5,
.blue-block p {
  color: #FFFFFF;
}
/*#content .blue-block{margin-left:-30px;}*/
.col-sm-6 .blue-block .container {display:inline}/*{margin-top: -2em; margin-left:-30px; width:100%;}*/

/* ==========================================================================
   Icon Columns Designer Block
   ========================================================================== */
.icon-col {
  margin-bottom: 10px;
}
.icon-col .col-img {
  float: left;
  width: 15%;
  padding-right: 15px;
}
.icon-col .col-content {
  float: left;
  width: 85%;
}
.icon-col .col-content h1,
.icon-col .col-content h2 {
  margin-top: 0;
}
/* ==========================================================================
   Pro Blog Overrides
   ========================================================================== */
#pb_sidebar {
  width: 25%;
}
#pb_body {
  width: 75%;
}

/*===========Video Resize on Scroll =======*/



.video-scroll {
  position: relative;
  top: 0;
  right: 0;
  width: 100%;
  transition: .5s;
  z-index: 2;
}

.video-scroll.aside {
  position: fixed;
  width: 360px;
  top: 63px;
  right: 70px;
}

.video-scroll .fluid-width-video-wrapper {
  background-color: hsl(0, 0%, 10%);
  transition: .5s;
}

.video-scroll .fluid-width-video-wrapper > iframe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  max-width: 854px;
}

.video-scroll.aside .fluid-width-video-wrapper {
  height: auto;
}

.video-scroll.aside h1 {
  opacity: 0;
}

/*.video-scroll-post {
  top: calc(1080px + 6em);
}*/

@media (min-width: 1299px) {
  .video-scroll.aside {
    right: 20px;
  }
}
@media (max-width: 1200px) {
  #building-video {
    padding: 30% 0;
  }
  .video-scroll.aside {
      position: fixed;
      width: 375px;
      top: 139px;
      right: 92px;
  }
}
@media (max-width: 992px) {
  #building-video {
    padding: 25% 0;
  }
  .video-scroll {
    position: static;
    width: auto;
  }
  .video-scroll.aside {
    position: static;
    width: auto;
  }
}

@media (max-width: 959px){

}
@media (max-width: 768px) {
  #building-video {
    padding: 30% 0;
  }
}
@media (max-width: 767px) {
  #pb_sidebar, #pb_body {
    width: auto;
  }
}
@media (max-width: 744px) {
  #building-video {
    padding: 3% 0;
  }
}
@media (max-width: 510px) {
  .icon-col .col-img {
    width: 25%;
  }
  .icon-col .col-content {
    width: 75%;
  }
  section.building .contentarea {
    padding: 30px;
    margin: 5px;
  }
  section.building h1 {
    margin: 0;
  }
}

