/*
 Theme Name:   XO Tartu
 Theme URI:    https://digifi.ee
 Description:  Tartu XO restoraani kodulehe teema
 Author:       Digifi Eesti OÜ
 Author URI:   https://digifi.ee
 Template:     understrap
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat&family=Open+Sans:wght@400&display=swap');
html {
    font-size: 16px;
    font-family: 'Open Sans', sans-serif !important;
}

body {
    color: #231f20 !important;
    font-family: 'Open Sans', sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-inline-start: -3px;
    font-family: 'Montserrat', sans-serif !important;
}

@media screen and (min-width: 320px) {
    html {
        font-size: calc(16px + 2 * ((100vw - 320px) / 680));
    }
}

@media screen and (min-width: 1000px) {
    html {
        font-size: 18px;
    }
}

.light-gold {
    color: #b7a049
}

.dark-gold {
    color: #ad974f
}

.intellectual-grey {
    color: #231f20 !important;
}

.dark-grey {
    color: #938f89;
}

.light-grey {
    color: #eaeaea
}

.gridcontainer {
    height: 100%;
    justify-items: center;
}
.gridcontainer {
  min-height: 100%;
  position: relative;
  overflow: hidden;
}
.gridcontainer::before {
    background-image: url(/wp-content/uploads/2020/03/main_cover-1280x800.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    content: '';
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    will-change: transform;
    z-index: -1;
}

.wrapper{
	background: #ecf0f1;
}

/*Checkboxes styles*/

input[type="checkbox"] {
    display: none;
}

input[type="checkbox"]+label {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font: 14px/20px 'Open Sans', Arial, sans-serif;
    color: #938f89;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

input[type="checkbox"]+label:before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    border: 1px solid #b7a049;
    position: absolute;
    left: 0;
    top: 0;
    opacity: .6;
    -webkit-transition: all .12s, border-color .08s;
    transition: all .12s, border-color .08s;
}

input[type="checkbox"]:checked+label:before {
    width: 10px;
    top: -5px;
    left: 5px;
    border-radius: 0;
    opacity: 1;
    border-top-color: transparent;
    border-left-color: transparent;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}


/* #### Mobile Phones Portrait #### */

@media screen and (max-device-width: 480px) and (orientation: portrait) {
    .gridcontainer::before {
        background-image: url(/wp-content/uploads/2020/03/main_cover-1280x800.jpg);
    }
}


/* #### Mobile Phones Landscape #### */

@media screen and (max-device-width: 640px) and (orientation: landscape) {
    .gridcontainer::before {
        background-image: url(/wp-content/uploads/2020/03/main_cover-1280x800.jpg);
    }
}


/* #### Mobile Phones Portrait or Landscape #### */

@media screen and (max-device-width: 640px) {
    .gridcontainer::before {
        background-image: url(/wp-content/uploads/2020/03/main_cover-1280x800.jpg);
    }
}


/* #### iPhone 4+ Portrait or Landscape #### */

@media screen and (min-device-width: 320px) and (-webkit-min-device-pixel-ratio: 2) {
    .gridcontainer::before {
        background-image: url(/wp-content/uploads/2020/03/main_cover-1280x800.jpg);
    }
}


/* #### iPhone 5 Portrait or Landscape #### */

@media (device-height: 568px) and (device-width: 320px) and (-webkit-min-device-pixel-ratio: 2) {
    .gridcontainer::before {
        background-image: url(/wp-content/uploads/2020/03/main_cover-1280x800.jpg);
    }
}


/* #### iPhone 6 and 6 plus Portrait or Landscape #### */

@media (min-device-height: 667px) and (min-device-width: 375px) and (-webkit-min-device-pixel-ratio: 3) {
    .gridcontainer::before {
        background-image: url(/wp-content/uploads/2020/03/main_cover-1080x1920.jpg);
    }
}


/* #### Tablets Portrait or Landscape #### */

@media screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .gridcontainer::before {
        background-image: url(/wp-content/uploads/2020/03/main_cover-1280x800.jpg);
    }
}


/* #### Desktops #### */

@media screen and (min-width: 1366px) {
    .gridcontainer::before {
        background-image: url(/wp-content/uploads/2020/03/main_cover-1366x768.jpg);
    }
}

@media screen and (min-width: 1600px) {
    .gridcontainer::before {
        background-image: url(/wp-content/uploads/2020/03/main_cover-1600x900.jpg);
    }
}

@media screen and (min-width: 1920px) {
    .gridcontainer::before {
        background-image: url(/wp-content/uploads/2020/03/main_cover.jpg);
    }
}

.innergrid {
    height: 100%;
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: auto 200px auto 150px;
    background-color: #221e1fba;
}

.cover-contact {
    margin-top: 50px;
}

.cover-row {
    letter-spacing: 5px;
    line-height: 1.5em;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-align: center;
}

.custom-nav {
    height: 100%;
    background-color: #231f20;
}

.custom-nav ul {
    line-height: 75px;
    text-align: center;
    color: #eaeaea;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.custom-nav ul li a {
    transition: 0.5s ease;
    padding: 0px 10px;
    color: inherit;
    text-decoration: none;
}

.custom-nav ul li:hover {
    color: #ab9347;
}

a.social {
    text-decoration: none;
    text-align: center;
    border-radius: 50px;
    color: #ab9347;
    transition: 0.5s ease;
    font-size: 28px;
}

a.social:hover {
    color: #bdc3c7;
    text-decoration: none;
}

.slider-container {
    background: url(https://xo.digifi.eu/wp-content/uploads/2019/08/slider.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.us-container {
    background: url(/wp-content/themes/understrap/img/team_pattern.jpg);
    background-size: cover;
}

.slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-slide {
    margin: 0px 20px;
}

.underline {
    position: relative;
}

.underline:after {
    content: '';
    border-bottom: 2px solid #b7a049;
    width: 80px;
    height: 1px;
    position: absolute;
    bottom: -10px;
    left: 3px;
}


/*CONTACT*/

.contact-map-container {
    height: 500px;
    position: relative;
    overflow: hidden;
}

.contact-map-container .container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.business-info-wrapper {
    width: 100%;
    max-width: 350px;
    padding: 40px;
    background: #fff;
    border: 1px solid #e5e7f2;
    border-radius: 4px;
    padding-bottom: 15px;
    box-shadow: 0 5px 40px rgba(0, 0, 0, .07);
}

.business-info-header h4 {
    font-weight: 600;
    vertical-align: middle;
    margin-top: 0;
    margin-bottom: 25px;
    line-height: 20px;
}

.business-address-row {
    display: block;
    margin-bottom: 25px;
    line-height: 1;
}

.business-phone-row {
    display: block;
    margin-bottom: 25px;
    line-height: 1;
}

.business-email-row {
    display: block;
    margin-bottom: 25px;
    line-height: 1;
}

.business-info-schedule h4 {
    font-weight: 600;
    vertical-align: middle;
    margin-top: 0;
    margin-bottom: 25px;
    line-height: 20px;
}

.business-info-day {
    border-top: 1px solid rgba(255, 255, 255, .15);
    margin-bottom: 25px;
    line-height: 1;
}

.business-info-day-hours {
    float: right;
}

#wrapper-footer {
    background-color: #221e1f;
    color: #Fff;
}

.site-info {
    text-align: center;
}

.site-info span {
    padding: 0 5px;
    color: #938f89;
    letter-spacing: 1px;
}

a:hover {
    text-decoration: none !important;
}

.icon-comb {
    position: relative;
    margin-left: 5px;
    text-decoration: none;
    transition: 0.5s ease;
    display: inline-block;
    width: 20px;
    height: 20px;
}

.icon-comb:hover {
    text-decoration: none;
    color: #B7A049;
}

.icon-comb .icon-handbag {
    position: absolute;
    font-size: 20px;
}

.icon-comb .icon-plus {
    position: absolute;
    font-size: 12px;
    right: -6px;
    bottom: -4px;
    background-color: #fff;
    font-weight: bold;
}

.icon-comb a {
    -webkit-appearance: none;
}

.pre-view {
    opacity: 0;
    top: 180px;
}

.active-view {
    opacity: 1 !important;
    top: 0 !important;
    transition: 0.5s ease;
}

#wrapper-footer {
    padding: 15px 0 15px 0;
}

.priceandqty {
    text-align: right;
}

.priceandqty .price {
    font-size: 28px;
    font-weight: bold;
    color: #B7A049;
}

.priceandqty .currency {
    font-size: 28px;
    font-weight: bold;
    color: #B7A049;
}

.priceandqty .qtycontainer {
    width: 125px;
}

.qtycontainer #quantity {
    border: none;
    background: none;
    padding: 0;
    text-align: center;
}

.addtocartsection {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 20px;
}

.product-addon p {
    margin: 0;
}

.product-addon p input {
    margin-right: 5px;
}

.woocommerce button[name="update_cart"],
.woocommerce input[name="update_cart"] {
    display: none;
}

.home #product-addons-total {
    display: none;
}

.xoo-wsc-items-count {
    background-color: #b7a049;
    color: #ffffff;
}

.team-slider img {
    width: 100%;
}

.team-slider .slick-prev {
    left: 0;
}

.team-slider .slick-next {
    right: 0;
}

.menu-container img {
    max-width: 100%;
    height: auto;
}

@media only screen and (max-width: 549px) {}


/* Small devices (portrait tablets and large phones, 600px and up) */

@media only screen and (min-width: 550px) {
    .innergrid {
        grid-template-rows: auto 200px auto 75px;
    }
}


/* Medium devices (landscape tablets, 768px and up) */

@media only screen and (min-width: 768px) {
    .innergrid {
        grid-template-rows: auto 325px auto 75px;
    }
}


/* Large devices (laptops/desktops, 992px and up) */

@media only screen and (min-width: 992px) {}


/* Extra large devices (large laptops and desktops, 1200px and up) */

@media only screen and (min-width: 1200px) {}