/*
Theme Name: Ristorante-Italia
Theme URI: https://www.ristorante-italia.ch
Author: Pietro Petrocchi
Author URI: https://www.goline.ch
Description: New theme for Ristorante-Italia
Version: 1
Text Domain: ristorante_italia
*/

/*
COMPONENTS
*/

body {
    background: #fac9cc;
    font-family: "akzidenz-grotesk",sans-serif;
    font-size: 15px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.4em;
    letter-spacing: 0.02em;
    color: black;
}

#container {
    position: relative;
    float: left;
    /*width: calc(100% - 350px);*/
    padding-left: 300px;
    padding-right: 50px;
    margin-bottom: 200px;
    max-width: 2500px;
    /*overflow: hidden;*/
    height: 100%;
}

header {
    width: 300px;
    position: fixed;
    top: 50px;
    left: 50px;
    z-index: 99999999;
}

.logo__wrapper {
    max-width: 280px;
    margin-left: 6px;
}

main {
    margin: 50px 0 200px 0;
}

/*
NAV BAR
*/
.header__nav__bar {
    border-left: 15px solid #000000;
}

.header__nav__bar ul {
    list-style-type: none;
    padding-left: 0;
    margin-left: 5px;
}
.header__nav__bar li {
    font-weight: 500;
    line-height: 1.8em;
}

.header__nav__bar a {
    text-decoration: none !important;
    color: black;
    padding: .2em .7em;
    font-weight: 600;
}

.header__nav__bar .current-menu-item > a, .header__nav__bar ul li a:hover, .selected {
    background-color: black;
    color: #fac9cc !important;
    /* margin-left: 1.9em; */
}

.selected {
    margin-left: 1.9em;
}

.mobile-button {
    display: none;
}



/* Privacy
--------------------------------------------- */
div[data-id='jobs'] {
display:block !important;
position:relative;
z-index:100;

    @media screen and (max-width:500px) {
         display:block;
         margin-bottom:350px;

    }
}


div[data-id='privacy-cookie-policy'] {
    @media screen and (max-width:500px) {
         display:none !important;
      

    }
}






/*
LAYOUT
 */

.column__wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.column__wrapper > div {
    padding: 50px;
    width: 32%;
}

h1 {
    font-size: 20px;
    margin-bottom: 1.2em;
    font-weight: 600;
    letter-spacing: 0.03em;
}

p {
    font-size: 16px;
    margin: 0px;
    padding: 0px;
    border: 0px none;
}

@media screen and (min-width:768px) and (max-width:1200px){
    .column__wrapper > div {
        width: 50%;
    }
    .column__wrapper {
        flex-wrap: wrap;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
 }

#content {
    max-width: 1100px;
    margin-top: 2rem;
    margin-left: 3rem;
}


@media only screen and (max-width: 768px) {

    #container {
        width: 100%;
        padding: 20px;
    }

    .woocommerce #container {
        width: 100%;
        padding: 5px;
    }

    .categories_woocommerce {
        text-align: center;
    }

    .categories_woocommerce  a {
        margin: 4px !important;
    }

    .woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
        background-color: white;
        padding: 0 !important;
    }

    #content {
        max-width: 1100px;
        margin-top: 0 !important;
        margin-left: 0 !important;
        padding: 5px !important;
    }

    /* For mobile phones: */
    .header__nav__bar {
        position: fixed;
        left: 100%;
        top: 0px;
        height: 100%;
        width: 100%;
        overflow: hidden;
        overflow: auto;
        background: #fac9cc;
        z-index: 1000;
        -moz-transition: left 0.2s ease;
        -o-transition: left 0.2s ease;
        -webkit-transition: left 0.2s ease;
        transition: left 0.2s ease;
    }

    .header__nav__bar.visible {
        left: 0px;
    }

    .column__wrapper > div {
        width: 100%;
        padding: 0;
    }

    .column__wrapper {
        display: block;
    }

    /*#container {*/
    /*    width: calc(100% - 100px);*/
    /*    padding: 25px 35px 35px 35px;*/
    /*}*/

    .header__nav__bar {
        position: fixed;
        left: 100%;
        top: 0px;
        height: 100%;
        width: 100%;
        overflow: hidden;
        overflow: auto;
        background: #fac9cc;
        z-index: 1000;
        -moz-transition: left 0.2s ease;
        -o-transition: left 0.2s ease;
        -webkit-transition: left 0.2s ease;
        transition: left 0.2s ease;
    }

    .mobile-button {
        cursor: pointer;
        z-index: 1001;
        display: block;
        position: fixed;
        right: 25px;
        top: 25px;
        width: 21px;
    }
    .mobile-button .line {
        width: 100%;
        height: 5px;
        background: #000;
        margin-bottom: 3px;
        float: left;
        position: relative;
    }
}

.column__wrapper div:nth-child(2){
    margin-top: 6%;
}

.column__wrapper div:nth-child(3){
    margin-top: 10%;
}

/*
LINKS
*/

a:active,a:link,a:visited {
    color: black;
    text-decoration: underline;
    font-weight: 600;
}

a:hover {
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
    opacity: 0.8;
}

.selected_h1 {
    font-size: 16px;
    background: black !important;
    color: #fac9cc !important;
    display: inline-block;
    margin-bottom: 1.6em;
    line-height: 1.2em;
    padding: .2em .7em;
}

.column__wrapper > div#fotos {
    width: 66%;
}




/*WOOCOMMERCE*/


.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    float: left;
    margin: 0 1.2rem 4rem 0;
    background-color: white;
    padding: 20px;
}

.product-category a img, .product-category a .count {
    display: none !important;
}

.product-type-simple img {
    display: none;
}

.product-category {
    background-color: #43684d !important;
    color: white !important;
}

.product-category a:active,
.product-category a:link,
.product-category a:visited {
    color: white !important;
}

.woocommerce-loop-category__title {
    text-align: center;
}

.categories_woocommerce {
    clear: both;
}

.categories_woocommerce a {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #fff;
    background-color: #000000;
    padding: .375rem .75rem;
    margin-right: 10px;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    /*min-height: 265px;*/
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.woocommerce-Price-amount {
    font-size: 1rem;
    font-weight: bold;
}

#take_away_opening_times {
    width: 500px !important;
}

.alert-success {
    color: #155724;
    background-color: #ffffff;
    border-color: #c3e6cb;
}
.alert {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

/*.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {*/
/*    width: 19.05%;*/
/*}*/

.shop_table_responsive.woocommerce-cart-form__contents {
    width: 100%;
}

.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

table {
    border: 0;
    border-spacing: 20px;
}
table td {
    border: 0;
}

.woocommerce-cart-form__contents th {
    background-color: black !important;
    padding: 7px;
}

.woocommerce table.shop_table, .cart_totals table, address {
    background-color: white;
}

.product-type-simple {
    min-height: 136px;
}

.categories_woocommerce  a {
    margin: 10px 10px 10px 10px;
}

.cat-btn a:active, a:link, a:visited {
    text-decoration: none;
}

#customer_details .col-1 {
    max-width: 50%;
}

#customer_details .col-2 {
    max-width: 50%;
}