/* Main */

@media (max-width: 1060px) {
	html {
		background: url('../images/main/mead.png') repeat;
	}

	body {
		background: url('../images/main/gradient.png') repeat-x;
		height: auto!important;
	}

	#gradient {
		display: none;
	}

	#content {
		position: relative!important;
		width: auto;
		height: auto!important;
		margin: 0;
		box-sizing: border-box;
		padding: 20px;
		top: 0!important;
		left: 0;
	}

}


/* Masthead */

.masthead-home-link-mobile,
.masthead-home-link-mobile:visited {
	display: none;
}

.menu-btn-mobile {
	display: none;
}

.masthead-yt-link-mobile,
.masthead-yt-link-mobile:visited {
	display: none;
	text-align: left;
	padding: 14px;
	color: #fff;
	font-size: 16px;
	text-decoration: none;
	background: #6d506d;
	font-family: Raleway, sans-serif;
}

.masthead-yt-link-mobile--visible,
.masthead-yt-link-mobile--visible:visited {
	display: block;
}

@media (max-width: 1060px) {
	#masthead {
		box-sizing: border-box;
		height: auto;
		background: none;
		position: static!important;
		margin-left: 0;
		width: 100%;
		padding: 20px;
	}
	
	.masthead-home-link-mobile,
	.masthead-home-link-mobile:visited {
		display: block;
		padding: 15px;
		background-color: #fff;
		position: relative;
		margin-bottom: 20px;
		font-size: 0;
		text-align: center;
	}

	.masthead-logo-mobile {
		width: 100%;
		max-width: 300px;
		height: auto;
	}

	.masthead-buttons {
		display: none;
	}

	.menu-btn-mobile {
		display: block;
		width: 100%;
		padding: 14px;
		font-size: 15px;
		text-transform: uppercase;
		color: #fff;
		background: #4c3b4c;
		border: 0 none;
	}

	.menu-btn-mobile:focus {
		outline: 0 none;
	}

	.menu-btn-triangle {
		display: inline-block;
		position: relative;
		top: -2px;
		border-top: 6px solid #fff;
		border-left: 4px solid transparent;
		border-right: 4px solid transparent;
		margin-left: 5px;
	}

	.menu-btn-mobile--open .menu-btn-triangle {
		transform: rotate(180deg);
	}

	#masthead #accordion {
		position: static;
		width: 100%;
		display: none;
		user-select: none;
		margin-top: 0;
	}

	#masthead #accordion > ul > li > a {
		padding: 14px;
	}

	#masthead #accordion ul ul li a {
		padding: 16px 14px;
	}

	#masthead #accordion ul ul ul li a {
		background-color: #ded0c3;
	}

	#masthead #accordion ul > li.has-sub > a:before, 
	#masthead #accordion ul > li.has-sub > a:after {
		transform: translateY(9px);
	}

	#masthead #accordion ul > li.has-sub.open > a:after, 
	#masthead #accordion ul > li.has-sub.open > a:before {
		transform: translateY(9px) rotate(45deg);
	}
}

@media (min-width: 600px) {
	.masthead-home-link-mobile,
	.masthead-home-link-mobile:visited {
		padding: 20px;
	}	
}

@media (min-width: 1061px) {
	#masthead #accordion {
		display: block!important;
	}

	.masthead-yt-link-mobile {
		display: none!important;
	}
}


/* Footer */

@media (max-width: 1060px) {

	#content #footer,
	#imageLinks #footer {
		border-top: 0 none;
		width: auto;
		position: relative;
		font-size: 11px;
		top: 0!important;
		height: auto!important;
		left: 0;
		margin-top: 15px;
		box-sizing: border-box;
		text-align: center;
	}
	
	.footer-arrow-link {
		position: static!important;
		display: inline-block;
	}
	
	
	#footer .footer-arrow-link--prev,
	.footer-arrow-link--prev {
		float: left!important;
	}

	.footer-arrow-link--next {
		float: right!important;
	}

	.footer-arrow-link img {
		position: static!important;
	}

	.footer-bottom {
		border-top: 3px solid #3e8340;
		padding-top: 15px;
		margin-top: 20px;
	}
}


/* Footer & content Arrows */

@media (max-width: 1060px) {
	#content #arrows {
		position: static!important;
		width: 100%;
		height: auto;
		text-align: center;
		margin: 50px 0 0;
		clear: both;
	}

}


/* Page title */

@media (max-width: 1060px) {
	.page-title {
		position: relative!important;
		top: 0!important;
		left: 0!important;
		width: 100%!important;
		height: auto!important;
		margin: 0 0 -20px!important;
		box-sizing: border-box;
		background: #555!important;
		padding: 40px;
		-webkit-box-shadow: 0 0 0px 20px #fff inset;
		box-shadow: 0 0 0px 20px #fff inset;
	}
	
	#title-abt {
		background-color: #779ab2!important;
	}

	#title-ari {
		background-color: #b0a193!important;
	}

	#title-msg {
		background-color: #8f798f!important;
	}

	#title-rsc {
		background-color: #da9596!important;
	}

	#title-vgn {
		background-color: #d1994e!important;
	}
	
	#title-vid {
		background-color: #898b51!important;
	}

	.page-title h1 {
		position: static!important;
		font-size: 21px!important;
		margin: -3px 0 9px;
	}

	.page-title h2 {
		position: static!important;
		margin: 0 0 3px;
	}
}


/* Content ul */

@media (max-width: 1060px) {
	#content ul {
		margin: 0 0 20px 0px;
		padding-left: 30px;
	}
}


/* Content caps */

@media (max-width: 1060px) {
	#content p span.head {
		font-size: 20px;
	}

}


/* Content quote */

@media (max-width: 1060px) {
	#content #qotd {
		float: none;
		padding: 20px;
		width: 100%;
		margin: 0 0 20px!important;
		box-sizing: border-box;
		font-size: 15px;
	}

	#content #qotd img {
		display: block;
		margin: 0 0 15px;
		max-width: 180px;
	}

	#content #qotd span#author {
		margin: 10px 0 0;
		font-size: 15px;
	}
}


/* Content img */

@media (max-width: 1060px) {
	#content img#header {
		position: static;
		width: 100%;
		height: auto;
		margin-bottom: 1.5em;
	}
}


/* Content iframe */

@media (max-width: 1060px) {
	#content iframe {
		position: static!important;
		width: 100%!important;
		height: 400px!important;
		margin: 1em 0!important;
		float: none!important;
	}
}


@media (max-width: 800px) {
	#content iframe {
		height: 360px!important;
	}
}

@media (max-width: 600px) {
	#content iframe {
		height: 300px!important;
	}
}

@media (max-width: 450px) {
	#content iframe {
		height: 200px!important;
	}
}


/* Content main iframe */

@media (max-width: 600px) {
	#content iframe#main-iframe {
		position: static;
		width: 100%;
		height: 300px!important;
		margin-bottom: 20px
	}
}

@media (max-width: 450px) {
	#content iframe#main-iframe {
		height: 200px!important;
	}
}


/* Content right iframe */

@media (max-width: 1060px) {
	#content iframe.iframe-right {
		float: none;
		width: 100%;
		height: 300px;
		margin: 0 0 10px;
	}
}

@media (max-width: 450px) {
	#content iframe.iframe-right {
		height: 200px;
	}
}


/* Content left iframe */

@media (max-width: 1060px) {
	#content iframe.iframe-left {
		float: none;
		width: 100%;
		height: 300px;
		margin: 0 0 10px;
	}
}

@media (max-width: 450px) {
	#content iframe.iframe-left {
		height: 200px;
	}
}


/* Content paragraphs */

@media (max-width: 1060px) {
	#content p:first-of-type {
		margin-top: 0!important;
	}

	#content p, 
	#imageLinks p {
		margin: 1em 0;
	}
}


/* Content blockquotes */

@media (max-width: 1060px) {
	#content p.blockquote {
		margin: 0 30px 20px 30px;
		font-style: italic;
	}
}


/* Content headings */

@media (max-width: 1060px) {
	#content h2, 
	#imageLinks h2 {
		position: static;
		margin: 1em 0 1em!important;
		font-size: 20px;
	}

	#content h3 {
		position: static!important;
		font-size: 18px;
		margin: 1em 0 1em;
	}

	#content h4 {
		position: static;
		font-size: 18px;
		margin: 1em 0 1em;
	}
}


/* Content imageL imageR */

@media (max-width: 600px) {
	#content img.imageL,
	#content img.imageR {
		float: none;
		margin: 10px 0!important;
		max-width: 100%;
		height: auto;
	}
}


/* Content img, img.full */

@media (max-width: 1060px) {
	#content img {
		max-width: 100%;
		height: auto;
		float: none!important;
		margin-left: 0!important;
		margin-right: 0!important;
	}

	#content img.full {
		max-width: 100%;
		height: auto;
		margin: 10px 0;
		float: none;
	}
}


/* Green separator */

hr.green-separator {
	border: 0 none;
	border-top: 2px solid #3e8340;
	margin-top: 2.5em;
	margin-bottom: 1.4em;
	max-width: 1000px;
}


/* About - kill counters */

@media (max-width: 1060px) { 
	#content p#killcounter-l, 
	#content p#killcounter-r {
		width: 100%;
		float: none;
		margin: 0;
		box-sizing: border-box;
		padding: 20px;
		font-size: 14px
	}

	#content p#killcounter-l {
		padding-bottom: 0;
	}

	#content p#killcounter-r {
		padding-top: 0;
	}

	#content p#killcounter-l span,
	#content p#killcounter-r span {
		font-size: 1.29em;
	}
}

@media (min-width: 600px) and (max-width: 1060px) { 
	#content p#killcounter-l, 
	#content p#killcounter-r {
		padding: 30px;
		font-size: 17px
	}
}


/* Messages from Supporters */

@media (max-width: 1060px) {
	#content p.sent {
		margin: 1.9em 0 -0.1em;
		font-size: 16px;
	}

	#content p#killcounter-l {
		padding-bottom: 0;
	}

	#content p#killcounter-r {
		padding-top: 0;
	}
}


/* Content epilogue */

@media (max-width: 1060px) {
	#content p#epilogue {
		margin-top: 20px!important;
	}
}


/* Home slider */

.home-slider {
    margin: 0 auto;
    max-width: 1000px;
    position: relative;
    margin-bottom: 10px;
}

.home-slider-slide {
    background: #999;
    color: #fff;
}

.home-slider-slide a,
.home-slider-slide a:visited {
    background-size: cover;
    background-color: #eee;
    background-position: center;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    padding-top: 20%;
    text-align: center;
}

.home-slider .fotorama__caption {
	color: #fff;
	background: #000;
	background: rgba(0,0,0,0.7);
	font-size: 11px;
	font-family: Verdana, 'sans-serif';
    transform: translateY(100%);
	transition: .3s transform;
}

.home-slider .fotorama__caption__wrap {
	background: none;
}

.home-slider .fotorama__stage:hover .fotorama__caption {
    transform: translateY(0);
}

.home-slider .fotorama__dot {
	background: #d1bfaf;
	border-color: #d1bfaf;
}

.home-slider .fotorama__active .fotorama__dot {
	border-color: #6d506d;
}

@media (max-width: 600px) {
	.home-slider .fotorama__caption {
		display: none;
	}

	.home-slider .fotorama__nav--dots .fotorama__nav__frame {
		width: 12px;
	}
}

@media (min-width: 601px) {
	.home-slider {
		margin-top: 20px;
	}
}

/* Home kill counter */

@media (max-width: 1060px) {
	#content #kc-350 {
		height: auto!important;
		position: static;
		box-sizing: border-box;
		width: 100%;
		padding: 20px;
		margin-bottom: 20px;
	}

	#content #kc-350 img {
		margin: 0 0 10px;
		max-width: 200px;
	}

	#content #kc-350 a {
		width: 100%;
		margin-left: 0;
		font-size: 14px;
	}

	#content #kc-350 p#kc {
		width: 100%;
		font-size: 14px;
	}

	#content #kc-350 p#kc span#count0, #content #kc-350 p#kc span#count1, #content #kc-350 p#kc span#count2, #content #kc-350 p#kc span#count3, #content #kc-350 p#kc span#count4, #content #kc-350 p#kc span#count5, #content #kc-350 p#kc span#count6, #content #kc-350 p#kc span#count7, #content #kc-350 p#kc span#count8, #content #kc-350 p#kc span#count9, #content #kc-350 p#kc span#count10, #content #kc-350 p#kc span#count11, #content #kc-350 p#kc span#count12, #content #kc-350 p#kc span#count13, #content #kc-350 p#kc span#count14, #content #kc-350 p#kc span#count15, #content #kc-350 p#kc span#count16, #content #kc-350 p#kc span#count17 {
		font-size: 18px;
	}
}


/* Home headers */

@media (max-width: 1060px) {
	#content img.home-header {
		position: static;
		width: 100%;
		height: auto;
		top: 0!important;
		left: 0;
		margin: 20px 0 5px;
	}

	#content img.home-header:first-of-type {
		margin-top: 0;
	}
}


/* Home videos */

@media (max-width: 1060px) {
	#content iframe.home-video {
		position: static;
		width: 100%;
		height: 300px;
		margin: 2px 0 5px!important;
	}
}

@media (max-width: 450px) {
	#content iframe.home-video {
		position: static;
		width: 100%;
		height: 200px;
	}
}


/* Home featured */

@media (max-width: 1060px) {
	.home-featured {
		background: #f5f6e5;
		position: relative!important;
		margin-bottom: 20px;
		padding: 10px;
		text-align: center;
	}

	#content #features-640 {
		width: 100%;
		height: auto!important;
		position: static;
		/* display: none; */
		box-sizing: border-box;
	}

	.home-featured * {
		position: static!important;
	}

	#content #features-640 a,
	#content #features-640 a:visited {
		display: block;
	}

	#content #features-640 a.literal,
	#content #features-640 a.literal:visited {
		position: absolute!important;
		font-size: 14px!important;
		top: auto!important;
		left: 26px!important;
		bottom: 30px!important;
		width: calc(100% - 100px);
	}

}

@media (max-width: 600px) {
	.home-featured {
		text-align: left;
		width: auto;
	}
	
}


@media (max-width: 450px) {
	#content #features-640 a.literal,
	#content #features-640 a.literal:visited {
		left: 20px!important;
		bottom: 17px!important;

	}
}


/* ImageLinks */

@media (max-width: 1060px) {
	#imageLinks {
		position: relative;
		top: 0!important;
		left: 0;
		width: 100%;
		height: auto!important;
		margin: 0;
		padding: 30px 20px;
		box-sizing: border-box;
		margin-top: 30px;
	}

	#imageLinks h2 {
		margin-top: 0;
	}

	#imageLinks .cell {
		position: relative;
		left: 0!important;
		top: 0!important;
		width: 100%;
		max-width: 290px;
		margin: 30px auto;
		height: auto;
		display: block;
	}

	#imageLinks .cell * {
		position: static!important;
		display: block;
		width: 100%;
	}

	#imageLinks a.read,
	#imageLinks a.read:visited {
		position: absolute!important;
		left: 0px!important;
		top: auto!important;
		bottom: 7px;
		font-size: 13px!important;
		width: 100%!important;
		text-align: center;
	}

	#imageLinks .cell--empty {
		display: none!important;
	}
}

@media (min-width: 560px) and (max-width: 1060px) {
	#imageLinks {
		text-align: center;
	}
	
	#imageLinks .cell {
		width: 40%;
		margin: 3.5%;
		display: inline-block;
	}	
}

@media (min-width: 800px) and (max-width: 1060px) {	
	#imageLinks .cell {
		width: 30%;
		margin: 1.5%;
	}

	#imageLinks .cell--empty {
		display: inline-block!important;
	}
}


/* Contact ADAPTT */

@media (max-width: 1060px) {
	#contact,
	#content h3#con, 
	#content p.ct {
		position: static!important;
		width: auto;
	}

	#content h3#con {
		font-size: 21px;
		margin-top: 2em;
	}

	#content p.ct {
		margin-bottom: 4em;
	}
}


/* ADAPTT tabs (Videos and advertisements page) */

.adaptt-tabs__list {
	list-style: none;
	padding: 0;
	margin: 0!important;
	text-align: center!important;
}


.adaptt-tabs__list-item {
	display: inline-block;
	margin: 5px;
}

.adaptt-tabs__text {
	display: none;
	padding: 0 0 30px;
	line-height: 1.5;
}

.adaptt-tabs__text--active {
	display: block;
}

.adaptt-tabs__nav-separate {
	display: none;
}

.adaptt-tabs__link,
.adaptt-tabs__link:visited {
	background-color: #f1eae6!important;
	background-image: linear-gradient(#fff, #f1eae6)!important;
	color: #50344e!important;
	padding: 15px 25px;
	display: block;
	text-decoration: none;
	font-size: 15px;
	font-weight: bold;
}

@media (max-width: 1060px) {
	.adaptt-tabs__link,
	.adaptt-tabs__link:visited,
	.adaptt-tabs__link:active,
	.adaptt-tabs__link:focus {
		position: relative;
		padding: 15px 0;
		display: block;
		transition: .3s opacity;
		display: block;
		color: #363636;
		text-decoration: none;
	}

	.adaptt-tabs__link--mobile {
		border: 1px solid #aaa2a7;
		margin-bottom: 20px;
		padding: 15px 40px 15px 15px!important;
	}

	.adaptt-tabs__link--mobile::after {
		color: #50344e;
		content: "+";
		position: absolute;
		right: 15px;
		font-size: 19px;
		top: 50%;
		transform: translateY(-50%);
		transition: .2s transform;
	}

	.adaptt-tabs__link--active::after {
		transform: translateY(-50%) rotate(45deg);
	}

}

@media (min-width: 1061px) {
	.adaptt-tabs {
		margin-top: 450px;
		clear: both;
	}

	.adaptt-tabs__nav-separate {
		display: block;
		text-align: center;
		margin-bottom: 30px;
		padding: 0 30px;
	}

	.adaptt-tabs__list {
		background-image: linear-gradient(#fff, #f5f6e5 75%);
		font-size: 0!important;
		border-bottom: 2px solid #50344e;
	}


	.adaptt-tabs__list-item {
		margin: 0;
		line-height: 18px!important;
		margin: 0!important;
		vertical-align: middle;
	}

	.adaptt-tabs__list-item--separator {
		width: 1px;
		background-image: linear-gradient(#fff, #50344e);
		height: 70px;
		vertical-align: bottom;
	}

	.adaptt-tabs__link--mobile {
		display: none!important;
	}

	.adaptt-tabs__link,
	.adaptt-tabs__link:visited {
		background-image: linear-gradient(#fff, #e1d6cb);
		font-size: 14px;
		padding: 25px 23px 10px!important;
	}

	.adaptt-tabs__link--active,
	.adaptt-tabs__link--active:visited {
		background: #fff!important;
		transform: translateY(3px);
		padding-top: 23px!important;
		padding-bottom: 13px!important;
	}

	.adaptt-tabs__content {
		min-height: 145px;
	}
}


/* Videos list */

#content .list-videos {
	list-style-type: none;
	padding: 0 10px;
	margin: 20px auto 20px;
	text-align: left;
	line-height: 1.5!important;
}


.list-videos li {
	margin: 2px 0 20px!important;
}

#content .list-videos img {
	margin-right: 10px!important;
	height: 12px!important;
	vertical-align: baseline;
	width: auto;
}

@media (min-width: 1061px) {
	#content .list-videos {
		margin: 40px auto 40px;
		padding: 0 40px;
		max-width: 1000px;
	}

	#content .list-videos img {
		margin-right: 12px!important;
		height: auto!important;
		vertical-align: middle;
		position: relative;
		top: -1px;
	}

	.list-videos li {
		margin: 0 0 10px!important;
		font-size: 17px;
	}
}


/* Videos heading */

@media (max-width: 999px) {
	#content .heading-videos {
		font-size: 19px!important;
		margin: 1em 0 .9em!important;
	}
}

@media (min-width: 1000px) {
	#content .heading-videos {
		font-size: 28px!important;
		margin-top: 1em!important;
		margin-bottom: .7em!important;		
	}
}

/* The Lecture Tour */

@media (max-width: 1060px) {
	.content-lecture-tour span.row,
	.content-lecture-tour span.row span  {
		position: static!important;
		display: block;
		margin-bottom: 8px;
	}

	.content-lecture-tour p.tour {
		margin-left: 0!important;
		margin-right: 0!important;
	}

}