/* Video Library Main Page */

ul.flex {
    display: flex; /* Flex layout so items have equal height  */
    flex-flow: row wrap; /* Allow items to wrap into multiple lines */
    /*justify-content: space-around;*/
    list-style: none;
   /* gap: 0.7em;*/
    padding-inline-start: unset; /* remove extra space to left of card group */
    max-width: 1000px;
}

ul.flex > li {
    display: flex; /* Lay out each item using flex layout */
    flex-direction: column; /* Lay out item’s contents vertically  */
    justify-content: space-between;
    padding: 1rem;
    /*height: 100%;*/
    /*background-color: #ECF2F9;*/
    /*background-color: #e2eded !important;*/
    background-color: #fff !important;
    margin: 0.5em;
    /* padding: 0.5em;*/
    min-width: 300px;
    /*max-height: 300px;*/
    width: 30%;
    border: solid 1px #ddd;
    /*border-radius: 15px;*/
}

ul.flex > li > *:first-child {
    margin-top: 0;
}
ul.flex > li > *:last-child {
    margin-bottom: 0;
}
ul.flex > li > * {
    margin-left: 0;
    margin-right: 0;
}

ul.flex .flex-end {
    margin-top: auto;
}

ul.flex > li > img {
    /*border-radius: 5px;
    -webkit-filter: drop-shadow(2px 2px 2px #999);
    filter: drop-shadow(2px 2px 2px #999);*/
    margin-top: 0;
    margin-bottom: 0.5em;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/*ul.flex > li > .p {
    margin: 0 auto;
    padding: 0.5em;
    /\*margin-top: 0 !important;*\/
}*/

.heading4 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
    margin: 1rem 0 0.5rem;
    /*margin: 1.1em 0 1.1em 0;*/
}

.vid-lib-description .p {
    flex-grow: 1;
    color: #555;
    margin: 0 !important;
}

.vid-lib-button {
    text-align: center;
    display: block;
    width: 100%;
}

.vid-lib-button > a {
    border-radius: .25rem;
    text-align: center;
    font-size: .8em;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    color: white !important;
    background-color: #5f9f9f;
    display: inline-block;
    cursor: pointer;
    width: 100%;
    
    /*background-color: #3a6262;
    color: white !important;
    background-color: #5f9f9f;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    display: block;
    width: 100%;
    margin: auto;*/
}

.vid-lib-button > a:hover {
    text-decoration: none;
    background-color: #c0d9d9;
    color: #3c3c3c !important;
/*background-color: #007BFF;
    
    text-decoration: none;*/
}

.nested0,
.p {
    margin-top: 0;
}

@media only screen and (max-width : 1000px) {
    ul.flex li {
        width: 45%;
    }
}


@media only screen and (max-width : 767px) {
    ul.flex li {
        width: 90%;
        min-width: 240px;
    }
}

/* User Guide Main Page */

ul.flex2 {
    display: flex; /* Flex layout so items have equal height  */
    flex-flow: row wrap; /* Allow items to wrap into multiple lines */
    /*justify-content: space-around;*/
    list-style: none;
    gap: 0.7em;
    /*padding-inline-start: unset;*/ /* remove extra space to left of card group */
    max-width: 1200px;
    margin: 0 auto;
}

ul.flex2 > li {
    display: flex; /* Lay out each item using flex layout */
    flex-direction: column; /* Lay out item’s contents vertically  */
    justify-content: space-between;
    padding: 1rem;
    /*height: 100%;*/
    /*background-color: #ECF2F9;*/
    /*background-color: #e2eded !important;*/
    background-color: #fff !important;
    margin: 0.5em;
    /* padding: 0.5em;*/
    min-width: 300px;
    /*max-height: 300px;*/
    width: 30%;
    border: solid 1px #ddd;
    /*border-radius: 15px;*/
}

ul.flex2 > li > *:first-child {
    margin-top: 0;
}
ul.flex2 > li > *:last-child {
    margin-bottom: 0;
}
ul.flex2 > li > * {
    margin-left: 0;
    margin-right: 0;
}

ul.flex2 .flex-end {
    margin-top: auto;
}

ul.flex2 > li > img {
    /*border-radius: 5px;
    -webkit-filter: drop-shadow(2px 2px 2px #999);
    filter: drop-shadow(2px 2px 2px #999);*/
    margin-top: 0;
    margin-bottom: 0.5em;
    width: 100%;
    /*height: 180px;*/
    object-fit: cover;
}

@media only screen and (max-width : 1000px) {
    ul.flex2 li {
        width: 45%;
    }
}


@media only screen and (max-width : 767px) {
    ul.flex2 {
        padding-inline-start: unset;
    }
    
    ul.flex2 li {
        width: 100%;
        min-width: 240px;
    }
}

.ug-title {
    text-align: center !important;
}

.ug-title2 {
    display: none;
}
