/* Formattings for the external TypeForm Survey Popup */ 

.tf-v1-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.60);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
	transition: opacity 0.25s;
}

.tf-v1-popup .tf-v1-spinner {
    border: 3px solid #aaa;
    font-size: 40px;
    width: 1em;
    height: 1em;
    border-radius: 0.5em;
    box-sizing: border-box;
    animation: spin 1s linear infinite;
    border-top-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -20px 0 0 -20px;   
}

.tf-v1-popup .tf-v1-iframe-wrapper {
    position: relative;
    min-width: 360px;
    min-height: 360px;
}

.tf-v1-popup .tf-v1-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    overflow-clip-margin: content-box !important;
}

@media (min-width: 481px) {
    .tf-v1-popup .tf-v1-close {
        color: #fff !important;
    }
}

.tf-v1-popup .tf-v1-close {
    position: absolute;
    font-size: 32px;
    line-height: 24px;
    width: 24px;
    height: 24px;
    text-align: center;
    cursor: pointer;
    opacity: .75;
    text-decoration: none;
    color: #fff;
    top: -34px;
    right: 0;
}