* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Lato", sans-serif;
    color: #313131;
    text-decoration: none;
}
.pagewidth {
    padding: 0 5%;
    max-width: 1200px;
    margin: 0 auto;
}
body {
    background-color: #f5f5f5;
    padding-top: 0px;
}
section.container-all.pagewidth {
    padding-top: 30px;
}

/* Page Heading */
.sdc-title {
    text-align: center;
    display: block;
    margin: 0  auto;
    max-width: 1100px;
    white-space: nowrap;
    padding-top: 40px;
}
.title-line {
    border-bottom: solid 1px #dadada;
    width: 24%;
    bottom: 6px;
    display: inline-block;
    margin: 0 15px;
    position: relative;
    bottom: 4px;
}
/* Line at top for more wordy titles */
.title-line-small,
.title-line-smaller {
    border-bottom: solid 1px #dadada;
    width: 100px;
    position: relative;
    bottom: 6px;
    display: inline-block;
    margin: 0 15px;
}

.sdc-name {
    display: inline;
    font-family: Times, serif;
    font-size: 1.6em;
    font-style: italic;
    color: #a8a8a8;
}
.sdc-title-name {
    letter-spacing: 3px;
    display: inline;
    letter-spacing: .2em;
    font-size: 1.5em;
    color: #313131;
    text-transform: uppercase;
    font-weight: 600;
    
}

/* Video Section */

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    margin-top: 20px;
    max-width: 1100px;
    -webkit-box-shadow: 5px 22px 15px -10px #9c9c9c; 
    box-shadow: 5px 22px 15px -10px #9c9c9c;

}

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


/* .under-video-text {
    width: 600px;
    text-align: center;
    display: block;
    margin: 50px auto;
    line-height: 25px;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 30px;
} */

/* Featured Product Section */
.fp-container {
    width: 85%;
    margin: 75px auto;
}

.fp-title,
.fp-title2 {
 color: #a8a8a8;
 font-size: 1.6em;
 position: relative;
 margin-bottom: 15px;
 margin-top: 15px;
}
.fp-title:after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 240px;
    right: 0px;
    height: 0.5em;
    border-top: 1px solid #a8a8a8;
    z-index: -1;
}
.fp-title2:after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 285px;
    right: 0px;
    height: 0.5em;
    border-top: 1px solid #a8a8a8;
    z-index: -1;
}
.fp-col2 h3,
.fp-col2-2 h3 {
font-size: 26px;
}
.fp-col1 img,
.fp-col1-2 img {
    width: 300px;
    max-width: 300px;
}
.fp-col1-beef img {
    width: 190px;
}
.fp-col2-beef {
    position: relative;
    left: 30px;
}
.fp-flex-container,
.fp-flex-container2 {
display: flex;
justify-content: left;
position: relative;
right: 77px;
}
.fp-flex-container-beef {
    display: flex;
    justify-content: left;
    }
.fp-btn,
.fp-btn-2 {
    background-color: #e48200;
    padding: 6px 50px;
    margin: 20px 0;
    cursor: pointer;
    border: none;
    border-radius: 5px;
}
.fp-btn a,
.fp-btn-2 a {
    color: #fff;
    font-size: 26px;
    text-decoration: none;   
}
.fp-col2,
.fp-col2-2 {
    position: relative;
    right: 50px;
}
.bottom-row li {
    list-style-type: none;
    font-size: 20px;
    margin: 10px 0;
}
.bottom-row li a {
    text-decoration: underline;
    color: #80b435;
    font-weight: 400;
}
.bottom-row {
    margin-top: 70px;
    margin-bottom: 30px;
}
.fp-section-2 {
    margin-top: 20px;
}





/* PRODUCT SECTION */

/* start hometestwonAug11-6 */
.hometestwonAug11-6prodspan .pagewidth {
    background-color: #fff;
    display: block;
    padding: 36px;
    max-width: 1200px;
}
.hometestwonAug11-6prodspan .titleblock {
    display: block;
    position: relative;
    width: 100%}
.hometestwonAug11-6prodspan .titleblock::before {
    content: "";
    width: 88%;
    height: 1px;
    background-color: #dadada;
    display: block;
    position: absolute;
    right: 0;
    top: 10px;
}
.hometestwonAug11-6prodspan .threeup {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin: 32px 0 30px;
}
.hometestwonAug11-6prodspan .threeup .item {
    background-color: #f5f5f5;
    width: 32.5%;
    position: relative;
    padding: 0 0 7px;
    border-radius: 7px;
}
.hometestwonAug11-6prodspan .threeup .item .imgwrap {
    width: 100%;
    padding-bottom: 161px;
    position: relative;
    overflow: hidden;
    margin-bottom: 21px;
}
.hometestwonAug11-6prodspan .threeup .item img {
    width: 100%;
    margin: 0 0 15px;
    position: absolute;
    top: -44px;
    transition: top .4s cubic-bezier(.35, 1.14, 1, 1);
    opacity: 1;
}
.hometestwonAug11-6prodspan .threeup .item:hover img {
    top: -100px;
    transition: top .4s cubic-bezier(0, 1.75, .5, .89);
}
.hometestwonAug11-6prodspan .threeup .item h6 {
    text-align: center;
    color: #222;
    font-size: 18px;
    letter-spacing: 1px;
    max-width: 200px;
    margin: 0 auto 10px;
}
.hometestwonAug11-6prodspan .threeup .item p {
    text-align: center;
    color: #707070;
    max-width: 193px;
    margin: 0 auto 20px;
    font-size: 16px;
    line-height: 1.1em;
}
.hometestwonAug11-6prodspan .threeup .item span {
    position: absolute;
    top: 81px;
    right: 0;
    background-color: #80b435;
    color: #fff;
    font-weight: 700;
    padding: 7px 12px;
    opacity: .5;
    transition: opacity .3s cubic-bezier(0, 0, 0, 1.03);
    font-weight: 700;
    font-size: 15px;
}
.hometestwonAug11-6prodspan .threeup .item:hover span {
    top: 142px;
    opacity: 1;
    transition: opacity .4s cubic-bezier(.15, .85, 1, 1);
    transition: top .7s cubic-bezier(.5, -.99, .55, 1.04);
}
.hometestwonAug11-6prodspan .threeup .item span:hover {
    background-color: #62a503;
}
.hometestwonAug11-6prodspan .threeup .item:hover img {
    opacity: 1;
}
.hometestwonAug11-6prodspan .row {
    margin: 0;
    padding: 13px 0 0;
    background-size: 45px;
    background-repeat: no-repeat;
    background-position: left top;
}
.hometestwonAug11-6prodspan .row.immunity {
    background-image: url(https://paleovalley.com/assets/images/icons/bug.png);
}
.hometestwonAug11-6prodspan .row.bestsellers {
    background-image: url(https://paleovalley.com/assets/images/icons/star.png);
}
.hometestwonAug11-6prodspan h5 {
    position: absolute;
    right: 0;
    padding: 0 0 0 19px;
    top: -6px;
    font-family: Times, serif;
    font-size: 1.7em;
    font-style: italic;
    font-weight: 400;
    color: #a8a8a8;
    background-color: #fff;
}
.hometestwonAug11-6prodspan h3 {
    letter-spacing: .2em;
    font-size: 1.3em;
    color: #313131!important;
    background-color: #fff;
    position: relative;
    display: inline-block;
    padding: 0 10px 0 0;
    margin: 0 0 0 62px;
}
@media only screen and (max-width:1200px) {
    .hometestwonAug11-6prodspan .threeup .item .imgwrap {
    padding-bottom: 41%
}
.hometestwonAug11-6prodspan .threeup .item img {
    top: -45%
}
.hometestwonAug11-6prodspan .threeup .item:hover span {
    top: 132px;
}
.title-line-small,
.title-line-smaller {
    width: 90px;
}

}
@media only screen and (max-width: 1100px) {
    .hometestwonAug11-6prodspan .threeup .item:hover span {
        top: 122px;
    }
    .title-line {
        width: 15%
    }
    .title-line-small,
    .title-line-smaller {
        width: 30px;
    }
    .title-line-smaller  {
        display: block;
        text-align: center;
        position: static;
        width: 350px;
        margin: 0 auto; 
    }

}

@media only screen and (max-width:980px) {
    .hometestwonAug11-6prodspan .threeup .item {
    width: 45%;
    margin-bottom: 3%}
.hometestwonAug11-6prodspan .threeup {
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.title-line {
    width: 5%;
}
.hometestwonAug11-6prodspan .threeup .item:hover span {
    top: 115px;
}
.title-line-small {
    display: block;
    text-align: center;
    position: static;
    width: 350px;
    margin: 0 auto; 
}
.fp-container {
    width: 100%;
}
}
@media only screen and (max-width:915px) {
    .title-line {
        width: 5%
    }
}
@media only screen and (max-width: 870px) {

    .title-line {
        width: 2%;
        margin: 0;
    }
}

@media only screen and (max-width:790px) {
    .hometestwonAug11-6prodspan .threeup .item span {
    opacity: 1;
    font-size: 3vw;
}
.hometestwonAug11-6prodspan .threeup .item {
    width: 500px;
    margin-bottom: 7%}
.hometestwonAug11-6prodspan .threeup .item .imgwrap {
    padding-bottom: 31%}
.hometestwonAug11-6prodspan .threeup .item h6 {
    width: 32%;
    margin: 0 0 0 17px;
    text-align: left;
    float: left;
    font-size: 2.6vw;
}
.hometestwonAug11-6prodspan .threeup .item p {
    width: 59%;
    display: block;
    float: left;
    text-align: left;
    max-width: initial;
    font-size: 2.36vw;
    line-height: 1.3em;
}
.title-line,
.sdc-title,
.sdc-name {
    display: block;
    text-align: center;
    position: static;
    white-space: normal;
}
.title-line{ 
width: 350px;
margin: 0 auto;
}

}
@media only screen and (max-width:768px) {
    .headerfullwrap .tagline {
        display: none;
    }
    .headerfullwrap {
        border-bottom: 2px solid #59b73c;
    }
}
@media only screen and (max-width:690px) {
    .hometestwonAug11-6prodspan .pagewidth {
    padding: 16px;
}
.hometestwonAug11-6prodspan .threeup .item {
    width: 100%}
.hometestwonAug11-6prodspan .threeup .item h6 {
    font-size: 19px;
    margin: 0 auto;
    float: none;
    width: 100%;
    text-align: center;
}
.hometestwonAug11-6prodspan .threeup .item p {
    font-size: 18px;
    width: auto;
    text-align: center;
    margin: 10px 20px 18px;
    float: none;
}
.hometestwonAug11-6prodspan h3 {
    font-size: 4.5vw;
    letter-spacing: .1em;
}
.hometestwonAug11-6prodspan .titleblock {
    padding: 1% 0 41px;
}
.hometestwonAug11-6prodspan .titleblock::before {
    display: none;
}
.hometestwonAug11-6prodspan h5 {
    margin-top: 6%;
    left: 42px;
    top: 13%;
    font-size: 25px;
}
.hometestwonAug11-6prodspan .row {
    background-position: left 0 top 2%;
}
.hometestwonAug11-6prodspan .threeup {
    margin: 2px 0 30px;
}
.hometestwonAug11-6prodspan .threeup .item span {
    font-size: 4vw;
    top: 35%
}

/* end hometestwonAug11-6 */ 
.video-container {
    width: 100%;
}
.sdc-title-name {
    font-size: 1.7em;
}
.sdc-name {
    font-size: 1.5em;
}
.under-video-text {
    width:100%;
    margin-top: 0;
}
.video-container iframe {
    box-shadow: none;
}
.hometestwonAug11-6prodspan .threeup .item span  {top:30px;}
.hometestwonAug11-6prodspan .threeup .item:hover span {
    top: 125px;
}
.fp-btn,
.fp-btn-2 {
    padding: 6px 0px;    
    width: 100%;
}

}
@media only screen and (max-width:600px) {
    .fp-container {
        padding: 16px;
    }
    .fp-flex-container,
    .fp-flex-container-beef,
    .fp-flex-container2 {
        flex-wrap: wrap;
        display: block;
        position: static;
        text-align: center;
        margin: 0 auto;
    }
    .fp-col2,
    .fp-col2-beef,
    .fp-col2-2 {
        position: static;
        display: block;
        text-align: center;
        margin: 10px auto;
    }
    .fp-col1,
    .fp-col1-beef,
    .fp-col1-2 {
        width: 100%;
    }
    .fp-col1 img,
    .fp-col1-beef img,
    .fp-col1-2 img {
        margin: 0 auto;
        display: block;
    }
    .fp-title, .fp-title2 {
        text-align: center;
    }
    .fp-title:after {
        bottom: -12px;
        left: 59px;
        right: 60px;
    }
    .fp-title2:after {
        bottom: -11px;
        left: 33px;
        right: 33px;
    }
    .fp-container {
        margin: 23px auto;
    }
    .fp-title, .fp-title2 {
        margin-bottom: 30px;
}
.bottom-row {
    margin-top: 42px;
}
.bottom-row ul {
    padding-left: 9%;
}
}
@media only screen and (max-width:400px) {
    section.container-all.pagewidth {
        padding-top: 0px;
        padding-left: 5px;
        padding-right: 5px;
    }
    .video-container iframe {
        box-shadow: none;
        height: 200px;
    }
    .under-video-text {
        font-size: 17px;
        margin-top: 22px;
        margin-bottom: 22px;
    }
    .sdc-name {
        font-size: 25px;
    }
    .hometestwonAug11-6prodspan .threeup .item span  {top:30px;}
    .hometestwonAug11-6prodspan .threeup .item:hover span {
        top: 105px;
    }
    .pagewidth {
        padding: 0;
        max-width: 1200px;
        margin: 0 auto;
    }
    .video-container {
        padding-bottom: 53.25%;
    }

    .bottom-row {
        margin-top: 32px;
    }
    .fp-container {
        margin: 43px auto;
    }
    .fp-btn,
    .fp-btn-2 {
        width: 90%;
    }
}
