/*
	This is a CSS file designed to hold declarations specific
	for this atlas.
*/

/*Modified stylesheet for /arcticcbm.org Atlas
Created by Peter L. Pulsifer, ELOKA
Date: June 13th, 2013
questions: e-mail pulsifer/@nsidc.org

NOTE:  Some CSS elements require the !important attribute to be visible to the end user 
*/

/*.nunaliit_content {
	top: 81px !important;
}*/

/*Map window background*/
.olMap{background-color:#000000}

/*Main header bar - does not include dropdown tabs or login button */
.nunaliit_header {
	background-color:#000000 !important;
	border-top-color:#760b1b !important;
	}

.nunaliit_header_container {
	background-color:#FFFFFF;
	background-image: url('../images/yupik_header_full.jpg');
	}

/* Main Title */

/*Adjust header size and padding so translation fits*/
.nunaliit_atlas .nunaliit_header .nunaliit_title {
	font-size: 2em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    height: 51px;
    margin-left: 10px;
    margin-right: 0;
}

.nunaliit_atlas .nunaliit_header .nunaliit_title_link {
	padding: 2px;
}

/*Shorter header bar that contains module title*/
.nunaliit_module_title {
    background-color: #d5c1a8 !important;
    border-top: 2px solid #760b1b !important;
    border-bottom: 2px solid #760b1b !important;
	}

.nunaliit_atlas .nunaliit_header .subtitle {
	font-size: .75em;
}

.nunaliit_header-nav {
	margin: 0 0 0 10px;
}

div#export_container {
    display: inline;
}
	
/*************************
/filter styling on title bar
**************************/
.nunaliit_module_title .n2widget_multiDropDownFilterSelection {
	float: none;
	padding: 4px 10px;
	display: inline-block;
}

/*Navigation controls (dropdowns etc.)*/
.nunaliit_logged_out #navigation>ul>li:last-of-type {
    display: none;
}

.nunaliit_header-nav {
	background-color:#d5c1a8 !important; 
	}
	
/*.nunaliit_header-nav a {
	color:crimson !important;
	}*/

/*.nunaliit_header-nav > ul {
	background-color:crimson !important;
	}*/

.nunaliit_header-nav li {
	background-color:#d5c1a8 !important;
    border-left: 1px solid #760b1b !important;
    border-right: 1px solid #760b1b !important;	
	}

.nunaliit_header-nav li:hover {
	background-color: #d5c1a8 !important;
	}

.nunaliit_header-nav > ul > li > ul > li > a:hover {
	background-color: #d5c1a8 !important;
	}

.nunaliit_header-nav ul li ul li ul.n2nav_setChildModuleCurrent {
		overflow-y: auto;
		overflow-x: hidden;
		height: 80vh;
	}

/* welcome and login box and text */
.nunaliit_login_link_outer_container {
    background-color: #d5c1a8 !important;
    /*color:crimson !important; */
    border-left: 1px solid #760b1b !important;
    border-right: 1px solid #760b1b !important;
}

/* .nunaliit_header_container .nunaliit_login_link {
	color: crimson !important;
}

.nunaliit_login_greeting_inner_container {
	color: crimson !important;
}*/


/*.nunaliit_help_button a {
	color: rgba(30,82,171,1) !important;
}*/
	
/*Map edit tools*/
.map_interaction input {
    background-color: #d5c1a8 !important ;
    /* color: crimson !important ; */
    }

/* Main portion of side box */
.nunaliit_content {
	background-color:#d5c1a8 !important;
	border-left: 2px solid #760b1b !important ;
	border-right: 2px solid #760b1b !important ;
	color: #7a6c4f ;
	/*font-size: 0.95em;
	 font-family: Verdana, sans-serif;
	font-style: normal;
	font-weight: normal;
	text-transform: normal;
	letter-spacing: normal;
	line-height: 1.2em;
	padding: 70px 20px 15px 20px; */
	}

.n2_content_text {
	background-color:#d5c1a8 !important;
	border-left: 2px solid #760b1b !important ;
	border-right: 2px solid #760b1b !important ;
	}

.n2_content_text intro {
	color: #7a6c4f ;	
	}

.n2_content_searchInput {
	background-color:#d5c1a8 !important;
	}

/* Search box background
#searchInput.nunaliit_searchInput {
	background-color:#CEE1FF ;
	border-left: 1px solid crimson !important ;
} */

/* Search input box 
.nunaliit_searchInput input {
	background-color:#E0F0FF !important;
	color:rgba(30,82,171,1);
	/* padding:5px 6px !important;
}*/

/*Main page footer */
.nunaliit_footer {
    background-color: #d5c1a8 !important;
    border-top: 2px solid #760b1b !important ;
}

/* Made with Nunaliit text 
.nunaliit_footer_nav ul li a  {
	    color : rgba(30,82,171,1) !important;
}*/



/*Hover bubble appearance*/
.olPopup {
	opacity: 0.9 !important;
	background-color:#d5c1a8 !important;
	color: #7a6c4f !important;
	}
	
.olPopup {
	opacity: 0.9 !important;
	background-color:#d5c1a8 !important;
	color: #7a6c4f !important;
	}

.ui-resizable {
	width: 600 !important;
}

/*Hover bubble size 
.olPopupContent { 
	max-width: 400px !important;	 
	}
*/

/* Buttons in edit mode to open forms (Edit, Add Related Item etc. */
/* .nunaliit_form_link {
	line-height: 0.95em;
	font-size: 0.85em;
	background-color: rgba(109,140,193,1) !important;
	color: rgb(255,255,255) !important;
}*/

/*Fix file paths for images*/
.attachmentEditor_micButton {
	background-image: url('../js-external/images/open-iconic/microphone-6x-white.png');
}

.attachmentEditor_stopRecordingButton {
	background-image: url('../js-external/images/open-iconic/media-stop-6x-white.png');
}

.attachmentEditor_videoButton {
	background-image: url('../js-external/images/open-iconic/video-6x-white.png');
}

.n2widgetLegend .n2LegendImageContainer {
	max-width: 150px;
}

/*Our Changing World Styles*/
.yupikSidebar {
	display: block;
	font-size: 1.1em;
}

.yupikSidebar img {
	width: 100%;
	box-shadow: 0 3px 10px rgb(0 0 0 / 40%);
	margin: 0.5em 0.25em;
}

.fullPage {
	background-color: #FFFFFF;
	padding: .5em;
	color:#000000;
	overflow: hidden;
}

.fullPage p {
    font-size: 1.5em;
}

.fullPage h1 {
	color: #7a6c4f;
}

.fullPage em.underline {
	text-decoration: underline;
	font-weight: normal;
}

.bannerContainer {
    text-align: center;
    position: relative;
}

.imgBanner {
    width: 100%;
    max-height: 30em;
    object-fit: cover;
}

.titleOnImage {
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	width: 100%;
}

.ocwNavbar {
	float: right;
    clear: right;
    margin: 0 1em 0.2em 1em;
    background-color: #e0d2c0;
    color: black;
    padding: .5em 0.5em 0;
	text-align: center;
	max-width: 14em;
}

a.moduleLinkBlock {
	color: black;
}

a.moduleLinkBlock.moduleDisabled {
    cursor: not-allowed;
}

.moduleLinkBlock img {
    width: 7em;
}

.ymt1 {
	margin-top: .5em;
}

.colContainer {
    display: block;
}

.col {
    background-color: #f5f5f5;
    margin-right: 1em;
	margin-bottom: .5em;
	padding: 0.5em;
	width: calc(100% - 1em);
	float: none;
}

.emptyCol {
	background-color: unset;
}

.col img {
    max-width: 100%;
}

.guideSummary {
	font-style: italic;
	margin-top: 8px;
}

.guideLink {
	font-size: 1.25em;
	padding-top: 1em;
}

.yupikQuote {
	font-style: italic;
	color: #7a6c4f;
}

.quoteAuthor {
	font-style: normal;
	font-weight: bold;
}

.quoteDate {
	font-style: normal;
}

.leftImage {
	float : left;
	padding: 0.5em 2em 3em 0;
}

.rightImage img, .leftImage img {
	max-width: 700px;
	max-height: 450px;
	width: calc(100vw/2);
}

.rightImage {
	float : right;
	padding: 0 0.5em 0 2em; 
}
@media (min-width: 900px) {
	.col {
		width: calc((100% - 2em) * .333);
		float: left;
	}

	.col2 {
		width: calc((100% - 3em) * .5);
	}

	.col2_3 {
		width: calc((100% - 4em) * .666);
	}

	.colContainer {
		display: flex;
	}
}


.col:last-of-type {
    margin-right: 0;
}

.col h2 {
    color: #8b0000;
}

.imageWithText {
	clear: left;
}

/* guide page css */
.guideStep {
    clear: both;
	margin-bottom: 2em;
}

.bannerTitle {
	background-color: #0097b2;
    width: fit-content;
    padding: 8px 35px 8px 15px;
}

span.stepCnt {
    margin: 0 0 0 20px;
    font-weight: bolder;
    color: #6ceef3;
}

span.titleMain {
    color: #ffffff;
    font-weight: bold;
    font-size: 1.5em;
}

.guideStep span.titleMain {
    margin-left: 1em;
}

.stepContent {
    margin: 10px 20px;
    font-size: 1.2em;
}

.guideSteps ul {
    list-style: disc;
}

.fullPage .guideSteps p {
    font-size: 1em;
}

.nunaliit_module_yupikatlas_056module_056HowToVideos .nunaliit_content .n2_content_text {
    padding: 0;
}

.nunaliit_module_yupikatlas_056module_056HowToVideos .col {
	text-align: center;
}

/*pulse swipe control when page loaded*/
.ol-viewport .ol-swipe button {
	animation-name: pulse-swipe-button;
	animation-duration: 2s;
	animation-iteration-count: 8;
}

@keyframes pulse-swipe-button {
	0% {
		box-shadow: 0 0 0 0 rgba(0, 208, 235, 0.8);
		/* font-size: 1.14em;
		background-color: rgba(0,60,136,0.5); */
	}

	100% {
		box-shadow: 0 0 0 10px rgb(0 0 0 / 0);
		/* font-size: 1.30em;
		background-color: rgb(204, 173, 0); */
	}

	
}

/*If we want to hide the couchDB selector*/
/* div.panel ul:first-of-type li.group:first-of-type ul:first-of-type li.layer:first-of-type {
    display: none;
} */

.yupikMediaAttachments {
	display: none;
}

.yupikElderObservationsOfChange {
	display: none;
}

.nunaliit_module_yupikatlas_056module_056OurChangingWorld_056EldersObservationsOfChange .yupikElderObservationsOfChange,
.nunaliit_module_yupikatlas_056module_056default .yupikElderObservationsOfChange {
	display: block;
}

.yupikElderObservationsOfChange .yupikMediaAttachments {
	display: block;
}

.yuuyaraqVideos {
	display: none;
}

.nunaliit_module_yupikatlas_056module_056YuuyaraqVideo .yuuyaraqVideos,
.nunaliit_module_yupikatlas_056module_056default .yuuyaraqVideos {
	display: block;
}

.yupikSidebarVideoList .yupikMediaPeople {
	display: none;
}

.nunaliit_module_yupikatlas_056module_056warfare .warfareVideos {
	display: block;
}

.warfareVideos {
	display: none;
}

.nunaliit_module_yupikatlas_056module_056warfare .warfareVideos,
.nunaliit_module_yupikatlas_056module_056default .warfareVideos {
	display: block;
}

.warfareVideos .yupikMediaAttachments {
	display: block;
}

.shamansIrcenrraat {
	display: none;
}

.nunaliit_module_yupikatlas_056module_056ShamansAndIrcenrraat .shamansIrcenrraat,
.nunaliit_module_yupikatlas_056module_056default .shamansIrcenrraat {
	display: block;
}

.shamansIrcenrraat .yupikMediaAttachments {
	display: block;
}

/* table formatting */
table tbody a {
	color: black;
	font-size: 1.1em;
}
  
table {
	border-collapse: collapse;
	margin: 25px 0;
	font-size: 1em;
	font-family: sans-serif;
	min-width: 400px;
	width: 100%;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
	background-color: #FFFFFF;
}
  
.n2TableCanvas table td, .n2TableCanvas table th {
	border: none;
	white-space: pre-line;
}
  
table tr th {
	background-color: #b5b5b5;
	text-align: left;
}
  
th, td {
	padding-left: 10px;
	padding-right: 10px;
}

th {
	font-size: 1.25em;
	font-weight: bold;
	padding-top: 5px;
	padding-bottom: 5px;
}
  
th:last-child, td:last-child {
	padding-left: 5px;
	padding-right: 5px;
}
  
tbody tr {
	border-bottom: 1px solid #dddddd;
}
  
tbody tr:nth-of-type(odd) {
	background-color: #f3f3f3;
}
  
tbody tr:last-of-type {
	border-bottom: 2px solid #000000;
}
  
  /* hide CSV export */
.n2TableCanvas > button {
	display: none;
}

/*** Hide brief decoration ***/
.yupikatlas_embedVideo_brief_decoration {
	display: none;
}

/*** video page styling ***/
.nunaliit_module_yupikatlas_056module_056YuuyaraqVideo .n2ModuleIntro {
	padding: 5px 0;
}

ul.videoList li {
    margin: 0;
}

ul.videoList li:nth-child(even) {
    background: #cdc4b2;
}

ul.videoList li:nth-child(odd) {
    background: #e1dcd1;
}
ul.videoList li {
    padding: 3px 2px;
}

ul.videoList {
    padding: 0;
    border: 1px solid #6c6046;
}

.yupikEmbed {
	display: none;
}

.yuuyaraqVideos .yupikEmbed {
	display: block;
}

/*** stories pages ***/
.nunaliit_module_yupikatlas_056module_056traditionalTales .yuuyaraqVideos {
    display: none;
}

.nunaliit_module_yupikatlas_056module_056warfare .yuuyaraqVideos {
    display: none;
}