﻿/* Banner Row */
.bn-row {
    max-height: 470px;
    overflow: hidden;
}

/*.bn-row img {
        max-width: 100%;
        width: 100%;
    }*/

/* Slider Style */
#slider-div {
    max-width: 100%;
    /*height: 420px;*/
    overflow: hidden;
}

#slider {
    min-width: 100%;
    min-height: 100%;
    overflow: hidden;
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
}

#slider ul {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    display: inline-block;
    float: left;
}

#slider ul li {
    margin: 0;
    padding: 0;
    list-style-type: none;
    float: left;
    border: 0;
    display: inline-block;
}

#slider ul li img {
    border: 0;
    padding: 0;
    margin: 0;
    max-width: 100%;
    min-height: 100%;
}

#slider a {
    width: 45px;
    height: 45px;
    margin: 10px;
    position: absolute;
    top: 42%;
    outline: 0;
    opacity: 0.3;
    z-index: 100;
}

#slider a:hover {
    opacity: 1;
}

#subuprev {
    left: 0;
    background: url("img/arrow_prev.png") no-repeat;
    cursor: pointer;
    position: relative;
}

#subunext {
    right: 0;
    background: url("img/arrow_next.png") no-repeat;
    cursor: pointer;
    position: relative;
}

#sliderBulet {
    height: 30px;
    position: absolute;
    right: 10px;
    top: 20px;
    overflow: hidden;
}

#sliderBulet>div {
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
    border: 0;
    cursor: pointer;
    margin-right: 5px;
    float: left;
    background: url("img/bullet_grey.png") no-repeat;
    text-align: center;
}

.bulletactive {
    background: url("img/bullet_yellow.png") no-repeat !important;
}

.slider-title {
    width: 60%;
    position: absolute;
    left: 60px;
    bottom: -100px;
    z-index: 2;
    /*background: url("black-dot.png");*/
    padding: 0px;
    font-family: IRANSans, Tahoma, Arial;
    font-size: 32px;
    font-weight: 500;
    color: #fff;
}

/* Button Row */
.button-row {
    background: #F7F8FA;
    padding: 15px 0;
}

.button-row .ui.orange.button {
    padding: 10px 25px;
    display: block;
    direction: rtl;
    font-size: 18px;
    line-height: 50px;
}

.ui.button.orange i {
    font-size: 32px;
    background: #fff;
    border-radius: 50%;
    display: inline-block;
    padding: 10px;
    color: #0CB8B6;
    float: right;
}

/* Agahi Item */
a.agahi-item {
    margin-bottom: 19px;
    display: block;
    width: 100%;
    padding: 20px 30px;
    color: #666;
    text-align: right;
}

a.agahi-item h3 {
    margin: 5px 0 5px;
    font-size: 16px;
}

a.agahi-item span {
    font-size: 12px;
    font-weight: 500;
}

a.agahi-item:last-child {
    margin-bottom: 0;
}

a.agahi-item.agahi-green {
    background: url("img/agahi-green.png") no-repeat center center;
    background-size: contain;
}

a.agahi-item.agahi-green h3 {
    color: #2FAA65;
}

a.agahi-item.agahi-yellow {
    background: url("img/agahi-yellow.png") no-repeat center center;
    background-size: contain;
}

a.agahi-item.agahi-yellow h3 {
    color: #EABE11;
}

a.agahi-item.agahi-blue {
    background: url("img/agahi-blue.png") no-repeat center center;
    background-size: contain;
}

a.agahi-item.agahi-blue h3 {
    color: #35A5DE;
}

a.agahi-item.agahi-red {
    background: url("img/agahi-red.png") no-repeat center center;
    background-size: contain;
}

a.agahi-item.agahi-red h3 {
    color: #C32B24;
}

/* Featue Row */
.feature-item {
    display: block;
    color: #333;
    transition: all 0.5s;
    background: #fff;
}

.feature-item:hover {
    background: #E82624;
    transform: translateY(-8px);
    color: #fff;
}

.feature-icon {
    width: 80px;
    height: 80px;
    padding-top: 20px;
    text-align: center;
    display: inline-block;
}

.feature-icon span {
    font-size: 60px;
    color: #4187ff;
    transition: all .3s;
}

.feature-item:hover .feature-icon span {
    color: #fff;
}

/* Music Style */
.music-row {
    margin-bottom: 15px;
    position: relative;
}

.music-pic {
    width: 80px;
    float: right;
    margin-left: 10px;
    position: relative;
}

.music-pic img {
    max-width: 80px;
}

.music-play {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.45);
    display: inline-block;
    color: #fff;
    border-radius: 20px;
    font-size: 20px;
    text-align: center;
    line-height: 45px;
    top: 50%;
    right: 50%;
    margin: -20px -20px 0 0;
}

.music-info {
    float: right;
    font-size: 13px;
}

.music-info h4,
.music-info small {
    margin: 0 0 12px;
    display: block;
}

.music-info h4 {
    font-size: 13px;
}

.music-info span {
    font-weight: 500;
}

.music-row .ui.basic.orange.button {
    padding: 5px;
    position: absolute;
    left: 0;
    bottom: 0;
    font-size: 12px !important;
}

/* Home page styles */
section.buttons-row {
    margin: 1em auto 0;
}

.action-buttons-home .search-dr-btn>a {
    border-radius: 5px;
}

.action-buttons-home.col-md-12 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row-reverse;
}

.articles-btn.col-sm-3,
.patient-login-btn.col-sm-3,
.doctors-login-btn.col-sm-3,
.search-dr-btn.col-sm-3 {
    width: 250px;
}

.articles-btn.col-sm-3 a,
.patient-login-btn.col-sm-3 a,
.doctors-login-btn.col-sm-3 a,
.search-dr-btn.col-sm-3 a {
    padding: 15px 8px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 10px;
}

.articles-btn.col-sm-3 a>i,
.patient-login-btn.col-sm-3 a>i,
.doctors-login-btn.col-sm-3 a>i,
.search-dr-btn.col-sm-3 a>i {
    font-size: 24px;
}

section.feature-row.mrg30T .container {
    width: 90%;
    margin: 0 auto;
}

.specialties-section.row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}



.specialties-section.row .boxes.text-center.pad15A.feature-item.feature-section {
    background: #fff;
    box-shadow: 0 0 12px -4px #c8c8c8;
    /* border: 1px solid #4187ff; */
    border-radius: 10px;
    transition: all .3s;
}

.feature-item.feature-section h3 {
    color: #4187ff;
    font-size: 15px;
}

.feature-item:hover h3 {
    color: #fff;
}

.televisit-description h2,
.televisit-certificates h2 {
    color: #1b03a3;
}

.televisit-description.col-md-7 p,
.televisit-description.col-md-7 ul {
    font-size: 14px;
    text-align: justify;
    font-weight: normal;
}

.certificates-approvals {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.certificates-approvals>a {
    border: 1px solid #d4d4d4;
    border-radius: 15px;
    padding: 10px;
    width: 120px;
    text-align: center;
    margin: 0 5px;
}

.certificates-approvals>a img {
    text-align: center;
    margin: 0 auto;
}

.search-dr-btn .ui.button {
    background: #ef476f;
    color: #fff;
    border: 1px solid #ef476f;
    transition: all .3s;
}

.doctors-login-btn .ui.button {
    background: #ffb703;
    color: #fff;
    border: 1px solid #ffb703;
    transition: all .3s;
}

.doctors-login-btn .ui.button:hover {
    background: #fff;
    border: 1px solid #ffb703;
    color: #ffb703;
}

.patient-login-btn .ui.button {
    background: #06d6a0;
    color: #fff;
    border: 1px solid #06d6a0;
    transition: all .3s;
}

.patient-login-btn .ui.button:hover {
    background: #fff;
    color: #06d6a0;
}

.articles-btn .ui.button {
    background: #118ab2;
    color: #fff;
    transition: all .3s;
    border: 1px solid #118ab2;
}

.articles-btn .ui.button:hover {
    background: #fff;
    color: #118ab2;
}

.boxes.text-center.pad15A.feature-item.feature-section:hover {
    background: #4187ff;
}

.boxes.text-center.pad15A.feature-item.feature-section:hover .feature-icon span {
    color: #fff;
}

.specialties-section.row .boxes.text-center.pad15A.feature-item.feature-section:hover {
    background: #4187ff;
}

.specialties-section.row .boxes.text-center.pad15A.feature-item.feature-section:hover span.flaticon-medical-teeth2 {
    color: #fff;
}

.search-dr-btn.col-sm-3 a.ui.button.clearfix:hover {
    background: #fff;
    border: 1px solid #ef476f;
    color: #ef476f;
    box-shadow: none;
}

.body-content.pusher.home-page {
    background: #fff !important;
}

.homepage-desc {
    color: #C40234;
    border-top: 2px solid #C40234;
    margin-top: 18px;
    text-align: justify;
}

.ui.divider-homepage {
    border-bottom: 1px solid rgb(65 135 255);
    margin: 1.5em auto 0;
    width: 100%;
}

/* ------------------------------------ */
@media(min-width:1200px) {
    .feature-section {
        height: 180px;
    }

    .specialties-section.row .feature-col {
        width: 200px;
        height: 200px;
        border-radius: 5px;
    }

    .feature-col {
        width: 20%;
        margin-bottom: 0;
    }

}

@media(min-width:992px) and (max-width:1199px) {
    .button-row .ui.orange.button {
        padding: 25px 20px;
        font-size: 16px;
    }

    .ui.table {
        font-size: 12px;
    }

    .agahi-item {
        margin-bottom: 30px;
    }

    .news-list li {
        margin-bottom: 23px;
    }

    .news-list li:last-child {
        margin-bottom: 20px;
    }

    .news-list li a {
        font-size: 12px;
    }
}

@media (min-width: 390px) and (max-width: 430px) {

    .articles-btn.col-sm-3,
    .patient-login-btn.col-sm-3,
    .doctors-login-btn.col-sm-3,
    .search-dr-btn.col-sm-3 {
        width: 190px;
        margin: 5px;
        padding: 0;
    }
}

@media(max-width: 1024px) {

    .articles-btn.col-sm-3,
    .patient-login-btn.col-sm-3,
    .doctors-login-btn.col-sm-3,
    .search-dr-btn.col-sm-3 {
        width: 215px;
    }

    .specialties-section.row .col-md-3 {
        width: 22%;
        margin: 8px auto;
        padding: 0;
    }
}

@media(max-width: 768px) {

    .articles-btn.col-sm-3,
    .patient-login-btn.col-sm-3,
    .doctors-login-btn.col-sm-3,
    .search-dr-btn.col-sm-3 {
        width: 325px;
        margin: 5px;
    }
}

@media(max-width:398px) {
    .body-content {
        padding: 10px 0;
        background-color: #ebebeb !important;
    }

    section.buttons-row {
        margin: 0 auto;
    }

    section.buttons-row {
        margin: 0 auto;
    }

    section.feature-row.mrg30T {
        margin-top: 15px !important;
    }

    .specialties-section.row .feature-col {
        width: 180px;
        height: auto;
        border-radius: 5px;
        padding: 0;
        margin: 5px;
    }

    .specialties-section.row .boxes.text-center.pad15A.feature-item.feature-section {
        border-radius: 5px;
        background: #d4eaff;
        width: 180px;
        height: 180px;
        transition: all .3s;
        margin: 5px;
    }
}

@media(max-width:991px) {
    .news-box {
        margin-bottom: 30px !important;
    }
}

@media(min-width:768px) and (max-width:991px) {
    .button-row .ui.orange.button {
        padding: 10px 15px;
        font-size: 15px;
    }

    .agahi-item {
        margin-top: 15px;
        margin-bottom: 0;
        width: 50%;
        float: right;
        padding: 0 10px;
    }

    .feature-row.mrg30T {
        margin-top: 10px !important;
    }

    .feature-item {
        margin-top: 20px;
    }

    .articles-btn.col-sm-3,
    .patient-login-btn.col-sm-3,
    .doctors-login-btn.col-sm-3,
    .search-dr-btn.col-sm-3 {
        width: 325px;
        margin: 5px;
        padding: 0;
    }

    .specialties-section.row .boxes.text-center.pad15A.feature-item.feature-section {
        width: 160px;
        height: 180px;
        margin: 0;
    }
}

@media screen and (min-width: 769px) {
    .body-content {
        padding: 0 0 30px;
        background: #F7F8FA !important;
    }


}

@media(max-width:768px) {
    .button-row {
        height: auto;
    }

    .button-row .ui.orange.button {
        padding: 25px;
        font-size: 16px;
        margin-bottom: 15px;
    }

    .button-row {
        padding: 30px 0 15px;
    }

    .agahi-item {
        margin-bottom: 0;
        margin-top: 15px;
    }

    .feature-item {
        margin-bottom: 0;
    }

    .specialties-section.row .boxes.text-center.pad15A.feature-item.feature-section {
        border-radius: 5px;
        background: #fff;
        transition: all .3s;
        width: 160px;
        height: 160px;
    }

    .news-row.mrg30T {
        margin-top: 15px !important;
    }

    .footer-row .col-sm-4,
    .footer-row .col-sm-3 {
        margin-bottom: 25px;
    }

    .specialties-section.row .feature-col {
        padding: 0;
        margin: 5px;
    }

    .specialties-section.row .col-md-3 {
        width: 23%;
        margin: 5px;
        padding: 0;
    }

}

@media(max-width:480px) {
    .feature-item.feature-section h3 {
        margin-top: 0;
    }

    .feature-icon {
        padding-top: 0;
    }

    .certificates-approvals>a {
        height: 110px;
        margin: 5px auto;
    }

    .body-content {
        padding: 12px 0;
    }

    section.buttons-row {
        margin: 0 auto;
    }

    .body-content.pusher section.feature-row.mrg30T {
        margin-top: 0 !important;
    }

    .articles-btn.col-sm-3,
    .patient-login-btn.col-sm-3,
    .doctors-login-btn.col-sm-3,
    .search-dr-btn.col-sm-3 {
        width: 180px;
        margin: 5px 5px;
        padding: 0;
    }

    section.feature-row.mrg30T .container {
        width: 100%;
        margin: 0 auto;
    }

    .specialties-section.row .boxes.text-center.pad15A.feature-item.feature-section {
        width: 180px;
        height: 160px;
        margin: 5px auto;
    }

    .specialties-section.row .col-md-3 {
        width: 44%;
    }

}

@media(max-width: 410px) {

    .articles-btn.col-sm-3,
    .patient-login-btn.col-sm-3,
    .doctors-login-btn.col-sm-3,
    .search-dr-btn.col-sm-3 {
        width: 155px;
        margin: 5px auto;
        padding: 0;
    }
}

@media(max-width:391px) {
    section.feature-row.mrg30T .container {
        width: 100%;
    }

    .specialties-section.row {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        width: 100%;
        margin: 0 auto;
    }

    .specialties-section.row .feature-col {
        width: 100%;
        margin: 0 auto;
    }

    .specialties-section.row .boxes.text-center.pad15A.feature-item.feature-section {
        width: 100%;
        margin: 5px auto;
        height: auto;
    }

    a.ui.button.clearfix span {
        font-size: 14px;
    }
}

@media(max-width:320px) {

    .articles-btn.col-sm-3,
    .patient-login-btn.col-sm-3,
    .doctors-login-btn.col-sm-3,
    .search-dr-btn.col-sm-3 {
        width: 135px;
        margin: 5px;
        padding: 0;
    }

    .articles-btn.col-sm-3 a>i,
    .patient-login-btn.col-sm-3 a>i,
    .doctors-login-btn.col-sm-3 a>i,
    .search-dr-btn.col-sm-3 a>i {
        font-size: 20px;
    }

    a.ui.button.clearfix span {
        font-size: 12px;
    }
}