﻿/*Button that triggers the modal*/
.modaladd-button {
    /*width: 200px;*/
    margin-bottom: 5px;
    font-size: 10px;
    /*max-width:200px;*/
}

/* The Modal (background) */
.modal-add {
    display: none; /*Hidden by default */
    /*display:block;*/
    position: fixed; /* Stay in place */
    z-index: 2000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    font-size: 12px;
}


/* Modal Content/Box */
.modaladd-container {
    background-color: white;
    margin: 5% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 30%; /* Could be more or less, depending on screen size */
}

.modaladd-containermedium {
    background-color: white;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 40%; /* Could be more or less, depending on screen size */
}

.modaladd-content {
    /*border:solid;*/
}

.modaladd-contentmedium {
    display: flex;
    /*border:solid;*/
    justify-content: center;
    align-items: center;
}

.modaladdcontentcolumns {
    padding: 5px;
    /*border:solid;*/
}

.modaladd-headerleft {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    border-bottom: solid;
    border-width: 1px;
    border-color: #c0bdbd;
    padding-bottom: 5px;
    margin-bottom: 40px;
    font-size: 14px;
}

.modaladd-headertext {
    display: flex;
    justify-content: start;
    width: 100%;
    margin: 0;
    padding: 0;
    /*white-space: nowrap;*/
}

    .modaladd-headertext h2 {
        margin: 0;
        padding: 0;
        font-size: 16px;
    }

.modaladd-headerright {
    display: flex;
    justify-content: end;
    width: 100%;
}

.modaladd-headerclosebutton {
    font-size: smaller;
    border: none;
}

.modaladd-footer {
    margin-top: 40px;
    display: flex;
    justify-content: end;
    align-items: end;
    width: 100%;
}

.modaladd-footersavebutton {
    font-size: 10px;
}
/* The Close Button */
/*.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }*/


/*========================================================================================================================================================*/
/*PHONE AND PORTRAIT*/
/*========================================================================================================================================================*/
@media only screen and (max-width: 480px) {
    .modaladd-container {
        margin: 50% auto; /* 15% from the top and centered */
        padding: 5px;
        width: 95%; /* Could be more or less, depending on screen size */
    }
}
