/*

bY Stefano.Deiuri@Elettra.Eu
CSS personalizzato
2019.08.02

*/

.table.Parameters td:nth-child(1) {
	font-weight: bold;
}

img.image_preview {
	width: 300px;
	padding: 5px 0 5px 0;
}
img.form_picture_preview {
	width: 300px;
	padding: 0 0 5px 0;
	display: block;
}

div.dida {
	padding: 5px;
	display: block;
	font-size: 12px;
	margin-bottom: 15px;
}
div.dida > div.alttext {
	font-weight: bold;
}
div.dida > div.imageid::before {
	content: "id: ";
	font-style: italic;
}
div.dida > div.author::before {
	content: "Author: ";
	font-style: italic;
}
div.dida > div.copyright::before {
	content: "Copyright: ";
	font-style: italic;
}


obj_type {
	background: #bbb;
	color: black;
	font-size: 10px;
	font-weight: normal;
	border-radius: 3px;
	padding: 2px 5px 2px 5px;
	margin-left: 10px;
}


table.sample-table th {
	max-width: 30%;	
}

table.obj-table th:nth-child(1) {
	min-width: 200px;
}

table.obj-table tr.group_title th {
	font-size: 18px;
	font-weight: normal;
	padding-top: 30px;
	border-bottom: 1px solid black;
}

table.obj-table td.empty {
	background: #ddd;
}



table#samples_list td span.link {
	text-decoration: underline;
	color: #337ab7;
}

table#defs_list td:nth-child(1),
table#users_list td:nth-child(2) {
	text-decoration: underline;
	color: #337ab7;
}

table#samples_list td span.link:hover,
table#defs_list td:nth-child(1):hover,
table#users_list td:nth-child(2):hover {
	cursor: pointer;
}

table#def_form tr.group td {
	background: #ddd;
}


.inputWarning {
	border: 2px solid red;
	background: #ffaaaa;
}


.selectUnit {
	width: 10em;
	display: inline;
}
.selectVType {
	width: 8em;
	display: inline;
}

input.input-field {
	margin-right: 10px; 
	padding: 5px; 
	border: 1px solid #d2d6de;
}

input.input-readonly {
	background: #eee;
}

label[for="inputauthor_comments"] {
	font-style: italic;
	font-weight: normal;
}

label.sm {
	font-weight: normal;
	font-size:  80%;
}

textarea[name="author_comments"] {
	background: #fff29d;
	font-style: italic;
}

td.author_comments {
	background: #fff29d;
	font-style: italic;	
}
td.author_comments div.last_update {
	display: block;
	text-align: right;
	font-size: smaller;
}


.example-modal .modal {
  position: relative;
  top: auto;
  bottom: auto;
  right: auto;
  left: auto;
  display: block;
  z-index: 1;
}

.example-modal .modal {
  background: transparent !important;
}

li.setting label {
	color: #b8c7ce;
	font-weight: normal;
	margin-left: 1em;
	margin-top: 1em;
}
li.setting input {
	margin-right: 0.5em;
}

.inline_hint {
	font-size: 12px;
	font-weight: normal;
	color: #aaa;
	max-width: 50em;
}

.empty {
	font-style: italic;
	color: #aaa;
	
}

span.unit {
	color: #888;
	padding-left: 5px;
	padding-right: 20px;
}
span.unit::before {
	content: "[";
	}
span.unit::after {
	content: "]";
	}
	
span.unit.warning {
	color: red;
}
	
span.vtype {
	font-family: Times;
	font-style: italic;
	color: #888;
	padding-left: 5px;
	padding-right: 20px;
	}
span.vtype::before {
	content: "(";
	}
span.vtype::after {
	content: ")";
	}

input::placeholder {
	font-size: 12px;
	color: orange !important;
}

button.btn-margin-left {
	margin-left: 10px;
}

div.btn-group-margin-left {
	padding-left: 10px;
}

.modal-preview {
	width: 90%;
	max-width: 1300px;
	}
  
.modal-preview iframe#iframe-preview {
	width: 100%;
	border: 0;
	background-image: url();
	display: none;
	}
	
.modal-preview div#iframe-wait {
	text-align: center;
	font-size: 30px;
	color: #aaa;
	}	
	
