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

/* Hide Schema Brief Decorations */
.n2s_briefDisplayed span[class*="_brief"] > span[class*="_brief_decoration"] {
    display: none;
}

/* Wiki Doc styling */
.n2_documentDisplay .n2_layoutFloat .ikb_wikidoc .ikb_wikidoc_content div.label {
	display: none;
}
.n2_documentDisplay .n2_layoutFloat .ikb_wikidoc .ikb_wikidoc_content div.value {
	width: 100%;
}

/* Schema Document Display Style Rules */
.n2_documentDisplay .n2_layoutFloat .title .label {
    font-size: medium;
    width: 100%;
}

/*
---------------------------------------------------------------------------- 
Toggle Grid-List View Button 
----------------------------------------------------------------------------
*/

.btnGrid2List {
	float: right;
    padding-top: 2px;
	width: auto;
	height: 27px;
}
.btnGrid2List a {
	margin: 1px;
	padding: 1px;

}
.btnGrid2List a.btn_gridview {
	width: 22px;
	height: 22px;
	background-color: rgb(119,164,169);
    background-image: url('./images/gridicon.png');
    background-size: 22px 22px;
    background-position: 1px 1px;
    background-repeat: no-repeat;
    border-radius: 2px;
    float: left;
}
.btnGrid2List a.btn_listview {
	width: 22px;
	height: 22px;
	background-color: rgb(119,164,169);
    background-image: url('./images/listicon.png');
    background-size: 22px 22px;
    background-position: 1px 1px;
    background-repeat: no-repeat;
    border-radius: 2px;
    float: left;
}

.btnGrid2List.n2gridcanvas_listview a.btn_gridview,
.btnGrid2List.n2gridcanvas_gridview a.btn_listview {
	background-color: rgb(100,100,100);
	opacity: 0.8;
}

/*
---------------------------------------------------------------------------- 
Grid Canvas Style Updates and List View Styling
----------------------------------------------------------------------------
*/
.n2gridcanvas .n2gridcanvas_cell {
	margin: -0px 0px;
	height: 200px;
	border: 1px solid #EEEEEE;
    border-radius: 0px;
    /*
    -moz-transition: height 0.3s ease;
    -webkit-transition: height 0.3s ease;
    transition: height 0.3s ease;
    */
}

.n2gridcanvas .n2gridcanvas_cell .n2gridcanvas_cell_image img {
    object-fit: contain;
}

.n2gridcanvas .n2gridcanvas_cell .n2gridcanvas_cell_label {
	height: 200px;
}

.n2gridcanvas .n2gridcanvas_cell .n2gridcanvas_cell_label > span > span {
	min-height: 40px;
	max-height: 85px; /* required for ie 11 since height:unset is not supported */
	height: unset;
	background-color: rgba(255,255,255,0.8);
	padding: 5px 0px;
}

.n2gridcanvas.n2gridcanvas_listview .n2gridcanvas_cell {
	width: 100%;
	height: 35px;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	/*
	-moz-transition: height 0.3s ease;
  	-webkit-transition: height 0.3s ease;
  	transition: height 0.3s ease;
  	*/
}

.n2gridcanvas.n2gridcanvas_listview .n2gridcanvas_cell .n2gridcanvas_cell_image {
	width: 30px;
	height: 30px;
	position: absolute;
	left: 0;
	top: 0;
	border-right: 1px solid #DEDEDE;
}

.n2gridcanvas.n2gridcanvas_listview .n2gridcanvas_cell .n2gridcanvas_cell_image img {
	width: 30px;
	height: 30px;
}

.n2gridcanvas.n2gridcanvas_listview .n2gridcanvas_cell .n2gridcanvas_cell_label {
	width: 100%;
	height: 30px;
	position: absolute;
	left: 0;
	top: 0;
}

.n2gridcanvas.n2gridcanvas_listview .n2gridcanvas_cell .n2gridcanvas_cell_label > span > span {
    text-align: left;
    padding: 0px 0px 0px 40px;
    min-height: 0px;
    background-color: unset;
    background-color: transparent; /* used by ie */
    width: unset;
    line-height: 100%;
}

.nunaliit_atlas .nunaliit_form_link .nunaliit_form_link_add_related_item {
	background-color: green;
}

/*
---------------------------------------------------------------------------- 
ikb_pikhs_photo schema brief styling
----------------------------------------------------------------------------
*/
.n2gridcanvas.n2gridcanvas_gridview .n2gridcanvas_cell.n2gridcanvas_cell_show .n2gridcanvas_cell_label span.n2s_briefDisplayed span.ikb_pikhs_photo_brief > span.ikb_pikhs_photo_english_title {
	display: block;
}

.n2gridcanvas.n2gridcanvas_gridview .n2gridcanvas_cell.n2gridcanvas_cell_show .n2gridcanvas_cell_label span.n2s_briefDisplayed span.ikb_pikhs_photo_brief > span.ikb_pikhs_photo_photographer {
	display: block;
	color: #aaaaaa;
	font-size: smaller;
}

