@charset "utf-8";
/* CSS Document */

@import url("https://use.fontawesome.com/releases/v5.7.1/css/all.css");

.mobile,
.region-highlighted,
#secondary-content-wrapper {
	display: none;
}

.page-panels #main-content {
	margin: 0;
}

.childhood-cancer .panels-flexible-flexible_special_event_layout .panels-flexible-row {
	padding: 0;
}

.panels-flexible-flexible_special_event_layout .panels-flexible-region {
	float: none;
	width: 100%;
}

.childhood-cancer .panels-flexible-row.row-1 {
	background: url("/sites/all/themes/alsf_adaptive/images/childhood-cancer/cc-landing.jpg") 0 60% no-repeat;
	background-size: cover;
	margin-top: 36px;
	padding: 1% 0;
}

.pane-node-body .block-inner {
	color: #222;
	margin: 6% auto;
	max-width: 620px;
}

.pane-node-body .block-content {
	background: rgba(255,255,255,0.9);
	padding: 25px 50px;
}

/* Strip default padding */
.panels-flexible-flexible_special_event_layout .panels-flexible-row,
.panels-flexible-flexible_special_event_layout .panels-flexible-region-inside {
	padding: 0;
}

.photo img {
	width: 100%;
}

.photo p {
	line-height: 80%;
	margin: 0;
}

/* Add padding to text panels */

.panels-flexible-flexible_special_event_layout .panels-flexible-row.row-3 {
	padding: 50px 0 100px;
}


/* Background colors */
.childhood-cancer .panels-flexible-row {
	background: #e1f3f7;
	color: #222;
}

.childhood-cancer .panels-flexible-row.row-3 {
	background: #003595;
}


/* Headers and fonts */
.childhood-cancer #main-content a {
	color: #145ecc;
}

.childhood-cancer #main-content #tasks a {
	color: #003595;
}

.childhood-cancer #main-content .field-name-body h2 {
	color: #222;
	font-family: 'Source Sans Pro', sans-serif;
    font-size: 31px;
	font-size: 900;
    line-height: 120%;
	margin: 0 0 .5em;
	text-align: center;
}

.childhood-cancer #main-content .field-name-body p:last-of-type {
	margin: 0;
}

.childhood-cancer #main-content h3 {
	color: #003595;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 23px;
	font-weight: 700;
	line-height: 120%;
}

.childhood-cancer #main-content h3:after {
	content: "\f0da";
	font-family: FontAwesome, "Font Awesome", "Font Awesome 5 Free";
	font-size: 19px;
	font-weight: 900; /* Crucial for Macs! */
	margin-left: 6px;
}

.childhood-cancer p,
.childhood-cancer #block-system-main li {
	font-size: 18px;
}

.childhood-cancer #block-system-main li {
	text-align: left;
}

.childhood-cancer #main-content p a {
	color: #fff000;
	text-decoration: underline;
}

.cc-option {
	background: #fff;
	border: 2px solid #fefb64;
	float: left;
	margin: 0 2.25% 1%;
	min-height: 430px;
	width: 45%;
}

.cc-option a {
	display: block;
}

.cc-option:hover {
	border-color: #003595;
}

.cc-option:hover img {
	opacity: 0.8;
}

.childhood-cancer #main-content .cc-option a:hover h3 {
	color: #003595;
}

.cc-option .text {
	padding: 15px 20px;
}

.cc-option h3 {
	margin: 0 0 10px;
}

.cc-option p {
	font-size: 16px;
	line-height: 130%;
	margin: 0;
}

/* Column widths */

.childhood-cancer .panels-flexible-row-inside {
	margin: 0 auto;
}

.childhood-cancer .row-3 .panels-flexible-row-inside {
	max-width: 1100px;
}



/* ------------------------------------------- *
 * RESPONSIVE STYLES
 * ------------------------------------------- */

@media screen and (max-width:1050px) {

	.childhood-cancer .panels-flexible-row-inside {
		width: 99%;
	}

	.childhood-cancer #main-content .field-name-body h2 {
		font-size: 26px;
	}

	.childhood-cancer #main-content .field-name-body p {
		font-size: 17px;
	}

}


@media screen and (max-width:805px) {

	.mobile {
		display: block;
	}

	.pane-node-body .block-content {
		padding: 25px;
	}

	.childhood-cancer .panels-flexible-row-inside {
		max-width: 95%;
	}

	.childhood-cancer .row-4 .panels-flexible-row-inside {
		max-width: 100%;
	}

	.childhood-cancer .panels-flexible-row-inside .inside {
		margin: 0 auto;
		max-width: 100%;
	}

	.cc-option {
		width: 44%;
	}

}

@media screen and (max-width:640px) {

	.pane-node-body .block-inner {
		max-width: 90%;
	}

}

@media screen and (max-width:600px) {
	.panels-flexible-flexible_special_event_layout .panels-flexible-row.row-3 {
		padding: 50px 0;
	}

	.cc-option {
		margin: 0 7.5% 5% 7%;
		min-height: auto;
		width: 85%;
	}

}

@media screen and (max-width:440px) {

	.panels-flexible-flexible_special_event_layout .panels-flexible-row.row-3 {
		padding: 40px 0;
	}

	.childhood-cancer #main-content h3 {
		font-size: 20px;
	}

	.childhood-cancer #main-content .field-name-body p,
	.cc-option p {
		font-size: 15px;
	}
}

@media screen and (max-width:320px) {

	.childhood-cancer .panels-flexible-flexible_special_event_layout .panels-flexible-row.row-top {
		padding-top: 55px;
	}

	.childhood-cancer #main-content .field-name-body h2 {
		font-size: 19px;
	}

	.childhood-cancer #main-content .field-name-body p {
		font-size: 14px;
	}

}
