.md-modal-msg {
    position: fixed;
    top: 50%;
    left: 50%;
    max-width: 800px;
    width: auto;
    height: auto;
    z-index: 2000;
    visibility: hidden;

    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.md-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 800px;
    height: auto;
    z-index: 2000;
    visibility: hidden;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}


.md-modal.cart-modal {
    width: 45%;
    min-width: 660px;
    position: absolute;
    top: 60%;
}
.md-show {
    visibility: visible;
}

.md-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    visibility: hidden;
    top: 0;
    left: 0;
    z-index: 1000;
    opacity: 0;
    background: rgba(0,0,0,0.7);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.md-show ~ .md-overlay {
    opacity: 1;
    visibility: visible;
}

.md-show .info {
    background: white;
    font-size: 18px;
    padding: 30px 20px 20px 20px;
}
/* Content styles */
.md-content {
    color: #000;
    background: #fff;
    position: relative;
    border-radius: 10px;
    margin: 0 auto;
}

.md-content button {
    display: block;
    margin: 0 auto;
    font-size: 0.8em;
    outline: none;
}

.md-content .md-close {
    position: absolute;
    z-index: 1;
    right: 0;
    top: 0;
    width: 36px;
    height: 36px;
    border: none;
    background: url("../img/close-grey.png") no-repeat center;
    border-radius: 0 10px 0 0;
    cursor: pointer;
}

/* Effect 1: Fade in and scale up */
.md-effect-1 .md-content {
    -webkit-transform: scale(0.7);
    -moz-transform: scale(0.7);
    -ms-transform: scale(0.7);
    transform: scale(0.7);
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.md-show.md-effect-1 .md-content {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}

/* Контент модального окна */
.title-block h3{
    font-size: 18px;
    color: var(--c-gray);
    margin-bottom: 15px;
}

#modal-desc{
    font-weight: 400;
    font-size: 16px;
    line-height: 1.33;
    color: var(--c-gray);
    opacity: .8;
}

#about-pizza .description-pizza{
    margin-top: 20px;
    padding: 0 20px 20px;
}

#about-pizza .price-block {
    font-size: 18px;
    font-weight: bold;
    line-height: 45px;
    color: var(--c-gray);
}

#about-pizza .price-block p, span{
    margin-bottom: 0;
}

#about-pizza .modal_buy{
    margin-top: 26px;
    height: 45px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    order: 2;
}

#about-pizza .modal_buy .add_to_cart{
    padding: 15px 25px;
    border-radius: 24px;
    transition: .3s;
    background-color: var(--c-dark-green);
    font-weight: 500;
    line-height: 1.33;
    text-align: center;
    font-size: 18px;
    color: white;
}

#about-pizza .modal_buy .cart_quantity{
    height: 45px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#about-pizza .modal_buy .link{
    height: 45px;
    width: 90px;
    line-height: 45px;
    margin-left: 15px;
    margin-right: 15px;
}

#about-pizza .modal_buy .link a{
    font-size: 18px;
    transition: .3s;
    color: var(--c-gray);
}

#about-pizza .modal_buy .link a:hover{
    color: black;
}

#about-pizza .modal_buy .cart_quantity_button{
    height: 45px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -ms-align-items: center;
    align-items: center;
}

#about-pizza .modal_buy .cart_quantity_button img{
    height: 15px;
    margin-bottom: -2px;
}

#about-pizza .modal_buy .cart_quantity_button .cart_quantity_input{
    height: 30px;
    width: 30px;
    border-radius: 4px;
    border: 2px solid var(--c-dark-green);
    text-align: center;
    margin: 0 10px;
}

#site-closed{
    padding: 30px 20px;
    text-align: center;
}

#site-closed img{
    margin-bottom: 30px;
}

#site-closed h1{
    font-size: 22px;
    color: #FB583D;
}