.ctrl-tumbler {
    display: flex;
    margin: 10px 0;
}

.ctrl-tumbler div {
    background: #f9f9f9;
    padding: 4px 15px;
    border: 1px solid #cecece;
    cursor: pointer;
}

body.modal-showed {
    overflow: hidden;
}

.ctrl-tumbler div.selected {
    background: #00BCD4;
    color: #fff;
    border-color: #00BCD4;
}

.ctrl-tumbler  div:first-child {
    border-radius: 5px 0 0 5px;
    border-right: none;
}

.ctrl-tumbler div:last-child {
    border-radius: 0 5px 5px 0;
    border-left: none;
}

.modal-dialog {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 100;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #0000007a;
}

.modal-overlay {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background-color: #0000007a;
}

.modal-content {
    width: 600px;
    margin: 200px auto 50px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: -1px 4px 11px 3px rgba(0, 0, 0, 0.06);
}

.modal-header {
    padding: 20px 60px 20px 30px;
    border-bottom: 1px solid #ededed;
    font-size: 20px;
    position: relative;
}

.modal-header .modal-close {
    background: url(../img/icons/cross.svg) no-repeat center;
    position: absolute;
    right: 20px;
    top: 20px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: block;
}

.modal-body {
    padding: 30px;
    font-size: 16px;
}

.modal-body.small {font-size: 14px;}
.modal-body.medium {font-size: 18px;}
.modal-body.large {font-size: 20px;}
.modal-content.w950 {width: 950px;}
.modal-content.w860 {width: 860px;}
.modal-content.w750 {width: 750px;}
.modal-content.w680 {width: 680px;}
.modal-content.w550 {width: 550px;}
.modal-content.w450 {width: 450px;}

.modal-body textarea {
    height: unset;
    min-height: 60px;
}

.modal-footer {
    padding: 15px 30px 30px;
    text-align: right;
}

.modal-footer .btn {
    min-width: 90px;
    max-width: 100%;
    margin: 0 0 0 10px;
    text-align: center;
}

.modal-footer .btn:first-child {
    margin-left: 0;
}

.ctrl-amount {
    position: relative;
    width: 160px;
}

.ctrl-amount input {
    text-align: center;
    margin-bottom: 0;
    padding: 10px 15px 9px 25px;
}

.ctrl-amount span {
    user-select: none;
    position: absolute;
    top: 2px;
    cursor: pointer;
    width: 50px;
    text-align: center;
    height: 41px;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    background: #fff;
    border-radius: 20px 20px;
    font-size: 25px !important;
}

.ctrl-amount span.minus {
    left: 2px;
}

.ctrl-amount span.plus { 
    right: 2px;
}

.ctrl-amount span:hover {
    background: #f9f9f9;
}

.dialog-alert {
    padding: 10px 15px;
    background-color: #ffc1071f;
    color: #e48800;
    border-radius: 4px;
    margin-top: 15px;
}

.buttons {
    display: flex;
}

.buttons .btn {
    margin-bottom: 0;
    margin-right: 10px;
}

.dlg-shop-buttons .b-self, .dlg-shop-buttons .b-gift {
    display: inline-block;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    margin: 0 6px;
    cursor: pointer;
    border: 2px solid transparent;
}

.dlg-shop-buttons .b-self {
    background: #4CAF50;
}

.dlg-shop-buttons .b-self:hover {
    background: #43a748;
}

@media screen and (max-width: 640px) {
    .modal-content {
        width: 100% !important;
    }

    .dialog-form-simple {
        width: 100%;
    }
}