/*2022*/

:root{
    --color-ci:     #ffd203;
    --color-dark:   #272727;
    --color-white:  #ffffff;
    --color-grey:   #e8e8e8;
}

/*Specialphone*/

@media screen and (max-width: 768px){

    html, body{
        overflow-x: hidden;
        position: relative;
    }

}

.navbar .navbar-toggler{
    right: 2em;
    position: relative;
}

.callusbtn{
    padding: 0.75em;
    width: 3em;
    height: 3em;

    text-align: center;
    border-radius: 100px;
    border: 0;
    color: var(--color-white);
    background: var(--color-dark);
    text-decoration: none;
    display: inline-block;
    max-width: 100%;
    white-space: inherit;
    hyphens: none;
    transition: all .5s ease-in-out;

    position: fixed;
    right: 1em;
    top: 1.5em !important;
    z-index: 1000 !important;

    box-shadow: 0 0 0 rgba(204,169,44, 0.4);
    animation: pulse 2s infinite;

    cursor: pointer;
}

.callusbtn:hover {
    background: var(--color-ci);
    color: var(--color-dark);
    border: 0px solid var(--color-ci);
    animation: none;
}

.callusbtn:focus {
    background: var(--color-ci);
    color: var(--color-dark);
    border: 0px solid var(--color-ci);
    animation: none;
    outline: none;
}


@keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(0,0,0, 0.8);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0,0,0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0,0,0, 0);
    }
  }

.specialphonewrap{

    position: fixed;
    right: 0;
    top: 100px!important;
    z-index: 1000000;

    transform: translateX(100vw) !important;
    transition: all .5s ease-in-out;
}

.specialphonewrap.open{
    transform: translateX(0) !important;
}

.specialphonewrap ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

.specialphonewrap ul li{
    display: flex;
    background-color:  var(--color-dark);
    transition: all .5s ease-in-out;
}

.specialphonewrap ul li span{
    color:  var(--color-dark);
    padding: 1em;
    width: 4em;
    text-align: center;
    background-color:  var(--color-ci);
    transition: all .5s ease-in-out;
}

.specialphonewrap ul li span a{
    color:  var(--color-white) !important;
    padding: 1em;
    text-decoration: none;
}

.specialphonewrap ul li:hover {
    background-color:  var(--color-ci);
}

.specialphonewrap ul li:hover span{
    background-color:  var(--color-dark);
    color:  var(--color-white);
}

.specialphonewrap ul li:hover  a{
    color:  var(--color-dark) !important;
}

@media screen and (max-width: 768px){

    .callusbtn{
        position: absolute!important;
        top: 2em !important;
    }

    .specialphonewrap{
        position: absolute !important;
        top: 100px !important;
        width: 100% !important;
    }


}

/*Modal*/

#umzugmodal .nav-pills .nav-item{
    max-width: 20%; 
}

@media screen and (max-width: 768px){

    #umzugmodal .nav-pills .nav-item{
        max-width: unset; 
    }

}

.anfragenupdate .nav-item a{
    text-decoration: none !important;
}

.anfragenupdate .nav-item ul{
    list-style: none;
    margin: 1em 0 1em 0;
    padding: 0;
    font-size: .75em;
}

.anfragenupdate .nav-item li{
    text-decoration: none !important;
}

.anfragenupdate .nav-item li::before{
    content: '•';
    margin-right: .25em;
}


@media screen and (min-width: 769px){
    .umzugselect .ginput_container .gfield_radio li {
        width: calc( 100% / 5 - 1em) !important;
    }
}

@media screen and (max-width: 769px){

    .anfragenupdate .nav-item a{
        display: flex;
        gap: 1em;
        align-items: center;
        padding-right: 1em;
        flex-wrap: wrap;
    }

    .anfragenupdate .nav-item a::after{
        content: '>';
        position: absolute;
        right: .75em;
    }

    .anfragenupdate .nav-item a .btn{
        min-width: 155px;
    }
}


/*Gutenberg Overwrites*/

.wp-block-button__link{
    padding: 15px 30px;
    text-align: center;
    border-radius: 100px;
    border: 0px solid var(--color-ci);
    color: var(--color-dark);
    background: var(--color-ci);
    text-decoration: none !important;
    display: inline-block;
    max-width: 100%;
    white-space: inherit;
    hyphens: none;
}

.w-100{
    width: 100%;
    display: block;
}

.wp-block-button__link:hover {
    background: var(--color-dark);
    color: var(--color-white) !important;
    border: 0px solid var(--color-dark);
}



/*Style late 2022*/


.page-template-page-2022 header figure{
    margin-bottom: 0;
}

.page-template-page-2022 header figure img{
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center center;
    max-height: 500px;
}

/*content*/

.page-template-page-2022 .container{
    max-width: 1450px;
}

.page-template-page-2022 .embed-responsive {
    position: relative;
    display: block;
    height: 0;
    padding: 0;
    overflow: hidden;
}

.page-template-page-2022 .embed-responsive-16by9 {
    padding-bottom: 33.33%;
}

.page-template-page-2022 :where(.wp-block-columns.is-layout-flex){
    gap: 5em;
}

.fullwidth {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
	padding: 0 5vmax;
  }

.fullwidth .wp-block-group__inner-container{
	max-width: 1450px;
	padding: 15px;
	margin: 0 auto;
}

.fullwidth.map{
	padding: 0;
}

.fullwidth.map .wp-block-group__inner-container{
	max-width: unset;
	padding: 0;
}


.page-template-page-2022 .paddingbox{
    padding: 5vmax;
}

.page-template-page-2022 h2 {
    line-height: 1.2;
	font-size: clamp(2em, 5vw, 2.5em);
	hyphens: none;
}


.page-template-page-2022 .card{
	border: 0px;
}

.page-template-page-2022 .card h3{
 padding: .5em 20px;
}

.page-template-page-2022 main{
	overflow-x:hidden;
	position: relative;
}

.page-template-page-2022 .card .wp-block-buttons{
 padding: .5em 20px 2em;
}



.page-template-page-2022 .team-member .row{
    box-shadow: rgba(0, 0, 0, 0.3) 0px 7px 29px 0px;
    transition: all .3s ease-in-out;
}

.page-template-page-2022 .team-member .row:hover{
    box-shadow: rgba(0, 0, 0, 0.0) 0px 0 0px 0px;
}


.page-template-page-2022 .team-member .infos{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    padding: 5em;
}


@media screen and (max-width: 990px){
	.page-template-page-2022 .paddingbox{
		padding: 25px;
	}
	
	.fullwidth{
		padding: 0 25px;
	}
}

/*ErrorUpdate*/

.gform_legacy_markup_wrapper li.gfield.gfield_error{
	    background-color: #FF0000 #FF0000 !important;;
    border-bottom: 1px solid #7F0000;
    border-top: 1px solid #7F0000;
	border: 5px solid #7F0000;
	border-radius: 5px;
	padding: 1em;
	padding-right: 1em;
}

.gform_legacy_markup_wrapper div.validation_error{
	border: 5px solid #7F0000;
	padding: 1em;
	background-color: #FF0000 !important;
	color: #fff;
}

.gform_legacy_markup_wrapper .gform_validation_errors>h2{
	color: #fff;
}

.gform_legacy_markup_wrapper li.gfield_error ul.gfield_checkbox,
.gform_legacy_markup_wrapper .gfield_error .gfield_label{
	color: #ffffff;
}

.gform_legacy_markup_wrapper .validation_message{
	font-size: 1em;
	font-weight: bold;
	color: #ffffff;
}

.gform_legacy_markup_wrapper.gform_validation_error .gform_body ul li.gfield.gfield_error:not(.gf_left_half):not(.gf_right_half){
	padding-right: 1em;
}

.gform_wrapper.gform_validation_error .top_label li.gfield.gfield_error.gf_left_half, .gform_wrapper.gform_validation_error .top_label li.gfield.gfield_error.gf_right_half{
	padding-right: 1em;
}

.nav-pills .btn{
	padding: 15px 25px;
}

/*2025*/

.yellow{
    background: var(--color-ci);

    h2{
        &::after{
            background: var(--color-dark);
        }
    }

    p{
        margin-bottom: 3em;
    }

    & .btn{
        background: var(--color-dark) !important;
        color: var(--color-white) !important;
        display: inline-flex !important;
        gap: 2em;
        justify-content: space-between;
        align-items: center;
        font-size: 1.25em;

        &:hover{
            gap: 4em;
            color: var(--color-ci) !important;
        }
    }

    img{
        display: block;
        max-width: 250px;
        max-height: 130px;
    }
}