/* Page template */
.single-library {

    .c-hero__item {
        height: 375px;
        overflow: hidden;
        background: var( --background-gradient-single-library);

        img {
            height: 375px;
            max-width: 100%;
            object-fit: cover;
            width: 100%;
        }
    }

    .c-hero--inside .c-hero__body {
        @media all and (min-width: 47em) {
            padding: 0 5vw;
        }
    }

    .c-hero__body {
        z-index: 1;
        height: 375px;
        margin: 0 auto;
        max-width: 1280px !important;
        width: 100%  !important;

        h1 {
            position: relative;
            color: white;
            text-align: left;
            font-size: 48px;
            font-weight: 800;
            margin-top: 20px;
        }
        
        a {
            margin-left: -5vw;
            position: relative;
            color: white;
            text-align: left;
            font-size: 15px;
            font-weight: 400;
            text-transform: uppercase;
            /* Arrow icon*/
            
            background-position: 0%/5px auto;
            background-position: 0 50% !important;
            background-repeat: no-repeat !important;
            background-size: 30px auto !important;
            padding-left: 45px;

            @media all and (min-width: 35em) {
                margin-left: -3vw;
                font-size: 20px;
            }

            @media all and (min-width: 47em) {
                margin-left: -2vw;
            }

            @media all and (min-width: 60em) {
                margin-left: 0;
            }

            @media all and (min-width: 70em) {
                margin-left: -2vw;
            }

            @media all and (min-width: 90em) {
                margin-left: -5vw;
            }
        }

        .library-type {
            position: relative;
            color: white;
            text-align: left;
            font-size: 20px;
            font-weight: 700;
            margin-top: 25px;
        }

        .c-hero__description {
            line-height: 28px;
         }
    }

    .c-hero__headline {
        text-shadow: none;
    }

    .container-sm {
        width: 70rem;
    }

    @media all and (max-width: 47em) {
        .atabs__list,
        .atabs__list__tab {
            display: block;
        }
    }
}

/* Block template*/
.library {
    padding: 60px 0 20px;
    margin: auto;

    .library-container {
        padding-right: 0;
        padding-left: 0;

        @media all and (min-width: 47em) {
            padding-right: 65px;
        }
    }
    
    .library-description {
        color: #6E6F72;
        text-align: left;
        font-weight: 700;
        font-size: 18px;
        border-bottom: 2px solid #F4F4F4;
        padding-bottom: 45px;
        margin-bottom: 50px;
    }

    .library-quicklinks {
        padding-right: 0;
        padding-left: 0;

        .quicklinks-wrapper {
            border-top: 2px solid #F4F4F4;
            border-bottom: 2px solid #F4F4F4;
            padding: 44px 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .quicklink-container {
            display: flex;
            flex-direction: row;
            margin: 10px 0;

            .link-icon {
                min-width: 56px;
                width: 56px;
                height: 56px;
            }

            .link-title {
                justify-content: center;
                flex-direction: column;
                display: flex;
                margin-left: 28px;

                h4 {
                    margin: 7px 0;
                    color: #6E6F72;
                    font-size: 20px;
                    font-weight: 700;
                    text-transform: uppercase;
                }

                >a {
                    color: #6E6F72;
                    font-size: 20px;
                    font-weight: 700;
                    line-height: 25px;
                    text-transform: uppercase;
                    text-decoration: none;

                    &:hover {
                        color: var(--color-library-search-links-hover);
                    }
                }
            }

            .link-list {
                a {
                    background-position: calc(100% - 1px) 50% !important;
                    background-repeat: no-repeat !important;
                    background-size: 12px auto !important;
                    padding-right: 18px;
                    font-size: 18px;
                }
            }
        }
    }

    .library-editor{
        h1 {
            font-size: 45px;
            font-weight: 700;
            color: var(--color-library-editor);
        }

        h2 {
            font-size: 32px;
            font-weight: 700;
            color: var(--color-brand-red-orange);
        }

        a.button {
            background: var(--primary-bg);
            background-image: var(--background-gradient-primary);
            background-size: 300% 100%;
            border: 0;
            border-radius: 3rem;
            color: #fff;
            cursor: pointer;
            display: inline-block;
            font-size: 0.875rem;
            font-weight: 700;
            letter-spacing: 1px;
            line-height: 1;
            padding: .75rem 2rem;
            text-align: center;
            text-decoration: none;
            text-transform: uppercase;
            transition: all 0.15s ease-in;

            &:hover,
            &:focus {
                background-position: 100% 0;
                box-shadow: 3px 0 5px rgba(var(--color-neutral-black), .2);
                color: var(--color-neutral-white);
                text-decoration: none;
                transition: all .4s ease-in-out;
            }
        }
    }
}