/* START SAM card styles */
.sam-card .uu-card-widget-card {
    border-radius: 40px;
    margin: 10px auto !important;
}
/* END SAM card styles */
/* START resource card styles */
.resource-card {
    border: 2px solid #eeeeee;
    padding: 30px;
}

.resource-card .category {
    color: #be0000;
    margin-bottom: 18px;
}

.resource-card .title>* {
    margin-bottom: 10px;
}

.resource-card .description {
    margin-bottom: 30px;
}

.resource-card .btn {
    padding-left: 40px;
    padding-right: 40px;
    margin: 0;
}

/* END resource card styles */

/* START resource archive styles */
.archive-marquee {
    background-image: url('/wp-content/themes/umctheme3-child-ehs/assets/form-banner.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 350px;
}

#resource-archive .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

@media (max-width: 1024px) {
    #resource-archive .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 780px) {
    #resource-archive .grid {
        grid-template-columns: 1fr;
    }
}

#resource-archive .facetwp-checkbox {
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 0;
}

#resource-archive .facets {
    display: flex;
    margin: 60px 0;
    align-items: center;
}

#resource-archive .facets .facetwp-facet:last-child {
    flex: 1;
}

#resource-archive .facetwp-facet {
    margin-bottom: 0;
}

.facetwp-counter {
    display: none;
}

@media (max-width: 1024px) {
    #resource-archive .facets {
        display: block;
    }

    #resource-archive .facets .facetwp-facet {
        margin-bottom: 20px;
    }

    #resource-archive .facets .facetwp-facet:last-child {
        margin-bottom: 0;
    }
}

/* END resource archive styles */

/* START form archive styles */

#form-archive .letter {
    margin-top: 10px;
    margin-bottom: 10px;
}

#form-archive .letter:first-child {
    margin-top: 0;
}

#form-archive .facets {
    margin: 30px 0;
}

/* END form archive styles */

/* START Video archive styles */
.video-marquee {
    background-image: url('/wp-content/themes/umctheme3-child-ehs/assets/video-banner.jpg');
    background-position: top left;
    background-repeat: no-repeat;
    background-size: cover;
    height: 400px;
}
/* END Video archive styles */

/* START Radiation pages */
.radiation-marquee .u-of-u-marquee-overlay {
    background: linear-gradient(to top, rgba(8, 18, 73, 0.8), rgba(104, 0, 0, 0.8));
    opacity: 0.9 !important;
}
.radiation-marquee .u-of-u-marquee-logo {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}
.radiation-marquee .u-of-marquee-title {
    margin-top: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}
/* END Radiation pages */

/* START custom split widget */
.ehs-custom-split .uu-split-section-widget-img-desktop {
    margin: 40px 20px;
    border-radius: 34px;
}
/* END split widget */

/* START general facet styles */
.facetwp-facet input[type=text] {
    box-sizing: border-box;
    padding: 8px;
    /* same as right for icon */
    border: 2px solid #eeeeee;
    min-width: unset !important;
    width: 100%;
}

.facetwp-input-wrap {
    width: 100%;
}

.facetwp-icon {
    right: 8px !important;
    /* same as padding for input */
}

.facetwp-facet {
    margin-bottom: 0 !important;
}

/* END general facet styles */

/* START staff member archive styles */
#staff-member-archive .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    /* margin-bottom: 30px; */
}

@media (max-width: 1024px) {
    #staff-member-archive .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 780px) {
    #staff-member-archive .grid {
        grid-template-columns: 1fr;
    }
}

#staff-member-archive .loop {
    display: flex;
    gap: 30px;
}

#staff-member-archive .loop .col {
    flex: 1;
}

#staff-member-archive .loop .col:first-child {
    max-width: 225px;
}

@media (max-width: 1024px) {
    #staff-member-archive .loop {
        flex-direction: column;
    }
}

#staff-member-archive .marquee {
    background-image: url('/wp-content/themes/umctheme3-child-ehs/assets/building-banner.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 350px;
    position: relative;
}

#staff-member-archive .marquee .overlay {
    height: 100%;
    width: 100%;
    background: #000;
    opacity: .6;
}

#staff-member-archive .marquee .content {
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
}

#staff-member-archive .marquee .content * {
    color: #fff;
    margin-bottom: 0;
    text-transform: uppercase;
    font-size: 46px;
}

/* END staff member archive styles */

/* START staff card styles */
.staff-card {
    padding: 0 !important;
    margin-bottom: 0 !important;
}

.staff-card .image {
    padding-top: 100%;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}

.staff-card .body {
    padding: 25px;
    font-size: 15px;
}

.staff-card .title,
.staff-card .name {
    text-transform: uppercase;
}

.staff-card .title * {
    font-size: 15px;
}

.staff-card i {
    margin-right: 8px;
}

.staff-card .contact {
    margin-bottom: 15px;
    white-space: nowrap;
}

/* END staff card styles */

/* BASIC SHOP SAFETY RULES STYLING  */

@media (min-width: 780px) {
    #shop-guidance .btn {
        margin-right: 30px;
    }
    #shop-guidance .btn:last-child {
        margin-right: 0;
    }
}

/* REMOVE IMAGE FROM CHEMICAL SAFETY ARCHIEVE PAGE */

.tax-guideline-category .uu-card-img {
    display: none;
}

/* END */

/* GENERAL OCCUPATIONAL SAFETY */
.postid-1392 .card a {
    color: black!important;
    text-decoration: underline;
}
/* END  */

/* GUIDELINES ARCHIVE */
.post-type-archive-guideline .facetwp-facet {
    width: 87%;
}

@media screen and (max-width: 780px) {
    
    .post-type-archive-guideline .facetwp-facet {
        width: 100%;
    }
}
/* END */