/*
Theme Name: K'aalts'ida K'ah
Theme URI: http://www.kaaltsidakah.net
Author: JF
Author URI: about:blank
Description: For K'aalts'ida K'ah's Website
Version: 0.0.1
*/

html, body {
	width: 100%;
	height: 100%;
}

body {
	background-color: #131212;
	font-family: Oswald, sans-serif;
	font-size: 1.2em;
	line-height: 1.5em;
	color: #fff;
	background-image: url(./images/WealthBringer.DKGRY.png);
}

body.page {
	color: #1d1d1d; /* #7c8fe8 or #49a79e */
	background-color: #7d7c7c; /* #a0a0a0 */
	background-image: url(./images/WealthBringer.GRY.png);
}

* {
	margin:0;
	padding:0;
	box-sizing: border-box;
	outline: none;
}

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

a {
	color: #3d4c4b;
	font-weight: bold;
	text-decoration: none;
}

a:hover {
	color: #375a58;
}

h3 {
	margin-bottom: 1.2em;
}

.alignleft,
.alignright,
.aligncenter {
	margin-bottom: 1em;
	position: relative;
}

.alignleft {
	left: -4%;
	margin-right: 1em;
	float: left;
}

.alignright {
	right: -4%;
	margin-left: 1em;
	float: right;
}

.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

.wrapper {
	min-height: 100vh; /* will cover the 100% of viewport */
	overflow: hidden;
	display: block;
	position: relative;
	padding-bottom: 400px; /* height of your footer */
}

.wrapper .home {
	padding-bottom: 150px;
}

.page_header {
	width: 100%;
	height: 400px;
	background: #000;
	background-size: cover;
	background-position: center;
	position: relative;
	border-bottom: 3px solid #1d1d1d;
	-webkit-filter: drop-shadow(1px 1px 7px rgba(0,0,0,0.75));
	-moz-filter: drop-shadow(1px 1px 7px rgba(0,0,0,0.75));
	-ms-filter: drop-shadow(1px 1px 7px rgba(0,0,0,0.75));
	-o-filter: drop-shadow(1px 1px 7px rgba(0,0,0,0.75));
}

.page_title {
	font-family: 'Denk One';
	color: #f1f1f1;
	text-shadow:
	  -1px -1px 0 #000,
	   1px -1px 0 #000,
	  -1px 1px 0 #000,
	   1px 1px 0 #000;
	bottom: 4px;
	margin: 0 9%;
	position: absolute;
}

/*--- Grid ---*/
.grid {
	width: 90%;
	margin: 1em auto;
	position: relative;
}

.grid_square {
		float: left;
		position: relative;
    margin-bottom: 20px;
		display: block;
}

.grid_item {
	-webkit-filter: drop-shadow(1px 1px 7px rgba(0,0,0,0.75));
	-moz-filter: drop-shadow(1px 1px 7px rgba(0,0,0,0.75));
	-ms-filter: drop-shadow(1px 1px 7px rgba(0,0,0,0.75));
	-o-filter: drop-shadow(1px 1px 7px rgba(0,0,0,0.75));
}

.grid_item img {
	max-width: 99%;
	height: auto;
}

.mask {
	-webkit-mask-size: contain;
	-webkit-mask-image: url(./images/Ovoid.png);
}

.grid_overlay {
	left: 0;
	top: 0;
	width: 99%;
	height: 100%;
	color: #292929;
	display: none;
	background: rgba(34, 211, 197, .7);
	font-family: Lalezar, sans-serif;
	font-size: .7em;
	position: absolute;
	z-index: 100;
}

.grid_meta {
	font-family: Lalezar, sans-serif;
	display: none;
}

.overlay_mask {
	-webkit-mask-size: contain;
	-webkit-mask-image: url(./images/Ovoid-Cropped.png);
}

.grid_item_info_container {
	width: 75%;
	top: 58%;
	margin: 0 auto;
	position: relative;
}

.grid_item_info {
	margin: 0 auto 0;
	padding-top: 8px;
	border-top: 2px solid #b50000;
}

.grid_item_info h2 {
	font-size: 1.3em;
	line-height: 1em;
}

.grid_item_excerpt {
	font-size: 1em;
	line-height: 1em;
}

.name_bar {
	width: 100%;
	bottom: 0px;
	font-family: Lalezar, sans-serif;
	background-color: #3a3939;
	box-shadow: 0 0 15px 0px #000;
	position: fixed;
	z-index: 1;
}

.name_bar img {
	width: 130px;
	margin-left: 5px;
	margin-right: 20px;
}

.name_bar h1 a {
	color: #6fb1ac;
	font-family: 'Denk One';
}

.name_bar_title img,
.name_bar_title h1 {
	display: inline-block;
	vertical-align: middle;
}

.name_bar_border_top, .name_bar_border_bottom {
	width: 100%;
	height: 20px;
	background-image: url(./images/Ravens-Tail.Wave.png);
	background-size: 80px;
	background-repeat: repeat-x;
	opacity: .4;
	clear: both;
}

.name_bar_border_bottom {
	height: 25px;
}

.footer h1 a {
	color: #313131;
}

.name_bar h1 {
	margin-top: 7px;
}

.name_bar h1 a:hover {
	color: 39969a;
}

.text_content {
	width: 60%;
	margin: 50px auto;
}

.text_content h3 {
	font-weight: 500;
	margin-top: 1.8em;
}

.text_content p {
	font-size: 1.1em;
	margin-bottom: .8em;
}

.text_content iframe {
	margin-left: -3em;
	margin-right: 1em;
	margin-bottom: 1em;
	float: left;
	position: relative;
}

.footer {
	width: 100%;
	height: 250px;
	bottom: 0;
	padding: 0 20px;
	font-family: Lalezar, sans-serif;
	position: absolute;
}

.footer img {
	float: left;
	width: 130px;
	margin-right: 20px;
}

.footer h1,
.name_bar h1 {
	font-size: 3em;
	font-family: 'Denk One';
	line-height: 1.1em;
	width: 85%;
}

.footer h1 {
	margin-bottom: 20px;
}

.footer h1 a {
	color: #313131;
}

.footer h1 a:hover {
	color: #6fb1ac;
}

.footer_title {
	margin-top: 40px;
}

.home_footer {
	height: 100px;
}

.page_footer {
	border-top: 2px solid #841b1b;
	background-color: #636363;
}

.name_bar_nav, .footer_nav, .copyright {
	text-align: center;
}

.page .copyright {
	color: #444444;
	line-height: 1em;
}

.home .copyright {
	color: #440303;
	line-height: 1em;
}

.name_bar_nav, .footer_nav {
	clear: both;
}

.name_bar_nav {
	font-size: 1em;
	padding-top: 10px;
}

.footer_nav {
	font-size: 1.4em;
}

.name_bar_nav li, .footer_nav li {
	padding-left: .9em;
	display: inline-block;
}

.name_bar_nav a, .footer_nav a {
	text-decoration: none;
}

.name_bar_nav a {
	color: #191919;
}

.footer_nav a {
	color: #841b1b;
}

.name_bar_nav a:hover {
	color: #a08282;
}

.footer_nav a:hover {
	color: #941d1d;
}

.name_bar_nav li ul.sub-menu, .footer_nav li ul.sub-menu {
	text-align: center;
	width: 50%;
	margin-top: .7em;
	margin-left: -3em;
	display: block;
	position: absolute;
}

.screen_overlay {
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(132, 27, 27, 0.85);;
	position: fixed;
	display: none;
}

.logo_forest {
	text-align: center;
	margin-top: 5em;
}

.logo_forest img {
	margin: 10px;
	display: inline-block;
	vertical-align: middle;
}

.logo_forest img:nth-child(4) {
	clear: both;
}

@media only screen and (min-width: 801px) {
	.grid .grid_square {
		width: 33%;
		margin: .16%;
	}

	.grid .grid_square:nth-child(3n+1) {
		clear: both;
	}

	.logo_zoom {
		transition: transform .2s, filter .2s;
		-webkit-transition: transform .2s, filter .2s;
		-moz-transition: transform .2s, filter .2s;
		-o-transition: transform .2s, filter .2s;
		transform-origin: bottom left;
		-webkit-transform-origin: bottom left;
		-moz-transform-origin: bottom left;
		-ms-transform-origin: bottom left;
		-o-transform-origin: bottom left;
		transform-style: preserve-3D;
		-webkit-transform-style: preserve-3D;
		-moz-transform-style: preserve-3D;
		-ms-transform-style: preserve-3D;
		-o-transform-style: preserve-3D;
	}

	.logo_zoom:hover {
		filter: drop-shadow(0px 0px 3px #000);
		transform: scale(3);
		-webkit-transform: scale(3); /* Safari 3-8 */
		-moz-transform: scale(3);
		-ms-transform: scale(3); /* IE 9 */
		-o-transform: scale(3);
	}

	.kk_citation {
		margin-left: 450px;
		margin-right: 5%;
		bottom: 25%;
		position: fixed;
		font-size: 2.5em;
		line-height: .7;
		color: #fbfbfb;
	}

	.kk_print_attr {
		font-size: .5em;
		color: #bdbdbd;
		margin-top: 1em;
	}

}

@media only screen and (min-width: 950px) {

	.grid_overlay {
		font-size: .9em;
	}
}

@media only screen and (max-width: 1200px) {

	.grid .grid_square {
		font-size: .8em;
	}

}

@media only screen and (max-width: 1050px) {

	.footer h1,
	.name_bar h1 {
		width: 80%;
		font-size: 3em;
	}
}

@media only screen and (max-width: 800px) {
	.grid .grid_square {
		width: 47%;
		margin: 0 .3%;
		font-size: .8em;
	}

	.grid .grid_square:nth-child(odd) {
		clear: both;
	}

	.grid_meta {
		display: block;
		font-size: .9em;
		color: #eeefea;
		text-shadow: 0px 0px 4px #000;
	}

	.grid_item_info_container {
		width: 85%;
	}

	.grid_meta .grid_item_info {
		border-top: 3px solid #22d3c5;
	}

	.text_content {
		width: 70%;
	}

	.name_bar h1,
	.footer h1 {
		font-size: 2em;
		width: 75%;
	}

	.name_bar {
		top: 0px;
		background-color: #8a0202;
		background-image: none;
		position: relative;
	}

	.name_bar_title {
		padding: 10px 0;
		height: auto;
		overflow: auto;
	}

}

@media only screen and (max-width: 650px) {
	.grid {
		width: 80%;
	}

	.grid .grid_square {
		width: 100%;
		font-size: 1.3em;
	}

	.text_content {
		width: 90%;
	}

	.name_bar img,
	.footer img {
		width: 80px;
	}

	.footer_nav {
		font-size: 1em;
	}

	.copyright {
		font-size: .8em;
	}

	.page_title {
		margin: 0 4%;
	}

	.grid_meta {
		font-size: .55em;
	}

}

@media only screen and (max-width: 450px) {

	.name_bar h1,
	.footer h1 {
		font-size: 1.3em;
		width: 60%;
	}

}

/* tlikalii PAGE */

body.tlikalii {
    color: #ddd;
    background-color: #000;
    background-image: none;
}

body.tlikalii .page_header {
    border-bottom: 5px solid #840000;
}

body.tlikalii .footer {
    background-color: #252525;
}

body.tlikalii .footer h1 a {
    color: #000;
    text-shadow: 0px -3px 12px #da0a00;
}
body.tlikalii .footer_nav a {
	color: #000;
}

body.tlikalii .footer_nav a:hover {
	color: #da0a00;
}

body.tlikalii .page_title {
    text-shadow: 0px -7px 7px #da0a00;
}

body.tlikalii .gallery-item {
    border: 5px solid #840000;
}

/* Three D exhibit PAGE */

body.survivors {
    background-color: #eae7dd;
    background-image: none;
}

body.survivors .wrapper {
    width: 90%;
    margin: auto;
    overflow: visible;
    position: relative;
}

body.survivors .header {
    width: 100%;
    font-size: 7em;
    line-height: 1.3em;
    padding-bottom: .25em;
    margin-top: 20px;
    margin-bottom: .1em;
    border-bottom: 1px solid #000;
}

body.survivors h2 {
    margin-bottom: 1em;
}

body.survivors p {
    margin-bottom: 0.5em;
}

body.survivors .kk_blurb {
    padding-left: 1em;
    line-height: 1.2em;
    font-size: 1.5em;
}

body.survivors figure.wp-block-embed-vimeo {
    width: calc(100vw);
    margin-left: calc(-50vw + 50%);
}

/* WP GALLERY RESPONSIVE */

.gallery {
		margin-bottom: 10px !important;
}

.gallery:after {
	display: block;
	padding-bottom: 100%;
}

.hidden_item {
	display: none;
}

.gallery-item,
.alignleft,
.alignright {
	border: 4px solid #1d1d1d;
}

.gallery-item .gallery_image {
	width: 100% !important;
	background-position: center !important;
	background-size: cover !important;
}

.gallery-item .gallery_image:after {
	content: "";
	display: block;
	padding-bottom: 100%;
}

.gallery-caption {
	display: none;
}

.wp-caption-text {
	font-size: .9em;
	margin-top: .4em;
}

.gallery-columns-4 .gallery-item {
	width: 23% !important;
	margin: 0 1% 0;
}

.gallery-columns-4 .gallery-item:nth-child(4n+1) {
	clear: both;
}

.gallery-columns-3 .gallery-item {
	width: 30% !important;
	margin: 0 1% 0;
}

.gallery-columns-3 .gallery-item:nth-child(3n+1) {
	clear: both;
}

@media only screen and (min-width: 1001px) {
	.gallery {
		width: 75%;
		float: right;
		position: relative;
		margin-left: 1em !important;
		margin-right: -4em !important;
	}

}

@media only screen and (min-width: 651px) and (max-width: 1000px) {
	.gallery {
		width: 120%;
		position: relative;
		margin-left: -2em !important;
	}

}

/* For displaying single column on mobile */
@media only screen and (max-width: 480px) {
	.gallery-columns-4 .gallery-item {
		width: 47% !important;
		margin: 0 1% 0;
	}

	.gallery-columns-3 .gallery-item {
		width: 47% !important;
		margin: 0 1% 0;
	}

	.gallery-columns-3 .gallery-item:nth-child(3n+1),
	.gallery-columns-4 .gallery-item:nth-child(4n+1){
		clear: none;
	}

	.gallery-columns-3 .gallery-item:nth-child(2n+1),
	.gallery-columns-4 .gallery-item:nth-child(2n+1){
		clear: both;
	}

}
