/* Stylesheet for Resources page */
.resources-section {
	padding: 4rem;
}
.resources-section .wrapper.row > div {
	margin-bottom: 2rem;
}
.col-lg-4 {
	margin-bottom: 2rem;
}
.col-lg-4 .link-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    height: 100%;
}
.col-lg-4 .link-box .image-wrapper {
    max-width: 20%;
    margin: 0 2rem;
}
.col-lg-4 .link-box .text-wrapper {
		max-width: 65%;
		text-align: left;
}
.link-box h6 {
    color: #88dbff;
    font-weight: 600;
}
.link-box p {
    text-transform: none;
    line-height: 1.4rem;
}
.link-box .button {
    margin-top: 1rem;
    display: inline-block;
}

.study-aids .link-box {
    background-image: url(../images/audio-icon.png), url(../images/video-icon.png), url(../images/quiz-icon.png), url(../images/audio-icon.png), url(../images/video-icon.png), url(../images/quiz-icon.png);
    background-size: 4%;
    background-repeat: no-repeat;
    background-position: 2% 2rem, 7% 2rem, 12% 2rem, 88% 2rem, 93% 2rem, 98% 2rem;
}
.books.row {
	justify-content: space-around;
	margin-top: 1rem;
}
.book.col-xs {
    border: 3px solid #0080d7;
    border-radius: 1.5em;
    display: flex;
    align-items: center;
    max-width: 12em;
    justify-content: center;
    padding: 1rem;
}
.book .image-wrapper {
    max-width: 30%;
    margin: 0;
    margin-right: 1rem;
}
.book .text-wrapper {
    text-align: left;
}
.book .title {
    font-weight: 800;
    text-transform: uppercase;
}
.book p {
    margin: 0;
}

.link-box.online {
	flex-direction: row;
	align-items: center;
}
.link-box.online .image-wrapper {
    max-width: 3rem;
    margin: 0 auto;
}
.link-box.online h6 {
	margin: 0 auto;
}

@media(max-width: 1480px) {
    .books.row {
        flex-wrap: wrap;
    }
    .book.col-xs {
        min-width: 10rem;
        margin: .5rem;
    }

    .col-lg-4 .link-box {
        flex-direction: column;
        padding: 2rem 1rem;
    }
    .col-lg-4 .link-box .text-wrapper {
        text-align: center;
        margin-top: 1rem;
    }

    .link-box.online {
        flex-direction: column;
    }
    .link-box.online .image-wrapper {
        margin-bottom: 1rem;
    }
    .link-box.online h6 {
        margin-bottom: 2rem;
    }
    .link-box.online p {
        margin: 0;
    }
}
@media(max-width: 48em) {
    .resources-section {
        padding: 0;
    }
    .study-aids .link-box {
        background-image: none;
    }
}