html {
	position: relative;
	min-height: 100%;
}

@font-face {
  font-family: 'Knif Mono';
  src: url('aa_knif-mono-webfont.eot'); /* IE9 Compat Modes */
  src: url('aa_knif-mono-webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('aa_knif-mono-webfont.woff2') format('woff2'), /* Super Modern Browsers */
       url('aa_knif-mono-webfont.woff') format('woff'), /* Pretty Modern Browsers */
       url('aa_knif-mono-webfont.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('aa_knif-mono-webfont#svgFontName') format('svg'); /* Legacy iOS */
}

@font-face {
  font-family: 'Knif Mono Italic';
  src: url('aa_knif-mono_italic-webfont.eot'); /* IE9 Compat Modes */
  src: url('aa_knif-mono_italic-webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('aa_knif-mono_italic-webfont.woff2') format('woff2'), /* Super Modern Browsers */
       url('aa_knif-mono_italic-webfont.woff') format('woff'), /* Pretty Modern Browsers */
       url('aa_knif-mono_italic-webfont.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('aa_knif-mono_italic-webfont#svgFontName') format('svg'); /* Legacy iOS */
}

body {
	/* Padding top for navbar */
	/* Margin bottom for footer height */
	margin-bottom: 60px;
	font-family: Knif Mono;
	font-style: normal;
	font-weight: normal;
	font-size: 18px;
	line-height: 150%;
	padding: 56px 20px;
	/* or 36px */

	letter-spacing: 0.01em;
}

a, a:hover, a:active, a:visited {
	text-decoration: none;
}

ul {
	display: initial;
    padding-left: 0;
    list-style: none;
}

audio {
	width: 100%;
}

.body-light {
	background: #fff;
	color: #504D4A;
}

.body-light a {
	color: #504D4A;
}

.body-dark {
	background: #252322;
	color: #fff;
}

.body-dark a {
	color: #fff;	
}

.body-dark a {
	color: #fff;
}

section.page, section.archive, section.archive-subpage {
	padding-top: 60px;
	min-height: 600px;
}

section {
	padding: 20px 0;
}

img {
	max-width: 100%;
}

.lity-opened img.lozad {
	margin-top: 20px;
}

.lity-opened > img.lozad {
	margin-top: 20px;
}

pre, code {
	background: #f8f8f8;
	color: #333;
}

pre {
	border-left: 2px solid #ccc;
	padding: 10px;
}

code {
	display: inline-block;
	padding: 0 0.5em;
	line-height: 1.4em;
	border-radius: 3px;
}

table {
	empty-cells: show;
	border: 1px solid #cbcbcb;
	width: 100%;
	font-size: 0.9em;
	margin-bottom: 1rem;
}

thead {
	background-color: #e0e0e0;
	color: #000;
	text-align: left;
	vertical-align: bottom;
}

tr {
	display: table-row;
	vertical-align: inherit;
	border-color: inherit;
}

th, td {
	padding: 0.5em 1em;
}

h1.title, h1.score-number {
	font-style: normal;
	font-weight: normal;
	//font-size: 75px;
	line-height: 125%;
	text-transform: uppercase;
	padding-left: 0;
	padding-right: 0;
}

h1.score-number {
	margin-left: -15px;
	
}

h2.title {
	font-size: 2.3rem;
}

h2 {
	font-size: 2rem;
	text-transform: uppercase;
	padding-top: 20px;
	margin-top: 40px;
	color: #AAA49E;
	border-top: 1px solid #AAA49E;
}



h6 {
	line-height: 150%;
}

blockquote {
        padding: 10px 20px;
        margin: 0 0 20px 20px;
        border-left: 5px solid #eee;
        font-style: italic;
}

.sans-serif {
	font-family: 'Nunito', sans-serif;
}

.btn {
	font-size: inherit;
	text-align: left;
	padding: 0;
}

.btn:hover {
	color: #fff;

}

.vertical-text {
	-webkit-writing-mode: vertical-lr;
  	-ms-writing-mode: tb-lr;
  	writing-mode: vertical-lr;
  	text-orientation: upright;
  	-webkit-text-orientation: upright;
}

.horizontal-text {
	-webkit-writing-mode: initial;
  	-ms-writing-mode: initial;
  	writing-mode: initial;
  	text-orientation: initial;
  	letter-spacing: initial;
}

.hide {
	display: none !important;
}

.show {
	display: initial; !important;
}

/* Upload*/



.lity-content h1 {
	text-transform: uppercase;
}

.lity-content h4 {
	text-transform: uppercase;
}

.lity-content h6 {
	padding-bottom: 20px;
}

.lity-hide {
	padding:20px;
	width:600px;
	max-width:100%;
}

.lity-content {
	padding: 20px;
}

.lity-close {
	right: 15px;
    top: 10px;
}

.upload-plus {
	font-size: 3em;
	text-align: center;
	line-height: 18px;
	padding: 30px 0;
}

.upload-plus span {
	font-size: 14px;

}

input.submit {
	display: block;
}

.lity-content a {
	color: #fff;
}

.lity-content form {
	padding-top: 20px;
}

.lity-wrap {
	color: #AEA8A3;
}

/* Paginator */
.paginator {
	margin-top: 20px;
	margin-bottom: 80px;
}

/* Navbar */

nav.navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #D0CECB;
  border-bottom: 1px solid #504D4A;
  z-index: 1999;
  //width: inherit;
}
  nav.navigation ul{
    list-style: none;
    //position: relative;
    //float: right;
    //margin-right: 100px;
    display: flex;
    width: auto;
    margin: 0 auto;
    position: relative;
    justify-content: space-evenly;
    /*left: 50%;
    transform: translateX(-50%);*/
  }
    nav.navigation ul li{
      float: left;
      -webkit-transition: all .2s ease-in-out;
      -moz-transition: all .2s ease-in-out;
      transition: all .2s ease-in-out;
      align-self: center;
    }

    nav.navigation ul li a {
    	color: #504D4A;
    	padding: 15px;
    }

    
    nav.navigation ul li:hover > ul{display: block;}
    nav.navigation ul li{
      float: left;
      -webkit-transition: all .2s ease-in-out;
      -moz-transition: all .2s ease-in-out;
      transition: all .2s ease-in-out;
    }
      nav.navigation ul li a{
        display: block; 
        padding: 30px 20px;
        color: #222; 
        //font-size: .9em;
        letter-spacing: 1px;
        text-decoration: none;
        text-transform: uppercase;
      }
      nav.navigation ul ul{
        display: none;
        background: #D0CECB;
        position: absolute; 
        top: 100%;
        left: 0;
        border: 1px solid #504D4A;
      }
        nav.navigation ul ul li{float: none; position: relative;}
          nav.navigation ul ul li a {
            padding: 15px 30px; 
            border-bottom: 1px solid rgba(0,0,0,.05);
          }
          nav.navigation ul ul ul {
            position: absolute; 
            left: 100%; 
            top:0;
          }	

.navbar-title {
	font-size: 1.2em;
}

.navbar-highlight {
	background: #AAA49E;
}

.navbar-left {
	width: 40%;
    align-self: flex-start;
    text-align: center;
    border-left: 1px solid #504D4A;
    border-right: 1px solid #504D4A;
}

.navbar-right {
	text-align: center;
}

/*.navbar {
	color: #504D4A;
	background: #fff;
	border: 1px solid #504D4A;
	//padding: 30px 0;
	justify-content: space-evenly;
	padding: 0;
}

.navbar-toggler {
	width: 5%;
}

.navbar-brand {
	margin-right: 0;
	font-size: 1.2em;
}

.navbar-left {
	padding: 40px 30px;
	min-height: 120px;
    border-left: 1px solid #504D4A;
    border-right: 1px solid #504D4A;
    //width: 41%;
    text-align: center;
}

.navbar-gray {
	background: #D0CECB;
}

.navbar-gray a {
	color: #504D4A;
}



img.nav-svg-icon {
	width: 1rem;
	height: 1rem;
	padding-bottom: 2px;
}*/

.nav-link {
	font-size: 0.8em;
}

.lead {
	text-align: left;
	max-width: 70%;
	text-transform: uppercase;
//	font-size: 25px;
	line-height: 150%;
	font-family: 'Knif Mono Italic';
}

.manual-submissions ul li.submission-item:nth-of-type(1n+5) {
	display: none;
}

p.submission-status {
	padding-bottom: 0px;
    margin-bottom: 0px;
}

.manual-container {
	position: relative;
}




.manual {
	height: 300px;
	padding: 10px;
	margin: 10px auto;
	box-shadow: -3px 8px 17px rgba(0, 0, 0, 0.25);
	text-transform: uppercase;
	display: flex;
	align-items: center;
	position: relative;
	width: 180px;
	font-size: 22px;
	
}

.manual img {
	background: #D0CECB;
}

.light-book {
	color: #504D4A;
	background: #fff;
}

.dark-book {
	background: #252322;
	color: #fff;
}

.dark-book a {
	color: #fff;
}

nav.score-tab-nav {
	padding: 40px 0;
}

nav.score-tab-nav ul {
	display: block;
	text-align: center;
	display: auto;
    justify-content: space-between;
}

nav.score-tab-nav li {
	padding: 0 10px;
	text-transform: uppercase;
	letter-spacing: 3px;
	line-height: 300%;
}

nav.score-tab-nav li:hover {
	cursor: pointer;
}

nav.score-tab-nav li.active span {
	border-bottom: 1px solid #504D4A;
}

.submission, .page-link {
	box-shadow: none;
	border: 1px solid #252322;
	//display: none;
}

.page-link {
	width: 100%;
	text-align: center;
	height: auto;
	display: block;
}

.page-link:hover {
	background: white;
	border: 1px solid #252322;
}



/*.submission-item {
	display: none;
}*/

.submission:first-child {
	display: block;
}

.page-description {
	display: none;
	position: absolute;
	font: #AEA8A3;
	top: 70%;
    left: 10%;
    width: 340px;
    font-size: 36px;
    background: rgba(181, 181, 181, 0.3);
	padding: 0 5px;
}

.navbar {
	/*justify-content: initial !important;*/
}


ul.list-score {
	//float: left;
}



.list-score .score {
	//width: calc(20% - 40px);
	height: 300px;
	padding: 10px;
	margin: 10px 10px 10px 0;
	display: inline-block;
	float: left;
	box-shadow: -3px 8px 17px rgba(0, 0, 0, 0.25);
	text-transform: uppercase;
	width: calc(50% - 5px);
}

.list-score .score:nth-child(even) {
	margin-right: 0;
}



.list-score .score p {
	padding: 5px;
}

p {
	padding: 10px 0;
}

hr {
	border: 1px solid #504D4A;
}

.p-nested-dropdowns {
    /* Border */
    border: 1px solid rgba(0, 0, 0, 0.3);
    display: flex;

    /* Reset list styles */
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.p-nested-dropdowns li {
    /* Spacing */
    padding: 8px;

    /* Used to position the sub dropdown */
    position: relative;
}

/* The sub dropdown */
.p-nested-dropdowns ul {
    /* Border */
    border: 1px solid rgba(0, 0, 0, 0.3);

    /* Hidden by default */
    display: none;

    /* Absolute position */
    left: 0;
    position: absolute;
    top: 100%;

    /* Reset styles */
    list-style-type: none;
    margin: 0;
    padding: 0;

    /* Width */
    width: 200px;
}

/* The second level sub dropdown */
.p-nested-dropdowns ul ul {
    left: 100%;
    position: absolute;
    top: 0;
}

/* Change background color of list item when being hovered */
.p-nested-dropdowns li:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Show the direct sub dropdown when hovering the list item */
.p-nested-dropdowns li:hover > ul {
    display: block;
}

/* Footer */
footer {
	clear: both;
	font-family: 'Nunito', sans-serif;
	width: 100%;
	font-size: 0.8em;
}

footer p {
	text-align: center;
}

footer p.terms{
	font-size: .8em;
}
.mini-logo {
	height: 22px;
	padding-bottom: 5px;
}


/* Home - Header */
header.welcome {
	padding: 70px 0 0;
}

section {
	padding: 0;
}

/* Home - Page */
section.home-page:nth-child(even) { /* Alternate the background color */
	background: #FAFAFA;
}

.page-cover-image {
	background-size: cover;
	background-position: center;
}



.page-content {
	padding: 0 0 60px 0;
}

.page-content a {
	text-decoration: underline;
}

.page-content ul li:before {
	content: '\002B';
	padding-right: 10px;
	margin-left: -3px;

}

.page-description {
	color: #b5b5b5;
	letter-spacing: 1px;
    line-height: 125%;
    z-index: 1000;
}

/* VIDEO EMBED RESPONSIVE */
.video-embed {
	overflow:hidden;
	padding-bottom: 56.25%; /* 16:9 */
	position:relative;
	height:0;
}
.video-embed iframe{
	left:0;
	top:0;
	height:100%;
	width:100%;
	position:absolute;
}

section.page ul {
    //list-style: initial;
    display: block;
    //padding-left: 20px;
}



@media (min-width: 1025px) {

	.section.page, section.archive, section.archive-subpage {
		padding-top: 70px;
    	min-height: 600px;
	}

	ul {
		display: flex;
    	flex-wrap: wrap;
	}

	nav.navigation ul{
    	width: 1100px;
	}

		nav.navigation ul li a {
	    	color: #504D4A;
	    	padding: 30px;
	    }

	.navbar-left {
		width: 70%;
	}

	.navbar-title {
		font-size: 65px;
	}

	.manual {
		width: calc(20% - 20px);
		//display: inline-block;
		float: left;
		margin: 10px;
	}

	.submission, .page-link {
		/*display: flex;*/
	}

	.lead {
		font-size: 25px;
		max-width: 600px;
		padding-left: 10px;
	}

	.submission-item {
		display: initial;
	}

	.list-score .score {
		width: calc(20% - 20px);
	}

	.list-score .score:nth-child(even) {
		width: calc(20% - 20px);
		margin: 10px;
	}

	.page-link {
		height: 300px;
		text-align: left;
	}

	nav.score-tab-nav ul {
		display: block;
		text-align: center;
		display: flex;
	    justify-content: space-between;
	}

	.collapse:not(.show) {
		display: none !important;
	}

	body {
		font-size: 22px;
		line-height: 150%;
	}

	h1.title, h1.score-number {
		font-size: 75px;
		padding-left: 20px;
		padding-right: 20px;
	}

	.list-score .score {
		margin: 10px;
	}

	.lity-content {
		padding: 0;
	}

	.page-content {
		//padding-bottom: 60px;
		padding: 0 20px 60px 20px;
	}

}

