.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 !important;
}

.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: 20px;
}
/* Content styles */
.md-content {
    color: #000;
    background: #fff;
    position: relative;
    border-radius: 3px;
    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/icon-close.png") no-repeat center;
    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;
}

/* Конnтнт модального окна */
#about-pizza #thumbs {
    position: absolute;
    top: 34px;
    right: 21px;
}
#about-pizza #thumbs img {
    width: 98px;
    height: 77px;
    margin-bottom: 18px;
    border: 4px solid #fff;
}

#about-pizza #thumbs a:hover img,
#about-pizza #thumbs a:focus img,
#about-pizza #thumbs a.active img {
    border-color: #faca2f;
}
#about-pizza .product-img {
    text-align: center;
    margin-bottom: 20px;
}
#about-pizza .product-img img,
#about-pizza .title-img img {
    max-width: 70%;
    max-height: 70vh;
    position: relative;
    top:10px;
    margin-left: -1px;
    border-radius: 4px 4px 0 0;
}

#about-pizza .choice-size{
    height: 40px;
    margin-top: 10px;
    padding: 0 20px 5px;
    border-bottom: 1px solid #eaeae6;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -ms-align-items: center;
    align-items: center;
}

#about-pizza .choice-size a{ 
    display: block;
    font-size: 13px;
    color: #4A4A4A;
    height: 20px;
    line-height: 21px;
    margin-right: 15px;

}

#about-pizza .pizza-sizes{
    display: flex;
    margin-left: 10px;
}

#about-pizza .choice-size a span{ 
    content: '';
    height: 18px;
    width: 18px;
    display: block;
    border-radius: 50%;
    float: left;
    margin-right: 5px;
    border: 2px solid #9FA3A7;
}

#about-pizza .choice-size a.active span{ 
    background: #FB583D;
    -webkit-box-shadow: inset 0px 0px 0px 3px rgb(255, 255, 255);
    -moz-box-shadow: inset 0px 0px 0px 3px rgb(255, 255, 255);
    box-shadow: inset 0px 0px 0px 3px rgb(255, 255, 255);
}

#about-pizza .add_ingregients .more_filling{
    height: 34px;
    padding: 0 15px;
    background: #EAEAE5;
    display: block;
    color: #000;
    font-size: 13px;
    text-transform: uppercase;
    line-height: 34px;
    margin-right: 0px;
    margin-left: 40px;
    transition: background .3s;
}

#about-pizza .add_ingregients .more_filling:hover{
    background: #e4e4e4;
}

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


#about-pizza .info .price{
    float: left;
}

#about-pizza .info .price h3{
    font-size: 18px;
    display: inline-block;
    margin: 0;
    font-family: inherit;
    font-weight: bold;
}

#about-pizza .cart {
    font-size: 13px;
    float: right;
    padding-right: 5px;
}

#about-pizza .cart a#add-to-cart{
    background-color: var(--c-ligt-beige);
    padding: 5px 16px;
    color: black;
    font-size: 18px;
    font-weight: bold;
}

#about-pizza .cart #in-cart{
    margin-top: -4px;
    font-size: 18px;
    font-weight: bold;
}

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

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

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