/*#7D1128*/
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
html {
	font-size: 16px;
}
body {
	font-size: 100%;
	font-family: 'Kanit', sans-serif;
	position: relative;
}
html, body {
	width: 100%;
	min-height: 100vh;
	background: #F6FCF6;
}
button:focus {outline:0;}
.content {
    position: relative;
    max-width: 70vw;
    margin: 0 auto;
}
a {
    text-decoration: none;
    color: #29190B;
}
#slideShowCon, #mainPage {
	height: 100vh;
	width: 70vw;
	overflow: hidden;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    position: relative;
}
#mainPage {
    width: 100%;
}
#slideShow {
	height: 100vh;
	width: 100vw;
	display: flex;
	background-color: #F6FCF6;
}
#slideShow > div {
	height: 100vh;
	width: 100%;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}
/*#slideShow > .pic5, #slideShow > .pic1 {
	background-position: center top;
}*/
#closeImg {
	right: 15px;
	top:15px;
    position: absolute;
    z-index: 1;
}
#closeImg path {
    transition: 0.3s;
}
/*.pic1 {
	background-image: url("../images/slides/pic1.JPG");
}
.pic2 {
	background-image: url("../images/slides/pic2.jpg");
}
.pic3 {
	background-image: url("../images/slides/pic3.jpg");
}
.pic4 {
	background-image: url("../images/slides/pic4.jpg");
}
.pic5 {
	background-image: url("../images/slides/pic5.jpg");
}
.pic6 {
	background-image: url("../images/slides/pic6.jpg");
}
.pic7 {
	background-image: url("../images/slides/pic7.JPG");
}
.pic8 {
	background-image: url("../images/slides/pic8.JPG");
}*/
#picSigns {
	position: absolute;
	bottom:0;
	padding-bottom: 80px;
	left:0;
	right: 0;
	margin: 0 auto;
	width: 175px;
	display: flex;
	align-items: center;
	justify-content: space-around;
}
#picSigns > div {
	border-radius: 100%;
	width: 10px;
	height: 10px;
	background: rgba(243,224,209,0.75);
	transition: 1.5s;
}
#picSigns > div.checked {
	background: #29190B;
	box-shadow: 0px 0px 2px 2px #29190B;
}
.arrows {
	position: absolute;
	top:50%;
	bottom:0;
	z-index: 80;
}
.arrows path {
	transition: 0.3s;
}
.arrows:hover path, #closeImg:hover path {
	fill: #F6FCF6;
}
#next {
	right: 0;
}
#down {
	top: auto;
	left:0;
	right: 0;
	margin: 0 auto;
	transform: rotate(90deg)
}
nav {
	position: fixed;
	top: 0;
	height: 85px;
	right: 0;
	left: 0;
	z-index: 100;
	background: #F6FCF6;
	box-shadow: 0px 4px 7px rgba(0, 0, 0, 0.2);
	padding: 0 15vw;
	font-size: 22px;
	color: #29190B;
	display: grid;
    grid-template-columns: 150px 1fr 125px;
    grid-template-rows: 85px;
}
nav > div, nav > a {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
nav > div.socialMedia {
	justify-content: flex-end;
}
nav > div.nav {
    justify-content: flex-end;
    font-size: 18px;
}
nav > div.nav a {
    min-width: 127px;
    text-align: center;
}
#logo {
    max-width: 100%;
    max-height: 70px;
}
footer .socialMedia > a:first-child {
	height: auto;
}
.socialMedia > a:last-child {
	margin-right: 0;
}
.socialMedia > a {
	margin-right: 30px;
}
.socialMedia > a {
    height: 30px;
}
#callToAction {
    display: inline-block;
    padding: 3px 12px;
    border: 2px solid #8C5E46;
    color: #8C5E46;
    border-radius: 4px;
    margin-left: 12px;
}
svg {
	filter: drop-shadow(0 0 6px #29190B);
}
#sound {
    cursor: pointer;
    position: absolute;
    height: 68px;
    width: 68px;
    bottom: 72px;
    left: 0;
    right: 0;
    margin: 0 auto;
}
#sound path {
    transition: .3s;
}
#sound path:first-child {
    fill: rgba(246,252,246,0.5);
}
#sound:hover path:first-child {
    fill: #F6FCF6;
}
#sound path:last-child {
    display: none;
}
#sound.on path:last-child {
    display: block;
}
#description {
    z-index: 50;
    position: relative;
    box-shadow: 0px -4px 7px rgba(0, 0, 0, 0.2);
    padding: 80px 0 0 0;
    text-align: center;
    font-size: 18px;
    background: #F6FCF6;
}
#description p {
    padding-bottom: 30px;
}
#apartments {
	z-index: 50;
	position: relative;
	padding: 60px 0;
    overflow: hidden;
    background: #F6FCF6;
}
#apartments > div, #contentMenu {
	padding: 0;
	padding-bottom: 50px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-column-gap: 75px;
	grid-template-rows: 16vw;
}
#apartments > div > div {
	position: relative;
	overflow: hidden;
	color: #29190B;
	display: flex;
	align-items: center;
    box-shadow: inset 0px 0px 6px 2px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}
#apartments #aparScroll {
	position: absolute;
	top: -85px;
	height: 0;
	padding: 0;
	z-index: -100;
}
h1 {
	color: #29190B;
	font-size: 40px;
	text-align: center;
	padding-bottom: 50px;
}
.backg {
	width: 100%;
	height: 100%;
	position: absolute;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	z-index: -1;
	transition: 0.7s;
	transform: scale(1);
}
#apartments > div > div:hover .backg {
	transform: scale(1.1);
}
#standard .backg {
	background-image: url("../images/standard/P1050831.jpg");
}
#superior .backg {
	background-image: url("../images/superior/P1050862.jpg");
}
#cozy .backg {
	background-image: url("../images/cozy/P1050757.jpg");
}
#cozy > img {
    top: -100px;
    left: 0;
    position: absolute;
    z-index: 10;
    width: 100%;
}
h2 {
	text-align: center;
	width: 100%;
	font-size: 32px;
	background: rgba(246,252,246,0.7);
	line-height: 36px;
	padding: 10px 0;
	z-index: -1;
}
h2 > span {
	font-size: 22px;
}
h2 > span > span {
	font-size: 18px;
}
#maps #contGrid {
    display: grid;
	grid-template-columns: 1fr 1fr;
    grid-template-rows:  1fr 1fr;
    background: #29190B;
    color: #EFF5EF;
}
#contGrid > div {
    display: flex;
    justify-content: center;
    align-items: center;
}
#maps {
	position: relative;
	padding: 120px 0 90px 0;
	padding-top: 85px;
}
#maps > div.mapGrid {
	position: relative;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
    grid-template-rows: 28vw;
}
div.gerlach {
    background-image: url("../images/e60bab25ad6e965b6e4390f5fb2f0fba_17667437.jpg");
    background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}
div.house {
    background-image: url("../images/house.JPG");
    background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}
#maps p {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}
#maps p > span {
    display: block;
    min-height: 30px;
}
#maps p > span.bigger {
    font-size: 30px;
}
#mapScroll {
	position: absolute;
}
#maps > div > div {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	background-image: url("../images/house.JPG");
}
#maps .mapGrid > div:last-child {
    /*border-right: 1px #8C5E46 solid;
    border-bottom: 1px #8C5E46 solid;*/
    background: #F6FCF6;
}
#contact {
	position: relative;
    padding-top: 85px;
    padding-bottom: 150px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	/*background-image: url("../images/aaa.jpg");*/
}
#contact > form:last-child {
	display: grid;
	grid-template-columns: 1fr minmax(0, 1fr) 1fr;
	grid-template-rows: 42px 42px 42px 52px;
	grid-column-gap: 50px;
	grid-row-gap: 30px;
}
input, select {
    outline: none;
    border-radius: 0;
}
#contact input, #contact select, textarea, #aparDet input, #aparDet button, button#submit {
	border: 1px solid #29190B;
	padding: 10px;
	font-family: 'Kanit', sans-serif;
	font-size: 20px;
}
#contact select {
    padding: 0 10px;
}
button#submit {
    float: right;
    background: #29190B;
    color: #F6FCF6;
    display: block;
    min-width: 150px;
    min-height: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    padding: 0 30px;
}
button#submit.load {
    background: transparent;
    border: 1px solid transparent;
}
button#submit.load span {
    display: none;
}
button#submit img {
    display: none;
}
button#submit.load img {
    display: block;
}
.textarea {
    grid-column-start: 2;
    grid-column-end: 4;
	resize: none;
}
footer {
	position: relative;
	height: 140px;
	width: 100%;
}
footer > div {
	display: grid;
	grid-template-columns: auto auto 1fr auto;
	height: 100%;
}
footer > div > div {
    display: flex;
    align-items: center;
}
footer img.logo {
	max-height: 80px;
}
#gallery {
    position: relative;
    z-index: 60;
    box-shadow: 0px 7px 7px 0px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}
.gallery {
    display: grid;
    grid-template-columns: 2.25fr 1fr 1fr 1fr;
    grid-template-rows: 20vw;
    grid-gap: 3px;
    display: none;
}
.gallery.opened {
    display: grid;
}
.gallery > div, .double > div {
    position: relative;
    overflow: hidden;
    z-index: 10;
    transition: .4s;
}
.double {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    grid-gap: 3px;
}
.gallery > div:not(.double) > div, .gallery > div.double > div > div {
    background-repeat: no-repeat;
	background-size: cover;
    background-position: center;
    transition: .4s;
    width: 100%;
    height: 100%;
    transform: scale(1.2);
    position: absolute;
    z-index: -9;
}
.gallery > div:hover {
    box-shadow: inset 0px 0px 8px 4px rgba(0, 0, 0, 0.2);
}
.gallery > div:not(.double):hover > div, .gallery > div.double > div:hover > div {
    transform: scale(1);
}
#contentMenu {
    text-align: center;
    padding: 30px 0;
    font-size: 24px;
    color: #8C5E46;
    grid-template-rows: auto;
}
#contentMenu span {
    cursor: pointer;
}
#contentMenu span.clicked {
    border-bottom: 2px solid #8C5E46;
}
#aparDet {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    grid-column-gap: 75px;
}
#aparDet button, #aparDet input {
    border: 2px solid #8C5E46;
    color: #8C5E46;
    background: #EFF5EF;
    width: 100%;
    margin: 10px 0;
}
#aparDet button {
    color: #F6FCF6;
    background: #8C5E46;
}
#aparDet > div:not(#calenApar) {
    grid-area: 1 / 1 / 1 / 3;
    padding: 15px 0;
}
#aparDet p {
    padding-top: 5px;
    padding-bottom: 15px;
}
#aparDet p span {
    display: inline-block;
    margin-right: 20px;
}
#aparDet h3 {
    font-weight: normal;
    font-size: 22px;
}
#aparDet > div:last-child {
    display: flex;
    align-items: center;
}
#aparDet > div:not(#calenApar) > div {
    display: flex;
    align-items: center;
    padding: 5px 0;
}
#aparDet > div > div img {
    max-height: 25px;
    margin-right: 15px;
}
.aparDesc {
    display: none;
}
.aparDesc.opened {
    display: block;
}
#home {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    max-width: 101%;
}
@media (max-aspect-ratio: 16/9) {
    #home {
        min-width: 100%;
        min-height: 100%;
        max-height: none;
        max-width: 101%;
    }
}
@media (max-aspect-ratio: 16/9) {
    #home {
        max-height: 101%;
        max-width: none;
    }
}
#aparDet input.smallForm:disabled {
    color: rgba(140, 94, 70, 0.5);
    border-color: rgba(140, 94, 70, 0.5);
}
#aparDet button.smallForm:disabled {
    background: rgba(140, 94, 70, 0.5);
    border: 2px solid transparent;
}
#modal {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: #F6FCF6;
    display: none;
}
#modal.opened {
    display: block;
}
#contactScroll, #mapScroll {
    position: absolute;
	top: -85px;
	height: 0;
	padding: 0;
	z-index: -100;
}
#modal svg {
    cursor: pointer;
}
#contact input.hasError, #contact select.hasError {
    border: 1px solid red;
    background-color: rgba(239, 65, 53, 0.1);
}
#thanks {
    grid-area: 1 / 1 / 5 / 4;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    text-align: center;
}
footer .adress {
    padding: 0 40px;
    font-size: 13px;
}
footer .socialMedia {
    justify-content: flex-end;
    padding: 0 40px;
}
.cc-window {
    box-shadow: 0px -4px 7px rgba(0, 0, 0, 0.2);
}
ul {
	padding-left: 25px;
}
.ulPolicy > li {
	padding-bottom: 48px;
}
.subUlPolicy li {
	padding-bottom: 12px;
}
#policyIntro {
    padding-top: 150px;
    padding-bottom: 50px;
}
.checkbox {
    border: 1px solid #29190B;
    background-color: #FFFFFF;
}
.checkbox.hasError {
    border: 1px solid #FF0000;
    background-color: rgba(239, 65, 53, 0.1);
}
.agreePriva {
    display: flex;
    align-items: center;
    font-size: 10px;
    color: #17436F;
}
.agreePriva div.checkbox {
    height: 24px;
    width: 24px;
    cursor: pointer;
    background-position: center; 
    background-repeat: no-repeat;
    margin-right: 15px;
    flex: 0 0 24px;
    padding: 0;
}
.agreePriva a {
    color: #EF4135;
}
.checkbox.checked {
    background-image: url("../images/check.svg");
}
#realSubmit {
    display: none;
}
.captcha, .mobileH2.agree {
    display: flex;
    align-items: center;
    max-width: 100%;
}
.captcha > div {
    padding: 0 5px;
    color: #17436F;
}
.captcha > input {
    height: 42px;
    flex: 1 1 10px;
    min-width: 0;
}
.captcha > img {
    max-height: 42px;
}
.mobPH {
    display: none;
}

@media (max-aspect-ratio: 17/9) {
    #slideShowCon, #slideShowCon content {
        width: 100%;
        max-width: 100%;
    }
    #slideShowCon {
        width: 100vw;
    }
}
@media only screen and (max-width:1599px)
{
    .content {
        max-width: 75vw;
    }
    #apartments > div, #contentMenu {
        grid-column-gap: 50px;
    }
    h2 {
        font-size: 30px;
    }
    nav {
        padding: 0 12.5vw;
    }
}
@media only screen and (max-width:1365px)
{
    .content {
        max-width: 80vw;
    }
    nav {
        padding: 0 10vw;
        height: 70px;
        grid-template-rows: 70px;
    }
    #logo {
        max-width: 100%;
        max-height: 65px;
    }
    #apartments #aparScroll {
        top: -70px;
    }
    #contactScroll, #mapScroll {
        top: -70px;
    }

}
@media only screen and (max-width:1279px)
{
    .content {
        max-width: 90vw;
    }
    nav {
        padding: 0 5vw;
    }
    #contact > form:last-child {
        grid-column-gap: 30px;
        grid-row-gap: 18px;
    }
    input, select {
        min-width: 0;
    }
    #maps > div.mapGrid {
        grid-template-columns: 0.8fr 1fr;
        grid-template-rows: 40vw;
    }
}
@media only screen and (max-width:1023px)
{
    .content {
        max-width: 92vw;
    }
    nav {
        padding: 0 4vw;
    }
    #contact > form:last-child {
        grid-column-gap: 30px;
        grid-row-gap: 18px;
    }
    input, select {
        min-width: 0;
    }
    #maps > div.mapGrid {
        grid-template-columns: 0.8fr 1fr;
        grid-template-rows: 40vw;
    }
    #bigMail {
        font-size: 16px;
    }
    .gallery {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
    #apartments > div {
        grid-template-rows: 24vw;
    }
    #aparDet {
        grid-column-gap: 30px;
    }
    #picSigns {
        padding-bottom: 5vh;
    }
}
@media only screen and (max-width:799px)
{
    #contact > form:last-child {
        display: grid;
        grid-template-columns: 1fr minmax(0, 1fr);
        grid-template-rows: 42px 42px 42px 42px 42px 52px;
    }
    .textarea {
        grid-column-start: 1;
        grid-column-end: 3;
    }
    input[name=guests] {
        grid-column-start: 1;
        grid-column-end: 3;
    }
    .placeHolder {
        display: none;
    }
    #apartments > div, #contentMenu {
        grid-column-gap: 30px;
    }
    .gallery {
        grid-template-columns: 2fr 1fr 1fr;
        grid-template-rows: 30vw;
    }
    .mobileH {
        display: none;
    }
    #maps > div.mapGrid {
        grid-template-columns: 1fr;
        grid-template-rows: 60vw 75vw;
    }
    #aparDet {
        grid-template-columns: 1fr 1fr 1.5fr;
    }
    footer > div {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        row-gap: 30px;
        padding-bottom: 40px;
        height: auto;
    }
    footer .adress {
        padding: 0;
    }
    footer .socialMedia {
        justify-content: center;
        padding: 0;
    }
    footer > div > div:first-child {
        justify-content: center;
    }
    footer {
        height: auto;
    }
    nav {
        height: 95px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 50px 45px;
        column-gap: 40px;
    }
    nav > div.socialMedia {
        grid-column-start: 2;
        grid-column-end: 3;
        grid-row-start: 1;
        grid-row-end: 2;
        justify-content: flex-start;
    }
    nav > a {
        justify-content: flex-end;
    }
    nav > div.nav {
        grid-column-start: 1;
        grid-column-end: 3;
        justify-content: center;
    }
    #logo {
        max-height: 100%;
    }
    #callToAction {
        padding: 0 12px;
        margin: 0;
        margin-left: 4px;
    }
    nav > div.nav a {
        min-width: 0;
        text-align: center;
        margin: 0 15px;
    }
    .mobPH {
        display: block;
    }
}
@media only screen and (max-width:650px)
{
    #apartments > div {
        grid-template-columns: 1fr;
        grid-template-rows: 35vw 35vw 35vw;
        row-gap: 30px;
    }
    #cozy > img {
        top: -30px;
        left: -30px;
        position: absolute;
        z-index: 10;
        width: 50%;
    }
    .gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 40vw;
    }
    #aparDet {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }
    #calenApar {
        grid-column-start: 1;
        grid-column-end: 3;
        justify-content: center;
    }
    #contact > form:last-child {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(10, 42px);
        grid-row-gap: 15px;
    }
    .textarea {
        grid-column-start: 1;
        grid-column-end: 2;
    }
    input[name=guests] {
        grid-column-start: 1;
        grid-column-end: 2;
    }
    footer > div {
        grid-template-rows: auto auto auto;
    }
    .socialMedia, footer > div > div:last-child {
        grid-column: 1 / 3;
        justify-content: center;
    }
    .agreePriva {
        width: 100%;
    }
}
@media only screen and (max-width:430px)
{
    #maps #contGrid {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr;
    }
    #maps > div.mapGrid {
        grid-template-columns: 1fr;
        grid-template-rows: 60vw 240vw;
    }
    #contact {
        padding-bottom: 85px;
        padding-top: 0;
    }
    div.gerlach {
        grid-row-start: 4;
        grid-row-end: 5;
    }
    #maps {
        padding-top: 20px;
    }
    #apartments {
        padding-bottom: 0;
    }
    footer > div {
        column-gap: 20px;
    }
    #contentMenu {
        grid-column-gap: 10px;
    }
    nav > div.socialMedia {
        justify-content: flex-end;
    }
    nav > a {
        justify-content: flex-start;
    }
    #apartments > div {
        grid-template-rows: 50vw 50vw 50vw;
    }
    #callToAction {
        padding: 0 4px;
    }
}



























/* Ujarak */
.button {
	position: relative;
	transition: color 0.4s;
	z-index: 0;
}
.button::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(125,17,40,0.2);
	z-index: -1;
	opacity: 0;
	transform: scale3d(0.5, 1, 1);
	transition: transform 0.4s, opacity 0.4s;
	transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}
.button, .button::after {
	transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}
.button:hover::after {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}
.button1 {
	position: relative;
	transition: color 0.4s;
	z-index: 0;
}
.button1::after {
	content: '';
	position: absolute;
	top: 0;
	left: -5px;
	width: calc(100% + 10px);
	height: 100%;
    border-bottom: 2px solid;
	z-index: -1;
	opacity: 0;
	transform: scale3d(0.5, 1, 1);
	transition: transform 0.4s, opacity 0.4s;
	transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}
.button1, .button1::after {
	transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}
.button1:hover::after {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}
.button1.clicked::after {
    border-bottom: 2px solid;
    transform: scale3d(1, 1, 1);
    opacity: 1;
}