.twl-btn{
    color: #fff;
    margin: 1rem 0;
    background-color: #f3511d;
    border: 2px solid #f3511d;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1rem 1.2rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s, width 0.2s;
    position: relative;
    font-family: "Lato", sans-serif;
    line-height: 1.15;
    border-radius: 10px;
    cursor: pointer;
    white-space: normal;
}

.twl-btn:hover{
    background-color: black;
    border-color: black;
}

.twl-btn:after{
    content: " ";
    display: block;
    width: 0;
    height: 0;
    background-image: none!important;
    border-radius: 50%;
    border: 0px solid #ffffff;
    border-color: #ffffff transparent #ffffff transparent;
    transition: all 0.2s;
}

.twl-btn.loading:after{
    animation: twl-lds-dual-ring 1.2s linear infinite;
    width: 1rem;
    height: 1rem;
    margin-left: 1rem;
    border: 3px solid #ffffff;
    border-color: #ffffff transparent #ffffff transparent;
}

@keyframes twl-lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.twl-popup{
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: fixed;
    width: 100%;
    height: 100%;
    padding: 1rem;
    z-index: 1000;
    border: rgba(12, 12, 12, 0.1) 1px solid;
    box-sizing: content-box;

}

.twl-popup form{
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: self-start;
    width: 90%;
    padding: 2rem;
    margin: 0 auto;
    background-color: white;
    border-radius: 1rem;
    position: relative;
    box-shadow: rgb(0 0 0 / 22%) 0px 7px 29px 0px;
}

.twl-popup form .twl-form-inputs{
    width: 100%;
}

.twl-popup form .twl-close-popup{
    width: 30px;
    height: 30px;
    top: 0;
    right: 0;
    position: absolute;
    margin: 20px;
    cursor: pointer;
}

.twl-popup form .twl-close-popup span{
    height: 3px;
    width: 100%;
    background-color: black;
    border-radius: 3px;
    display: block;
    position: absolute;
    transform-origin: center;
    top: 50%;
}

.twl-popup form .twl-close-popup span:first-of-type{
    transform: rotate(
            45deg
    );
}

.twl-popup form .twl-close-popup span:last-of-type{
    transform: rotate(
            -45deg
    );
}



.twl-popup form .twl-form-group{
    margin: 0.8em 0;
    width: 100%;
}

.twl-popup form .twl-form-group .twl-form-field{
    padding: 1rem 0.75rem;
    border-radius: 6px;
    border: 1px solid #898c94;
    background-color: #fff;
    width: 100%;
}

.twl-popup:after{
    content: "";
    background-color: rgba(0, 0, 0, 0.60);
    backdrop-filter: blur(4px);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 1;
}

.twl-popup.show{
    display: flex;
}

.twl-popup .twl-error-notice{
    margin-top: 2rem;
    border-radius: 1rem;
    background-color: #f3511d;
    color: white;
}

.twl-popup .twl-error-notice .error-notice-container{
    padding: 2rem;
}

.twl-popup .twl-error-notice.success{
    background-color: #668547;
}

.twl-popup .twl-close-in {
    text-align: center;
    margin-top: 1rem;
    display: none;
}

.twl-popup .twl-close-in.show{
    display: block;
}

@media screen and (min-width: 768px){
    .twl-popup {
        padding: 2rem;
    }
    .twl-popup form{
        width: 75%;
        padding: 5rem;
    }
}

@media screen and (min-width: 992px){
    .twl-popup form{
        width: 50%;
    }
}

@media screen and (min-width: 1200px){
    .twl-popup form{
        width: 35%;
    }
}
