/*
/*
Theme Name: ErmetechBasics
Description: Public Front End based on Bootstrap
Author: Martin Vremec
Author URI: http://vremec.eu
Version: 0.9.0
*/

body {
        font-family: 'Roboto',sans-serif;
        font-weight: 300;
        
        color:#686868;
            
        background-color:#fff;
        background-repeat:repeat;
    }
h1,h2,h3,h4,h5,h6{ 
    
        font-family: 'Playfair Display',sans-serif;
        color: #2A2333;
        
    }
.white-wrapper h1, .white-wrapper h2, .white-wrapper h3, .white-weapper h4, .white-wrapper h6{
    color: black;
}
  
body {
        background-image: url('images/bkg-pic2.png');
        background-size: auto;
        background-repeat: no-repeat;
        background-position: right bottom;
        background-attachment: fixed;
        background-color: #FDE5DB;   
        color: white;
    }
a {
    color: black;
    animation-timing-function: ease;
    transition: 0.3s;
}
#prenota{
    display: block;
    position: fixed;
    right: -250px;
    top: 300px;
    border: solid 1px white;
    transition: all 0.5s ease-in-out;
}
#contatti{
    display: block;
    position: fixed;
    right: -250px;
    top: 397px;
    border: solid 1px white;
    transition: all 0.5s ease-in-out;
}
#carrello{
    display: block;
    position: fixed;
    right: 0px;
    bottom: 100px;
    
    transition: all 0.5s ease-in-out;
    background-color: #5C3827;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.25);
}
#carrello .cart-contents{
    width: 96px;
    height: 96px;
}
#carrello .cart-contents:before{
    font-size: 56px;
    padding-left: 10px;
}
#carrello .cart-contents-count{
    top: 30px;
    right: 15px;
    font-size: 16px;
}


#contatti span{
    background-color: #3E2B59;
    padding-top: 0;
    line-height: 96px;
}
#prenota:hover, #contatti:hover {
    right: 0;
}
#rotatedtext{
    visibility: 1;
    position: relative; padding-left: 80px; margin-right: 30px; transform: rotate(270deg); transform-origin: right bottom 0; color: white;
}
.product-size .input
a:hover, a:active{
    color: #BBB8BF;
}
h1 span.nascitamorte{
    font-size: 50%;
    font-weight: lighter;
    padding-left: 1rem;
}
span.lettering{
    line-height: 120%;
    display: inline-flex;
    padding-left: 10px;
}
.cart-contents{
    padding-left: 5px;
        position: relative;
    display: flex !important;
    flex-flow: column nowrap;
    justify-content: center;
    border: solid 2px #C2B49F;
}
.menu-item.cart-contents{
    border: unset;
}
.cart-contents-count {
    position: absolute;
    top: 15px;
    right: 1px;
    transform: translateY(-105%) translateX(25%);
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 12px;
    line-height: 22px;
    /*
    height: 22px;
    */
    width: 22px;
    vertical-align: middle;
    text-align: center;
    color: white;
    background: black;
    border-color: white;
    border-style: solid;
    border-width: 1px;
    border-radius: 50%;
    padding: 1px;
}
.woocommerce-cart-form tr:nth-child(even) {
    background-color: #FEF4EE;
}
.woocommerce table.shop_table{
    border: none;
}
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt{
    background-color: #ec682c;
    padding: .390em 1em;
}
.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover {
    background-color: white;
    color: #ec682c;
    border: 1px solid #ec682c;
}

a.shipping-calculator-button{
    color: #ec682c;
    font-size: 0.8rem;
}
.woocommerce-Price-amount{
    color: #ec682c;
}
.navbar-nav{
    font-size: 1.2rem;
}
.navbar-nav li.menu-item{
    padding: 0 .2rem;
}
#mobile_menu_bar{
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    
    
    
}
.jarallax {
    position: relative;
    z-index: 0;
    min-height: 750px;
}
.jarallax > .jarallax-img {
    position: absolute;
    object-fit: cover;
    /* support for plugin https://github.com/bfred-it/object-fit-images */
    font-family: 'object-fit: cover;';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.jarallax .jumbotron{
    padding-top: 10rem;
}
.bg-semitransparent{
    background-color: rgba(0,0,0,.8);
}
.bg-semitransparent-70{
    background-color: rgba(0,0,0,.7);
}
.bg-semitransparent-70.white{
    background-color: rgba(255,255,255,.7);
    color: black;
}
.admin-bar .fixed-top{
    top: 32px;
}
hr.bg-white-40{
    border-top: 1px solid rgba(255,255,255,0.4);
}
.bg-black{
    background-color: black;
    color: white; 
}
.bg-white{
    background-color: white;
    color: black; 
}
.bg-red{
    background-color: red;
}
.bg-green{
    background-color: green;
}
.row-flex {
  display: flex;
  flex-wrap: wrap;
}
.thetitle{
    padding-top: 10px;
    padding-bottom: 20px;
}
.white-wrapper h5{
    color: black; 
}

.the-content{
    min-height: 60vh;

}
.attivita{
    font-style: italic;
}
.article{
    font-size: 120%;
   
}
.jumbotron.position-right{
    width: 50%;
    position: absolute;
    right: 0;
}
.jumbotron.position-left{
    width: 50%;
    position: absolute;
    left: 0;
}
figure.wp-block-pullquote blockquote{
    border-left: solid 10px black;
    padding: 2rem 0;
}
figure.wp-block-pullquote{
    margin: 0;
}
.wp-block-pullquote{
    padding: 0 0;
}
figure.alignright{
    float: right;
}
.bg-erme-one{
    background-color: #532E26;
    color: white;
}
.bg-erme-two{
    background-color: #7C4439;
    color: white;
}
.nav-link.active {
    font-weight: bold;
 
}
button.pagetoc{
    display: none;
}
.navigation .btn span{
    display: inline-flex;
    vertical-align: middle;
}
.the-content nav ul{
    padding-left: 20px;
}
.toc .navbar-expand-md .navbar-nav{
    flex-direction: column;
}
.toc ul > li a.nav-link{
    font-size: 1.3rem;
    padding: .3rem 1rem;
}
.toc ul > li > ul > li a.nav-link{
    font-size: 1.1rem;
    padding: .2rem 2rem;
}
.toc ul > li > ul > li > ul > li a.nav-link{
    font-size: 0.9rem;
    padding: .1rem 3rem;
}
.toc ul > li > ul > li > ul > li > ul > li a.nav-link{
    font-size: 0.8rem;
    padding: .1rem 4rem;
}
.sticky-elements{
    position: sticky;
    top: 0;
    z-index: 1030;
}

.toc .sticky-top{
    top: 200px;
    z-index: 100;
}:target:before {
content:"";
display:block;
height:230px; /* fixed header height*/
margin:-230px 0 0; /* negative fixed header height */
}
#mobile_menu_bar{
    z-index: 1030;
}

@media (max-width: 767.98px) {
    .d-inline-block{
        max-width: 100%;
    }

    h1.display-3{
        font-size:140%;
    }
    h1.display-3:after{
        content: '\A';
        white-space: pre;
    }
    .thetitle{
        margin-top: 160px;
    }
    .attivita{
        font-size: 90%;
    }
    .article{
        font-size: 90%;
        padding: 0 10%;
        text-align: justify;


    }
    .jumbotron.position-right{
    position: relative;
    width: unset;
    
    }
.jumbotron.position-left{
   position: relative;
    width: unset;
}
.sticky-elements{
    position: relative;
    top: unset;
    z-index: 1000;
}
   button.pagetoc{
        display: inline-block;
    }
    #mobile_menu_bar .btn {
    padding: 0.375rem 0.75rem 0 0.75rem;
}
#prenota{
    display: none;
}
}

@media (max-width:1025px){
 #carrello{
    bottom: 250px;
}
#rotatedtext{
    visibility: 0;

}
.dish img{
        width: 100%;
    }
    .dish .description{
    background-color: white;
    padding: 20px;
    position: relative;
    bottom: unset;
    left: unset;
    right: unset;
    border-radius: 0px;
    border: none;

}
}