.modal h3, .modal h4, .modal p {
    margin: 0;
}
.modal-body h4 {
    font-size: 19px;
    color: #000000;
    margin-bottom: 16px;
    height: 24px;
    line-height: 24px;
}
.modal-body p {
    font-size: 14px;
    text-align: left;
    color: #000000;
    margin-bottom: 16px;
}
.modal-body {
    padding: 24px;
    background-color: #fcfcfc;
}
.modal-footer {
    background-color: #fcfcfc;
}
.modal-sm {
    width: 320px;
}
.modal-content {
    box-shadow: none !important;
    border-radius: 8px;
    background-color: #fcfcfc;
    border: solid 1px #e5e5ea;
}
.loginFooter {
    border-radius: 0 0 8px 8px;
}
.loginModal {
    border-radius: 8px 8px 0 0;
}

.modal-backdrop
{
    opacity:0.32 !important;
}

@keyframes modalZoomIn {
    from {
        opacity: 0;
        transform: scale3d(.3, .3, .3);
    }

    30% {
        opacity: 1;
    }
    90% {
        transform: scale3d(1.02, 1.02, 1.02);
    }
    100% {
        transform: scale3d(1, 1, 1);
    }
}


.modalZoomIn {
    animation-name: modalZoomIn;
    animation-duration: 0.25s;
}

#loginModal .modal-sm {
    width: 360px;
}
.loginModal {
    padding: 27px;
    padding-bottom: 24px;
    z-index: 0;
}
.loginModal .h3, .dropHintModal .h3 {
    font-size: 23px;
    text-align: center;
    color: #000000;
    margin-bottom: 8px;
}
.dropHintModal .h3 {
    margin-bottom: 18px;
}

.loginInfo {
    min-height: 16px;
    line-height: 16px;
    font-size: 13px;
    color: #3c3c3c;
    margin-bottom: 0px !important;
    text-align: center !important;
}
.loginInfo.hasContent {
    margin-bottom: 16px !important;
}
.loginModal .btn-group .btn, .loginModal .btn-group .btn:hover {
    border-color: #000 !important;
    color: #3c3c3c;
    background-color: #fff !important;
    font-size: 13px;
    line-height: 24px;
    height: 24px;
    text-align: left;
    padding: 0 8px;
    font-weight: 400 !important;

}
.loginModal .btn-group .btn:focus, .loginModal .btn-group .btn.focus {
    outline: none !important;
}
.loginModal .btn-group .btn.active {
    background-color:#000 !important;
    color: #fff;
    font-weight: 400 !important;
}
.loginModeSelector p {
    display: inline-block;
    height: 24px;
    line-height: 24px;
    font-size: 14px;
    margin-right: 6px;
    margin-bottom: 16px;
}
.loginForm div .placeholderInput:last-of-type {
    margin-bottom: 8px;
}
.forgotPassword {
    font-size: 13px;
    color: #3c3c3c;
    position: relative;
    z-index: 10;
}
.forgotPassword:hover {
    color: #3c3c3c;
}
.loginFooter {
    padding: 16px 0;
    text-align: center;
}
.loginRegister, .loginRegister:hover, .loginRegister:focus {
    font-size: 13px;
    text-align: center;
    color: #007aff;
    text-decoration: none;
}
.modal-header .close {
    margin-top: 8px;
    right: 0;
    margin-right: -32px;
    width: 24px;
    height: 24px;
    color: #fff;
    opacity: 1;
    font-size: 0;
    font-weight: 300;
    overflow: visible;
    background-image: url("../images/checkout/icon_close_white.svg");
    background-size: 24px 24px;
}
.modal-header .close:focus, .modal-header .close:active {
    outline: none;
}
.modal-header {
    height: 0px;
    border: 0px none;
    padding: 0;
}

.registerPromoInput {
    display: none;
    margin-bottom: 0;
    margin-top: 8px;
    margin-bottom: 0 !important;
}
.restoreForm {
    display: none;
}



.placeholderInput input {
    border-color: #e4e4e4 !important;
    /*cursor: default !important;*/
}
.placeholderInput input:focus, textarea:focus {
    border-color: #A1A1A1 !important;
}


.modal-body h4.warning {
    padding-left: 32px;
    position: relative;
    line-height: 26px;
}
.modal-body h4.warning::before {
    width: 24px;
    height: 24px;
    content: '!';
    display: block;
    position: absolute;
    left: 0px;
    top: 0;
    background-color: #ff9500;
    border-radius: 50%;
    color: #fff;
    text-align: center;
    padding-left: 1px;
}
.modal-body h4.warning + p {
    margin-bottom: 0;
}
.has-error {
    background-color: #ff5677;
    border-radius: 4px;
}
.has-error .help-block {
    color: #fff !important;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 16px;
}
.has-error  input[type='text'], .has-error  input[type='tel'], .has-error  input[type='password'], .has-error textarea {
    border-color: #ff5677 !important;
    color: #000 !important;
}

.btnStepSubmit {
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
    display: flex;
    justify-content: center;
    align-content: center;
    height: 40px;
    line-height: 40px;
    background-color: #000;
    border-color: #000;
    padding: 0;
    margin-top: 24px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    position: relative;
    color: white;
    z-index: 1;
    background-image: url(../images/loading/loader.svg);
    background-repeat: no-repeat;
    background-position: -99999px;
}
.btnStepSubmit:hover, .btnStepSubmit:focus {
    color: transparent;
    border-color: #000;
    background-color: #000;
}
.btnStepSubmit:hover, .btnStepSubmit:focus, .btnStepSubmit:hover:focus {
    outline: none !important;

}
.btnStepSubmit.disabled {
    pointer-events: none;
    background-color: #000 !important;
    opacity: 1 !important;
}
.btnStepSubmit.disabled::after {
    color: #8e8e93 !important;
}
.btnStepSubmit.btnStepPromo,
.btnStepSubmit.btnStepPromoSecondary {
    color: #fff !important;
}
.btnStepSubmit.btnStepPromoSecondary {
    background-color: #999;
    border-color: #999;
}
.btnStepSubmit.btnStepPromoSecondary:hover, .btnStepSubmit.btnStepPromoSecondary:focus {
    border-color: #333;
    background-color: #333;
}

@keyframes btnLoading {
    0%   { width: 0%; }
    100% { width: 100%; }
}
@keyframes animateSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
.btnStepSubmit.animated.btnOrder::before {
    margin-left: 75px;
}
.btnStepSubmit.animated::before {
    content: '';
    display: block;
    position: absolute;
    left:50%;
    top:50%;
    width: 24px;
    height: 24px;
    margin-left: 36px;
    margin-top: -12px;
    animation: animateSpin 2s linear infinite !important;
    background-color: transparent;
    background-image: url("../images/loading/loader.svg");
}

.btnGroupLogin .btn {
    box-shadow: none !important;
}

.placeholderInput {
    position: relative;
    margin-bottom: 12px;
    min-height: 44px;
    /*overflow: hidden;*/
    width: 100%;
}
.help-block{
    color: #ff5677 !important;
    font-size: 12px;
    padding: 0 4px;
    margin: 0;
}
.placeholderInput.collapsed {
    height: 0;
    margin-bottom: 0;
}
.placeholderInput .intl-tel-input{
    width: 100% !important;
}
.placeholderInput input[type='text'], .placeholderInput input[type='password'], .placeholderInput input, input[type=tel] {
    width: 100% !important;
    height: 44px !important;
    padding-right: 0 !important;
    border: solid 1px #c7c7cc;
    border-radius: 3px;
    padding-left: 15px;
    font-size: 14px;
    color: #000;
    padding-top: 0;
    padding-bottom: 0;
}
.placeholderInput input[type='number']::-webkit-inner-spin-button, .placeholderInput input[type='number']::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.modal .placeholderInput input[type='text'], .modal .placeholderInput input[type='password'], .modalinput[type=tel] {
     line-height: 44px !important;
}
.modal .placeholderInput input[type='text']:focus, .modal .placeholderInput input[type='password']:focus, .modalinput[type=tel]:focus {
    line-height: 1 !important;
}
.placeholderInput input:focus, .placeholderInput.hasInput input, .placeholderInput input[type='text']:focus, .placeholderInput.hasInput input[type='text'], .placeholderInput input[type='password']:focus, .placeholderInput.hasInput input[type='password']{
    padding-top: 16px;
    border-color: #000;
    outline: none;
    line-height: 1;
}

.placeholderInput.dropdownActive input[type='text'] {
    border-color: #A1A1A1 !important;
}
.intl-tel-input input[type=tel]:focus, .placeholderInput.hasInput input[type=tel]{
    border-color: #000;
    outline: none;
}
.placeholderInput .focusPlaceholder  {
    position: absolute;
    left: 16px;
    top: 10px;
    text-transform: uppercase;
    font-size: 9px;
    height: 9px;
    line-height: 9px;
    letter-spacing: 1px;
    opacity: 0;
    color: #8E8E93;
    -weblit-user-select: none;
    user-select: none;
    z-index: 5;
}
.placeholderInput.hasInput .focusPlaceholder {
    opacity: 1;
}
.form-check-label {
    width: 100%;
    display: flex;
    align-items: start;
}
.form-check-label span {
    height: 16px;
    font-size: 13px;
    font-weight: 400;
    color: #3c3c3c;
    line-height: 16px;
}
.modal-open.safariModalFix {
    /*position: fixed;
    width: 100%;*/
}
.modal-open.safariModalFix .modal {
    position: absolute;
    bottom: auto;
}

input[type='checkbox'] {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: #fff;
    margin: 0;
    -webkit-appearance:none;
    border: solid 1px #3c3c3c;
    margin-right: 8px;
    border-radius: 4px;
    vertical-align: sub;
    min-width: 16px;
}
.checkboxLabel{
    font-weight: normal;
    cursor: pointer;
}
input[type='checkbox']:checked {
    background-color: #000;
    background-image: url(../images/checkout/checbox_active.svg);
    background-size: 20px 20px;
    background-position: center;
    background-repeat: no-repeat;
    border-color:#000;
    box-shadow: none;
}
input[type='checkbox']:checked, input[type='checkbox']:focus, input[type='checkbox']:active {
    outline: none;
}
:not(#dateLocationModal) > .modal-dialog {
    margin: 30px auto !important;
}

#ofertaModal > .modal-dialog {
    margin: 2400px auto 30px !important;
}

@media (max-width: 768px) {
    .modal {
        margin: 100px 0 0;
    }
    .modal-dialog {
        margin: 0 auto !important;
    }
    .modal-header {
        position: relative;
        z-index: 1;
    }
    .modal-header .close {
        margin-right: 24px;
        margin-top: 24px;
        background-image: url("../images/checkout/icon_close_black.svg");
    }
    #loginModal {
        margin: 0;
        padding: 0;
        height: 100%;
    }
    #loginModal .modal-dialog {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        height: 100%;
        width: 100% !important;
    }
    #loginModal .modal-content {
        margin-top: 0 !important;
        height: 100%;
        border: 0px none;
        border-radius: 0px;
    }
}


/*HEADER DROPDOWN*/
.headerDropdownMenu {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: -20px;
    display: flex;
    align-items: center;
}
.headerDropdownMenu > a {
    font-size: 13px;
    display: inline-block;
    margin-right: 4px;
    height: 24px;
    line-height: 25px;
}
.headerDropdownMenu:hover > a, .headerDropdownMenu > a:hover {
    text-decoration: none;
}
.headerDropdownMenu > span, .headerFavorites > span {
    height: 13px;
    line-height: 13px;
    font-size: 11px;
    border-radius: 7.5px;
    color: #fff;
    font-weight: 400;
    background-color: #007aff;
    padding: 0 4px;
    margin-top: -2px;
    letter-spacing: 0px;
    text-align: center;
}
.headerFavorites > span {
    background-color: #ff3952;
}
.headerDropdownMenu .img-circle {
    display: block;
    width: 24px;
    height: 24px;
    background-image: url(../images/checkout/icon_user.svg);
    margin-right: 8px;
    margin-top: 1px;
    float: left;
}
.headerDropdownMenu .dropdownInner {
    position: absolute;
    right: 0px;
    top:31px;
    background-color: #ffffff;
    border: solid 1px #e5e5ea;
    width: 138px;
    border-radius: 4px;
    flex-direction: column;
    display: none;
}

.headerDropdownMenu .dropdownInner::before {
    font-size: 0px; line-height: 0%; width: 0px;
    border-bottom: 9px solid #e5e5ea;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    content: '';
    position: absolute;
    right: 16px;
    top:-9px;
    display: block;
}
.headerDropdownMenu .dropdownInner::after {
    font-size: 0px; line-height: 0%; width: 0px;
    border-bottom: 9px solid #ffffff;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    content: '';
    position: absolute;
    right: 16px;
    top:-8px;
    display: block;
}
.headerDropdownMenu .dropdownInner ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    height: 68px;
    justify-content: space-between;
    padding: 0;
    margin: 9px auto 10px;
    box-sizing: content-box;
}
.headerDropdownMenu .dropdownInner ul li {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
}
.headerDropdownMenu .dropdownInner ul li:hover {
    background-color: #f0f0f0;
}
.headerDropdownMenu .dropdownInner ul li a {
    display: inline-flex;
    color: #3c3c3c;
    font-size: 13px;
    align-content: center;
    height: 16px;
    line-height: 16px;
}
.headerDropdownMenu .dropdownInner ul li a:hover {
    text-decoration: none;
}
.headerDropdownMenu .dropdownInner .logout {
    display: flex;
    justify-content: flex-start;
    align-content: center;
    align-items: center;
    height: 36px;
    width: 100%;
    padding-left: 8px;
    padding-right: 8px;
    align-items: center;
    color: #8e8e93;
    border-top: 1px solid #e5e5ea;
}
.headerDropdownMenu .dropdownInner .logout a {
    padding: 4px 10px;
    border-radius: 4px;
    color: #3c3c3c;
    height: 15px;
    line-height: 15px;
    box-sizing: content-box;
    display: flex;
    width: 100%;
    flex: 1 1 auto;
}
.headerDropdownMenu .dropdownInner .logout a:hover {
    background-color: #f0f0f0;
    color: #3c3c3c;
    text-decoration: none;
}

@media (max-width: 768px) {
    .headerDropdownMenu {
        margin-top: -4px;
    }
    .headerDropdownMenu .img-circle {
        margin-right: 0 !important;
    }
    .headerDropdownMenu>span {
        height: 15px;
        line-height: 15px;
        margin-top: 3px;
        display: inline-flex;
        flex: 1 0 auto;
    }
    .headerDropdownMenu > a {
        font-size: 0;
    }
}
@media (min-width: 769px) {
    .headerDropdownMenu:hover .dropdownInner {
        display: flex;
    }
}
