@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/eot/IRANSansWeb_Black.eot');
    src: url('../fonts/eot/IRANSansWeb_Black.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('../fonts/woff2/IRANSansWeb_Black.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('../fonts/woff/IRANSansWeb_Black.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/IRANSansWeb_Black.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: bold;
    src: url('../fonts/eot/IRANSansWeb_Bold.eot');
    src: url('../fonts/eot/IRANSansWeb_Bold.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('../fonts/woff2/IRANSansWeb_Bold.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('../fonts/woff/IRANSansWeb_Bold.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/IRANSansWeb_Bold.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/eot/IRANSansWeb_Medium.eot');
    src: url('../fonts/eot/IRANSansWeb_Medium.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('../fonts/woff2/IRANSansWeb_Medium.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('../fonts/woff/IRANSansWeb_Medium.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/IRANSansWeb_Medium.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/eot/IRANSansWeb_Light.eot');
    src: url('../fonts/eot/IRANSansWeb_Light.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('../fonts/woff2/IRANSansWeb_Light.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('../fonts/woff/IRANSansWeb_Light.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/IRANSansWeb_Light.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 200;
    src: url('../fonts/eot/IRANSansWeb_UltraLight.eot');
    src: url('../fonts/eot/IRANSansWeb_UltraLight.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('../fonts/woff2/IRANSansWeb_UltraLight.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('../fonts/woff/IRANSansWeb_UltraLight.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/IRANSansWeb_UltraLight.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/eot/IRANSansWeb.eot');
    src: url('../fonts/eot/IRANSansWeb.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('../fonts/woff2/IRANSansWeb.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('../fonts/woff/IRANSansWeb.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/IRANSansWeb.ttf') format('truetype');
}

@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";
body {
    font-family: "IRANSans", sans-serif;
    background: #fafafa;
    direction: rtl;
    font-size: 14px;
    text-align:right;
}

p {
    font-family: "IRANSans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7em;
    color: #000000;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "IRANSans", sans-serif;
    line-height: 2;
}

.bg-gray {
    background-color: #D9D9D9;
}

.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 20px;
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.search-input {
    width: 100%;
    border: 0;
    border-radius: 7px;
    height: 50px;
}

.search-icon {
    position: absolute;
    font-size: 25px;
    margin-top: 12px;
    margin-right: 10px;
}

.search-btn {
    position: absolute;
    font-size: 15px;
    padding: 4px 12px;
    margin-top: 10px;
    color: #fff;
    left: 10px;
    border: 0;
    background-color: #383838;
    border-radius: 7px;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

.navbar-nav {
    border-bottom: 1px solid #ccc;
}

.login-btn {
    background: #0E20FF;
    border-radius: 8px;
}

.login-continar {
    padding: 15px 10px;
    float:left;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #0E20FF;
    border-bottom: 1px solid #0E20FF;
}

.navbar-light .navbar-nav .nav-link {
    color: #383838;
}

@media all and (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: none;
    }
    .navbar .nav-item:hover .dropdown-menu {
        display: block;
    }
    .navbar .nav-item .dropdown-menu {
        margin-top: 0;
    }
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1.5rem !important;
    }
    .dropdown-toggle::after {
        right: 10px !important;
    }
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1.2rem !important;
    }
}


/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

#sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    left: -250px;
    height: 100vh;
    z-index: 999;
    background: #7386D5;
    color: #fff;
    transition: all 0.3s;
    overflow-y: scroll;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}

#sidebar.active {
    left: 0;
}

#dismiss {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #7386D5;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#dismiss:hover {
    background: #fff;
    color: #7386D5;
}

.overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.overlay.active {
    display: block;
    opacity: 1;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #6d7fcc;
}

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid #47748b;
    text-align: right;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 14px;
    display: block;
}

#sidebar ul li a:hover {
    color: #7386D5;
    background: #fff;
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: #fff;
    background: #6d7fcc;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 14px !important;
    padding-left: 30px !important;
    background: #6d7fcc;
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 14px !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.download {
    background: #fff;
    color: #7386D5;
}

a.article,
a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}

.doctor-crad {
    background: #F7F8FF;
    box-shadow: 0px 0px 20px rgba(107, 107, 107, 0.12);
    border-radius: 80px 8px 8px 8px;
    width: 95%;
    min-height: 300px;
    margin: auto;
    display: flex;
    margin-top: 20px;
    margin-bottom: 20px;
    flex-direction: column;
    padding-bottom:10px;
}

.doctor-img {
    padding: 10px;
    border-radius: 80px 8px 8px 8px;
}

.doctor-crad:hover {
    box-shadow: 0px 0px 20px rgba(107, 107, 107, 0.5);
}

.doctor-img img {
    width: 100%;
    height: 150px;
    border-radius: 80px 8px 8px 8px;
}

.doctor-card-body {
    display: flex;
    text-align: right;
    padding: 0 10px;
    flex: auto;
    flex-direction: column;
    justify-content: flex-end;
}

.doctor-card-status {
    padding: 2px 4px;
    height: 18px;
    border-radius: 4px;
    margin: 0 2px;
    font-size: 8px;
}

.green {
    background: #00B733;
}

.gray {
    background: #D9D9D9;
}

.doctor-card-status-holder {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.expert-crad {
    background: #F7F8FF;
    border-radius: 8px 32px 8px 8px;
    width: 90%;
    height: 100px;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
}

.experts-section {
    background: #E4E4E4;
    padding-top: 20px;
    padding-bottom: 20px;
}

.expert-img img {
    border-radius: 50%;
    width: 50px;
    border: 2px solid #fff;
    height: 50px;
    position: absolute;
    bottom: -15px;
}

.expert-img img:nth-child(3) {
    left: 50px;
}

.expert-img img:nth-child(2) {
    left: 90px;
}

.expert-img img:nth-child(1) {
    left: 130px;
}

.expert-img p {
    border-radius: 50%;
    width: 50px;
    border: 2px solid rgba(56, 56, 56, 0.5);
    height: 50px;
    position: absolute;
    bottom: -30px;
    left: 10px;
    background-color: #fff;
    text-align: center;
    padding: 10px;
}

.Bestdr .slick-prev {
    top: 370px;
    left: 46%;
}

.experts .slick-prev {
    top: 170px;
    left: 46%;
}

.Bestdr .slick-next {
    top: 370px;
    right: auto;
    left: 52%;
}

.experts .slick-next {
    top: 170px;
    right: auto;
    left: 52%;
}

.Bestdr .slick-prev:before,
.Bestdr .slick-next:before,
.experts .slick-prev:before,
.experts .slick-next:before {
    color: #000 !important;
}

.article-crad {
    position: relative;
    width: 90%;
    height: 320px;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

.article-img {
    position: absolute;
    padding: 10px;
    top: 25px;
    display: flex;
    max-height: 200px;
}

.article-card-body:hover {
    box-shadow: 0px 0px 20px rgba(107, 107, 107, 0.5);
}

.article-img img {
    width: 100%;
    border-radius: 8px 80px 8px 8px;
}

.article-card-body {
    background: #F7F8FF;
    box-shadow: 0px 4px 20px rgba(107, 107, 107, 0.16);
    border-radius: 96px 12px 12px 12px;
    text-align: right;
    padding: 80px 20px;
    height: 200px;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.article-href {
    position:absolute;
    text-align: left;
    color: #0E20FF;
    bottom: 7px;
    left: 25px;
}

.footer {
    border-top: 1px solid #ccc;
    padding-top: 30px;
}

footer {
    text-align: center;
    padding: 3px;
    background-color: #383838;
    color: white;
}



.subscribeModal {
    position: fixed;
    z-index: 1000;
    padding-top: 9%;
    width: 100%;
    height: 100%;
    background-image: url(/img/modal-bg.png);
    top: 0;
    right: 0;
    display: none;
    overflow-y: auto;
}

    .search-div .close, .subscribeModal .close {
        position: absolute;
        top: -20px;
        right: -8px;
        z-index: 2;
        border: 1px solid #ccc !important;
        border-radius: 50% !important;
        padding: 6px 10px !important;
        background-color: #f00 !important;
        opacity: 1;
    }

        .search-div .close:hover, .subscribeModal .close:hover {
            background-color: #FFD32E !important;
        }


@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fadeInModal {
    display: block !important;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;
}

.fadeOutModal {
    display: none !important;
    -webkit-animation: fade-out 1s;
    animation: fade-out 1s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@-webkit-keyframes fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}


.doctor-card-body > h6 {
    font-size: 0.8rem !important;
    text-align: center;
    line-height: 1.5;
}
.article-card-body > h6 {
    margin-top:25px;
    font-size: 0.9rem !important;
    text-align: center;
    line-height: 1.5;
}
.doctor-card-body > p {
    font-size: 10px !important;
    text-align: center;
}
@media (max-width: 767px) {
    .doctor-card-status-holder {
        flex-direction: column; /* Display items in a column on mobile */
    }
    .doctor-card-status {
        width: 100%;
        margin: 2px auto;
    }
    .doctor-crad {
        height: 310px !important;
    }
}

.carouselImg {
    min-height: 135px;
    width: 100%;
    border-radius: 15px;
}
.rounded-pill {
    border-radius: 1rem !important;
}

@media only screen and (max-width : 480px) {
    .loadingImg {
        position: fixed;
        text-align: center;
        top: 40%;
        left: 50%;
        width: auto !important;
        transform: translate(-50%,-50%);
    }
}

.load-wrapp {
    position: fixed;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.letter-holder {
    /*display: none;*/
    position: fixed;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    background-color: #00000096;
    width: 100%;
    height: 100%;
}

.letter {
    display: inline-block;
    font-size: 1.5rem;
    color: white
}

.load-6 .letter {
    animation-name: loadingF;
    animation-duration: 1.6s;
    animation-iteration-count: infinite;
    animation-direction: initial;
}

.l-1 {
    animation-delay: 0.48s;
}

.l-2 {
    animation-delay: 0.6s;
}

.l-3 {
    animation-delay: 0.72s;
}

.l-4 {
    animation-delay: 0.84s;
}

.l-5 {
    animation-delay: 0.96s;
}

.l-6 {
    animation-delay: 1.08s;
}

.l-7 {
    animation-delay: 1.2s;
}

.l-8 {
    animation-delay: 1.32s;
}

.l-9 {
    animation-delay: 1.44s;
}

.l-10 {
    animation-delay: 1.56s;
}

@keyframes loadingF {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.loadingImg {
    position: fixed;
    text-align: center;
    top: 40%;
    color: white;
    left: 50%;
    transform: translate(-50%,-50%);
}