﻿
:root {
    /*--button-color-1: #fc4a1a;*/
    --color-1: gray;
    /*--button-border-color-1: #fc4a1a;*/
    --border-color-1: #d7d7d7;
    --modal-header-background-color: #f0f3f7;
}


.ft-modal {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.ft-modal-backdrop {
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.ft-modal.visible {
    opacity: 1;
    visibility: visible;
}

.width-fit-content {
    width: fit-content !important;
}

.width-25 {
    width: 25vw !important;
}

.width-35 {
    width: 35vw !important;
}

.width-50 {
    width: 50vw !important;
}

.width-65 {
    width: 65vw !important;
}

.width-75 {
    width: 75vw !important;
}

@media ( max-width: 800px) {
    .width-25 {
        width: 75vw !important;
    }

    .width-35 {
        width: 75vw !important;
    }

    .width-50 {
        width: 95vw !important;
    }

    .width-65 {
        width: 95vw !important;
    }

    .width-75 {
        width: 95vw !important;
    }
}


.ft-modal-headline {
    position: sticky;
    top: 0;
    left: 0;
    padding: 0.5rem;
    margin: 0px !important;
    background-color: var(--dark-color);
    color: white;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.ft-modal-headline > span {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ft-modal-footer {
    position: sticky;
    bottom: 0;
    left: 0;
    padding: 10px;
    margin: 0px;
    background-color: #f0f3f7;
}

.ft-modal-content {
    background-color: var(--light-color);
    margin: 10px auto;
    width: 90vw;
    /*border: 1px solid;
    border-color: var(--border-color-1);*/
    border-radius: 12px;
    box-shadow: 0 0 1px 0px #888 inset, 0 0 1px 0px #888;
    position: fixed;
    top: -100%; /*Default drop effect*/
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    /*font-family: apexnew-medium;*/
    border: 1px solid gray;
    box-shadow: 0px 0px 1px 1px rgba(255,255,255,1);
    -webkit-box-shadow: 0px 0px 1px 1px rgba(255,255,255,1);
    -moz-box-shadow: 0px 0px 1px 1px rgba(255,255,255,1);
}

@media ( max-width: 800px) {
    .ft-modal-content {
        width: 95vw;
    }
}


.ft-modal-effect-prompt {
    top: 50% !important; /*Overwrite with prompt effect*/
}

.ft-modal.visible .ft-modal-content {
    top: 48%;
    max-height: 90vh;
    overflow-y: scroll;
    scrollbar-width: none; /* Firefox */
}

.ft-modal.visible .ft-modal-content::-webkit-scrollbar {
    display: none;
}

.ft-modal-html {
    padding: 20px;
}

@media ( max-width: 1080px) {
    .ft-modal-html {
        padding: 0px !important;
    }
}

.ft-modal-close-btn {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;


    line-height: 1em;
    background-color: #fc4a1a;
    color: #fff;
    width: 1em;
    height: 1em;
    text-align: center;
    justify-content: center;
    display: inline-block;
    border: 1px solid;
    border-color: #fc4a1a;
    border-radius: 50%;
    cursor: pointer;
    white-space: normal;
    word-break: break-word;
    display: flex;
    align-items: center;
}