@import url(https://fonts.googleapis.com/earlyaccess/opensanshebrew.css);
@import url(https://fonts.googleapis.com/earlyaccess/opensanshebrewcondensed.css);

html {
}
body {
    font-family: 'Open Sans Hebrew', Arial, sans-serif; overflow-x:hidden;
}

.logo img {
    position: relative;
}

.phone {
    color: #971c1d;
}

.edit-link {
    display: none;
}

.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-weight: bold;
    padding: 0;
    line-height: 1;
    text-align: right;
}

p, span {
    direction: rtl;
    display: block;
    font-size: 17px;
    line-height: 1.5em;
    float: right;
}
@media (max-width:414px) {
	p, span {
		font-size:19px;
	}
}


    .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, .header-contents h2 {
    position: relative;
    display: block;
    float: right;
    color: rgba(255,255,255,0.78);

    width:100%;
    text-align:center;
    margin:0;
}
.header-contents h1 {
    color: #E8817F;
    font-size: 42px;
    padding-left: 15px;
}
.header-contents h2 {
    font-size: 32px;
    margin-top: 20px;
}
.header-contents h3 {
    color: #E8817F;
    font-size: 25px;
    padding-left: 15px;
    min-height: 50px;
}

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

@media (max-width:414px) {
    .header-contents h3 {
        min-height:initial;
    }
	.header-contents p { 
		font-size:19px;
	}	
}



    .header-form {
        float:right;
        position: relative;
        padding: 20px 20px;
        min-height: 449px;
        box-shadow: 0px 0px 10px 0px rgba(0,0,0,1);
        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;
    }


.top_form:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, transparent 8%, black 143%);
    z-index: 0;
    height: 135px;
}

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

.text-under {
    display: block;
    position: relative;
    width:90%; background-color:rgba(255,255,255,0.3);
    margin:0 auto; padding:10px;
    clear:both;
}
.wide-form .text-under {
    float:right; width:100%; margin-top:20px;
}
    .text-under h4 {
        display:block; margin:auto; text-align:center; width:100%;
    }

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

        .doctor-text .text {
            float: right;
        }

        .doctor-text h2 {
            margin-top:0;
            float: right;
            color: #971c1d;
            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: #971c1d;
            width: 8%;
            clear: both;
        }
        .doctor-text p {
            display:block;
            width:100%;
        }


            @media (min-width:415px) {
                .doctor-text .image {
                    float: right;
                }
            }

    .gallery-section {
        background: #f5f5f5 url('https://www.physiocare.co.il/wp-content/uploads/2018/07/test-icon.jpg') top center no-repeat;
        max-width: 1235px;
        box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.14);
        padding: 30px 15px 50px 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);
            }

    .recomendations {
        padding-top: 50px;
        position: relative;
        float: right;
    }

        .recomendations li {
            padding:0 5%;
        }

            .recomendations li p, .recomendations li > * {
                font-size: 11pt;
                text-align: right;
                width: 100%;
                text-align: center !important;
            }

@media (max-width:414px) {
    .recomendations li p, .recomendations li > * {
		font-size:14pt;
	}
 	
}

    .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;
    }

        .footer:before {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100%;
            background: linear-gradient(to bottom, transparent 8%, black 143%);
            z-index: 0;
            height: 300px;
        }

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

    .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%;
    }

@media (max-width:414px) {
    .footer {
        padding: 0;
    }
}
    /* contact forms */

/* elementor template */
.elementor-form {
	display:block; width:100%; max-width:550px; margin:0 auto;
}
.elementor-form-fields-wrapper { display:block; width:100%; float:right; }
.elementor-form-fields-wrapper .elementor-column { float:right; }
.elementor-field-type-html,.elementor-field-type-textarea { opacity:0; position:absolute; width:1px; }
.elementor-field-type-text,.elementor-field-type-tel {     
	width: 100%; max-width:240px;
    text-align: right;
    padding: 5px;
}
.elementor-form-fields-wrapper .elementor-column label { display:none; }
.elementor-field-type-text input, .elementor-field-type-tel input {
	display:block; float:right; 
    background-color: rgba(245,245,245,1);
    border: 1px solid #555;
    color: #000000;
    height: 35px;
    width: 100%; 
    text-align: right;
    padding: 5px;
}
.elementor-form button {
    background-color: rgba(151,28,29,1);
    border-color: #971c1d;
    color: #ffffff;
	height: 35px;
    margin: 3px 0px 3px 3px;
}



    .pojo-form {
        max-width: 240px;
        margin: 0 auto;
    }

        .pojo-form .columns {
            display: block;
        }

        .pojo-form label {
            display: none;
        }

        .pojo-form .field-group {
            float: right;
            width: 100%;
            margin: 3px 0px 10px 3px;
        }

    .wide-form .pojo-form {
        max-width: 605px;
        margin: 0 auto;
    }

    .wide-form .field-group {
        max-width: 250px;
    }

    .pojo-form input {
        float: right;
        background-color: rgba(245,245,245,1);
        border: 1px solid #555;
        color: #000000;
        height: 35px;
        width: 100%;
        text-align: right;
        padding: 5px;
    }

    .pojo-form .form-actions {
        float: right;
    }

    .pojo-form button {
        height: 35px;
        margin: 3px 0px 3px 3px;
    }

    .pojo-form .form-message {
        float: right;
        font-weight: bold;
    }

    .pojo-form .form-help-inline {
        font-size: 10pt;
        font-weight: bold;
    }

    @media (max-width:414px) {
        .wide-form .pojo-form {
            max-width: 250px;
        }
    }
    /*
    @media (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;
        }
    }
    */

    /* 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;
        } 


