/*
Theme Name: Yksmaja
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.19.6
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
h1, h2, h3, h4, h5{font-family:roma, sans-serif;font-weight:400;font-style:normal;}
.banner h1{font-size:3.2em;}
 h2 {
    font-size: 2.4em;
}
.h3, h3 {
    font-size: 1.25em;
}
ul, ol{padding-left:20px;font-size:1rem;}
button, .button, .em-booking-submit{
	    font-family: "roma", sans-serif !important;
}
/*
.home{background-color:#A69F97;}
*/
/*HEADER*/
#logo img{max-height:90px;padding:10px 0;}
.nav-dropdown.nav-dropdown-default>li>a{font-family:"roma", sans-serif;font-size:1.3em;}
.map .section-content:before{content:"";background-image:url(/wp-content/themes/yksmaja/assets/map_curve.svg);position:absolute;bottom:7px;left:0;height:60px;width:128%;z-index:999;left:-20%;}

/*WP EVENTS MANAGER STYLES*/

.event_thumbnail{
    background-image: url(https://yksmaja.ee/wp-content/uploads/2022/02/Helisevad-Sõsarad-1.jpg);
    height: 200px;
    background-size: cover;
    background-position: center;
	    position: relative;
}
.event_item{
	    font-size: 0.8em;
	text-align:left;
}
.event_item .col-inner{
	background: #fff;
    border-radius: 0px;
    overflow: hidden;
    -webkit-box-shadow: 0 30px 40px 0 rgb(1 11 60 / 6%);
    box-shadow: 0 30px 40px 0 rgb(1 11 60 / 6%);
}
.event_item .main_content {
    padding: 10px 15px 0;
}
.event_item h3 {
    line-height: 1.2;
}
.bottom_attributes {
    margin-bottom: 30px;
    display: flex;
    padding: 15px 15px;
    align-items: center;
    justify-content: center;
}
.event_item .col{margin:0; padding:0;}
.bottom_attributes .col.price{ font-size:1.2em;padding-bottom: 20px;}
.bottom_attributes .col.spaces{}
.bottom_attributes .col.book {
    text-align: center;
    position: absolute;
    bottom: 0;
    padding-bottom: 20px;
}
.bottom_attributes .col.book a {
    background: #a69f97;
    padding: 8px 15px;
    border-radius: 24px;
    color: #FFF;
    font-size: 15px;
}
.bottom_attributes .col.book a .icon-angle-right:before {
    font-size: 1.2em;
    font-weight: bold;
    top: 2px;
    position: relative;
}
.event_item .teachers {
    /* bottom: 0; */
    /* position: absolute; */
    /* padding: 5px 20px 5px 15px; */
    /* text-align: right; */
    /* width: 100%; */
    /* background: #13121075; */
    /* width: auto; */
    /* right: 0; */
    /* border-radius: 4px 0 0 0; */
    /* color: #ffffffba; */
    /* font-size: 0.9em; */
    /* z-index: 1; */
    margin-top: -8px;
    margin-bottom: 7px;
}
.event_item .teachers a {
    color: #a69f97;
    font-size: 1.2em;
}
.event_item .spaces {
    /*position: absolute;*/
    font-size: 1.2em;
    bottom: 57px;
    color: #a69f97;
    right: 22px;
}
.thumbnail_link {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.price {
    line-height: unset !important;
    font-size: 1.2em;
}

.event_item a{transition:0.3s;opacity:1;}
.event_item a:hover{opacity:0.7;}

/*SINGLE EVENT*/
.date{font-size:1.2em;}
.em-booking p {
    padding: 0;
    margin: 0;
}

/*HACKS*/
.shop_table .cart-subtotal{display:none;}
#order_review_heading{display:none;}
.em-booking-form-details .ticket-price{display:none;}
/*
body.single-event{background-color:#FFF;}
*/
.wrapper768{max-width:768px;}
.entry-title{text-transform:uppercase;text-shadow:5px 5px 10px #404946;}
.parallax-title{margin-bottom:0;}
.parallax-title .is-divider{display:none !important;}

/*Üks Majast page-id-18*/
/*
.page-id-18 #wrapper, .page-id-18 #main{background-color:#FFF;}
.page-id-18 .banner-layers{height:auto;}
.page-id-18 .parallax-title:before{content:"";background-image:url(/wp-content/themes/yksmaja/assets/top_curve.svg);position:absolute;top:0px;left:0;height:100%;width:100%;z-index:0;left:0;background-repeat:no-repeat;}
*/
.sundmused_list{}
.sundmused_list .banner{border-radius:25px;overflow:hidden;}
/* .home .logo{display:none;} */

/*SOCIAL ICONS*/
.inset{}
.social_container{width:auto;display:flex;position:relative;align-items:center;float:right; padding-right: 100px;}
@media screen and (max-width: 768px) {
.social_container{padding-right: 30px;}
}
.social_links{list-style-type:none;padding:0;margin:0;float:right;width:auto;}
.social_links li{float:left;margin-left:10px !important;}
.social_links li a{position:relative;border:1px solid #FFF;border-radius:3px;width:34px;height:34px;line-height:40px;display:block;transition:0.3s;text-align:center;}
.social_links li a img{max-height:20px;position:absolute;top:20%;left:0;right:0;margin:0 auto;filter:brightness(0) invert(1);}
.social_links li a:hover{background-color:#FFF;}
.social_links li a:hover img{filter:none;}

/*TEACHERS*/
.modal_bottom_content {
    padding: 25px;
}
.modal_hero {
    max-height: 400px;
    overflow: hidden;
}
.teacher_listing{padding-top:35px;}
.teacher_listing .inside{text-align:center;border:1px solid #efe4d6;padding:15px 25px; border-radius:25px;}
.profile_img{width:200px;border-radius:50%;overflow:hidden;height:200px;margin:0 auto;margin-top:-35px;margin-bottom:15px;}
.profile_img img{  filter: grayscale(0%);}
.profile_title{}
 .profile_cats{border-top:1px solid #efe4d6;border-bottom:1px solid #efe4d6;padding:8px 0;font-size:0.8em;margin-top:15px;margin-bottom:15px;}
.profile_cats .flex_row .col{border-left:1px solid #efe4d6;}
.profile_cats .flex_row .col:nth-child(1){border-left:none;}
 .profile_short_desc{margin-bottom:25px;overflow:hidden;-webkit-box-orient:vertical;display:block;display:-webkit-box;overflow:hidden !important;text-overflow:ellipsis;-webkit-line-clamp:3;}
.mfp-container{padding:0 !important;}
.modal_pos_right{float:right;text-align:center;}
.flex_row{display:flex;}
.flex_row .col{flex:auto;padding-top:0;padding-bottom:0;}
.post-edit-link{font-size:12px;font-weight:bold;color:#4caf5040;position:absolute;right:24px;top:5px;text-transform:uppercase;}
.em-booking,.gform_wrapper{padding:15px;background:#efeff747;border:1px solid #efeff7;}
.em-booking-form-details{width:100%;}
.em-booking-form label{display:inline-block;width:100%;}
.gform_wrapper input, .gform_wrapper textarea,.em-booking-form-details input.input, .em-booking-form-details textarea{width:100% !important;}
input[type='checkbox']{width:auto !important;}
body .gform_wrapper .top_label div.ginput_container{margin-top:0 !important;}
.em-booking-submit{width:100% !important;}
.gform_wrapper ul.gform_fields li.gfield{padding:0 !important;margin:0 !important;}
.ginput_container_consent{border-top:1px solid #EEE;}
.gform_wrapper .top_label input.medium, .gform_wrapper .top_label select.medium{width:100%;}
/*
body.page-template-page-boxed-white-blank{background-color:#FFF;}
body.page-template-page-boxed-white-blank #content{max-width:768px;margin:0 auto;}
body.page-template-page-boxed-white-blank .parallax-title{background-color:#a69f97;}
*/

/*HACKS*/
/* .woocommerce-checkout .parallax-title{background-color:#a69f97;}*/
.woocommerce-additional-fields{display:none;}
.shop_table thead{display:none;}
.is_past{display:none;}
.is_past_text{
	    background-color: #EEE;
    padding: 10px;
    text-align: center;
}

/*WOOCOMMERCE CHECKOUT*/
.woocommerce-checkout{padding:15px 15px 0 15px;background:#efeff747;border:1px solid #efeff7;}
.woocommerce-checkout .row .large-7,.woocommerce-checkout .row .large-5{width:100%;max-width:100%;flex-basis:100%;padding-bottom:0;}
.woocommerce-billing-fields__field-wrapper{}
.woocommerce-billing-fields__field-wrapper label{font-size:0.6em;}
.woocommerce-billing-fields__field-wrapper p{clear:none !important;width:45%;margin:0;padding:0;float:left !important;}
.woocommerce-billing-fields__field-wrapper p:nth-child(2n){width:50%;margin-left:5%;}
.woocommerce-privacy-policy-text p{font-size:0.8em;border-top:1px solid #EEE;padding-top:15px;}
.shop_table .cart_item td{font-size:12px;}
.checkout .has-border{border:none;padding:0;}
.payment_methods p {
    font-size: 0.8em;
    margin-top: -8px;
    margin-bottom: 15px;
}
.woocommerce-billing-fields{padding-top:0;border-top:none;}
button#place_order{font-size:0.8em;width:100%;}
.clear_cart_contents{width:100%;display:flex; margin-top:25px;}
.clear_cart_contents a{width:50%;font-size:0.7em;text-transform:uppercase;font-weight:bold;}
.clear_cart_contents a i{font-weight:bold !important;background-color:#efeff7;padding:0 4px;}
.wc_payment_methods{padding:0;}
.mailchimp-newsletter{border-top:1px solid #EEE;border-bottom:1px solid #EEE;padding:5px 0;}
.filters {
    width: auto !important;
    margin: 25px auto 0;
}
.filters a{opacity:0.5;}
.filters a.active{outline:none;opacity:1;color:#fff;-webkit-box-shadow:inset 0 0 0 100px rgb(0 0 0 / 20%);box-shadow:inset 0 0 0 100px rgb(0 0 0 / 20%);opacity:1;}

/*POPUP STYLES*/
.pum-theme-23065 .pum-container, .pum-theme-lightbox .pum-container{border:0 !important;}
.pum-theme-372 .pum-content + .pum-close, .pum-theme-lightbox .pum-content + .pum-close{font-size:16px;line-height:20px;}
.pum-content form{padding:0;margin:0;}
.pum-content{color:inherit !important;font-family:inherit !important;font-weight:inherit !important;}

/*Haack remove Popop border shadow*/
.pum-content.popmake-content:focus-visible, .pum-content *:focus,.pum-overlay .pum-content{outline:none !important;}
@media not all and (min-resolution:.001dpcm){@supports (-webkit-appearance:none){.pum-overlay .pum-content{outline:none !important;}
 }
}
/*Page hero hacks*/
/*.page-id-14.parallax-title .banner,.page-id-16.parallax-title .banner,.page-id-363 .parallax-title .banner,.page-id-18 .parallax-title .banner{background-color:transparent !important;}
.page-id-14.parallax-title .overlay,.page-id-16.parallax-title .overlay,.page-id-363 .parallax-title .overlay,.page-id-18 .parallax-title .overlay{background-color:rgb(0 0 0 / 0%) !important;}
.page-id-363 .parallax-title .banner,.page-id-16 .parallax-title .banner{padding-top:100px !important;}
*/
.three_images .col-inner{border-radius:25px;overflow:hidden;}
/*LABELS*/
.label-new.menu-item > a:after{content:"Uus" !important;}
@media only screen and (max-width:48em){
/*************** ADD MOBILE ONLY CSS HERE ***************/
footer{text-align:center;}
footer p{text-align:center;margin:0;}
.map .section-content:before{height:30px;bottom:0;}
.is-xlarge{font-size:1.4em !important;}
.inset{display:table;margin:0 auto;}
.map .section-content:before{display:none;}
.modal_hero table td{padding:5px;width:100%;font-size:12px;}
.parallax-title .text-box{width:100% !important;}
.info_atts{width:100%;}
.profile_img{width:100px;height:100px;}
.profile_short_desc{font-size:0.7em;line-height:1.3;}
.teacher_listing .inside{padding:5px 5px;margin-bottom:15px;}
.teacher_listing .button{font-size:0.8em;}
.profile_cats .flex_row .col{padding:0;font-size:0.7em;}
.parallax-title .lead{font-size:1.1em;text-shadow:1px 1px 1px #00000042;padding:0 25px;}
.nav-vertical li li{font-size:1.2em;padding-left:0;}


	
.event_item {
    padding: 5px;
    font-size: 0.6em;
    text-align: center;
}
	.event_item .main_content {
    padding: 5px 5px 0;
}
	
	.bottom_attributes {
    display: block;
    text-align: center;
}
	.bottom_attributes .col.book a {
    display: block;
    text-align: center;
		   font-size: 1.2em;
}
.bottom_attributes .col.price {
    padding-bottom: 15px;
}
.event_item.show_spaces .bottom_attributes {
    padding-top: 10px;
}
.event_item.show_spaces .price {
    padding-bottom: 20px;
}
.event_item .spaces {
    bottom: 57px;
    right: 0;
    left: 0;
}
	
.booking_column {
    padding: 15px;
    background: #a69f9714;
}
	.booking_column .description {
 text-align:center;
}

	
.single-event .entry-header .button{
    font-size: 1.6em;
}
.banner p.date {
    font-size: 2em;
    line-height: 1.3;
}
.profile_title h3 {
    font-size: 1em;
}
}
/*Hacks*/
.event-list{text-align:center;}
.main_content .em-booking{display:none;}
.em-tickets-spaces label{text-indent:-9999px;line-height:0;/* Collapse the original line */
}
.em-tickets-spaces label::after{content:'Osalejate arv, kelle eest tasun';text-indent:0;display:block;line-height:initial;}
.flex_list{display:flex;flex-wrap:wrap;}




.woocommerce-checkout .woocommerce {
    max-width: 480px;
    margin: 0 auto;
    padding: 35px 0;
}
.woocommerce-checkout .woocommerce section{
	padding:35px;
}
.woocommerce-bacs-bank-details{
	background-color:#EEE;
	margin-bottom:25px;
}

.single-event .parallax-title{
    margin-bottom: 35px;
}


.fc-day-grid-event .fc-time {
    display: block;
}

.fc-title {
    white-space: pre-wrap;
}


input[type=checkbox], input[type=radio]{
	margin-right:0;
}
.validation_message{display:none;}

.gform_legacy_markup_wrapper li.gfield.gfield_error, .gform_legacy_markup_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
    border: none !important;
    background: transparent !important;
}

img.mfp-img {
    max-height: 600px;
}

/*Montonio styles*/
.montonio-aspsp-grid-logos .montonio-aspsp-grid-item {
    width: 31.333% !important;
    height: auto !important;
    margin: 1% !important;
    box-shadow: 1px 1px 2px #0000001f !important;
}
.wc_payment_method img {
    float: right;
    margin: 0 !important;
    max-height: 16px !important;
}
.montonio-payments-country-dropdown{display:none;}
img#montonio-payments-checkout-logo {
    width: initial !important;
}
.payment_method_montonio_payments{
    margin-bottom: 8px;
}

.wc_payment_methods {
    background: #f3f3f4;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

@media only screen and (min-width: 600px) {
.nav>li>a>i.icon-menu {
    font-size: 3em;
}
}

@media only screen and (max-width: 600px) {
  
.bottom_attributes {
    margin-bottom: 0px;
  }
.bottom_attributes .col.book {
    position: unset;
 }
.banner{ 
   padding-top: 250px !important;
}
.banner h1 {
    font-size: 1.75em;
}
.banner p.date {
    font-size: 1.2em;
}
.single-event .entry-header .button {
    font-size: 1.3em;
}
}

.fc-scroller{
    overflow: unset !important;
    height: 100% !important;
}

.fc-toolbar .fc-center {
    text-transform: capitalize !important;
}

.st-cmp-settings {
   display:none !important;
}

.sharethis-inline-share-buttons {
  margin-bottom: 10px !important;
}

.nav>li.has-icon>a>i {
    color: white;
}


.header-main {
    height: 0px !important;
}

.bg-loaded {
   background-position: center center !important;
}

.gall{ 
   margin-top: 30px;
}

.bg-loaded {
    background-position: center center !important;
}

.event-template-default .bg-loaded {
    background-position: top center !important;
}

.wpfc-more{
   display:none;
}

.ui-widget .fc-event {
    background-color: #a69f97 !important;
    border-color: #a69f97 !important;
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
    border: 1px solid #a69f97 !important;
    background-color: #ccc !important;
}

.ui-widget-header {
    border: 1px solid #a69f97;
    background: #a69f97;
    color: #fff;
    font-weight: bold;
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
    background: #ccc !important;
}

#logo {
    height: 51px;
    width: auto !important; 
    background-image: url(https://yksmaja.ee/wp-content/uploads/2023/09/logo-light-top.jpg);
    z-index: 999;
}

@media only screen and (max-width: 849px) {
.header_logo {
    filter: brightness(100);
}
.menu-item-6845 {
    display: none !important;
}
}

@media only screen and (min-width: 849px) {
#logo {
    display: none;
}
}

.home #menu-item-6845 {
    display: none;
}

.home #logo {
    display: none;
}

#menu-item-6845 .nav-top-link{
    background-image: url(https://yksmaja.ee/wp-content/uploads/2023/09/logo-light-top.png);
    height: 51px;
    width: 42px !important;
	font-size: 0.5px;
}

#menu-item-6845{
    padding-top: 3px !important;
}

body.logged-in .nav-right{top: unset;} 

.slider-style-focus {
    padding: 0px !important; 
}

.lg_slider{
    margin-top: 80px !important;
}

.praktik_pilt {
    width: 20%;
    float: right;
}
.praktik_tekst {
    width: 75%;
    float: left;
}

@media only screen and (max-width: 849px) {
.praktik_pilt {
    width: 100%;
    padding-bottom: 20px;
}
.praktik_tekst {
    width: 100%;
}
}

.tekstivorm{
	padding-top: 27px;
}
@media only screen and (max-width: 849px) {
.tekstivorm{
	padding-top: 0px;
}
}

.top50{
	padding: 50px 0px 0px 0px !important;
}

.nimed{
	font-size: 1.5em;
	font-family: roma, sans-serif;
	font-weight: 400;
	font-style: normal;
	color: #555;
	width: 100%;
	margin-top: 0;
	margin-bottom: .5em;
	text-rendering: optimizeSpeed;	
}

.event_content{
	padding: 5px 15px 5px 15px;
}

.blog-post-inner .post-meta{
	display: none !important;
}
@media screen and (min-width: 900px) {
.page-id-6731 .section, .page-id-6755 .section, .page-id-6765 .section, .page-id-6773 .section, .page-id-6778 .section, .page-id-6790 .section, .page-id-8836 .section, .page-id-8844 .section, .page-id-8841 .section{
    		padding: 50px 200px !important;
	}
  
}
.links{
	color:#166144 !important;
}
.links:hover{
	color:#111 !important;
}

.em-booking-form-section-details, .em-booking-form-section-tickets, .em-booking-section{
	display:none !important;
}

.dark p {
    font-family: "Lato", sans-serif;
    font-size: 1rem;
    font-weight: 400;
}

.gform_wrapper {
	background: unset !important;
	border: unset !important;
}

.gform_button {
	background-color: #857f79 !important; 
	
}

.gform_title {
	font-size: 1.6em !important;
}

.gfield_label {
    font-size: 14px !important;
	margin-bottom: unset !important;
}

/*
BLOGI START
*/
.postid-8329 .page-title-inner {
	min-height: 400px !important;
}

.postid-8329 .bg-fill {
	background-position: 0% 38% !important;
}

.postid-8329 .page-wrapper {
    padding-top: 50px !important;
}
/*
BLOGI END
*/

.page-id-440 legend { border: unset !important; }
.page-id-440 input[type=checkbox]{ font-size: 2px !important; }