/* BUTTON */
.nfcw_callback_button {
    background: #38a3fd;
    border: none;
    border-radius: 50%;
    box-shadow: 0 8px 10px rgba(56,163,253,0.3);
    cursor: pointer;
    height: 70px;
    text-align: center;
    width: 70px;
    position: fixed;
    right: 100px;
    bottom: 100px;
    z-index: 999;
    transition: .3s;
    -webkit-animation: nfcw_hoverWave linear 1s infinite;
    animation: nfcw_hoverWave linear 1s infinite;
    background: linear-gradient(45deg, #44e6ff, #a48cff);
}

.nfcw_button_block--hide .nfcw_callback_button {
    transform: scale(0);
}

.nfcw_text_call {
    height: 68px;
    width: 68px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nfcw_callback_button_text {
    text-align: center;
    color: #38a3fd;
    opacity: 0;
    font-size: 0;
    position: absolute;
    right: 4px;
    top: 22px;
    line-height: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transition: opacity .3s linear;
    font-family: 'montserrat', Arial, Helvetica, sans-serif;
}

.nfcw_text_call:hover .nfcw_callback_button_text {
    opacity: 1;
    font-size: 11px;
}

.nfcw_callback_button:hover .nfcw_callback_button_icon {
    /*display:none;*/
}

.nfcw_callback_button:hover {
    z-index: 1;
    transition: .3s;
}

.nfcw_callback_button:hover .nfcw_callback_button_icon {
    font-size: 40px;
    transition: .3s;
}

.nfcw_callback_button .nfcw_callback_button_icon {
    transition: .3s;
    transition: .5s ease-in-out;
    text-shadow: 2px 0px 2px rgb(0 0 0 / 9%);
    width: 35px;
    max-width: 35px;
}

.nfcw_callback_button .nfcw_callback_button_icon {
    animation: 1200ms ease 0s normal none 1 running nfcw_shake;
    animation-iteration-count: infinite;
    -webkit-animation: 1200ms ease 0s normal none 1 running nfcw_shake;
    -webkit-animation-iteration-count: infinite;
}

@-webkit-keyframes nfcw_hoverWave {
    0% {
        box-shadow: 0 8px 10px rgba(56,163,253,0.3),0 0 0 0 rgba(56,163,253,0.2),0 0 0 0 rgba(56,163,253,0.2)
    }

    40% {
        box-shadow: 0 8px 10px rgba(56,163,253,0.3),0 0 0 15px rgba(56,163,253,0.2),0 0 0 0 rgba(56,163,253,0.2)
    }

    80% {
        box-shadow: 0 8px 10px rgba(56,163,253,0.3),0 0 0 30px rgba(56,163,253,0),0 0 0 26.7px rgba(56,163,253,0.067)
    }

    100% {
        box-shadow: 0 8px 10px rgba(56,163,253,0.3),0 0 0 30px rgba(56,163,253,0),0 0 0 40px rgba(56,163,253,0.0)
    }
}

@keyframes nfcw_hoverWave {
    0% {
        box-shadow: 0 8px 10px rgba(56,163,253,0.3),0 0 0 0 rgba(56,163,253,0.2),0 0 0 0 rgba(56,163,253,0.1)
    }

    40% {
        box-shadow: 0 8px 10px rgba(56,163,253,0.3),0 0 0 15px rgba(56,163,253,0.2),0 0 0 0 rgba(56,163,253,0.1)
    }

    80% {
        box-shadow: 0 8px 10px rgba(56,163,253,0.3),0 0 0 30px rgba(56,163,253,0),0 0 0 26.7px rgba(56,163,253,0.067)
    }

    100% {
        box-shadow: 0 8px 10px rgba(56,163,253,0.3),0 0 0 30px rgba(56,163,253,0),0 0 0 40px rgba(56,163,253,0.0)
    }
}

@keyframes nfcw_shake {
    0% {
        transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
    }

    10% {
        transform: rotateZ(-30deg);
        -ms-transform: rotateZ(-30deg);
        -webkit-transform: rotateZ(-30deg);
    }

    20% {
        transform: rotateZ(15deg);
        -ms-transform: rotateZ(15deg);
        -webkit-transform: rotateZ(15deg);
    }

    30% {
        transform: rotateZ(-10deg);
        -ms-transform: rotateZ(-10deg);
        -webkit-transform: rotateZ(-10deg);
    }

    40% {
        transform: rotateZ(7.5deg);
        -ms-transform: rotateZ(7.5deg);
        -webkit-transform: rotateZ(7.5deg);
    }

    50% {
        transform: rotateZ(-6deg);
        -ms-transform: rotateZ(-6deg);
        -webkit-transform: rotateZ(-6deg);
    }

    60% {
        transform: rotateZ(5deg);
        -ms-transform: rotateZ(5deg);
        -webkit-transform: rotateZ(5deg);
    }

    70% {
        transform: rotateZ(-4.28571deg);
        -ms-transform: rotateZ(-4.28571deg);
        -webkit-transform: rotateZ(-4.28571deg);
    }

    80% {
        transform: rotateZ(3.75deg);
        -ms-transform: rotateZ(3.75deg);
        -webkit-transform: rotateZ(3.75deg);
    }

    90% {
        transform: rotateZ(-3.33333deg);
        -ms-transform: rotateZ(-3.33333deg);
        -webkit-transform: rotateZ(-3.33333deg);
    }

    100% {
        transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
    }
}

@-webkit-keyframes nfcw_shake {
    0% {
        transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
    }

    10% {
        transform: rotateZ(-30deg);
        -ms-transform: rotateZ(-30deg);
        -webkit-transform: rotateZ(-30deg);
    }

    20% {
        transform: rotateZ(15deg);
        -ms-transform: rotateZ(15deg);
        -webkit-transform: rotateZ(15deg);
    }

    30% {
        transform: rotateZ(-10deg);
        -ms-transform: rotateZ(-10deg);
        -webkit-transform: rotateZ(-10deg);
    }

    40% {
        transform: rotateZ(7.5deg);
        -ms-transform: rotateZ(7.5deg);
        -webkit-transform: rotateZ(7.5deg);
    }

    50% {
        transform: rotateZ(-6deg);
        -ms-transform: rotateZ(-6deg);
        -webkit-transform: rotateZ(-6deg);
    }

    60% {
        transform: rotateZ(5deg);
        -ms-transform: rotateZ(5deg);
        -webkit-transform: rotateZ(5deg);
    }

    70% {
        transform: rotateZ(-4.28571deg);
        -ms-transform: rotateZ(-4.28571deg);
        -webkit-transform: rotateZ(-4.28571deg);
    }

    80% {
        transform: rotateZ(3.75deg);
        -ms-transform: rotateZ(3.75deg);
        -webkit-transform: rotateZ(3.75deg);
    }

    90% {
        transform: rotateZ(-3.33333deg);
        -ms-transform: rotateZ(-3.33333deg);
        -webkit-transform: rotateZ(-3.33333deg);
    }

    100% {
        transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
    }
}

/* POPUP */
.nfcw_popup {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 999;
    height: 100vh;
    width: 470px;
    display: flex;
    align-items: flex-end;
}

.nfcw_popup_tab_icon {
    width: 20px;
    max-width: 20px;
    min-width: 20px;
}

.nfcw_popup_tabs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid transparent;
}

.nfcw_popup_tab {
    display: flex;
    align-items: center;
    padding: 10px 5px;
    position: relative;
    width: 100%;
    text-align: center;
    justify-content: center;
}

.nfcw_popup_tab:hover {
    cursor: pointer;
}

.nfcw_popup_tab:not(.active):hover {
    opacity: .9;
}

.nfcw_popup_tab_text {
    font-size: 12px;
    padding-left: 7px;
    font-weight: 500;
}

.nfcw_popup_inner {
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    width: 470px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 5px 30px rgb(0 0 0 / 20%);
    z-index: 9999;
    position: fixed;
}

.nfcw_popup_tab.active:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0px;
    display: block;
    background: linear-gradient(45deg, #77ecfe, #d4c9ff);
    width: 100%;
    height: 3px;
}

.nfcw_popup_tab + .nfcw_popup_tab {
}

.nfcw_popup_header {
    font-weight: 400;
    font-size: 15px;
}

.nfcw_popup_content {
    padding: 20px;
    font-size: 15px;
    background: rgb(251 251 251);
    box-shadow: 0px 22px 12px -24px rgb(0 0 0 / 15%) inset;
}

.nfcw_popup_close_button {
    position: absolute;
    right: 0px;
    top: 0px;
    width: 40px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nfcw_popup_close_button_icon {
    filter: grayscale(1);
    width: 22px;
    opacity: .5;
    max-width: 22px;
}

.nfcw_popup_close_button_icon:hover {
    cursor: pointer;
    filter: grayscale(0);
    opacity: 1;
}

.nfcw_popup_header_text {
    text-align: center;
    padding: 12px;
}

.nfcw_popup_form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

input[type="text"].nfcw_input, input[type="email"].nfcw_input, input[type="number"].nfcw_input, input[type="tel"].nfcw_input {
    width: 100%;
    padding: 13px 20px;
    margin-bottom: 10px;
}

input[type="text"].nfcw_input, input[type="email"].nfcw_input, input[type="number"].nfcw_input, input[type="tel"].nfcw_input, textarea.nfcw_textarea {
    border: 1px solid #cacaca;
    border-radius: 3px;
    border: 1px solid rgb(0 0 0 / 15%);
    background: rgb(0 0 0 / 1%);
    font-family: 'Montserrat', sans-serif;
    background: #fff;
    font-size: 13px;
    box-shadow: none !important;
    outline: none !important;
}

textarea.nfcw_textarea:focus, textarea.nfcw_textarea:active, input[type="text"].nfcw_input:focus, input[type="email"].nfcw_input:focus, input[type="number"].nfcw_input:focus, input[type="tel"].nfcw_input:focus, input[type="text"].nfcw_input:active, input[type="email"].nfcw_input:active, input[type="number"].nfcw_input:active, input[type="tel"].nfcw_input:active {
    border-color: #9ab7ff;
}

input[type="text"].nfcw_input::placeholder, input[type="email"].nfcw_input::placeholder, input[type="number"].nfcw_input::placeholder, input[type="tel"].nfcw_input::placeholder, textarea.nfcw_textarea::placeholder {
    color: rgb(128 128 128);
}

textarea.nfcw_textarea {
    width: 100%;
    padding: 10px 15px;
    margin-bottom: 10px;
    resize: vertical;
    max-height: 200px;
    min-height: 70px;
}

.nfcw_popup_content .nfcw_submit {
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    padding: 12px;
    border: none;
    color: #fff;
    border-radius: 3px;
    background: linear-gradient(to right, rgb(57 153 245), rgb(138 125 255));
    border-radius: 3px;
    font-size: 14px;
    margin-top: 5px;
    transition: .3s;
}

.nfcw_submit[disabled] {
    opacity: .7;
    pointer-events: none;
}

.nfcw_submit:active, .nfcw_submit:focus, .nfcw_submit:hover {
    background: linear-gradient(to right, rgb(67 153 234), rgb(143 131 255));
    color: #fff;
    box-shadow: 0px 5px 10px rgb(105 142 245 / 38%);
    cursor: pointer;
    transform: translateY(-2px);
}

.nfcw_popup_content_title {
    text-align: center;
    font-size: 13px;
    margin: 0px 0 20px 0;
    color: #636363;
    font-weight: 500;
}

.nfcw_input.nfcw-invalid {
    border-color: #ffa9a9 !important;
    box-shadow: 0px 1px 10px rgb(230 137 137 / 40%) !important;
}

.nfcw_input.nfcw-valid {
    border-color: #9ed694 !important;
}

.nfcw_file_button_icon {
    width: 15px;
    height: 15px;
    margin-right: 10px;
    max-width: 15px;
    max-height: 15px;
}

.nfcw_file_button {
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    padding: 12px;
    border: none;
    background: rgb(0 0 0 / 7%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    color: #555;
    font-size: 14px;
}

.nfcw_file_button:hover {
    background: rgb(0 0 0 / 9%);
    cursor: pointer;
}

.nfcw_file_block {
    width: 100%;
    margin-bottom: 10px;
}

.nfcw_file_button_text {
    line-height: 1;
}

.nfcw_alert_block_message {
    margin: 0 0 0 10px;
    text-align: center;
    display: inline-block;
}

.nfcw_alert_block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 15px;
    font-size: 13px;
    font-weight: 500;
}

.nfcw_alert_block[data-status="error"] {
    background: rgb(255 0 0 / 12%);
    color: #b32323;
}

.nfcw_alert_block[data-status="success"] {
    background: rgb(24 152 46 / 18%);
    color: #277b39;
}

.nfcw_alert_block_icon {
    width: 16px;
    height: 16px;
}

.nfcw_popup_background {
    z-index: 999;
    background: rgb(0 0 0 / 67%);
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100vh;
    display: none;
}

/* ADAPTIVE */
@media(max-width: 768px) {
    .nfcw_text_call {
        width: 50px;
        height: 50px;
    }

    .nfcw_callback_button {
        width: 50px;
        height: 50px;
        right: 35px;
        bottom: 35px;
    }

    @-webkit-keyframes nfcw_hoverWave {
        0% {
            box-shadow: 0 8px 10px rgba(56,163,253,0.3),0 0 0 0 rgba(56,163,253,0.2),0 0 0 0 rgba(56,163,253,0.2)
        }

        40% {
            box-shadow: 0 8px 10px rgba(56,163,253,0.3),0 0 0 10px rgba(56,163,253,0.2),0 0 0 0 rgba(56,163,253,0.2)
        }

        80% {
            box-shadow: 0 8px 10px rgba(56,163,253,0.3),0 0 0 20px rgba(56,163,253,0),0 0 0 16.7px rgba(56,163,253,0.067)
        }

        100% {
            box-shadow: 0 8px 10px rgba(56,163,253,0.3),0 0 0 20px rgba(56,163,253,0),0 0 0 20px rgba(56,163,253,0.0)
        }
    }

    @keyframes nfcw_hoverWave {
        0% {
            box-shadow: 0 8px 10px rgba(56,163,253,0.3),0 0 0 0 rgba(56,163,253,0.2),0 0 0 0 rgba(56,163,253,0.1)
        }

        40% {
            box-shadow: 0 8px 10px rgba(56,163,253,0.3),0 0 0 10px rgba(56,163,253,0.2),0 0 0 0 rgba(56,163,253,0.1)
        }

        80% {
            box-shadow: 0 8px 10px rgba(56,163,253,0.3),0 0 0 20px rgba(56,163,253,0),0 0 0 26.7px rgba(56,163,253,0.067)
        }

        100% {
            box-shadow: 0 8px 10px rgba(56,163,253,0.3),0 0 0 20px rgba(56,163,253,0),0 0 0 30px rgba(56,163,253,0.0)
        }
    }
}

@media(max-width: 600px) {
    .nfcw_popup_inner {
        width: calc(100% - 20px);
        right: 10px;
        margin: 0;
        /* transform: translateY(-50%); */
    }

    .nfcw_popup {
        position: fixed;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 999;
    }
}

@media(max-width: 460px) {
    .nfcw_popup_tab_text {
        font-size: 11px;
        padding-left: 5px;
    }

    .nfcw_popup_tab_icon {
        width: 15px;
        height: 15px;
        min-width: 15px;
        max-width: 15px;
    }

    .nfcw_popup_content {
        padding: 15px;
    }

    .nfcw_popup_content_title {
        margin-bottom: 15px;
    }

    .nfcw_callback_button .nfcw_callback_button_icon {
        width: 25px;
        height: 25px;
        min-width: 25px;
        max-width: 25px;
    }
}

@media(max-width: 410px) {
    .nfcw_popup_tab_icon {
        display: none;
    }

    .nfcw_popup_tab_text {
        padding: 0;
    }
}

@media(max-width: 360px) {
    .nfcw_popup_content {
        padding: 10px;
    }

    .nfcw_input, .nfcw_textarea {
        padding-bottom: 10px;
        margin-bottom: 7px;
    }

    .nfcw_popup_content_title {
        margin: 5px 0 15px 0;
        font-size: 12px;
    }

    .nfcw_popup_tab {
        padding: 10px 0px;
    }

    .nfcw_popup_tab_text {
        font-size: 10px;
    }

    .nfcw_callback_button {
        right: 25px;
        bottom: 25px;
    }
}

@media(min-width: 600px) {
    .nfcw_widget:not(.nfcw_show_in_pc) {
        display: none
    }
}

@media(max-width: 600px) {
    .nfcw_widget:not(.nfcw_show_in_mob) {
        display: none
    }
}