﻿:root {
    --main-border-color: #E0E0E0;
    --main-font: arial;
}

.inner-text {
    font-weight: 700;
    font-size: 24px;
    margin: auto;
}


.main-container {
    display: flex;
    min-height: calc(100vh-40px);
    margin-top: 10px;
    width: 71vw;
    padding: 10px 15px 10px 15px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}

.item-container {
    display: flex;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    margin: 0 0 35px 0;
    padding: 0 5px 0 0;
    min-height: 150px;
    border-radius: 2px;
    background-color: white;
}

.header_cart {
    padding: 10px 15px 10px 15px;
    display: flex;
    font-weight: bold;
    font-family: Roboto,Helvetica Neue,Arial,Helvetica,sans-serif;
    width: 71vw;
    font-family: var(--main-font);
}

.items-header {
    text-align: right;
    padding: 0 5px;
    font-family: var(--main-font);
}

.sidebar {
    min-width: 250px;
    display: flex;
    margin-left: 10px;
    flex-direction: column;
    flex-grow: 1;
    height: fit-content;
    max-width: 350px;
    background-color: white;
    font-family: var(--main-font);
}

.img-section {
    min-width: 250px;
    display: flex;
    padding: 20px 10px;
}

.img-setting {
    position: relative;
    top: -7px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    border: 1px var(--main-border-color) solid;
    width: 250px;
    height: 160px;
    object-fit: contain;
}

.content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.summary-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 5px;
    margin-left: 5px;
    font-family: var(--main-font);
}

.summary-price {
    text-align: right;
    font-weight: bold;
    white-space: nowrap;
    font-family: var(--main-font);
}

.ul-custom {
    padding-left: 30px;
}

    .ul-custom li {
        border-bottom: 1px solid var(--main-border-color);
        font-family: var(--main-font);
    }

.box-tot-pay {
    display: flex;
    flex-direction: column;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    padding: 5px 10px;
    border-radius: 2px;
    border: 1px var(--main-border-color) solid;
    flex-grow: 1;
    font-family: var(--main-font);
}

.text-title-payBox {
    border-bottom: 1px var(--main-border-color) solid;
    -webkit-box-shadow: 0 4px 6px -6px #222;
    -moz-box-shadow: 0 4px 6px -6px #222;
    box-shadow: 0 4px 6px -6px #222;
    font-family: var(--main-font);
}

.box-codici-sconto {
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    min-height: 150px;
    padding: 5px 10px;
    border: 1px var(--main-border-color) solid;
    font-family: var(--main-font);
}

.grid-paybox {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0 0 0 10px;
    font-family: var(--main-font);
}

.pay_btn_container {
    display: flex;
    justify-content: space-between;
    flex-direction: column
}

/*    .pay_btn_container #next {
        background-color: #3366cc;
        color: white !important;
        border-radius: 2px;
    }

    .pay_btn_container #backtoCourse {
        background-color: #212121;
        color: white !important;
        border-radius: 2px;
    }

        .pay_btn_container #backtoCourse:hover {
            background-color: #C62828;            
        }

    .pay_btn_container #next:hover {
        background-color: #33691E;
    }*/


@media only screen and (max-width: 992px) {
    .main-container {
        flex-direction: column-reverse;
        width: 100% !important;
    }

    .item-container {
        flex-direction: column;
    }

    .sidebar {
        min-height: auto;
        margin-left: 0;
        margin-bottom: 20px;
        max-width: 100% !important;
    }

    .summary-content {
        margin: 0;
    }

    .img-section {
        min-height: auto;
    }
}

@media only screen and (max-width: 1280px) {

    .item-container {
        flex-direction: column;
    }

    .img-section {
        min-height: auto;
    }
    /*    .box-tot-pay {
        height: fit-content!important;
    }*/
}

@media only screen and (max-width: 280px) {
    .sidebar {
        min-width: auto;
    }

    .img-section {
        min-width: auto;
    }
}




/*@media only screen and (min-width: 992px) and (max-height: 1024px) {

    .item-container {
        flex-direction: column;
    }
}*/
