/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Jun 10, 2019, 9:48:59 AM
    Author     : gasper
*/

.modal {
    position: fixed;
    display: block;
    z-index: 10000; /* 1 */
    top: 0;
    left: 0;
    visibility: hidden;
    width: 100%;
    height: 100vh;
}

.modal.is-visible {
    visibility: visible;
}


.modal-overlay {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: hsla(0, 0%, 0%, 0.5);
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 0.3s, opacity 0.3s;
}

.modal.is-visible .modal-overlay {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.modal-wrapper {
    position: absolute;
    z-index: 9999;
    top: 6em;
    left: 50%;
    width: 40em;
    margin-left: -20em;
    background-color: #fff;
    box-shadow: 0 0 1.5em hsla(0, 0%, 0%, 0.35);
    border-radius: 5px;
}

.modal-wrapper section{
    padding: 20px;
    padding-bottom: 0px;
}

.modal-title{
    background-color: #fbfbfd;
    color: #3d465a;
    width: 100%;
    padding: 20px 30px;
    font-weight: 600;
    font-size: 18px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.modal-title img{
    margin-right: 15px;
    margin-top: -3px;
}

.modal-transition {
    transition: all 0.3s 0.12s;
    transform: translateY(-10%);
    opacity: 0;
}

.modal.is-visible .modal-transition {
    transform: translateY(0);
    opacity: 1;
}


.btn-close div{
    color: #929eb8;
    background-color: #e9eaf3;
    float: right;
    width: 28px;
    height: 28px;
    text-align: center;
    border-radius: 50%;
    transition: .3s;
}

.btn-close div:hover{
    background-color: #929eb8;
    color: #e9eaf3;
}


.modal-footer{
    text-align: left;
    border: none;
}

.cancelModal{
    font-size: 14px;
    font-weight: 600;
    color: #929eb8;
    margin-top: 15px;
    margin-left: 20px;
    cursor: pointer;
    transition: .3s;
}

.cancelModal:hover{
    color: #3b6a8d;
}


.modal-delete-icon img{
    width: 18px;
}

.remove-element-text{
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
}


.modal-wrapper{
    top: 1em;
}