﻿.scire-swal2popup {
    width: 31.25vw;
    max-width: 540px;
    border: 1px solid #4a526b;
    font-family: unset;
    padding: 0;
}
.scire-swal2popup-content {
    color: #545454;
    font-size: 1.77vh;
    text-align: justify;
    padding: 0 1.66vw 2.88vh;
}

.scire-swal2popup-header {
    flex-flow: column nowrap;
    align-items: flex-start;
    padding: 4.48vh 1.66vw 3.2vh;
}

.scire-swal2popup-title {
    font-size: 1.9vh;
    color: #07223a;
}


.header.grey {
    /* linha superior/*/
    background-position: top;
    background-repeat: no-repeat;
    background-size: 34.9vw 4px;
    background-image: url('images/popup/top-bar-pop-up-grey.svg');
}

.header.green {
    /* linha superior/*/
    background-position: top;
    background-repeat: no-repeat;
    background-size: 34.9vw 4px;
    background-image: url('images/popup/top-bar-pop-up-green.svg');
}

.header.red {
    /* linha superior/*/
    background-position: top;
    background-repeat: no-repeat;
    background-size: 34.9vw 4px;
    background-image: url('images/popup/top-bar-pop-up-red.svg');
}

.header.yellow {
    /* linha superior/*/
    background-position: top;
    background-repeat: no-repeat;
    background-size: 34.9vw 4px;
    background-image: url('images/popup/top-bar-pop-up-yellow.svg');
}

.scire-swal2popup-actions {
    flex-flow: row nowrap;
    align-items: center;
    justify-content: flex-end;
    height: 6.08vh;
    background-color: #f7f7f7;
    padding: 0 1.66vw;
    border-top: 1px solid #c6c6c6;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

    .scire-swal2popup-actions .swal2-styled {
        min-width: 7.36vh;
        height: 3.14vh;
        padding: 0 0.625vw;
        font-family: 'Roboto';
        font-size: 1.77vh;
        border-radius: 3px;
        border: 1px solid #3a445e;
        margin: 0 0 0 9px;
    }

        .scire-swal2popup-actions .swal2-styled.swal2-confirm {
            background-color: #1b4a9e;
            color: #fff;
        }

        .scire-swal2popup-actions .swal2-styled.swal2-deny {
            background-color: #d14529;
            color: #fff;
        }

        .scire-swal2popup-actions .swal2-styled.swal2-cancel {
            background-color: #fff;
            color: #3a445e;
        }

/* modal estrutura*/
.ajax-modal {
    width: 30vw;
    height: 65vh;
    position: fixed;
    top: 12%;
    left: 35%;
    z-index: 1050;
    display: none;
}

.modal-backdrop.in {
    opacity: 0;
}

.scire-modal-open {
    overflow: hidden;
}

.scire-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding-top: 12vh;
    z-index: 1500;
    display: none;
    outline: 0;
    -webkit-overflow-scrolling: touch;
}

    .scire-modal.fade .scire-modal-dialog {
        -webkit-transition: -webkit-transform .3s ease-out;
        -o-transition: -o-transform .3s ease-out;
        transition: transform .3s ease-out;
        -webkit-transform: translate(0, -25%);
        -ms-transform: translate(0, -25%);
        -o-transform: translate(0, -25%);
        transform: translate(0, -25%);
    }
    .scire-modal.in .scire-modal-dialog {
        -webkit-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
        -o-transform: translate(0, 0);
        transform: translate(0, 0);
    }

.scire-modal-open .scire-modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.scire-modal-dialog {
    position: relative;
    width: auto;
    margin: 10px;
}

.scire-modal-content {
    position: relative;
    padding: 5.55vh 1.66vw 4.25vh 1.66vw;
    width: 33.75vw;
    height: 37.35vh;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #999;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 6px;
    outline: 0;
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
    box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
}

.scire-modal-content-image {
    position: relative;
    padding: 2.55vh;
    width: 36.45vw;
    max-height: 55vh;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #999;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 6px;
    outline: 0;
    -webkit-background-clip: padding-box;
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
    box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
}

.scire-modal-matrix {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    display: none;
    -webkit-overflow-scrolling: touch;
    outline: 0;
}

.scire-modal-content-matrix {
    position: relative;
    padding: 4.26vh 1.66vw;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #999;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 6px;
    outline: 0;
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
    box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
}

.scire-modal-header {
    padding-bottom: 3.27vh;
}

    .scire-modal-header .close {
        margin-top: -2px;
    }

.scire-modal-title {
    margin: 0;
    color: var(--DarkPurple1);
    font-size: 1.94vh;
    font-weight: bold;
}

.scire-modal-body {
    position: relative;
}
    .scire-modal-body form {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 1.66vw !important;
    }
    .scire-modal-body img{
        max-height: 50vh;
    }

/* croppie*/
#upload-area {
    width: 26.04vw;
    height: 37.35vh;
    padding-bottom: 2.66vh;
}

.historic {
    content: url(images/popup/historic.png);
    margin:2.5px 10px;
    cursor: pointer;
    height: 2.66vh;
}

.attachments-popup {
    width: 60vw;
    height: 65vh;
    overflow-y: scroll;
    padding: 1.7vh 1.67vw;
}

@media (min-width: 768px) {
    .scire-modal-dialog {
        width: fit-content;
        margin: 30px auto;
    }

    .scire-modal-content {
        -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
        box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
    }

    .scire-modal-sm {
        width: 300px;
    }
}

@media (min-width: 992px) {
    .scire-modal-lg {
        width: 900px;
    }
}