/*
Theme Name: Residenza Ilanz
Author: Anja
Version: 1.0.0
*/
/************************* FONTS *************************/
@font-face {
    font-family: 'Roboto';
    src: url('assets/fonts/Roboto-Bold.ttf');
    font-weight: 700;
}

@font-face {
    font-family: 'Roboto';
    src: url('assets/fonts/Roboto-Regular.ttf');
    font-weight: 400;
}

@font-face {
    font-family: 'Roboto';
    src: url('assets/fonts/Roboto-Medium.ttf');
    font-weight: 500;
}
@font-face {
    font-family: 'Karma';
    src: url('assets/fonts/Karma-Bold.ttf');
    font-weight: 700;
}

@font-face {
    font-family: 'Karma';
    src: url('assets/fonts/Karma-SemiBold.ttf');
    font-weight: 600;
}

@font-face {
    font-family: 'Karma';
    src: url('assets/fonts/Karma-Medium.ttf');
    font-weight: 500;
}

@font-face {
    font-family: 'Karma';
    src: url('assets/fonts/Karma-Regular.ttf');
    font-weight: 400;
}

/************************* GENERAL ************************/
body {
    overflow-x: hidden;
}

.additional-page-title{
	left:0;
	bottom: 0;
	background: rgba(255, 255, 255, .8);
	padding: 32px 32px 52px 32px;
	z-index: 2;
	font-size: 20px;
	font-weight: 600;
	font-family: 'Karma';
	color: #212529;
}

.news-title h1{
    color: #212529;
    font-weight: 700;
    font-size: 40px;
    font-family: 'Karma';
    text-transform:none;
    margin-bottom: 0px !important;
    margin-top: 10px !important;
}

.date-div {
    color: #666666;
    font-size: 18;
    line-height: 1.2;
    font-weight: 400;
    font-family: 'Karma';
    margin-top: 30px;
    margin-bottom: 30px;
}

body.single-post .custom-text p{
    font-size: 21px;
    font-weight: 400;
    line-height: 1.3;
    color: #666666;
}

.section-news-events .news-box{
    padding-bottom: 70px;
    box-shadow: 0px 4px 16.4px 0px #00000021;
}

.section-news-events .news-box .teaser-text-block{
    padding: 20px;
}
.section-news-events .post-text{
    color: #666666;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}
.section-news-events .news-box .type-post{
    color: #43464a;
    line-height: 1.4;
    font-weight: 400;
    font-size: 16px;
}
.section-news-events a{
    color: #212529;
    text-decoration: none;
    font-size: 21px;
    line-height: 1.4;
    font-weight: 700;
    font-family: 'Karma';
}

.section-news-events .news-box .button-box{
    right: 20px;
    bottom: 16px;
}

.section-news-events .news-box .button-box div{
    font-size: 16px;
}

.section-news-events .img-box{
    aspect-ratio: 2/1;
    height: auto;
}

.section-news-events .img-box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.date-div .icon-wrapper svg {
	width: 40px;
	fill: #666;
}
.date-div .content-wrapper{
	padding: 0 0 1rem 1rem;
}
.date-div .content-wrapper a{
	font-size: 1.2rem;
	color: #666;
	text-decoration: underline;
}
.date-div .date-title,
.date-div .website-title,
.date-div .time-title{
	font-weight: 700;
	font-size: 1.5rem;
	font-style: italic;
	margin-top: 0.75rem;
	margin-bottom: 0.5rem;
}
.date-div .date-info {
	display: flex;
	flex-direction: row;
	gap: 0.3rem;
}
.news-text-editor p,
.news-text-editor ul li{
	font-size: 21px;
}

.divider svg {
    height: 40px;
    /*width: calc(140% + 1.3px);*/
    left: 50%;
    width: 100%!important;
    transform: translateX(-50%);
    display: block;
    position: relative;
    z-index: 2;
}

.divider svg {
    overflow-x: hidden;
}

.carousel-item {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
    width: 100%;
    height: 700px;
}

body.single .carousel-item,
body.page-id-411 .carousel-item{
    height: 500px;
}
.beige-backgorund {
    background-color: #ebe9de;
}

.font-karma {
    font-family: 'Karma';
}

.custom-text p {
    color: rgb(102, 102, 102);
    font-size: 16px;
    line-height: 26.4px;
}

h1 {
    font-size: 1.8em;
    text-transform: uppercase;
    margin: 40px 0 30px 0 !important;
}

.custom-container {
    max-width: 1100px!important;
}

footer a,
.text-section a {
    color: black;
}

footer a:hover,
footer p,
.text-section a:hover {
    color: #666666;
}

.hero2 {
     width: 100%;
     position: relative;
     -webkit-background-size: cover;
     -moz-background-size: cover;
     -o-background-size: cover;
     background-size: cover;
     display: flex;
     align-items: center;
	 background-position: center;
 }
.hero-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, .5)
}

.hero2 .container {
    position: relative
}

.hero2 h2 {
    font-size: 36px;
    font-weight: 700;
    font-family: 'Fira Sans', serif;
    color: var(--hero2-color);
    letter-spacing: 2px;
    margin: 30px auto;
}

.hero2 p {
    font-size: 18px;
    color: var(--hero2-color)
}

.hero2-info {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #525156;
    padding: 17px 20px;
    color: #fff;
    font-size: 18px
}

.cards {
	overflow: hidden!important;
}

.hero2 input {
    border: none;
    font-size: 20px;
    position: relative;
    margin-left: 0;
    margin-right: auto
}

.hero2 input:focus {
    outline: none
}

.email-input {
    background-color: #fff;
    padding: 10px;
    border-radius: 7px
}

input#user_email-121 {
    width: 100%;
}

.um-hide-terms {
    display: none !important;
}

.um-toggle-terms {
    align-self: center;
    margin-left: 2px;
    color: white !important;
}

.um-field-user_email .um-field-area {
    padding: 17px 50px 17px 50px;
    background: #fff;
    border: 2px solid #DEDEDE;
    font-size: 16px;
}


.um-field-radio:hover .um-faicon-caret-up {
    color: #C74A4A !important
}

.um-field-area {
    display: flex;
    justify-content: center;
    flex-wrap: wrap
}


.um-field-type_terms_conditions {
    display: flex !important;
    flex-direction: column-reverse!important;
    justify-content: center !important;
}

.um-field {
	padding: 15px;
}

.um-field-error {
    width: auto;
    max-width: 100%;
    background: #C74A4A;
    border-radius: 3px;
    color: #fff;
    box-sizing: border-box;
    position: relative;
    padding: 12px;
    font-size: 14px;
    line-height: 20px !important;
    margin: 12px 0 0 0;
}

.um input[type=submit]:disabled {
    opacity: 0.6 !important;
    cursor: no-drop !important;
}

#user_email-29 {
    font-size: 22px !important;
    outline: transparent !important;
    border: none !important
}

.um .um-form input[type=text] {
    border: unset!important;
}

.wincasa-text {
    font-size: 16px;
    color: white;
    margin: auto;
    margin-bottom: 15px;
    line-height: 30px;
    max-width: 591px;
    font-weight: 400;
}

.um-button {
    background: #ebe9de !important;
    padding: 20px 41px !important;
    font-size: 18px !important;
    border-radius: 0 !important;
    width: 250px;
    height: 78px;
    margin-top: 20px;
}
.um-field-checkbox-option {
    color: white;
}
.um-toggle-gdpr, .um-toggle-gdpr:hover {
    display: flex;
    align-self: center;
    color: white!important;
    padding-left: 3px!important;
    text-decoration: underline!important;
}

.um-field-checkbox-option {
    color: white!important;
}
.um-toggle-terms:hover {
    text-decoration: none !important;
}

.um-icon-android-radio-button-off {
    color: #45494d !important
}

.um-icon-android-radio-button-on {
    color: #45494d !important
}

.subscribe-form .um-field-lang {
    display: none
}

.um-icon-android-radio-button-off::before, .um-icon-android-radio-button-on::before {
    z-index: 2;
    position: relative
}

.um-icon-android-radio-button-off::after, .um-icon-android-radio-button-on::after {
    content: "";
    background: #fff;
    display: block;
    width: 17.5px;
    height: 17.5px;
    border-radius: 50%;
    top: 3px;
    position: absolute;
    z-index: 1;
    left: 1px
}
.wincasa-alarm-logo {
    margin: auto;
    width: 30px;
    height: 30px;
}

.wincasa_alarm {
    padding: 0 30px;
    background-image: url(http://ottoundalex.ch/wp-content/uploads/2021/02/DSC09633k.png);
    background-size: cover
}

.wincasa-alarm-input {
    font-size: 20px;
    color: #0b0b0b
}
.wincasa-wrapper{
    text-align:center !important;
    margin:auto !important;
}
.h2-wrapper{
    color:#FFF !important;
}
.um-left{
    background:#45282A;
    max-width:200px;
    margin:auto;
}
.um-121{
    max-width:100% !important;
}
.um-right{
    display:none !important;
}
.um-button{
    cursor: pointer;
    color:#fff;
}
.um-register .um_request_name{ display:none !important; }
/************************* HEADER *************************/
.site-logo {
    max-width: 200px;
    max-height: 200px;
    margin: 0 85px 0 9px;
}

nav,
.dropdown-menu {
    background: rgba(255,255,255,0.8) !important;
    padding: unset!important;
}

.dropdown-menu a {
    font-size: 18px;
    line-height: 21px;
    padding: 12px;
    text-align: center;
}

nav {
    font-family: 'Roboto';
    font-size: 12px;
    text-transform: uppercase;
    height: 100px;
    z-index: 2;
    white-space: nowrap;
}

.nav-link {
    padding: 0.5em 14.4px!important;
    line-height: 1;
}

.navbar-expand-lg .navbar-collapse {
    justify-content: center!important;
}

.navbar-box-shadow {
	box-shadow: 0px 2px 5px rgba(0,0,0,0.1);
	transition: box-shadow 0.3s ease-in-out;
}

.dropdown-menu {
    border-top-color: #ebe9de!important;
    border-left: 0!important;
    border-right: 0!important;
    border-bottom: 0!important;
    border-top-width: 3px!important;
    border-top-style: solid!important;
    top: 66px!important;
    border-radius: 0!important;
}

.dropdown-item {
    border: 1px solid #eee!important;
    border-top: unset!important;
    border-bottom: unset!important;
}

.dropdown-item:hover {
    background: #fff;
}

.navbar-light .navbar-nav .nav-link {
    color: black!important;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #555!important;
}

.dropdown-toggle::after {
    display: none!important;
}


.side-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 100%;
    background-color: #fff;
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    transition: left 0.3s ease 0s;
    z-index: 99999;
}

.custom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6); /* Adjust the opacity as needed */
    z-index: 9999; /* Ensure the overlay appears behind the menu */
    display: none; /* Hide the overlay by default */
}

.side-menu.active + .custom-overlay {
    display: block; /* Show the overlay when the menu is active */
}

.side-menu.active {
    left: 0;
}

.side-menu:not(.active) {
    left: -100%;
}

.side-menu ul {
    list-style: none;
    padding: 0;
}

.side-menu li {
    padding: 0.9em 20px 10px;
    border-bottom: 1px solid #ebe9de;
}

.side-menu>li:first-child {
    border-top: 1px solid #ebe9de;
}

.side-menu li a {
    font-size: 16px;
    text-transform: uppercase;
    color: black;
    transition: all 0.15s ease-in-out;
}

.carousel-control-next-icon {
    background-image: url("assets/icons8-arrow-right-50.png")!important;
}

.carousel-control-prev-icon {
    background-image: url("assets/icons8-arrow-right-50 (1).png")!important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 45px;
    height: 45px;
}

.carousel-control-next,
.carousel-control-prev {
    width: 5%;
    opacity: 1;
}

@media (max-width: 992px) {
    .navbar-toggler {
        display: block;
    }

    .navbar-collapse {
        display: none;
    }

    .side-menu.active {
        display: block;
    }
}


/************************* FOOTER *************************/
.rhomb {
    height: 200px;
}

.navbar-light .navbar-toggler-icon {
    background-image: url('assets/mobile-menu.svg')!important;
}

@media only screen and (max-width: 1200px) {
    .carousel-item {
        height: calc(100vw * 0.468795);
    }

}

@media only screen and (max-width: 991px) {
    .x-close {
        font-size: 32px!important;
        color: rgb(102, 102, 102)!important;
        font-family: 'Times New Roman';
        font-weight: 700;
        padding: 10px 20px;
    }

    .site-logo {
        top: -40px;
    }

    .side-menu {
        display: block;
    }

    .navbar-toggler {
        position: relative;
        align-self: start;
        width: 32px;
        height: 30px;
        cursor: pointer;
        background: #ffffff!important;
        padding: 5px;
        line-height: 24px;
        margin-right: 50px;
        margin-top: 20px;
		border-radius: 0;
        /*display: block;*/
    }
	.date-div .date-title,
	.date-div .website-title,
	.date-div .time-title {
		font-size: 1.2rem;
	}
	.date-div .content-wrapper a{
		font-size: 1rem;
	}
    .menu-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 22px;
        height: 17px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: transform 0.3s ease;
    }

    .line {
        width: 100%;
        height: 3px;
        background-color: #000;
        transition: transform 0.3s ease;
        transform-origin: center;
    }

    .line2, .line3 {
        margin-top: 4px;
    }

    .navbar-toggler.active .line1 {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .navbar-toggler.active .line2 {
        opacity: 0;
    }

    .navbar-toggler.active .line3 {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .navbar-toggler .navbar-toggler-icon {
        display: none; /* Hide the default icon */
    }

    nav {
        position: absolute!important;
        background-color: unset!important;
    }

    .navbar-collapse {
        display: none; /* Hide the regular navbar on smaller screens */
    }

    /* Show the side menu when active */
    .side-menu.active {
        display: block;
        z-index: 99999;
    }
	
	.carousel-control-prev-icon, .carousel-control-next-icon {
		display: none;
	}
}

@media only screen and (max-width: 768px) {
    .site-logo {
        width: 130px;
        height: 125px;
		margin-left: 16px;
    }
}

@media only screen and (max-width: 480px) {
     .carousel-item {
         height: 100vw;
     }

    .divider svg {
        height: 20px !important;
        /*width: calc(300% + 1.3px) !important;*/
    }

    h1 {
        font-size: 20px;
        line-height: 34.5px;
    }
	
	.um-field-type_terms_conditions {
		display: flex !important;
		flex-direction: column-reverse!important;
		justify-content: center !important;
	}
	
	.navbar-toggler {
		margin-right: 16px;
		margin-top: 13px;
	}
}

@media only screen and (min-width: 481px) and (max-width: 1110px) {
    .divider svg {
        height: 30px !important;
        /*width: calc(240% + 1.3px) !important;*/
    }
}
@media only screen and (min-width: 1111px){
	.additional-page-title{
		padding: 32px 32px 72px 32px;
	}
}
@media only screen and (min-width: 1200px){
    nav{
        font-size: 16px;

    }
    
    .section-news-events .news-box{
        padding-bottom: 100px;
    }
    .news-title h1{
        font-size: 50px;
    }
    .date-div {
        font-size: 21px;
        margin-top: 50px;
    }
	.additional-page-title{
		padding: 32px 129px 72px 129px;
		font-size: 29px;
	}
}

@media only screen and (min-width: 1400px){
    nav{
        font-size: 18px;
        
    }
    .news-title h1{
        font-size: 70px;
    }
}