/*!
Theme Name: Jordan Eye Center
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: jordan-eye-center
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Jordan Eye Center is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/


/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Scheherazade+New&display=swap');
*,
*::after,
*::before {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


/* Roots */

 :root {
    font-size: 62.5%;
    /* Color */
    --darkColor: #363639;
    --textColor: #ffffff;
    --themeColor: #CAA645;
    /* ####### 706c6c*/
    --lightTextColor: #363639;
    --lightbackground: #fafafa;
    /* Font Size */
    --largeTitle: calc(1.7rem + 2.5vw);
    --mediamTitle: calc(0.5rem + 0.8vw);
    --smallTitle: calc(1.2rem + .2vw);
    --bodyTitle: calc(2.4rem + 1.2vw);
    --subTitle: calc(1rem + 0.4vw);
    --buttonfont: calc(0.8rem + 0.4vw);
    --navMenu: calc(1rem + 0.3vw);
    /* Space */
    --sidePadding: 15%;
    --horizontalSpace: 5rem;
    --transitionTime: 0.5s
    /* Font Type */
    --boldFont: 'Scheherazade New', serif;
}


/* FONTS TYPE */


 
body {
    font-family: 'Scheherazade New', serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

li,
ul {
    list-style: none;
    list-style-type: none;
}

a {
    text-decoration: none;
    color: var(--textColor);
}

img {
    max-width: 100%;
}

li,
p,
a,
div,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-block-start: 0em;
    margin-block-end: 0em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

input::placeholder,
textarea::placeholder {
    font-family: 'Scheherazade New', serif;
}


/* comman */

.section-title {
    font-size: var(--bodyTitle);
    line-height: 1.3em;
    font-weight: bold;
}

.section-title::after {
    content: " ";
    display: block;
    width: 7rem;
    height: 1px;
    background: var(--themeColor);
    margin-top: 0.3em;
}

.section-description,
.about p,
.about--edit li {
    color: var(--lightTextColor);
    font-size: var(--subTitle);
    margin: 1.5rem 0 3rem;
    max-width: 85%;
}


/* Header */

.actionbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0.5em var(--sidePadding);
    background: var(--darkColor);
    color: var(--textColor);
    font-family: 'Scheherazade New', serif;
}

.actionbar__lang {
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
	 
}

.actinbar__link {
    margin-right: 1.5rem;
    display: flex;
    align-items: center;
    font-size: 0.8rem;
}

.actionbar__flag {
    width: 2rem;
    margin-right: 5px;
}

.actionbar__text {
    font-size: var(--smallTitle);
}

.actionbar__phone {
    font-size: 1.3rem;
}

.actionbar__item--divided {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.actionbar__cta {
    border: 1px solid white;
    padding: 0.3em 1.5em;
    font-size: 1.4rem;
    margin-left: 2rem;
}

.actionbar__cta:hover {
    background: var(--themeColor);
    transition: all 0.5s ease-in-out;
}

.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70%;
    padding: 0.5em 3em;
    background: var(--textColor);
    margin: 0 auto 0;
    position: absolute;
    z-index: 2;
    left: var(--sidePadding);
    box-shadow: 2px 2px 11px rgba(0, 0, 0, 0);
    transition: all .5s;
    z-index: 4;
}

.full-nav {
    position: fixed;
    width: 100% !important;
    top: 0;
    left: 0;
    padding: 0.5em var(--sidePadding);
    box-shadow: 2px 2px 11px rgba(0, 0, 0, 0.1);
}

.mobile-nav {
    display: none;
}

.logo {
    flex-grow: 1;
}

.logo__image {
    width: 15rem;
}

.nav__menu {
    display: flex;
    align-items: center;
}

.nav__link {
    color: var(--darkColor);
    margin-right: 2.5rem;
    font-size: var(--navMenu);
}


/* HERO */

.home {
    overflow-x: hidden;
    position: relative;
}

.home__slides {
    position: relative;
    /*  */
    width: 100%;
}

.home__slide {
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.home__image {
    width: 100%;
    
    min-height: 450px;
    object-fit: cover;
    overflow-x: hidden;
    filter: brightness(0.95);
}

.home__layer {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 1;
    background: rgba(00, 00, 00, 0.2);
}

.home__content {
	 position: absolute;
    padding: 0 var(--sidePadding);
    z-index: 2;
    filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.4));
    transform: translate(15%,-35%) scale(0.75);
    max-width: 70%;
}

.home__subtitle {
    font-size: var(--mediamTitle);
    transform: translateY(-25px);
    opacity: 0;
    color: var(--textColor);
    transition: all 1s ease-in-out;
    transition-delay: 1s;
}

.home__subtitle--animate {
    opacity: 1;
    transform: translateY(0);
}

.home__title {
    color: var(--textColor);
    font-size: var(--largeTitle);
    line-height: 1.2em;
    margin: 1rem 0 2.3rem;
    font-family: 'Scheherazade New', serif;
    font-weight: bold;
    max-width:100%;
    transform: translateX(-85%);
    opacity: 0;
    transition: all 0.5s ease-in-out;
    /* transition: opacity 0.5s ease-in-out; */
    /* ############ */
    transition-delay: 0.7s;
}

.home__title--animate {
    transform: translateX(0);
    opacity: 1;
}

.home__Link {
    font-size: var(--buttonfont);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.4em 1.4em;
    letter-spacing: 1px;
    transform: translateY(75px);
    display: inline-block;
    opacity: 0;
    transition: all 1s ease-in-out;
    transition-delay: 1s;
}

.home__Link--animate {
    transform: translateY(0);
    opacity: 1;
}

.home__Link:hover {
    background: var(--themeColor);
    transition: all 0.5s ease-in-out;
}

.direction {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
    position: absolute;
    top: 50%;
    padding: 0 2rem;
}

.direction__next,
.direction__back {
    width: 3rem;
    cursor: pointer;
    fill: var(--darkColor);
}

.direction__prevsymbol--home,
.direction__prevsymbol--home {
    fill: var(--lightbackground);
}


/* ABOUT */
video {
    margin: 5rem auto;
    display: block;
    width: 100%;
    max-width: 650px;
}
.about {
    padding: 5rem var(--sidePadding);
    position: relative;
}

.about__features {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.about__img {
    margin-right: 2rem;
}

.about__feature {
    width: 30%;
    margin: 0 2rem 3rem 0;
    display: flex;
    align-items: center;
}

.about__fedescription {
    width: 75%;
}

.about__featureinfo {
    font-size: var(--smallTitle);
    font-weight: lighter;
    color: var(--lightTextColor);
    line-height: 1.5em;
}

.about__featuretitle {
    font-size: var(--mediamTitle);
}

.about__icon {
    background: var(--themeColor);
    padding: 1.5em;
    width: 5.5rem;
    fill: var(--textColor);
}

.numbers {
    width: 100%;
    background: var(--themeColor);
    min-height: 0.5rem;
}

.numbers__list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    padding: 5rem var(--sidePadding);
}

.numbers__item {
    color: var(--textColor);
    padding: 2rem 5rem;
}

.numbers__value {
    font-size: var(--largeTitle);
    font-weight: 900;
    line-height: 7rem;
    text-align: center;
}

.numbers__description {
    font-size: var(--mediamTitle);
    text-align: center;
    font-weight: 900;
}

.numbers__description::after {
    content: "";
    width: 5rem;
    height: 1px;
    display: block;
    background: white;
    margin: 2rem auto 0;
}


/* insurance */

.insurance {
    padding: var(--horizontalSpace) var(--sidePadding);
}

.insurance__list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 2rem;
    row-gap: 2rem;
    margin-top: var(--horizontalSpace)
}

.insurance__item {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    box-shadow: 2px 2px 11px rgba(0, 0, 0, 0.1);
    padding: 0.5em;
}

.insurance__image {
    width: 60%;
}

.insurance__name {
    font-size: 1.2rem;
}


/* APPOINTMENT */

.appointment {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--lightbackground);
    position: relative;
}

.appointment__info {
    padding: var(--horizontalSpace) var(--horizontalSpace) var(--sidePadding);
}

.appointment__form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.appointment__input {
    width: 47%;
    /* margin: 0 3% 1rem 0; */
    background: rgba(153, 153, 153, 0.06);
    border: 1px solid rgba(153, 153, 153, 0.3);
    padding: 1.2em 0 1.2em 1.5em;
}

.appointment__input::placeholder,
.appointment__textarea::placeholder {
    font-size: var(--smallTitle);
    font-weight: 100;
    font-family: 'Scheherazade New', serif;
    opacity: 0.8;
}

.appointment__textarea {
    width: 100%;
    background: rgba(153, 153, 153, 0.06);
    border: 1px solid rgba(153, 153, 153, 0.3);
    padding: 1rem 0 0 1.5rem;
    margin-right: 3%;
}

.appointment__cta {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    margin: 2rem 0 0 0;
}

.appointment__submit {
    background: none;
    border: 1px solid var(--themeColor);
    color: var(--themeColor);
    padding: 0.2em 1.8em;
    font-size: var(--buttonfont);
    transition: all 0.5s ease-in-out;
    display: block;
    height: 4rem;
}

.appointment__submit:hover {
    cursor: pointer;
    background: var(--themeColor);
    color: var(--textColor);
    border: 1px solid var(--textColor);
}

.appointment__contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0, -50%);
    z-index: 1;
}

.appinment__svg {
    width: 3.3rem;
    border: 1px solid var(--themeColor);
    fill: var(--themeColor);
    margin: 0 0.3rem 0;
    height: 100%;
    padding: 0.7em 0.5em;
}

.appinment__svg:hover {
    fill: var(--textColor);
    stroke: var(--themeColor);
    stroke-width: 1rem;
    background: var(--themeColor);
    transition: all 0.5s ease-in-out;
}

.appointment__image {
    max-width: 50%;
    align-self: stretch;
    object-fit: cover
}

.appointment__mobile {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    max-height: max-content;
}

.appointment__call {
    width: fit-content;
    height: 4rem
}

.appointment__whatsapp {
    height: 4rem
}


/* DEPARTMENTS */

.department {
    padding: 10rem var(--sidePadding) var(--horizontalSpace);
    overflow-x: hidden;
    position: relative;
}

.department__list {
    margin-top: var(--horizontalSpace);
}

.department__item {
    background: var(--lightbackground);
    margin: 0 1rem;
}

.department__image {
    width: 100%;
    height: 20rem;
    object-fit: cover;
}

.department__details {
    padding: 1em;
}

.department__title {
    font-size: var(--mediamTitle);
    line-height: 1em;
}

.department__subtitle {
    color: var(--lightTextColor);
    font-size: var(--subTitle);
     font-weight: 100;
    font-weight: bold;
}

.department__description {
    font-size: var(--subTitle);
    line-height: 1.5em;
    opacity: 0.6;
    font-weight: 100;
    margin: 1rem 0;
}

.department__link {
    color: var(--themeColor);
    font-size: var(--smallTitle);
}

.direction__department {
    width: 80%;
    left: 10%;
}


/* DOCTORS */

.doctors {
    background: var(--lightbackground);
    padding: 10rem var(--sidePadding);
    position: relative;
}

.doctors__list {
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
	    z-index: 3;
	
}

.doctors__item {
    margin: 1rem;
    background: var(--textColor);
}

.doctors__image {
    margin-bottom: 1rem;
    width: 100%;
    height: 35rem;
    object-fit: cover;
    object-position: top;
}

.doctors__name {
    font-size: var(--mediamTitle);
    line-height: 2rem
}

.doctors__section {
     font-size: 1.2rem;
    color: var(--themeColor);
    font-weight: bold;
    margin-bottom: 2rem;
}

.doctors__descrption {
    font-size: var(--subTitle);
    font-weight: 100;
    opacity: 0.8;
    margin-bottom: 1.2rem;
}

.doctors__phone,
.doctors__Email {
    color: var(--themeColor);
    font-size: var(--smallTitle);
    line-height: 2.5rem;
    display: flex;
    align-items: center;
}

.doctors__svgimage {
    width: 1.5rem;
    margin-right: 1rem;
    fill: var(--themeColor)
}

.direction__doctor {
    width: 80%;
    right: 10%;
	z-index:0;
}

.doctors__info {
    padding: 0 1.5em 1em;
}


/* SERVICE */

.services {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.services__image {
    object-fit: cover;
    max-width: 50%;
    align-self: stretch;
    margin-right: 10rem;
}

.services__details {
    width: 45%;
    padding-top: 5rem;
    padding-bottom: 3rem;
}

.services__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding-right: var(--horizontalSpace);
}

.services__item {
    width: 44%;
    margin: 0 3% 4rem 0;
}

.service__subtitle {
    display: flex;
    align-items: center;
}

.services__number {
    color: var(--themeColor);
    font-size: var(--bodyTitle);
    margin-right: 1rem;
    line-height: 1.2em;
}

.services__title {
    font-size: var(--subTitle);
    font-weight: normal;
    line-height: 1.3em;
}

.service__description {
    font-size: var(--smallTitle);
    color: var(--lightTextColor);
}


/* NEWS */

.news {
    padding: var(--horizontalSpace) var(--sidePadding);
    background: var(--lightbackground);
}

.news__list {
    display: flex;
    align-items: flex-start;
}

.news__item {
    text-align: center;
    width: 25%;
    margin-right: 2%;
    background: var(--textColor);
}

.news__image {
    width: 100%;
    height: 20rem;
    object-fit: cover;
    object-position: top;
}

.news__date {
    color: var(--lightTextColor);
    font-size: var(--subTitle);
    margin: 1rem 0 0.5rem;
    font-weight: 100;
}

.news__title {
    font-size: var(--mediamTitle);
    line-height: 2.5rem;
}

.news__description {
    font-size: var(--smallTitle);
    color: var(--lightTextColor);
}

.news__info {
    padding: 0 1em 1rem;
}

.news__link {
    color: var(--themeColor);
    font-size: var(--smallTitle);
}

.news__button {
    display: block;
    text-align: center;
    margin: 5rem auto 0;
    border: 1px solid var(--themeColor);
    color: var(--themeColor);
    font-size: var(--buttonfont);
    padding: 0.5em 1em;
    background: none;
    width: 20rem;
}

.news__button:hover {
    background: var(--themeColor);
    color: var(--textColor);
    border: 1px solid var(--textColor);
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}

.news__thumb {
    height: 20rem;
    object-fit: cover;
    object-position: top;
}


/* CONTACT */

.contact__boxing {
    padding: var(--horizontalSpace) var(--sidePadding);
}

.contact__container {
    display: flex;
    align-items: flex-start;
}

.contact__form {
    width: 90%;
    margin-right: 5%;
    display: flex;
    flex-wrap: wrap;
}

.contact__input {
    width: 47%;
    /* margin: 0 2% 3rem 0; */
    padding: 1.3em 0 1.3em 1.4em;
    border: 1px solid rgba(153, 153, 153, 0.3);
    background: rgba(153, 153, 153, 0.03);
    border-radius: 2px;
}

.contact__input::placeholder {
    font-size: var(--smallTitle);
    font-weight: 100;
}

.contact__textarea {
    width: 97%;
    /* margin: 0 3% 2rem 0; */
    padding: 1.3em 0 0 1.3em;
    border: 1px solid rgba(153, 153, 153, 0.3);
    background: rgba(153, 153, 153, 0.06);
    border-radius: 2px;
	 opacity: 0.8;
 
}

.contact__textarea::placeholder {
    font-family: 'Scheherazade New', serif;
    font-size: var(--smallTitle);
	 opacity: 0.8;
}

.contact__button {
    background: none;
    font-size: var(--buttonfont);
    color: var(--themeColor);
    border: 1px solid var(--themeColor);
    padding: 0.8em 2.4em;
}

.contact__button:hover {
    color: var(--textColor);
    background: var(--themeColor);
    border-color: var(--textColor);
    transition: all 0.5s ease-in-out;
    cursor: pointer;
}

.contact__information {
    width: 40%;
    margin-left: 3rem;
}

.contact__location {
    margin-bottom: 2rem;
}

.contact__title {
    font-size: var(--mediamTitle);
    font-weight: 700;
}

.contact__icon {
    width: 1.3rem;
    margin-right: 0.7rem;
    display: inline-flex;
    align-items: center;
    stroke: #000000;
}

.contact__icon--rotate {
    transform: rotate(5deg);
}

.contact__subtitle {
    padding-left: 2.7rem;
    font-size: 1.4rem;
    color: var(--lightTextColor)
}


/* FOOTER */

.sub-footer {
    background: var(--darkColor);
    padding: var(--horizontalSpace) 0 3rem;
    text-align: center;
    color: var(--textColor);
    font-size: var(--buttonfont);
    position: relative;
}

.footer__info {
    width: 70%;
    margin: 0 auto;
}

.footer-title {
    font-weight: bold;
    letter-spacing: 1px;
}

.footer-description {
    font-size: var(--subTitle);
    color: var(--lightTextColor);
    margin-bottom: 3rem;
    padding: 0 1em;
}

.footer__input {
    width: 40rem;
    padding: 1.2em 0 1.2em 1.3em;
    margin-right: 1%;
    border-radius: 2px;
    border: none;
}

.footer__input::placeholder {
    font-size: var(--smallTitle);
    font-weight: 100;
}

.footer__btn {
    background: none;
    border: 1px solid var(--textColor);
    font-size: var(--buttonfont);
    padding: 0.8em 2em;
    color: var(--textColor);
    border-radius: 2px;
    letter-spacing: 1px;
}

.footer__socialmedia {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: var(--horizontalSpace) 0;
}

.footer__sm {
    width: 2rem;
    fill: var(--textColor);
    stroke: none;
}

.footer__facebook,
.footer__twitter,
.footer__instagram,
.footer__linkedin,
.footer__youtube {
    border-radius: 100%;
    margin: 0 1rem;
    width: 6rem;
    height: 6rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer__facebook:hover,
.footer__twitter:hover,
.footer__instagram:hover,
.footer__linkedin:hover,
.footer__youtube:hover {
    background: var(--themeColor);
    border: none;
    transition: all 0.5s ease-in-out;
}

.footer__copyright::before {
    content: " ";
    display: block;
    width: 100%;
    height: 1px;
    background:     white;
    margin-bottom: 1.5rem;
}

.footer__copyright {
    color: white;
}


/* map */

.contact__map {
    width: 100%;
    height: 60rem;
}


/* single post page */

.news__img {
    width: 100%;
    object-fit: cover;
    height: auto;
    max-height: 700px;
    margin: 0 auto;
    display: block;
    object-position: top;
}

.about--edit {
    padding-top: 10rem !important;
}


/* page of post */

.news__list--page {
    justify-content: center;
    flex-wrap: wrap;
}

.news__item--page {
    width: 23%;
    margin-bottom: 5rem;
    margin-left: 2%;
    margin-right: unset;
    align-self: stretch;
}

.news--page {
    padding-top: 15rem;
}


/* FORM CONTACT STYLE */

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="password"],
.wpcf7 textarea {
    width: 100%
}

.wpcf7 {
    width: 100% !important;
}

.wpcf7-form {
    width: 100% !important;
}

.wpcf7-form-control-wrap {
    width: 50%;
    margin: 0 0 2rem 0;
}

.wpcf7-form-control-wrap:nth-child(odd) {
    width: 47%;
    margin: 0 0 2rem 3%;
}

.wpcf7-form-control-wrap:nth-child(6) {
    width: 100%;
}

.appointment__form .wpcf7-form-control-wrap:nth-child(6) {
    margin: 0 0 0 0;
}

.wpcf7-not-valid-tip {
    color: var(--themeColor);
}
/* Staff */
.staff{
	    background:white;
}
.staff__title{
	margin-bottom:3rem;
}


/* MEDIA QUERY  */

@media only screen and (max-width: 1600px) {
     :root {
        /* Space */
        --sidePadding: 7.5%;
    }
    .nav {
        width: 85%;
        padding: 0.5em var(--sidePadding);
    }
    .direction__department,
    .direction__doctor {
        width: 100%;
        left: 0;
    }
	.direction__doctor{
		right:0;
	}
    .footer__input {
        width: 35rem;
    }
    .footer__btn {
        padding: 1.2em 2em;
    }
}

@media only screen and (max-width: 1024px) {
     :root {
        /* Space */
        --sidePadding: 3.5%;
    }
    /* nav */
    .nav {
        width: 100%;
        left: 0;
    }
    .logo {
        width: 10rem;
    }
    /* slider */
 
    .home__content {
        margin-top: 1rem;
    }
    /* about */
    .about__feature {
        margin-right: 3%;
    }
    .about__icon {
        width: 6rem;
    }
    .numbers__list {
        padding: 2rem 1rem;
    }
    .numbers__item {
        padding: 0 3rem 2rem;
    }
    .insurance__list {
        grid-template-columns: repeat(4, 1fr);
    }
    /* appointment */
    .appointment__contact {
        display: none;
    }
    /* department */
    .department__list {
        width: 90%;
        margin: var(--horizontalSpace) auto;
    }
    /* doctor */
    .doctors__list {
        width: 90%;
    }
    /* SERVICE */
    .services__item {
        width: 40%;
    }
    .service__subtitle {
        flex-direction: column;
        align-items: flex-start;
    }
    .services__list {
        padding-right: unset;
    }
    .services__image {
        margin-right: 5rem;
    }
    /* news */
    .news__list {
        justify-content: unset;
    }
    .news__item {
        margin-right: 1rem;
    }
    /* contact */
    .contact__form {
        width: 70%;
    }
    .footer__input {
        width: 30rem;
    }
    .footer__btn {
        padding: 1.4em 2em;
    }
    .news__item--page {
        width: 30%;
        margin-right: unset;
    }
}
.doctors__image{
	min-height:30%;
}


/* ipad */


@media only screen and (max-width: 834px) {
     :root {
        font-size: 75%;
        /* Font Size */
        --largeTitle: calc(2rem + 2.5vw);
        --mediamTitle: calc(0.9rem + 0.8vw);
        --smallTitle: calc(1.2rem + .2vw);
        --bodyTitle: calc(2.2rem + 1.2vw);
        --subTitle: calc(1.2rem + 0.4vw);
        --buttonfont: calc(1.1rem + 0.4vw);
    }
    .nav__menu {
        display: none;
    }
    .mobile-nav {
        display: block;
    }
    .nav__menu {
        visibility: hidden;
    }
    .logo__image {
        width: 10rem;
    }
    .mobile-nav__menu {
        position: absolute;
        left: 0;
        width: 100%;
        background: white;
        max-height: 0;
        transition: all .5s;
        overflow: auto;
        display: none;
    }
    .mobile-nav__open {
        max-height: 90vh;
        padding-top: 0.5em;
        margin-top: 0.6rem;
    }
    .mobile-nav__item {
        padding: .8em 2em;
        border-top: 1px solid #fef;
    }
    /* important */
    .menu-item {
        padding: .8em 2em;
        border-top: 1px solid #fef;
    }
    /*  */
    .nav {
        width: 100%;
        left: 0
    }
	.home__content {
		position: absolute;
		padding: 0 var(--sidePadding);
		z-index: 2;
		filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.4));
		transform: translateY(0%) scale(0.8);
		max-width: 85%;
	}
    .about {
        padding: var(--horizontalSpace) var(--horizontalSpace) var(--sidePadding);
    }
    .section-description,
    .about p {
        max-width: 100%;
    }
    .about__feature {
        width: 47%;
    }
    .about--edit {
        padding-top: 6rem !important;
    }
    .insurance {
        padding: var(--horizontalSpace) var(--horizontalSpace) var(--sidePadding);
    }
    .insurance__list {
        grid-template-columns: repeat(3, 1fr);
        column-gap: 1rem;
    }
    .appointment__image {
        display: none;
    }
    /* ###### */
    .appointment__input {
        width: 49%;
        margin: 0 0 2rem 0;
    }
    .appointment__input:nth-child(even) {
        margin-right: 1%;
    }
    .wpcf7-form-control-wrap {
        width: 100% !important;
        margin: 0 !important;
    }
    /* ######### */
    .news__item:nth-child(even) {
        margin-right: 0;
        width: 50%;
    }
    .appointment__input--fix,
    .contact__input--fix {
        order: -1;
    }
    .appointment__cta {
        margin-right: 0;
    }
    .appointment__textarea::placeholder {
        font-size: var(--smallTitle);
    }
    .appointment__textarea {
        margin-right: 0;
        margin: 0;
    }
    .appointment__contact {
        display: none;
    }
    .department {
        padding: var(--horizontalSpace) var(--horizontalSpace) var(--sidePadding);
    }
    .doctors {
        padding: var(--horizontalSpace) var(--horizontalSpace) var(--sidePadding);
    }
		.doctors__item{
		width:95%;
			margin:0 auto;
	}
    .doctors__descrption {
        font-size: var(--smallTitle);
    }
    .doctors__info {
        padding-bottom: 1em;
    }
    .doctors__image {
        height: 35rem;
        width: 100%;
    }
    /* service */
    .services {
        padding: var(--horizontalSpace) var(--horizontalSpace) var(--sidePadding);
    }
    .services__details {
        width: 100%;
        padding-top: 0;
    }
    .services__image {
        display: none;
    }
    .services__item {
        width: 47%;
    }
    .news {
        padding: var(--horizontalSpace) var(--horizontalSpace) var(--sidePadding);
    }
    .news__list {
        flex-wrap: wrap;
    }
    .news__item {
        width: 45%;
        margin: 0 5% 5rem 0;
    }
    .contact__boxing {
        padding: var(--horizontalSpace) var(--horizontalSpace) var(--sidePadding);
    }
    .contact__form {
        width: 60%;
    }
    .contact__input {
        width: 100%;
        margin: 0 2% 2rem 0;
    }
    .contact__button {
        margin-top: 1rem;
    }
    .footer__input {
        width: 100%;
        margin-bottom: 1rem;
    }
    .footer__btn {
        padding: 0.8em 2em;
    }
    .news__button {
        margin-top: 0;
    }
    .contact__textarea {
        width: 100%;
        margin-right: 0;
    }
    .mobile-nav__open {
        max-height: 55vh;
    }
    .contact__form {
        width: 95%;
    }
    .contact__information {
        width: 40%;
    }
    .news--page {
        padding-top: 9rem;
    }

}

@media only screen and (max-width:640px) {
     :root {
        --sidePadding: 3%;
        --horizontalSpace: 2rem
    }
    .nav {
        padding-right: 1.5em;
    }
    .about__feature {
        width: 100%;
    }
    .numbers__item {
        padding: 2rem 1.5rem;
    }
    .insurance__list {
        grid-template-columns: repeat(2, 1fr);
    }
    .appointment__input {
        width: 100%;
        margin-right: 0;
    }
    .appointment__input:nth-child(even),
    .appointment__textarea {
        margin-right: 0;
        width: 100%;
    }
    .appointment {
        padding-bottom: 2rem;
    }
    .appinment__svg {
        width: 2.9rem;
    }
    .news {
        padding-bottom: 2rem;
    }
    .contact__container {
        flex-direction: column;
    }
    .contact__form {
        width: 100%;
        margin-bottom: 3rem;
        text-align: right;
    }
    .contact__information {
        width: 100%;
		 margin-left: 0;
    }
    .footer__input {
        width: 100%;
        margin-bottom: 1rem;
    }
    .footer__btn {
        padding: 1em 2em;
    }
    .footer__facebook,
    .footer__twitter,
    .footer__instagram,
    .footer__linkedin,
    .footer__youtube {
        width: 5rem;
        height: 5rem;
    }
	.direction{
		padding:0;
	}
/* 		.doctors__item {
    margin: 1rem 0;

} */
}

@media only screen and (max-width:520px) {
     :root {
        --mediamTitle: calc(1rem + 0.8vw);
        --bodyTitle: calc(1.9rem + 1.2vw);
        --largeTitle: calc(1.7rem + 2.5vw);
    }
    .actionbar__lang {
        margin-bottom: 2rem;
    }
    .actionbar {
        justify-content: center;
        padding-bottom: 1em
    }
    .actinbar__link {
        margin-right: 1rem;
    }
    .actionbar__item--divided {
        width: 100%;
        justify-content: center;
    }
    .home__content {
        padding-left: 10%;
    }
    .direction {
        padding: 0;
    }
    .insurance__name {
        font-size: 1rem;
    }
    .home__title {
        max-width: 80%;
    }
    .numbers__item {
        padding: 0 2rem 2rem;
    }
    .direction__department,
    .direction__doctor {
        padding: 0 0.5rem;
    }
    .services__item {
        width: 100%;
    }
    .service__subtitle {
        flex-direction: unset;
        align-items: baseline;
    }
    .news__item {
        width: 100% !important;
    }
    .footer__facebook,
    .footer__twitter,
    .footer__instagram,
    .footer__linkedin,
    .footer__youtube {
        width: 3.5rem;
        height: 3.5rem;
    }
    .footer__sm {
        width: 1.7rem
    }
    .contact__form {
        text-align: right;
    }
    /* #########
    .contact__button {
        margin-top: unset;
    } */
    .footer__form {
        margin-bottom: 5rem;
    }
    .direction__next,
    .direction__back {
        width: 2rem;
    }
    .footer__info {
        width: 90%;
    }
    .footer-title {
        line-height: 3rem;
    }
    .footer-description {
        line-height: 2rem;
        margin-top: 1rem;
    }
    .appointment__call,
    .appointment__whatsapp,
    .appointment__submit {
        height: 3rem
    }
    .numbers__list {
        padding: 2rem 0;
    }
	.home__content {
		padding-right: 0;
		padding-left: 0;
		width: 100%;
		max-width: unset;
		transform: translateY(-5%) scale(0.8);
	}
	
}
@media (max-width:400px) {
	.doctors__image {
		height: 30rem;}
}


@media only screen and (orientation: landscape) {
    .home__content {
        margin-top: 0;
    }
}

@media (max-height:450px) and (min-aspect-ratio: 13/9) {
    .nav__link {
        font-size: 0.9rem
    }
}