﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.navbar {
    padding: 1.3rem 1.5rem;
    background-color: #F0DBDB !important;
    z-index: 9999;
}


.nav-item{
    margin:0 10px;
    position:relative;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
    
}

body {
    /* Margin bottom by footer height */
    font-family: 'Alegreya Sans' !important;
    
}
.footer {
    width: 100%;
    line-height: 2.2;
    overflow: auto;
    height: auto;
}

.front-page-background {
    height: auto;
    object-fit: cover;
    object-position: 50% 50%;
    width: 40%;
   
   

    background: url(../img/main.jpeg) 80% 0% no-repeat;
    background-size:cover;
    height: 900px;
    width: 100%;
    position: relative;
}

.pic-back {
    object-fit: cover;
    object-position: 00% 00%;
    background: url(../img/nature.jpeg) 50% 25% no-repeat !important;
    background-size: cover;
    height: 500px;
    width: 100%;
    position: relative;
    margin-bottom:-3rem;
}

.left-fade {
    position: absolute;
    top: 50%;
    left: calc(50% - 1px);
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(240, 219, 219, 0.5) 50%, rgba(240, 219, 219, 0.0));
}

.mt-6{
    margin-top:6em;
}

.title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #404040;
}

.name {
    font-size: 9vh;
    font-weight: 800;
    color: #404040;
    line-height: 1.1;
    letter-spacing:2px;
}



    .subname {
        font-size: 3.5em;
        font-weight: 400;
        color: #F5EBE0;
        line-height: 1.1;
        letter-spacing: 1px;
    }

    .dark {
        color: #404040;
    }

    .btn-trans {
        background: none;
        border: 1px solid #F5EBE0 !important;
        color: #F5EBE0;
        font-weight: 500;
        padding: 18px 48px !important;
        display: inline-block;
        font-size: 18px;
        /* width:100%;
    text-align:center;*/
    }

        .btn-trans:hover {
            background: #F5EBE0;
            color: #404040;
            cursor: pointer;
        }

    .btn-main {
        background: none;
        border: 1px solid #404040 !important;
        color: #404040;
        font-weight: 500;
        padding: 18px 48px !important;
        display: inline-block;
        font-size: 18px;
        border-radius: 0 !important;
        /* width:100%;
    text-align:center;*/
    }

        .btn-main:hover {
            background: #404040;
            color: #F5EBE0;
            cursor: pointer;
        }

    .btn-main-full {
        background: #404040;
        color: #F5EBE0;
        border: 1px solid #404040 !important;
        font-weight: 500;
        padding: 18px 48px !important;
        display: inline-block;
        font-size: 18px;
        border-radius: 0 !important;
        /* width:100%;
    text-align:center;*/
    }

        .btn-main-full:hover {
            cursor: pointer;
        }

    .img {
        border: 2px #404040 dashed;
        height: 190px;
        margin: 15px 0;
    }

    .background-primary {
        padding: 6em 0;
        background: #F5EBE0;
    }

    .background-secondary {
        padding: 5em 0;
        background: white;
    }



    .box {
        background: #F5EBE0;
    }

    p {
        font-size: 18px;
    }

    .nav-item {
        position: relative;
    }

        .nav-item:after {
            content: "";
            position: absolute;
            display: block;
            width: 100%;
            height: 1px;
            bottom: -1px;
            left: 0;
            background-color: #000;
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

    .Ubytovanie {
        border-bottom: 1px solid transparent;
    }

    .Domov {
        border-bottom: 1px solid transparent;
    }

    .Kontakt {
        border-bottom: 1px solid transparent;
    }

    .Rezervacia {
        border-bottom: 1px solid transparent;
    }

    .Galeria {
        border-bottom: 1px solid transparent;
    }

    .Okolie {
        border-bottom: 1px solid transparent;
    }

    .ubytovanie {
        border-bottom: 1px solid transparent;
    }

    .domov {
        border-bottom: 1px solid transparent;
    }

    .kontakt {
        border-bottom: 1px solid transparent;
    }

    .rezervacia {
        border-bottom: 1px solid transparent;
    }

    .galeria {
        border-bottom: 1px solid transparent;
    }

    .okolie {
        border-bottom: 1px solid transparent;
    }

    .nav-item:hover:after {
        transform: scaleX(1);
    }

    .form-control {
        padding-top: 8px !important;
        border: 0 !important;
        border-radius: 0 !important;
    }

    form {
        padding-bottom: 100px;
    }

    .h-500 {
        height: 500px;
    }

    .h-300 {
        height: 300px;
    }

    .h-250 {
        height: 250px;
    }

    .h-750 {
        height: 750px;
    }

    .distance {
        position: absolute;
        bottom: 0px;
        right: 0px;
        width: 100%;
        text-align: center;
        background: rgba(0,0,0,0.5);
        padding: 4px 8px;
        color: #F5EBE0;
    }

    .img-inline {
        margin-top: -4px;
    }

    button:focus {
        outline: none !important;
    }

    .navbar-toggler {
        border: 0 !important;
    }


    .gallery-viewer {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 99999;
        background: rgba(21, 19, 28, 0.8);
        width: 100%;
        height: 100vh;
        display: none;
    }

    .abs-center {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .gallery:hover {
        cursor: pointer;
    }

.gallery-close {
    position: absolute;
    background: #F5EBE0;
    padding-bottom: 8px;
    width: 50px;
    height: 50px;
    font-weight: 400;
    font-size: 26px;
    top: 15px;
    right: 15px;
    z-index: 999999;
    color: #404040;
    font-weight: 900;
    border-radius: 8px;
}

    .gallery-close::after {
        content: "";
        display: block;
        width: 16px; /* Adjust the width to match your image size */
        height: 16px; /* Adjust the height to match your image size */
        background-image: url('../img/delete.png');
        background-size: contain;
        background-repeat: no-repeat;
        position: absolute;
        top: 50%;
        left: 50%; /* Position it to the right of the element */
        transform: translate(-50%, -50%);
    }

.gallery-left {
    position: absolute;
    background: #F5EBE0;
    padding-bottom: 8px;
    padding: 10px 18px;
    font-size: 20px;
    top: 50%;
    left: 15px;
    z-index: 999999;
    color: #404040;
    font-weight: 900;
    width:50px;
    height:50px;
    border-radius:8px;
}

    .gallery-left::after {
        content: "";
        display: block;
        width: 20px; /* Adjust the width to match your image size */
        height: 20px; /* Adjust the height to match your image size */
        background-image: url('../img/left.png');
        background-size: contain;
        background-repeat: no-repeat;
        position: absolute;
        top: 50%;
        left: 48%; /* Position it to the right of the element */
        transform: translate(-50%, -50%);
    }



.gallery-right {
    position: absolute;
    background: #F5EBE0;
    padding-bottom: 8px;
    padding: 10px 18px;
    font-size: 20px;
    top: 50%;
    right: 15px;
    z-index: 999999;
    color: #404040;
    font-weight: 900;
    width: 50px;
    height: 50px;
    border-radius: 8px;
}

.gallery-right::after {
    content: "";
    display: block;
    width: 20px; /* Adjust the width to match your image size */
    height: 20px; /* Adjust the height to match your image size */
    background-image: url('../img/right.png');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    left: 52%; /* Position it to the right of the element */
    transform: translate(-50%, -50%);
}

        .gallery-right:hover {
            cursor: pointer;
        }

    .gallery-left:hover {
        cursor: pointer;
    }

    .gallery-close:hover {
        cursor: pointer;
    }

    .image-cut {
        object-fit: cover;
        object-position: 50% 50%;
    }

    .img-up {
        margin-top: -6px;
    }

    .okolie-desc {
        overflow: hidden;
        height: 130px;
    }

    h4 {
        font-size: 1.4rem;
    }

    .more {
        color: #404040;
        position: absolute;
        left: 50%;
        border-radius: 30px;
        transform: translate(-50%, -50%);
        border: 1px solid #404040;
        bottom: 30px;
        padding: 4px 36px;
        z-index: 10;
    }

        .more:hover {
            cursor: pointer;
            color: #F5EBE0;
            background: #404040;
        }

    .pb-6 {
        padding-bottom: 5.5rem !important;
    }


    .border-thick {
        border: 10px solid #F5EBE0;
    }

@media (max-width: 575.98px) {

    .title {
        font-size: 1.2rem;
        font-weight: 500;
        color: #404040;
    }

    .name {
        font-size: 6vh;
        font-weight: 800;
        color: #404040;
        line-height: 1.1;
        letter-spacing: 2px;
    }

    .front-page-background {
        height: 600px;
    }

    .subname {
        font-size: 2.5em;

    }
}
