/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/


a, a:hover, a:focus, a:active, a:visited {
    text-decoration: none;
}

p {
    text-align: justify;
}

.wd-slide .elementor-widget-container p {
    text-align: center;
}

.home .elementor-widget-text-editor p {
    padding: .4em 1.6em;
}

.home .blog-post-loop p {
    padding: 0;
}



.home :is(.mailpoet_form_paragraph p, .mailpoet_paragraph) {
    padding: .4em 1.6em;
}

.home h2.elementor-heading-title {
    color: rgb(199,42,47);
}

.elementor-button .elementor-button-text {
    font-weight: 600;
}

/* Vzhled horního menu  */

.whb-main-header :is(.whb-col-left,.whb-col-right) {
    justify-content: center;
}

.whb-main-header .site-logo {
    margin:0 auto;
}

.wd-nav-main div.wd-dropdown-menu{
    padding-top: 16px;
}


.wd-nav-main .wd-sub-menu li, .wd-nav-main .wd-sub-menu li a{ 
    margin: 0 auto;
    text-align: center;
}


.wd-dropdown-menu.wd-design-full-width .wd-sub-menu > li {
    margin-bottom: 16px;
}

.wd-nav-main .wd-sub-menu li > a { 
    justify-content: center;
}

/*nechceme zalamovat slovo e-shop v tlačítku na liště*/
.whb-main-header a.btn {
    word-break: unset;
    word-wrap: unset;
    overflow-wrap: unset;
    -webkit-hyphens: unset;
    -moz-hyphens: unset;
    -ms-hyphens: unset;
    hyphens: unset;;
}




.is-layout-flex{
    display: flex;
    flex-wrap: wrap;    
}

.blog-post-loop div.wd-post-actions {display: none;}

.blog-post-loop .wd-entry-content p, p.mailpoet_form_paragraph {text-align: justify;}

.blog-design-meta-image:hover .wd-post-img {
    transform: none !important;
}



/*
*   Rozcestníkové stránky (pro školy, pro firmy...)
*/


.rozcestnik-radek .elementor-column-gap-default{
    justify-content: center;
}

div.rozcestnik {
    padding: .4em 1.6em;
    margin-bottom: 1.8em;
}

/*
.rozcestnik .elementor-widget-image {
    margin-bottom: -20px;
    z-index: 1;
}

.rozcestnik .elementor-widget-text-editor{
    margin: 0 .6em;
    padding: .6em;
    padding-top: 30px;
    margin-bottom: 1em;
    border: 3px solid #ddd;

}
*/

.rozcestnik .elementor-widget-text-editor{
    text-align: justify;
}

.rozcestnik h4 {
    text-align: center;
}


.rozcestnik a.elementor-button {
    background-color: rgb(199, 42, 47);
}

.rozcestnik a.elementor-button:hover {
    background-color: rgb(170, 37, 41);
}

.rozcestnik img {
    height: 240px;
    object-fit: cover;
}

@media (min-width: 767px ) {
    div.rozcestnik {
      min-width: 266px;
      max-width: 275px;
    }
    .rozcestnik > .elementor-widget-wrap{
    display: flex;
    flex-flow: column nowrap;   
    }
    .rozcestnik img {
    height: 140px;
    object-fit: cover;
    margin: 0 auto;
    }
    .rozcestnik div.elementor-widget-button {
    margin-top:auto;
    }
}


@media (min-width: 1024px ) {
}

/*
*   ZDE JSOU CSS OPRAVY JINDE RUČNĚ ZADANÝCH STYLŮ
*/

/*toto kompenzuje jiné pozadí stránky v eshopu, což by šlo opravit i v elementoru*/
.main-page-wrapper{
    background-color: rgb(243,243,243);
}
/*Toto kompenzuje pozadí horní navigace na stránkách produktů*/
.whb-header{
    background-color: rgb(243,243,243);
}

div.wd-prefooter{
    background-color: rgb(243,243,243);
}

div.page-description p {
    text-align: justify;
}


/*
*     ----------       
*     | E-SHOP |
*     ----------
*/

/*
* Zobrazení adresy pro osobní odběr
*/

#shipping_method_0_local_pickup8:checked + label[for=shipping_method_0_local_pickup8]::after {
    display: block;
    color: #7a7a7a;	
    content: "Brno Rybkova 23, po předchozí domluvě";
}

#shipping_method_0_local_pickup11:checked + label[for=shipping_method_0_local_pickup11]::after {
    display: block;
    color: #7a7a7a;
    content: "Brno Rybkova 23, po předchozí domluvě";
}


/* sidebar menu */

.area-sidebar-shop :is(h1,h2,h3), .area-sidebar-product-single :is(h1,h2,h3) {
    color: rgb(43,42,42);
    text-align: left;
    text-transform: uppercase;
}

.area-sidebar-shop :is(h1,h2,h3).widget-title, .area-sidebar-product-single :is(h1,h2,h3).widget-title {
    color: rgb(199,42,47);
}


/* tímto se schová vše co se týká přihlášení zákazníka uživatelským účtem */

div.woocommerce-form-login-toggle, div.woocommerce-account-fields {
    display: none;
}

/*
.title-shop h1.title {
    color: #242424;
}
*/


/*
*Ruční zásah řešící přihlášení k maillistu a další věci kolem mailpoet
*/

div#f-3-b6fcc542fb021c84fdaff536dd0a74a1 {}
div.ec-v-form-holder {
    width: 100%;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    color: var(--wd-text-color);
    font-size: 100%;
}

div.ec-v-form-text h3{
   color: var(--wd-primary-color) !important;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}



div#ec_form_3-b6fcc542fb021c84fdaff536dd0a74a1 .ec-v-form-holder{
    background-color: none !important;
}

div#ec_form_3-b6fcc542fb021c84fdaff536dd0a74a1 .ec-v-form-holder p{
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    color: var(--wd-text-color);
    font-size: 100%;
}

div.ec-v-form-column button {
    border-radius: 0;
    background: var(--wd-primary-color);
    font-weight: 600;
    color: #fff;
}


/*
.mailpoet_hp_email_label {
    display: none;
}

h2.mailpoet-heading.mailpoet-has-background-color, 
p.mailpoet_form_paragraph.mailpoet-has-background-color {
  padding: 0;  
}

h2.mailpoet-heading {
    text-align: center;
}

div.mailpoet_paragraph.newsletter_send {
    text-align: center;
}

div.newsletter_send input.mailpoet_submit {
    background: rgb(199, 42, 47);
    color: #fff;
    padding: 12px 20px !important;
    font-size: 13px !important;
    line-height: 18px !important;
}


article.mailpoet_page {
    padding-top: 157px;
}

*/
