@import url('../../../fonts.googleapis.com/css%EF%B9%96family=Roboto&display=swap.css');

:root{
    --color-bg: #ffffff;
    --color-bg-primary: #fca103;
    --color-button-primary: #ff5c26;
    --color-text-danger: #eb3434;

    --font-style: font-family: 'Muli', sans-serif !important;
}

.maidily-modal-hubspot {
    color: #424242;
    font-family: var(--font-style);
}

.mobile-only-popup {
    display: none;
}
.desktop-only-popup {
    display: block;
}

/* overlay */
.overlay {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 99999999;
    position: fixed;
    background: rgba(0,0,0,0.45);
}

.w-45 {
    width: calc(100% - 45%);
}

.w-55 {
    width: calc(100% - 45%);
}

.w-100 {
    width: 100%;
}

.mt-2 {
    margin-top: 1em;
}

.mt-3 {
    margin-top: 1.5em;
}

.mb-3 {
    margin-bottom: 1.5em;
}

.mx-auto {
    margin: auto;
}

.no-margin {
    margin: 0 !important;
}

.no-pad {
    padding: 0 !important;
}

.space-pad {
    padding: 15px !important;
}

.primary {
    color: #ffffff;
    background-color: var(--color-button-primary);
    font-weight: bold; 
    cursor: pointer;
    transition: 0.2s ease-in-out;
    border-radius: 3px !important;
}
.primary:hover {
    background-color: #d84d1e;
}

.hubs-text-danger {
    font-family: var(--font-style);
    color: var(--color-text-danger);
}

.hubs-button {
    border: none;
    border-radius: 7px;
    font-family: var(--font-style);
    padding: 10px 20px 10px 20px;
    -webkit-box-shadow: 2px 7px 25px -10px rgba(0,0,0,0.45);
    -moz-box-shadow: 2px 7px 25px -10px rgba(0,0,0,0.45);
    box-shadow: 2px 7px 25px -10px rgba(0,0,0,0.45);
    margin-top: 10px;
    font-size: 1.2em;
    margin-bottom: 0;
}

.hubs-button-close {
    display: flex;
    justify-content: flex-end;
    margin-top: 5px;
    margin-right: 5px;
}

.hubs-button-close img {
    width: 15px;
}

.maidily-modal-hubspot {
    position: fixed;
    top: calc(100% / 6.5);
    left: calc(100% / 4.5);
    width: 57%;
    margin: auto;
    z-index: 3;
    border-radius: 5px;
    background: var(--color-bg);
    -webkit-box-shadow: 2px 7px 25px -10px rgba(0,0,0,0.45);
    -moz-box-shadow: 2px 7px 25px -10px rgba(0,0,0,0.45);
    box-shadow: 2px 7px 25px -10px rgba(0,0,0,0.45);
}

.modal-hubspot-container {
    margin: auto;
    padding: 10px;
}

.hubs-flex {
    display: flex;
}

.hubs-view-row {
    flex-direction: row;
    padding: 10px;
}

.hubs-view-col {
    flex-direction: column;
    padding:20px;
    /* padding-bottom: 0; */
}

.modal-hubspot-bg {
    width: 100%;
    height: 100%;
    border-radius: 5px 0 0 5px;
    background-size: 100% 100% !important;
}

.modal-hubspot-form {
    padding-left: 30px;
    padding-right: 30px;
}

.modal-hubspot-form p,
.modal-hubspot-form h2 {
    color: #fff;
}
.modal-hubspot-form h2 {
    margin-left: -100px;
    font-size: 3em;
}

.hubs-header-text {
    margin: 0;
    font-size: 1.1em;
    font-family: var(--font-style);
}

.hubs-form-group {
    display: flex;
    margin-top: 10px;
    margin-bottom: 10px;
    flex-direction: column;
}

.hubs-form-group label {
    margin-bottom: 10px;
    font-size: 11pt;
    color: #fff;
}

.hubs-form-control {
    height: 6vh;
    padding-left: 7px;
    font-size: 11pt;
    font-family: var(--font-style);
    border-radius: 5px;
    border: 1px solid #999999;
    margin-bottom: 0;
}

.thank-you {
    /* height: 380px; */
    /* width: 350px; */
    display: none;
    height: 450px;
}
.thank-you h2{
    margin-left: -100px;
    font-size: 3em;
    text-align: left;
}
.thank-you p {
    display: block;
    text-align: left;
}
.thank-you a {
    width: 100%;
    display: block;
    text-align: center;
    color: #fff;
}
.thank-you img {
    display: block;
    margin: 0 auto;
    width: 50px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.additional-popup-content {
    padding-top: 30px;
    padding-bottom: 10px;
}

.additional-popup-content p {
    text-align: left;
    font-size: 1.5em;
}

@media only screen and (max-width: 1440px) {
    .maidily-modal-hubspot {
        width: 62%;
    }
    .hubs-view-col {
        padding-bottom: 9px;
    }
}

@media (max-width: 1280px) {
    .maidily-modal-hubspot {
        top: calc(100% / 5);
        left: calc(100% / 7);
        width: 72%;
    }
}

@media only screen and (max-width: 1024px) {
    .maidily-modal-hubspot {
        top: calc(100% / 8);
        left: calc(100% / 13);
        width: 87%;
    }
}

@media only screen and (max-width: 830px) {
    .hubs-view-col {
        padding: 20px 10px;
    }

    .modal-hubspot-bg {
        background-size: cover !important;
    }
    .thank-you {
        height: 250px;
        width: 350px;
        padding: 0;
    }
    .hubs-header-text {
        font-size: 1.3em;
    }
}

@media only screen and (max-width: 768px) {
    .maidily-modal-hubspot {
        top: calc(100% / 8);
        left: calc(100% / 13);
        width: 85%;
    }

    .modal-hubspot-bg {
        background-size: cover !important;
    }

    .modal-hubspot-form {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media only screen and (max-width: 668px) {
    .maidily-modal-hubspot {
        top: calc(100% / 25);
        left: calc(100% / 13);
        width: 85%;
    }
}


@media only screen and (max-width: 600px) {
    .background-image-popup {
        background: transparent !important;
    }
     .mobile-only-popup {
        display: block;
    }
     .desktop-only-popup {
        display: none;
    }
    .maidily-modal-hubspot {
        position: absolute !important;
    }
    .modal-hubspot-container {
        overflow: hidden !important;
    }
    
    .hubs-view-row {
        padding:20px 10px;
        flex-direction: column !important
    }

    .hubs-view-col {
        width: 100% !important;
    }
    .hubs-view-col.w-55.no-pad {
        height: 300px;
    }

    .thank-you {
        width: 100%;
        height: 100%;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .hubs-header-text {
        text-align: center;
        font-size: 1em;
    }

    #hubspot-form-popup input {
        text-align: center;
    }

    .thank-you {
        display: none;
    }

}
@media only screen and (max-width: 425px) {
    .hubs-view-col.w-55.no-pad {
        height: auto;
    }
}