/*
Theme Name: alphatec
Template: twentytwenty
*/


/*
---------------------------------------
Barvy
---------------------------------------

#d73a40		Nobo
#F2F2F2     Svetle seda
#636363     Tmave seda
#00B454     Zelena
#fff        Bila
#9d917f     Bezova
*/




/*
---------------------------------------
Základní nastavení, nadpisy
---------------------------------------
*/



* {
    font-family:  'Gantari', -apple-system, BlinkMacSystemFont, Tahoma, sans-serif !important;
    letter-spacing: normal !important;
    word-break: inherit;
    word-wrap: break-word;
    white-space: normal;
}

body {
    background-color: #fff;

}

.bezmezery {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

@media(min-width: 700px) {
    .bezmezery {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}

.my-entry-wrapper {
    max-width: 160rem;
    width: calc(100% - 8rem);
    margin: auto;
}

:focus {
    outline: none;
}

.entry-header {
    padding-left:0 !important;

}

:root .has-subtle-background-background-color {
    background-color: #F2F2F2;
}

:root .has-primary-background-color {
    background-color: #636363;
}

:root .has-primary-background-color p,
:root .has-primary-background-color ol,
:root .has-primary-background-color ul,
:root .has-primary-background-color h1,
:root .has-primary-background-color h2,
:root .has-primary-background-color h3,
:root .has-primary-background-color h4 {
    color: #fff;
}

:root .has-primary-background-color figcaption {
    color: #fff;
}
;
:root .has-white-grey-white-gradient-background {
    background: linear-gradient(0deg,rgb(255,255,255) 0%,rgb(242,242,242) 90%,rgb(255,255,255) 100%);
}



.wp-block-group,
.wp-block-columns,
.entry-content > .alignfull {
    margin-bottom: 0 !important;
}

.wp-block-group.has-background {
    padding: 8rem 2rem;
}



@media (min-width: 700px) {
    .wp-block-group.has-background {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }


}


@media (max-width: 700px) {
    .wp-block-media-text {
        display: block;
    }

    
    .entry-content > .wp-block-group.has-background:first-child {
        padding-top: 2rem;
    }

}

@media (min-width: 1000px) {
    .entry-content > .alignwide:not(.wp-block-group.has-background), .entry-content > .alignfull:not(.wp-block-group.has-background) {
        margin-top: 0;
    }
}

h2 + .alignwide {
    margin-top: 2rem;
}

.entry-content .wp-block-cover {
    margin-top: 0;
    margin-bottom: 0;
    height: auto;
    padding: 4rem 0;
}


.mobil-sloupce {
    flex-wrap: nowrap;
}

@media(max-width:700px) {
    .wp-block-spacer {
        max-height: 60px;
    }
}

.alignright.is-resized,
.alignleft.is-resized  {
    max-width: 100%;
}

@media (max-width:700px) {
    .alignright.is-resized,
    .alignleft.is-resized  {
    float: none;
    margin-left: auto;
    margin-right: auto;
}
}

@media (min-width: 1700px) {
    .entry-content > .alignwide {
        max-width: 130rem;
        width: 130rem;
    }

    [class*="__inner-container"] > .alignwide {
        max-width: 130rem;
        width: 130rem;
    }
}

.wp-block-cover-image .wp-block-cover__inner-container, 
.wp-block-cover .wp-block-cover__inner-container {
    width: calc(100% - 1.5rem);
}


.puvodni-barvy.wp-block-cover-image .wp-block-cover__inner-container, 
.puvodni-barvy.wp-block-cover .wp-block-cover__inner-container {
    color: unset;
}
.wp-block-cover-image .wp-block-subhead:not(.has-text-color), .wp-block-cover-image h1:not(.has-text-color), .wp-block-cover-image h2:not(.has-text-color), .wp-block-cover-image h3:not(.has-text-color), .wp-block-cover-image h4:not(.has-text-color), .wp-block-cover-image h5:not(.has-text-color), .wp-block-cover-image h6:not(.has-text-color), .wp-block-cover-image p:not(.has-text-color), .wp-block-cover .wp-block-subhead:not(.has-text-color), .wp-block-cover h1:not(.has-text-color), .wp-block-cover h2:not(.has-text-color), .wp-block-cover h3:not(.has-text-color), .wp-block-cover h4:not(.has-text-color), .wp-block-cover h5:not(.has-text-color), .wp-block-cover h6:not(.has-text-color), .wp-block-cover p:not(.has-text-color) {
    color:unset;
}

.wp-block-cover ul, .wp-block-cover a {
    color: #fff;
}


@media (min-width: 1000px) {
    .wp-block-cover-image .wp-block-cover__inner-container, 
    .wp-block-cover .wp-block-cover__inner-container {
        width: calc(100% - 4rem);
    }
}

p, ul, ol {
    font-size: 1.8rem;
    letter-spacing: normal !important;    
}

ul, ol {
    margin-left: 1rem;
}

a {
    color: #d73a40;
    transition: none;
}

h1, h2, h3, h4, h5, h6, .faux-heading {
    color: #d73a40;
}

h2,	.heading-size-2 {
		font-size: 4rem;
	}

.podnadpis {
	margin-top: -2rem !important;
	color: #636363 !important;
}

@media (max-width: 781px) { 

	.podnadpis {
		margin: -2.5rem 0 0 !important;
		font-size:2.6rem;
	}
}

[class*="__inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
    /*max-width: 78rem;*/
    max-width: 120rem;
}


h3, .heading-size-3 {
    font-size: 2.2rem;
    color: #636363;
    line-height: 135%;
}

.heading-style-3 {
    font-size: 2.2rem;
    color: #636363;
    line-height: 135%;
    font-weight: 600;
    position: static;
    display: block;
    text-align:center;
}

.heading-style-3::after {
    display:none;
}

h3 a {
    /* text-decoration:none;*/
     font-size: 2.5rem;
     color: #d73a40;
 }

 /*
 h3 a:hover {
     text-decoration:underline !important; 
 }*/

h4, .heading-size-4 {
    font-size: 1.9rem;
    color: #636363;
    line-height: 135%;
}

figcaption {
    font-style: italic;
}

details {
   /* border: 1px solid #d73a40; */
    padding: .5rem 1rem;
    display: inline;
}

details summary {
    text-decoration: underline;
    font-size: 1.5rem;
    font-weight: bold;
    color: #d73a40;
    cursor: pointer;
}

details summary:hover {
    text-decoration: none;
}

details p {
    font-size: 1.4rem;
    padding-left: 1.5rem;
}

button, .button, .faux-button, .wp-block-button__link, .wp-block-file .wp-block-file__button {
/*    background: #00A84F;
    background: #1481c1;*/
    background: #9d917f;

}

button:hover, .button:hover, .faux-button:hover, .wp-block-button__link:hover, .wp-block-file .wp-block-file__button:hover {
    background: #00883f;
    background: #156fa5;
    
    transition: .15s linear;
}

.header-inner button.toggle:hover {
    background: #fff;
}

@media (min-width: 1000px) {

	.header-inner {
		padding: 2rem 0;
	}
}

input[type="button"], input[type="reset"], input[type="submit"] {
    border: 2px solid #d73a40;
    background: #fff;
    color: #d73a40;
}

p + .wp-block-buttons .wp-block-button {
    margin-top: 1rem;
}

@media(max-width: 700px) {
    .wp-block-buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .wp-block-buttons .wp-block-button {
        margin: 1rem 1rem 0 1rem;
    }

    .wp-block-buttons .wp-block-button:last-child {
        margin-right: 1rem;
    }
}

/*
button:hover, .button:hover, .faux-button:hover, .wp-block-button__link:hover, .wp-block-file:hover .wp-block-file__button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover {
    background: #009947;
    transition: background .3s ease;
}*/

.wp-block-button.is-style-outline {
    color: #d73a40;
}


.wp-block-cover  .wp-block-button.is-style-outline {
    color: #fff;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
input[type="button"]:hover, 
input[type="reset"]:hover, 
input[type="submit"]:hover {

    background: #d73a40;
    color: #fff;
    transition: all .1s linear;
}

.is-style-outline .wp-block-button__link:hover, .wp-block-button__link.is-style-outline:hover {
    border: 2px solid #d73a40;

}


h2 {
    font-weight: 400;
}


/* ----- Linka pod nadpisem H2 ------- */
.wp-block-group  h2 {
    /*position: relative;
    display:inline-block;/*/
    width: auto !important;
    text-align: center;
}


.wp-block-group__inner-container > h2 {
   /**/ left: 50%;
    transform: translateX(-50%);
	text-align: center;
}



.wp-block-group  h2::after {
content:'';
position:absolute;
left:0; right:0;
top:100%;
margin:10px auto;
width:85%;
/*height:2px;
background: #F2F2F2;*/
height: 1px;
background: #e2e2e2;
}

.wp-block-group  h2 {
  /**/  position: relative;
    display:inline-block;/
    width: auto !important;
}
       
    
        
.alignwide + .wp-block-group h2::after,
.alignwide + .wp-block-group__inner-container h2::after,
/*.alignfull.pozadi-svetle-diamanty-size-m + .wp-block-group  h2::after,
.alignfull.pozadi-svetle-diamanty-size-m + .wp-block-group__inner-container  h2::after,*/
h2.siroka-linka::after {
    content: '';
    position: absolute;
    left:auto;
    right: 105%;
    top: 40%;
    margin: 10px auto;
    width: calc(50vw - 20rem);
    height: 1px;
    background: #d73a40;
}

.alignwide + .wp-block-group h2::before,
.alignwide + .wp-block-group__inner-container h2::before,
/* .alignfull.pozadi-svetle-diamanty-size-m + .wp-block-group  h2::before,
.alignfull.pozadi-svetle-diamanty-size-m + .wp-block-group__inner-container  h2::before,*/ 
h2.siroka-linka::before { 
    content: '';
    position: absolute;
    left: 105%;
    right: auto;
    top: 40%;
    margin: 10px auto;
    width: calc(50vw - 20rem);
    height: 1px;
    background: #d73a40;
    }

@media(max-width: 700px) {
    .wp-block-group h2 {
        width: auto !important;
        width: 90%;
        z-index: 1;
        color: #d73a40;
        text-align: left;
        line-height: 130%;
        display: block;
        font-weight: 600;
        line-height: 133%;
    }

    .wp-block-cover .wp-block-group h2 {
        background-color: #505050;
    }

    .wp-block-group h2.heading-style-3 {
        color: #636363;
        line-height: 135%;
        font-weight: 600;
        position: static;
        display: block;
        text-align:center;
        background: none;
    }


    .wp-block-group h2::after,
    .wp-block-group h2::before {
        display: none;
    }

    .wp-block-group__inner-container > h2 {
        transform: none;
		left: auto;
    }
}

/* ----- <end/> Linka pod nadpisem H2 ------- */



.wp-block-column h2,
.wp-block-media-text h2 {
    width:90%;
    z-index:1;
    position:relative;
    color:#d73a40;
    text-align:left;
    line-height:130%;
    display:block;
    font-weight: 600;
    /*background-color: #d73a40;*/
    /*background: linear-gradient(90deg, #d73a40 20%, #d73a40 60%);*/
    background-blend-mode: normal;
    padding: .6rem 1.5rem 1rem 0rem;
    line-height: 133%;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

h2 + .wp-block-columns > .wp-block-column > h2 {
    background: #737373;
    font-size: 3rem;
    padding: .4rem 1rem .7rem 1rem;
}

@media(max-width: 700px) {
    h2 + .wp-block-columns > .wp-block-column > h2 {
        font-size: 2.3rem;
    }
    
}


.wp-block-column h2::after,
.wp-block-column h2::before,
.wp-block-media-text h2::after,
.wp-block-media-text h2::before {
    display: none;
}

.wp-block-column h2 + *,
.wp-block-media-text h2 + * {
    margin-top:2.5rem;
}

@media (max-width: 700px) {

    .alignfull:not(.has-background) > .wp-block-group__inner-container > h2 {
        margin-left: 2rem !important;
    }

}



@media (min-width: 700px) {
    .wp-block-column h2,
    .wp-block-media-text h2  {
        font-size:4rem;
        padding: .6rem 2rem 1rem 0rem;
    }

}


p, ul, ol {
    color: #636363;
}

.entry-content li {
    text-align: left;
}

@media (max-width: 479px) {
    li {
        margin: 0.5rem 0 0 2rem;
    }
}

ol.designove-cislice {
    counter-reset: alphatec-counter;
    list-style: none;
    padding-left: 60px;
    margin-left: 2rem;
}

ol.designove-cislice li {
margin: 0 0 0.5rem 0;
counter-increment: alphatec-counter;
position: relative;
margin-top:2.5rem;
}

ol.designove-cislice li strong {
    color: #d73a40;
    font-size: 110%;
    }

ol.designove-cislice li::before {
content: counter(alphatec-counter)'.';
color: #fff;
font-size: 3.0rem;
font-weight: bold;
position: absolute;
left: -80px;
line-height:  52px;
width:  52px;
height:  52px;
top: 3%;
background: #d73a40;
border-radius: 0;
text-align: center;
padding-left:5px;
}

h1, .heading-size-1 {
	font-size: 4rem;
}

@media (min-width: 700px) {
    h1, .heading-size-1 {
        font-size: 5.4rem;
    }
}

    
@media (min-width: 1220px) {
    h1, .heading-size-1 {
        font-size: 5.4rem; /*5.4*/
    }
}

@media (min-width: 1450px) {
    h1, .heading-size-1 {
        font-size: 5.9rem; /* 5.9*/
    }
}

@media (min-width: 1700px) {
    h1, .heading-size-1 {
        font-size: 6rem; /* 6.2*/
    }
}


.has-primary-color.wp-block-cover-image .wp-block-cover__inner-container, 
.has-primary-color.wp-block-cover .wp-block-cover__inner-container {
    color: inherit;
}


/** Tabulky **/

table,
.wp-block-table table {
    border:0;
    background: #fff;
    text-align: center;
    margin-top:0;
	word-break: normal;
}


table img[src$=".svg"] {
    margin:auto;
    width: 35px;
}


th,
.wp-block-table th {
    border: 0.2rem solid #fff;
    background-color: #d73a40;
    color: #fff;
    padding: 1rem 1rem;

}

.wp-block-table thead {
	border-bottom: 0;
}

td,
.wp-block-table td {
    border:0;
    border-bottom: 0.2rem solid #F2F2F2;
}


/** Formuláře  **/

div.wpcf7 {
    max-width: 120rem !important;
}

form {
    display: flex;
    flex-wrap: wrap;
}

fieldset {
    border: 0;
    flex-grow: 1;
}


textarea {
    height: 23rem;
    resize: none;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

form > p:last-of-type {
    flex-basis: 100%;
    text-align: center;
}


.wp-block-column form  {
    display: flex;
    flex-wrap:wrap;
    flex-grow: 1;
    background: #f2f2f2;
    background: #fff url('/wp-content/uploads/pozadi_diamant_tmave.svg') no-repeat center center;
    background-size: cover;
    padding: 4rem;
}

.wp-block-column form  p {
    color: #fff;
}

.wp-block-column form  input[type="submit"]:not(:hover) {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.wp-block-column form .wpcf7-response-output {
    color: #fff;
}

.wp-block-column form  .wpcf7-not-valid-tip {
    color: #d73a40;
}

.wp-block-column form > *  {
    flex-grow: 1;
}

.form-wrapper-columns  {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.form-wrapper-columns > *  {
    flex-basis: 48%;
}

.wpcf7 form.sent .wpcf7-response-output {
    margin: auto;
}

form > fieldset.form-registrace-produktu > p {
    text-align: center;
}

@media(max-width: 700px) {
    fieldset {
        padding: 0;
    }

    .wp-block-column form  {
        padding: 2rem;
    }
}

fieldset.form-registrace-produktu {
    background-color: #f2f2f2;
}

fieldset.form-registrace-produktu .wp-block-columns.alignwide {
    margin: 0;
    width: 100%;
}

fieldset.form-registrace-produktu fieldset { 
    background-color: #fff;
}

fieldset.form-registrace-produktu,
fieldset.form-registrace-produktu fieldset { 
    border: 1px solid #e2e2e2 !important;
    margin: 3rem 0;
}

fieldset.form-registrace-produktu fieldset fieldset { 
    border: 0 !important; 
}

fieldset.fieldset-nowrap-inside,
fieldset.fieldset-nowrap-inside fieldset {
    background-color: #fff4d9 !important;
}

.wpcf7 .fieldset-nowrap-inside fieldset {
    display: flex;
    flex-wrap: nowrap;
    padding: 0;
    margin: 0 0 .5em 0;
}

.wpcf7 .fieldset-nowrap-inside fieldset label {
    margin-right: 1rem;
}

.wpcf7 select {
    padding: 1.5rem 1.8rem;
}


/** Další **/

.entry-content hr::before, .entry-content hr::after, hr.styled-separator::before, hr.styled-separator::after {
    display:none;
}

.entry-content hr, hr.styled-separator {
    height: 2px;
    background: #dedfdf !important;
}


.nasobit img {
    mix-blend-mode: multiply;
}


@media (max-width: 600px) {
    .wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__content {
        -ms-grid-column: 1;
        grid-column: 1;
        -ms-grid-row: 1;
        grid-row: 2;
    }
}

@media (max-width: 600px) {
    .wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__media, .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
        -ms-grid-column: 1;
        grid-column: 1;
        -ms-grid-row: 2;
        grid-row: 1;
    }
}

@media(max-width: 700px) {
    .has-text-align-center {
        text-align: left;
    }
}



/*
---------------------------------------
Alpha Check
---------------------------------------
*/


.frm_forms .ui-accordion-header {
    padding: 12px 0 !important;
    color: #fff;
	background: #d73a40 !important;
	border-color: #d73a40 !important;
}

.frm_forms .ui-accordion-header.ui-state-active {
    background: #d73a40 !important;
    color: #fff;
}

.frm_forms .accordion-title-text {
    color: #fff;
    margin-left: 4rem;
}

.frm_forms .frm_repeat_sec { 
    z-index: 0!important; /* přenastavení jquery-ui accordion */
}

.frm_forms .ui-widget input, 
.frm_forms .ui-widget select,
.frm_forms .ui-widget textarea, 
.frm_forms .ui-widget button {
    font-size: 1.4rem;
}

a.frm_remove_form_row.frm_button {
    float: right;
}

.with_frm_style .frm_form_field {
    margin-top: .5rem;
}

.custom_frm_section_with_background {
    background-color: #f2f2f2;
    padding: 3rem;
    border: 1px solid #e8e8e8;
}

.custom_frm_souhlas,
.custom_frm_souhlas .frm_description {
    text-align: center !important;
}

.custom_frm_souhlas {
    margin-top: 2rem !important;
}

.with_frm_style .frm_form_fields > fieldset {
    background: #fff;
    padding: 2rem;
    border: 1px solid #e2e2e2;
}

.frm_forms .ui-accordion .ui-accordion-content-active {
    display: grid !important;
}

.frm_forms .ui-accordion-content {
    grid-column: span 12 / span 12;
    display: grid;
    grid-template-columns: repeat(12, 6.5%);
    grid-auto-rows: max-content;
    grid-gap: 0 2%;
}

.frm_dropzone.dz-clickable.frm_single_upload .dz-message {
    margin: 0;
}

.frm_dropzone.frm_single_upload {
    max-width: unset;
}

.frm_forms h4 {
    margin: .5rem auto .5rem;
}

.frm_forms table {
    margin-bottom: 0;
    font-size: 15px;
}

@media(max-width:600px) {

    .frm_form_field.frm_third {
        grid-column: span 12 / span 12 !important;
    }

    /*.frm_form_field.frm_third.custom_frm_col_mobile {
        grid-column: span 4 / span 4 !important;
    }*/

    .frm_dropzone .dz-message {
        font-size: 1.4rem;
        padding: 10px 5px;
    }

}

@media(max-width:700px) {

    .with_frm_style .frm_form_fields > fieldset {
        padding: 0rem;
        border:0;
    }   

    .frm_forms .ui-accordion .ui-accordion-content {
        padding: 1rem;
    }

    .custom_frm_section_with_background {    
        padding: 1rem;
    }


}


/*
---------------------------------------
Accordion blok /  s přepínací nabídkou
---------------------------------------
*/

.wp-block-getwid-accordion__header {
    background: #fff;
}

.wp-block-getwid-accordion__header a {
    color: #d73a40;
    font-weight: 600;
}

.wp-block-getwid-accordion__header a:hover {
    margin-left: 1rem;
}

.wp-block-getwid-accordion__content {
    background: #fff;
}


/*
---------------------------------------
Toggle blok / s vysunovací nabídkou 
---------------------------------------
*/
.wp-block-getwid-toggle__row .fa-plus:before,
.wp-block-getwid-toggle__row .fa-minus:before {
    font-size: 3rem;
    width: 3rem;
    display: block;
}

.wp-block-getwid-toggle__row:nth-child(1) .fa-plus:before,
.wp-block-getwid-toggle__row:nth-child(1) .fa-minus:before {
    content: '1.';
}

.wp-block-getwid-toggle__row:nth-child(2) .fa-plus:before,
.wp-block-getwid-toggle__row:nth-child(2) .fa-minus:before {
    content: '2.';
}

.wp-block-getwid-toggle__row:nth-child(3) .fa-plus:before,
.wp-block-getwid-toggle__row:nth-child(3) .fa-minus:before {
    content: '3.';
}

.wp-block-getwid-toggle__row:nth-child(4) .fa-plus:before,
.wp-block-getwid-toggle__row:nth-child(4) .fa-minus:before {
    content: '4.';
}

.wp-block-getwid-toggle__row:nth-child(5) .fa-plus:before,
.wp-block-getwid-toggle__row:nth-child(5) .fa-minus:before {
    content: '5.';
}

.wp-block-getwid-toggle__row:nth-child(6) .fa-plus:before,
.wp-block-getwid-toggle__row:nth-child(6) .fa-minus:before {
    content: '6.';
}

.wp-block-getwid-toggle__row:nth-child(7) .fa-plus:before,
.wp-block-getwid-toggle__row:nth-child(7) .fa-minus:before {
    content: '7.';
}



.wp-block-getwid-toggle .wp-block-getwid-toggle__header {
    background: #fff;
    padding: 1em 0.75em;
}

.wp-block-getwid-toggle__header a {
    color: #d73a40;
    color: #9d917f;    
    font-weight: 600;
}

.wp-block-getwid-toggle__header a:hover {
    margin-left: 1rem;
}

.wp-block-getwid-toggle__content {
    background: #fff;
}

@media (max-width:700px) {
    .wp-block-getwid-toggle__content {
        padding: 1.5rem .5rem;
    }

    .wp-block-getwid-toggle__content .wp-block-media-text__content {
        padding: 3rem .5rem;
    }
}

.wp-block-getwid-toggle__header-wrapper {
}

.wp-block-getwid-toggle__header-wrapper .wp-block-getwid-toggle__header {
}

.ui-toggle-header-active .wp-block-getwid-toggle__header {
    /*background: #d73a40;*/
    background: #9d917f;
}

.ui-toggle-header-active .wp-block-getwid-toggle__header a {
    color: #fff;
}

.wp-block-getwid-toggle__row.is-active .wp-block-getwid-toggle__header {
    /*background: #d73a40;*/
    background: #9d917f;

}

.wp-block-getwid-toggle__row.is-active .wp-block-getwid-toggle__header a {
    color: #fff;

}


.wp-block-getwid-toggle__header:hover {
    background: #d73a40;
    background: #9d917f;

}

.wp-block-getwid-toggle__header:hover a {
    color: #fff;
    margin-left: 0;

}

.toggle-img-bez-okraje .wp-block-getwid-toggle__content {
    padding: 0;
}

.toggle-img-bez-okraje .wp-block-media-text .wp-block-media-text__content {
    padding: 5rem 7rem;
}

.toggle-img-bez-okraje .is-active .wp-block-getwid-toggle__header-wrapper {
    border-bottom: 0;
}

@media(max-width:700px) {
    .toggle-img-bez-okraje .wp-block-media-text .wp-block-media-text__content {
        padding: 3rem 3rem;
    }
    
}

/*
---------------------------------------
Blok se záložkami / tab block
---------------------------------------
*/

.wp-block-getwid-tabs {
    
    /*background: #fff url(/wp-content/uploads/pozadi-diamanty-svetle-rohove.png) no-repeat right -300px;*/
    background-color: rgba(255,255,255, 0.9903);
    border-radius: 0;
}

.wp-block-getwid-tabs__tab-content>:first-child {
    margin-top: 2rem;
}


.has-layout-horizontal-center ul.wp-block-getwid-tabs__nav-links {
    justify-content: space-evenly;
    align-items: stretch;
   /* background-color: #dedfdf;*/
    flex-wrap: wrap;
    /*padding: 1rem;*/
    /*---*/
    padding: 2.5rem 2.5rem 0;
    margin: 0rem auto;
}



.wp-block-getwid-tabs__tab-content {
    border: 0;
}

li.wp-block-getwid-tabs__nav-link {
    flex-grow:1;
    display:flex;   
    align-items: center;
    justify-content: center;
    border-radius: 0;
    border: 2px solid transparent;
    margin: 0 1rem 0 0;
    transition: background .1s linear;


}


span.wp-block-getwid-tabs__title-wrapper {
    flex-grow: 1;
    flex-basis: 100%;
    height:100%;
}

li.wp-block-getwid-tabs__nav-link a {
    flex-grow:1;
    padding: 1.3em 0.75em !important;
    text-align:center;
    height: 100%;
}

li.wp-block-getwid-tabs__nav-link.ui-tabs-active {
    background-color: #d73a40;
    border-radius:  0;
    border:0;

}



li.wp-block-getwid-tabs__nav-link:not(.ui-tabs-active) {
    background-color: #f5f5f5;
    border:0;


}

li.wp-block-getwid-tabs__nav-link:not(.ui-tabs-active):hover {
    border:0;
    background-color: #dedfdf;

}



li.wp-block-getwid-tabs__nav-link.ui-tabs-active a {
    color: #fff;
    font-weight: 600;
}

li.wp-block-getwid-tabs__nav-link:not(.ui-tabs-active) a {
    color: #636363;
}

.wp-block-getwid-tabs__tab-content .wp-block-columns  {
    margin-top:0 !important;
    margin-bottom:0 !important;
}

@media (min-width: 782px) {
    .wp-block-getwid-tabs .wp-block-column:not(:first-child) {
        margin-left: 0px;
        
}
}

.wp-block-getwid-tabs .wp-block-column:first-child .wp-block-image {
    margin-left:-1.5em;
}

.wp-block-getwid-tabs .wp-block-column:last-child .wp-block-image {
    margin-right:-1.5em;
}

.wp-block-getwid-tabs__tab-content .wp-block-column {
    border-right: 1px solid #e2e2e2;
    text-align:center;
    padding: 0 2rem;
}

.wp-block-getwid-tabs__tab-content .wp-block-column:last-child {
    border-right:0;
    padding-right: 0;
}

.wp-block-getwid-tabs__tab-content .wp-block-column:first-child {
   /* border-right:0;*/
    padding-left: 0;
}


@media (min-width: 700px) {
    .has-layout-horizontal-center ul.wp-block-getwid-tabs__nav-links {
        flex-wrap: nowrap;
    }

    li.wp-block-getwid-tabs__nav-link a {
        padding: 2em 0.75em !important;
    }

    .getwid-tabs-custom-border .wp-block-getwid-tabs__tab-content {
        border: 2px solid #d73a40;
        margin-top: 6px;
    }

    .getwid-tabs-custom-border li.wp-block-getwid-tabs__nav-link.ui-tabs-active {
        padding-bottom: 6px;
        margin-bottom: -6px;
    }

}



@media(max-width: 700px) {
    .has-layout-horizontal-center ul.wp-block-getwid-tabs__nav-links {
    flex-wrap: nowrap;
    padding: .5rem .5rem 0;
    }

    li.wp-block-getwid-tabs__nav-link {
        margin: 0 0.5rem 0 0;
    }

    .wp-block-getwid-tabs__tab-content {
        padding: 2rem;
    }

}




/* --- Zalozky s ikonami / uzivatel - instalater - architekt --- */

@media (min-width: 782px) {
    .ikony-typ-zakaznika .wp-block-getwid-tabs .wp-block-column:not(:first-child) {
        margin-left: 32px;
}
}
/*
.ikony-typ-zakaznika .wp-block-column h3 {
background: #d73a40;
box-shadow: 0 0.05em 0 0.15em #d73a40, 0.2em 0.05em 0 0.15em #d73a40, -0.2em 0.05em 0 0.15em #d73a40;
display:inline;
color:#fff;
}*/

.ikony-typ-zakaznika .wp-block-column:nth-child(2) {
    background: #636363;
}

.ikony-typ-zakaznika h3,
.ikony-typ-zakaznika h4 {
    font-size: 2.2rem;
}

.ikony-typ-zakaznika .wp-block-column:nth-child(2) * {
    color: #fff;
}

.ikony-typ-zakaznika {
    position: relative;
}

.ikony-typ-zakaznika .wp-block-columns {
    position: relative;
    overflow:hidden;
}

.ikony-typ-zakaznika .wp-block-column {
    position: relative;
    overflow:hidden;
}

.ikony-typ-zakaznika .wp-block-column .oriznout-vysku {
    min-height:15rem;

}

.ikony-typ-zakaznika .wp-block-column .oriznout-vysku img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media(min-width: 700px) {
   /* .wp-block-getwid-tabs::before {
        content: "";
        position: absolute;
        height: 1500px;
        top: -10rem;
        left:-30%;
        z-index: -100;
        transform: scale(1.5);
        width: 160vw;
        opacity: 60%;
        background: url('/wp-content/uploads/pozadi_diamant_svetle.svg') no-repeat center top;    
    }*/
}

.ikony-typ-zakaznika .wp-block-column:first-child .wp-block-image {
    margin-left: 0;
}

.ikony-typ-zakaznika  .wp-block-column:last-child .wp-block-image {
    margin-right: 0;
}

.ikony-typ-zakaznika  .wp-block-getwid-tabs__tab-content .wp-block-column {
    border-right: 0;
}


@media(min-width: 782px) {
    .ikony-typ-zakaznika .wp-block-column:first-child .wp-block-image {
        margin-left: 32px;
    }

    .ikony-typ-zakaznika  .wp-block-column:last-child .wp-block-image {
        margin-right: 32px;
    }

    .ikony-typ-zakaznika  .wp-block-getwid-tabs__tab-content .wp-block-column {
        border-right: 0;
    }

    .ikony-typ-zakaznika  .wp-block-column:not(:first-child) {
        margin-left: 0;
        padding-bottom: 2rem;
        padding-left: 3rem;
        padding-right: 3rem;

    }
}


.ikony-typ-zakaznika li.wp-block-getwid-tabs__nav-link:nth-child(1) {
    background: url('/wp-content/uploads/house-user.svg') no-repeat center 25px;
    background-size: 5rem;
}

.ikony-typ-zakaznika li.wp-block-getwid-tabs__nav-link:nth-child(2) {
    background: url('/wp-content/uploads/wrench.svg') no-repeat center 25px;
    background-size: 4rem;
}

.ikony-typ-zakaznika li.wp-block-getwid-tabs__nav-link:nth-child(3) {
    background: url('/wp-content/uploads/pencil-ruler.svg') no-repeat center 25px;
    background-size: 4rem;
}
.ikony-typ-zakaznika li.wp-block-getwid-tabs__nav-link:not(.ui-tabs-active) {
    mix-blend-mode: luminosity;
    background-color: #f5f5f5;
}

.ikony-typ-zakaznika li.wp-block-getwid-tabs__nav-link:not(.ui-tabs-active):hover {
    background-color: #dedfdf;
}

.ikony-typ-zakaznika li.wp-block-getwid-tabs__nav-link.ui-tabs-active:nth-child(1) {
    background: url('/wp-content/uploads/house-user-white.svg') no-repeat center 25px;
    background-size: 5rem; 
    background-color: #d73a40 !important;
}

.ikony-typ-zakaznika li.wp-block-getwid-tabs__nav-link.ui-tabs-active:nth-child(2) {
    background: url('/wp-content/uploads/wrench-white.svg') no-repeat center 25px;
    background-size: 4rem; 
    background-color: #d73a40 !important;
}

.ikony-typ-zakaznika li.wp-block-getwid-tabs__nav-link.ui-tabs-active:nth-child(3) {
    background: url('/wp-content/uploads/pencil-ruler-white.svg') no-repeat center 25px;
    background-size: 4rem; 
    background-color: #d73a40 !important;
}


@media(min-width:1400px) {
    .ikony-typ-zakaznika li.wp-block-getwid-tabs__nav-link:nth-child(1) {
        background-size: 6rem;
    }

    .ikony-typ-zakaznika li.wp-block-getwid-tabs__nav-link:nth-child(2) {
        background-size: 5rem;
    }

    .ikony-typ-zakaznika li.wp-block-getwid-tabs__nav-link:nth-child(3) {
        background-size: 5rem;
    }

    .ikony-typ-zakaznika li.wp-block-getwid-tabs__nav-link.ui-tabs-active:nth-child(1) {
        background-size: 6rem; 
    }

    .ikony-typ-zakaznika li.wp-block-getwid-tabs__nav-link.ui-tabs-active:nth-child(2) {
        background-size: 5rem;        
    }

    .ikony-typ-zakaznika li.wp-block-getwid-tabs__nav-link.ui-tabs-active:nth-child(3) {
        background-size: 5rem;
    }

}


/*
.ikony-typ-zakaznika li.wp-block-getwid-tabs__nav-link:not(.ui-tabs-active) {
    mix-blend-mode: luminosity;
}*/

.ikony-typ-zakaznika li.wp-block-getwid-tabs__nav-link.ui-tabs-active {
    background-color: #d73a40 !important;
}

.ikony-typ-zakaznika li.wp-block-getwid-tabs__nav-link a {
    padding-bottom: 1.7rem !important;
    padding-top: 8rem !important;
    font-size: 2.2rem;
    font-weight: 600;
}


@media(min-width:1400px) {
    .ikony-typ-zakaznika li.wp-block-getwid-tabs__nav-link a {
        padding-top: 9rem !important;
    }
}

@media (min-width: 700px) {
    .ikony-typ-zakaznika li.wp-block-getwid-tabs__nav-link a {
        padding-bottom: 1.7rem !important;
    }   
}

/* ---  Seznam s ikonami (UL) --- */

.ikony-typ-zakaznika .wp-block-getwid-tabs__tab-content .wp-block-column ul,
ul.seznam-vyhod {
    margin-left: 0;
}

.ikony-typ-zakaznika .wp-block-media-text ul {
    margin-left: 0;
}



.ikony-typ-zakaznika .wp-block-getwid-tabs__tab-content > ul,
ul.seznam-vyhod {
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 120rem;
}

.ikony-typ-zakaznika .wp-block-getwid-tabs__tab-content > ul li,
ul.seznam-vyhod li {
    list-style-type: none;
    min-width: 14rem;
    max-width: 25rem;
    flex-grow: 1;
    flex-basis: 15%;
    position: relative;
    padding-top: 8rem;
    text-align: center;
    margin: 0 1rem 2rem 1rem;
}

.ikony-typ-zakaznika .wp-block-getwid-tabs__tab-content > ul li:before,
ul.seznam-vyhod li:before {
    background: url('/wp-content/uploads/ikona-zaskrtnuto-nobo.svg') no-repeat center top;
    background-size: 7rem;
    height:10rem;
    width:100%;
    content:'';
    top:0;
    left:0;
    position: absolute;
}



@media(max-width: 700px) {
 
    .ikony-typ-zakaznika li.wp-block-getwid-tabs__nav-link a {
        font-size: 1.5rem; 
    }

    .ikony-typ-zakaznika li.wp-block-getwid-tabs__nav-link a {
        padding-bottom: 1.4rem !important;
        padding-top: 7rem !important;
    }

    .ikony-typ-zakaznika li.wp-block-getwid-tabs__nav-link {
        background-position: center 18px !important;
    }

    .ikony-typ-zakaznika .wp-block-getwid-tabs__tab-content > ul,
    ul.seznam-vyhod {
        margin-left: 0;
        justify-content: space-between;

    }

    .ikony-typ-zakaznika .wp-block-getwid-tabs__tab-content > ul li,
    ul.seznam-vyhod li {
        margin: 0 0 2rem 0;
        max-width: 45%;
        border-bottom: 1px solid #e2e2e2;
        padding-bottom: 2rem;
    }

}


/*
---------------------------------------
Accordion (kontakt)
---------------------------------------
*/

.wp-block-getwid-accordion .fa-plus:before {
    content: '+';
}

.wp-block-getwid-accordion .fa-minus:before {
    content: '–';
}
.wp-block-getwid-accordion__header-wrapper {
}

.wp-block-getwid-accordion__header-wrapper .wp-block-getwid-accordion__header {
}

.ui-accordion-header-active .wp-block-getwid-accordion__header {
    background: #d73a40;
}

.ui-accordion-header-active .wp-block-getwid-accordion__header a {
    color: #fff;
}


.wp-block-getwid-accordion__header:hover {
    background: #d73a40;
}

.wp-block-getwid-accordion__header:hover a {
    color: #fff;
    margin-left: 0;

}




/*
---------------------------------------
Moje bloky
---------------------------------------
*/

.alpha-news-cover {
    padding: 4.5rem 2rem !important;
}


.slider-odsazene-popisky .slick-list {
    margin: 0 40px;
}

.slider-odsazene-popisky.wp-block-getwid-images-slider .wp-block-getwid-images-slider__item figcaption {
    display: block;
    position: static;
    background: transparent;
    padding: 10px 20px 10px;
}

.slider-odsazene-popisky.wp-block-getwid-images-slider .wp-block-getwid-images-slider__item figcaption {
    text-decoration: underline;
}

.slider-odsazene-popisky figure img {
    margin: auto;
    max-height: 100px;
    width: auto;
}

.slider-odsazene-popisky.wp-block-getwid-images-slider .wp-block-getwid-images-slider__item figcaption {
    border: none;
    border-radius: 0;
    background: transparent;
    border: 2px solid #d73a40;
    color: #d73a40;
    cursor: pointer;
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: normal;
    line-height: 1.25;
    max-width:97%;
    margin: 2rem 0 0;
    opacity: 1;
    padding: 1.1em 1.44em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.slider-odsazene-popisky.wp-block-getwid-images-slider .wp-block-getwid-images-slider__item figcaption:hover {
    text-decoration: none;
    background: #d73a40;
    color: #fff;
    transition: 0.1s linear;


}

.historie-timeline strong {
    color: #d73a40;
  
}

.historie-timeline h2 {
    background-color: #d73a40;
   /* white-space: pre-wrap;*/
    color: #fff;
    padding: 1rem 2rem;
     /*Needs prefixing */
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    position: relative;

}


.historie-timeline h2::after {
    display:none;
}

.historie-timeline::after {
    display: block;
    width:4px;
    background: #d73a40;
    height: 27rem;
    position: absolute;
    content: '•';
    color: #d73a40;
    font-size: 10rem;
    padding-top: 20rem;
    text-indent: -1.55rem;
    top: 0;
    left: 50%;
    z-index: -100;
}


.timeline-scroll::after {
    position: fixed;
    display: block;
    height: 26.5rem;
    top: 0;
    left: 50%;
    padding-top: 19.5rem;

}


.historie-timeline .wp-block-media-text figure.wp-block-media-text__media {
    height: 100%;
    min-height: 250px;
    background-size: cover;
    margin-right: 4rem;
    margin-left: 4rem;
}


@media(max-width: 700px) {
    .historie-timeline::after,
    .timeline-scroll::after {
        display: none;
    }

    .historie-timeline h2 {
        transform: translateX(-50%);
        left: 50%;
        display: inline-block;
    }

    .historie-timeline .wp-block-media-text figure.wp-block-media-text__media {
        margin-left: 0;
        margin-right: 0;
    }

    .historie-timeline .wp-block-media-text figure.wp-block-media-text__media img {
        object-fit: cover;
    }

    .historie-timeline .wp-block-media-text .wp-block-media-text__content {
        padding-left: 0;
        padding-right: 0;
    }
}

.podbarvene-sloupce .wp-block-column {
    background: #c1c1c140;
    padding: 3rem 2rem;
}

.podbarvene-sloupce .wp-block-column {
    background: #c1c1c140;
    padding: 3rem 2rem;
}

.zarovnane-sloupce .wp-block-column {
    align-self: flex-start;
}

.zarovnane-sloupce .wp-block-getwid-image-box__image-container {
    height: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3rem 2rem;
    border-bottom: 1px solid #fff;
}

.blok-obrazky-ikony {
   /* background: #f2f2f2;*/
    border-top: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
    
}

.blok-obrazky-ikony .wp-block-column {
    align-self: center;
}

.blok-obrazky-ikony figcaption {
    font-size: 60%;
    margin-top: 0.8rem;
}

.blok-obrazky-ikony, 
.blok-obrazky-ikony figure {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.blok-obrazky-ikony .wp-block-image {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
}

.blok-obrazky-ikony .wp-block-image {
    padding: 0;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

@media(max-width: 700px) {
    .blok-obrazky-ikony {
        display: flex;
        flex-wrap: wrap;
    }

    .blok-obrazky-ikony .wp-block-column {
        flex-basis: 32% !important;
        padding: 0 .75rem;
    }
}

/*
.blok-obrazky-ikony {
    justify-content: center;
}


.blok-obrazky-ikony img {
    min-height: 60px;
    max-height: 95px;
    width:auto;
    height: auto;
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
}

.blok-obrazky-ikony .wp-block-column {
    flex-basis: auto !important;
}*/

@media(min-width: 700px) {
.pozadi-svetle-diamanty,
.pozadi-svetle-diamanty-size-xl,
.pozadi-svetle-diamanty-size-l,
.pozadi-svetle-diamanty-size-m,
.pozadi-svetle-diamanty-size-s {
    background: url('/wp-content/uploads/pozadi-diamanty-svetle-rohove.png') no-repeat right top;
    margin-top: 0rem !important;
    padding-top: 5rem !important;
}
}


@media (min-width: 1220px) {
    .pozadi-svetle-diamanty,
    .pozadi-svetle-diamanty-size-xl,
    .pozadi-svetle-diamanty-size-l,
    .pozadi-svetle-diamanty-size-m,
    .pozadi-svetle-diamanty-size-s {
        margin-top: 0rem !important;
        padding-top: 10rem !important;
}


}


.pozadi-svetle-diamanty-size-xl {
    background-position: right -120px;
    min-height: 550px;
}


.pozadi-svetle-diamanty-size-l {
    background-position: right -200px;
    min-height: 500px;
}

.pozadi-svetle-diamanty-size-m {
    background-position: right -250px;
    min-height: 400px;
}


.pozadi-svetle-diamanty-size-s {
    background-position: right -370px;
    min-height: 300px;
}


.tlacitko-prehled-vyrobku-katalog {
    background-color: #EEEEEE;
    position: relative;

    text-align:left;
    max-width:90rem !important;
    border-radius: 0;
}

.tlacitko-prehled-vyrobku-katalog .wp-block-buttons,
.tlacitko-prehled-vyrobku-katalog .wp-block-button {
    margin: 0.6rem 0;
    width: 250px;
}

.tlacitko-prehled-vyrobku-katalog .wp-block-column {
    display: flex;
    align-items: center;
    flex-basis: auto;
}

.tlacitko-prehled-vyrobku-katalog .wp-block-column:last-of-type {
    flex-basis: 350px !important;
}

.tlacitko-prehled-vyrobku-katalog::after {
    position: absolute;
    content: '';
    background: url('/wp-content/uploads/drafting-compass.svg') no-repeat top left;
    width:95px;
    height:95px;
    left:20px;
    top:-10px;
    opacity: 20%;
}

.tlacitko-prehled-vyrobku-katalog p {
    color: #d73a40;
    margin: 0;
    margin-left: 170px;
}

@media(max-width: 700px) {

    .tlacitko-prehled-vyrobku-katalog {
        display: flex;
        margin-top: 6rem;
    }

    .tlacitko-prehled-vyrobku-katalog .wp-block-column {
        margin-bottom: 0;
    }

    .tlacitko-prehled-vyrobku-katalog .wp-block-buttons, 
    .tlacitko-prehled-vyrobku-katalog .wp-block-button {
        margin: 0.6rem auto;
    }

    .tlacitko-prehled-vyrobku-katalog p {
        padding: 1rem;
        margin: auto;
    }

    .tlacitko-prehled-vyrobku-katalog::after {
    width: 205px;
    height: 205px;
    left: auto;
    top: auto;
    right: -4rem;
    bottom: -2rem;
    opacity: 5%;
    }


}

.wp-block-latest-posts .wp-block-latest-posts__featured-image.aligncenter img {
    object-fit: cover;
    width:100%;
    height: 200px;
}

@media (min-width: 700px) {
    .wp-block-latest-posts__featured-image {
        margin-top: 0;
    }
}

/*
---------------------------------------
Patička
---------------------------------------
*/

.footer-menu a, .footer-widgets a  {
    color: #636363;
}

.widget_nav_menu + .widget_text {
    margin-top: 1rem;
}

.menu-spojte-se-s-nami-paticka-container {
    border-bottom: 1px solid #e2e2e2;
    padding-bottom:20px;
}

.footer-widgets-outer-wrapper h2, .footer-widgets-outer-wrapper .heading-size-3 {
    color: #d73a40;
    font-weight: 600;
    font-size: 3.5rem;
}

.widget-content ul.menu a {
    font-weight:normal;
}


.footer-widgets-outer-wrapper {
    padding: 5rem 0;
}

.my-hr-divider {
    width:70%;
    height:1px;
    border:0;
    margin:10px 0;
    background: #F2F2F2;
}

.my-footer-logo-wrapper {
    border-bottom: 0.1rem solid #dedfdf;
    text-align:center;
    margin-bottom:20px;
}

.to-the-content-wrapper {
    position: relative;
    left: 0;
    top: 50px;
}

body:not(.template-titulni-foto) .to-the-content-wrapper {
    display: none;
}

@media(max-width: 700px) {
	
	.to-the-content-wrapper {
		display: none;
	}
}


.to-the-content {
    justify-content: left;
}

@media(max-width: 1000px) {
    #site-footer .section-inner.my-footer-logo-wrapper {
        display: none;
    }

    .footer-nav-widgets-wrapper {
        background: url(/wp-content/uploads/pozadi-diamanty-svetle-rohove.png) no-repeat right -300px;
    }

    .to-the-top {
        display: none;
    }
  
}

.my-footer-logo-wrapper a {
    margin: auto;

}


@media(min-width: 1000px) {
    .my-footer-logo-wrapper img {
        margin:0 auto 45px auto;
    }
}

.footer-credits p {
    font-weight: 400;
    font-size: 1.5rem;
}

.footer-top-visible .footer-nav-widgets-wrapper, 
.footer-top-hidden #site-footer {
    border-top:0;
    margin-top:0;
}

.footer-top-visible .footer-nav-widgets-wrapper {
    border-top: 1px solid #f7f7f7;
}


#site-footer {
    position:relative;

}

.footer-nav-widgets-wrapper, 
#site-footer {
    background-color:transparent;

}

@media(min-width: 1000px) {

    #site-footer::after {
        content: '';
        background: url('/wp-content/uploads/pozadi-diamanty-svetle-rohove.png') no-repeat right -250px;
        position: absolute;
        height: 500px;
        width: 100%;
        bottom: 0;
        right: 0;
        z-index:-100;
        transform: scaleY(-1);
    }

    #site-footer::before {
        content: '';
        background: url('/wp-content/uploads/pozadi-diamanty-svetle-rohove.png') no-repeat 140% -350px;
        position: absolute;
        height: 500px;
        width: 100%;
        bottom: 0;
        left: 0;
        z-index:-100;
        transform: scale(-1);
    }
}



/*
---------------------------------------
Hlavička, menu, drobečková navigace
---------------------------------------
*/

@media (max-width: 1000px) {

    #site-content {
        padding-top: 62px;
    }


    #site-header {
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 99999;
    }

    .menu-modal.active {
        padding-top: 62px;

    }

    button.toggle.close-nav-toggle {
        display: none;
    }

    #sticky-wrapper {
        box-shadow: 0px 1px 13px 2px rgba(0,0,0,0.18);

    }

}




@media (min-width: 1000px) {

    .header-navigation-wrapper {
        margin-top: 0rem;
        margin-left: -1px; /* Aby nebyl za submenu vidět okraj h1 */
        }

    #site-content {
        border-top: 2px solid #F2F2F2;
    }

    .sticky-menu-logo {
        display: none;
    }

    .wp-custom-logo .header-titles {
        margin-left: 0;
        height: 32px;
        /*margin-right: auto;*/
    }

    /** --- Fixed/Sticky header --- **/
    #site-header  {
        -webkit-transition: all .4s ease-in-out;
        -moz-transition: all .4s ease-in-out;
        -ms-transition: all .4s ease-in-out;
        -o-transition: all .4s ease-in-out;
        transition: all .4s ease-in-out;
    }

    #site-header  {
        height: 126px;
    }


    #sticky-wrapper {
        background: #fff;
       /* background: linear-gradient(180deg, #f2f2f2 0%, #fff 50%);*/
    }



    .sticky-hide .primary-menu ul {
        top: calc(100% + 0.4rem);
    }

    .sticky-hide li.has-mega-menu .sub-menu {
        top: 4.4rem; 
    }

    .sticky-hide {
        position: fixed !important;
        top:-100px;
    /* transform: translateY(calc(-100% - 0.5px));*/
        width:100%;
        max-width: 100%;
    }

    .sticky-hide .sticky-menu-logo {
        display: block;
        width: 80px;
        float: left;
        padding: 1rem 0;
        margin-right: 1.3rem;

    }

    .sticky-hide .header-navigation-wrapper {
        margin-top: 0;
    }

    .sticky-hide .sticky-menu-logo:hover {
        mix-blend-mode: normal;
    }

    .sticky nav.primary-menu-wrapper::after {
        display: none;
    } 

    .sticky .primary-menu > li {
        border-bottom: 0;
    } 

    .sticky { 
        position: fixed !important;
        top:0;
        z-index:999;
        /*transform: translateY(calc(-1% - 1px));*/
        width:100%;
        max-width: 100%;
        -webkit-transition: all .4s ease-in-out;
        -moz-transition: all .4s ease-in-out;
        -ms-transition: all .4s ease-in-out;
        -o-transition: all .4s ease-in-out;
        transition: all .4s ease-in-out;
        box-shadow: 0px 1px 13px 2px rgba(0,0,0,0.18);
        z-index:9999;
    }

    .sticky { 
        position: fixed !important;
      /* transform: translateY(calc(-56% - 1px));*/
    }

    .sticky-hide ul.primary-menu {
        margin-top: 0;
    }

    .sticky-hide .header-inner {
        padding: 0;
    }

    .sticky .header-titles-wrapper,
    .sticky-hide .header-titles-wrapper {
        display: none;
    }


}


/** <---Fixed/Sticky header ---/> ***/



.breadcrumbs {
    font-size:1.3rem;
    min-height:15px;
    max-width: 100%;
    margin: 1rem auto 0 auto;
}

@media(max-width:700px) {
    .breadcrumbs {
        display: none;
    }
}

.breadcrumbs, .breadcrumbs a  {
    color: #636363;
    font-weight: 400;
}

.breadcrumbs img {
    display:inline-block;
    height: 1.1rem;
    width:auto;
    opacity:85%;
}


.toggle-inner .toggle-text {
    top: calc(40% + 0.5rem);
}

.nav-toggle .toggle-inner {
    padding-top: 0;
}

@media (min-width: 700px) {

    .breadcrumbs {
        margin-top:1rem;
        max-width: 70rem;
        margin-left: 0;
    }

}

@media (min-width: 1000px) {
    .header-inner {
        display:block;
        padding-bottom:0rem;
        max-width: 160rem;

    }

    .breadcrumbs {
        margin-top:2rem;
        margin-left: 0;
    }
}

@media (min-width: 1450px) {

    .breadcrumbs {
        margin-top:3.5rem;
    }

}

.header-titles-wrapper {
    width:100%;
    max-width:100%;
}


@media (max-width: 1000px) {
	
    .header-inner {
        padding: 1.1rem 0;
    }
	
	.header-titles-wrapper .site-logo img {
		max-height: 40px; 
	}
}

@media (max-width: 700px) {

    .header-titles-wrapper {
        width:250px;
    }


    .header-titles-wrapper .site-logo img {
        width:100%;
        height:100%;
		max-height: 40px; 
        object-fit: cover;
        object-position: 0 0;
    }

    .header-inner {
        padding: 1.1rem 0;

    }


}

@media (min-width: 1000px) {

    nav.primary-menu-wrapper {
        position: relative;

    }

    /*
    header#site-header::before {
        height: 2px;
        width: 100vw;
        background: #F2F2F2;
        bottom: 53px;
        content: '';
        margin: auto;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }*/

    ul.primary-menu {
        justify-content: space-evenly;
        margin: 22px 0 0;
        flex-wrap: nowrap;
    }

    .primary-menu a:hover, .primary-menu a:focus, .primary-menu .current_page_ancestor {
        text-decoration:none !important;
        text-decoration-line: none !important;

    }

    .primary-menu > li {
        /*border:2px solid #F2F2F2;
        border-top:0; border-right:0;*/
       /* border-right: 2px solid #fff;*/
        border-left: 1px solid #efefef;
        display:block;
        flex-grow: 1;
        text-align:center;
        margin:0;
        padding:0;
        text-transform: uppercase;
        text-decoration:none;
        font-weight: 600;
        font-size:1.2rem;
        /*padding-bottom: 5px;*/
        border-radius: 0;


    }

    .primary-menu > li a {
    padding:12px 10px;
    transition:none;

    }


    .primary-menu > li.current-menu-item,
    .primary-menu > li.current-page-ancestor  {
       /* background-color:#f5f5f5;*/  
        background-color:#efefef; 
        /*border-radius: 5px;*/
        /*border-radius: .3rem;*/
        border-radius: 0;

    }

    .primary-menu > li:hover {
        background-color:#d73a40;
        /*border-radius: .3rem;*/
        border-radius: 0;
        transition: 0.2s ease;
        color: #fff;
        transition:none;
    }


    .primary-menu > li:hover > .icon {
        color: #fff !important;
    }

    .primary-menu .icon::before, .primary-menu .icon::after {
        bottom: 0.6rem;
    }


    .primary-menu > li:hover > a {
        color: #fff;
        background-color:#d73a40;
        /*border-radius: .3rem;*/

    }
    /*
    .primary-menu > li:first-child {
        border-left:0;
    }
    */

    .primary-menu > li > a, body:not(.overlay-header) .primary-menu > li > .icon, .modal-menu a, .footer-menu a, .footer-widgets a, #site-footer .wp-block-button.is-style-outline, .wp-block-pullquote:before, .singular:not(.overlay-header) .entry-header a, .archive-header a, .header-footer-group .color-accent, .header-footer-group .color-accent-hover:hover {
        color: #636363;
    }

    .primary-menu a:hover {
        color:#d73a40;
    }

    .primary-menu > li.current-menu-item > a {
        color:#636363;
    }

    .primary-menu > li.current-menu-item > a:hover,
    .primary-menu > li.current-menu-item:hover > a {
        color:#fff;
    }

    .primary-menu li.current-menu-item > a, .primary-menu li.current-menu-item > .link-icon-wrapper > a {
        text-decoration:none;

    }

    .primary-menu > li.menu-item-87 > a:not(:hover) {
        /*background: #00B454;
        background: #1481c1;*/
        background: #9d917f;
        
        color: #fff !important;
    }

    
    .primary-menu > li.menu-item-87 > a:hover {
        background: #00883f;
        background: #156fa5;
        color: #fff !important;
    }

    .primary-menu > li.menu-item-87.current-menu-item > a:not(:hover) {
        background: #f5f5f5;
        color: #636363 !important;
    }

}

@media (min-width: 1240px) {
	
	.primary-menu > li {
		font-size:1.4rem;
	}

	.primary-menu > li a {
        padding: 12px 4px;		
	}
	
	.primary-menu > li > .icon {
		right: calc(5% + .3rem);
	}
	
	body.touch-enabled .primary-menu > li.menu-item-has-children > a {
		margin-right: 1.2rem;
	}
	
}



/*----- Submenu ------ */

@media (min-width: 1000px) {


    /*
    .primary-menu > li {
        padding:0;
    }


    .primary-menu > li > a {
        padding:10px;
    }

    .primary-menu > li > a:hover {
        background-color: #F2F2F2;
    }
    */

    .primary-menu ul {
        background: #fff;
    /*  background: #636363dc;*/
        color:#636363;
        /*color:#fff;*/
        border: 0px solid #e2e2e2;
        padding:0;
        transform: none;
        top: calc(100% + 0.8rem);
        border-radius: 0;
    /* background-color:#f5f5f5;  
        border:0;*/
    }

	.primary-menu ul::before {
		height: .9rem;
	}
	
    #site-header {
        background: #fff;    transition: all .2s ease;
    }

    #sticky-wrapper {
        padding-bottom:0.4rem;
    }

    #sticky-wrapper.sticky-hide {
        padding-bottom:0;
    }

    #site-header::after {
        width: 100%;
        content: '';
        display: block;
        position: fixed;
        height: 70vh;
        left: 0;
        top: 0;
        z-index: -9;
        opacity: 0;
        background: linear-gradient(180deg, rgb(0 0 0 / 61%) 0%, rgba(0, 0, 0,0) 100%);
        z-index:-9999;
        opacity: 0;
        transform: translateY(-100vh);
        transition: opacity 0.2s linear, transform 0.4s linear;
        pointer-events: none !important;
    }

    #site-header:hover::after {
        width: 100%;
        content: '';
        display: block;
        position: fixed;
        height: 70vh;
        left: 0;
        top: 0;
        z-index: -9;
        background: linear-gradient(180deg, rgb(0 0 0 / 61%) 0%, rgba(0, 0, 0,0) 100%);
        z-index:-9999;
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.2s linear;
        pointer-events: none !important;
		transition-delay: .2s;
    }

    .primary-menu ul li a {
        padding: 12px 30px;
        text-align: left;
        font-size: 85%;
        text-transform: none;
        border-left: 1px solid #f2f2f2;
        border-radius: 0;
    }
  
    .primary-menu ul li:first-child a {
      border-left: 0;
    }

    .primary-menu ul li a:hover {
        background-color: #d73a40;
        color: #fff;
    }

    .primary-menu ul li.current-menu-item > a:not(:hover) {
        background-color: #f5f5f5;
    }


    .primary-menu ul ul {
        background-color: #fff;
        color:#636363;
        /*color: #d73a40;*/
        border:0;
    }




    .primary-menu ul::after {
        /*border-bottom-color: #a0a0a0;*/
        border-bottom-color: transparent;

    }

    .primary-menu li ul {
    /*    display:flex;  */
        width:auto;
    }

    .primary-menu li.mega-menu-column ul {
        display:block;
    }


    .menu-item-has-children .icon {
        /*position: static;
        display: inline-block;*/
    }
	
	.primary-menu > li > .icon {
		right: calc(3% + .1rem);
	}

	.primary-menu > li.menu-item-has-children > a {
		padding-right: 3rem;
	}
	
    .menu-item-has-children a {
        display: block;
        height:100%;
    }

}

@media (min-width: 1500px) { 

	.primary-menu > li > .icon {
		right: 1rem;
		right: calc(10% + .3rem);
	}
	
}



/*----- Megamenu ------ */

@media screen and (min-width: 1000px){
    .has-mega-menu{
        position:static;
    }
    
    li.has-mega-menu .sub-menu {
        width: auto;
        position: absolute;
        top: 4.8rem; 
        z-index: 100;
        }


    .primary-menu li.vytahnout-doprava.menu-item-has-children:hover > ul, .primary-menu li.vytahnout-doprava.menu-item-has-children:focus > ul, .primary-menu li.vytahnout-doprava.menu-item-has-children.focus > ul {
        left:0;
        right:auto;
		min-width: -webkit-fill-available;
    }

    li.mega-menu-column .sub-menu {
        opacity: 1 !important;
        position: static;
    }


    li.has-mega-menu > .sub-menu {   /* Původně :hover */
        display: flex;
        flex-wrap: wrap;

    /*CSS GRID lyout*/ 
        display: grid;
        grid-template-columns: repeat(auto-fit,minmax(50%, 1fr));   
        max-width:100vw;
    }

    


    .has-mega-menu ul::after {
        /*border-bottom-color: #a0a0a0;*/
        border-bottom-color: transparent;
        right: auto;
        left: 1.3rem;
    }

    .has-mega-menu  ul .icon {
        display:none;
    }

    .has-mega-menu ul ul::after, .has-mega-menu ul ul::before {
        display:none;

    }


    .primary-menu ul li.menu-item-has-children > a {
        border-bottom: 1px solid #f2f2f2;
        text-transform: uppercase;   
        text-align: center; 
    }

    
}



@media screen and (min-width: 1000px){
    li.has-mega-menu > .sub-menu { /* Původně :hover */
        grid-template-columns: repeat(auto-fit,minmax(300px, 1fr)); 
    }
}
@media screen and (min-width: 1200px){
    li.has-mega-menu > .sub-menu { /* Původně :hover */
        grid-template-columns: repeat(auto-fit,minmax(300px, 1fr)); 
    }
}


@media screen and (min-width: 1000px){
    li.mega-menu-column {
        width: 100%;
       /* min-width:400px;*/
        max-width: 100%;
        min-height: 1px;
        padding: 0rem 0 0;
        flex: 1 0 calc(50%);
        border-left: 1px solid #f2f2f2;
    }

    li.mega-menu-column:first-child {
        border-left:0;
    }


    li.mega-menu-column > a {
        color: #a0a0a0 !important;
        height:auto;
    }

    li.has-mega-menu ul li a {
        padding:18px 20px;
    }

    li.has-mega-menu ul li ul a {
        padding:12px 20px;
    }



    li.mega-menu-column > a:hover { 
        text-decoration: none;
        color: #a0a0a0 !important;
        cursor: default;
        background-color:#fff !important;
    }



}


@media screen and (min-width: 1000px){
    li.mega-menu-column {flex: 1 0 calc(33.333%);}
}
@media screen and (min-width: 1200px){
    li.mega-menu-column {flex: 1 0 calc(25%);}
}




/*
---------------------------------------
Šablona Default template
---------------------------------------
*/

.featured-media {
    display: none;
}

body:not(.template-titulni-foto) .entry-header {
    position:relative;
    text-align:left;
    padding: 1rem 0;
    background: transparent;
    /*background: linear-gradient(180deg, rgb(255, 255, 255) 70%, rgba(255, 255, 255,0) 100%);*/
    padding-left:3%;
    max-width: 168rem;
}


.singular .intro-text {
    border-top: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
    padding-top: 1.5rem;
    margin-top: 5rem;
}

@media (min-width: 1220px) {
    
.singular .intro-text {
    max-width: 55rem !important;
}
}

@media (min-width: 700px) {
 
    body:not(.template-titulni-foto) .entry-header {     
        padding-top: 4vh;
        }
}

@media (min-width: 1450px) {
 
    body:not(.template-titulni-foto) .entry-header {
        padding-top: 6vh;
        }

        body:not(.template-titulni-foto) .breadcrumbs + .entry-header {
        padding-top: 4vh;
    }
}


.page-template-default article,
body.blog article:first-of-type { 
    position:relative;
    overflow:hidden;
}

@media(min-width: 700px) {
        
    .page-template-default article::before,
    body.blog article:first-of-type::before {

        content: "";
        position: absolute;
        height: 2000px;
        z-index: -100;
        transform: scale(1);
        opacity: 60%;
        width: 2000px;
        /*transform: rotate(20deg);*/
        background: url('/wp-content/uploads/pozadi_diamant_svetle.svg') no-repeat -120px 35vh;
        /*background: url('/wp-content/uploads/pozadi-diamanty-svetle.png') no-repeat center 50vh;*/
    
    }
}


body:not(.template-titulni-foto) .featured-media-inner  {
    position: static;
    width: 100%;
    height:100%;
}


body:not(.template-titulni-foto) .featured-media-inner, 
.entry-header .section-inner {
    max-width:100%;
}


body:not(.template-titulni-foto) .entry-header h1.entry-title  {
    z-index:1;
    position:relative;
    color:#d73a40;
    text-align:left;
    font-weight:800;
    width: 100% !important;
    max-width: 160rem !important;
    margin-right: auto;
    margin-left: auto;

}


#site-content .post-inner  {
	padding-top: 8rem;
}

body.template-titulni-foto #site-content .post-inner  {
	padding-top: 8rem;
}

body.template-produkt #site-content .post-inner
{
	padding-top: 0;
}

body.page-template-default #site-content .post-inner {
	padding-top: 3rem;

}


@media(min-width: 700px) {
    body:not(.template-titulni-foto) .entry-header h1.entry-title::after {
        content: '';
        background: #a0a0a0;
        background: #fff url('/wp-content/uploads/pozadi_diamant_tmave.svg') no-repeat center center;
    /* background:  url('/wp-content/uploads/showroom-kolbenova.jpg') no-repeat center center;*/
    background-blend-mode: multiply;
    background-blend-mode: hard-light;
        background-size: cover;
        opacity: 40%;
        height: 100%;
        height: 150%;
        width: calc(100% - 200px);
        left:0;
        left: 200px;
        top: -25%;
        position: absolute;
        z-index: -2;
    }
}

@media(min-width: 700px) {
    body:not(.template-titulni-foto) .entry-header h1.entry-title::before {
        content: '';
        background: linear-gradient(to right, #ffffff 0%, #ffffff00 13%);
        height: 100%;
        height: 150%;
        width: calc(100% - 200px);
        left:0;
        left: 200px;
        top: -25%;
        position: absolute;
        z-index: -1;
    }
}

@media (min-width: 700px) {
 
    body:not(.template-titulni-foto) .entry-header h1.entry-title {
        width:55rem;
        line-height: 139%;

        }
}
    
@media (min-width: 1220px) {
 
    body:not(.template-titulni-foto) .entry-header h1.entry-title {
        width:75rem;
        line-height: 138%;
        }
}
    
@media (min-width: 1450px) {
 
    body:not(.template-titulni-foto) .entry-header h1.entry-title {
        width:75rem;
        line-height: 135%;
        }
}
   

@media (min-width: 1700px) {
 
    body:not(.template-titulni-foto) .entry-header h1.entry-title {
        width:75rem;
        line-height: 135%;
        }
}
   

/*
body:not(.template-titulni-foto) .entry-title-background {
    background-color: #d73a40;

   padding: 0.5rem 1.5rem 1.1rem 1.5rem;
   line-height: 135%;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}*/


@media (max-width: 700px) { 

    body:not(.template-titulni-foto) .entry-title-background {
        padding: 0;    
    }

    body:not(.template-titulni-foto) .my-entry-wrapper {
        background: url('/wp-content/uploads/pozadi-diamanty-svetle-rohove-mobil.png') no-repeat left -150px;
        padding-bottom: 6rem;
        padding-top: 5rem;
        margin-bottom: 1rem;
    }
	
    body.template-produkt .my-entry-wrapper {
   		display: none;
	}

    body:not(.template-titulni-foto) #site-content .post-inner  {
        padding-top: 0;
    }
	
	body.page-template-default #site-content .post-inner {
		padding-top: 0;
	}
	
}


/*
---------------------------------------
Blog homepage / ALPHA news
---------------------------------------
*/

#alpha-news {
    padding-top: 0;
}

.alpha-news-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.alpha-news-wrapper article {
    flex-basis: 30%;
    margin-right: 2%;
}

.navigation.pagination a {
    color: #d73a40;
}

.alpha-news-wrapper article h2 a {
    text-decoration: none;
    color: #d73a40;
}

.alpha-news-wrapper article h2 a:hover {
    text-decoration: underline;
    color: #d73a40;
}

@media (min-width: 700px) {
.alpha-news-wrapper article h2 {
    font-size: 2.5rem;
}
}

.blog-entry-wrapper .featured-media-blog {
    height: 200px;
}

.blog-entry-wrapper .featured-media-blog img {
    object-fit: cover;
}

.blog-entry-wrapper h2 {
    margin: 2rem auto 1rem;  
}

.blog-entry-wrapper {
    margin-top: 4rem;
    margin-bottom: 4rem;
}










/*
---------------------------------------
Šablona Titulni-foto
---------------------------------------
*/



.template-titulni-foto .featured-media  {
    height:calc(100vh - 200px);
    display:block;
    overflow:hidden;
    position:absolute; 
    min-height: 525px;
    /*right:30px; 
    top: 30px;*/
    right:0;
    top:0;
    height:calc(100vh - 125px);
    z-index: -2;
    width: 70%;
	/*width: 100%;  -- full cover -- */
}    
 

.template-titulni-foto .featured-media::before {
    display:none;

}

.template-titulni-foto .featured-media-inner img {
    width:100%;
    height:100%;  
    min-height: 525px;
    object-fit: cover;
}

.template-titulni-foto .entry-header {
    position: relative;
    height: calc(100vh - 180px);
    text-align: left;
    padding-top: 3vh;
    min-height: 500px;
    background: transparent;
    /*background: linear-gradient(180deg, rgb(255, 255, 255) 70%, rgba(255, 255, 255,0) 100%);*/
    padding-left: 3%;
    max-width: 168rem;
   /* display: flex;
    align-items: center;*/
}


@media (max-width: 1000px) { 

    .template-titulni-foto .featured-media  {
        height:calc(100vh - 64px);
    }
}


@media (max-width: 700px) { 

    .template-titulni-foto .featured-media  {
        width: 100%;
        right: 0;
        top: 0;
        height: 22rem;
        height: 37vh;
        min-height: unset;
        z-index: 0;
    }

    .my-entry-wrapper {
        margin-bottom: 0;
        height:auto;
        width: 100%;
        background: url('/wp-content/uploads/pozadi-diamanty-svetle-rohove-mobil.png') no-repeat left 200px;
        padding: 0 2rem 7rem 2rem;
    }

    .template-titulni-foto .featured-media-inner img {
        min-height: unset;
    }
    

}


@media (max-width: 1000px) { 
    .template-titulni-foto .entry-header {
        height: calc(100vh - 150px);
    }

}


@media (max-width: 700px) {
    .template-titulni-foto .entry-header-inner {
        width: calc(100% - 2rem);
    }

    .template-titulni-foto .entry-header {
        padding-top: 40vh;
        padding-bottom: 0;
        height: auto;
    }


}

@media (min-width: 700px) {
 
    .template-titulni-foto .entry-header {
        padding-top: 2vh;
        }

    .breadcrumbs + .entry-header {
            padding-top: 4vh;
    }
}

@media (min-width: 1450px) {
 
    .template-titulni-foto .entry-header {
        padding-top: 4vh;
        }

    .breadcrumbs + .entry-header {
            padding-top: 4vh;
    }
}

.template-titulni-foto article { /* background image */
    position:relative;
    overflow:hidden;
}

@media(min-width: 700px) {
    .template-titulni-foto article::before {
        content: "";
        position: absolute;
        height: 2000px;
        z-index: -100;
        transform: scale(1);
        width: 2000px;
        /*transform: rotate(20deg);*/
        background: url('/wp-content/uploads/pozadi_diamant_svetle.svg') no-repeat -120px 35vh;
        /*background: url('/wp-content/uploads/pozadi-diamanty-svetle.png') no-repeat center 50vh;*/
    
    }


    /* ---------TEST ------*/
/*
    .template-titulni-foto .my-entry-wrapper::before {
        width: 100vw;
        height: calc(100vh - 125px);
        min-height: 525px;
        position: absolute;
        left: 13%;
        top: 0;
        content: '';
        background: linear-gradient(to right, rgb(255, 255, 255,0)0%, rgb(255, 255, 255,1)14%,rgb(255, 255, 255,1)18%, rgba(255, 255, 255, 0) 35%);
        mix-blend-mode: screen;
        z-index: -1;
    }
    
    .template-titulni-foto .my-entry-wrapper::before {
        background: linear-gradient(to top, rgb(255, 255, 255,0)0%, rgb(255, 255, 255,1)14%,rgb(255, 255, 255,1)18%, rgba(255, 255, 255, 0) 35%);
        bottom: 0;
        top: 15rem;
        left: 0;
    }
*/
    /* ---------TEST ------*/

}


.template-titulni-foto .featured-media-inner  {
    position: static;
    width: 100%;
    height:100%;
}


.template-titulni-foto .featured-media-inner, .entry-header .section-inner {
    max-width:100%;
    margin-left: 0;
}


.template-titulni-foto .entry-header h1.entry-title {
    width:100%;
    z-index:1;
    position:relative;
    color:#d73a40;
    text-align:left;
    font-weight:800;
    line-height: 125% !important;
    /*display:inline;
    background: rgba(230, 108, 26, 0.705);
    box-shadow: 0 0.05em 0 0.2em rgba(230, 108, 26, 0.705);*/

}
 
@media (min-width: 700px) {
 
    .template-titulni-foto .entry-header h1.entry-title {
        width:55rem;
        line-height: 139%;

        }
}
    
@media (min-width: 1220px) {
 
    .template-titulni-foto .entry-header h1.entry-title {
        width:75rem;
        line-height: 139%;
        }
}
    
@media (min-width: 1450px) {
 
    .template-titulni-foto .entry-header h1.entry-title {
        width:75rem;
        line-height: 135%;
        }
}
   

@media (min-width: 1700px) {
 
    .template-titulni-foto .entry-header h1.entry-title {
        width:75rem;
        line-height: 135%;
        }
}
   

/*
.template-titulni-foto .entry-title-background {
    background-color: #d73a40;
    padding: 0.3rem 1.5rem 1.1rem 1.5rem;
    background-blend-mode: normal;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}
*/


/*
.page-id-2803 .entry-title-background,
.page-id-2933 .entry-title-background,
.page-id-2957 .entry-title-background {
    background-color: #c80f2e;
}

.page-id-2803 .wp-block-column h2, 
.page-id-2803 .wp-block-media-text h2,
.page-id-2933 .wp-block-column h2, 
.page-id-2933 .wp-block-media-text h2,
.page-id-2957 .wp-block-column h2, 
.page-id-2957 .wp-block-media-text h2 {
    background-color: #c80f2e;
}*/


/* ### Alternativa za box-decoration-break
.template-titulni-foto h1.entry-title::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    width: 10px;
    height: 100%;
    background: url(/wp-content/uploads/Rectangle-1593.png) repeat left top;
    background-blend-mode: multiply;
}*/

.template-titulni-foto .entry-header .intro-text {
    width:34%;
    line-height:100%;
    margin-top:4vh;
    padding-top: 0;
    border-top: 2px solid #f2f2f2;
    border-bottom: 2px solid #f2f2f2;
    margin-left: 0;
}


@media (max-width: 700px) {
    .template-titulni-foto .entry-header .intro-text {
        width:100%;
        padding:0;
        border: 0;
    }

    .template-titulni-foto .entry-title-background { 
        padding: 0;
    }
}


@media (min-width: 700px) {
    .template-titulni-foto .entry-header .intro-text p {
        font-size:1.8rem;
        margin: 1rem 0;
    }

}

@media (min-width: 1220px) {
    .template-titulni-foto .entry-header .intro-text p {
        font-size:1.8rem;
    }

}


@media (min-width: 1450px) {
    .template-titulni-foto .entry-header .intro-text {
    width:30%;
       /* background-color: #ffffffbf;   -- full cover -- */
       /* padding: 10px 30px; -- full cover -- */
       /* border: 0; -- full cover -- */
    }

    .template-titulni-foto .entry-title-background {
        padding: 0.5rem 1.5rem 1.1rem 0rem;
    }

    .template-titulni-foto .entry-header .intro-text p {
        font-size:2rem;
        margin: 2rem 0;
    }
}


/* -- Bílý přechod před titulní fotkou -- */
@media (min-width: 700px) {

    .template-titulni-foto .my-entry-wrapper::after {
        width: 100vw;
        height: calc(100vh - 125px);
        min-height: 525px;
        position: absolute;
        left: 13%;
        top: 0;
        content: '';
        background: linear-gradient(to right, rgb(255, 255, 255,0)0%, rgb(255, 255, 255,1)14%,rgb(255, 255, 255,1)18%, rgba(255, 255, 255, 0) 35%);
        mix-blend-mode: screen;
        z-index: -1;
		/*display: none;  -- full cover -- */
    }
}


/*
---------------------------------------
Úvodní strana - tlačítko pomocná navigace
---------------------------------------
*/

.pomocna-navigace-wrapper {
    z-index:1;
    position: absolute;
    bottom:8rem;
    right: 10rem;
    transition: .3s ease;
}

.pomocna-navigace-wrapper button {
    z-index:1;
    position: relative;
    bottom:0;
    right: 0;
    font-size: 3rem;
    /*background: #d73a40d7;*/
    background: #9d917f;

    padding: 2.4rem 3rem;
    /*border-radius: 0.5rem;*/
    border-radius: 0;

    width: 40rem;
    height: 10rem;
    transition: .3s ease;

}

.pomocna-navigace-wrapper button .icon {
    height: 1.7rem;
    pointer-events: none;
    transform: rotate(-225deg);
    width: 1.3rem;
    position: static;
    display: inline-block;
    margin: 0 0 0.5rem 1rem;
}
.pomocna-navigace-wrapper button .icon::before, 
.pomocna-navigace-wrapper button .icon::after {
    content: "";
    display: block;
    background-color: currentColor;
    position: absolute;
    bottom: calc(50% - 0.1rem);
    left: 0;

}

.pomocna-navigace-wrapper button .icon::after {
    height: 0.4rem;
    width: 1.9rem;
}

.pomocna-navigace-wrapper button .icon::before {
    height: 1.9rem;
    width: 0.4rem;
} 


.pomocna-navigace-wrapper button:hover {
    background: #636363dc;
    text-decoration: none;
    transition: .3s ease;
}

.pomocna-navigace-wrapper:hover button {
    background: #535353dc;
}

.pomocna-navigace {
    z-index:1;
    position: relative;
    top:0;
    right: 0;
    font-size: 3rem;
    background: #636363dc;
    border-radius: 0;
    padding: 2.4rem 2rem 1rem;
    margin: 0;
    width: 40rem;
    height:1rem;
    overflow:hidden;
    opacity: 0%;
    max-height: 0;
    transition: .3s ease;

}


.pomocna-navigace-wrapper:hover .pomocna-navigace,
.pomocna-navigace:hover  {
    display: block;
    opacity: 100%;
    height:100%;
    max-height:600px;
    transition:  .3s ease;
    margin: auto;
}

.pomocna-navigace ul {
    margin-left: 0;
    margin-bottom:0;    transition: 1s ease;
}

.pomocna-navigace li  {
    margin: 0;
    list-style-type: none;

}

.pomocna-navigace li a {
    color: #fff !important;
    border-bottom: 1px solid #8b8b8b;
    padding: 1.1rem 2rem;
    text-decoration: none;
    display:block;
}

.pomocna-navigace li:last-child a {
    border-bottom: 0;
}


.pomocna-navigace li a:hover {
    background: #a0a0a0;
}


@media (max-width: 1450px), (max-height: 850px) {
 

    .pomocna-navigace-wrapper {
        bottom:5rem;
        right: 3rem;
    }
    
    .pomocna-navigace-wrapper button {
     
        bottom:0;
        right: 0;
        padding: .4rem;
        border-radius: 0;
        width: 40rem;
        height: 7rem;
    }
    

    
    .pomocna-navigace {
        top:0;
        right: 0;
        padding: 2.4rem 2rem;
        width: 40rem;
        height:1rem;
        font-size: 2rem;
    }

    .pomocna-navigace li a {
        padding: .6rem 2rem;
    }

}
 

@media (max-height: 700px) {
    .pomocna-navigace-wrapper {
        bottom: 1.5rem;
        right: .5rem;
    }
}

@media (max-height: 650px) {

    .pomocna-navigace-wrapper {
        bottom: 1rem;
        right: .5rem;
    }

    
    .pomocna-navigace {
        padding: 1rem 2rem;
    }

    .pomocna-navigace-wrapper button {
        font-size: 2.5rem;
        height: 6rem;
    }

}

@media (max-height: 600px) {
    .pomocna-navigace li a {
        padding: .1rem 2rem;
    }

}




@media (max-width: 700px) {
    .pomocna-navigace-wrapper {
        bottom: 0rem;
        left: 0rem;
        width: 100%;
        position: static;
        display: flex;
        flex-wrap: nowrap;
        flex-direction: column-reverse;
    }

    .pomocna-navigace {
        background: #636363;
        bottom: 0;
        position: static;
        width: 100%;
        flex-grow: 1;
        padding: 0.4rem 0rem;
        margin: auto;
        margin-left:-9999px;
    }

    .pomocna-navigace-wrapper button {
        width: 100%;
        height: 6rem;
        margin: auto;
    }

    .pomocna-navigace li a {
        border-bottom: 1px solid #8b8b8b;
        padding: 1.2rem 2rem;
        text-align: center;
    }

    .pomocna-navigace-wrapper button {
    font-size: 2.2rem;
    }

    .pomocna-navigace-wrapper button .icon {
        transform: rotate(-45deg);
    height: 1rem;
    }

    .pomocna-navigace-wrapper button .icon::after {
        height: 0.2rem;
        width: 0.95rem;
    }
    
    .pomocna-navigace-wrapper button .icon::before {
        height: 0.95rem;
        width: 0.2rem;
    } 



}

/*
---------------------------------------
Úvodní strana - titulní foto
---------------------------------------
*/


.home.template-titulni-foto .entry-header {
    min-height: 350px;
}


@media (min-width: 700px) {

    .home.template-titulni-foto .featured-media,
    .home.template-titulni-foto .featured-media-inner img {
        min-height: 470px;
    }
    
    .home.template-titulni-foto .my-entry-wrapper::after {
        min-height: 470px;
    }

}


@media (min-width: 1220px) {

    .home.template-titulni-foto .entry-header h1.entry-title {
        width: 55rem;
    }

}

@media (min-width: 1450px) {
 
    .home.template-titulni-foto .entry-header h1.entry-title {
        width:75rem;
        }
}


/*
---------------------------------------
Post template / články 
---------------------------------------
*/

.post-template .entry-categories  {
    display:none;
}



@media (min-width: 700px) {
 
    .post-template .entry-header h1.entry-title {
        width:55rem;
        line-height: 139%;

        }
}
    
@media (min-width: 1220px) {
 
    .post-template .entry-header h1.entry-title {
        width:65rem;
        line-height: 146%;
        }
}
    
@media (min-width: 1450px) {
 
    .post-template .entry-header h1.entry-title {
        width:75rem;
        line-height: 145%;
        }

    .post-template.template-titulni-foto .entry-title-background { 
        padding: 0.3rem 1.5rem 1.1rem 1.5rem;
    }
}
   

@media (min-width: 1700px) { 
    .post-template .entry-header h1.entry-title {
        width:85rem;
        line-height: 140%;
        }
}
   

@media (min-width: 700px) {
    .post-template h1, .post-template .heading-size-1 {
        font-size: 4.3rem;
    }
}

    
@media (min-width: 1220px) {
    .post-template h1, .post-template .heading-size-1 {
        font-size: 4.6rem; /*5.4*/
    }
}

@media (min-width: 1450px) {
    .post-template h1, .post-template .heading-size-1 {
        font-size: 5.0rem; /* 5.9*/
    }
}

@media (min-width: 1700px) {
    .post-template h1, .post-template .heading-size-1 {
        font-size: 5.4rem; /* 6.2*/
    }
}


/*
---------------------------------------
Blok s výpisem podstránek / custom post type
---------------------------------------
*/

.wp-block-getwid-custom-post-type .getwid-columns {
    justify-content: center;
}

.wp-block-getwid-custom-post-type.has-layout-list {
    margin-bottom: 5rem;
}

.wp-block-getwid-custom-post-type.has-layout-list h3 {
    margin-top: .5rem;
}

img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.wp-block-getwid-custom-post-type__post-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
}

.has-layout-list .wp-block-getwid-custom-post-type__post-thumbnail,
.has-layout-grid .wp-block-getwid-custom-post-type__post-thumbnail {
    height: 25rem;
}

@media screen and (min-width: 700px) {
    .has-layout-list .wp-block-getwid-custom-post-type__post-thumbnail {
        height: 17rem;
    }

    .has-layout-grid .wp-block-getwid-custom-post-type__post-thumbnail {
        height: 18rem;
    }
}

@media screen and (min-width: 1400px) {
    .has-layout-list .wp-block-getwid-custom-post-type__post-thumbnail {
        height: 17rem;
    }

    .has-layout-grid .wp-block-getwid-custom-post-type__post-thumbnail {
        height: 25rem;
    }

}

/*
---------------------------------------
Blok s referencemi / carousel block
---------------------------------------
*/

.wp-block-getwid-post-carousel__post-thumbnail {
    padding-top: 60%;
}

.wp-block-getwid-post-carousel__post-thumbnail a {
    max-height:350px;
}



.wp-block-getwid-post-carousel .slick-slide, 
.wp-block-getwid-images-slider .slick-slide {
    margin: 0 !important;
    padding: 0 50px;
    border-left: 1px solid transparent;
}

.wp-block-column .wp-block-getwid-post-carousel .slick-slide, 
.wp-block-column .wp-block-getwid-images-slider .slick-slide {
    padding: 0;
    border-left:0;
}

.wp-block-getwid-post-carousel__slide.slick-current {
    border-color: #e2e2e2;
}


.wp-block-getwid-images-slider .slick-prev:before, .wp-block-getwid-images-slider .slick-next:before, .wp-block-getwid-media-text-slider .slick-prev:before, .wp-block-getwid-media-text-slider .slick-next:before, .wp-block-getwid-post-slider .slick-prev:before, .wp-block-getwid-post-slider .slick-next:before, .wp-block-getwid-post-carousel .slick-prev:before, .wp-block-getwid-post-carousel .slick-next:before {
    color: #636363;
}

.slick-next, .slick-prev {
    transform: scale(2);   
}

.slick-next {
    right:0;
}

.slick-prev {
    left:0;
}

@media (max-width: 767px) {
    .wp-block-getwid-post-carousel .slick-slide, .wp-block-getwid-images-slider .slick-slide {
        border-left:0;
        padding: 0 15px;
    }

    .slick-next, .slick-prev {
        transform: scale(1.2); 
        display:none !important;  
    }

}



/*
---------------------------------------
Blok s posledními články / latest posts
---------------------------------------
*/


ul.wp-block-latest-posts.wp-block-latest-posts__list.alignwide li {
    color:white;
    text-align: left !important;
}

ul.wp-block-latest-posts.wp-block-latest-posts__list.alignwide li > a {
    color: white;
  /*  background: #3f3f3f;
    box-shadow: 0 0.05em 0 0.2em #3f3f3f;*/
    background-color: #505050;
   /* white-space: pre-wrap;*/
   padding: 5px 10px 7px 10px;
   line-height: 140%;
     /*Needs prefixing */
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    background-blend-mode: soft-light;
}

ul.wp-block-latest-posts.wp-block-latest-posts__list.alignwide li > a:hover {
text-decoration: underline;
}



.wp-block-latest-posts__post-excerpt {
    font-size: 1.8rem;
}

@media (min-width:1000px) {

    ul.wp-block-latest-posts.wp-block-latest-posts__list.alignwide {
        display: flex;
        flex-wrap: wrap;
    
    }

    ul.wp-block-latest-posts.wp-block-latest-posts__list.alignwide li {
        width: 30%;
        margin:1.5%;

    }
}


/*
 * 
 * TEMPLATE PRODUKT
 * 
 * */

.template-produkt header.entry-header {
	display: none;
}

@media (max-width: 781px) { 
	
	.produkt-uvodni-galerie {
		flex-wrap: nowrap;
		margin-bottom: 0 !important;
	}

	.produkt-uvodni-foto {
		max-width: 70%;
		margin: auto;
	}
}