﻿
/*<!-- CSS AjaxFileUpload -->*/
#AjaxFileUpload1_Html5DropZone {
    border: dotted 2px #B2D1E0 !important;
    color: #888888 !important;
    background-color: aliceblue;
    font-size: 20px;
    font-weight: bold;
}

.ajax__fileupload_dropzone {
    background-color: antiquewhite;
}

.ajax__fileupload {
    height: 53.5vh;
}

.ajax__fileupload_fileItemInfo div.removeButton {
    width: 100px;
}

div.ajax__fileupload_uploadbutton {
    width: 108px;
}

.ajax__fileupload .ajax__fileupload_selectFileContainer {
    width: 110px;
}

.ajax__fileupload_selectFileContainer .ajax__fileupload_selectFileButton {
    width: 110px;
}

.ajaxfilestyle {
    font-size: 10px;
}


/*<!-- CSS Preloader -->*/

.dialog-background {
    background: none repeat scroll 0 0 rgba(180, 180, 180, 0.9);
    height: 100%;
    left: 0;
    margin: 0;
    padding: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.dialog-loading-wrapper {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: 0 none;
    height: 50px;
    left: 50%;
    margin-left: -50px;
    margin-top: -50px;
    position: fixed;
    top: 50%;
    width: 50px;
    z-index: 200;
}

.dialog-loading-icon {
    background-color: #FFFFFF !important;
    border-radius: 13px;
    display: block;
    height: 50px;
    line-height: 50px;
    margin: 0;
    padding: 1px;
    text-align: center;
    width: 50px;
    left: 50%;
    margin-left: -25px;
    margin-top: -50px;
    position: fixed;
    top: 50%;
}

/*<!-- CSS Gridview -->*/

.rounded-corners {
    border: 1px solid #217cbb;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    overflow: hidden;
}

.rounded-corners1 {
    border: 0px none transparent;
    -webkit-border-radius: 0px 0px 15px 15px;
    -moz-border-radius: 0px 0px 15px 15px;
    border-radius: 0px 0px 15px 15px;
    overflow: hidden;
}

.rounded-corners2 {
    text-align: center;
    vertical-align: middle;
    display: inline-table;
    text-decoration: none;
    color: #fff;
    background-color: #888888;
    border: 0px none transparent;
    -webkit-border-radius: 15px 15px 0px 0px;
    -moz-border-radius: 15px 15px 0px 0px;
    border-radius: 15px 15px 0px 0px;
    overflow: hidden;
}

.Grid td, .Grid th {
    border: 1px solid #217cbb;
}

.GridPager a, .GridPager span {
    padding: 6px 4px 4px 4px;
    height: 32px;
    width: 42px;
    display: block;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}

.GridPager a {
    padding: 6px 4px 4px 4px;
    height: 32px;
    width: 42px;
    display: block;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    background-color: #0063a3;
    color: #969696;
    border: 1px solid #217cbb;
}

.GridPager span {
    padding: 4px 4px 4px 4px;
    height: 32px;
    width: 42px;
    display: block;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    background-color: #EEFFAA;
    color: #000;
    border: 1px solid #217cbb;
}


.scrolling {
    position: relative;
    margin-top: 0px;
    height: 50px;
}

.gvWidthHight {
    overflow-y: auto;
    overflow-x: hidden;
    height: 70.9vh;
    width: 100%;
    margin-top: 0px;
}

.Freezing {
    position: relative;
    top: expression(this.offsetParent.scrollTop);
    z-index: 10;
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .scrolling {
        width: 90%;
    }
}

.mycheckBig input {
    width: 18px;
    height: 18px;
}


/*<!-- CSS Form -->*/
.rowf {
    display: -ms-flexbox; /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap; /* IE10 */
    flex-wrap: wrap;
    margin: 0 -16px;
}

.col-25 {
    -ms-flex: 25%; /* IE10 */
    flex: 25%;
}

.col-50 {
    -ms-flex: 50%; /* IE10 */
    flex: 50%;
}

.col-75 {
    -ms-flex: 75%; /* IE10 */
    flex: 75%;
}

.col-25,
.col-50,
.col-75 {
    padding: 0 16px;
}

.containerf {
    background-color: #f2f2f2;
    padding: 5px 20px 15px 20px;
    border: 1px solid lightgrey;
    border-radius: 3px;
}

label {
    margin-bottom: 10px;
    display: block;
}

.icon-containerf {
    margin-bottom: 20px;
    padding: 7px 0;
    font-size: 24px;
}

hr {
    border: 1px solid lightgrey;
}

span.price {
    float: right;
    color: grey;
}

/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other (also change the direction - make the "cart" column go on top) */
@media (max-width: 800px) {
    .rowf {
        flex-direction: column;
    }

    .col-25 {
        margin-bottom: 0px;
    }
}

/*<!-- CSS Button -->*/
.btn3d {
    border-style: none;
    border-color: inherit;
    border-width: 0;
    position: relative;
    width: 80%;
    height: 45px;
    top: -6px;
    transition: all 40ms linear;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 2px;
    cursor: pointer;
}

    .btn3d:active:focus,
    .btn3d:focus:hover,
    .btn3d:focus {
        -moz-outline-style: none;
        outline: medium none;
    }

    .btn3d:active,
    .btn3d.active {
        top: 2px;
    }

    .btn3d.btn-white {
        color: #666666;
        box-shadow: 0 0 0 1px #ebebeb inset, 0 0 0 2px rgba(255, 255, 255, 0.10) inset, 0 8px 0 0 #f5f5f5, 0 8px 8px 1px rgba(0, 0, 0, .2);
        background-color: #fff;
    }

        .btn3d.btn-white:active,
        .btn3d.btn-white.active {
            color: #666666;
            box-shadow: 0 0 0 1px #ebebeb inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, .1);
            background-color: #fff;
        }

    .btn3d.btn-default {
        color: #666666;
        box-shadow: 0 0 0 1px #ebebeb inset, 0 0 0 2px rgba(255, 255, 255, 0.10) inset, 0 8px 0 0 #BEBEBE, 0 8px 8px 1px rgba(0, 0, 0, .2);
        background-color: #f9f9f9;
    }

        .btn3d.btn-default:active,
        .btn3d.btn-default.active {
            color: #666666;
            box-shadow: 0 0 0 1px #ebebeb inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, .1);
            background-color: #f9f9f9;
        }

    .btn3d.btn-primary {
        box-shadow: 0 0 0 1px #417fbd inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #4D5BBE, 0 8px 8px 1px rgba(0, 0, 0, 0.5);
        background-color: #4274D7;
    }

        .btn3d.btn-primary:active,
        .btn3d.btn-primary.active {
            box-shadow: 0 0 0 1px #417fbd inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, 0.3);
            background-color: #4274D7;
        }

    .btn3d.btn-success {
        box-shadow: 0 0 0 1px #31c300 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #5eb924, 0 8px 8px 1px rgba(0, 0, 0, 0.5);
        background-color: #78d739;
    }

        .btn3d.btn-success:active,
        .btn3d.btn-success.active {
            box-shadow: 0 0 0 1px #30cd00 inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, 0.3);
            background-color: #78d739;
        }

    .btn3d.btn-info {
        box-shadow: 0 0 0 1px #00a5c3 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #348FD2, 0 8px 8px 1px rgba(0, 0, 0, 0.5);
        background-color: #39B3D7;
    }

        .btn3d.btn-info:active,
        .btn3d.btn-info.active {
            box-shadow: 0 0 0 1px #00a5c3 inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, 0.3);
            background-color: #39B3D7;
        }

    .btn3d.btn-warning {
        box-shadow: 0 0 0 1px #d79a47 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #D79A34, 0 8px 8px 1px rgba(0, 0, 0, 0.5);
        background-color: #FEAF20;
    }

        .btn3d.btn-warning:active,
        .btn3d.btn-warning.active {
            box-shadow: 0 0 0 1px #d79a47 inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, 0.3);
            background-color: #FEAF20;
        }

    .btn3d.btn-danger {
        box-shadow: 0 0 0 1px #b93802 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #AA0000, 0 8px 8px 1px rgba(0, 0, 0, 0.5);
        background-color: #D73814;
    }

        .btn3d.btn-danger:active,
        .btn3d.btn-danger.active {
            box-shadow: 0 0 0 1px #b93802 inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, 0.3);
            background-color: #D73814;
        }

    .btn3d.btn-magick {
        color: #fff;
        box-shadow: 0 0 0 1px #9a00cd inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #9823d5, 0 8px 8px 1px rgba(0, 0, 0, 0.5);
        background-color: #bb39d7;
    }

        .btn3d.btn-magick:active,
        .btn3d.btn-magick.active {
            box-shadow: 0 0 0 1px #9a00cd inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, 0.3);
            background-color: #bb39d7;
        }

.noborder {
    border: none 0px transparent;
    cursor: pointer;
    background-color: transparent;
}

.simplebutton1_click {
    color: #000;
    background-color: #fff;
    height: 50px;
    width: 100%;
    padding: 10px;
    border: solid 1px #888888;
    font-size: 25px;
    font-weight: lighter;
    webkit-border-radius: 12px 12px 12px 12px;
    -moz-border-radius: 12px 12px 12px 12px;
    border-radius: 12px 12px 12px 12px;
    cursor: pointer;
}

.simplebutton1 {
    color: #000;
    background-color: #fff;
    height: 50px;
    width: 340px;
    padding: 10px;
    border: solid 1px #888888;
    font-size: 25px;
    font-weight: lighter;
    webkit-border-radius: 12px 12px 12px 12px;
    -moz-border-radius: 12px 12px 12px 12px;
    border-radius: 12px 12px 12px 12px;
    cursor: pointer;
}

.simplebutton2 {
    color: #000;
    background-color: #fff;
    height: 28px;
    width: 80px;
    padding: 2px;
    border: solid 1px #888888;
    font-size: 14px;
    font-weight: lighter;
    webkit-border-radius: 2px 2px 2px 2px;
    -moz-border-radius: 2px 2px 2px 2px;
    border-radius: 2px 2px 2px 2px;
    cursor: pointer;
}

    .simplebutton1_click:hover, .simplebutton1:hover, .simplebutton2:hover {
        background-color: #fbad26;
        border: solid 1px #888888;
    }

    .simplebutton1_click:focus, .simplebutton1:focus, .simplebutton2:focus {
        color: #fff;
        background-color: #217cbb;
        border: solid 3px rgba(98,176,255,0.3);
    }

    .simplebutton1_click:active, .simplebutton1:active, .simplebutton2:active {
        font-weight: bold;
    }

    .simplebutton1_click:focus:active, .simplebutton1:focus:active, .simplebutton2:focus:active {
        font-weight: bold;
        color: #fff;
        background-color: gray;
        border: solid 3px rgba(98,176,255,0.3);
    }

/*.simplebutton1_click a:visited,.simplebutton1 a:visited,.simplebutton2 a:visited
        {
	        color: #fff;
	        background-color: pink;
	        border:solid 3px rgba(98,176,255,0.3);
        }*/

/*** SECOND BUTTON ***/

.simpleshape1 {
    color: #fff;
    background-color: #2ecc71;
    height: 50px;
    width: 340px;
    padding: 10px;
    border: none 0px transparent;
    font-size: 25px;
    font-weight: lighter;
    webkit-border-radius: 2px 16px 16px 16px;
    -moz-border-radius: 2px 16px 16px 16px;
    border-radius: 2px 16px 16px 16px;
}

    .simpleshape1:hover {
        background-color: #e74c3c;
        border: solid 1px #fff;
    }

    .simpleshape1:focus {
        color: #383838;
        background-color: #fff;
        border: solid 3px rgba(98,176,255,0.3);
    }

/**** THIRD BUTTON ***/
.bordereffect {
    color: #1abc9c;
    background-color: Transparent;
    height: 50px;
    width: 340px;
    padding: 10px;
    border: solid 2px #1abc9c;
    font-size: 20px;
    font-weight: lighter;
    font-family: Consolas;
    webkit-border-radius: 0px 0px 0px 0px;
    -moz-border-radius: 0px 0px 0px 0px;
    border-radius: 0px 0px 0px 0px;
}

    .bordereffect:hover {
        color: #fff;
        border: solid 5px #fff;
        cursor: pointer;
    }

    .bordereffect:focus {
    }
/*** BORDER BOTTOM ***/
.borderbottom {
    color: #d35400;
    background-color: Transparent;
    height: 50px;
    width: 340px;
    padding: 10px;
    border: solid 0px #d35400;
    border-bottom: solid 2px #d35400;
    font-size: 20px;
    font-weight: lighter;
    webkit-border-radius: 0px 0px 0px 0px;
    -moz-border-radius: 0px 0px 0px 0px;
    border-radius: 0px 0px 0px 0px;
}

    .borderbottom:hover {
        color: #f39c12;
        border: solid 0px #f39c12;
        border-bottom: solid 2px #f39c12;
        border-top: solid 2px #f39c12;
    }

/*** BORDER EFFECT ***/
.bordereffect {
    color: #1abc9c;
    background-color: Transparent;
    height: 50px;
    width: 340px;
    padding: 10px;
    border: solid 2px #1abc9c;
    font-size: 20px;
    font-weight: lighter;
    font-family: Consolas;
    webkit-border-radius: 0px 0px 0px 0px;
    -moz-border-radius: 0px 0px 0px 0px;
    border-radius: 0px 0px 0px 0px;
}

    .bordereffect:hover {
        color: #fff;
        border: solid 5px #fff;
        cursor: pointer;
    }

    .bordereffect:focus {
    }

/*** SIMPLE TRANSIT ***/
.simpletransit {
    color: #fff;
    background-color: #9b59b6;
    height: 50px;
    width: 340px;
    padding: 10px;
    font-size: 25px;
    -webkit-border-radius: 2px 2px 2px 2px;
    -moz-border-radius: 2px 2px 2px 2px;
    border-radius: 2px 2px 2px 2px;
    transition: width 2s, height 4s;
    -webkit-transition: width 1s, height 1s; /* For Safari 3.1 to 6.0 */
    -webkit-transition-delay: 1s; /* Safari */
    transition-delay: 1s;
}

    .simpletransit:hover {
        background-color: #ffdf9d;
        color: #000;
        height: 65px;
        width: 375px;
        padding: 10px;
        border: solid 1px #fff;
        -webkit-border-radius: 16px 2px 16px 2px;
        -moz-border-radius: 16px 2px 16px 2px;
        border-radius: 16px 2px 16px 2px;
        font-size: 25px;
        transition: opacity 1s, top 1s, right 1s;
        cursor: pointer;
    }

/*** IMAGE BUTTON ***/
.imagebutton {
    color: #fff;
    background-color: Transparent;
    height: 50px;
    width: 340px;
    padding: 10px;
    border: solid 0px #d4d4d4;
    border-bottom: solid 2px #d4d4d4;
    font-size: 20px;
    font-weight: lighter;
    webkit-border-radius: 0px 0px 0px 0px;
    -moz-border-radius: 0px 0px 0px 0px;
    border-radius: 0px 0px 0px 0px;
}

    .imagebutton:hover {
        background: url('../image/right.png') no-repeat right center;
        border-bottom: solid 6px #fff;
    }

/*<!-- CSS SearchBox -->*/
.search {
    width: 100%;
    position: relative;
    display: flex;
}

.searchTerm {
    width: 100%;
    border: 3px solid #BEBEBE;
    border-right: none;
    padding: 5px;
    height: 20px;
    border-radius: 5px 0 0 5px;
    outline: none;
    color: #9DBFAF;
    font-size: 18px;
}

    .searchTerm:focus {
        color: #217cbb;
    }

.searchButton {
    width: 40px;
    height: 36px;
    border: 1px solid #BEBEBE;
    background: #BEBEBE;
    text-align: center;
    color: #fff;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 18px;
}

/*Resize the wrap to see the search bar change!*/
.wrapsearchbox {
    margin-left: 2%;
    width: 96%;
    /*position: absolute;*/
    /*top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);*/
}

/*<!-- CSS Dropdownlist -->*/
.custom-select {
    margin-left: 2%;
    width: 96%;
    position: relative;
}

select {
    appearance: none;
    /*  safari  */
    -webkit-appearance: none;
    /*  other styles for aesthetics */
    width: 100%;
    height: 36px;
    font-size: 18px;
    padding: 5px;
    background-color: #fff;
    border: 2px solid #BEBEBE;
    border-radius: 5px 5px 5px 5px;
    color: gray;
    cursor: pointer;
}

.custom-select::before,
.custom-select::after {
    --size: 0.3rem;
    content: "";
    position: absolute;
    right: 1rem;
    pointer-events: none;
}

.custom-select::before {
    border-left: var(--size) solid transparent;
    border-right: var(--size) solid transparent;
    border-bottom: var(--size) solid #BEBEBE;
    top: 40%;
}

.custom-select::after {
    border-left: var(--size) solid transparent;
    border-right: var(--size) solid transparent;
    border-top: var(--size) solid #BEBEBE;
    top: 55%;
}

/*<!-- CSS Modal Popup -->*/
.modalBackground {
    background-color: black;
    filter: alpha(opacity=50);
    opacity: 0.5;
    display: none;
    width: 0;
    /*position: relative;*/
    /*top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 50%;*/
}

.modalPopup {
    background-color: #FFFFFF;
    border: 3px solid #fbad26;
    border-radius: 12px;
    padding: 3px;
    width: 400px;
    height: 320px;
    cursor: grab;
}

.modalBackground2 {
    background-color: black;
    filter: alpha(opacity=50);
    opacity: 0.5;
    display: display;
    width: 100%;
    /*position: relative;*/
    /*top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 50%;*/
}

.modalPopup2 {
    background-color: #FFFFFF;
    border: 3px solid #a7c6e2;
    border-radius: 12px;
    padding: 3px;
    width: 60%;
    height: 60vh;
}

.modalPopup3 {
    background-color: #FFFFFF;
    border: 3px solid #a7c6e2;
    border-radius: 12px;
    padding: 3px;
    width: 400px;
    height: 320px;
}

    .modalPopup .header, .modalPopup2 .header, .modalPopup3 .header {
        background-color: #a7c6e2;
        height: auto;
        color: #526173;
        line-height: 30px;
        text-align: center;
        font-weight: bold;
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
    }


    .modalPopup .body, .modalPopup2 .body, .modalPopup3 .body {
        height: auto;
        padding: 10px;
        line-height: 20px;
    }

    .modalPopup .footer, .modalPopup2 .footer, .modalPopup3 .footer {
        background-color: #a7c6e2;
        height: auto;
        color: #526173;
        line-height: 30px;
        text-align: center;
        font-weight: bold;
        border-bottom-left-radius: 6px;
        border-bottom-right-radius: 6px;
    }

    .modalPopup .yes, .no, .close, .modalPopup2 .yes, .no, .close, .modalPopup3 .yes, .no, .close {
        height: 25px;
        color: White;
        line-height: 25px;
        text-align: center;
        font-weight: bold;
        cursor: pointer;
        border-radius: 4px;
    }

    .modalPopup .yes, .modalPopup2 .yes, .modalPopup3 .yes {
        background-color: white;
        color: #0179B6;
        border: 1px solid #0DA9D0;
    }

    .modalPopup .no, .modalPopup2 .no, .modalPopup3 .no {
        background-color: #9F9F9F;
        border: 1px solid #5C5C5C;
    }

    .modalPopup .close, .modalPopup2 .close, .modalPopup3 .close {
        background-color: #9F9F9F;
        border: 1px solid #5C5C5C;
    }

.boxL {
    float: left;
    width: 50%;
    padding: 2px;
    box-sizing: border-box;
    text-align: left;
}

.boxR {
    float: right;
    width: 50%;
    padding: 2px;
    box-sizing: border-box;
    text-align: right;
}

.MPUclearfix::after {
    content: "";
    clear: both;
    display: table;
}

/*<!-- CSS Scrollbars -->*/
/* width */
::-webkit-scrollbar {
    width: 7px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }


/*<!-- CSS Main -->*/
body {
    font-family: 'Open Sans', sans-serif;
    background: #fff;
    overflow: hidden;
}

.wrap {
    display: flex;
}

.box {
    border: 0px solid gray;
    height: 98vh;
    width: 100%;
    /*flex: 1;*/
    margin: 1px;
    text-align: center;
}

    .box:first-child {
        order: 1;
        width: 15%;
    }

    .box:nth-child(2) {
        order: 2;
        width: 65%;
    }

    .box:nth-child(3) {
        order: 3;
        width: 20%;
    }

@media screen and (max-width: 760px) {
    .wrap {
        flex-direction: column;
    }

    .box:nth-child(1) {
        order: 2;
        width: 100%;
        height: 100%;
    }

    .box:nth-child(2) {
        order: 1;
        width: 100%;
    }

    .box:nth-child(3) {
        order: 3;
        width: 100%;
        height: 100%;
    }
}

/* Create four equal columns that floats next to each other */
.column {
    float: left;
    width: 20%;
    padding: 0px;
    margin-top: -10px;
}

.column1 {
    float: left;
    width: 100%;
    padding: 0px;
    margin-top: -20px;
}

.column2 {
    float: left;
    width: 33.3%;
    padding: 0px;
    margin-top: -5px;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

#rcorners1 {
    /*border-radius: 15px;
          border: 1px solid #217cbb;*/
    margin-left: 2%;
    width: 96%;
    position: relative;
    min-height: 77vh;
}

#rcorners2 {
    border-radius: 15px;
    border: 1px solid #217cbb;
    margin-left: 2%;
    width: 96%;
    position: relative;
    min-height: 55vh;
}

#rcorners3 {
    border-radius: 15px;
    border: 1px solid #217cbb;
    margin-left: 2%;
    width: 96%;
    position: relative;
    min-height: 34.8vh;
}


.card {
    color: black;
    padding: 1rem;
    border: 0px solid;
}

.cards {
    max-width: 100%;
    max-height: 100vh;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}


:root {
    *, *::before, *::after

{
    box-sizing: border-box;
}

/* Core styles/functionality */
.tab {
    position: relative;
}

    .tab input[type="radio"] {
        position: absolute;
        opacity: 0;
        z-index: -1;
    }

.tab__content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.35s;
}

.tab input:checked ~ .tab__content {
    max-height: 25rem;
}

/* Visual styles */
.accordion {
    color: var(--theme);
    border: 2px solid lightgray;
    border-radius: 0.5rem;
    overflow: hidden;
    /*height: 100%;*/ /* Accordion will take the full height of its parent container */
    /*display: flex;
    flex-direction: column;*/
}

.tab__label,
.tab__close {
    display: flex;
    color: white;
    background: #3886FD; /*var(--theme)*/
    cursor: pointer;
}

.tab__label {
    justify-content: space-between;
    padding: 1rem;
}

    .tab__label::after {
        content: "\276F";
        width: 1em;
        height: 1em;
        text-align: center;
        transform: rotate(90deg);
        transition: all 0.35s;
    }

.tab input:checked + .tab__label::after {
    transform: rotate(270deg);
}

.tab__content p {
    margin: 0;
    padding: 1rem;
}

.tab__close {
    justify-content: flex-end;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

.accordion--radio {
    --theme: var(--secondary);
}

/* Arrow animation */
.tab input:not(:checked) + .tab__label:hover::after {
    animation: bounce .5s infinite;
}
