/*
File Name: testimonials.css
Version: 3.0
*/

/*** testimonials sec1 ***/

#testimonials_sec1 {
    height: auto;
    width: 100%;
}

#testimonials_sec1 .sec1_div2,
#testimonials_sec1 .sec1_div3 {
    background-color: #ffffff;
    height: auto;
    width: 100%;
}

#testimonials_sec1 .sec1_div2 > .wrapper,
#testimonials_sec1 .sec1_div3 > .wrapper {
    height: auto;
    margin: 0 auto;
    max-width: 991px;
    padding: 30px;
    width: 100%;
}

#testimonials_sec1 .sec1_div2 p,
#testimonials_sec1 .sec1_div3 p {
    font-size: 1.4em;
    margin-bottom: 1.0em;
    margin-top: 2.0em;
    position: relative;
    text-align: center;
}

#testimonials_sec1 .sec1_div2 p span,
#testimonials_sec1 .sec1_div3 p span {
    background-color: #ffffff;
    display: inline-block;
    padding: 0 0.5em;
    position: relative;
    z-index: 2;
}

#testimonials_sec1 .sec1_div2 p::before,
#testimonials_sec1 .sec1_div3 p::before {
    background-color: rgba(255,102,00,0.5);
    content: '';
    display: block;
    height: 2px;
    left: 0;
    position: absolute;
    top: 50%;
    width: 100%;
    z-index: 1;
}

#testimonials_sec1 .sec1_div2 ul,
#testimonials_sec1 .sec1_div3 ul {
    display: flex;
    flex-wrap: wrap;
    margin: 15px 0;
}

#testimonials_sec1 .sec1_div2 li,
#testimonials_sec1 .sec1_div3 li {
    padding: 10px;
    width: 20%;
}

#testimonials_sec1 .sec1_div2 li img,
#testimonials_sec1 .sec1_div3 li img {
    height: auto;
    width: 100%;
}

@media (max-width: 639px) {

    #testimonials_sec1 {
        padding: 45px 15px 30px;
    }

    #testimonials_sec1 .sec1_div2 {
        margin-bottom: 15px;
    }

    #testimonials_sec1 .sec1_div2 p,
    #testimonials_sec1 .sec1_div3 p {
        font-size: 1.2em;
    }

    #testimonials_sec1 .sec1_div2 li,
    #testimonials_sec1 .sec1_div3 li {
        padding: 5px;
        width: 33.33%;
    }
    
}

/*** testimonials sec2 ***/

#testimonials_sec2 {
    height: auto;
    margin: 0 auto;
    max-width: 991px;
    padding: 30px 30px 0;
    width: 100%;
}

#testimonials_sec2 h2 {
    background-color: #807060;
    border-bottom: 1px dashed #e8e8e0;
    border-top: 1px dashed #e8e8e0;
    box-shadow: 0px 0px 0px 5px #807060;
    color: #e8e8e0;
    font-size: 2.5em;
    line-height: 1.5;
    margin: 5px 5px 1.2em;
    padding: 10px 0;
    text-align: center;
    width: calc(100% - 10px);
}

@media (max-width: 639px) {

    #testimonials_sec2 {
        padding: 30px 15px 0;
    }

    #testimonials_sec2 h2 {
        font-size: 2.0em;
    }

}

/*** testimonials entries ***/

#testimonials_entries {
    height: auto;
    margin: 0 auto;
    max-width: 991px;
    padding: 30px;
    width: 100%;
}

#testimonials_entries .testimonials_entry {
    background-color: #f0f0e8;
    background-position: 15px 15px;
    background-size: 200px auto;
    background-repeat: no-repeat;
    border-top: 3px solid #d0d0b0;
    min-height: 230px;
    margin-bottom: 15px;
    padding: 15px 15px 15px 230px;
}

#testimonials_entries .testimonials_entry:last-of-type {
    margin-bottom: 0;
}

#testimonials_entries .testimonials_entry > h3 {
    font-size: 2.0em;
    margin-bottom: 0.5em;
}

#testimonials_entries .testimonials_entry > h3 span {
    padding-bottom: 3px;
}

#testimonials_entries .testimonials_entry > p:first-of-type {
    font-size: 1.6em;
    line-height: 1.5;
    margin-bottom: 1.0em;
}

#testimonials_entries .testimonials_entry .entry_body {
    font-size: 1.4em;
    line-height: 1.5;
}

@media (max-width: 639px) {

    #testimonials_entries {
        margin: 0 auto;
        max-width: 991px;
        padding: 0 15px 45px;
    }

    #testimonials_entries .testimonials_entry {
        background-position: center 15px;
        background-size: 150px 150px;
        min-height: auto;
        margin: 0 auto 15px;
        max-width: 400px;
        padding: 180px 15px 15px 15px;
    }

    #testimonials_entries .testimonials_entry > h3 {
        font-size: 1.8em;
        text-align: center;
    }

    #testimonials_entries .testimonials_entry > p:first-of-type {
        font-size: 1.4em;
        text-align: center;
    }

    #testimonials_entries .testimonials_entry .entry_body {
        font-size: 1.2em;
    }

}