
/* Resources page styles.

   developer:   charlest
   requires:    nothing
   ========================================================================== */

/* setup the environment
   ========================================================================== */

*,
*:after,
*:before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: #fff;
    color: #393939;
    font-family: 'Source Sans Pro', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 150%;
}

/* header
   ========================================================================== */

#header {
    margin: 70px auto 0 auto;
    position: relative;
    max-width: 966px;
}

#header h1 {
    color: #dd1100;
    font-size: 2.8125rem;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 120%;
    margin: 0;
    text-transform: uppercase;
}

#header .button {
    background: #dd1100;
    color: #fff;
    display: inline-block;
    line-height: 1;
    padding: 8px 14px;
    position: absolute;
    right: 0;
    text-decoration: none;
    top: 13px;
}

#header .button:hover {
    background: #f77700;
}

/* main
   ========================================================================== */

main {
    max-width: 998px;
    margin: 7px auto 60px auto;
	padding: 0 1rem;
}

main a {
    color: #dd1100;
    text-decoration: none;
}

main a:hover {
    color: #f77700;
}

/* grid
   ================================== */
.two-resources div:nth-of-type(2n+2) {
    padding-left: 1rem;
}

.three-resources div:nth-of-type(3n+2) {
    padding-left: 1rem;
}

.three-resources div:nth-of-type(3n+3) {
    padding-left: 2rem;
}

.resource-block {
    min-height: 1px;
    padding: 0;
    position: relative;
    vertical-align: top;
	text-align: left;
	margin-top: 20px;
}

.two-resources .resource-block {
   	margin-top: 40px;
}

/* content
   ================================== */
.intro {
    font-size: 1.25rem;
    font-weight: 200;
    line-height: 150%;
	max-width: 966px;
}

main hr {
    border: none;
    border-top: 1px solid #ddd;
    display: block;
    margin: 40px 0 40px 0;
}

main h2 {
    margin: 0 0 20px 0;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.5rem;	
}

.two-resources .resource-block img {
    width: 463px;
	max-width: 100%;
	outline: 1px solid #ddd;
	margin-bottom: 12px;
}

.two-resources .resource-block p {
    width: 463px;
	max-width: 100%;
}

.two-resources .resource-block p:nth-of-type(1) {
    color: #dd1100;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 120%;
}

.two-resources .resource-block p.bottom-link {
	font-size: 1rem;
    font-weight: 400;
    line-height: 150%
}

.three-resources .resource-block img {
    width: 285px;
	max-width: 100%;
    outline: 1px solid #ddd;
	margin-bottom: 12px;
	border: none;
}

.three-resources .resource-block p {
    width: 285px;
	max-width: 100%;
}

.three-resources .resource-block p:nth-of-type(1) {
    color: #dd1100;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 120%;
}

.resource-block a:hover p:nth-of-type(1) {
    color: #f77700;
}

.two-resources .resource-block p:nth-of-type(2) {
    color: #393939;
    font-size: 1.125rem;
    line-height: 150%;
    margin: 0.5em 0 0;
}

.three-resources .resource-block p:nth-of-type(2) {
    color: #393939;
    font-size: 0.875rem;
    line-height: 19px;
    margin: 0.5em 0 0;
}

/* ==========================================================================
   responsive breakpoint styles
   ========================================================================== */

/* styles for large screens (1200px)
   ========================================================================== */
@media all and (max-width: 1200px) {}

/* styles for medium screens (900px)
   ========================================================================== */
@media all and (max-width: 900px) {
	.two-resources div:nth-of-type(2n+2) {
        padding-left: 0;
    }
	.three-resources div:nth-of-type(3n+2) {
        padding-left: 0;
    }
    .three-resources div:nth-of-type(3n+3) {
        padding-left: 0;
    }
	.resource-block {
        padding-right: 1rem;
    }
}


/* styles for small screens (600px)
   ========================================================================== */
@media all and (max-width: 600px) {
	#header {
        margin: 30px auto 30px auto;
        position: relative;
        max-width: 966px;
    }
	#header .button {
        display: block;
		position: initial;
        width: 6.8rem;
		margin-top: 20px;
    }
	main h2 {text-align: center;}
	.three-resources .resource-block {
        margin-bottom: 20px;
    }
	.three-resources div:last-of-type {
        margin-bottom: 0px;
    }
	.resource-block img {
        margin: 0 auto;
		display: block;
    }
	.resource-block p {
        margin: 0.5rem auto 0 auto;
    }
	.two-resources .resource-block p:nth-of-type(2) {
        margin: 0.5rem auto 0 auto;		
	}
	.three-resources .resource-block p:nth-of-type(2) {
        margin: 0.5rem auto 0 auto;		
	}
}


/* styles for minimum supported screen width (320px)
   ========================================================================== */
@media all and (max-width: 320px) {}


/* printer styles
   ========================================================================== */
@media print {}
