﻿

.ezy-terms-modal {
    font-family: 'Source Sans Pro', sans-serif;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .ezy-terms-modal.show {
        display: block;
        opacity: 1;
    }

    .ezy-terms-modal.noshow {
        display: none;
    }

.ezy-terms-modal-dialog {
    position: relative;
    margin: 10% auto;
    max-width: 500px;
    pointer-events: none;
}

.ezy-terms-modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    pointer-events: auto;
    outline: 0;
    padding: 1rem;
}

.TermsDialog__message {
    padding: 20px 40px;
    text-align: center;
    color: #556565;
}

.TermsDialog__titleContent {
    height: 100%;
}

.termsContant {
    color: #000;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.termsContant, .termsHeader {
    text-align: left;
    margin-top: 0;
}

.termsHeader {
    color: #178f69;
    font-size: 1.7rem;
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
}

.title {
    margin: 26px auto;
    display: block;
    font-size: 19px;
    text-align: center;
}

.TermsDialog__body {
    height: calc(100% - 69px);
    overflow-y: auto;
    word-break: break-word;
    word-wrap: break-word;
    font-size: 1.25rem;
    line-height: 1.5;
    font-weight: 400;
}

.TermsDialog__title {
    margin: 0;
    font-size: 2rem;
    line-height: 1.5;
}

.dialog-wrapper {
    display: flex;
    width: 90vw;
    max-width: 757px;
    padding: 40px;
    border-radius: 4px;
    border: 1px solid #eef0f0;
    background-color: #fff;
    color: #000;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, .05);
    overflow-x: hidden;
    overflow-y: hidden;
}

.TermsDialog {
    text-align: center;
    padding: 0;
    height: 55vh;
    background-color: #eff1f1;
}

.TermsDialog__header {
    display: flex;
    background-color: #8fbd1f;
    color: #fff;
    padding: 10px 40px;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(.3rem - 1px);
    border-top-right-radius: calc(.3rem - 1px);
}

.ezy-terms-btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: .25em;
    color: #000;
    border: 0;
    border-radius: .25rem;
    opacity: .5;
}
