.delivery-form-block {
    max-width: 500px;
}

.title-delivery-block {
    font-weight: bold;
    font-size: 25px;
    text-align: center;
    margin-bottom: 15px;
}

.deliveryForm {
    text-align: left;
}

.deliveryForm input, .deliveryForm select {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    height: 33px;
    margin-bottom: 0px;
}

.deliveryForm label {
    font-weight: 600;
    width: 100%;
    margin-bottom: 5px;
}



.deliveryForm {
    text-align: left;
}

.deliveryForm label{
    margin-bottom: 5px;
    font-weight: 600;
}

.deliveryForm input,
.deliveryForm select {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    height: 33px;
    margin-bottom: 0px;
}

.deliveryForm textarea{
    width: 100%;
    box-sizing: border-box;
    border-radius: 3px;
    border: 1px solid #d7d7d7;
    margin-top: 10px;
    margin-bottom: 0px;
    box-shadow: inset 0px 1px 1px rgb(0 0 0 / 6%);
    padding: 6px 12px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    color: #495057;
    font-size: 1rem;
}

.deliveryForm textarea:focus {
    outline: none;
    box-shadow: 0px 0px 3px #c4e6f5;
    border: 1px solid #b4dbed;
}

.delivery-button-block {
    width: 100%;
    font-size: 20px;
    font-weight: 500;
    padding-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
}

.select2-container.select2-container--default.select2-container--open {
    z-index: 99999999;
}

.button-delivery-block {
    display: flex;
    justify-content: space-between;
}

.button-delivery-block > div {
    padding: 8px 12px;
    width: 77px;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
}

.cancel-delivery-button {
    border: 2px solid gray;
    color: gray;
}

.cancel-delivery-button:hover {
    color: white;
    background-color: gray;
}

.submit-delivery-button {
    border: 2px solid #5F9C4A;

    color: white;
    background-color: #5F9C4A;
}

.submit-delivery-button:hover {
    color: #5F9C4A;
    background-color: white;
}

#deliveryModal {
    position: fixed;
    visibility: hidden;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    text-align: center;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    width: 100%;
    z-index: 99999;
}

#deliveryModal.open, #deliveryModal.open .yith-wcqv-wrapper {
    visibility: visible;
    opacity: 1;
}

#deliveryModal .yith-quick-view-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba( 0, 0, 0, 0.8);
}

#deliveryModal.open, #deliveryModal.open .yith-wcqv-wrapper {
    visibility: visible;
    opacity: 1;
}

#deliveryModal .yith-wcqv-wrapper {
    display: inline-block;
    vertical-align: middle;
    visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    text-align: left;
    width: max-content;
    min-width: 250px;
    height: unset;
}

#deliveryModal.open .yith-wcqv-main {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    height: 100%;
    overflow-y: auto;
    position: relative;
    padding: 20px;
    margin: auto;
}

#deliveryModal .yith-wcqv-main {
    position: relative;
    width: max-content;
    vertical-align: top;
    background-color: white;
    background-size: cover;
    -webkit-box-shadow: none;
    box-shadow: none;
    overflow-y: visible!important;
    -webkit-transform: translateY(20%);
    -moz-transform: translateY(20%);
    -ms-transform: translateY(20%);
    transform: translateY(20%);
    opacity: 0;
    height: 100%;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

#modalText .img_card{
    margin: 47px 138px 93px 342px;
}

#deliveryModal:before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    height: 100%;
    width: 0;
}

input:focus-visible,
.deliveryForm textarea:focus-visible {
    outline: none;
    box-shadow: 0px 0px 3px #c4e6f5;
    border: 1px solid #b4dbed;
}