/*##E9DFC4{ background-color: #FF3B21;}*/

#div-first{ /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+1,e9dfc4+100 */

    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 1%, #e9dfc4 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #ffffff 1%,#e9dfc4 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #ffffff 1%,#e9dfc4 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e9dfc4',GradientType=0 ); /* IE6-9 */
    background-image: url('../images/family3.png') , linear-gradient(to bottom, #ffffff 1%,#e9dfc4 100%);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 20% 30%;



}
#div-onedotfive{background: #D5C1A9; /* Old browsers */
    background: -moz-linear-gradient(top, #e9dfc4 1%, #D5C1A9 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #e9dfc4 1%,#D5C1A9 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #e9dfc4 1%,#D5C1A9 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e9dfc4', endColorstr='#D5C1A9',GradientType=0 ); /* IE6-9 */
    height: 2px; }
.title-img{ margin-top: 100px;}
.hr1{
    width: 50%;
    height: 2px;
    color: #BA1827;
    background: #BA1827;
    font-size: 0;
    border: 0;}
.subtitle{ font-size: 1.6em; font-family: 'Lato', sans-serif; font-weight: 300!important; margin-top: 20px}
.sub-big{ font-size: 2em;font-weight: 900!important; line-height: 1em}
.sub-button{margin-top: 60px;}
.sub-buy{background-color: #BA1827;color: #F9FFF4!important;
    border-radius: 5px; padding: 20px 40px; margin-top: 30px; font-size: 2em;}
.fix-button{padding-bottom: 40px; padding-top: 20px; position: relative;top: 10px;}
.buy-links img{ padding: 10px; max-height: 35px;}
.buy-links { margin-top: 50px}
.book-main{
    width: auto;
    margin-top: 100px;
}
.book-leaky{width: 100%;}
.div-second{  background-color: #D5C1A9; padding-bottom: 30px;}
.div-second h3{ font-size: 2em; color: #1F1F1F; font-family: 'Asap', sans-serif; line-height: 0.2em }
.div-second ul {
    list-style-image: url('../images/check-icon-red.png');
}
.div-second li{  font-size: 1.2em; font-family: 'Lato', sans-serif; font-weight: 300!important; line-height: 1.6em;}
header{ position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;}

#div-third{  background-color: #F9F0E5; padding-bottom: 30px; }
#div-third h3, #div-fourth h3, #div-fifth h3,  #div-sixth h3{margin-bottom:0; font-size: 2.3em; color: #1F1F1F; font-family: 'Asap', sans-serif; line-height: 1.2em }

.hr2{
    width: 50%;
    height: 2px;
    color: #BA1827;
    background: #BA1827;
    font-size: 0;
    border: 0;
    margin-bottom: 30px}
#div-fourth{  background-color:#F5E7D9; padding-bottom: 30px;}
.yttest{width: 95%!important;}
.yttest2{width: 60%!important;}
.texto{ font-size: 1.3em; font-family: 'Lato', sans-serif; font-weight: 300!important; line-height: 1.5em;}
#div-fifth{  background-color: #FEF5E9; padding-bottom: 30px;}
.testimonial{ font-size: 1.1em; font-family: 'Lato', sans-serif; font-weight: 500!important; line-height: 1.2em; color: #5B5B5B}
.quoted-p{color: #A12A23}
.dr-image{border: 1px #989898 solid; width: 32%;}
#nav-menu{float: right;}
.nav-buy{ background-color: #BA1827;color: #F9FFF4!important;
    border-radius: 5px; padding: 0 10px;}
.nav{margin-top: 10px;}
.nav ul {
    list-style: none;
    background-color: #FEFEFE;
    text-align: center;
    padding: 0;
    margin: 0;
}
.nav li {
    font-family: 'Asap', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1em;
    color: #444;
    line-height: 1.1em;
    padding-right: 20px;
    border-bottom: 1px solid #888;
}

.nav a {
    text-decoration: none;
    color: #444;
    display: block;
    transition: .3s background-color;
}

.nav a:hover {
    /*background-color: #005f5f;*/
    color:#BA1827;
}

.nav a.active {
    background-color: #fff;
    color: #444;
    cursor: default;
}

@media screen and (min-width: 600px) {
    .nav li {
        /*width: 120px;*/
        border-bottom: none;
        height: 50px;
        line-height: 2.5em;
        font-size: 1em;
    }

    /* Option 1 - Display Inline */
    .nav li {
        display: inline-block;
        margin-right: -4px;
    }
}
.container{width: 1300px; overflow: hidden;}
.fl{float: left;}
.col-1{width: 10%;}
.col-2{width: 20%;}
.col-3{width: 30%;}
.col-4{width: 40%;}
.col-5{width: 50%;}
.col-6{width: 60%;}
.col-7{width: 70%;}
.col-8{width: 80%;}
.col-9{width: 90%;}
.col-10{width: 100%;}
.pl{padding-left: 20px;}
.tac{text-align: center;}
.tal{text-align: left;}
.tar{text-align: right;}
.center{ display: block; margin-left: auto;margin-right: auto;}
.bg-white{background-color: #FEFEFE;overflow: hidden;}
.noopacity{opacity: 0.9!important;}
.mt-30{margin-top: 30px}
.no-link a{text-decoration: none;}
.card { border: 1px #C1C1C1 solid;
    border-radius: 2px;
    background-color: #fff;
    margin-bottom: 1.6rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);}
.footer-video-title { font-size: 1.3em; font-family: 'Lato', sans-serif; font-weight: 300!important; padding: 5px 0;}
.img-circle {
    margin-right: 20px;
    width: 380px;
    height: 380px;
    -webkit-border-radius: 380px;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 380px;
    -moz-background-clip: padding;
    border-radius: 380px;
    background-clip: padding-box;
    margin: 7px 15px 0 5px;
    float: left;
    background-image: url('../images/dr-peter-osborne-gluten-free-society.png');
    background-size: cover;
    background-position: center center;
    box-shadow: 0 2px 6px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);
}
.show-small{display: none;}
.show-regular{display: block;}
.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
.clearfix {
    display: inline-block;
}
html[xmlns] .clearfix {
    display: block;
}
* html .clearfix {
    height: 1%;
}


form { height:100px;

}
form label {
    position: relative;
    display: block;
}
form label input {
    font: 18px Helvetica, Arial, sans-serif;
    box-sizing: border-box;
    display: block;
    border: none;
    padding: 20px;
    width: 300px;
    margin-bottom: 20px;
    font-size: 18px;
    border-radius: 4px;
    outline: none;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
form label input::-webkit-input-placeholder {
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    color: #999;
    font: 18px Helvetica, Arial, sans-serif;
}
form label input::-moz-placeholder {
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    color: #999;
    font: 18px Helvetica, Arial, sans-serif;
}
form label input:-ms-input-placeholder {
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    color: #999;
    font: 18px Helvetica, Arial, sans-serif;
}
form label input::placeholder {
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    color: #999;
    font: 18px Helvetica, Arial, sans-serif;
}
form label input:focus, form label input.populated {
    padding-top: 28px;
    padding-bottom: 12px;
}
form label input:focus::-webkit-input-placeholder, form label input.populated::-webkit-input-placeholder {
    color: transparent;
}
form label input:focus::-moz-placeholder, form label input.populated::-moz-placeholder {
    color: transparent;
}
form label input:focus:-ms-input-placeholder, form label input.populated:-ms-input-placeholder {
    color: transparent;
}
form label input:focus::placeholder, form label input.populated::placeholder {
    color: transparent;
}
form label input:focus + span, form label input.populated + span {
    opacity: 1;
    top: 10px;
}
form label span {
    color: #2E2E2E;
    font: 13px Helvetica, Arial, sans-serif;
    position: absolute;
    top: 0px;
    left: 20px;
    opacity: 0;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
form input[type="submit"] {
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    font: 18px Helvetica, Arial, sans-serif;
    border: none;
    background: #BA1827;
    color: #fff;
    padding: 20px 40px;
    border-radius: 4px
}
form input[type="submit"]:hover {
    background: #D82B40;
}



.hide-notmobile-nav{display: none}
.youtube-container { display: block;width: 100%; max-width: 500px; }
.youtube-player,.youtube-player2 { display: block; width: 100%; /* assuming that the video has a 16:9 ratio */ padding-bottom: 56.25%; overflow: hidden; position: relative; width: 100%; height: 100%; cursor: hand; cursor: pointer; display: block; }
img.youtube-thumb { bottom: 0; display: block; left: 0; margin: auto; max-width: 100%; width: 100%; position: absolute; right: 0; top: 0; height: auto }
div.play-button { height: 72px; width: 72px; left: 50%; top: 50%; margin-left: -36px; margin-top: -36px; position: absolute; background: url("../images/play.png") no-repeat; }
#youtube-iframe { width: 100%; height: 100%; position: absolute; top: 0; left: 0;}
/*center vertically parent and child*/

@media screen and (min-width:  320px) and (max-width:  767px) {
    .container{width: 95%!important;}
    .col-1,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-10{width: 100%!important;}
    .book-leaky, .book-main{width:35%;}
    .youtube-container {max-width: 767px;}
    .show-regular{display: none;}
    .r-center,.r-ul-center{display: block; margin-left: auto;margin-right: auto;}
    .show-small{display: block}
    .yttest2{width: 48%!important; float: left; margin-left: 1%}
    .sub-button{margin-top: 20px}
    form label input { width: 90%;}
    .img-circle {
        margin-right: 20px;
        width: 230px;
        height: 230px;
        -webkit-border-radius: 200px;
        -webkit-background-clip: padding-box;
        -moz-border-radius: 200px;
        -moz-background-clip: padding;
        border-radius: 200px;
        background-clip: padding-box;
        margin: 7px auto;
        float: none;
        background-image: url('../images/dr-peter-osborne-gluten-free-society.png');
        background-size: cover;
        background-position: center center;
        box-shadow: 0 2px 6px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);

    }
    .title-img{max-width: 100%; height: auto; }
}
@media screen and (min-width: 768px) and (max-width:  1300px) {

    .container{width: 95%!important;}
    .col-1{width: 10%;}
    .col-2{width: 20%;}
    .col-3{width: 30%;}
    .col-4{width: 40%;}
    .col-5{width: 50%;}
    .col-6{width: 60%;}
    .col-7{width: 70%;}
    .col-8{width: 80%;}
    .col-9{width: 90%;}
    .col-10{width: 100%!important;}
}
@media screen and (min-width: 768px) and (max-width:  892px) {

    .col-2-nav{width: 0%;}
    .col-8-nav{width: 98%;}
}
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (-webkit-min-device-pixel-ratio: 2) {
    .container-ipad{width: 100%!important;}
.signup-ipad{width: 60%}
.book-main{width: 100%}
.book-leaky{width: 40%;}
.title-img{width: 80%}
    .sub-button {
        margin-bottom: 39px;}
    .col-9-ipad{width: 98%!important}
    .footer-video-title{    height: 3em;}
}
@media screen and (min-width: 300px) and (max-width:  720px) {
    .hide-mobile-nav{display: none}
    .hide-notmobile-nav{display: block}
    .mobile-nav {
        display: none;
        position: fixed;
        width: 100%;
        top: 0;
    }
    .mobile-nav div {
        display: none;
    }
    .mob-nav-text{ position: absolute;
        top: 15px;
        font-size: 1.2em;
        right: 50px;
        width: 55px;
        height: 30px;

        text-shadow: 0px 3px 5px rgba(255,255,255,1),
        4px -5px 5px rgba(255,255,255,1),
        5px 5px 5px rgba(255,255,255,1);}
    .mobile-nav button {
        position: absolute;
        top: 15px;
        right: 15px;
        border: 0;
        text-indent: 200%;
        overflow: hidden;
        background: rgba(255,255,255,0.8) url("../images/menu.png") center no-repeat;
        border: 1px solid #ddd;
        border-radius: 3px;
        background-size: 80%;
        width: 30px;
        height: 30px;
        outline: none;
        -webkit-transition: all 400ms ease;
        transition: all 400ms ease;
    }
    .mobile-nav button.expanded {
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
        background-color: transparent;
        border: 0;
    }
    .mobile-nav a {
        display: block;
    }
    a {
        background: #eee;
        font-family: 'Asap';
        font-weight: 800;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid #ddd;
        text-decoration: none;
        color: #222;
        font-weight: bold;
    }
    a:hover,
    a:active,
    a:focus {
        background: #BA1827;
        color: #fff;
    }
    .mobile-nav {
        display: block;
    }
    .title-img{margin-top: 40px; }
}
