/*
Theme Name: Studeon Child
Theme URI: http://studeon.axiomthemes.com/
Description: Studeon - excellent WordPress theme with many different blog and header layouts
Author: AxiomThemes
Author URI: http://axiomthemes.com/
Template: studeon
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: flexible-header, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, full-width-template, microformats, post-formats, theme-options, threaded-comments, translation-ready
Text Domain: studeon
*/


/* =Theme customization starts here
-------------------------------------------------------------- */
*{
    box-sizing: border-box;
}
/* Header */
header #header_main_top {
        background-color: #114d72 !important;
}
header #header_main_top .search_wrap .search_field {
    background-color: #114d72 !important;
    color: #fff;
}

header #header_main_top span{
    color:#fff;
}

header #header_main_top input::placeholder {
  color: #fff; /* Sets the placeholder color to red */
}

.scheme_dark .menu_side_inner, .scheme_dark .menu_mobile_inner {
    background-color: #114d72 !important;
}

.menu_mobile .menu_mobile_nav_area > ul > li > a {
    border-bottom: 1px solid #2f6383;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

.menu_mobile .search_mobile .search_field {
    background-color: #114d72;
    border: 1px solid #2f6383;
}

header .header_main_middle {
    padding-top: 0;
    padding-bottom: 0;
}
header .sc_layouts_row_type_compact .sc_layouts_logo img{
    max-width: 100px;
    max-height: 100px !important;
}

header .sc_layouts_menu_nav > li > a {
    padding-top: 2.1em;
}

@media (max-width: 767px) {
    header .sc_layouts_menu_mobile_button {
        margin-top: 2em;
    }
}

.menu_mobile .menu_mobile_nav_area{
    overflow:auto;
}

/*Home Offer */
.offer_wrapper h2{
    font-size: 1.9em;
    margin-bottom: 2em;
} 
.offer_wrapper .services-list .service-item	{
	       float: left;
    max-width: 33.33%;
     padding: 0.5em;
   
}
.offer_wrapper .services-list .service-item .service_innter{
    border-radius: 8px;
    overflow: hidden;
    position:relative;
}
.offer_wrapper .services-list .service-item	.normal_title{
     position: absolute;
    left: 0;
    width: 100%;
    bottom: 0;
    color: #fff;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 1em;
    text-align: center;
    background: linear-gradient(180deg, rgb(1 38 62 / 52%) 0%, #114d72 100%);
    transition: all .3s;
}

.offer_wrapper .services-list .service-item	.title_excerpt_wrapper{
           position: absolute;
    left: 0;
    width: 100%;
    bottom: -103px;
    color: #fff;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 1em;
    text-align: center;
    background: linear-gradient(180deg, rgb(1 38 62 / 52%) 0%, #114d72 100%);
    transition: all .3s;
     height: 0;
   
}
.offer_wrapper .services-list .service-item:hover	.title_excerpt_wrapper{
     height: 100%;
     bottom: 0;
}

.offer_wrapper .services-list .service-item:hover	.normal_title{
    display:none;
}
.offer_wrapper .services-list .service-item	.service_title{
    color:#fff;
}
.offer_wrapper .services-list .service-item	.service_excerpt{
        margin-bottom: 0.5em;
}
.offer_wrapper .services-list .service-item	.service_link{
    color:#fff;
}
.offer_wrapper .services-list  .service-item .service_image img{
     transition: all .5s;
}
.offer_wrapper .services-list  .service-item:hover img{
        transform: scale(1.5);
}

@media (max-width: 992px) {
.offer_wrapper .services-list .service-item {
    width: 50%;
    max-width: 50%;
}
}

@media (max-width: 767px) {
.offer_wrapper .services-list .service-item {
    width: 100%;
    max-width: 100%;
}
}


/*Home Gallery */
.home_image_gallery .wpb_gallery li.isotope-item{
           position: static !important;
    width: 25%;
    max-width: 25%;
    margin: 0;
}

.home_image_gallery .wpb_gallery li.isotope-item img{
     width: 100%;
    max-width: 100%;
    border-radius:8px;
}

.home_image_gallery .wpb_gallery li.isotope-item a{
        padding: 0.8em;
    border-radius: 8px;
    overflow: hidden;
}

.home_image_gallery .wpb_gallery li.isotope-item a[rel='magnific'] .magnific_wrap{
    position:relative;
      overflow: hidden;
}
.home_image_gallery .wpb_gallery li.isotope-item a[rel='magnific']:before{
    display:none;
}

.home_image_gallery .wpb_gallery li.isotope-item a[rel='magnific'] .magnific_wrap:before{
      content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #2e3038;
    left: 0;
    top: 0;
    opacity: 0;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    transition: all .3s;  
}
.home_image_gallery .wpb_gallery li.isotope-item a[rel='magnific']:hover .magnific_wrap:before{
        background-color: rgb(17 77 114 / 73%);
        opacity:1;
            border-radius: 8px;
}
.home_image_gallery .wpb_image_grid .wpb_image_grid_ul{
    height:auto !important;
}
@media (max-width: 767px) {
.home_image_gallery .wpb_gallery li.isotope-item {
    width: 50%;
    max-width: 50%;
}
}

/* Home Doctor */
.home_doctor_wrapper h2,
.home_doctor_wrapper h3,
.home_doctor_wrapper p{
        color: #fff !important;
}

.home_doctor_wrapper p{
    font-size: 1.09em;
    line-height: 2.2em;
}

.home_doctor_wrapper img{
    border-radius:8px;
}

.home_doctor_wrapper a{
    margin-top: 1em;
    display: inline-block;
    color:#fff;
}

@media (max-width: 992px) {
        .home_doctor_wrapper img{
            margin-bottom:2em;
        }
}

@media (max-width: 767px) {
#home_doctor_wrapper{
    padding-top: 60px !important;
    padding-bottom: 30px !important;
}
}

/* Home Service */
.home_service_wrapper .service_item{
        float: left;
    max-width: 33.3%;
    width: 33.3%;
        padding: 1em;
}
.home_service_wrapper .s-single-services {
    transition: .3s;
    background: #fff;
    position: relative;
    display: flex;
    overflow: hidden;
        min-height: 243px;
}
.home_service_wrapper img {
    border-radius: 8px;
}
.home_service_wrapper .h-service {
    position: absolute;
    left: 0;
    text-align: center;
    width: 100%;
    height: 100%;
    background: rgb(17 77 114 / 74%);
    padding: 0 30px;
    transition: .3s cubic-bezier(.24, .74, .58, 1);
    transform: scaleY(1);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.home_service_wrapper .h-service h5, .home_service_wrapper .services-hover h5
 {
    font-size: 1.09em;
    color: #fff;
    font-weight: 700;
    line-height: 2em;
        text-align: center;
}
.home_service_wrapper .services-hover {
    position: absolute;
    top: 0;
    left: 0;
    padding: 15px 30px;
    background: #114d72;
    height: 100%;
    width: 100%;
    color: #fff;
    transform: scaleY(0);
    opacity: 0;
    transition: .3s cubic-bezier(.24, .74, .58, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius:8px;
}

.home_service_wrapper .s-single-services:hover .services-hover {
    transform: scaleY(1);
    opacity: 1;
}

.home_service_wrapper .h-service p, .home_service_wrapper .services-hover p {
        color: #ffffffba;
    font-weight: 400;
    font-size: 1.08em;
    text-align: center;
    margin-bottom: 0.9em;
}
.home_service_wrapper .services-hover a {
       color: #fff;
    font-size: .98em;
    display: block;
    text-align: center;
}

.home_service_wrapper .services-hover a:hover{
    color:#fc6b4f;
}
@media (max-width: 992px) {
    .home_service_wrapper .service_item{
    max-width: 50%;
    width: 50%;
}
}

@media (max-width: 767px) {
    .home_service_wrapper .service_item{
    max-width: 100%;
    width: 100%;
}
.home_service_wrapper .s-single-services{
    min-height:180px;
}
}


/* Home Why Choose Us*/
.why_choose_wrapper h3{
	    font-size: 1.3em;
    margin-bottom: 0.5em;
}

.why_choose_wrapper h2{
	    font-size: 1.9em;
    margin-bottom: 2em;
}
.why_choose_wrapper .column_wrapper  .wpb_column{
     margin-bottom: 1.8em;
}
.why_choose_wrapper .column_wrapper  .wpb_column .wpb_wrapper{
	position: relative;
    border-radius: 8px;
   
}
.why_choose_wrapper .column_wrapper  .wpb_column .wpb_wrapper .wpb_single_image  img{
        transition: transform 0.8s ease;
}
.why_choose_wrapper .column_wrapper  .wpb_column .vc_column-inner:hover img{
        transform: scale(1.5);
}
.why_choose_wrapper .column_wrapper  .wpb_column .wpb_wrapper h4{
	background-color: transparent;
    background-image: linear-gradient(180deg, #114d726e 0%, #114d72 100%);
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    bottom: 0;
    color: #fff;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

/* about */
.about_wrapper .vc_inner {
	background-color: #f5f5f7;
	padding: 40px;
	border-radius: 30px;
}

.about_wrapper img {
	border-radius: 10px; 
}

.about_wrapper h2,
.about_wrapper p{
    color:#fff !important;
}
.about_wrapper p{
        font-size: 1.1em;
    line-height: 2.2em;
   
}
.about_wrapper a.sc_button,
.home_doctor_wrapper a{
    font-size: 1em;
    padding: 10px 35px;
    min-width: auto;
    text-transform: capitalize;
    background-color: #fff !important;
    color: #114d72 !important;
    border: none !important;
    border-radius: 8px;
}
.about_wrapper a.sc_button:hover,
.home_doctor_wrapper a:hover{
        background-color: #4799cc !important;
    color: #fff !important;
}

@media (min-width: 767px) {
    .about_wrapper h2,
.about_wrapper p{
     padding-left: 80px;
}
}
@media (max-width: 767px) {
    .about_wrapper a.sc_button {
    margin-bottom: 2em;
    }
}

/* Footer */
footer.footer_wrap .vc_col-sm-4{
    float:right;
}
footer.footer_wrap, footer.footer_wrap >.vc_row{
    background-color:#114d72 !important;
}
footer.footer_wrap p{
    font-size: 1.2em;
}
footer.footer_wrap h2,
footer.footer_wrap h3 a,
footer.footer_wrap p{
    color:#fff !important;
}
footer.footer_wrap h3 a{
    font-size: 1em;
}
footer.footer_wrap, footer.footer_wrap .vc_row:nth-child(2){
            border-top: 1px solid #255f83 !important;
    padding-top: 1em;
    padding-bottom: 0.3em;
}
footer.footer_wrap h3{
    margin:0 0 1rem 0;
}
footer.footer_wrap h2{
    font-size: 1.53em;
}
.widget_socials .social_item a{
    background-color: #126da5 !important;
    width: 2em !important;
    height: 2em !important;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50% !important;
}
footer.footer_wrap a:hover{
    color:#fc6b4f !important;
}
.widget_socials .social_item a span{
    color:#fff;
}
.widget_socials .social_item a:hover span{
    color:#fc6b4f;
}
footer.footer_wrap .widget {
    margin:0;
}
@media (min-width: 768px) and (max-width: 959px) {
    footer.footer_wrap .sc_content .wpb_column:not(.vc_col-sm-12) {
        width: 33.33333333% !important;
    }
}
@media (min-width: 768px) and (max-width: 959px) {
    #footer_wrap .sc_content .wpb_column + .wpb_column + .wpb_column {
        margin-top: 0 !important;
        border: none;
        padding-top: 0 !important;
    }
}

@media (max-width: 767px) {
    .footer_wrap .sc_content .wpb_column + .wpb_column + .wpb_column{
                border: none !important;
    }
    #footer_wrap h2,
    #footer_wrap h3,
    #footer_wrap p{
        text-align:center !important;
    }
    #footer_wrap p{
            margin-bottom: 1.9em !important;
    }
    aside {
        margin-top: 1em;
    }
}

@media (max-width: 479px) {
    .footer_wrap .sc_content .wpb_column + .wpb_column {
        border: none !important;
    }
}
/* Single page */
body.single .header_main_bottom,
body.category .header_main_bottom{
        background-color: #114d7226;
}

body.single .page_wrap,
body.category .page_wrap{
        background-color: #fff;
}

body.single .page_content_wrap .content_wrap,
body.category .page_content_wrap .content_wrap {
    max-width: 1000px;
}

body.single .page_content_wrap p, 
body.single .page_content_wrap ul, 
body.single .page_content_wrap ol, 
body.single .page_content_wrap dl, 
body.single .page_content_wrap blockquote, 
body.single .page_content_wrap address {
    margin-bottom: 1em;
}

body.single  .post_featured{
    display:none;
}

html[dir="rtl"] h3.sc_title_title  {
    text-align:right;
}
html[dir="rtl"] .sc_item_title:after {
    left: auto;
    right:0;
}
/* Category.php*/
body.category .category-archive {
    padding: 60px 0;
}

body.category .archive-header {
    text-align: center;
    margin-bottom: 40px;
}

body.category .posts-grid {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 30px;
}

body.category  .post-thumbnail{
        float: left;
        margin-right: 33px;
}
body.category  p{
    margin-bottom:0;
}
html[dir="rtl"] body.category  .post-thumbnail{
        float: right;
        margin-left: 33px;
          margin-right: 0;
}

body.category .archive-post {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background: #114d7214;
}

body.category .post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

body.category .post-content {
    padding: 20px;
}

body.category .post-title {
    font-size: 20px;
    margin: 10px 0;
}

body.category .post-date {
    font-size: 14px;
    color: #888;
}

body.category .read-more {
    display: inline-block;
    margin-top: 15px;
    color: #0073aa;
    font-weight: 600;
    text-decoration: none;
}

body.category .read-more:hover {
    text-decoration: underline;
}

body.category .pagination {
    margin-top: 40px;
    text-align: center;
}
@media (max-width: 767px) {
html[dir="rtl"] body.category .post-thumbnail {
    float: none;
}
}

.scheme_default .sc_layouts_menu_nav>li ul {
    background-color: #ffffff;
    padding: 0;
}
.scheme_default .sc_layouts_menu_nav>li li>a {
    font-size: 0.7em;
    border-bottom: 1px solid #ddd;
}
html[dir="rtl"] .scheme_default .sc_layouts_menu_nav>li li>a {
     text-align: right;
}