/* The Modal (background) */

.bsmodal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 2147483645;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100vw;
    /* Full width */
    height: 100vh;
    /* 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 */
    -webkit-animation: fadein 0.5s;
    /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 0.5s;
    /* Firefox < 16 */
    -ms-animation: fadein 0.5s;
    /* Internet Explorer */
    -o-animation: fadein 0.5s;
    /* Opera < 12.1 */
    animation: fadein 0.5s;
}

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Firefox < 16 */

@-moz-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Safari, Chrome and Opera > 12.1 */

@-webkit-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Internet Explorer */

@-ms-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Opera < 12.1 */

@-o-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Modal Content/Box */

.bsmodal-content {
    background-color: #fefefe;
    border-radius: 1rem;
    /* margin: 15% auto; */
    /* 15% from the top and centered */
    padding: 50px;
    border: 1px solid #888;
    width: 30%;
    /* Could be more or less, depending on screen size */
}

.bsmodal-content-list {
    background-color: #fefefe;
    border-radius: 1rem;
    margin: 5% auto;
    /* 15% from the top and centered */
    padding-top: 40px;
    padding-right: 40px;
    padding-left: 20px;
    padding-bottom: 20px;
    border: 1px solid #888;
    width: 30%;
    /* Could be more or less, depending on screen size */
}


/* The Close Button */

.bsclose {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.bsclose:hover,
.bsclose:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.hModal {
    display: flex;
    flex-direction: column;
}

.hIcon {
    font-size: 80px;
    font-weight: 900;
}

.hTitle {
    font-size: 30px;
    font-weight: 600;
}

.bMessage {
    font-size: 25px;
}

.bMessage {
    font-size: 25px;
}

.buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}

.btn {
    width: 150px;
    border-radius: 5px;
    border-color: aqua;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: block;
}

.btn-ok {
    width: 100px;
    padding: 8px 12px;
    text-align: center;
    text-decoration: none;
    display: block;
    background-color: #2706cb;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
}


/* <div id="bsmyModal" class="bsmodal">
<div id="bscontent" class="bsmodal-content">
    <span class="bsclose">X</span>
    <div class="hModal">
        <div id="hIcon"></div>
        <div id="hTitle"></div>
        <br>
        <div id="bMessage"></div>
        <button class="btn btn-ok" id="buttonOk"></button>
    </div>
</div>
</div> */


/* ------------------------------------List Style------------------------------------------- */

.wrapper {
    width: 100%;
    max-height: 400px;
    overflow-y: scroll;
    margin: 0px;
    margin-top: 20px;
    font-size: 16px;
    /* float: left; */
}

p,
a,
h1 {
    padding: 1rem;
    display: block;
}

.card {
    background-color: #fff;
    border-radius: 0.2rem;
    box-shadow: 0px 0px 0.1rem rgba(0, 0, 0, 0.3), 0px 0.2rem 0.2rem rgba(0, 0, 0, 0.3);
    overflow: auto;
}

.mat_list {
    list-style-type: none;
    display: block;
    height: 100%;
}

.mat_list>li {
    margin-top: -1px;
    width: 100%;
    max-height: 100%;
    transition: max-height 0.5s;
    overflow: hidden;
}

.mat_list>li::before {
    content: "";
    width: 75%;
    display: block;
    margin: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
}

.mat_list>li:hover {
    background-color: rgba(151, 151, 151, 0.3);
    cursor: pointer;
}

.mat_list>li.hide {
    max-height: 0px;
}

.mat_list_title {
    background-color: #80a789;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.mat_list_title[style*="background"] {
    height: 10rem;
    position: relative;
    background-size: cover;
    background-position: center center;
}

.mat_list_title>h1 {
    font-size: 20px;
    font-weight: 500;
}

.mat_list_title[style*="background"]>h1 {
    position: absolute;
    bottom: 0px;
    background-color: rgba(0, 0, 0, 0.75);
}


/* ------------------------------------------Text Input------------------------------------- */

.simple-input {
    width: 100%;
    border: 2px solid #aaa;
    border-radius: 4px;
    margin: 8px 0;
    outline: none;
    padding: 8px;
    box-sizing: border-box;
    transition: .3s;
}

.simple-input:focus {
    border-color: dodgerBlue;
    box-shadow: 0 0 8px 0 dodgerBlue;
}

.simple-input-error {
    border-color: #562A24;
    box-shadow: 0 0 8px 0 #562A24;
}