* {-moz-box-sizing: border-box; box-sizing: border-box;}
html {position: relative; height: 100%; margin: 0; padding: 0;}
body {position: relative; height: 100%; background: rgb(30,30,33); color: white; font-family: monospace; margin: 0; padding: 0; overflow-x: hidden;}

/* Hide scrollbars for Chrome, Safari and Opera */
body::-webkit-scrollbar {
  display: none;
}
body {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
/* --------------- */

h1{
	margin: 20px auto;
	font-size: 100px;
	text-align: center;
	color: white;
}
h2{
	margin: 10px auto;
	font-size: 50px;
	text-align: center;
	color: white;
}
h3{
	margin: 5px auto;
	font-size: 30px;
	text-align: center;
	color: white;
}
hr{
    width: 100%;
    margin: 20px auto;
    border: 1px solid #333338;
}
form,img{
	margin: 0;
	padding: 0;
	border: none;
}
table{
	margin: auto;
}
a{
	color: rgb(100,135,185);
}
a:visited{
	color: rgb(100,135,185);
}
a:hover{
	color: rgb(125,170,230);
}
a:active{
	color: rgb(150,185,235);
}
fieldset{
    display: block;
    margin: 0px 18px;
    padding: 0;
	padding-bottom: 25px;
	border: none;
	border-top: 1px dashed white;
}
legend{
	text-align: left;
	font-size: smaller;
	margin-left: 50px;
}
fieldset > p{
	margin: 0px;
	margin-bottom: 10px;
	margin-right: 30px;
	text-align: right;
	font-size: smaller;
	color: #6e6e77;
}
#home_content{
	position: fixed;
    top: 50%;
    left: 50%;
    margin: -210px -215px;
	opacity: 0;
	transition-property: *;
	transition-duration: 500ms;
}
#home_logo{
	margin: auto;
	margin-bottom: 5px;
}
.home_input{
	font-size: 25px;
    margin: 5px 0;
    padding: 15px;
    text-align: center;
    width: 100%;
    border: none;
    border-radius: 5px;
	transition-property: *;
	transition-duration: 500ms;
}
.home_input:focus{
	outline: none;
	box-shadow: inset 0px 0px 10px 1px black;
}
.home_input:disabled{
	color: rgb(217,217,217);
	background-color: rgb(41,41,46);
}
#home_regbutton{
	font-size: 20px;
	margin-top: -5px;
    margin-right: 15px;
    padding: 15px;
    width: 224px;
    text-align: center;
    border: none;
    border-radius: 5px;
	background: rgb(61,61,64);
	color: rgb(206,206,206);
	cursor: pointer;
	transition-property: *;
	transition-duration: 500ms;
}
#home_logbutton{
	float: right;
	margin-left: -999px;
	font-size: 20px;
	margin-top: -5px;
    padding: 15px;
    width: 192px;
    text-align: center;
    border: none;
    border-radius: 5px;
	background: rgb(76,102,125);
	color: white;
	cursor: pointer;
	transition-property: *;
	transition-duration: 500ms;
}
#register_field{
	transition-property: *;
	transition-duration: 500ms;
}
#eye_ctrl{
	float: right;
    opacity: 0;
    margin: -46px 13px;
    cursor: pointer;
}
#back_ctrl{
	position: fixed;
    top: 10px;
    left: 8px;
    width: 25px;
    cursor: pointer;
    display: none;
}
#loadbar{
	position: fixed;
	bottom: 60px;
	left: 0;
	height: 10px;
	margin-top: -10px;
	opacity: 0;
	min-width: 10px;
	background-color: rgb(56,115,56);
	transition-property: *;
	transition-duration: 200ms;
}
#loadbar.nohome{
	bottom: 0;
}
.loader{
	position: absolute;
	bottom: 0;
	height: 10px;
	min-width: 10px;
	width: 100%;
}
#notifications_stack {
    position: fixed;
    bottom: 65px;
    right: 5px;
    margin-left: 10px;
    overflow: hidden;
	z-index: 5;
}
#notifications_stack.nohome{
	bottom: 10px;
    right: 10px;
}
.notification{
	position: relative;
	float: right;
	max-height: 0px;
	opacity: 0;
	transition-property: *;
	transition-duration: 500ms;
	border-radius: 8px 8px 0px 8px;
	clear: both;
	margin-top: 5px;
	padding: 8px 20px;
	font-size: large;
}
.std_notif{
	color: white;
	background-color: rgb(61,61,64);
}
.error_notif{
	color: white;
	background-color: rgb(115,56,56);
}
.success_notif{
	color: white;
	background-color: rgb(56,115,56);
}
.notif_close_button{
	position: absolute;
	cursor: pointer;
	top: 0px;
	right: 5px;
	font-size: smaller;
}

#player{
	
}
#player canvas{
	position: relative;
	top: 50%;
	left: 50%;
}
/* ---DEV--- */
#player video{
	position: relative;
	top: 50%;
	left: 50%;
}
/* --------- */

/* js/window.js */
._window{
    position: fixed;
    background: rgba(255,255,255,0.75);
    color: black;
    margin: 0;
    padding: 0;
    top: -100%;
	left: 50%;
    opacity: 0;
	min-width: 180px;
	min-height: 30px;
    border: 1px solid rgb(51 62 72);
    border-radius: 10px;
    box-shadow: 0px 0px 15px;
    font-size: medium;
	text-align: center;
	transition-property: opacity, all;
    transition: 800ms, 500ms;
}
@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
	._window{
		backdrop-filter: blur(5px) brightness(1.5);
		-webkit-backdrop-filter: blur(5px) brightness(1.5);
		background-color: rgba(255,255,255,0.25);
	}
}
._window h1{
    background: rgb(36 43 47);
    border-radius: 8px 8px 0 0;
    margin: 0 0 8px 0;
    padding: 8px;
    font-size: large;
    font-weight: normal;
}
._window p{
	font-size: larger;
}
._window input{
	width: 150px;
}
._window tr td:first-child{
	text-align: right;
}
._window_content_model{
	display: none;
}
._window_close_button{
    color: rgb(205 75 50);
    float: right;
    margin: -4px 3px 0px 0px;
    font-size: 20px;
    cursor: pointer;
}
/* ---------------- */
input[type=button]{
	/* background: rgb(76,102,125); */
	background: rgb(49 59 67);
	color: white;
	cursor: pointer;
	margin: 5px;
	padding: 10px 15px;
	border: none;
	border-radius: 5px;
}
input[type=number]{
	width: 35px;
}
/* #n_project_button{ */
	/* background: rgb(61,61,64); */
	/* color: rgb(206,206,206); */
	/* cursor: pointer; */
	/* display: inline-block; */
	/* margin: 0; */
	/* padding: 9px 14px; */
	/* border: none; */
	/* border-radius: 5px 0 0 5px; */
/* } */
/* #j_project_button{ */
	/* background: rgb(76,102,125); */
	/* color: white; */
	/* cursor: pointer; */
	/* display: inline-block; */
	/* margin: 0; */
	/* padding: 9px 14px; */
	/* border: none; */
	/* border-radius: 0 5px 5px 0; */
/* } */
.project_item{
    display: inline-block;
    background: url(./media/NOMEDIA.png) no-repeat;
    font-size: large;
    width: 480px;
    height: 310px;
    overflow: hidden;
    transform-origin: top left;
	transition-property: background-position, all;
    transition-duration: 0, 500ms;
    cursor: pointer;
}
.project_item .project_details{
    background: rgba(0,0,0,0.65);
	backdrop-filter: blur(5px) brightness(1.5);
    height: 100%;
    margin-top: 270px;
    transition-duration: 500ms;
	cursor: default;
}
.project_item .project_details h1{
    display: block;
    font-size: larger;
    padding: 7px;
    background: black;
    width: 100%;
    text-align: center;
    height: 40px;
    font-weight: normal;
	background: url(../media/media_details.png) 450px 8px no-repeat
}
.pitem_wrap{
	display: inline-block;
    margin: 5px;
	width: 480px;
	height: 310px;
    transition-duration: 500ms;
    box-shadow: 5px 5px 25px 0px rgba(0,0,0,0.7);
	overflow: hidden;
}
.media-object-wrapper{
	position: relative;
	display: inline-block;
    margin: 6px;
	width: 480px;
	height: 270px;
    transition-duration: 500ms;
    box-shadow: 5px 5px 25px 0px rgba(0,0,0,0.7);
	overflow: hidden;
}
.media-object-wrapper.selected{
	border: 3px solid #6482b4;
    /*transform: scale(0.92);*/
}
.media-object-info{
	position: absolute;
    width: 100%;
    max-height: 0;
    top: 0;
    overflow: hidden;
    background: rgba(0,0,0,0.6);
    padding: 0px 22px;
    text-align: left;
    transition-duration: 250ms;
}
.media-object-info p{
	font-size: medium;
	margin: 5px auto;
}
.media-object-info hr{
	margin: 5px auto;
	border: 1px dashed white;
}
.media-object-info.opened{
	max-height: 100%;
    padding: 8px 22px;
}
.media-object{
    display: inline-block;
    background: url(./media/NOMEDIA.png) no-repeat;
    font-size: large;
    width: 480px;
    height: 270px;
    overflow: hidden;
    transform-origin: top left;
	cursor: pointer;
}
.media-object.selected{
	filter: sepia(1) hue-rotate(165deg);
}
.cam_name{
	float: right;
	margin: -8px;
	padding: 10px 5px 5px;
	border-radius: 0 0 5px 0;
	background-color: #37474f;
	font-size: initial;
}

.shot_separator{
	float: left;
	margin: -42px -200px 0 8px;
	padding: 0 8px;
	font-size: 36px;
	font-weight: bold;
	background-color: #1e1e21;
	color: #333338;
	
}
/*--- CONTEXT MENU ---*/

.contextMenu
{
	position: fixed;
	border: 1px solid rgb(185,185,185);
	background: white;
	min-height: 16px;
	padding: 2px 0;
	z-index: 100;
}

.contextMenu a
{
	display: block;
	cursor: default;
	color: black;
	font-family: Arial;
	font-size: 12px;
	margin: 0;
	padding: 5px 25px;
	background-repeat: no-repeat;
	background-position: 4px center;
}
.contextMenu a:hover
{
	color: white;
	background-color: rgb(65,130,245);
}
.contextMenu hr
{
	width: 100%;
	border: none;
	border-top: 1px solid lightgrey;
	margin: 2px 0;
}
.contextMenu .inactive
{
	color: grey;
}
.contextMenu .inactive:hover
{
	color: grey;
	background-color: white;
}
/*--- --- ---*/
#day_seq_switch{
	display: inline-block;
	background: url(../media/sd_switch.png) top right no-repeat;
	background-size: cover;
	width: 90px;
	height: 47px;
	margin: -4px 6px;
	cursor: pointer;
}
#search_input{
    display: inline-block;
    vertical-align: top;
    margin: -4px 2px;
    padding: 14px;
    border-radius: 10px;
    width: 450px;
	transition: 500ms;
}
#bottom_bar{
	width: 100%;
	height: 60px;
	position: fixed;
	padding: 10px;
	bottom: 0;
	left: 0;
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	background: rgba(45,45,48,0.5);
	border: none;
	border-top: 1px solid rgba(103,103,105,0.5);
	font-size: x-large;
	color: #aaaaaa;
	text-align: center;
}
#bottom_bar span{
	display: inline-block;
	padding: 8px 5px;
}
#bottom_bar input[type=button]{
    vertical-align: top;
    margin: 2px 5px;
}
#bottom_logo{
	position: fixed;
	background: url(../media/bottom_logo.png);
	width: 172px;
	height: 85px;
	bottom: 10px;
	right: 10px;
	z-index: 2;
}
#main_wrapper{
	min-height: 100%;
	margin-top: 75px;
	padding-bottom: 75px;
}
#main_content{
	position: relative;
	margin: 0;
	opacity: 0;
	padding: 5px;
	padding-top: 0;
	width: 100%;
    text-align: center;
    font-size: x-large;
	transition: 500ms;
}
#medias_content{
	transition: 1000ms;
}
#player{
	position: fixed;
	padding: 0;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: black;
	display: none;
	opacity: 0;
	transition: 300ms;
}
/* Nothing to display <p>*/
	#nothing{
		position: relative;
		text-align: center;
		font-size: x-large;
		top: 40%;
	}
/* ------------ */
/* Project tree */
	#navigation_path{
		position: fixed;
		top: 0;
		margin: 0;
		opacity: 1;
		padding: 18px 10px 16px 15px;
		width: 100%;
		color: rgb(100,135,185);
		text-align: left;
		font-size: 18px;
		white-space: nowrap;
		z-index: 1;
		background-color: inherit;
		box-shadow: -137px 25px 80px rgba(0,0,0,.5);
		transition-property: opacity;
		transition-duration: 100ms;
		overflow-x: auto;
	}
	#navigation_path:hover{
		opacity: 1
	}
	#navigation_path:before{
		content:'';
		height: 50px;
		position: relative;
	}
	#navigation_path a{
		color: rgb(240,240,240);
		text-decoration: none;
	}
	#navigation_path a:hover{
		color: white;
		text-decoration: underline;
	}
	#ptree_title{
		display: inline;
	}
	#ptree_short_title{
		display: none;
	}
/* --------- */
/* Side menu */
	#side_menu{
		max-width: 0px;
		position: fixed;
		top: 0;
		right: 0;
		width: 350px;
		height: 100%;
		background: rgba(255,255,255,0.8);
		/* box-shadow: 0px 0px 20px 20px #1c1c1c; */
		overflow: hidden;
		transition: 500ms;
		z-index: 1;
	}
	#side_menu.opened{
		max-width: 500px;
		box-shadow: 0px 0px 20px 20px rgba(28,28,28,0.67);
	}
	#_sm_ctrl_wrap{
		position: fixed;
		top: 15px;
		right: 15px;
		width: 35px;
		height: 35px;
		cursor: pointer;
		transition: 500ms;
	}
	#side_menu_ctrl{
		width: 35px;
		height: 6px;
		background: #fff;
		margin: 14px auto;
		cursor: pointer;
		transition: 500ms;
	}
	#side_menu_ctrl:before, #side_menu_ctrl:after {
	  content: "";
	  width: 35px;
	  height: 6px;
	  background: #fff;
	  position: absolute;
	  transition: 500ms;

	}
	#side_menu_ctrl:before {
	  top: 0;
	}
	#side_menu_ctrl:after {
	  bottom: 0;
	}
	#side_menu_ctrl.mouseover{
		background: none;
	}
	#side_menu_ctrl.mouseover:before{
		transform: rotate(-45deg);
		margin: 4px -5px;
	}
	#side_menu_ctrl.mouseover:after{
		transform: rotate(45deg);
		margin: 4px -5px;
	}
	#side_menu_ctrl.active{
		background: none;
	}
	#side_menu_ctrl.active:before{
		background: #1e1e21;
		transform: rotate(45deg);
		margin: 0px 24px;
		width: 18px;
		height: 3px;
	}
	#side_menu_ctrl.active:after{
		background: #1e1e21;
		transform: rotate(-45deg);
		margin: 32px 24px;
		width: 18px;
		height: 3px;
	}

/* ------------- */
/* Media Queries */
@media screen and (max-width: 1550px) {
	.media-object{
		transform: scale(0.9);
	}
	.media-object-wrapper{
		width: 432px;
		height: 243px;
	}
}
@media screen and (max-width: 1200px) {
	.media-object{
		transform: scale(0.7);
	}
	.media-object-wrapper{
		width: 336px;
		height: 182px;
	}
}
@media screen and (max-width: 1000px) {
	#bottom_bar{
		text-align: left;
	}
	.media-object{
		transform: scale(0.8);
	}
	.media-object-wrapper{
		width: 384px;
		height: 216px;
	}
	.project_item{
		transform: scale(0.8);
	}
	.pitem_wrap{
		width: 384px;
		height: 248px;
	}
}
@media screen and (max-width: 840px) {
	#bottom_bar input[type=button]{
		display: none;
	}
}
@media screen and (max-width: 800px) {
	.media-object{
		transform: scale(0.65);
	}
	.media-object-wrapper{
		width: 312px;
		height: 175.5px;
	}
	.project_item{
		transform: scale(0.65);
	}
	.pitem_wrap{
		width: 312px;
		height: 201px;
	}
}
@media screen and (max-width: 750px) {
	#search_input{
		width: 360px;
	}
	#ptree_title{
		display: none;
	}
	#ptree_short_title{
		display: inline;
	}
}
@media screen and (max-width: 700px) {
	.medium_screen{
		display: none;
	}
}
@media screen and (max-width: 660px) {
	#bottom_bar{
		font-size: large;
	}
	#search_input{
		width: 282px;
	}
	.media-object{
		transform: scale(0.9);
	}
	.media-object-wrapper{
		width: 432px;
		height: 243px;
	}
	.project_item{
		transform: scale(0.9);
	}
	.pitem_wrap{
		margin: 5px auto;
		width: 432px;
		height: 279px;
	}
}

@media screen and (max-width: 580px) {
    #bottom_logo{
    	display: none;
    }
	#bottom_bar{
		text-align: center;
	}
	#main_content::after {
		content: "";
		background: url(../media/bottom_logo.png) no-repeat fixed center;
		opacity: 0.3;
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
		position: absolute;
		z-index: -1;   
	}
	#search_input{
		width: 375px;
	}
}
@media screen and (max-width: 500px) {
	#home_content{
		transform: scale(0.8);
	}
	#search_input{
		width: 300px;
		margin-right: -3px;
	}
	.media-object{
		transform: scale(0.8);
	}
	.media-object-wrapper{
		width: 384px;
		height: 216px;
	}
	.project_item{
		transform: scale(0.8);
	}
	.pitem_wrap{
		width: 384px;
		height: 248px;
	}
}
@media screen and (max-width: 420px) {
	.media-object{
		transform: scale(0.7);
	}
	.media-object-wrapper{
		width: 336px;
		height: 182px;
	}
	.project_item{
		transform: scale(0.7);
	}
	.pitem_wrap{
		width: 336px;
		height: 217px;
	}
	#bottom_bar span{
		display: none;
	}
	#search_input{
		width: 240px;
	}
}
@media screen and (max-width: 380px) {
	#home_content{ transform: scale(0.7);}
	#search_input{ width: 195px;}
	.media-object{
		transform: scale(0.6);
	}
	.media-object-wrapper{
		width: 288px;
		height: 162px;
	}
	.project_item{
		transform: scale(0.6);
	}
	.pitem_wrap{
		width: 288px;
		height: 186px;
	}
}
@media screen and (max-width: 320px) {
	#home_content{
		transform: scale(0.55);
	}
	#search_input{
		width: 120px;
	}
	.media-object{
		transform: scale(0.5);
	}
	.media-object-wrapper{
		width: 240px;
		height: 135px;
	}
	.project_item{
		transform: scale(0.5);
	}
	.pitem_wrap{
		width: 240px;
		height: 155px;
	}
}
/*-----------DEVELOPMENT-----------*/
#search_input{
	visibility: hidden;
}
#side_menu{
	visibility: hidden;
}
#day_seq_switch{
	float: left;
}