﻿html {
}
body {

}

.phone {
    color: #333;
}

.container-fluid {
    clear: both;
}

/* ipad only */
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait) {
    .container {
        width: 682px;
    }
}

    .no-padding {
        padding-left: 0;
        padding-right: 0;
    }

    .no-margin {
        margin-left: 0;
        margin-right: 0;
    }

    h1, h2, h3, h4 {
        display: block;
        direction: rtl;
        float:right;
        font-family: 'Varela Round', Arial, sans-serif;
        font-weight: bold;
        padding: 0;
        line-height: 1;
        text-align: right;
    }

    p, span {
        direction: rtl;
        font-family: 'Varela Round', Arial, sans-serif;
        display: block;
        font-size: 17px;
        line-height: 1.5em;
        float: right;
    }

    .header {
        clear: both;
        min-height: 698px;
        padding: 15px 0 15px 0;
        background-color: #faf9f3;
        border-bottom: 0px solid #faf9f3;
        border-top: 0px solid #faf9f3;
    }

    .header-inner {
        max-width: 1235px;
        margin: 100px auto 50px auto;
    }

    .header-contents {
        position: relative;
        padding: 20px 20px;
        min-height: 450px;
    }

        .header-contents .col-md-4 {
            float:right;
        }

    .header-content-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.9);
        opacity: .5;
        z-index: -1;
    }

    .header-contents h1 {
        position: relative;
        display: block;
        float: right;
        color: rgba(255,255,255,0.78);
        font-size: 59px;
    }

    .header-contents h3 {
        color: #c58b20;
        font-size: 25px;
        padding-left: 15px;
    }

    .header-contents p {
        color: #fff;
        font-size: 17px;
        padding-left: 10%;
    }




    .header-form {
        position: relative;
        padding: 20px 20px;
        min-height: 449px;
        box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.14);
        padding: 30px 30px 0px 30px;
    }

    .header-form-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255,255,255,0.81);
        z-index: -1;
    }

    .form .title {
        display: block;
        width: 100%;
        font-size: 22px;
        font-weight: 700;
        text-align: center;
        color: #4c4c4c;
        line-height: 1.7em;
        margin: 10px auto 10px auto;
    }



    .doctor-text {
        max-width: 1235px;
        margin-top: 50px;
    }

        .doctor-text h2 {
            float: right;
            color: #c58b20;
            font-size: 37px;
        }

        .doctor-text h3 {
            float: right;
            color: #6d6d6d;
        }

        .doctor-text hr {
            float: right;
            border-top-style: solid;
            border-top-width: 3px;
            border-top-color: #c58b20;
            width: 8%;
            clear: both;
        }

.gallery-section {
    max-width: 1235px;
    box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.14);
    padding: 30px 15px 30px 15px;
    margin-top: 50px;
}
    .gallery-section img {
        display: block;
        width: 100%;
        transition: all .2s ease-in-out;
    }
        .gallery-section img:hover {
            transform: scale(1.1);
        }



.video-section {
    max-width: 1235px;
    box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.14);
    padding: 30px 15px 30px 15px;
    margin-top: 50px;
}
    .video-section iframe {
        width: 100%;
        height: 100%;
        border: none;
    }



    .footer {
        position: relative;
        z-index: 0;
        background-color: #faf8f3;
    }

    .footer-inner {
        padding: 40px 0 30px 0;
        max-width: 1235px;
    }

    .footer hr {
        border-top-style: solid;
        border-top-width: 1px;
        border-top-color: #000;
        width: 100%;
        max-width: 1235px;
    }

    .footer p, .footer h2, .footer h3 {
        text-align: center;
        float: initial;
        width: 100%;
        line-height: 1.5em;
        font-weight: normal;
    }

    .footer img {
        margin-top: 25px;
        max-width:80%;
    }

    /* contact 7 forms */
    .wpcf7 {
        float: right;
        width: 95%;
        margin-right: 5%;
    }

        .wpcf7 .wpcf7-form-control-wrap {
            float: right;
            width: 96%;
        }

        .wpcf7 label {
            font-size: 18px;
        }

        .wpcf7 .form-control {
            border-color: rgba(0,0,0,.2);
            color: #555;
            padding: 9px 16px;
            display: block;
        }

    .form-control {
        height: 40px;
        display: inline-block;
    }

    .wpcf7 input[type=submit] {
        float: left;
        border-radius: 20px;
        display: inline-block;
        font-size: 1em;
        font-weight: 700;
        line-height: 1.4;
        padding: 9px 30px;
        outline: 0;
        background-color: rgba(182,123,56,1);
        border-color: #b67b38;
        color: #fff;
        margin-left: 4%;
        border: 1px solid #c58b20;
    }

        .wpcf7 input[type=submit]:hover {
            background-image: linear-gradient(to bottom,rgba(255,255,255,.3) 0,rgba(255,255,255,0) 100%);
        }

		/* form accessiblity fix */
		.wpcf7 input:focus {
				border: 2px solid #000;
		}

    .wpcf7 .screen-reader-response {
        display: none;
    }

.wpcf7-form-control-wrap {
    color: red;
}




@media only screen and (max-width:991px) {
    .header-inner {
            padding: 0;
            margin: 15px 40px;
        }

        .header-content-overlay {
            z-index: 0;
            background-color: #000;
            opacity: 0.5;
        }

        .header-contents h3 {
            margin: 50px 0 30px 0;
        }

        .header-contents {
            float: right;
        }

            .header-contents p {
                line-height: 1.6em;
            }

        .header-form {
            min-height: initial;
            clear: both;
            float: right;
        }

        .doctor-text .text {
            padding-top: 50px;
        }

        .doctor-text h2 {
            font-size: 27px;
        }

        .wpcf7 input[type=submit] {
            padding: 10px 30px;
            margin-top: 15px;
        }

    }
    /* fix for mobile overlapping form fields */
    @media only screen and (max-width:414px) {
        .free-form .col-sm-12, .free-form .col-sm-4 {
            float: right; display:block;
        }
    }

    @media only screen and (min-width:992px) {
        .video-section > .form {
            float: right;
        }
    }



    /* thank you page */
.thankyou-page .header-contents, .thankyou-page .header {
    min-height: initial;
}
.thankyou-page h2, .thankyou-page h1 {
    display: block;
    clear: both;
    float: right;
    width:100%; text-align:center;
}
.thankyou-page h1 {
    float:right;
    color: #c58b20;
}
.thankyou-page h2 {
    margin-bottom:40px;
}
.thankyou-page .header-contents a, .thankyou-page .header-contents p {
    display: block;
    clear: both;
    margin:0 auto;
    float:initial;
    padding:0;
}
.thankyou-page .header-contents a {
    padding: 10px;
    width:140px; text-align:center;
    background-color:rgba(0,0,0,0.14);
    border-radius:10px;
   color:#c58b20;
   transition-duration:.5s;
}
.thankyou-page .header-contents a:hover {
    background-color:rgba(0,0,0,.5); color:#fff;
} 