/* Patch for sub-menus from https://github.com/web2py/web2py/issues/938 */
.dropdown-submenu{position:relative;}
.dropdown-submenu>.dropdown-menu{top:0;left:100%;margin-top:-6px;margin-left:-1px;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
.dropdown-submenu:hover>.dropdown-menu{display:block;}
.dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;}
.dropdown-submenu:hover>a:after{border-left-color:#ffffff;}
.dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;}


/* My tweaks */
.btn {border-radius: 8px; margin-left:8px;}
.web2py_grid .row_buttons {white-space: initial; text-align: center;}
.grid_right .row_buttons {text-align:right;}
.web2py_paginator {margin-top:5px; margin-bottom:5px;}
a {color:#0050EF;}
a:hover {color:#0050EF;}
a:after {color:#0050EF;}

.link_btn {padding: 0px 2px 0px 2px; border-radius:4px; margin: 2px; background-color:#c5e4f0; color:#000000; /*text-transform: none;*/}
.action_btn {padding: 4px 8px 4px 8px; margin: 3px; background-color:#ffb546; color:#000000; /*text-transform: none;*/}
.btn_gps {padding-left:12px; padding-right:12px; color:black; background-color:#1bbb8d !important;}

.subtitle {}

/* .txtRight {width:100%; text-align:right;} */
.femelle {background-color:#7CFBC4; padding: 4px; white-space: nowrap;}
.male    {background-color:#FAAB50; padding: 4px; white-space: nowrap;}
.error   {font-size:300%; background-color:#FF0000; padding: 4px; white-space: nowrap;}

.web2py_grid tr.odd {background-color:#D5D3D1;} 
.web2py_grid tr:hover {background-color:#9A9A99;}

.web2py_grid thead {position:relative;}

.large-grid{text-align:left; margin:0px ; box-sizing: border-box; overflow-x:auto; width: 2500px; padding: 0;}
.large-grid-dissection{text-align:left; margin:0px ; box-sizing: border-box; overflow-x:auto; width: 100%; padding: 0;} /*width: 2020px; */
.large-grid-synthesegenerale{text-align:left; margin:0px ; box-sizing: border-box; overflow-x:auto; width: 100%; padding: 0;}
/* .large-grid-synthesegenerale_scroll{text-align:left; margin:0px ; box-sizing: border-box; overflow-x:auto; width: 99%; padding: 0; height:500px;} */
/* .large-grid-synthesegenerale_scroll.web2py_htmltable {overflow-x:none;} */
.small-grid{width:1000px;}

/* .list-echantillon {font-size:12px; text-align:left; height:60px; overflow-x:none; overflow-y:scroll;} */
.list-echantillon {font-size:12px; text-align:left; height:auto; overflow-x:none; overflow-y:auto;}
.colonne-echantillon {width:100px;}
.bouton-echantillon {padding:4px; margin:2px;}

.style-piege-maison{list-style:none;padding-left:12px;padding-right:10px;}
.style-piege-maison-2{display:inline-block; float:left; width:80px;}
.style-piege-maison-3{font-size:13px; text-align: left; padding-top:1px; padding-right:0;border:1px solid;}
.style-piege-maison-4{width:450px;}
.style-piege-maison-boutons{padding-left:0;margin-top: 130px; position:static;}
.style-piege-ligne-boutons{padding-left:0;margin-bottom: 1px; position:static;}
.style-piege-ligne{font-size:13px; text-align: left; padding-top:1px; padding-right:0;border:1px solid;width:700px;}
.style-piege-ligne-2{width:700px;}
.style-piege-maison-btn-span {width:80px;}

.resu-table {}
.resu-table th {width:200px; text-align:center; font-size:75%; color:#777777; padding-left:4px; padding-right:4px;}
.resu-table td {width:200px; border: 1px solid #aaaaaa; text-align:center;}
.resu-table a {color:#0505A0;}

.w2p_trap.button {margin-right: 8px; color: red; background-color:red;}

/* autocomplement widgets width */
#t_dissections_id_nomenclature {width:100%;}
#t_echantillons_type_echantillon {width:100%;}

#t_dissections-observations {width: 200px;}
.bpm-col-boutons {width: 150px; text-align:center;}
.bpm-col-boutons-dissection {height:180px; width:150px; margin:0px; overflow-x:none; overflow-y:auto; text-align:center;}

/* .div-cell {overflow:auto; font-size:9px;} */
/* .div-cell-wide {overflow:auto; font-size:9px;} */
/* .div-cell {max-width:200px; overflow:auto; font-size:9px;} */
/* .div-cell-wide {max-width:150px; overflow:auto; font-size:9px;} */
/* .div-cell {max-width:200px; max-height:250px; overflow:auto; font-size:9px;} */
.div-cell {max-width:250px; overflow-x:auto; font-size:9px;}
/* .div-cell-wide {max-width:150px; max-height:250px; overflow:auto; font-size:9px;} */
.div-cell-wide {max-width:250px; overflow-x:auto; font-size:9px;}

/*.bpm-unlinked-sample {padding:8px; background-color:#B00000; color:white;}
.bpm-linked-sample {padding:8px; background-color:#009000; color:white;}*/
.bpm-unlinked-sample {color:#B00000; font-weight: bold;}
.bpm-linked-sample {color:#00B000; font-weight: bold;}

/* scheduler */
.s3-status {border-radius:8px; width:150px; padding:8px; text-align:center;}
.s3-status-RUNNING {background-color: green; color:#FFF; padding:8px;}
.s3-status-QUEUED {background-color: blue; color:#FFF; padding:8px;}
.s3-status-ASSIGNED {background-color: yellow; color:#FFF; padding:8px; color:#000;}
.s3-status-COMPLETED {background-color: #ccc;; color:#777;}
.s3-status-FAILED {background-color: red; color:#FFF; padding:8px;}
.s3-cell-traceback {max-width:500px; max-height:200px; overflow:auto;}

#tmp_capt_id_capture__row {display: none;}
#tmp_capt_id_capture_autre__row {display: none;}

.night-day-icon {margin-left:33%; margin-right:33%;}

.img-thumb {max-width:200px; max-height:200px;}

#languageChooser {margin-left:32px; margin-right:32px;}
.footer {height:36px; padding-top:4px;}
.logo {margin-left:16px;}

.bpm-panpan {font-weight:bold; color:#33FF33; background-color:black; border-radius:8px; padding:8px;}

#mapReport {height:100%; width:100%;}
.mapReportWrapper {height:500px; width:700px; padding:16px; margin-left:32px; background-color: #EEEEEE;}

.bpm-reqPrepOut { border-collapse: collapse; }
.bpm-reqPrepOut td { border-width: 0.5px; border-style: solid; }

/* .iFrameStructure {width:100%; height:auto; overflow-y: visible; overflow-x: auto; resize: none; position: relative;} */
.iFrameStructure { width:100%; min-height: 100vh; }
#iFrame1 { display:flex; flex-direction:column; width: 100%; }
.iFrame {}

/* Paste this at the end of schemaSpy.css :*/
/*
.diagram {
  zoom: 0.7;
  -moz-transform: scale(0.7);
  -moz-transform-origin: 0 0;
  -o-transform: scale(0.7);
  -o-transform-origin: 0 0;
  -webkit-transform: scale(0.7);
  -webkit-transform-origin: 0 0;
}
.main-footer {
    height:48px;
}
*/

.form-control:focus { border-color: #FF0000; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 0, 0, 0.6); }
.btn:focus { border-color: #FF0000; box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 0, 0, 0.8); }
.delete:focus { border-color: #FF0000; box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 0, 0, 0.8); }

.bpm-bg-legend-div {background-color:#FFFFFF; opacity:0.5; position:fixed; bottom:48px; right:16px; padding:4px 8px 4px 8px;}
.bpm-bg-legend {font-style: italic; color:black; opacity:1;}

.bpm-autocheck-false {background-color:orange; padding:4px;}

#t_detections_echantillon_id__row {background: #BBBBBB; margin:0px; padding-top: 16px;}
#t_detections_dissection_id__row {background: #BBBBBB; margin:0px; }
#t_detections_collecte_id__row {background: #BBBBBB; margin-top:0px; margin-left:0px; margin-right:0px; margin-bottom:16px; }

/*#t_identifications_sequences_accession_number__row {background: #BBBBBB; margin:0px; padding-top: 16px;}
#t_identifications_sequences_sequence_adn__row {background: #BBBBBB; margin-top:0px; margin-left:0px; margin-right:0px; margin-bottom:16px;}*/

/*#t_echantillon_identifications_sequences_test_accession_number__row {background: #BBBBBB; margin:0px; padding-top: 16px;}
#t_echantillon_identifications_sequences_test_sequence_adn__row {background: #BBBBBB; margin-top:0px; margin-left:0px; margin-right:0px; margin-bottom:16px;}*/

.bpm-dna-sequence-div {height:32px; max-width:500px; overflow-x:auto;}
.bpm-dna-sequence {color:#999; font-family:courier;}

.report {width:2000px;}

.motd {color:red;}
