/* TLAČÍTKO */
.et_pb_button {
	line-height: 1em !important;
}

.awardsCeremonyBtn a.et_pb_button {
    color: #0a00f5 !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    background-color: #FFFFFF !important;
    padding: 16px 40px !important;
}
.awardsCeremonyBtn a.et_pb_button:hover {
    padding: 16px 40px !important;
    color: #0a00f5 !important;
}


/* AUTOŘI - O AKADEMII*/
.autoriCont .mcb-column-inner .desc{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
.autor h3 {
    font-size: 20px;
    line-height: 1.4em;
    margin-bottom: 10px;
}

@media only screen and (max-width: 768px) {
    .autoriCont .mcb-column-inner .desc {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
@media only screen and (max-width: 580px) {
    .autoriCont .mcb-column-inner .desc {
        grid-template-columns: 1fr 1fr;
    }
}




/* PŘEDNÁŠKY */
.ast-primary-header-bar {
background-color: #f3f5f5;
}


.single-product .product_meta {
	display: none;
}
.single-product .woocommerce-tabs, .single-product .related {
	display: none !important;
}

.single-product .variations {
	margin-bottom: 30px !important;
}



.prednaska {
    display: inline-block;
    position: relative;
    margin: 10px 0 100px 0;
    width: 100%;
}
.prednaska:hover .prednaskaContent {
    transform: scale(1.01);
    transition: .3s ease;
}
.prednaskaContent {
	background-color: white;
    position: relative;
    width: 85%;
    display: flex;
    align-content: center;
    padding: 40px 30px;
    justify-content: space-between;
    float: right;
    transition: .3s ease;
    align-items: center;
}
.prednaskaThumb {
    position: absolute;
    aspect-ratio: 16/9;
    width: 30%;
    height: 130% !important;
    top: -15%;
    object-fit: cover;
}
.prednaska .datum {
    display: inline-block;
    width: 120px;
    text-align: right;
}
.prednaska .datum .den {
	font-size: 50px;
	line-height: 35px;
	text-align: center;
	margin-bottom: 14px;
	width: 100%;
	float: left;
}
.prednaska .datum .mesic {
	text-transform: uppercase;
	width: 100%;
	text-align: center;
	float: left;
	font-size: 24px;
	line-height: 24px;
	margin-bottom: 0;
}
.prednaska h3 {
	margin-bottom: 0;
    line-height: 33px;
    font-size: 24px;
    text-align: left;
    font-weight: 500;
    width: calc(100% - 150px);
    display: inline-block;
    align-content: center;
}
.prednaska h3 a:hover {
    color: #1b6d9f;
}
.prednaska h3 a span {
    position:absolute; 
    width:100%;
    height:100%;
    top:0;
    left: 0;
    z-index: 1;
}

.prednaskyGridEmpty {
    background-color: white;
    padding: 8px 12px;
    text-align: center;
    width: 100%;
    border: 2px solid #2D7AA8;
}

@media only screen and (max-width: 767px) {
    .prednaskaThumb {
        position: relative;
        width: 100%;
        top: 0;
        display: flex;
    }
    .prednaskaContent {
        width: 100%;
    }
}


.site-primary-footer-wrap {
	display: none !important;
}
.site-below-footer-wrap {
	margin-top: 80px
}

.iframe-container {
  overflow: hidden;
  padding-top: 56.25%;
  position: relative;
	margin-top: 50px;
}
.iframe-container iframe {
  border: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.payment_method_wf-woo-comgate label[for="payment_method_wf-woo-comgate"] img {
	width: 100px
}

.comgate-footer {
	height: 20px !important;
	width: auto;
	margin-right: 20px;
	vertical-align: top;
	margin-top: 4px;
}


#billing_email_field::after {
	content: 'Zadanou e-mailovou adresu si prosím zapamatujte. Bude použita pro přístup k přednášce.';
	margin-top: 5px;
	font-weight: 700;
	font-size: 14px;
	color: #1b6d9f;
}

.current-menu-item .menu-link {
	color: #1b6d9f !important;
}
.menu-link:hover {
	color: #0d4c73 !important;
}


.priceAlert {
	color: #1b6d9f;
	font-size: 16px;
	line-height: 20px;
	width: 100%;
	float: left;
}

#m2_overeni_licence {
	margin: 40px 0;
}
#m2_overeni_licence h3 {
	margin-bottom: 8px !important;
}
#m2_overeni_licence button {
	margin: 15px 3px;
}
#m2_overeni_licence input[type="date"] {
	border-color: #ddd;
background: #fff;
box-shadow: none;
border-radius: 0;
	color: #666;
padding: .75em;
height: auto;
border-width: 1px;
border-style: solid;
}
#m2_overeni_licence .errorLicence, #m2_overeni_licence .alertLicence, #m2_overeni_licence  .successLicence {
	display: none;
}
#m2_overeni_licence .alertLicence {
	margin: 0 3px;
	background-color: #ffc241;
	padding: 10px;
	color: white;
	font-weight: 700;
}
#m2_overeni_licence .errorLicence {
	margin: 0 3px;
	background-color: red;
	padding: 10px;
	color: white;
	font-weight: 700;
}

#m2_overeni_licence  .successLicence {
	margin: 0 3px;
	background-color: #23b14d;
	padding: 10px;
	color: white;
	font-weight: 700;
}


#licence_field label .optional {
	display: none;
	
}
#datum-narozeni_field label .optional {
	display: none;
}

@media only screen and (min-width: 921px) {
	.hide-desktop {display: none !important;}
}


body.single-product #Content {
    padding: 100px 0 !important;
}
body.single-product #Subheader {
    display: none !important;
}
body.single-product .share-simple-wrapper {
    display: none !important;
}
body.single-product .fixed-nav .desc .date {
    display: none !important;
}

body.single-product .amount bdi {
    font-weight: 600;
    margin-bottom: 10px;
    display: inline-block;
}
body.single-product .priceAlert {
    font-weight: 500;
    display: inline-block;
}
body.single-product .woocommerce-product-details__short-description {
    width: 100%;
}
body.single-product .woocommerce-product-details__short-description p {
    margin-bottom: 0;
}
body.single-product .mfn-variations-wrapper {
    margin-top: 10px;
}
body.single-product .woocommerce-variation-add-to-cart {
    margin-bottom: 20px;
}

body.single-product .question {
    border: none !important;
}
body.single-product .question::after {
    display: none !important;
}
body.single-product .question .title {
    display: none;
}
body.single-product .question .answer {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
body.single-product .question .answer .the_content_wrapper {
    margin-left: 0;
}

@media (max-width: 768px) {
    body.single-product .priceAlert {
        width: 100%;
        margin-top: 30px;
    }
    body.single-product .price {
        text-align: left !important;
    }
    body.single-product h1.product_title {
        font-size: 28px !important;
        line-height: 36px !important;
    }
}


/* Ikona košíku v hlavičce */
#Top_bar .top_bar_right #header_cart {
    display: none !important;
}
body.single-product #Top_bar .top_bar_right #header_cart, body.page-id-340 #Top_bar .top_bar_right #header_cart, body.woocommerce-checkout #Top_bar .top_bar_right #header_cart, body.woocommerce-cart #Top_bar .top_bar_right #header_cart, body.woocommerce-shop #Top_bar .top_bar_right #header_cart {
    display: flex !important;
}

/* Ikona košíku v slide menu */
#Side_slide .extras {
    display: none !important;
}


body.woocommerce-checkout #Content, body.woocommerce-cart #Content {
    padding: 120px 0 !important;
}
body.woocommerce-checkout .select2 {
    border: var(--wc-form-border-width) solid var(--wc-form-border-color);
  border-radius: var(--wc-form-border-radius);
  overflow: hidden;
}
body.woocommerce-checkout .select2-selection__rendered {
    line-height: 51px !important;
}
body.woocommerce-checkout .select2-container .select2-selection--single {
    height: 35px !important;
    padding-top: 0;
    padding-bottom: 0;
}
body.woocommerce-checkout .select2-selection__arrow {
    height: 35px !important;
}
body.woocommerce-checkout .select2-container #select2-billing_country-container {
    padding-top: 0;
    padding-bottom: 0;
    line-height: 35px !important;
}

body.woocommerce-checkout #Content h3 {
    font-size: 24px;
    line-height: 32px;
}


body.woocommerce-checkout .payment_method_m2-comgate img {
    height: 24px;
}





/* KONTAKTNÍ FOMRULÁŘ */
#kontaktniFormular input, #kontaktniFormular textarea {
    background-color: #7d6f64;
    color: white;
}
#kontaktniFormular input::placeholder, #kontaktniFormular textarea::placeholder {
    color: #e9d7c9;
}

/* patička na Kontakt */
body.page-id-14 #Footer {
    background-color: #443e3b;
}



/* BLOG */
.photo2 .image_wrapper img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}
#Content .photo2 .category .cat-wrapper ul li a {
    background-color: #1B6D9F !important;
    color: white !important;
    font-weight: 500;
}
#Content .photo2 .category .cat-wrapper ul li a:hover {
    background-color: #2D7AA8 !important;
}

.tagy a {
    display: inline-block;
    padding: 2px 10px;
    background-color: rgba(0, 0, 0, 0.1);
    color: #ac8a62;
    margin-right: 5px;
    transition: .2s ease;
    margin-bottom: 5px;
}
.tagy a:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transition: .1s ease;
    text-decoration: none;
}

.post-footer {
    display: flex;
    justify-content: space-between;
}
.post-footer .date {
    display: flex;
    margin-right: 20px;
}
.post-footer .date .post-date {
    margin-left: 5px;
}


/* asi nepouzito */
.post-footer .autori {
    display: inline;
}
.post-footer .autori a {
    color: #2D7AA8;
}
/*--*/

.post-footer .vcard .fn {
    display: inline-block;
    line-height: 18px;
}

#detailAutori {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    display: inline-block;
    width: 100%;
}
#detailAutori .author-box .avatar-wrapper {
    width: 100px;
    height: 100px;
    margin-right: 10px;
}
#detailAutori .author-box .avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#detailAutori .author-box-wrapper {
    align-items: center;
    display: flex;
}
#detailAutori .author-box-wrapper .desc-wrapper {
    margin-left: 0;
    width: calc(100% - 110px);
}

#detailRelated .ils-grid-layout {
    grid-template-columns: 1fr 1fr 1fr;
}
#detailRelated .ils-grid-title {
    font-size: 21px;
    text-align: left;
}
#detailRelated .ils-grid-thumb-wrap {
    border-radius: 0;
}

#detailZmineneOsoby {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 20px 0;
}
#detailKlicovaSlova {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 20px 0;
}

#detailKlicoveBody {
    margin-bottom: 20px;
}
#detailKlicoveBody ul {
    list-style-type: disc;
}

body.single-post .section_wrapper {
    max-width: 1000px;
}

#related .image_wrapper a img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;   
}

@media only screen and (max-width: 1100px) {
    .photo2 .post-desc-wrapper .post-desc {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    body.home .photo2 .post-desc-wrapper .post-desc {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
}
@media only screen and (max-width: 959px) {
    #detailRelated .ils-grid-layout {
        grid-template-columns: 1fr;
    }
    #detailRelated .ils-grid-layout .ils-grid-item {
        margin-bottom: 20px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 959px) {
  .photo2.col-3 .post-desc-wrapper {
    padding-left: 5px !important;
        padding-right: 5px !important;
  }
}

/* LIVE SEARCH & FILTERS */
.mfn-live-searchform input::placeholder {
    color: #7b7979;
}

#Filters ul.categories li.rozhodci, #Filters ul.categories li.treneri, #Filters ul.categories li.trener-2-tridy-studijni-materialy, #Filters ul.categories li.trener-3-tridy-studijni-materialy {
    display: none;
}


/* FOOTER */
#Footer .widgets_wrapper {
    padding-bottom: 0 !important;
}


/* HP BLOG */
@media only screen and (min-width: 767px) {
    #hpBlog .posts_group .post:first-child {
        display: none !important; 
    }
}
@media only screen and (max-width: 767px) {
    body.home #Header .mfn-main-slider {
        display: none !important; 
    }
}
#hpBlog .posts_group .post {
    float: none;
    display: inline-block;
    vertical-align: top;
}



/* MEDAILONE Autora */
body.single-m2_autori_cpt #Subheader {
    display: none !important;
}
body.single-m2_autori_cpt .fixed-nav {
    display: none !important;
}

#medailonek {
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 0;
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 40px;
    align-items: center;
}

.medailonek-foto {
    aspect-ratio: 1/1;
}
.medailonek-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 100px;
}

.medailonek-obsah h1 {
    font-size: 32px;
    line-height: 38px;
}
.medailonek-obsah h2 {
    font-size: 18px;
    line-height: 18px;
    background-color: #1B6D9F;
    display: inline-block;
    color: white;
    padding: 5px 8px;
}

@media (max-width: 768px) {
    #medailonek {
        grid-template-columns: 1fr;
    }
}



/* HP HERO Gradient */
body.home .mfn-main-slider {
    position: relative;
}
body.home .mfn-main-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 15%;
    background: linear-gradient(0deg,rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 80%, rgba(255, 255, 255, 1) 99%);
    z-index: 10;
}



/* HP Mobile Socials */
.socialsHalf {
    width: 50%;
    float: left;
    display: flex;
    text-align: center;
    color: white;
    justify-content: center;
}
.socialsHalf a {
    color: white;
    text-align: center;
}
.socialsHalf a:hover {
    color: white;
    text-decoration: none;
}


/* FOTOGALERIE */
@media only screen and (max-width: 767px) {
    #fotogalerie #sc_gallery-1 .gallery-item {
        width: 100% !important;
    }
}