@font-face {
    font-family: 'iransans';
    src: url('../fonts/IRANSans.ttf') format('truetype');
}

.parallax-test {
    background-image: url("../images/tests-lab.png");
    min-height: 400px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.parallax-contact {
    background-image: url("../images/banner-contactus.jpg");
    min-height: 400px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#parallax-question {
    background-image: url("../images/question.jpg");
    min-height: 400px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#contactUs ul {
    list-style-type: none;
    direction: rtl;
    float: right;
    text-align: right;
    padding: 20px;
}

#ul-test {
    list-style-type: none;
    text-align: right;
    padding: 20px;
}

h1 {
    font-weight: 600;
    color: #444;
    margin-bottom: 20px;
}

h2 {
    font-weight: 600;
    color: #2f60bb;
    margin-bottom: 20px;
}

h3 {
    font-weight: 600;
    color: #444;
    margin-bottom: 20px;
}

h4 {
    font-weight: 600;
    color: #444;
    margin-bottom: 20px;
}

h5 {
    font-weight: 600;
    color: #444;
    margin-bottom: 20px;
}

h6 {
    font-weight: 600;
    color: #444;
    margin-bottom: 20px;
}

p {
    font-weight: 400;
    line-height: 20px;
    color: #777;
}

.section-title.center .title-container .title {
    /*padding: 0 30px;
    padding-top: 30px;*/
    /*text-align: right;*/
    position:relative;
}

    .section-title.center .title-container .title div {
       
        border: solid black .5px;
        padding: 10px;
        width: 100%;
        height: 100px;
    }
        .section-title.center .title-container .title div::before {
            content: '';
            width:100%;
            height:100%;
            position:absolute;
            top:0;
            left:0;
            background-image: url(../../images/page-cover.jpg);
            background-size: cover;
            filter: contrast(0.5);
            z-index:-1;
        }

.h2-title {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #fff;
}

.p-title {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #fff;
}

        .section-title.center .title-container .title div h2 {
            /*text-align: right;*/
            color: white;
        }

        .section-title.center .title-container .title div p {
            /*text-align: left;*/
            color: white;
            font-weight: bold;
        }

.wpcf7-text {
    width: 220px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 8px 10px;
    border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    -webkit-border-radius: 2px;
}

/*.ContentMainSubLeft {
    width: 50%;
    float: right;*/
/*}*/

.wpcf7-submit {
    border: 0px solid;
    border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    font: 12px 'Open Sans', Arial, sans-serif;
    text-transform: uppercase;
    line-height: 11px;
    color: #000000;
    padding: 10px 17px;
    cursor: pointer;
    -webkit-transition: all 0.2s ease 0s;
    -moz-transition: all 0.2s ease 0s;
    -o-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
    /*transition: all 0.2s ease 0s;*/
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}


.gallery .grid_4.portfolio-style-gallery {
    margin-right: 1px;
    margin-left: 1px;
    margin-bottom: 2px;
    width: 312px;
}

    .gallery .grid_4.portfolio-style-gallery:last-child {
        margin-bottom: 60px;
    }

    .gallery .grid_4.portfolio-style-gallery .portfolio {
        width: 100%;
        position: relative;
    }

.read-more-btn {
    background: #f6f6f6;
    float: left;
    cursor: pointer;
    margin-top: 12px;
}

    .read-more-btn a {
        float: left;
        color: white;
        border-radius: 3px;
        padding: 4px 8px 3px;
        font-size: 11px;
        line-height: 11px;
        display: block;
        height: 20px;
        box-sizing: border-box;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        -o-box-sizing: border-box;
        font-family: 'iranian Sans';
        background-color: #2f60bb;
    }



    .read-more-btn:hover a {
        color: #fff !important;
    }

.btn-optional {
    background-color: #2f60bb;
    color: white;
    line-height: 40px;
    height: 40px;
    width: 220px;
    box-sizing: border-box;
    border-radius: 2px;
    padding: 0;
}

.read-more-btn {
    background: #f6f6f6;
    float: left;
    cursor: pointer;
    margin-top: 12px;
}

.ContentMainSub {
    width: 90%;
    direction: rtl;
    font-family: 'iranian Sans';
    min-height: 500px;
}

.ContentMain3Sub {
    width: 33%;
    float: left;
}

    .ContentMain3Sub a {
        color: #0097d9;
        font-family: 'iranian Sans';
        font-size: 12px;
    }

    .ContentMain3Sub h1 {
        background-position: center top;
        padding: 3px;
        text-align: center;
        background-color: #FFFFFF;
        font-size: 16px;
        color: #2f60bb;
        width: 79%;
        margin-left: 10%;
        float: left;
    }

.ContentMain3MainSub {
    width: 34%;
    float: left;
}

    .ContentMain3MainSub a {
        color: #0097d9;
        font-family: 'iranian Sans';
        font-size: 12px;
    }

    .ContentMain3MainSub h1 {
        background-position: center top;
        padding: 3px;
        background-color: #FFFFFF;
        background-image: url('../img/header-bg.png');
        background-repeat: repeat-x;
        font-size: 16px;
        color: #0097d9;
        width: 79%;
        margin-left: 10%;
        float: left;
    }

.ListBoxConten {
    background-position: center top;
    border-style: none;
    margin-top: 10px;
    width: 80%;
    height: 200px;
    background-image: url('../img/header-bg.png');
    background-repeat: repeat-x;
    text-align: right;
}

.ListBoxConten-en {
    background-position: center top;
    border-style: none;
    margin-top: 10px;
    width: 80%;
    height: 200px;
    background-image: url('../img/header-bg.png');
    background-repeat: repeat-x;
    text-align: left;
}

.TextBoxConten {
    background-position: center top;
    border-style: none;
    margin-top: 10px;
    width: 80%;
    height: 200px;
    background-image: url('../img/header-bg.png');
    background-repeat: repeat-x;
    text-align: left;
}


.TestTab {
    width: 550px;
}

    .TestTab Td {
        margin: 1px;
        padding: 3px 3px 3px 20px;
        border: 1px solid #C0C0C0;
        background-position: center top;
        background-image: url('../img/header-bg.png');
    }


        .TestTab Td a {
            color: #000000;
            font-weight: bold;
            font-size: 14px;
        }

        .TestTab Td:hover {
            background-color: #FFE1FF;
            color: #000000;
            border-right-color: #0097d9;
            border-left-color: #0097d9;
            border-right-style: dashed;
            border-left-style: dashed;
        }

article ul li span {
    float: right;
}

article p span {
    float: right;
}

.main-btn-hover {
    background: #2f60bb;
    color: white;
    font-family: iransans;
}

    .main-btn-hover:hover {
        background: #2f60bb;
        color: white;
    }

.font-awsome-color {
    color: #2f60bb;
}

.text-black {
    color: black !important;
}

.dropdown-toggle::after {
    display: none;
}

.service-div:hover {
    background: #2f60bb !important;
}

.social-media-icons li a:hover {
    background-color: darkblue !important;
}

/*.footer-a-links li span:hover{
    color:darkblue !important;
}*/

.footer-a-links li a:hover span, .footer-a-links li span:hover, .footer-a-links li a:hover {
    color: darkblue !important;
}

.gallery {
    padding: 0 8px;
}

    .gallery .grid_4.portfolio-style-gallery {
        margin-right: 1px;
        margin-left: 1px;
        margin-bottom: 2px;
        width: 312px;
    }

        .gallery .grid_4.portfolio-style-gallery:last-child {
            margin-bottom: 60px;
        }

        .gallery .grid_4.portfolio-style-gallery .portfolio {
            width: 100%;
            position: relative;
        }

#service-div-1, #service-div-2, #service-div-3, #service-div-4 {
    background: #f8f9fa;
}

.course-1-item {
    -webkit-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
}

    .course-1-item figure {
        position: relative;
        margin-bottom:0px;
    }

    .course-1-item .category {
        background: #51be78;
        padding: 20px;
    }

        .course-1-item .category h3 {
            color: #fff;
            font-size: 20px;
            margin-bottom: 0;
        }

    .course-1-item .price {
        position: absolute;
        bottom: 0;
        right: 0;
        -webkit-transform: translatey(-100%);
        -ms-transform: translatey(-100%);
        transform: translatey(-100%);
        padding: 10px 20px;
        background: #183661;
        color: #fff;
    }

    .course-1-item .course-1-content {
        padding: 20px 40px;
        text-align: center;
        background-color: white;
    }

        .course-1-item .course-1-content h2 {
            margin: 0 0 30px 0;
            font-size: 18px;
            color: #000;
        }

        .course-1-item .course-1-content .rating {
            text-align: center;
        }

            .course-1-item .course-1-content .rating > span {
                display: inline-block;
                margin: 2px;
            }

        .course-1-item .course-1-content .desc {
            font-size: 13px;
            color:black
        }

.site-section {
    padding: 2.5em 0;
}

@media (min-width: 768px) {
    .site-section {
        padding: 4em 0;
    }
}

.site-section.site-section-sm {
    padding: 3em 0;
}

.site-section-heading {
    padding-bottom: 20px;
    margin-bottom: 0px;
    position: relative;
    font-size: 2.5rem;
}

@media (min-width: 768px) {
    .site-section-heading {
        font-size: 3rem;
    }
}

.ml-5px {
    margin-left: 5px;
}

.color-orange {
    color: white !important;
    background-color: #8214bd;
    padding-top: 3px;
    padding-bottom: 3px;
}

.color-blue {
    color: #2f60bb !important;
}

.backcolor-blue {
    background-color: #2f60bb !important;
}

.backcolor-orange {
    background-color: #2f60bb !important;
}

.clear-10 {
    height: 10px;
    width: 100%;
    background-color: white;
}

.color-white {
    color: white !important;
}

.color-black {
    color: black !important;
}

.latest-news-widget-area h5 {
    margin-bottom: 30px;
}

.latest-news-widget-area .widget-single-blog-post {
    margin-bottom: 30px;
}

    .latest-news-widget-area .widget-single-blog-post .widget-post-thumbnail {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 58px;
        flex: 0 0 58px;
        min-width: 58px;
    }

    .latest-news-widget-area .widget-single-blog-post .widget-post-content a {
        display: block;
        color: #57595c;
        margin-bottom: 5px;
        font-size: 14px;
        font-weight: 400;
    }

    .latest-news-widget-area .widget-single-blog-post .widget-post-content:hover a, .latest-news-widget-area .widget-single-blog-post .widget-post-content:focus a {
        color: #006cff;
    }

    .latest-news-widget-area .widget-single-blog-post .widget-post-content p {
        font-size: 12px;
        color: #006cff;
        margin-bottom: 0;
        font-weight: 500;
    }

.widget-post-thumbnail {
    width: 70px;
    height: 70px;
    margin-right: 30px;
}


.blog-post-thumbnail .img-container img {
    max-height: 200px;
    max-width: 300px;
}

.single-blog-area {
    position: relative;
    z-index: 1;
}

.blog-post-thumbnail .img-container {
    display: flex;
    justify-content: center;
    height: 200px;
    width: 100%;
}

.single-blog-area .blog-post-thumbnail {
    position: relative;
    z-index: 1;
}


.single-blog-area .post-content {
    position: relative;
    z-index: 1;
    padding: 50px 20px;
}

    .single-blog-area .post-content .post-author {
        width: 58px;
        height: 58px;
        position: absolute;
        z-index: 5;
        border-radius: 50%;
        top: -29px;
        left: 20px;
    }

        .single-blog-area .post-content .post-author a {
            border-radius: 50%;
        }

            .single-blog-area .post-content .post-author a img {
                border-radius: 50%;
                box-shadow: 0 3px 5px rgba(0, 0, 0, 0.15);
            }

    .single-blog-area .post-content .headline {
        font-size: 22px;
        margin-bottom: 15px;
        color: #081f3e;
        display: block;
    }

    .single-blog-area .post-content .comments {
        font-size: 12px;
        color: #57595c;
        text-decoration: underline;
        font-weight: 300;
    }

.blog-post-thumbnail {
}

.post-content {
    direction: rtl;
    text-align: right;
    padding: 0 !important;
    padding-top: 10px;
}

.about2 p {
    color: white !important;
}

.post-author .headline:hover {
    color: #2f60bb;
}

.site-div {
    background-color: white;
    width: 33%;
    padding: 5px;
    opacity: .90;
    border-radius: 10px;
}

#owl-demo .item {
    /*background: #42bdc2;*/
    padding: 30px 0px;
    margin: 10px;
    color: #FFF;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    text-align: center;
}

.owl-dots .owl-dot span {
    display: none !important;
}

.ltr-content {
    direction: ltr !important;
}

.color-black {
    color: black !important;
}

.latest-news-widget-area h5 {
    margin-bottom: 30px;
}

.latest-news-widget-area .widget-single-blog-post {
    margin-bottom: 30px;
}

    .latest-news-widget-area .widget-single-blog-post .widget-post-thumbnail {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 58px;
        flex: 0 0 58px;
        min-width: 58px;
    }

    .latest-news-widget-area .widget-single-blog-post .widget-post-content a {
        display: block;
        color: #57595c;
        margin-bottom: 5px;
        font-size: 14px;
        font-weight: 400;
    }

    .latest-news-widget-area .widget-single-blog-post .widget-post-content:hover a, .latest-news-widget-area .widget-single-blog-post .widget-post-content:focus a {
        color: #006cff;
    }

    .latest-news-widget-area .widget-single-blog-post .widget-post-content p {
        font-size: 12px;
        color: #006cff;
        margin-bottom: 0;
        font-weight: 500;
    }

.medilife-emergency-card {
    padding: 50px 30px;
}

    .medilife-emergency-card i {
        font-size: 70px;
        display: block;
        margin-bottom: 50px;
        color: #ffffff;
    }

    .medilife-emergency-card h2 {
        font-size: 28px;
    }

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .medilife-emergency-card h2 {
        font-size: 20px;
    }
}

@media only screen and (max-width: 767px) {
    .medilife-emergency-card h2 {
        font-size: 20px;
    }
}

.medilife-emergency-card h3 {
    font-size: 34px;
    color: #ffffff;
    margin-bottom: 0;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .medilife-emergency-card h3 {
        font-size: 20px;
    }
}

@media only screen and (max-width: 767px) {
    .medilife-emergency-card h3 {
        font-size: 20px;
    }
}

.TestAlpha a {
    width: 50px !important;
    text-align: center !important;
    border: 1px solid #2f60bb;
    border-radius: 3px;
}


    .TestAlpha a:hover {
        background-color: #2f60bb;
        color:white
    }

.box-search-container {
    display: flex;
    justify-content: space-around;
    margin:20px 0
}

    .box-search-container h3 {
        text-align: right;
        padding-right: 10px;
    }

@media only screen and (max-width: 768px) {
    .box-search-container {
        flex-direction: column;
    }

        .box-search-container h3 {
            font-size: 1.25rem;
            text-align:center;
        }

    .box-search-container .box-search{
        text-align:center
    }

    .TableTest{
        flex-wrap:wrap
    }

    .TestTab{
        width:90%;
    }
}