:root {
    --color-white: #fff;
    --color-gray: #f5f5f5;
    --color-primary: #333232;
    --color-accent: #e2001a;
}


/* header */
.site-branding-area,.mainmenu-area,.footer-bottom-area{
    display: none;
}

body {
    background-color: var(--color-gray);
    font-family: 'Roboto', serif;
    color: var(--color-primary);
	padding-top:81px;
}

.header-area {
    height: 81px;
    background-color: var(--color-white);
	width:100%;
	position:fixed;
	top:0px;
	left:0px;
	z-index:999;
	-webkit-box-shadow: 0px 3px 10px 0px rgba(0,0,0,0.1); 
	box-shadow: 0px 3px 10px 0px rgba(0,0,0,0.1);
}

.header-area .container {
    display: inline;
}

.header-area .badge {
    background-color: var(--color-accent);
    color: var(--color-white);
    position: relative;
    top: -10px
}

.logo  {
    /*width: 110px;*/
    float:left;
    margin-top: 10px;
}

img {
    max-width: 100%;
}
nav {
    display: flex;
    padding: 0;
    margin: 0;
    align-items: center;
}

nav > ul {
    width: 100%;
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    align-items: center;
    justify-content: space-around;
}

nav > ul > li > a {
    color: var(--color-primary);
    font-size: 19px;
    font-weight: bold;
}

nav.nav-center {
    /*width: calc(100% - 110px);*/
    min-height:61px;
}

nav.nav-right {
    width: 120px;
}

nav.nav-right:before {
    position: relative;
    top: 0;
    left: -5px;
    content: '';
    height: 61px;
    opacity: 0.3;
    width: 1px;
    background-color: var(--color-primary);
}

.accent {
    color: var(--color-accent);
}


/* fine header */


/* home */
#banner  {
    text-align: center;
    overflow: hidden;
}

#banner .slider {
    display: flex;
    width: 9000px;
    transition: all 0.25s ease 0s;
}

#banner .slider > .slide {
    width: 100vw;
}

#banner .slider > .slide > img {
    max-width: 100%;
    -webkit-box-shadow: -10px 0px 13px -7px rgba(0,0,0,0.3), 10px 0px 13px -7px rgba(0,0,0,0.3), 8px 0px 4px -4px rgba(0,0,0,0); 
    box-shadow: -10px 0px 13px -7px rgba(0,0,0,0.3), 10px 0px 13px -7px rgba(0,0,0,0.3), 8px 0px 4px -4px rgba(0,0,0,0);
}

#primo-piano {
    padding: 50px;
    background-color: #faf6f6;
}
#primo-piano h3,
#in-evidenza h3 {
    text-align: center;
    font-size: 30px;
    line-height: 42px;
    font-weight: bold;
    color: #000;
    margin: 0 0 30px 0;
}

#in-evidenza {
    padding-top: 50px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: var(--color-white);
}
/* fine home */


.anteprima-libro {
    text-align: center;
}

.anteprima-libro a:hover {
    text-decoration: none;
}

.anteprima-libro img {
    margin: 10px auto;
    text-align: center;
    height: 200px;
    width: 100%;
    object-fit: contain;
    object-position: center;
}

.anteprima-libro .autore {
    color:#666464;
}

.anteprima-libro h5 {
    font-size: 20px;
    text-transform: capitalize;
    line-height: 33px;
    font-weight: bold;
    color: #000;
    /*overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;*/
}

.anteprima-libro .prezzo .pieno {
    font-size: 18px;
    color: #666464;
    text-decoration: line-through;
}

.anteprima-libro .prezzo .perc-sconto {
    font-size: 14px;
    color: var(--color-white);
    background-color: var(--color-accent);
    padding: 4px 8px;
    font-weight: bold;
}



/*scheda prodotto*/
.addcart #qta {
    width: 100%;
    padding: 10px;
    border-color: #e5e1e1;
    background-color: var(--color-white);
}

.btn.btn-accent,
.addcart .add-to-cart {
    width: 100%;
    background-color: var(--color-accent)!important;
    color: var(--color-white);
    padding: 10px;
    border: 0;
    font-weight: bold;
}

ul#tabs {
    margin-top: 60px;
    display: flex;
    list-style: none;
    padding: 0;
}

ul#tabs:before {
    position: absolute;
    background-color: #e5e1e1;
    width: calc(100% - 30px);
    height: 1px;
    content: '';
    top: 94px;
    left: 15px;
}

ul#tabs > li {
    text-align: center;
    font-size: 22px;
    min-width: 160px;
    cursor: pointer;
}

ul#tabs > li.active {
    color: var(--color-accent);
    border-bottom: 2px solid var(--color-accent);
}

div.tab:not(.active) {
    display: none;
}
div.tab {
    font-size: 18px;
    line-height: 30px;
}
/*fine scheda prodotto*/


/* adozioni */
#adozioni-intro {
    padding: 50px 100px;
}
#adozioni-intro h3 {
    font-size: 32px;
    line-height: 42px;
}
#adozioni-intro p {
    font-size: 18px;
    line-height: 30px;
}
#adozioni-intro p small {
    opacity: 0.7;
}

#adozioni-cerca {
    background-color: #faf6f6;
    padding: 50px 140px;
}

#adozioni-cerca h3 {
    font-size: 22px;
    line-height: 33px;
    font-weight: 700;
}
#adozioni-cerca p {
    font-size: 22px;
    line-height: 33px;
}
#adozioni-cerca .col-md-1:before {
    display: block;
    position: relative;
    height: 300px;
    margin-bottom: 10px;
    width: 1px;
    background-color: #999696;
    content: '';
    top: 0;
    left: 50%;
}
#adozioni-cerca .col-md-1:after {
    display: block;
    position: relative;
    margin-top: 10px;
    height: 300px;
    width: 1px;
    background-color: #999696;
    content: '';
    bottom: 0;
    left: 50%;
}
#adozioni-cerca .col-md-1 {
    text-align: center;
    height: 400px;
    color: #999696;
    font-weight: bold;
}

#adozioni-res {
    padding: 20px 140px;
    display: none;
}

#adozioni-res #scuola, #adozioni-res p {
    text-align: center;
}

#adozioni-res .libro {
    background-color: var(--color-white);
    padding: 10px;
    border: solid 1px #e5e1e1;
    margin-top: 20px;
}
/* fine adozioni */


/* conferma carrello */
.confermacarrello {
    border: solid 1px #e5e1e1;
    background-color: var(--color-white);
}
/* fine conferma carrello */

/*  carrello */
.cart .cart-item {
    border: solid 1px #e5e1e1;
    background-color: var(--color-white);
}

.cart .qta button {
    background-color: transparent;
    width: 45px;
    height: 45px;
    border: solid 1px;
    font-size: 20px;
}

.cart .qta input {
    width: 80px;
    height: 45px;
    font-size: 20px;
    margin-left: -3px;
    margin-right: -3px;
    border: solid 1px;
    border-left: 0;
    border-right: 0;
    text-align: center;
}

.cart .giftcard {
    
    padding-left: 20px;
    border: solid 1px #e5e1e1;
    background-color: var(--color-white);
}

.v-giftcard {
    position: relative;
    background-image: url('/shop/img/buono.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
    height: 250px;
}

.v-giftcard > span {
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
}

.cart .cart-total {
    position: fixed;
    right: 40px;
    top: 360px;
    width: 23%;
    padding-left: 20px;
    border: solid 1px #e5e1e1;
    background-color: var(--color-white);
}
/* fine  carrello */
.big-input {
    background-color: var(--color-white);
    border: solid 1px #e5e1e1;
    padding: 20px 10px;
    display: flex;
    flex-wrap: wrap;
}
.big-input.single {    
    flex-wrap: nowrap;
}

.big-input label {
    width: 100%;
    padding-left: 10px;
}
.big-input input,.big-input input:active,.big-input input:focus,.big-input input:focus-within,
.big-input select,.big-input select:active,.big-input select:focus,.big-input select:focus-within {
    border: 0;
    width: 100%;
    font-size: 26px;
    line-height: 23px;
    padding-left: 8px;
    outline: none;
    background-color: var(--color-white);
}
.big-input .fa {
    margin-top: 15px;
}
.big-input button {
    background-color: var(--color-accent);
    color: var(--color-white);
    border: 0;
    padding: 16px 22px;
    font-weight: 700;
    font-size: 14px;
    line-height: 19px;
}
.main-img {
    max-width: 70%;
    margin: 60px 0 0 15%;
    object-fit: contain;
    object-position: center;
}

.p-20 {
    padding: 20px;
}

.p-60 {
    padding: 60px;
}

.border {
    border: solid 1px #e5e1e1;
    
}

.border-trl {
    border-top: solid 1px #e5e1e1;
    border-left: solid 1px #e5e1e1;
    border-right: solid 1px #e5e1e1;
}
.border-brl {
    border-bottom: solid 1px #e5e1e1;
    border-left: solid 1px #e5e1e1;
    border-right: solid 1px #e5e1e1;
}
.accent {
    color: var(--color-accent);
}

footer {
    background-color: #fafafa;
    padding: 20px;
}


footer hr {
    margin-top: 0;
}


footer a {
    color: var(--color-accent);
}

a.cart-menu-item {
    display: none;
}

.libreria .dropdown-menu {
    left: unset;
    margin-left: -20px;
    font-size: 18px;
}

@media (max-width:1440px) {
    .libreria .dropdown-menu {
        left: unset;
        margin-left: 0;
        position: inherit;
    }
    .libreria.open {
        flex-direction: column;
    }
    .libreria .dropdown-menu li {
        line-height: 25px;
    }

    .filtri-mobile {
        display: none;
    }
    #adozioni-intro,
    #adozioni-cerca {
        padding: 15px 20px;
    }
    #adozioni-cerca .col-md-1:before {
        height: 1px;
        left: 0;
        top: 20px;
        width: 40%;
    }
    #adozioni-cerca .col-md-1:after {
        height: 1px;
        width: 40%;
        top: -20px;
        left: 60%;
    }
    #adozioni-cerca .col-md-1 {
        height: auto;
        width: 100%;
    }
    nav.nav-center > ul:before {
        position: absolute;
        top: -60px;
        right: 20px;
        width: 30px;
        height: 30px;
        font-size: 22px;
        font-family: FontAwesome;
        content: '\f0c9';
    }
    
    nav.nav-center > ul:hover > li:hover,
    nav.nav-center > ul > li:hover,
    nav.nav-center > ul:hover > li {
        display: inherit;
    }

    nav.nav-center > ul:hover {
        background-color: #fff;
        box-shadow: 0 5px 15px 5px #999;
    }
    nav.nav-center > ul {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding: 4px;
        position: absolute;
        background-color: transparent;
        left: 0;
        top: 85px;   
    }
    #primo-piano {
        display: none;
    }
    .cart-items-col > div {
        min-height: 20px!important;
    }
    .cart-items-col > div.row  div.prezzo {
        padding-top: 20px!important;
    }
    .cart-items-col > div.row  div.prezzo.pull-right,
    .giftcard > div.row > div.pull-right {
        float: unset!important;
    }
    .p-60.cart {
        padding: 20px;
    }
    nav.nav-center > ul > li {
        display: none;
        width: 100%;
        padding: 12px;
    }
    nav.nav-center > ul > li > a {
        font-size: 20px;
    }
    
    nav.nav-center > ul > li:not(:nth-child(8)){
        border-bottom: solid 1px #ccc;
    }
       
    
    li.cart-menu-item {
        display: none!important;
    }
    a.cart-menu-item {
        display: inherit;
        position: absolute;
        right: 80px;
        font-size: 22px;
        top: 30px
    }
}