#fpslider {
	width: 100vw;
}
#fpslider > p {
	padding: 0;
	margin: 0;
}

section {
	padding: 100px 0;
	border-bottom: 1px solid var(--border-color);
}

section.section-alt{background-color:var(--bg-gray);}

.column-section {
	padding: 80px 0;
	border-bottom: 1px solid var(--border-color);
}
.column-section .wrapper {
	display: flex;
	justify-content: space-between;
	flex-direction: column;
    flex-wrap: wrap;
}

.side-images img {
	border-radius: 4px;
	position: absolute;
	height: auto;
	width: 70%;
    height: auto;
	box-shadow: 0 0 30px var(--dark-text);
	perspective: 200px;
	transform: matrix3d(.94,0,.34,-.0002,0,1,0,0,-.34,0,.94,0,1,0,10,1) translateX(-10px);
}
#section1-image-back {
	position: relative;
}
#section1-image-front {
	left: 30%;
	top: 20%;
}
.column-section .column {
	flex: 1;
	height: 380px;
    padding: 20px 0;
}
.section__title{margin-bottom: 50px;}

/*===latest rooms===*/
.latest-rooms {
	flex-direction: column;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.room-item {
	min-width: 0;
	flex: 1;
	height: 300px;
	border: 1px solid var(--border-color);
	cursor: pointer;
	margin: 10px 10px 30px 10px;
    text-decoration: none;
}
.room-item .room-bg {
	height: 250px;
	background-size: cover;
	background-position: 50% 50%;
	transition: all 0.2s;
}
    .room-item:hover .room-bg{
        background-position: 50% calc(50% - 10px);
    }
    .room-info h2 {
        padding: 12px 10px;
        text-align: center;
        font-size: var(--medium);
    }
    .room-item .amenities {
        position: absolute;
        bottom: 0;
        left: 0;
        padding: 0 30px;
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
        justify-content: space-around;
        transition: all 0.2s;
        opacity: 0;
        background-color: var(--white);
        z-index: 2;
        align-items: flex-end;
        overflow: auto;
        height: 100%;
    }
        .room-item:hover .amenities{opacity: 1;}
    .room-item .amenities svg {
        color: var(--text-color);
        fill: var(--text-color);
        height: 32px;
        border: 1px dashed;
        padding: 6px;
        margin: 0 10px;
        min-width: 32px;
    }
    .room-info {
        padding-top: 4em;
        margin-top: -4em;
        overflow: auto;
    }
    .amenities_description {
        position: absolute;
        bottom: calc(100% + 8px);
        z-index: 2;
        background: var(--bg-gray);
        color: var(--tr);
        font-size: var(--xsmall);
        padding: 5px;
        text-align: center;
        border-radius: 3px;
        left: 50%;
        transform: translate(-50%);
        min-width: 80px;
        box-shadow: 1px 0 5px var(--text-color);
        opacity: 0;
        line-height: 1.2;
    }
    .amenities_description::after {
        content: "";
        display: inline-block;
        border-bottom: 5px solid transparent;
        border-right: 5px solid transparent;
        border-left: 5px solid transparent;
        border-top: 5px solid var(--text-color);
        position: absolute;
        top: 100%;
        left: calc(50% - 2.5px);
    }
        .room-item .amenities > div:hover .amenities_description {opacity: 1;}
        .room-ppn {
            background: var(--white);
            border-radius: 3px;
            padding: 0px 5px;
            position: absolute;
            top: 10px;
            left: 10px;
            color: var(--dark-text);
            font-weight: bold;
        }

/*===services====*/
.services-widget {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
}
#services_img__back {
	min-height: 250px;
	min-width: 0;
	flex: 1;
	background-size: cover;
	background-position: center;
	max-width: 100%;
	margin-bottom: 17px;
}
#services_img__front {
    position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: inherit;
	background-attachment: inherit;
	background-position: inherit;
    transition: opacity 0.4s;
	opacity: 0;
    z-index: 1;
}
    #services_img__front.show {
        opacity: 1;
        transition: none;
    }
.services__list {
	min-width: 100%;
	flex: 1;
}
.service_item {
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 8px;
	margin-bottom: 17px;
    transition: all 0.2s;
    cursor: pointer;
    background: var(--white);
}

.service_item.selected {
	background: var(--black);
}
.service_item.selected .service_content * {
	color: var(--white);
}
.service_item svg {
	fill: var(--main-color);
	min-width: 40px;
	height: 100%;
	margin: 0 15px;
	max-width: 40px;
}

/*===guest reviews section===*/
.reviews__content {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	flex-wrap: wrap;
}

.guest-review {
	width: 382px;
	max-width: 95%;
	border-radius: 10px;
	border: 1px solid var(--border-dark);
	padding: 20px;
	margin: 20px auto;
	text-align: center;
	transition: all 0.4s;
	height: max-content;
}
    #guestbook-reviews .guest-review:hover {
        transform: translateY(-10%);
        box-shadow: 0 0 8px -3px var(--main-hover);
    }

#guestbook-reviews .guestbook-rating {text-align: center;}
#guestbook-reviews .guestbook-rating svg {
	display: inline-block;
	width: 20px;
	padding: 2px;
	text-align: center;
	fill: var(--text-color);
}
    #guestbook-reviews .guestbook-rating svg.active {fill: var(--main-color);}

    #guestbook-reviews .guestbook-author {
        font-style: italic;
        font-size: var(--small);
        color: var(--border-dark);
        text-align: center;
    }

.latest-posts {
    justify-content: space-around;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}


.latest-posts .post-item {
	height: 300px;
	padding: 30px 15px;
	text-decoration: none;
	color: var(--white);
	background-color: var(--dark-text);
	display: flex;
	flex-direction: column;
	width: 400px;
	max-width: 95%;
	margin: 10px auto;
    justify-content: flex-end;
    overflow: hidden;
}
    .latest-posts .post-item * {
        color: var(--white);
        text-shadow: 0 0 12px black;
    }
    .post-item img.background {
        position: absolute;
        z-index: 0;
        width: auto;
        max-width: unset;
        height: 400px;
        top: 0;
        left: 50%;
        transform: translate(-50%);
        min-width: 100%;
        min-height: auto;
        transition:all 0.4s;
    }
    .latest-posts .post-item:hover img.background {transform: translate(-50%) scale(110%);}

.post-item .post-cats {
    padding: 0;
    margin: 0;
}
.post-item .post-cats *{
    font-size: var(--small);
    font-weight: lighter;
}

@media only screen and (min-width:400px){
    .latest-rooms {
        flex-direction: row;
    }    
    .room-item {
        min-width: 300px;
    }    
    #services_img__back {
        min-width: 300px;
    }    
}
@media only screen and (min-width:800px){
    .latest-posts .post-item {
        height: 400px;
    }    
    .services__list {min-width: 300px;}
    .services-widget {flex-direction: row;}
    .services__list {padding-left: 40px;}
    .service_item.selected::after {
        content: "";
        display: inline-block;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-right: 8px solid var(--black);
        position: absolute;
        right: 100%;
    }
    .column-section .wrapper {
        flex-direction: row;
    }
    .latest-posts {justify-content: space-between;}
    
    .latest-posts .post-item{
        flex:1;
    }
    .latest-posts .post-item {margin-left:30px;}
    .latest-posts .post-item:first-child {
        flex: 2;
        margin-left: 0;
    }
    #services_img__back {min-height: 400px;}    
}