.modal-overlay{
    @extend %overlay;
    display: flex;
    justify-content: center;
    align-items: flex-start;

    &.open{
        .modal-container{
            animation: slidemodal-top-in-transition;
            animation-duration: 0.4s;
            animation-delay: 0.2s;
            animation-fill-mode: both;
        }
    }
}

.modal-container{
    width: auto;
    height: auto;
    min-width: 5rem;
    min-height: 5rem;
    background: #fff;
    box-shadow: 0 0 1rem -0.4rem #000;
    overflow: auto;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    border-top-left-radius: 0.6rem;
    border-top-right-radius: 0.6rem;
    transform: none;
    animation: slidemodal-top-out-transition;
    animation-duration: 0.4s;
    animation-delay: 0s;
    animation-fill-mode: forwards;
}

.modal-header{
    width: 100%;
    height: 4rem;
    padding: 0 2rem;
    background: $color-featured;
    text-align: center;
    position: relative;

    .title{
        color: $color-snow;
        margin: 0;
        font-size: 1.4rem;
        line-height: 4rem;
        height: 100%;
        white-space: nowrap;
        text-transform: uppercase;
        display: inline-block;
        font-family: $font-title;
    }

    .icon-plus-cross{
        font-size: 1.4rem;
        color: $color-snow;
        float: right;
        line-height: 3.9rem;
        position: absolute;
        right: 1.2rem;
        cursor: pointer;
        display: inline-block;
        transform: rotate(45deg);
    }
}

.modal-content{
    width: 100%;
    height: auto;
    //border-left: 0.1rem solid $color-snow-extra-dark;
    //border-right: 0.1rem solid $color-snow-extra-dark;

    //.floatThead-wrapper{
    //    overflow: auto;
    //}

    .floatThead-container{
        //width: 100% !important;
        //z-index: 1 !important;
    }

    .txt-default{
        font-family: $font-default;
        color: $color-slate;
        font-size: 1.4rem;
        line-height: 1.8rem;
        margin: 0 0 2rem;
        text-align:center;
    }

    form{
        margin-bottom: 0;
        padding-bottom: 0;
    }
}

.modal-footer{
    height: 5.2rem;
    width: 100%;
    display: block;
    padding: 1rem 2rem;
    background: $color-snow-dark;
    border-bottom: 0.1rem solid $color-snow-extra-dark;

    .link-cancel{
        @extend .btn-style-link;
        line-height: 3.4rem;
        height: 100%;
        display: inline-block;

        i {
            font-size: 0.7rem;
        }
    }
}

.message-validation-table{
    position: relative;
}
