﻿/*#page{
	position:relative;
	display:block;
	max-width:var(--width-page);
	margin:auto;
	padding:calc(var(--topheader-height) + var(--header-height)) 0 0 0;
	background-color: var(--wp--preset--color--background);
}
#pagefix.on::before{content:' ';position:absolute; z-index:5000; top:0; left:0; bottom:0; right:0; background-color:var(--wp--preset--color--primary); opacity: 0.9;}
*/

.wp-site-blocks.scrollfix { position: fixed; width:100% }
.wp-site-blocks.scrollfix::before{content:' ';position:absolute; z-index:5000; top:0; left:0; bottom:0; right:0; background-color:var(--wp--preset--color--primary); opacity: 0.9;}


#scrolltop{
	display:block;
	position:fixed;
	bottom:-60px;
	right:20px;
	z-index: 1000;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.closeButton {
    position:absolute;
    background-color: transparent;
    -webkit-appearance:none;
    display:block;
    cursor:pointer;
    top:1rem;
    right:1rem;
    z-index:30;
    border: none;
}

.layer-modal {position: absolute; width: 100%; min-height: 100vh; display: -webkit-box;  display: -ms-flexbox;  display: flex;  -webkit-box-pack: center;  -ms-flex-pack: center;  justify-content: center;  -webkit-box-align: center;  -ms-flex-align: center;  align-items: center;}
.modal-content{background-color: var(--wp--preset--color--background); box-shadow: 0 1em 2em -1em rgba(0,0,0,0.5); border-radius:2em; max-width: 100%}
.layer-modal.fixed {position:fixed; left:0; top:0; width:100%; height:100%;}
.layer-modal.fixed::after {content:''; display: block; background-color:var(--wp--preset--color--primary); opacity:0.9; position:fixed; left:0; top:0; width:100%; height:100%; z-index: 100}

.closeButton.closeModal{position: fixed; right: 1em; top:1em; font-size: 1.5rem; padding: 0}
.closeButton.closeModal {
    border-radius: 50%;
    /*box-shadow: 0 0.25em 0.75em rgba(0, 0, 0, 0.75);*/
    padding: 1.5px;
    background-color: #fff;
}



/*_________________________________________________________________gallery*/


.button_l {
    position:absolute;
    display:block;
    font-size:var(--wp--preset--font-size--large);
    margin: 0;
    padding: 0;
    cursor:pointer;
    top:0;
    left:calc(-1 * var(--wp--style--root--padding-left));
    height:100%;
    width:var(--wp--style--root--padding-left);
    z-index:50;
    background-color: transparent;
    border: none;
}
.button_r {
    position:absolute;
    display:block;
    font-size:var(--wp--preset--font-size--large);
    margin: 0;
    padding: 0;
    cursor:pointer;
    top:0;
    right:calc(-1 * var(--wp--style--root--padding-right));
    height:100%;
    width:var(--wp--style--root--padding-right);
    z-index:51;
    background-color: transparent;
    border: none;
}



/*_________________________________________________________________wp menu*/


.wp-block-navigation__responsive-container-close svg, .wp-block-navigation__responsive-container-open svg {width: 36px; height: 36px;}
.wp-block-navigation svg line {stroke-width: 3px;}
.wp-block-navigation__responsive-container.has-modal-open.is-menu-open { padding: 2em;}

@media screen and (max-width: 960px) {
  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    display: none !important;
  }
  .wp-block-navigation__responsive-container-open {
    display: block !important;
  }
}
@media screen and (min-width: 961px) {
    .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
        border: none;
        padding: 0.5em;
        box-shadow: 0 0.5em 1em -.5em rgba(0, 0, 0, 0.25);
    }
}
@media not (prefers-reduced-motion) {
    .wp-block-navigation__responsive-container.is-menu-open {
        animation: overlay-menu__fade-in-animation 1s ease-out;
        animation-fill-mode: forwards;
    }
}


/*_________________________________________________________________team */
.wp-block-post.type-team {list-style: none}



/*_________________________________________________________________forms */
input:-internal-autofill-selected {background-color: inherit;}



/*_________________________________________________________________wpcf7-form*/
.wpcf7-form *{box-sizing: border-box;}
.wpcf7-form [type="submit"], .wpcf7-form [type="text"], .wpcf7-form [type="email"], .wpcf7-form [type="date"], .wpcf7-form [type="button"], .wpcf7-form textarea, .wpcf7-form select {
    display: inline-block;
    font-family: inherit;
    font-size: 1.1rem;
    line-height: 1.25em;
    border: none;
    border-radius: 1em;
    padding: 0.5em 1em;
    /*margin-bottom:1em;*/
    max-width: 100%;
    width: 100%;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.wpcf7-form [type="text"], .wpcf7-form [type="email"], .wpcf7-form [type="date"], .wpcf7-form textarea, .wpcf7-form select {
    background-color: var(--wp--custom--input-color--background);
    color: var(--wp--custom--input-color--color);
}

.wpcf7-form input[type="checkbox"], .wpcf7-form input[type="radio"] {
    position: relative;
    width: 30px;
    height: 30px;
    margin: 0;
    vertical-align: middle;
    border: 1px solid #666;
    border-radius: 50%;
    background-color: var(--wp--preset--color--white);
    color: var(--wp--preset--color--textcolor);
    accent-color: var(--wp--preset--color--primary);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.wpcf7-form input[type="radio"]{border-radius: 50%}
.wpcf7-form input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 9px;
    top: -1px;
    width: 6px;
    height: 20px;
    border-right: 4px solid var(--wp--preset--color--primary);
    border-bottom: 4px solid var(--wp--preset--color--primary);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}
.wpcf7-form input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 5px;
    width: 19px;
    height: 19px;
    background-color:var(--wp--preset--color--primary);
    border-radius: 50%;
}
.wpcf7-form input[type="checkbox"]:checked, .wpcf7-form input[type="radio"]:checked {
    background-color: var(--wp--preset--color--white);
}
.wpcf7-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):hover, .wpcf7-form textarea:hover, .wpcf7-form select:hover {
    background-color: var(--wp--preset--color--tertiary);
    color: var(--wp--preset--color--textcolor);
}
.wpcf7-form input[type="checkbox"] + span { display: inline-block; max-width: calc(100% - 60px); margin-left: 1em; vertical-align: top;}
.wpcf7-form input[type="checkbox"] + label , .wpcf7-form input[type="radio"] + label { display: inline-block; max-width: calc(100% - 60px); margin-left: 0.75em; margin-right: 2em; vertical-align: middle;}
.checkbox-block { display: inline-block; margin-top: 0.25em; margin-bottom: 0.25em;}

.wpcf7-form input[type="checkbox"].labelbox { opacity:0; position:absolute; }
.wpcf7-form input[type="checkbox"].labelbox::after { content:none }
.wpcf7-form input[type="checkbox"].labelbox + label { cursor: pointer; min-width: 140px; margin: 2px 1em; padding:10px 1em; border:2px solid #e7e7e7; border-radius:0.2em; background-color:var(--wp--preset--color--white) }
.wpcf7-form input[type="checkbox"].labelbox + label:hover { border-color:var(--wp--preset--color--grey) }
.wpcf7-form input[type="checkbox"]:checked.labelbox + label { border-color:var(--wp--preset--color--primary)}
.wpcf7-form input[type="checkbox"]:focus.labelbox + label { outline: 2px solid black}
.wpcf7-form input[type="checkbox"].labelbox + label.iconset { line-height: 1; padding-left:3.5em; min-height: 2em; max-width: 17ch; min-width: 17ch}
.wpcf7-form input[type="checkbox"].labelbox + label.iconset .baseicon {left: 0.5em; top: 0.5em;}
label.iconset.inactiv {opacity: 0.5;}


.wpcf7-form [type="submit"]:hover{
    background-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--white);
}
.wpcf7-form [type="submit"]{
    cursor: pointer;
    background-color: var(--wp--preset--color--secondary);
    color: var(--wp--preset--color--text-color);
}

.wpcf7-form .wpcf7-list-item {
    margin: 1em;
}

.label-column label>span:last-child {
    display: block;
    float: right;
    width: 66%;
}
.label-column label>span:first-child {
    display: block;
    float: left;
    width: 33%;
    padding-top: 1em;
}
.label-column label::after {
    content: '';
    display: block;
    clear: both;
}
@media (max-width: 480px){
.label-column label>span:first-child {
    display: block;
    float: none;
    width: auto;
    padding-top: 0;
}
.label-column label>span:last-child {
    display: block;
    float: none;
    width: auto;
}
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    border-color: var(--wp--preset--color--secondary);
}

.wpcf7 form .wpcf7-response-output {
    margin: 1em 0;
    padding: 1em;
    border-width: 5px;
}

/*.has-primary-background-color .wpcf7-form {--wp--preset--color--textcolor:var(--wp--preset--color--black)}*/