/*
 Theme Name:   Whole Pet Wellness
 Description:  Theme for Whole Pet Wellness
 Template:     Divi
 Version:      1.0.0
*/

p{
	font-weight: 300;
}

.small p {
    font-size: 16px;
    line-height: 1.4em;
}

h2 {
    line-height: 1.5em !important;
    max-width: 830px;
    margin: 0 auto;
    font-weight: 300 !important;
}
h3 {
    font-weight: 400!important;
    font-size: 24px!important;
}

h4 {
    font-size: bold !important;
    margin-top: -13px;
}

h5 {
    color: #ff4834;
    text-transform: uppercase;
    font-size: 14px !important;
    margin-bottom: -16px;
    font-weight: 300 !important;
}

#top-menu-nav a {
    font-weight: 400;
}

.et-fixed-header #top-menu .appointments a {
    color: #ffffff !important;
    font-weight: bold;
}

.et-fixed-header .appointments {
    margin-left: 30px;
}

.et-fixed-header .appointments:before {
    content: '';
    width: 146%;
    height: 50px;
    position: absolute;
    background-color: #ff4834;
    top: -40%;
    left: -23%;
    border-bottom: 2px solid #e23e2c;
    border-left: 1px solid #e23e2c;
}

#logo{
    max-height: 79% !important;
}

.et_pb_column_4_4 p{
	max-width: 820px;
	margin: 0 auto;
}

#header-mobile{
    display:none;
}

@media screen and (max-width: 767px){
    #header-mobile{
        display: block;
    }
    #header-desktop{
        display: none;
    }

    #home-header h1{
        font-size: 33px;
        line-height: 39px !important;
    }
    #home-header h1:before {
        content: '';
        width: 90px;
        height: 90px;
        background-image: url(../../uploads/2015/11/watermark-logo.png);
        position: relative;
        background-size: contain;
        display: block;
        margin: 0 auto;
    }
    .et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content{
        width: 100%;
    }
}

@media screen and (max-height: 540px ){
    #header-mobile .header-content{
        position: relative;
        top: 45px;
    }
    .et_pb_fullwidth_header .et_pb_fullwidth_header_scroll{
        padding-bottom: 5px;
    }
}

#home-header h1{
	line-height: 50px;
}

#home-header .et_pb_fullwidth_header_0.et_pb_fullwidth_header .et_pb_fullwidth_header_subhead {
    margin-top: 10px;
    font-size: 23px;
    font-weight: 300;
    line-height: 30px;
}

#home-header .et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content-container.center{
	padding-bottom: 60px;
    position: absolute;
    bottom: 0;
    left: 0;
}

#testimonial-row .et_pb_column_empty, #last-test-row .et_pb_column_empty{
	display:none;
}

div#testimonial-row {
    margin-top: -120px;
}

@media screen and (min-width: 981px){
	#testimonial-row .et_pb_column:first-child{
	    margin-left: 15%;
	}
	#last-test-row .et_pb_column:first-child{
		margin-left: 15%;
	}
}

.et_pb_testimonial_description_inner{
	font-weight: normal;
}

#bottom-testimonial{
    top: 110px;
    position: relative;
    z-index: 20;
    margin-top: -90px;
}

form#mc-embedded-subscribe-form {
    max-width: 615px;
    margin: 0 auto;
}

.mc-field-group {
    float: left;
    margin-right: 10px;
}

.mc-field-group label {
    display: block;
    font-size: 12px;
    margin-bottom: -7px;
}

.mc-field-group input {
    padding: 12px 8px;
}

div.mce_inline_error {
    font-size: 12px;
    padding: 3px 10px;
    background-color: #FF4834 !important;
}

input#mc-embedded-subscribe {
    margin-top: 24px;
    height: 40px;
    background-color: #1ecd9d;
    border-color: #149874 !important;
    color: #ffffff;
    font-weight: 500;
    padding: 0px 15px;
    border-width: 0 1px 2px 0;
    cursor: pointer;
    font-size: 16px;
}

div#mce-success-response {
    clear: both;
    padding-top: 10px;
    font-size: 16px;
}

#footer-widgets .textwidget{
    font-weight: 300 !important;
}

#footer-widgets .textwidget a{
    color: #fe5a19 !important;
}


/********FLY IN EMAIL*****************/
div#email-flyin {
    position: fixed;
    bottom: -700px;
    background-color: #005997;
    padding: 0;
    right: 20%;
    z-index: 999;
    text-align: center;
    max-width: 370px;
    color: #ffffff;
    font-size: 15px;
    line-height: 19px;
    transition: bottom 1.5s;
}

div#email-flyin.onscreen{
    bottom:0;
}

div#email-flyin h3 {
    font-weight: 500;
    line-height: 40px;
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 30px;
}

div#email-flyin p {
    padding-bottom: 40px;
}

div#email-flyin .wrap{
    background-color: #217ba3;
}

.wrap {
    padding: 30px 52px 0px;
    position: relative;
    margin-bottom: 30px;
}

.wrap img {
    padding: 10px 0 20px;
}

.wrap:after {
    content: '';
    width: 0;
    height: 0;
    position: absolute;
    border-width: 20px 20px 0 20px;
    border-color: #217BA3 transparent transparent transparent;
    bottom: -20px;
    left: 45%;
    border-style: solid;
}

a#flyin-close {
    display: block;
    position: absolute;
    top: -26px;
    left: -27px;
    z-index: 222;
    cursor: pointer;
}

@media screen and (max-height: 722px){
    div#email-flyin {
        right:0;
        margin-bottom: -20px;
    }
    a#flyin-close{
        left: 40%;
    }
    .wrap img{
        display: none;
    }
    .wrap{
        padding: 30px 12px 0;
    }
}


/********NEW FLY IN EMAIL*****************/
div#email-flyin1 {
    position: fixed;
    bottom: -700px;
    background-color: #005997;
    padding: 0;
    right: 20%;
    z-index: 999;
    text-align: center;
    max-width: 340px;
    color: #ffffff;
    font-size: 15px;
    line-height: 19px;
    transition: bottom 1.5s;
    z-index: 10000000;
}

div#email-flyin1.onscreen{
    bottom:0;
}

div#email-flyin1 h3 {
    font-weight: 600 !important;
    line-height: 1.2em;
    font-size: 1.9em !important;
    color: #ffffff;
}

#email-flyin1 h4 {
    color: #ffffff;
    font-weight: 400;
    padding-top: 13px;
    font-size: 1.5em;
}

div#email-flyin1 p {
    padding-bottom: 20px;
}

div#email-flyin1 .wrap{
    background-color: #217ba3;
    padding: 30px 50px 0px;
    position: relative;
    margin-bottom: 30px;
}

div#email-flyin1 .wrap:after {
    content: '';
    width: 0;
    height: 0;
    position: absolute;
    border-width: 20px 20px 0 20px;
    border-color: #217BA3 transparent transparent transparent;
    bottom: -20px;
    left: 45%;
    border-style: solid;
}


/*Form*/
#email-flyin1 input[type=text],  #email-flyin1 input[type=email] {
    height: 40px;
    width: 85%;
    margin-bottom: 10px;
    padding: 10px;
}
#email-flyin1 textarea {
    width: 85%;
    max-height: 90px;
    padding: 10px;
}
#email-flyin1 .quiz input[type=text] {
    width: 40px;
    padding: 5px;
    height: 40px;
    text-align: center;
}
#email-flyin1 input[type=submit] {
    background-color: #ff3300;
    border: none;
    height: 40px;
    width: 100%;
    color: white;
    font-family: roboto;
    font-weight: 700;
    font-size: 1.2em;
}
.submit-wrap {
    width: 85%;
    box-sizing: border-box;
    margin: 20px auto;
    padding-bottom: 10px;
}
.flyin-submit {
    float: left;
    width: 60%;
}
.quiz {
    float: left;
    width: 40%;
    text-align: left;
}

.opt-in input[type=checkbox] {
    margin-left: -7px;
    position: relative;
    top: -17px;
}
.opt-in .wpcf7-list-item-label {
    display: inline-block;
    width: 85%;
}
.opt-in {
    text-align: left;
    width: 85%;
    margin: 0 auto;
}

div#email-flyin1 a#flyin-close {
    display: block;
    position: absolute;
    top: -26px;
    left: -27px;
    z-index: 222;
    cursor: pointer;
}
#email-flyin1 div.wpcf7-response-output {
    margin: -2em 0.5em 3em;
    padding: 0.2em 1em;
}

@media screen and (max-height: 722px){
    div#email-flyin1 {
        right:0;
        margin-bottom: -20px;
    }
    div#email-flyin1 h3{
        font-size: 1.5em !important;
    }
    div#email-flyin1 h4{
        font-size: 1.3em;
        padding-bottom: 0;
        padding-top: 10px;
    }
    div#email-flyin1 a#flyin-close{
        left: 40%;
    }
    div#email-flyin1 .wrap img{
        display: none;
    }
    div#email-flyin1 .wrap{
        padding: 30px 12px 0;
        margin-bottom: 15px;
    }
    div#email-flyin1 .wrap:after{
        display: none;
    }
    #email-flyin1 input[type=text],  #email-flyin1 input[type=email] {
        height: 30px;
    }
}

@media screen and (max-height: 540px ){
    div#email-flyin1 h3{
        font-size: 1.2em !important;
        line-height: 1.2em !important
    }
    div#email-flyin1 h4{
        font-size: 1.1em;
        padding-bottom: 0;
        padding-top: 10px;
    }
    div#email-flyin1 p{
        font-size: 12px;
        padding-bottom: 10px;
    }
}