/* overrides bootstrap's defaults */
h1,h1 span{ font-family: "Open Sans","Arvo","Courgette","Abel","Sans-Serif"; text-transform: lowercase; font-variant: small-caps;  }
h2,h3,h4,h4>span,h5,h6,footer, .panel-heading { font-family: "Abel","Sans-Serif";  }
.panel-heading button.close { color: #fff; opacity: 1; }
*  { font-family: "Open Sans","Sans-Serif";}
h1 button { font-variant: normal; }
body {
	height: 100%;
	/*padding-top: 50px;*/
	/*padding-bottom: 50px;*/
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-y : hidden;
}
#mainContainer {
	position: absolute;
	width: 100%;
	top: 50px;bottom: 50px;
	margin-top: 0px;
	margin-bottom:0px;
	/*height: 100%;*/
	max-height: calc(100% - 100px);
	/*height: -o-calc(100% - 100px); [> opera <]*/
	/*height: -webkit-calc(100% - 100px); [> google, safari <]*/
	/*height: -moz-calc(100% - 100px); [> firefox <]*/
	overflow-y: auto;
}
#mainPage { 
	margin-top: 0px; padding-top: 0px; padding-bottom: 0px; height: 100%;
	backdrop-filter: blur(8px) greyscale(1);

}
/*div { border: 1px solid #999; }*/ /* Bootstrap layout debugging */
.hasBackgroundImage {
	/* background: url('/img/computer-768696_1920.jpg') no-repeat center center fixed; */
	background: url('/img/PIXNIO-321843-1920x1281.jpg') no-repeat center center fixed;
	/* background: url('https://source.unsplash.com/1600x900/?office') no-repeat center center fixed; */
	-webkit-background-size: cover;
	background-size: cover;
}
.page-header { margin-top: 14px; }
/*.page-header { text-shadow: 2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff, 1px 1px #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff; }*/
#authPanel.well { border-radius: 20px; }
#authPanel h2 {
	font-size: 96pt;
	color: #fff;
	text-shadow: 0px 0px 4px rgba(0,0,0,0.3);
	margin-bottom: 20px;
}
#authPanel input { opacity: 0.7; }
.welcomeMessageContainer,.semiOpaque { opacity: 0.9; }
.halfOpaque { opacity: 0.5; }
.quarterOpaque { opacity: 0.25; }
iframe { border: 0px; }
#topBar, .navbar-fixed-bottom { border:0px; }
#navbar .dropdown-menu li a { margin-top: 2px; margin-bottom: 2px; }
#navbar .dropdown-menu a { color: #333; }
#navbar .dropdown-menu li.active a { color: #fff; }
#navbar .dropdown-menu i {
	margin-left: -10px;
}
#navbar .dropdown-menu i {
	margin-right: 10px;
}
#title { margin-left: 55px; color: #eee; top:2pt; }
#navbar { background-image: url('/img/pen.png'); background-repeat: no-repeat no-repeat; }
.navbar-brand { padding: 14px 15px }
.navbar-brand /*, #lockInfo*/ { font-weight: normal; font-size: 18pt; letter-spacing: 6pt;/* font-variant: small-caps ;*/ text-transform: uppercase;}
.navbar-locked .navbar-nav>.active>a { background-color:#59C; }
.navbar-locked { background-color: #337ab7; }
.navbar-locked #navbar > ul > li > a {color: #CCF;}
.navbar-locked #navbar > ul > li > a:hover {color: #FFF;}
.navbar-locked #navbar > ul > li.active > a {color: #FFF;}
.mobileTitle { text-align: center; color: #fff; letter-spacing: 4pt; font-variant: small-caps ; }
.content {
	display: block;
	overflow: hidden;
	width: auto;
}
#msgContainer {
	z-index: 10000;
	position: fixed;
	top: 58px;
}
.simplecolorpicker.icon {
	height:1.5em;
	width:1.5em;
	margin:1px;
	border-radius: 4px;
}
#logViewer {
	font-size: 8pt;
	color: #999;
}

footer { padding: 14px; color: #fff; font-family: Abel, Helvetica, sans-serif; }
#UserNameInFooter { float: right; }


/* Modal Effects */
.modal.fade .modal-dialog {
	-webkit-transform: scale(0.3);
	-moz-transform: scale(0.3);
	-ms-transform: scale(0.3);
	transform: scale(0.3);
	top: 0px;
	opacity: 0;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;

}

.modal.fade.in .modal-dialog {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	-webkit-transform: translate3d(100, 50px, 0);
	transform: translate3d(100, 0px, 50);
	opacity: 1;
}
/* Correctif aspect des previews de kartik fileinput */
.file-drop-zone-title { color: #e0e0e0; font-size: 4vw;/* text-shadow: 0 0 6px rgba(0,0,0,0.6);*/ }
.file-preview-other { border: 0; height: auto; margin:0; padding: 0; }
.file-preview-frame, .file-preview-image, .file-preview-other { vertical-align: top; }

/* Dispatcher specifics */
.dispatcher_doc_title { /*font-size: 12pt;*/ font-weight: bold;}
.dispatcher_doc_title i.pdficon { margin-right: 10px; display: inline-block; }
#dispatcher_table td { vertical-align:middle; }
#dispatcher_table button.btn-default.selectRow i { color: #fff; }
button.btn-default.checkboxBtn i { color: #fff; }

/* Intermediate size for FontAwesome */
.fa-16x { 1.6em; }

/* Aesthetic fixes */
.round { border-radius: 12px; }
.thumbnail.blurryBG:hover img {  }
.thumbnail.blurryBG:hover { border: 1px solid #FFF; box-shadow: 0px 0px 12px #FFF;
	background-color: rgba(255,255,255,1);
	-webkit-transition: background-color 0s;
	-moz-transition: background-color 0s;
	transition: background-color 0s;
}
.thumbnail { height: 330px; border: 1px solid #ccc;  }
.blurryBG, .xblurryBG { background-color: rgba(255,255,255,0.8); }
.blurryBG {
	-webkit-transition: background-color .75s ease-out;
	-moz-transition: background-color .75s ease-out;
	transition: background-color .75s ease-out;
}
.blurryBG.bg-success { }
/*.imgContainer { background-color: rgba(255,255,255,1); }*/
/*
div.thumbBtn {margin: auto; width:68%; border : 0px solid #000; position: absolute; top: 60%; }*/
/*.thumbBtn button + .thumbBtn button { margin-left: 100px; }
*/
.thumbContainer { margin:0 ; padding: 0; height: 250px; }
.thumbTitle { font-size: 8pt; margin: 0; cursor: pointer; }
.thumbDate { font-size: 8pt; margin: 0; font-style: italic; color: #999; }

.docTag { position: absolute; top:14px; left: 28px; opacity: 0.7; }
.docTagUnread { position: absolute; top:14px; right: 28px; opacity: 0.7;  }
/*.docLabel { position: absolute; bottom: 40px;}*/

/* Round Buttons */
.btn-circle {
	width: 30px;
	height: 30px;
	text-align: center;
	padding: 6px 0;
	font-size: 12px;
	line-height: 1.428571429;
	border-radius: 17px;
	border: 0px solid #fff;

}
.btn-circle.btn-lg {
	width: 50px;
	height: 50px;
	padding: 10px 16px;
	font-size: 18px;
	line-height: 1.33;
	border-radius: 25px;

}
.btn-circle.btn-xl {
	width: 70px;
	height: 70px;
	padding: 10px 16px;
	font-size: 24px;
	line-height: 1.33;
	border-radius: 35px;

}

/* tests dropzone */
.dropzone { border: 0; }
#dropArea {
	width: 100%;
	min-height: 400px; height:100%;
	border: 6px dashed #a94442;
	border-radius: 20px;
}
#dropArea h1 { color: #a94442; font-family: 'Abel',Sans-Serif; margin-top:150px; letter-spacing: 0.4em; }
.dropzone .dz-preview .dz-image {
	margin: 2px; padding: 2px;
	width: 160px;
	height: 200px;

}
.dropzone .dz-preview .dz-image, .thumbnail {
	border-radius: 3px;
	box-shadow: 0px 0px 8px rgba(0,0,0,0.1);
	border: 1px solid #ccc;
}
.dropzone .dz-preview.dz-file-preview .dz-image {
	     border-radius: 3px;
}
blockquote {
	font-size: inherit;
	border: 0px;
	font-style: italic;
	padding: 0px;
}

a#processed_text { text-decoration: none; }
.newthumb img { margin-top: 16px; margin-left: 16px; margin-right: 16px }
.newthumb .docTag { z-index: 1; left: 10px }
.newthumb .docTagUnread { z-index: 1; right: 10px }

/* wide modal / css class : modal-wide */
@media screen and (min-width: 800px) {
	.modal.modal-wide .modal-dialog {
		width: 90%;
	}
}
.modal-wide .modal-body {
	/*	overflow-y: auto;*/
}
.avatar {
	height: 38px;
	border-radius: 100%;
	border: 0.1em solid #bbb;
	margin-right: 10px;
}
.avatar.small {
	height: 34px;
	/* border-radius: 8px; */
}
.photo {
	margin: auto;
	/* height: 80px; */
	width: 80px;
	border-radius: 8px;
	border: 1px solid #CCC;
}
a.confidential, button.confidential, .confidential * {
	color: #C33;
}
