@charset 'utf-8';

* {
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    min-height: 100%;
    background: #c1ccb6;
    font-family: 'proxima-nova', sans-serif;
    font-size: 16px;
    color: #3b4a3b;
}

a {
    color: #1c791c;
    text-decoration: none;
}

a:active,
a:hover {
    text-decoration: underline;
}

.main-content a {
    font-weight: bold;
}

a.tel:before,
a.email:before {
    font-family: 'FontAwesome';
    display: inline-block;
    width: 23px;
    content: '\f095';
}

a.tel:before {
    font-family: 'FontAwesome';
    content: '\f095';
}

a.email:before {
    font-family: 'FontAwesome';
    content: '\f0e0';
}


#main-header,
main {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.3);
}

main {
    margin-bottom: 20px;
}

.main {
    overflow: hidden;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.3);
}

#main-header {
    position: relative;
    padding: 20px 0 10px 0;
    background: #fff;
    z-index: 3;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

#site-title {
    display: block;
    width: 300px;
    height: 49px;
    margin: 0 auto;
    text-indent: -9999em;
    overflow: hidden;
    background: url(/style/img/logo.svg) no-repeat 0 0;
}

#main-header address {
    font-style: normal;
    text-align: center;
    font-size: .9em;
    padding: 20px 0;
}

#main-header .site-nav h2 {
    font-family: 'proxima-nova', sans-serif;
    font-size: .9em;
    text-transform: uppercase;
    text-align: center;
}

#main-header .site-nav h2:before {
    font-family: 'FontAwesome';
    content: '\f0c9';
    padding-right: 5px;
}

#main-header .site-nav ul {
    max-height: 0px;
    padding: 0;
    margin: 0;
    -webkit-transition: all .5s ease-in-out;
       -moz-transition: all .5s ease-in-out;
            transition: all .5s ease-in-out;
    overflow: hidden;
    background: #c1ccb6;
    background: -moz-linear-gradient(top, #919f8f 0%, #c1ccb6 3%, #c1ccb6 99%, #aab8a7 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#919f8f), color-stop(3%,#c1ccb6), color-stop(99%,#c1ccb6), color-stop(100%,#aab8a7));
    background: -webkit-linear-gradient(top, #919f8f 0%,#c1ccb6 3%,#c1ccb6 99%,#aab8a7 100%);
    background: -o-linear-gradient(top, #919f8f 0%,#c1ccb6 3%,#c1ccb6 99%,#aab8a7 100%);
    background: -ms-linear-gradient(top, #919f8f 0%,#c1ccb6 3%,#c1ccb6 99%,#aab8a7 100%);
    background: linear-gradient(to bottom, #919f8f 0%,#c1ccb6 3%,#c1ccb6 99%,#aab8a7 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#919f8f', endColorstr='#aab8a7',GradientType=0 );
    text-align: center;
    text-transform: uppercase;
}
    
#main-header .site-nav ul.active {
    max-height: 1000px;
    padding: 10px 0;
}
    
#main-header .site-nav li {
    list-style-type: none;
    margin: 0;
    padding: 10px;
    border-bottom: 1px solid #a5b099;
}
    
#main-header .site-nav li:last-child {
    border-bottom: none;
}

.site-nav li a {
    color: #3b4a3b;
}

.section-home .nav-home a,
.section-about-treatment .nav-about-treatment a,
.section-conditions-treated .nav-conditions-treated a,
.section-theory-practice .nav-theory-practice a,
.section-about-me .nav-about-me a,
.section-testimonials .nav-testimonials a,
.section-contact .nav-contact a {
    font-weight: bold;
}



#main-footer .site-nav {
    display: none;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@-webkit-keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

#hero {
/*    display: table-cell;
    vertical-align: middle;*/
    width: 100%;
    height: 230px;
    background-size: cover;
    background-position: center center;
    -webkit-animation: fadeIn .5s ease-out;
    animation: fadeIn .5s ease-out;
}

.section-home #hero {
    background-image: url(/style/img/hero-home.jpg);
    text-align: center;

}

.section-home #hero blockquote {
    font-size: 1.5em;
}

.section-about-treatment #hero {
    background-image: url(/style/img/hero-about-treatment.jpg);
}

.section-conditions-treated #hero {
    background-image: url(/style/img/hero-conditions-treated.jpg);
}

.section-theory-practice #hero {
    background-image: url(/style/img/hero-theory-practice.jpg);
}

.section-about-me #hero {
    background-image: url(/style/img/hero-about-me.jpg);
}

@-webkit-keyframes textIn {
    0% {
        -webkit-transform: none; 
        -webkit-filter: blur(7px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateY(-50%);
        -webkit-filter: blur(0);
        opacity: 1;
    }
}

@keyframes textIn {
    0% {
        transform: none;
        -webkit-filter: blur(7px);
        filter: blur(7px);
        opacity: 0;
    }
    100% {
        transform: translateY(-50%); 
        -webkit-filter: blur(0);
        filter: blur(0);
        opacity: 1;
    }
}

#hero blockquote,
#hero h1 {
    color: #fff;
    text-shadow: 1px 1px 10px #000;
    margin: 0 10%;
    font-size: 2em;
    font-family: 'fertigo-pro';
    font-style: italic;
    /*text-align: center;*/
    position: relative;
    top: 50%;
    opacity: 0;
}

.wf-active #hero blockquote,
.wf-active #hero h1 {
    opacity: 1;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    -ms-animation: textIn .75s ease-in-out;
    -moz-animation: textIn .75s ease-in-out;
    -webkit-animation: textIn .75s ease-in-out;
    animation: textIn .75s ease-in-out;
}

#hero p {
    margin: 0;
}

h1,
h2,
h3 {
    font-family: 'fertigo-pro';
    font-weight: normal;
    margin: 0 0 0.83em;
}

h1,
h2{
    color: #9f0f30;
    line-height: 1.2;
}

main {
    line-height: 1.6;
}

.main-content {
    padding: 20px;
    margin-bottom: 20px;
    background: #fff;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.3);
}

.secondary>article{
    padding: 20px;
    margin: 20px auto;
    background: #fff;
    border: 1px solid #c1ccb6;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.secondary h3 {
    background: #3b4a3b;
    color: #fff;
    padding: 10px 20px;
    margin: -20px -20px 0 -20px;
}

.secondary>.aux-testimonials {
    padding: 20px 0;
    overflow: hidden;
    margin-bottom: 0;
}

.aux-testimonials h3 {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 20px;
}

blockquote {
    position: relative;
    font-family: 'fertigo-pro';
    font-style: italic;
    padding: 0 0 40px 60px;
    margin: 0;
}

.aux-testimonials blockquote {
    font-size: .9em;
    padding: 0 20px 0 30px;
    margin: 0 2em;
}

.testimonials-list blockquote:before {
    position: absolute;
    left: -.1em;
    top: -.2em;
    content: '\201c';
    font-family: 'Georgia', 'Times New Roman', sans-serif;
    font-size: 6em;
    font-weight: bold;
    color: #c1ccb6;
    line-height: 1;
    z-index: 1;
}

.aux-testimonials .testimonials-list blockquote:before {
    left: -.3em;
    top: -.1em;
}

.more-link {
    display: block;
    float: right;
    margin-top: 20px;
    margin-right: 20px;
    font-size: .75em;
    font-weight: bold;
    text-transform: uppercase;
}

.more-link:after {
    font-family: 'FontAwesome';
    content: '\f105';
    padding-left: 5px;
}

.secondary .aux-contact {
    margin-top: 0;
}

.secondary .aux-contact ul {
    margin-left: 0;
    padding-left: 0;
}

.secondary .aux-contact ul li {
    margin-left: 0;
    padding-left: 0;
    list-style-type: none;
}

.secondary>.aux-image {
    padding: 0;
}

.secondary>.aux-image img {
    display: block;
    width: 100%;
    height: auto;
}

.article-media {
    width: 100%;
    height: auto;
}

/* CONTACT STYLES ============================== */

#map-canvas {
    width: 100%;
    height: 500px;
    border: 1px solid #c1ccb6;
}

#contact-form {
    position:relative;
}

#contact-form h2 {
    margin-bottom:15px;
    font-style:italic;
    font-weight:normal;
}

#contact-form input, 
#contact-form select, 
#contact-form textarea, 
#contact-form label {
    display: block;
    font-size:15px;
    margin-bottom:2px;
}

#contact-form input,
#contact-form textarea {
    width:100%;
    margin-bottom:10px;
    border: 1px solid #c1ccb6;
    padding: 5px;
}

#contact-form input:focus, 
#contact-form select:focus, 
#contact-form textarea:focus {
    outline: none;
    border: 1px solid #1c791c;
    background-color: #fff;
}

#contact-form textarea {
    height:122px;
    padding:3px;
    resize: none;
}

#contact-form .input-submit {
    border: 1px solid #a1b48f;
    background: #c1ccb6;
    color: #1c791c;
    padding: 10px 5px;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: bold;
}

#contact-form .input-submit:hover {
    border: none;
    background: #1c791c;
    color: #fff;
}

#contact-form label {
    display:none;
}

#contact-form .message-options {
    position: relative;
}

#contact-form .message-options label {
    display: block;
    line-height: 1;
    margin-bottom: 10px;
}

#contact-form .checkbox {
    position: absolute;
    left: 0;
    top: 0;
    width: auto !important;
    height: auto !important;
}

#contact-form .message-options label {
    padding-left: 20px;
    font-style: italic;
}

#contact-form .message-controls {
    position: relative;
    overflow: visible;
    min-height: 70px;
}

#contact-form .message-controls label {
    display: block;
    line-height: 1;
    margin-bottom: 10px;
}

#contact-form .checkbox {
    width: auto;
    height: auto;
    float: left;
    margin: 0 10px 0 0;
}

#contact-form .required {
    font-weight:bold;
    color:#F00; 
}


#contact-form #loading {
    width:16px;
    height:11px;
    background-image:url(../img/loading.gif);
    display:block;
    margin: 20px auto;
    display:none;
}

#errors {
    border:solid 1px #E58E8E;
    padding: 10px 10px 10px 45px;
    margin: 0 0 20px 0;
    display:block;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
    background: #FFE6E6 url(../img/icon-error.png) no-repeat 20px 10px;
    display:none;
}

#errors li {
    padding:2px;
    list-style:none;    
}

#errors li:before {
    content: ' - '; 
}

#errors #info {
    font-weight:bold;
}

#errors #info:before {
    content: '';    
}

#success {
    border:solid 1px #83D186;
    padding: 10px 10px 10px 45px;
    margin: 0 0 20px 0;
    display:block;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
    background:#D3EDD3 url(../img/icon-success.png) no-repeat 10px 10px;
    font-weight:bold;
    display:none;
    line-height: 40px;
}

#errors.visible, #success.visible,
#newsletter-errors.visible, #newsletter-success.visible {
    display:block;  
}

#req-field-desc {
    font-style:italic;
}

/* Remove box shadow firefox, chrome and opera put around required fields. It looks rubbish. */
input:required, textarea:required {
    -moz-box-shadow:none;
    -webkit-box-shadow:none;
    -o-box-shadow:none;
    box-shadow:none;
}

/* Normalize placeholder styles */

/* chrome, safari */
::-webkit-input-placeholder {
    color:#999;
    font-style:italic;
}

/* mozilla */
input:-moz-placeholder, textarea:-moz-placeholder {
    color:#999;
    font-style:italic;
}

/* ie (faux placeholder) */
input.placeholder-text, textarea.placeholder-text  { 
    color:#999;
    font-style:italic;
}

@media only screen and (min-width: 860px) {
    #main-header .site-nav {
        clear: both;
        border-top: 1px solid #c1ccb6;
    }

    #main-header .site-nav h2 {
        display: none;
    }

    #main-header .site-nav ul {
        max-height: 1000px;
        background: transparent;
    }

    #main-footer .site-nav {
        display: block;
    }

    .site-nav ul {
        text-align: center;
    }

    #main-header .site-nav li {
        border-bottom: none;
        padding-bottom: 0;
    }

    .site-nav li {
        display: inline-block;
        font-size: .9em;
    }

    #main-footer .site-nav {
        display: block;
        padding-bottom: 40px;
    }

    #main-footer .site-nav li a {
        padding: 5px 10px;
    }

    #site-title {
        float: left;
        margin-left: 20px;
        width: 375px;
        height: 62px;
    }

    #main-header address {
        float: right;
        margin-right: 20px;
        padding-top: 0;
        text-align: right;
        font-size: .8em;
    }

    #hero {
        height: 280px;
    }

    .section-home #hero {
        height: 320px;
    }

    .section-home #hero blockquote {
        font-size: 2em;
    }

    #hero blockquote,
    #hero h1 {
        font-size: 3em;
    }

    .section-conditions-treated .main-content ul {
        overflow: hidden;
    }

    .section-conditions-treated .main-content li {
        width: 50%;
        float: left;
    }
}



@media only screen and (min-width: 1024px) {
    main {
        display: block;
        overflow: hidden;
        clear: both;
        background: #fff url(/style/img/background-main.png) no-repeat 0 0;
        background-size: 100% auto;
        margin-bottom: 0;
    }

    .main-content {
        float: left;
        width: 62%;
        padding: 40px 80px 40px 40px;
        background: transparent;
        box-shadow: none;
        margin-bottom: 0;
    }

    .secondary {
        float: left;
        width: 38%;
        margin: 40px auto 0 -40px;
    }

    .secondary h3 {
        background: #c1ccb6;
        color: #3b4a3b;
    }

    

    .secondary>.aux-testimonials {
        margin-bottom: 20px;
    }

    .aux-testimonials h3 {
        display: none;
    }
}
