/*
/*
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: 'Nunito',sans-serif;
        font-weight: 300;
        
        color:#686868;
            
        background-color:#fff;
        background-repeat:repeat;
    }
h1,h2,h3,h4,h5,h6{ 
    
        font-family: 'Nunito',sans-serif;
        
    }
.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: #404445;   
        color: white;
    }
a {
    color: #DDDFDC;
    animation-timing-function: ease;
    transition: 0.3s;
}
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;
}
.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: rgba(0,0,0,.25);
}
.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: black;
    border: 1px solid black;
}
.navbar-nav{
    font-size: 1.2rem;
}
.navbar-nav li.menu-item{
    padding: 0 .2rem;
}
#mobile_menu_bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    z-index: 1030;
}
#mobile_menu_bar,
#mobile_menu_bar * {
    background-color: #fff !important;
    color: #000 !important;
	box-shadow: none !important;
    border: none !important;
}
.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: 100px;
    padding-bottom: 20px;
}
.white-wrapper h5{
    color: black; 
}
.white-wrapper a{
    color: #9F9292;
}
.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 */
}

@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;
}
}

@media (min-width:768px){

}