/* 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 {overflow-x: auto;}
.web2py_grid .row_buttons {white-space: initial; text-align: center;}
/* for paginator duplication on top of grid (see layout.html)*/
.web2py_paginator {margin-top:5px; margin-bottom:5px;}
.web2py_counter {width:100%;}
/* div.w2p_flash.alert {background-image:url(../images/glitter_pink.gif); top:90px; border:1px solid #f0f0ff; border-radius:4px; color:white; font-weight:bold;} */
div.w2p_flash.alert {background-color: #ffb26f; background-image:initial; top:90px; border:4px solid #ff6600; border-radius:8px; padding:12px;}


#languageChooser{margin-top:20px;}
#languageChooser>span{color: #d1d1d1;}

#t_taxons-auto_fullpath_names {width: 1000px;}

#t_geographies-auto_fullpath_names {width: 1000px;}

#datamatrix_samples-comments {width: 200px;}

#datamatrix_boxes-tubes {width: 500px;}
#datamatrix_boxes-auto_report {width: 500px;}
.reportDiv {max-height: 400px; overflow: auto;}

#serologie_elisa-avg_ts {width: 120px;}
#serologie_elisa-avg_bl {width: 120px;}
#serologie_elisa-temps_reac {width: 120px;}
#serologie_elisa-id_file {width: 200px;}

#v_diagnostics_by_plot-nb_prelevements {width: 120px;}
#v_diagnostics_by_plot-nb_diagnostics {width: 120px;}
#v_diagnostics_by_plot-nb_positifs {width: 120px;}
#v_diagnostics_by_plot-nb_negatifs {width: 120px;}
#v_diagnostics_by_plot-nb_incertains {width: 120px;}
/* #t_variants_variant_value {max-width:800px; overflow:scroll;} */

/* Widgets autoselect */
#t_taxons_parent_id {width:100%;}
#t_geographies_parent_id {width:100%;}
#t_plantes_geographie_id {width:100%;}
#t_plantes_taxon_id {width:100%;}
#t_plantes_parcelle_id {width:100%;}
#t_parcelles_geographie_id {width:100%;}
#t_parcelles_taxon_culture_id {width:100%;}
#t_diagnostics_taxon_id {width:100%;}
#t_transmissions_taxon_id_vecteur {width:100%;}
#no_table_taxon_id {width:100%;}
#no_table_taxon_id_vecteur {width:100%;}
#t_sequences_variant_id {width:100%;}
#t_variants_taxon_id {width:100%;}
#t_environnements_taxon_id {width:100%;}
#t_environnements_geographie_id {width:100%;}

.maTable { font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
		border-collapse: collapse;
		}
.maTable th {background-color: #ddd; 
			color : black;
			padding: 2px 12px 2px 12px;
			text-align : center;}
.maTable td {border: 1px solid #ccc; 
			padding: 2px 12px 2px 12px;}
.maTable tr:hover {background-color: #4CAF50;}

/* h2 {color : red;} */
.confid {color : red;}
.confid_img {max-width:20%;}

.dnaSequence {width: 800px; overflow-x:scroll;}

.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;}

.storedReportOut { border-collapse: collapse; }
.storedReportOut td { border-width: 0.5px; border-style: solid; padding-left:4px; padding-right:4px;}

.iframeStructure {width:100%; height:2000px;}

