.feature_img {
  max-width: 70%;
}

.home_logo {
max-width: 200px;
}

#twitterbanner {
  background-image: linear-gradient(45deg, #1aa0e1 1%, #87fff9 100% );
}
.ctf-tweets .ctf-tweet-content {
  position: relative;
  width: 100%;
  padding-bottom: 85%!important;
}
#ctf .ctf-tweets .ctf-item {
  border-top: none;
  overflow: visible;
}
#ctf .ctf-header .ctf-header-bio {
  display: none;
}
#ctf .ctf-tweets p.ctf-tweet-text {
  padding: 10px 15px !important;
  border-radius: 4px;
  background-color: #ffffff;
  box-shadow: 0px 8px 17px 2px rgba(0,0,0,0.14), 0px 3px 14px 2px rgba(0,0,0,0.12), 0px 5px 5px -3px rgba(0,0,0,0.2);
  width: 100%;
  position: absolute;
  bottom: 0;
  z-index: 2;
  height: 100%;
  overflow-y: auto;
  font-size: 14px;
}
#ctf .ctf-tweet-content:not(.double) p.ctf-tweet-text > span {
  top: 50%;
  position: relative;
  float: left;
  width: 100%;
  transform: translateY(-50%);
}
#ctf .ctf-tweets .double p.ctf-tweet-text ,#ctf .ctf-tweets .ctf-quoted p.ctf-tweet-text {
  height: 50%;
}
.ctf-tweets .ctf-tweet-media, .ctf-tweets .ctf-twitter-card{
  position: absolute;
  left: 20px;
  top: 20px;
  right: 20px;
  bottom: 48%;
  width: auto!important;
  z-index: 1;
  overflow: hidden;
  -webkit-transition: margin .3s ease;
  -o-transition: margin .3s ease;
  transition: margin .3s ease;
  margin-top: 0!important;
  background-size: cover;
  background-position: center center;
}
#ctf .ctf-tweet-media a{
    display: none!important;
}
.ctf-header-counts{
  display: none!important;
}

#ctf div.ctf-header {
    margin-top: -45px;
    padding: 15px;
    border: none;
}
#ctf a.ctf-header-link {
    background: #fff;
    border-radius: 300px;
    padding: 5px 5px 4px;
    width: auto;
    float: left;
    border: none;
    box-shadow: 0px 8px 17px 2px rgba(0,0,0,0.14), 0px 3px 14px 2px rgba(0,0,0,0.12), 0px 5px 5px -3px rgba(0,0,0,0.2);
    height: 57px;
}

/* ------------------------- navigation --------------------------- */

.navbar {
  margin-bottom: 0;
}

.navbar .navbar-brand {
    display: inline-block;
    height: 0;
    padding: 60px 0 0 0;
    margin-top: 5px;
    overflow: hidden;
    background-image: url(../img/prof.barrett_logo.png);
    background-repeat: no-repeat;
    background-position: center left;
    background-size: contain;
}
.navbar.navbar-default .navbar-collapse,
.navbar.navbar-default .navbar-collapse .menu-item{
  position: static;
}
.navbar-nav>li>.dropdown-menu {
  position: absolute;
  left: 0;
  right: 0;
  background-color:rgba(0, 0, 0, 0.9);
  margin-top:0px;
  padding: 3px 4px;
}

ul.dropdown-menu>li.menu-item {
    float: left;
    width: 50%;
}

#navigation {
text-transform: uppercase;
position: fixed;
}

#main{
  top: 73px;
  position: relative;
  float: left;
  width: 100%;
}


ul#menu-header-menu {
    text-transform: capitalize;
}

.navbar-nav>li>.dropdown-menu li.menu-item {
  text-align: center;
    padding-top: 20px;
}

.navbar-nav>li>.dropdown-menu li.menu-item>a {
  color: white;
  font-size: 12px;
  position: relative;
  padding-bottom: 6px;
}

.navbar-nav>li>.dropdown-menu li.menu-item>a:before {
    content: "";
    position: absolute;
    left    : 50%;
    bottom  : 0;
    height  : 50%;
    width   : 35px;
    border-bottom:1px solid rgba(255,255,255,0.2);
    margin-left: -17.5px;
}

.navbar-nav>li>.dl-submenu li.menu-item>a {
  padding-bottom: 16px;
}

.navbar-nav>li>.dl-submenu li.menu-item>a:before {
  border-bottom: none;
}

.navbar-nav>li>.dropdown-menu li.menu-item>a:hover {
      color: #1aa0e1;
}

.navbar-nav>li>.dropdown-menu li.menu-item>a:focus {
      color: #1aa0e1;
}


/*---------------------- blockquote------------------------------*/
.blockquote_container {
    position: absolute;
}

blockquote {
  font-size: 40px;
  font-family: texgyreadventor;
  color: #333333;
  line-height: 1.6;
  border: none;
  text-align: left;
  margin: -34px 0 -9px 0;
  width: 100%;
}

blockquote::before{
  font-family: texgyreadventor;
  font-style: bold;
  font-weight: bold;
  content: "\201C";
  color: #1AA0E1;
  font-size: 90px;
}

blockquote::after{
  font-family: texgyreadventor;
  font-style: bold;
  font-weight: bold;
  content: "\201D";
  color: #1AA0E1;
  font-size: 90px;
}

blockquote.blockquote{
  font-size: 22px;
  margin: 100px 0px;
  font-family: texgyreadventor;
  font-weight: bold;
  color: #cdcfd0;
  padding-left: 19px 30px 19px 75px;
  line-height: 1.6;
  position: relative;
  border: none;
  text-align: left;
  width: 259px;
  height: 100px;
  padding-left: 10px;
}

blockquote.blockquote::before{
  font-family: texgyreadventor;
  font-style: bold;
  font-weight: bold;
  content: "\201C";
  color: #1AA0E1;
  font-size: 128px;
  position: absolute;
  left: 0px;
  top: -110px;
}

blockquote.blockquote::after{
  font-family: texgyreadventor;
  font-style: bold;
  font-weight: bold;
  content: "\201D";
  color: #1AA0E1;
  font-size: 128px;
  position: absolute;
  right: 0px;
  bottom: -128px;
}

blockquote span{
  display:block;
  color:#1AA0E1;
  font-style: normal;
  font-weight: normal;
  margin-top: 16px;
  font-size: 12px;
}

blockquote.blockquote_2 {
  font-size: 22px;
  margin: 100px 0px;
  font-family: texgyreadventor;
  font-weight: bold;
  color: #1AA0E1;
  line-height: 1.6;
  position: relative;
  border: none;
  text-align: left;
  margin-bottom: 50px;
  margin-top: 80px;
}

blockquote.blockquote_2::before{
  font-family: texgyreadventor;
  font-style: bold;
  font-weight: bold;
  content: "\201C";
  color: #D5D7D8;
  font-size: 128px;
  position: absolute;
  left: -10px;
  top: -110px;
}

blockquote.blockquote_2::after{
  font-family: texgyreadventor;
  font-style: bold;
  font-weight: bold;
  content: "\201D";
  color: #D5D7D8;
  font-size: 128px;
  position: absolute;
  right: 0px;
  bottom: -128px;
}

blockquote.blockquote_2 span{
  display: block;
  color: #333333;
  font-style: normal;
  font-weight: normal;
  margin-top: 16px;
  font-size: 12px;
}

/*------------------- footer --------------------*/
footer {
  height: 50px;
}
.footer_phone {
  color: #fff!important;
}
.footer_content {
   padding-top: 5px;
 }

.partners_logo {
  max-height: 90px;
  margin-top: -25px;
}
.copyrights {
  padding-bottom: 30px;
	padding-top: 20px;
}

.copyrights span{
  font-size: 10px;
  color: #2b2b2b;
}
.copyrights a{
  border-right: 1px solid #2b2b2b;
  padding-right: 10px;
  padding-left: 10px;
  font-size: 10px;
  color: #2b2b2b;
}
a.white:hover, a.white:focus {
    color: #B9E6FF;
  }

/*----------------------- video ------------------------*/
.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#videoHeaderContainer {
  overflow:hidden;
  padding-bottom: 14%;
}

#videoHeaderContainer video{
  margin-bottom: -15%;
  margin-top: -10%;
}

#videoOverlayContainer{
  position: absolute;
  z-index:10;
  width:100%
}

#videoOverlayContainer{
  margin-top:1%;
}


/*--------- Procedures ----------------*/
.procedure {
  border: 1px solid grey;
  text-align: center;
}

.procedure h5 {
  color: #1AA0E1;
  color: #1AA0E1;
  position: relative;
  bottom: 0;
  background-color: white;
  margin: 0;
  top: 50%;
  transform: translateY(-50%);
}

.procedure_aspect {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-position: top;
}

.numberContainer {
  color: white;
    font-size: 150px;
    font-weight: bold;
    border: 1px solid white;
    border-radius: 50%;
    position: absolute;
    top: 12.5%;
    left: 12.5%;
    width: 75%;
    height: 75%;
}


.number{
  position: absolute;
    top: 50%;
    transform: translateY(-55%);
    -ms-transform:translateY(-55%);
    -webkit-transform:translateY(-55%);
    left: 0;
    right: 0;
}

.aspect_hero {
  width: 100%;
  min-height: 314px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
  background-color: #262626;
  background-image: url(../img/prof.barrett_hero.png) ;
}

.procedure_caption {
  height: 70px;
  padding-top: 10px;
  padding-bottom: 10px;
}

/*--------------- Press ------------------*/

.entry-title {
  text-transform: uppercase;
}

.article-right {
  border-bottom: 1px solid #cdcfd0;
}

.article-right>p {
  font-size: 14px;
}

.press_snipet p{
  display: inline;
}

.press_link a{
  dispaly: inline;
}
/*---------------- Team ---------------------------*/

.team_image {
  position: relative;
  width: 100%;
  padding-bottom: 50%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-position: center;
}



/*---------------- Testimonials -------------------*/

.testimonial {
    float: none;
    width: 28%;
    border-top: 1px solid #1AA0E1;
    display: inline-block;
    vertical-align: top;
    margin-right: 45px;
}

/*--------------- Contact -----------------------*/

.contact_form {
  background-color: #1AA0E1;
}

.contact_field>p {
  color: white;
  font-size: 11px;
  margin-bottom: 5px;
  margin-top:15px;
}
.contact_field>input {
  color: gray;
  font-size: 13px;
}

.contact_field>textarea {
  color: gray;
  font-size: 13px;
}

.btn {
  border-radius: 0px;
  padding: 5px 5px 5px 5px;
  background-color: white;
  font-weight: bold;
  font-size: 13px;
  max-width: 70px;
}

.alert {
float: left;
width: 100%;
text-align: center;
padding: 0;
font-size: 12px;
}

.contact_form_slider {
  width: 32px;
  height: 32px;
  text-align: center;
  padding-top: 8px;
  transition: none;
}

.contact_form_slider:hover {
  color:#cdcfd0;
}

.contact_form_slider:focus{
  color:#cdcfd0;
}


.contact_slider_close_button {
  width: 32px;
  height: 32px;
  text-align: center;
  padding-top: 8px;
  z-index: 1000;
  margin-right: -15px;
}

.contact_slider_close_button:hover{
  color:#cdcfd0;
}

.contact_slider_close_button:focus{
  color:#cdcfd0;
}

.slide-out{
  width:100%;
  height:0px;
  overflow: hidden ;
}

.stuck{
  position: fixed !important;
  z-index: 1000;
  right: 0;
  top: 72px;
}
.form-group>.btn-primary:hover .btn-primary:focus .btn-primary:active {
  color: white !important;
  background-color: #B9E6FF !important;
  border: none;
}

/* ----------------- Faqs & links --------------------*/

.questions {
  border-bottom: 1px solid #cdcfd0;
  border-bottom-width: 80%;
}

.links .links + a {
  font-size: 16px!important;
}

.category + .questions {
  border-top: 1px solid #cdcfd0;
}

.faq-question-heading .glyphicon-triangle-top {
  transition: transform 0.2s;
  transform: rotate(0deg);
}
.faq-question-heading.collapsed .glyphicon-triangle-top {
  transform: rotate(-180deg);
}

/*--------------- Footer --------------------*/

.list-inline>li {
  padding-right: 0px;
  padding-left: 0px;
  }

  .copyrights>.tm_link {
    border: 0;
  }

@media (max-width: 992px) {
  .aspect_hero {
    padding-bottom: 40%;
  }

  .testimonial {
   width: 46%;
   margin-right: 45px;
  }

  blockquote {
    font-size: 32px;
    margin-top: -34px;
  }

  .navbar-nav>li>a {
    font-size: 11px;
    padding: 3px 6px;
    margin-top: 23.88px;
    margin-bottom: 23.88px;
  }

  .feature_img{
    max-width: 100%;
  }

  .testimonial {
   width: 26%;
   margin-right: 45px;
  }

   blockquote.blockquote_2::before{
   left: 7px;
   }

   blockquote.blockquote_2::after{
   right: 7px;
   }

   .procedure_tiles:nth-child(2n) .procedure {
       float: right;
   }

   footer {
     height: 65px;
   }

   a.footer_phone {
     float: none!important;
   }
   .partners_logo {
     margin-top: -19px;
   }
}



@media (max-width: 760px) {
   .article_left>img {
     float: none;
   }

   .article_date {
     padding-right: 10px;
   }

   .testimonial {
    width: 42%;
    margin-right: 45px;
   }
  #navigation{
    position: fixed!important;
  }
  .footer_contact_info {
    text-align: center;
    width: 100%;
  }

  .footer_email {
    width: 100%;
  }

  .footer_phone {
    width: 100%;
  }

  .social_media {
  float: none !important;
  text-align: center;
  }

  .partners_logo {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
    margin-top: 0px;
    float: none !important;
    display: block;
    padding-top: 10px;
  }

  footer {
    height: 161px;
  }
}

@media (max-width: 680px) {
  .aspect_hero {
    padding-bottom: 60%;
  }

  .aspect_hero:before {
    content: " ";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.6);
  }

  blockquote {
    font-size: 28px;
    margin-top: -20px;
  }

  .blockquote.blockquote {
    padding-left: 0px;
  }

  .blockquote.blockquote::before {
    left: -8px;
  }

  blockquote::before{
    font-size: 40px;
    left: -15px;
  }

  blockquote::after{
    font-size: 40px;
  }

  .testimonial {
   width: 100%;
  }

  .footer_content>p, img{
    float: none !important;
    text-align: center;
  }

  .social_media {
  float: none !important;
  text-align: center;
  }

  .partners_logo {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
    margin-top: 0px;
    float: none !important;
    display: block;
    padding-top: 10px;
  }

  footer {
    height: 161px;
  }

  .copyrights {
    text-align: center;
    width: 100%;
  }

  .copyrights>span,.footer_menu_container {
    float: none!important;
    display: inline-block;
  }

  .navbar-nav>li>a {
    margin: 0px;
  }


}
