@media only screen and (max-width: 900px) {
    .intro-item{
        border-style:none!important;
        /*min-width:150px!important;*/
    }



}


@media only screen and (max-width: 975px) {

    .faq-text-content{

        max-width:700px!important;
    }



}

@media only screen and (min-width: 1410px) {

    .img-container-faq {


      background-size: 100% auto!important;

    }



}



@media only screen and (max-width: 530px) {


    .img-container{

        background-size:1900px auto!important;
        min-height: 384px!important;
    }

    .columns{
      -webkit-column-count: 1!important;

      -moz-column-count: 1!important;

      column-count: 1!important;

    }
    .flex-2{
        display:none;
    }

    .header-logo{
        min-width:200px!important;
    }

    .isol8-comptxt {
        font-size: 4vw!important;
    }

    .isol8-logo {
        font-size: 20vw!important;
    }

}

@media only screen and (max-width: 415px) {
    .header h1 {
        text-align:center;
    }

    .img-container{

        background-size:1400px auto!important;
         min-height: 278px!important;
    }



}

@media only screen and (max-width: 1095px) {
    #quote {
        max-width:600px!important;
        padding:60px!important;
    }




}

@media only screen and (max-width: 450px) {
    .contact-info{
        padding:30px!important;
    }

    .form-field-left{
        width:100%!important;

    }
    .form-field-right{
        width:100%!important;

    }

    .faq-text-content{

        min-width:100px!important;
    }

    .logo-text{
        clear:both!important;
        text-align:center!important;
    }

    .logo-img{
        margin:0 auto!important;
        padding-bottom:20px!important;
        float:none!important;
    }

    .logo{
        float:none!important;
        display:block!important;
        margin:0 auto!important;
    }
}

@media only screen and (min-width: 2837px) {

    .img-container{

        background-size:100% !important;

    }

}


@media only screen and (max-width: 1280px) {

    .text{

        width:50%!important;
        padding:30px!important;

    }
    .text-section-1{

        max-width:1000px!important;
    }

    .text-section-1 img{
        width:40%!important;
        overflow:hidden!important;
    }

    .text-2{

        width:60%!important;
        padding:30px!important;

    }
    .text-section-2{

        max-width:1000px!important;
    }

    #videosList {
        width:30%!important;
    }

    .contact-info{
        padding:10px 40px 10px 40px!important;
        max-width:450px;
        min-width:200px!important;
    }





}

@media only screen and (max-width: 650px) {

    .text{
        max-width:500px!important;
        width:90%!important;
        padding:30px!important;

    }


    .text-section-1 img{
        display:none!important;
        max-height:0px!important;
        overflow:hidden!important;
    }

    .text-2{

        width:90%!important;
        padding:30px!important;
        float:left!important;


    }


    #videosList{
        display:none!important;
        max-height:0px!important;
        overflow:hidden!important;

    }

    .section-30-content{
        flex-wrap:wrap!important;
        -webkit-flex-wrap:wrap!important;

    }

    .section-30-flex-1 img{
        width:50px!important;

    }

    .section-30-flex-2{

        padding:15px!important;

    }

    .contact{
        max-width:100%!important;
    }

    #quote{
        padding:30px!important;
        max-width:100%!important;
    }

    /* {
        min-width:200px!important;
        max-width:100%!important;
    } */

}

.hide{
    display:none;
}

html{
    width:100%;
    font-family: 'PT Sans', sans-serif;


}

a { text-decoration: none }

body{
    width:100%;
    margin:0 auto;
    overflow-x: hidden;
}

ul.dashed {
    list-style: none;
    padding-left: 0;
}

ul.dashed > li {
    margin-left: 15px;
    margin-bottom:15px;
}

/* Prevent nested li's from getting messed up */
ul.dashed > li:before {
    content: "—";
    margin-left: -15px;
}


#header-bar{
    width:100%;
    -webkit-box-shadow: 0px 8px 17px -16px rgba(0,0,0,0.58);
    -moz-box-shadow: 0px 8px 17px -16px rgba(0,0,0,0.58);
    box-shadow: 0px 8px 17px -16px rgba(0,0,0,0.58);
    display:flex;
    flex-wrap:wrap;
    flex-direction:row;
    padding:30px 0px 30px 0px;

}

.header:after{
 content:'';
 clear:both;
 display:block;
}

.header-logo  {

    max-width:1000px;
    min-width:521px;
    margin:0 auto;
    flex-grow:2;

}

.header  {


    max-width:600px;
    margin:0 auto;
    display: -webkit-box;
    display:flex;
    -webkit-flex-direction:row;
    flex-direction:row;
    flex-wrap:nowrap;
    -webkit-flex-wrap:nowrap;
    align-items:center;
    -webkit-align-items:center;
    justify-content:space-around;
    -webkit-justify-content:space-around;


}



.header-bar h1{
    float:left;
    padding:10px 15px 10px 15px;
    margin:0;
}

.logo{
    width:125px;

}
.logo-img{

    padding:0px 15px 0px 15px;
    float:left;

}


.logo-text h1{
    line-height:35px;
    margin:0;
}

h1{
    font-family: 'Antic Slab', serif;
    color:#0b99d5;
    line-height:25px;

}

h2{
    font-family: 'Antic Slab', serif;
    color:#58595b;
    font-size:18px;
    line-height:20px;
    margin:0px;

}

h3{
    font-family: 'Antic Slab', serif;
    color:#ffffff;
    line-height:25px;
    font-size:30px;

}

h4{
    font-family: 'Antic Slab', serif;
    color:#0b99d5;
    line-height:30px;
    font-size:25px;

}

.sub-header{
    font-family: 'PT Sans', sans-serif;
    font-size:18px;
    color:#58595b;
    line-height:20px;
}

.flex-2 {
    width:184px;
    border-right: thin double #e0e0e0;
  padding:4px 30px 5px 30px;


}

.flex-3{

    font-family: 'Antic Slab', serif;
    padding:14px 30px 14px 30px;
    font-size:18px;
    color:#0b99d5;
    border-right: thin double #e0e0e0;
    flex-grow:2;
    text-align:center;
}

.flex-4 {
    padding:15px 30px 15px 30px;


}

.flex-4 a{

    text-decoration:none;
}

.btn{
    width:81px;
    white-space: nowrap ;
}

.btn, .btn-2{
    font-family: 'Antic Slab', serif;
    -webkit-border-radius: 3;
    -moz-border-radius: 3;
    border-radius: 3px;
    color: #ffffff;
    background: #0b99d5;
    padding: 10px 25px 10px 25px;
    text-decoration: none;
    border:none;
}

.img-container {
  min-height: 548px;
  background-image: url(head-img-retina.jpg);
  background-repeat: no-repeat;
  background-size: 2837px auto;
  background-position: center top;
  background-color: #0681b5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /*padding: 40px; (If don't want to set min-height or some image content is there) */
}

.isol8-comptxt {
    font-size: 30px;
    letter-spacing: 2px;
}

.isol8-logo {
    font-family: 'Righteous', cursive;
    font-size: 100px;
    color: black;
}

.isol8-logo:visited {
    color: black;
}

.intro-section{
    width:100%;
    background-color: #0b99d5;
    margin:0 auto;
}

.intro-items{
    max-width:1000px;
    margin:0 auto;
    display: -webkit-box;
    display:flex;
    flex-direction:row;
    -webkit-flex-direction:row;
    flex-wrap:wrap;
    -webkit-flex-wrap:wrap;
    justify-content:space-around;
    -webkit-justify-content:space-around;
}
.intro-item{
    min-width:200px;
    padding: 20px 10px 20px 10px;
    font-family: 'Antic Slab', serif;
    color: #ffffff;
    font-size:18px;
    border-right: thin double #59bae3;
}

.intro-item ul{
    margin:0;
    padding:0;
    list-style-type: none;
    font-family: 'PT Sans', sans-serif;
    color: #ffffff;
    font-size:13px;
}

.intro-item img{
    padding-right:10px;
    float:left;
    width:50px;
}

.text-section-1{
    overflow: hidden;
    margin:0 auto;
    max-width:1260px;
}

.text-section-1 img{
    float:right;
    max-width:645px;
    width:100%;

}


.text{
    float:left;
    font-size:15px;
    color:#58595b;
    max-width:370px;
    padding:60px 80px 90px 160px;


}



.text-section-2{
    overflow: hidden;
    margin:0 auto;
    max-width:1260px;
}



.text-2{
    float:right;
    font-size:15px;
    color:#58595b;
    max-width:500px;
    padding:60px 30px 90px 30px;

}



.section-30{
    width:100%;
    background-color: #0b99d5;
    margin:0 auto;
    padding:20px 0 20px 0;

}

.section-30-content{
    max-width:1000px;
    margin:0 auto;
    padding:20px;
    font-family: 'Antic Slab', serif;
    text-align:center;
    font-size:20px;
    color:#ffffff;
    display: -webkit-box;
    display:flex;
    -webkit-flex-direction:row;
    flex-direction:row;
    -webkit-flex-wrap:no-wrap;
    flex-wrap:no-wrap;
    -webkit-flex-wrap:no-wrap;
    -webkit-justify-content:center;
    justify-content:center;

}

.section-30-flex-2{
    -webkit-flex-grow:2;
    flex-grow:2;
    padding:0 15px 0 15px;

}



#quote{
    float:left;
    font-size:15px;
    color:#58595b;
    max-width:400px;
    padding:60px 80px 90px 160px;


}



.contact{
    padding-top:30px;
    overflow: hidden;
    margin:0 auto;
    max-width:1260px;
}

.contact-info{
    float:right;
    max-width:450px;
    min-width:450px;
    background-color: #0b99d5;
    padding:60px;
}

.form-field-left{
    width:45%;
    float:left;
    padding:10px 0px 10px 0px;
}
.form-field-right{
    width:45%;
    float:right;
    padding:10px 0px 10px 0px;
}

button, input, select, textarea {
  font-family : inherit;
  font-size   : 100%;



}

.btn-2 {
    -webkit-appearance: none;
}


.columns{
  -webkit-column-count: 2;
  -webkit-column-gap: 26px;
  -moz-column-count: 2;
  -moz-column-gap: 26px;
  column-count: 2;
  column-gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#quote li{
  position: relative;
  padding: 4px 7px 3px 0px;

}

input[type=checkbox]{
  margin-right: 5px;

}

input[type=text]{
  margin-top:10px;
  width:100%;
  border: 1px solid #ccc;
border-radius: 4px;
  padding:7px;
}

input[type=text]:focus {
    border: 1px solid #0b99d5;
    outline:none;
}

textarea:focus {
    border: 1px solid #0b99d5;
    outline:none;
}

textarea {
  margin-top:10px;
  width:100%;
  border: 1px solid #ccc;
    border-radius: 4px;
    padding:7px;
    overflow: auto;

}

.form-field{
    padding:10px 0px 10px 0px;
    clear:both;
}

.footer{
    width:100%;
    background-color: #0b99d5;
    margin:0 auto;
    padding:10px;
}

.footer-content{
    max-width:1000px;
    margin:0 auto;
    font-size:14px;
    color:#ffffff;
    display: -webkit-box;
    display:flex;
    flex-wrap:wrap;
    -webkit-flex-wrap:wrap;
    justify-content:space-between;
    -webkit-justify-content:space-between;
    align-items:center;
    -webkit-align-items:center;
}

.back-btn{
    vertical-align:middle;
    padding-left:10px;
}

/* FAQ SPECIFIC STUFF */

.img-container-faq {

  background-image: url(head-img-faq-retina.png);
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: center top;
  background-color: #0681b5;
  /*padding: 40px; (If don't want to set min-height or some image content is there) */
}

.faq-title{
    max-width:1000px;
    margin:0 auto;
    font-family: 'Antic Slab', serif;
    font-size:30px;
    color:#ffffff;
    padding:200px 20px 60px 20px;

}

.faq-text{
    max-width:100%;
    padding-bottom:60px;
}

.faq-text-section{
    max-width:1000px;
    margin:0 auto;
    padding:20px 20px 20px 20px;
    display: -webkit-box;
    display:flex;
    flex-wrap:wrap;
    -webkit-flex-wrap:wrap;
    justify-content:space-between;

}

.faq-text-content{
    font-size:15px;
    color:#58595b;
    max-width:460px;
    min-width:460px;

}

.no-flexwrap .intro-items { display: block; }
.no-flexwrap .intro-item { display: inline-block; }

.no-flexwrap .header { display: block; }
.no-flexwrap .header-bar { display: inline-block; }
.no-flexwrap .flex-2 { display: none;}
.no-flexwrap .flex-3 { display: inline-block; }
.no-flexwrap .flex-4 { display: inline-block;}

.no-flexwrap .faq-text-section { display: block; }
.no-flexwrap .faq-text-content { display: inline-block; }

.no-flexwrap .footer-content { display: block; }

.no-flexwrap .section-30-content { display: block; }
.no-flexwrap .section-30-flex-1 { display: inline-block; }
.no-flexwrap .section-30-flex-2 { display: inline-block; }






#videosList{
    float:left;
    max-width:645px;
    width:100%;
    overflow:hidden;

}


.video {
  background-image: url('text-section-2-img_1.png');
  height: 506px;
  width: 645px;
  background-repeat:no-repeat;

}
.theVideo{
    width:100%;
}

/* Hide Play button + controls on iOS */
video::-webkit-media-controls {
    display:none !important;
}
