:root {
    --main-font-family: 'Montserrat', sans-serif;
    --body-background: #f7f7f7;
    --main-red: #F1485B;
    --title-bg: #106591;
    --section-bg: #1c1c1c;
    --text-gray: #333333;
    --main-blue: #33546D;
    --main-light-red: #f7f7f7;
    --section-title-bg: #eeeeee;
    --boxShadow: 3px 3px 6px #9E9E9E;
    --transitionAll: all 0.5s;
}
body{
    font-family: var(--main-font-family);
    background-color: var(--body-background);
}
@media (min-aspect-ratio: 16/9) {
    #videoBG {
        width:100%;
        height: auto;
    }
}
@media (max-aspect-ratio: 16/9) {
    #videoBG {
        width:auto;
        height: 100%;
    }
}
button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.light-red {
    color: var(--main-light-red)
}
    .img-logo {
        height: 40px;
        width: auto;
    }
    h1{
        font-size: 1.6rem;
        font-weight: bold;
        color: var(--body-background)
    }
    h2{
        font-size: 1.1rem;
        font-weight: bold;
        color: var(--main-light-red)

    }
    h2 a, .title-color {
        color: var(--main-light-red)
    }
    h2 a:hover, .title-color:hover {
        color: var(--main-light-red);
        text-decoration: none;
    }
    p{
        font-size: 0.95rem;
        color: var(--text-gray);
    }

    .page_title {
        background-color: var(--section-title-bg);
        padding-top:10px;
        padding-bottom: 10px;
        background-attachment: fixed;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        margin-bottom: 30px;
        text-align: center;
    }
    .page_title h1{
        color:var(--title-bg);
        font-size: 1.5rem;
    }

#downtown_navbar{
    padding-top:10px;
    padding-bottom: 10px;
}
#barber-intro{
    background-color: var(--section-bg);
}
/******************* Media query for devices ***********************/
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .img-logo {
        height: 50px ;
    }
    .page_title {
        text-align: center;
    }
    .main-header{

        background-color: #cccccc; /* Used if the image is unavailable */
        height: 200px; /* You must set a specified height */
        background-position: center; /* Center the image */
        background-repeat: no-repeat; /* Do not repeat the image */
        background-size: cover; /* Resize the background image to cover the entire container */
    }
    #main_hero_img{
        height:200px;
    }
    .main-header{

        background-color: #cccccc; /* Used if the image is unavailable */
        height: 500px; /* You must set a specified height */
        background-position: center; /* Center the image */
        background-repeat: no-repeat; /* Do not repeat the image */
        background-size: cover; /* Resize the background image to cover the entire container */
        background-attachment: fixed;
    }
    .main-intro-subtext{
        display: none;
    }


}
/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .img-logo {
        height: 70px;
    }
    .page_title {
        text-align: center;
    }
    #main_hero_img{
        height:200px;
    }
    .main-header{

        background-color: #cccccc; /* Used if the image is unavailable */
        height: 500px; /* You must set a specified height */
        background-position: center; /* Center the image */
        background-repeat: no-repeat; /* Do not repeat the image */
        background-size: cover; /* Resize the background image to cover the entire container */
        background-attachment: fixed;
    }
    .main-intro-subtext{
        display: none;
    }

}
/* Large devices (desktops, 992px and up) */
@media (max-width: 992px) {
    .offcanvas-header{ display:block; }
    .navbar-collapse {
        position: fixed;
        top:0;
        bottom: 0;
        left: 100%;
        width: 100%;
        padding-right: 1rem;
        padding-left: 1rem;
        overflow-y: auto;
        visibility: hidden;
        background-color: rgba(28, 28, 28, 0.84);
        transition: visibility .2s ease-in-out, -webkit-transform .2s ease-in-out;
    }
    .navbar-collapse.show {
        visibility: visible;
        transform: translateX(-100%);
        z-index: 50;
    }
    #main_hero_img{
        height:200px;
    }
    .main-header{

        /*background-color: #cccccc; !* Used if the image is unavailable *!*/
        height: 200px; /* You must set a specified height */
        background-position: center top; /* Center the image */
        background-repeat: no-repeat; /* Do not repeat the image */
        background-size: contain; /* Resize the background image to cover the entire container */
        background-attachment: scroll;
    }

    h1{
        font-size: 1.3rem;
    }
    .offcanvas-header {
        display: block !important;
    }
    .main-intro-subtext{
        display: none;
    }
}


/* Extra large devices (large desktops, 1200px and up) */
@media only screen and ( min-width: 1024px) {
    h1{
        font-size: 1.6rem;
    }
    h2{
        font-size: 1.25rem;;

    }
    p{
        font-size: 1.08rem;
    }
    a.nav-link, .footer-link {
        font-size: 0.6em;
    }
    .no-mobil {
        display: block;
    }
    .on-mobil {
        display: none;
    }
    div#footer-company-data {
        order: unset;
    }

    .main-header{
        background-image:  url("/media/bg/header_opatija.jpg");
        background-color: #cccccc; /* Used if the image is unavailable */
        height: 500px; /* You must set a specified height */
        background-position: center center; /* Center the image */
        background-repeat: no-repeat; /* Do not repeat the image */
        background-size: cover; /* Resize the background image to cover the entire container */
        background-attachment: fixed;
    }
    #main_hero_img{
        height:250px;
    }
    .main-intro-subtext{
        display: inline;
    }

}
@media only screen and ( min-width: 1440px) {

    a.nav-link, .footer-link {
        font-size: 0.77em;
    }
    #main_hero_img{
        height:250px;
    }
    .cta{
        background: url("/media/bg/cta.jpg") no-repeat;
        width: 472px;
        padding-top: 44px;
        height: 127px;
        display: inline-block;
        margin-top: 50px;
        cursor: pointer;
        cursor: hand;
        font-size: 21px;
        letter-spacing: 0.075em;
    }
    cta a {
        color:white !important;
        text-decoration: none;
    }
    .separator-normal{
        background-image:  url("/media/bg/border1.png");
        height: 40px;
        background-position: center; /* Center the image */
        background-repeat: no-repeat; /* Do not repeat the image */
        background-size: cover; /* Resize the background image to cover the entire container */

        position: relative;
        top: -40px;

    }
    .separator-rotate{
        background-image: url("/media/bg/border1.png");
        height: 40px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        transform: rotate(180deg);
        position: relative;
        top: 40px;
        z-index: 100;
    }
}

/******************* Media query for devices ***********************/
/******************* Navigation begins ****************************/
i.fas.fa-user.text-white-50 {
    height: 30px;
    width: 30px;
    padding-top: 5px;
}
a i.fas.fa-user.text-white-50 {
    height: 30px;
    width: 30px;
    padding-top: 5px;
    padding-left: 6px;
}
.nav-cont {
    justify-content: flex-end;
}
.navbar{
    background-color: var(--title-bg);
}
a.nav-link, .footer-link{
    color: var(--body-background) !important;
    font-size: 0.8em;
    font-family: var(--main-font-family);
    text-transform: uppercase;
}
a.nav-link{
    border-bottom: 2px solid transparent;
}
a.nav-link:hover{
    border-bottom: 2px solid var(--main-light-red);
}
/******************* Navigation ends ****************************/
.main-header-container{
    background-color: var(--title-bg);
    opacity: 0.5;
}
main.frontend_container {
    min-height: calc(100vh - 172px);
}
div.frontend_container{
    padding-top: 30px;
    padding-bottom:30px;
    background-color: var(--section-title-bg);
}
.post-content{
    font-size: 14px;
    color: var(--text-gray) !important;
}

.offcanvas-header{ display:none; }


/** footer **/
.page-footer{
    background-color: var(--title-bg) !important;
    color: var(--body-background);
}
.page-footer p{
    color: var(--body-background);
}

.footer-link{
    color: var(--body-background);
    font-size: 0.8rem;
}
.footer-link:hover{
    color: var(--body-background);
    text-decoration: none;
}
.no-mobil {
    display: none;
}
div#footer-company-data {
    order: 3;
}

/**  footer END **/

.main-intro{
    padding-top:5%;
}


#main_hero_img{
    padding: 0;
    height: 250px; /* You must set a specified height */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: contain; /* Resize the background image to cover the entire container */
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
#main_hero_img h1{
padding-top: 10%;
}
#figure-hero{
    margin:0;
}
.figure-hero{
    margin:0 !important;
}


/** blog single post page  **/
.aside-p p {

    font-size: 0.8rem;
}
.post_date{
    font-size: 0.8rem;
}
.btn-secondary{
    margin-bottom: 10px !important;
}
.post_date{
    padding-bottom: 1em;
}
.main-book-now-button .box-btn {
    color: #feff00;
    font-size: 32px;
    padding: 15px 20px;
}
.box-btn{
    border: 3px solid #fff;
    display: inline-block;
    padding: 10px 20px;
    font: 20px/16px 'title';
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    text-decoration: none !important;
    -moz-font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    background: var(--title-bg);
    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
    -o-transition: all 0.25s;
    -ms-transition: all 0.25s;
    transition: all 0.25s;
}




.content-section{
    padding-top: 40px;
}

/*.separator-normal{*/
/*    background-image:  url("/media/bg/border1.png");*/
/*    height: 40px;*/
/*    background-position: center; !* Center the image *!*/
/*    background-repeat: no-repeat; !* Do not repeat the image *!*/
/*    background-size: cover; !* Resize the background image to cover the entire container *!*/

/*    position: relative;*/
/*    top: -40px;*/

/*}*/

#section-separator{
    background-color: var(--title-bg); /* Used if the image is unavailable */

}
#section-separator p{
    color: var(--body-background);
}
.main-services{
    padding:0px;
}
.main-services .col-6{
    padding:0px;
}
.card-img-top {
    position: absolute;
    top: -70px;
    left: 33%;
    margin-left: -30px;
    width: 140px !important;
    height: 140px;
}

.card {
    margin-top: 60px;
    padding-top: 30px;
    margin-bottom: 30px;
}
.card-block{
    margin-top: 30px;
    padding:10px;
}
.card-title{
    padding-top:20px;
    padding-bottom: 10px;
}
.card-text p{
    font-size: 0.8em;
    text-align: center;
}


/* Main CSS */
.grid-wrapper > div {
    display: flex;
    justify-content: center;
    align-items: center;
}
.grid-wrapper > div > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.grid-wrapper {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 200px;
    grid-auto-flow: dense;
}
.grid-wrapper .wide {
    grid-column: span 2;
}
.grid-wrapper .tall {
    grid-row: span 2;
}
.grid-wrapper .big {
    grid-column: span 2;
    grid-row: span 2;
}

/******* Barber references ***********/


/* Main CSS */
.grid-wrapper-barber > div {
    display: flex;
    justify-content: center;
    align-items: center;
}
.grid-wrapper-barber > div > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.grid-wrapper-barber {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /*grid-auto-rows: 200px;*/
    grid-auto-flow: dense;
}
.grid-wrapper-barber .wide {
    grid-column: span 2;
}
.grid-wrapper-barber .tall {
    grid-row: span 2;
}
.grid-wrapper-barber .big {
    grid-column: span 2;
    grid-row: span 2;
}





#barber-gallery{
    padding-top: 80px;
    background-color: var(--title-bg);
    padding-bottom: 80px;
}
#barber-testimonials{
    background-image:url("/media/bg/testimonial_background.jpg");

    /* Set a specific height */
    min-height: 500px;

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
#barber-slogen{
    background-image:url("/media/bg/slogen-section-bg.png");
    /* Set a specific height */
    min-height: 400px;
    /* Create the parallax scrolling effect */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/************ Testimonial slide begins *******************/
.col-center {
    margin: 0 auto;
    float: none !important;
}
.carousel {
    padding: 0 70px;
}
.carousel .carousel-item {
    color: #999;
    font-size: 14px;
    text-align: center;
    overflow: hidden;
    min-height: 290px;
}
.carousel .carousel-item .img-box {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 50%;
}
.carousel .img-box img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
}
.carousel .testimonial {
    padding: 30px 0 10px;
}
.carousel .overview {
    font-style: italic;
}

.carousel .overview b {
    text-transform: uppercase;
    color: var(--section-title-bg);
}
.carousel-control-prev, .carousel-control-next {
    width: 40px;
    height: 40px;
    margin-top: -20px;
    top: 50%;
    background: none;
}
.carousel-control-prev i, .carousel-control-next i {
    font-size: 68px;
    line-height: 42px;
    position: absolute;
    display: inline-block;
    color: rgba(0, 0, 0, 0.8);
    text-shadow: 0 3px 3px #e6e6e6, 0 0 0 #000;
}
.carousel-indicators {
    bottom: -40px;
}
.carousel-indicators li, .carousel-indicators li.active {
    width: 12px;
    height: 12px;
    margin: 1px 3px;
    border-radius: 50%;
    border: none;
}
.carousel-indicators li {
    background: #999;
    border-color: transparent;
    box-shadow: inset 0 2px 1px rgba(0,0,0,0.2);
}
.carousel-indicators li.active {
    background: #555;
    box-shadow: inset 0 2px 1px rgba(0,0,0,0.2);
}
.testimonial p{
    color: var( --section-title-bg);
}

/************ Testimonial slider ends *********************/

a.box-btn:hover{
    color: var(--main-light-red);
}
.main-services-haircut{
    background-image:url("/media/bg/downtownbros-hajvagas.jpg");
    /* Set a specific height */
    min-height: 600px;
    /* Create the parallax scrolling effect */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin:0px !important;
}
.main-services-barbering{
    background-image:url("/media/bg/downtownbros-szakallvagas.jpg");
    /* Set a specific height */
    min-height: 600px;
    /* Create the parallax scrolling effect */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin:0px !important;
}
.container-haircut{
    top:60%;
    position: relative;
}
.dropdown-menu{
    background-color: var(--title-bg);
}
.service-item-desription{
    padding-bottom:10px;
    text-align: justify;
}
/****** Checbox round *********/
.checkbox-round {
    position: relative;
}

.checkbox-round label {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
    height: 28px;
    left: 0;
    position: absolute;
    top: 0;
    width: 28px;
}

.checkbox-round label:after {
    border: 2px solid #fff;
    border-top: none;
    border-right: none;
    content: "";
    height: 6px;
    left: 7px;
    opacity: 0;
    position: absolute;
    top: 8px;
    transform: rotate(-45deg);
    width: 12px;
}

.checkbox-round input[type="checkbox"] {
    visibility: hidden;
}

.checkbox-round input[type="checkbox"]:checked + label {
    background-color: var(--main-light-red);
    border-color: var(--main-light-red);
}

.checkbox-round input[type="checkbox"]:checked + label:after {
    opacity: 1;
}
.booking-select-forward{
 position: absolute;
    bottom:5%;
}
.read_more{
    border: 3px solid #000;
    display: inline-block;
    padding: 10px 20px;
    font: 16px/14px 'title';
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #000;
    text-decoration: none !important;
    -moz-font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    background: transparent;
    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
    -o-transition: all 0.25s;
    -ms-transition: all 0.25s;
    transition: all 0.25s;
}
.read_more:hover{
    border: 3px solid #fff;
    display: inline-block;
    padding: 10px 20px;
    font: 16px/14px 'title';
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #000;
    text-decoration: none !important;
    -moz-font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    background-color: var(--main-light-red);
    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
    -o-transition: all 0.25s;
    -ms-transition: all 0.25s;
    transition: all 0.25s;
}
a.checkout-nav-link-active{
    color: var(--main-light-red) !important;
    font-size: 1.0em;
    font-family: var(--main-font-family);
    font-weight: 600;
}
a.checkout-nav-link-active:hover{
    text-decoration: none !important;
}


a.checkout-nav-link{
    color: var(--title-bg) !important;
    font-size: 1.0em;
    font-family: var(--main-font-family);
    font-weight: 600;
}
a.checkout-nav-link:hover{
     /*border-bottom: 2px solid var(--main-light-red);*/
    color: var(--main-light-red) !important;
    border-bottom: none !important;
    text-decoration: none !important;
}
.i-checkout{
    margin-right:10px;
}

.sub-title{
    margin-bottom: 40px;
}
.td-select-date{
    background-color: #fff;
    text-align: center;
}
a.set-date{
    color: var(--title-bg);
    font-weight: 600;
}
a.set-date:hover{
    color: var(--main-light-red);
    font-weight: 600;
    text-decoration: none;
}

a.set-date-disabled{
    color: var(--main-red);
    font-weight: 600;
}
a.set-date-disabled:hover{
    color: var(--main-light-red);
    font-weight: 600;
    text-decoration: none;
}
a.set-date-holiday{
    color: gray;
    font-weight: 600;
}
a.set-date-holiday:hover{
    color: gray;
    font-weight: 600;
    text-decoration: none;
}

.th-header{
    font-size: 1.0em;
    padding:5px;
    font-family: var(--main-font-family);
    font-weight: normal;
    background-color: var(--title-bg);
    color: var(--body-background);
}
.select-time-radio{
background-color: #fff;
    padding: 10px 0px 10px 30px;
    margin-bottom: 5px;
    font-family: var(--main-font-family);
    font-weight: normal;
}
.booking-summary-title{
    font-weight: 600;
}
