/*
Theme Name: Consulmed Theme
Theme URI: https://Consulmed.org
Description: Consulmed.org
Author: Y & K
Author URI: 
Template: Divi
*/

/* Header */

.admin-bar #contact-us-btn{
    display: none;
}


/* Blue */

.blue .submenu{
	background-color: #2098df;
}

.blue .contact-us-btn .left{
	background-color: #0f89d1;	
}

body.blue #page-container .et_pb_fullwidth_slider_0.et_pb_slider .et_pb_more_button.et_pb_button,
.blue .contact-us-btn,
.blue #top-menu li .sub-menu{
	background-color: #33a9ee;
}

.blue #top-menu > li > a:hover{
	background-color: rgba(51, 169, 238, 0.76);	
}



.et_menu_container{
	padding: 10px 0;
}

.logo_container .logo_helper{
	display: none;
}

.et_header_style_left .logo_container{
    position: relative;
    width: 20%;
}

.et_header_style_left .logo_container,
#header-contact,
.contact-wrapper,
.contact-us-btn{
	display: inline-block;
    vertical-align: middle;
}

.header-contact,
#header-contact {
	text-align: center;
	width: 80%;
}

#header-contact .phone,
#header-contact .email,
#header-contact .skype{
	position: relative;
	display: inline-block;
	padding: 0 10px;
    vertical-align: middle;
}

#header-contact .phone a:hover img,
#header-contact .email:hover img,
#header-contact .skype:hover img{
	top: -3px;
}

#header-contact .phone img{
    filter: invert(27%) sepia(87%) saturate(1538%) hue-rotate(176deg) brightness(94%) contrast(102%);
}

#header-contact .phone a,
#header-contact .email a,
#header-contact .skype a{
	font-size: 14px;
	color: #333;
}

#header-contact .phone a span,
#header-contact .email a span,
#header-contact .skype a span{
	padding-left: 5px;
}

#header-contact .phone img, 
#header-contact .email img, 
#header-contact .skype img {
	top: 0;
	position: relative;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}


.footer-contact{
}


.footer-contact .phone a,
.footer-contact .email a,
.footer-contact .skype a{
    font-size: 14px;
    color: #333;
}

.footer-contact .phone a span,
.footer-contact .email a span,
.footer-contact .skype a span{
    padding-left: 10px;
}

.footer-contact .phone img, 
.footer-contact .email img, 
.footer-contact .skype img {
    top: 0;
    position: relative;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}


.contact-us-btn{
	background-color: #0088ce;
    -webkit-border-radius: 5px;
            border-radius: 5px;
    overflow: hidden;
    position: relative;
    right: -32px;
    cursor: pointer;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.contact-us-btn:hover{
	background-color: #0073ae;
}

.contact-us-btn:hover .left{
	background-color: #0088ce;
}

.contact-us-btn-wrapper{
	display: flex;
	-webkit-flex-direction: row;
	    -ms-flex-direction: row;
	        flex-direction: row;
	-webkit-justify-content: center;
	        justify-content: center;
	-webkit-align-content: center;
	        align-content: center;
}

.contact-us-btn .left, 
.contact-us-btn .right{
	text-align: center;
}

.contact-us-btn .left{
    background: #0073ae;
    margin: 0;
    padding: 0 10px;
    display: flex;
    -webkit-justify-content: center;
            justify-content: center;
    -webkit-align-items: center;
            align-items: center;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.contact-us-btn .right{
	padding: 10px 20px;
    line-height: 18px;
    border-top: 1px solid #0088ce;
    border-right: 1px solid #0088ce;
    border-bottom: 1px solid #0088ce;
    -webkit-border-top-right-radius: 5px;
            border-top-right-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
            border-bottom-right-radius: 5px;
    -webkit-border-top-left-radius: 0;
            border-top-left-radius: 0;
    -webkit-border-bottom-left-radius: 0;
            border-bottom-left-radius: 0;
}

.contact-us-btn .right span{
	display: block;
}

.contact-us-btn img{
	height: 35px;
	width: 35px;
}

.contact-us-btn .btn-title{
	color: #FFF;
	font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    vertical-align: middle;
}

.contact-us-btn .btn-subtitle {
    font-size: 14px;
    color: #FFF;
    text-transform: none;
    font-weight: normal;
}

#et-top-navigation,
#et-top-navigation{
	padding-left: 0px !important;
	float: none;
	width: 100%;
	text-align: center;
}

#main-header .submenu{
	background-color: #2ea3f2;
    border-top: 1px solid #0088ce;
 	border-bottom: 1px solid #006599;
}

.submenu .container{
	text-align: center;
}

.submenu #top-menu-nav,
.submenu #top-menu{
	float: none !important;
}

#et_slide_in_menu_container.submenu-wrapper {
    padding: 0;
}

#top-menu{
	display: flex;
    -webkit-flex-direction: row;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-justify-content:  space-around;
            justify-content:  space-around;
    -webkit-align-items: stretch;
            align-items: stretch;
}

#top-menu > li {
	position: static;
    display: inline-block;
    padding-right: 0;
    font-size: 14px;
    width: 100%;
}

#top-menu li .sub-menu{
	position: absolute;
	left: 0;
	width: 100%;
	border: none;
    background: #2ea3f2;
    border-top: 1px solid #006599;
}

#top-menu li .sub-menu li {
    width: 19%;
}

#main-header #top-menu li ul a{
	color: #FFF;
}

#top-menu a{
	color: #FFF;
    padding: 20px;
}

.et_mobile_menu li a:hover, 
.nav ul li a:hover,
#et-info-email:hover,
#et-secondary-menu>ul>li>a:hover, 
#top-menu-nav>ul>li>a:hover, 
.et-social-icons a:hover{
	opacity: 1;
}

#top-menu > li > a:hover {
    background-color: #2ea3f2;
}

#et-secondary-nav .menu-item-has-children>a:first-child:after, 
#top-menu .menu-item-has-children>a:first-child:after{
    top: 50%;
    -webkit-transform: translateY(-50%);
       -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
         -o-transform: translateY(-50%);
            transform: translateY(-50%);
    right: 15px;
}


/* Speciality block */

#speciality{
	
}

.specialty-wrapper{
    display: flex;
    color: #fff;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.specialty-item {
    height: 200px;
    border: 1px solid red;
    flex: 1 0 33%;
    color: #fff;
    display: flex;
}

.specialty-item a {
    color: #fff;
    margin: auto;
}

.site-heading h2 {
    font-weight: 700;
    padding-bottom: 20px;
    position: relative;
    text-transform: uppercase;
}

.site-heading h2 span {
    color: #00acc0;
}

.site-heading h2::after {
  background: #00838f none repeat scroll 0 0;
  bottom: 0;
  content: "";
  height: 2px;
  left: 50%;
  margin-left: -25px;
  position: absolute;
  width: 40px;
}

.site-heading h2::before {
  background: #0097a7 none repeat scroll 0 0;
  bottom: 0;
  content: "";
  height: 2px;
  left: 50%;
  margin-left: 20px;
  position: absolute;
  width: 5px;
}

.ourplus-img{
	min-height: 170px;
}

.custom-li-nobg ul,
.custom-ul ul{
    padding: 0 !important;
}

.custom-li-nobg li,
.custom-ul li {
    list-style: none;
    background: url('img/li.svg') no-repeat left center;
    -webkit-background-size: contain;
         -o-background-size: contain;
            background-size: contain;
    height: 30px;
    padding-left: 40px;
    margin: 10px auto;
    display: inline-block;
}

.custom-li-nobg li{
    background: url('img/li-blue.svg') no-repeat left center;
    -webkit-background-size: contain;
     -o-background-size: contain;
        background-size: contain;
}

.custom-li-nobg .custom-li-nobg-green li{
    background: url('img/li.svg') no-repeat left center;
    -webkit-background-size: contain;
         -o-background-size: contain;
            background-size: contain;
}

/* .custom-ul.et_pb_module:after{
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-image: url(/wp-content/themes/Divi-Child/img/bg.svg);
    opacity: 0.3;
    z-index: -1;
} */

/*** Take out the divider line between content and sidebar ***/
#main-content .container:before {background: none;}

/*** Hide Sidebar for archive pages ***/
.archive #sidebar {display:none;}

/*** Hide Sidebar for all pages ***/
.page  #sidebar {display:none;}

/*** Hide Sidebar for single posts ***/
.single  #sidebar {display:none;}

/*** Hide Sidebar for category archive pages ***/
.category  #sidebar {display:none;}

/*** Hide Sidebar project category archive pages ***/
.tax-project_category  #sidebar {display:none;}

/*** Hide Sidebar for 404 pages ***/
.error404  #sidebar {display:none;}
 
/*** Hide Sidebar ***/
#sidebar {display:none;}
 
/*** Expand the content area to fullwidth ***/
@media (min-width: 981px){
    #left-area {
        width: 100%;
        padding: 23px 0px 1px !important;
        float: none !important;
    }
}


h1.entry-title {
    width: 100%;
    background: #006591;
    padding: 30px 20px;
    color: #fff;
    border-bottom: 5px solid #fff;
}

.border-top{
    border-top: 1px solid #eee;
}

.show-wrapper {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.show-wrapper-img {
    width: 50px;
    margin: 5px 15px;
}

.show-wrapper-content {
    margin: auto;
}

/* Carousel */


.carousel{
    display: none;
}

.carousel .all-post-item {
    overflow: hidden;
    -webkit-border-radius: 5px;
            border-radius: 5px;
    margin: 0 auto;
    max-width: 95%;
    display: flex !important;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
}

.carousel .all-post-img {
    width: 100%;
    height: 200px;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}

.flex-row{
    display: flex;
}

.carousel .center{
    width: 100%;
}

.carousel.slick-initialized .slick-slide {
    display: block;
    text-align: center;
}

.carousel .all-post-title {
    text-align: center;
    font-size: 14px;
    line-height: 1rem;
    padding: 5px 5px;
    background-color: #2ea3f2;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
}

.carousel .all-post-title a{
    color: #FFF;
}

.carousel .show-wrapper-content {
    margin: auto;
    width: 70%;
    font-size: 14px;
    line-height: 1rem;
    padding: 0px 5px;
}

.carousel .show-wrapper {
    display: flex;
    flex-direction: row;
}

.carousel .show-wrapper-img {
    display: flex;
    padding: 5px;
    width: 30%;
    margin: auto;
    justify-content: center;
}

.carousel .show-wrapper-img img {
    height: 30px;
}

.slick-prev svg, 
.slick-next svg{
    position: relative;
    top: -25px;
}

.all-post-item .right {
    display: flex;
    flex-direction: column;
    width: 45%;
    justify-content: space-between;
    background: #f5f5f5;
}

.all-post-item .left {
    width: 55%;
    border-right: 3px solid #f5f5f5;
}

.all-post-item .left,
.all-post-item .right{
    overflow: hidden;
}

.all-post-item .meta-info {
    display: flex;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
}

.zapis, .full-info {
    text-align: center;
    font-size: 14px;
    line-height: 1rem !important;
    padding: 5px;
    background-color: #0073ae;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 17px;
}

.zapis {
    font-size: 18px;
    background-color: #42c10b;
    cursor: pointer;
    padding: 10px 5px;
}

.full-info a{
    color: #fff;
}

.all-post-item .spec {
    text-align: center;
    font-size: 14px;
    line-height: 1rem;
    padding: 5px 5px;
    background-color: #0072ae;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 18px;
}

.archive .carousel{
    display: block;
    margin: 10px auto;
    flex-wrap: wrap;
    width: 50%;
    flex-direction: row;
}

.archive .carousel .all-post-item{
    max-width: 100%;
    padding: 0px 10px;
    -webkit-flex-direction: row;
        -ms-flex-direction: row;
            flex-direction: row;
}

.speciality,
.archive #left-area{
    display: flex;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    padding-bottom: 50px !important;
}

.speciality .carousel {
    display: block;
    width: 25%;
    margin: 10px auto;
}

.speciality .all-post-item .spec a{
    color: #FFF;
}

.archive .all-post-item .spec{
    font-size: 14px; 
}

.archive .zapis{
    font-size: 16px;
}

.archive .full-info{
    font-size: 14px;
}

.archive .all-post-item .spec,
.archive .zapis,
.archive .full-info{
    padding: 10px 5px;
}

.archive .carousel .all-post-img{
    height: 250px;
}

.archive .carousel .all-post-title{
    font-size: 16px;
    padding: 5px 5px;
}


/* Contact popup */
/* Terms and Promocode */

#discount {
    display: none;
    width: auto;
    font-size: 12px;
    height: 30px;
}
.terms,
.discount {
    /* table-layout: fixed; */
    
    cursor: pointer;
    display: inline-block;
    margin: 5px auto;
    padding: 5px;
    border: 1px solid transparent;
    border-radius: 3px;
    width: 100%;
}
.discount {
    margin: 0;
    padding: 0 5px 5px 5px;
}
.terms .terms-checkbox,
.discount .discount-checkbox {
    background: url("./img/contacts-plus.png") no-repeat scroll 0 -691px rgba(0, 0, 0, 0);
    height: 24px;
    opacity: 0.8;
    width: 24px;
    display: inline-block;
    vertical-align: middle;
}
.terms .terms-content,
.discount .discount-content {
    display: inline-block;
    padding-left: 5px;
    text-align: left;
    vertical-align: middle;
}
.terms .terms-content > a {
    text-decoration: underline;
}
.terms .terms-checkbox-checked,
.discount .discount-checkbox-checked {
    background: url("./img/contacts-plus.png") no-repeat scroll 0px -469px rgba(0, 0, 0, 0);
}

#contact-us-btn h2{
    padding: 0;
}

.title > .center{
    text-align: center;
}

.contact-row .field {
    margin-bottom: 10px;
}

#contact-us-btn input,
#contact-us-btn select,
#contact-us-btn textarea,
#contact-us-btn input {
    border:1px solid #DDE3E6;
    border-radius:3px;
    box-shadow:0 1px 0 rgba(0,0,0,.05) inset;
    font-size:18px;
    font-weight:400;
    line-height:20px;
    padding:7px 20px;
    width:100%;
}

#contact-us-btn  .wpcf7-submit{
    background-color: #ccc;
    color: #fff;
    border: none;
    cursor: pointer;
}

#contact-us-btn  .wpcf7-submit.valid{
    background-color: #42c10b;
}

#footer-widgets .footer-widget li{
    padding-left: 0;
}

#footer-widgets .footer-widget li:before{
    display: none;
}

#contact-us-btn{
    max-width: 600px;
}

#contact-us-btn .popup-title{
    background-color: #0b6fc1;
    padding-top: 1vh!important;
    padding-bottom: 1vh!important;
}


#contact-us-btn .popup-title h2{
    text-transform: uppercase;
    color: #ffffff!important;
}

#contact-us-btn .popup-row1{
}

#contact-us-btn .popup-row2{
    padding: 27px 0;
    position: relative;
    width: 80%;
    max-width: 1080px;
    margin: auto;    
}

div.wpcf7 .ajax-loader{
    
}

div.wpcf7-response-output{
    margin-top: 10px;
}

.grecaptcha-badge {
    opacity: 0;
}

.single .single-title{
    position: relative;
}

.single .single-zapis {
    position: absolute;
    right: 30px;
    top: 50%;
    -webkit-transform: translateY(-50%);
       -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
         -o-transform: translateY(-50%);
            transform: translateY(-50%);
    background: #0188ce;
    color: #FFF;
    padding: 10px 20px;
    font-size: 24px;
    border-radius: 10px;
    cursor: pointer;
}

.single .single-zapis:hover{
    background-color: #079fef;
}

.social-widget-area ul.et-social-icons {
    float: none;
    margin: 20px 0 10px 0;
    border-top: 1px dashed #c6c6c6;
    padding: 10px 0;
    text-align: left;
}

.social-widget-area ul.et-social-icons li{
    padding: 0;
    margin: 0;
}

.social-widget-area .et-social-icons li a span{
    margin-left: 13px;
    text-decoration: none;
    display: inline-block;
}


#footer-widgets .footer-widget li{
    display: block;
}

@media (max-width: 980px){

    #header-contact,
    #main-header .logo_container{
        width:  100%;
        text-align: center; 
    }

    #header-contact{
        margin-top: 10px;
    }

    .et_header_style_left #logo, 
    .et_header_style_split #logo{
        max-width: 300px;
        width: 100%;
    }

    #header-contact .phone a span, 
    #header-contact .email a span, 
    #header-contact .skype a span{
        font-size: 12px;
    }

    #header-contact .phone, 
    #header-contact .email, 
    #header-contact .skype{
        width: 100%;
    }

    #header-contact .contact-wrapper{
        text-align: left;
    }

    #header-contact .contact-wrapper p{
        text-align: center;
    }

    #header-contact .contact-us-btn{
        right: 0;
        margin: 10px auto;
    }

    .archive .carousel{
        width: 100%;
    }

    #et_mobile_nav_menu{
        display: none;
    }

    #top-menu{
        -webkit-flex-direction: column;
            -ms-flex-direction: column;
                flex-direction: column;
    }
    
    .speciality .carousel,
    .submenu > .container{
        width: 100%;
    }

    #top-menu li .sub-menu li {
        width: 100%;
    }

    #contact-us-btn {
        max-width: 90vw;
    }

    .single .single-zapis{
        position: static;
        transform: none;
        margin: 10px auto;
        display: block;
        text-align: center;
    }

    h1.entry-title{
        border: none;
    }
    
}
