body {
	font-family: Arial, Helvetica, sans-serif;
	background-color: rgb(60, 0, 0);
}

.main_frame {
	margin: 0;
	width: 100%;
	background-color: rgb(240, 235, 221);
	min-height: 95%;
}

.flex_horizontal_vertical {
	display: flex;
	flex-direction: column;
}

@media only screen and (min-width: 1200px) {
	.main_frame {
		position: absolute;
		left: 50%;
		width: 1200px;
		transform: translate(-50%, 0);
	}

	.flex_horizontal_vertical {
		flex-direction: row;
	}
}

.date_separator {
	width: 100%;
	float: left;
}

/*****************************************************************
******************* Menu
*****************************************************************/
.menu_scrolldown_button {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 50px;
	height: 50px;
	border: 2 px solid black;
	border-radius: 5px;
	background-color: rgb(200, 200, 200);
	line-height: 50px;
	font-size: 40px;
	text-align: center;
}

.bt_left {
	left: 10px;
}

.bt_right {
	right: 10px;
}

.menu_bar {
	position: absolute;
	top: 60px;
	right: 0;
	margin: 0;
	padding: 0;
	background-color: rgb(235, 228, 143);
	width: 400px;
	max-width: 100%;
	display: none;
	flex-direction: column;
	z-index: 10;
}

.menu_element {
	margin: 0;
	width: calc(100% - 20px);
	text-align: center;
	display: inline-block;
	padding: 0 10px 0 10px;
	text-decoration: none;
	color: black;
	height: 40px;
	line-height: 40px;
	font-size: 30px;
}

.menu_element.selected {
	background-color: rgb(180, 173, 97);
}

.menu_element:hover {
	background-color: rgb(241, 166, 95);
}

.menu_image {
	width: 100%;
	height: 30px;
}

@media only screen and (min-width: 1200px) {
	.menu_scrolldown_button {
		display: none;
	}

	.menu_bar {
		position: relative;
		top: 0;
		height: 30px;
		line-height: 30px;
		border: 2px solid rgb(85, 66, 66);
		background-color: rgb(235, 228, 143);
		margin-top: -4px;
		display: flex;
		flex-direction: row;
		width: 100%;
	}

	.menu_element {
		width: 130px;
		height: auto;
		line-height: 30px;
		font-size: 20px;
	}

	.menu_image {
		width: 30px;
	}
}

.small_button {
	margin: 10px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	display: inline-block;
	padding: 0 10px 0 10px;
	text-decoration: none;
	color: black;
	background-color: rgb(179, 201, 243);
	border: 5px solid rgb(67, 93, 141);
	border-radius: 10px;
	/* color:rgb(67, 93, 141) */
}

.large_button {
	height: 30px;
	width: 95%;
	line-height: 30px;
	color: black;
	background-color: rgb(179, 201, 243);
	border: 5px solid rgb(67, 93, 141);
	border-radius: 10px;
	text-align: center;
}

.large_button:hover {
	opacity: 0.5;
}

/*****************************************************************
******************* General layout
*****************************************************************/

.blank_panel {
	position: relative;
	margin: 5px;
	padding: 10px;
}

.panel {
	position: relative;
	background-color: white;
	border: 2px solid rgb(150, 150, 150);
	border-radius: 10px;
	margin: 5px;
	padding: 10px;
}

.tile {
	float: left;
	margin: 5px;
	border: 3px solid white;
	padding: 3px;
	background-color: white;
	position: relative;
	box-shadow: -2px 2px 10px rgba(100, 100, 100, .9);
	text-decoration: none;
}

.tile_text {
	font-size: 12px;
	margin: 3px;
	color: black;
	text-decoration: none;
}

.tile:hover {
	border: 3px solid rgb(67, 93, 141);
}

@-webkit-keyframes expand_dynamic_image {
	from {
		max-width: 95%;
		max-height: 95%
	}

	to {
		max-width: 110%;
		max-height: 110%
	}
}

@keyframes expand_dynamic_image {
	from {
		max-width: 95%;
		max-height: 95%
	}

	to {
		max-width: 110%;
		max-height: 110%
	}
}

.dynamic_image {
	position: relative;
}

.dynamic_image>img {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	max-width: 95%;
	max-height: 95%;
	cursor: pointer;
}

.dynamic_image:hover>img {
	max-width: 110%;
	max-height: 110%;
	-webkit-animation-name: expand_dynamic_image;
	-webkit-animation-duration: 0.4s;
	animation-name: expand_dynamic_image;
	animation-duration: 0.4s;
}


.blank_table {
	width: 100%;
}

.blank_table th {
	text-align: left;
}

.small_button:hover {
	border: 5px solid rgb(255, 190, 69);
}

.preview_image {
	max-width: 200px;
	max-height: 200px;
	cursor: pointer;
}

.element_list {}

.filter_box {
	width: 400px;
	max-width: calc(100% - 20px);
	padding: 5px;
	margin: 0;
	background-color: white;
	display: none;
	position: absolute;
	z-index: 10;
	top: 60px;
	left: 0;
}

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

	.filter_box {
		width: 180px;
		max-width: 180px;
		position: relative;
		z-index: 1;
		top: 0;
		display: block;
		margin: 5px;
	}

}

.item_list_element {
	float: left;
	margin: 5px;
	border: 3px solid white;
	padding: 10px;
	width: 210px;
	height: 210px;
	background-color: white;
	position: relative;
	box-shadow: -2px 2px 10px rgba(100, 100, 100, .9);
}

.item_list_element>img {
	position: absolute;
	left: calc(50% - 10px);
	top: calc(50% - 10px);
	transform: translate(-50%, -50%);
	max-width: 200px;
	max-height: 200px;
	cursor: pointer;
}

@-webkit-keyframes expand_image {
	from {
		max-width: 200px;
		max-height: 200px
	}

	to {
		max-width: 240px;
		max-height: 240px
	}
}

@keyframes expand_image {
	from {
		max-width: 200px;
		max-height: 200px
	}

	to {
		max-width: 240px;
		max-height: 240px
	}
}

.item_list_element:hover>img {
	max-width: 240px;
	max-height: 240px;
	-webkit-animation-name: expand_image;
	-webkit-animation-duration: 0.4s;
	animation-name: expand_image;
	animation-duration: 0.4s;
}

.item_list_text {
	position: absolute;
	width: 220px;
	left: 2px;
	height: 15px;
	line-height: 15px;
	bottom: 2px;
	font-size: 12px;
}

.item_list_element:hover {
	border: 3px solid rgb(67, 93, 141);
}

.text_overflow {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

[type="checkbox"],
[type="checkbox"]+label {
	width: 20px;
	height: 20px;
	line-height: 30px;
}

input:not([type="checkbox"]),
select {
	width: 100%;
	height: 30px;
	line-height: 30px;
}

/*****************************************************************
******************* Pop down filter
*****************************************************************/

.pop_down>.pop_down_label {
	position: relative;
	background-color: rgb(230, 173, 109);
	border: 2px solid rgb(230, 173, 109);
	width: 100%;
	margin-bottom: 0;
	cursor: pointer;
}

.pop_down>.pop_down_label:hover {
	background-color: rgb(231, 203, 171);
	border: 2px solid rgb(231, 203, 171);
}

.pop_down>.pop_down_label::after {
	content: " ";
	border: solid black;
	border-width: 0 3px 3px 0;
	display: inline-block;
	padding: 3px;
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	position: absolute;
	right: 5px;
	top: 5px;
}

.pop_down.open>.pop_down_label::after {
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
}

.pop_down>.pop_down_contents {
	display: none;
	font-size: 12px;
}

.pop_down.open>.pop_down_contents {
	display: inline-block;
	border: 2px solid rgb(230, 173, 109);
	width: 100%;
	padding: 0;
}

.pop_down [type='checkbox'],
.pop_down [type='checkbox']+label {
	height: 15px;
	line-height: 15px;
	font-size: 12px;
}

/*****************************************************************
******************* Admin tools
*****************************************************************/

.admin_toolbox {
	position: absolute;
	top: 5px;
	right: 5px;
}

.admin_button {
	float: left;
	width: 30px;
	height: 30px;
	margin: 0 5px 0 5px;
	border: 5px solid rgb(58, 58, 83);
	border-radius: 20px;
	background-color: rgb(207, 207, 207);
	opacity: 0.5;
	position: relative;
	text-decoration: none;
	text-align: center;
	line-height: 30px;
	font-size: 30px;
}

.admin_button>img {
	max-width: 25px;
	max-height: 25px;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.admin_button:hover {
	opacity: 1;
}

/*****************************************************************
******************* Element list
*****************************************************************/

.element_list_tile {
	width: calc((100% / 2) - 25px);
	height: 280px;
}

@media only screen and (min-width: 600px) {
	.element_list_tile {
		width: calc((100% / 3) - 25px);
	}
}

@media only screen and (min-width: 900px) {
	.element_list_tile {
		width: calc((100% / 4) - 25px);
	}
}

@media only screen and (min-width: 1200px) {
	.element_list_tile {
		width: 225px;
	}
}

.element_list_tile.small {
	width: 175px;
	height: 240px;
}

.element_list_tile.medium {
	width: 225px;
	height: 150px;
}

.small_decoration_box {
	width: 22px;
	margin: 0;
}

.small_decoration {
	margin: 0 0 2px 0;
	width: 20px;
	height: 20px;
	background-size: contain;
	background-repeat: no-repeat;
	float: left;
	text-align: center;
	font-size: 10px;
	line-height: 20px;
}

.alternate_version {
	background-image: url('../images/alternate.png');
}

.language_english_us {
	background-image: url('../images/flag_english_us.png');
}

.language_english_uk {
	background-image: url('../images/flag_english_uk.png');
}

.language_french {
	background-image: url('../images/flag_french.png');
}

.language_spanish {
	background-image: url('../images/flag_spanish.png');
}

.language_german {
	background-image: url('../images/flag_german.png');
}

.language_dutch {
	background-image: url('../images/flag_dutch.png');
}

.language_italian {
	background-image: url('../images/flag_italian.png');
}

.exclusive {
	background-image: url('../images/self_portrait.png');
}

.front_cover {
	background-image: url('../images/front_cover.png');
}

.small_decoration.pictures {
	background-image: url('../images/icon_picture.png');
}

.small_decoration.stories {
	background-image: url('../images/icon_story.png');
}

.small_decoration.interview {
	background-image: url('../images/icon_interview.png');
}

.small_decoration.advertisement {
	background-image: url('../images/icon_advertisement.png');
}

.small_decoration.review {
	background-image: url('../images/icon_review.png');
}

.small_decoration.movie {
	background-image: url('../images/icon_movie.png');
}

.small_decoration.photo {
	background-image: url('../images/icon_photo.png');
}

.small_decoration.text {
	background-image: url('../images/icon_text.png');
}

.publication_type {
	background-color: rgb(200, 200, 200);
}

/*** navigation */
.nav_button {
	background-color: rgb(230, 173, 109);
	border: 1px solid rgb(230, 173, 109);
	border-radius: 5px;
	width: 30px;
	height: 20px;
	text-align: center;
	font-size: 15px;
	line-height: 20px;
	margin: 0 5px 0 5px;
}

.nav_button:hover {
	background-color: rgb(231, 203, 171);
	border: 1px solid rgb(231, 203, 171);
}

.nav_button.selected {
	background-color: initial;
	border: none;
	opacity: 1;
}

/*****************************************************************
******************* Enlarge button
*****************************************************************/
.enlarge_image {
	background-image: url('../images/icon_enlarge.png');
	opacity: 0.5;
}

.enlarge_image:hover {
	opacity: 1;
}

.check_publication_container {
	position: absolute;
	left: 50%;
	transform: translate(-50%, 0);
	bottom: 5px;
}

.check_publication_container:hover {
	background-color: rgb(255, 255, 100);
}

.check_publication {
	background-image: url('../images/tool_check.png');
	opacity: 0.3;
}

.check_publication.checked {
	opacity: 1;
}

/*****************************************************************
******************* Element details
*****************************************************************/

.contents_tile {
	width: 170px;
	height: 220px;
}

.element_section {
	position: relative;
	background-color: white;
	margin: 5px;
}

.picture_container {
	width: 250px;
	height: 300px;
	position: relative;
}

.picture_container.logo {
	width: 250px;
	height: 150px;
}

.picture_container.small {
	width: 165px;
	height: 200px;
	position: relative;
}

/*.picture_container > img {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	max-width:200px;
	max-height:200px;
 }
 
.picture_container:hover > img {
	max-width:240px;
	max-height:240px;   
	-webkit-animation-name: expand_image;
    -webkit-animation-duration: 0.4s;
    animation-name: expand_image;
    animation-duration: 0.4s;
}*/

/* Add Animation */
@-webkit-keyframes fadein {
	from {
		opacity: 0
	}

	to {
		opacity: 1
	}
}

@keyframes fadein {
	from {
		opacity: 0
	}

	to {
		opacity: 1
	}
}

#large_picture_container {
	position: fixed;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.8);
	-webkit-animation-name: fadein;
	-webkit-animation-duration: 0.6s;
	animation-name: fadein;
	animation-duration: 0.6s;
}

@-webkit-keyframes animatetop {
	from {
		max-width: 10vw;
		max-height: 10vh
	}

	to {
		max-width: 90vw;
		max-height: 90vh
	}
}

@keyframes animatetop {
	from {
		max-width: 10vw;
		max-height: 10vh
	}

	to {
		max-width: 90vw;
		max-height: 90vh
	}
}

#large_picture_container>img {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	max-width: 90vw;
	max-height: 90vh;
	-webkit-animation-name: animatetop;
	-webkit-animation-duration: 0.6s;
	animation-name: animatetop;
	animation-duration: 0.6s;
}

.small_detail_contents {
	float: left;
	margin: 5px;
	border: 3px solid white;
	padding: 10px;
	width: 155px;
	height: 180px;
	background-color: white;
	position: relative;
	box-shadow: -2px 2px 10px rgba(100, 100, 100, .9);
	text-decoration: none;
}

.small_detail_contents>img {
	position: absolute;
	left: 50%;
	top: calc(50% + 20px);
	transform: translate(-50%, -50%);
	max-width: 140px;
	max-height: 150px;
	cursor: pointer;
}

@-webkit-keyframes expand_image2 {
	from {
		max-width: 140px;
		max-height: 140px
	}

	to {
		max-width: 160px;
		max-height: 160px
	}
}

@keyframes expand_image2 {
	from {
		max-width: 140px;
		max-height: 140px
	}

	to {
		max-width: 160px;
		max-height: 160px
	}
}

.small_detail_contents:hover>img {
	max-width: 160px;
	max-height: 160px;
	-webkit-animation-name: expand_image2;
	-webkit-animation-duration: 0.4s;
	animation-name: expand_image2;
	animation-duration: 0.4s;
}

.small_detail_contents:hover {
	border: 3px solid rgb(67, 93, 141);
}

.small_detail_contents_text {
	position: absolute;
	width: calc(100% - 4px);
	left: 2px;
	height: 15px;
	line-height: 15px;
	top: 2px;
	font-size: 12px;
	margin: 0;
	text-decoration: none;
	color: black;
}

.description_container img {
	cursor: pointer;
	max-width: 100%;
}

.detail_contents_container {
	display: inline-block;
}

.nicEdit-main img {
	max-width: 100%;
}

/*****************************************************************
******************* Flag
*****************************************************************/
.flag_container {
	position: absolute;
	right: 10px;
	top: -10px;
}

.flag_container>img {
	width: 60px;
	height: 40px;
}

/*****************************************************************
******************* Edit element
*****************************************************************/

.publication_content {
	background-color: white;
	border: 3px solid rgb(169, 169, 218);
	border-radius: 10px;
	margin-bottom: 5px;
	line-height: 30px;
}

.publication_content>img {
	max-width: 30px;
	max-height: 30px;
}

.publication_content>p {
	margin: 5px 0 5px 10px;
	line-height: 20px;
}

.publication_content:hover {
	border: 3px solid rgb(255, 194, 103);
}

.publication_content>.mini_button {
	width: 40px;
	height: 20px;
	margin: 5px 10px 0 0;
	color: white;
	font-weight: bold;
	border-radius: 5px;
	text-align: center;
	line-height: 20px;
	opacity: 0.5;
	background-color: rgb(150, 150, 150);
	border: 1px solid rgb(150, 150, 150);
}

.publication_content>.delete_element {
	background-color: rgb(255, 0, 0);
	border: 1px solid red;
}

.publication_content>.mini_button:hover {
	opacity: 1;
}

.quality_button {
	width: 20px;
	height: 20px;
	margin: 5px 10px 0 0;
	background-size: contain;
	background-repeat: no-repeat;
	background-image: url('../images/icon_quality.png');
	opacity: 0.5
}

.quality_button.selected {
	opacity: 1;
}

.quality_button:hover {
	background-color: rgb(255, 255, 0);
}

.quality_label {
	position: absolute;
	right: -5px;
	bottom: -5px;
	width: 40px;
	height: 40px;
	background-size: contain;
	background-repeat: no-repeat;
	background-image: url('../images/icon_quality.png');
}

/*****************************************************************
******************* Admin
*****************************************************************/

.user_list,
.user_list>td {
	width: 100%;
	border: 2px solid black;
}