/* General (W3C CSS 2.1 default) */
* {padding:0;margin:0;}
table {border-spacing:0;}

/* FoxInCloud */
p.FIC {font:9pt verdana,sans-serif; color:#404040; margin-top:.5em;}
p.AI {margin:0;}
div:focus{outline: none}
button {white-space: normal; overflow: hidden;}
body:not(.bootstrap) h1, body:not(.bootstrap) h2, body:not(.bootstrap) h3 {font-family:verdana, sans-serif;}
body:not(.bootstrap) h1 {font-size: 1.6em; margin-top: 1em;}
body:not(.bootstrap) h2 {font-size: 1.4em; margin-top: .8em;}
body:not(.bootstrap) h3 {font-size: 1.0em; margin-top: .4em;}
body.bootstrap iframe {width: 100%;}
code, kbd, pre, samp, .awHTMLgenError {
  font-family: Menlo,Monaco,Consolas,"Courier New",monospace;
}
code, .awHTMLgenError {
  background-color: #eeeeee;
  color: #2a2a2a;
  border-radius: 4px;
  font-size: 90%;
  padding: 2px 4px;
}
code {
  font-weight: bold;
}
.awHTMLgenError {
  white-space: normal;
  margin-top: .5em;
  top: 0!important;
}
div.awHTMLgenError {
  position: absolute;
  top: 0!important;
}

.awfrm h1 {font:12pt verdana,sans-serif; }
input[readonly], textarea[readonly] {background-color: #F7EEEE;} /* same as VFP */
textarea.editbox {resize:none;}
div.awfrm, div.awpgf, div.awpag, div.awpag.pageTab, div.awcnt, div.olecontrol, div.awgrd {
  outline: 0;
}
.awpgf {
  box-sizing:content-box; /* Bootstrap, en attendant de modifier FoxInCloud.pgf */
}
.awpgf div.pageTab {
  box-sizing:content-box; /* Bootstrap */
  position:absolute;
  text-align:center;
	-moz-border-radius-topleft:.3em; -webkit-border-top-left-radius:.3em; border-top-left-radius:.3em;
	-moz-border-radius-topright:.3em; -webkit-border-top-right-radius:.3em; border-top-right-radius:.3em;
}
.awpgf .awpag.pageTab:not([active]):hover {
  cursor: pointer;
}
select.listbox {padding: 2px; border-width: 1px; border-style: solid;}

/* awProcess::wFormStandardPage() */
#awPage-container {margin:5px; }
.awForm-container {position:relative; overflow:visible; } /* margin-left: -15px; form shadow */
.awForm-container td, .awForm-container th {padding:0; }
#awForm-container {position:relative; overflow:visible; } /* back compat */
#awForm-container td, #awForm-container th {padding:0; } /* back compat */
.awForm-middle {;
  position:relative;
  margin-bottom: .5em;
}

.awForm-middle.osx_yos_window{
	margin: 10px;
	border-radius:5px;
	overflow: hidden;
	box-shadow: 0px 21px 43px rgba(38,25,13,0.52), 0px 0px 1px rgba(181,180,181,1);
}
.awForm-signature {margin-right:30px; text-align:right; font:bold 18px Franklin,calibri,verdana,sans-serif; letter-spacing:1px; }
.awForm-signature a {text-decoration:none;}

div.spnbtn {position:absolute; text-align:center; background-color:#EBE9ED; border:2px outset; 
-moz-user-select:none; /* Controls the appearance (only) of selection */
-moz-border-left-colors:#DCDFE4 #FFFFFF; 
-moz-border-right-colors:#85878C #A7A6AA; 
-moz-border-top-colors:#DCDFE4 #FFFFFF; 
-moz-border-bottom-colors:#85878C #A7A6AA; }

div.progressBar {background:url(progressBarBlue15.jpg) repeat-x; height:15px; bottom:0; color:white; font-size:10px; position:absolute; z-index:5; }

/* Windows override */
.title_window {
	overflow: hidden;
	font: 9pt Tahoma,arial,helvetica,sans-serif;
	height: 11pt; /*margin-top: 7.5pt;*/
}

.title_window a img {
    opacity: 0;
}
.title_window a:hover img {
    opacity: 100;
    transition: opacity .5s ease-in-out;
}

/* ActiveWidget's (grid) aw.css override */
.aw-all .aw-grid-control {background:inherit; }
.aw-all .aw-grid-box {padding:0; }
.aw-all .aw-grid-separator {z-index:2!important; }

.aw-strict .aw-grid-row {padding-bottom:4px; } /* sizing adjustment for standards mode doctype - leave 4px total with border!*/  
.aw-strict .aw-grid-cell {padding-right:3px;}
.aw-strict .aw-item-marker {height:16px; } /* 15px in AW.css - vertically centers check box in regular grid lines */

.aw-alternate-odd {background-color:#F0FFFF; }
.aw-alternate-even {background-color:#FFFFFF; }

.aw-strict .aw-rows-selected .aw-grid-cell {font-weight:bold!important; } /* V 1.10: supprimé pour réglage par grille : .aw-grid-control .aw-cells-selected {color: #fff!important;background: #478bdf!important;} */

.aw-strict .aw-grid-control .aw-edit-cell, .aw-strict .aw-grid-control .aw-input-box {color:#000!important; background:#fff!important; }
.aw-strict .aw-grid-control .aw-combo-box {color:#000; background:#fff; } /* !important removed 2015-03-15 */

.aw-touch .aw-hpanel-middle {
  overflow:scroll; /* 2017-12-29 remove double scrollbars (JFM) */
}

.aw-strict div.form.bootstrap .aw-grid-control {
  width: 100%!important;
  box-sizing: border-box;
}

/* navigation/menu section - deprecated by jQueryUI */
#nav {height:33px; }
#nav nav ul {height:30px; }
#nav p {color:gray; margin-left:10px; }

/* protofish.css override - deprecated by jQueryUI */
ul.menu {font:11px verdana; margin-top:0; }
ul.menu li {line-height:.8; }

/* jQueryUI overrides */

body:not(.bootstrap) nav#awMenu {
	/* height: 30px; */
	/* margin-top: .2em; */
	/* margin-bottom: .3em; */
	/* background-color: #F5F5F5; */
}
nav#awMenu ul {z-index: 2;}
nav#awMenu ul ul.popup {z-index: 100;} /* over child forms */

.ui-menu.menubar {float:left;}
.ui-menu.menubar li:last-child {border-right: none; }
.ui-menu, .ui-menu .ui-menu {
  font: 8pt verdana;
  padding-top: 0;
  padding-bottom: 0;
}
.ui-menu .ui-menu {
  margin-top: 0;
}
.ui-menu .ui-state-disabled {
  margin-top: 0;
}
.ui-menu, .ui-menu ul {
	/* overflow:hidden; no! - hides sub-menus */
}
.ui-menu ul.popup.shadow {
	-moz-box-shadow: 2px 2px 4px #000; 
	-webkit-box-shadow: 2px 2px 4px #000; 
	box-shadow: 2px 2px 4px #000; 
}
.ui-menu li { /* menu pads and bars */
	width:auto!important; /* pads and bars adjust to contents */
	white-space: nowrap;
	display: inline-block; /* pads display in line like in VFP */
	border-right: 1px solid lightgray; /* pads vertical separator */
}
.ui-menu li.popup { /* exception for popup bars */
	display: block; /* bars are stacked */
	border-right: none; /* no vertical separator */
}
.ui-menu li.popup.invert { /* DEFINE BAR INVERT */
	border: 1px solid;
	background-color: lightgrey;
}
.ui-menu li.popup.title, .ui-menu li.popup.footer { /* DEFINE POPUP ... TITLE || FOOTER */
	text-align: center;
	background-color: lightgrey;
	padding: 0.2em 0.5em;
}
.ui-menu li.popup.title { /* DEFINE POPUP ... TITLE */
	margin-bottom: 5px;
}
.ui-menu li.popup.footer { /* DEFINE POPUP ... FOOTER */
	margin-top: 5px;
}

.ui-menu ul.ui-menu-icons a { /* DEFINE BAR ... PICTURE */
	background-repeat: no-repeat;
	background-position: 3px center;
	}

.ui-menu ul.ui-menu-icons span.mark { /* DEFINE BAR ... MARK */  /* to be improved ... */
	background-image: url("/awScripts/jQuery-ui-1.10.2/themes/smoothness/images/ui-icons_222222_256x240.png");
	background-position: -64px -144px;
	display: block;
	float: left;
	height: 16px;
	width: 16px;
	position: relative;
	left: -22px;
	margin-right: -16px;
}
.ui-menu-item .ui-menu-item-wrapper, .ui-menu-item div {
  background-repeat: no-repeat;
  background-position: 0.3em center;
}
label.ui-button {
 padding: 0;
}


.ui-datepicker {
  font-size: 0.8em;
}

/*
{en} Syntax color highlighting tags for <path to VFP9>\tools\ab\aw\awTxt.prg!awCodeParser class - custom language styles that are attached to the languages defined in .\awCodeParser.txt - override in xxx.css as you see fit
{fr} Colorisation de syntaxe générée par <path to VFP9>\tools\ab\aw\awTxt.prg!awCodeParser class - styles pour les classes de languages définies par .\awCodeParser.txt - surchargez dans xxx.css si vous le souhaitez
*/
.programcontrol {color: blue;} 

.vfpcode {font-family: Consolas;}
.vfpcode .functions {color: blue;}
.vfpcode .commands {color: blue;} 
.vfpcode .methods {color: darkblue;} 
.vfpcode .properties {color: blue;}
.vfpcode .classes {
	color: red;
	font-size: 120%;
} 
.vfpcode .events {color: #483D8B;} 
.vfpcode .systemvars {color: blue;}
.vfpcode .codecomment {color: green;}
.vfpcode .codestring {background-color: rgb(255, 255, 0); /* yellow */ padding-top: 0.1em;}

.css .codecomment {color: blue;}
.css .codec1{}
.css .codec2{color: green;}
.css .codec3{color: red;}

.javascript .codecomment {color: blue;}
.javascript .codec1{}
.javascript .codec2{color: green;}
.javascript .literals{color: red;}
.javascript .codestring {background-color: rgb(255, 255, 0); /* yellow */ padding-top: 0.1em;}

/* -- Form 'awfrmsplash' -- */
.awfrmsplash:not(.bootstrap) {color:#000000;background-color:#FFF;}
.awfrmsplash:not(.bootstrap) .awfrmsplash-imgfic {width:605px;height:250px;left:2px;top:0px;clip:inherit;}
.awfrmsplash:not(.bootstrap) .awfrmsplash-imgjq {width:250px;height:63px;left:340px;top:293px;clip:inherit;left:340px;top:285px;}
.awfrmsplash.bootstrap .awfrmsplash-imgjq {margin-top: 20px;}
.awfrmsplash:not(.bootstrap) .awfrmsplash-imgwc {width:270px;height:74px;left:30px;top:363px;clip:inherit;left:30px;top:350px;}
.awfrmsplash.bootstrap .awfrmsplash-imgwc {margin-top: 20px;}
.awfrmsplash:not(.bootstrap) .awfrmsplash-imgaw {width:270px;height:43px;left:340px;top:394px;clip:inherit;left:340px;top:376px;}
.awfrmsplash.bootstrap .awfrmsplash-imgaw {margin-top: 50px;}

.awfrmsplash .awfrmsplash-lblbs {background-color:transparent;color:#563D7C;font-size:40pt;}
.awfrmsplash:not(.bootstrap) .awfrmsplash-lblbs {background-color:transparent;color:#563D7C;width:283px;height:80px;left:30px;top:280px;}
.awfrmsplash.bootstrap .awfrmsplash-lblbs {display:block;text-align: center;}

.awfrmsplash .awfrmsplash-lblversion {text-align:right;background-color:transparent;color:#404040;cursor:pointer;font-family:'Courier New';font-size:12pt;}
.awfrmsplash:not(.bootstrap) .awfrmsplash-lblversion {width:605px;height:23px;top:220px;}
.awfrmsplash.bootstrap .awfrmsplash-lblversion {display:block;width:100%;margin-bottom:20px;}

.awfrmsplash:not(.bootstrap) .awfrmsplash-lin {border-style:groove;border-color:#C0C0C0;width:578px;height:0px;left:20px;top:260px;}
.awfrmsplash:not(.bootstrap) .awfrmsplash-shpborder {background-color:transparent;border:0px none #C0C0C0;cursor:pointer;width:620px;height:450px;}
.awfrmsplash:not(.bootstrap) .awfrmsplash-waitpic {background-color:transparent;width:20px;height:20px;left:0px;top:0px;clip:rect(0px,20px,20px,0px);}
/* -- / Form 'awfrmsplash' -- */

/* Bootstrap thn 2016-12-14 -- 2017-08-02 */
.btn-group > input {
  width: 10ch;
  float: left;
}
.btn-group > input:not(:first-child):not(:last-child) {
  border-radius: 0;
}
.btn-group > input:not(:first-child) {
  margin-left: -1px;
}
.btn-group > input:not(:last-child) {
  margin-right: -1px;
}

.form-inline .form-group {
  margin-left: 0;
  margin-right: 0;
}
.form-inline .input-group .input-group-btn button {
  width: 100%;
}
.form-group-lg label.control-label {
  font-size: 18px;
}
.form-group-sm label.control-label {
  font-size: 12px;
}
.form-horizontal .form-inline label.control-label {
  padding-top: 0;
}

.modeless { /* http://www.bootply.com/n8EQQaoIeK */
    top:10%;
    left:50%;
    bottom:auto;
    right:auto;
    margin-left:-300px;
}

  .form-group:not(.form-inline) input:not(.awBS-NGmember):not(.awBS-IGmember):first-of-type:not(:last-child)
, .form-group:not(.form-inline) select:not(.awBS-NGmember):not(.awBS-IGmember):first-of-type:not(:last-child)
{
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
  .form-group:not(.form-inline) input:not(.awBS-NGmember):not(.awBS-IGmember):not(:first-of-type)
, .form-group:not(.form-inline) select:not(.awBS-NGmember):not(.awBS-IGmember):not(:first-of-type)
{
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  margin-top: -1px;
}

.bootstrap fieldset.row, .bootstrap fieldset.col {
  border-top: 1px solid #ccc; /* #e5e5e5 */
  border-bottom: 1px solid #ccc;
  padding-top: 10px;
  margin-bottom: 15px;
}
.col > fieldset.row, .container-fluid > fieldset.row {
  margin-left: 0;
  margin-right: 0;
}
fieldset.row + fieldset.row {
  border-top: none;
  margin-top: -15px;
}
.bootstrap legend { /* 2018-01-11 */
  border-bottom-color: #ccc;
  margin-bottom: 0;
}
.fa-6x {
  font-size: 6em;
}
.fa-7x {
  font-size: 7em;
}
.fa-8x {
  font-size: 8em;
}
.fa-9x {
  font-size: 9em;
}
.awBSmessageBox button {
  width: 100%;
}
.awBSmessageBox .col-aimg, .awBSmessageBox .col-albl {
  text-align: center;
}
.btn-group-vertical > label.standard { /* 2017-07-24 thn optionGroup vertical */
  display: block;
  float: none;
  width: 100%;
  max-width: 100%;
}

body.bootstrap nav#awMenu {
  position: relative;
}
body.bootstrap .dropdown-menu > li.icon:not(.font) > a { /* 2017-08-02 menu bar with picture */
  padding-left: 31px;
  background-position: 10px;
  background-repeat: no-repeat;
}
body.bootstrap .dropdown-menu > li.icon.font > a > span { /* 2017-08-02 menu bar with font icon */
  margin-left: 4px;
}
body.bootstrap .dropdown-menu > li.icon.font > a { /* 2017-08-02 menu bar with font icon */
  padding-left: 0;
}
body.bootstrap .dropdown-menu > li.popup.bar > div { /* 2017-08-02 */
  padding-left: 5px;
  font-style: italic;
}
body.bootstrap .dropdown-menu > li.popup.bar:not(:first-child) > div { /* 2017-08-02 */
  margin-top: .5em;
}
.form-group div.opt-group, .form-group div.cmd-group { /* with label */
  display: inline-table;
}
body.bootstrap .pagedGrid-cntNav {
  text-align: right;
}
body.bootstrap .pagedGrid-cntNav *:not(option /* .input-group span.fa */) {
  display: inline-block;
  width: auto;
}
body.bootstrap .pagedGrid-cntNav select {
  width: 115px;
}
body.bootstrap .pagedGrid-cntNav input {
  width: 60px;
}
body.bootstrap .awCntGrdPage-imgRefresh {
  padding-top: 5px;
}
body.bootstrap .awCntGrdPage-imgRefresh span {
  font-size: 150%;
}
body.bootstrap .awFrmMB-albl {
  margin-bottom: 2em;
}
body.bootstrap .awCntGetPict, body.bootstrap .awCntGetFile {
  padding: 1em;
}

input[type="date"].form-control, input[type="time"].form-control, input[type="datetime-local"].form-control, input[type="month"].form-control {
  padding-left: 0;
}
.form-group textarea {
  max-width: 100%;
}
span.label a {
  color: #fff;
}

div.form.bootstrap.container-fluid {
  padding-left:  0;
  padding-right: 0;
}

.awBS-NGmember-wrapper .form-group {
  width: 100%; /* 2019-05-21 thn -- {FiC V 2.28.1-beta.9} {en} added */
}
.form-inline .form-group .input-group .input-group-addon {
  width: 1%; /* 2019-05-15 thn -- {FiC V 2.28.1-beta.9} {en} added https://stackoverflow.com/questions/23436430/bootstrap-3-input-group-100-width */
}


/* 2017-10-12 jQueryUI dialog */
.awForm-container .ui-dialog{
  position: relative;
}
.ui-dialog .ui-dialog-content {
  margin: 10px 0;
  padding: 0;
}
.ui-no-close .ui-dialog-titlebar-close {
  display: none!important;
}
.awForm-container.jQueryUI-dialog{
  padding: 10px;
}
.ui-dialog-titlebar span small {
  opacity: .5;
}
.ui-dialog-titlebar .ui-dialog-title a {
  text-decoration: none;
}
.ui-dialog-titlebar span small:hover {
  opacity: 1;
}

@media (min-width: 768px /*@screen-sm-min*/) { .awBS-NGmember-wrapper {
  padding-left: 5px;
  display: inline-block;
  vertical-align: top; /* top, middle and bottom seem to provide the same result; chosen 'top' WRT .btn-group, .btn-group-vertical */
}}

ul.typeahead {
  max-height: 300px;
  overflow-x: hidden;
}

.awForm-top.awTest { /* 11/05/20 13:29:34 thn -- {FiC V 2.31.0-beta.2} {en} added */
  transform: rotate(-45deg);
  position: fixed;
  width: 200px;
  top: 50px;
  left: -50px;
  text-align: center;
  background-color: rgb(230 53 53 / 66%);
  color: white;
  z-index: 100;
 }

/* 2020-05-14 thn -- {FiC V 2.31.0-beta.2} {en} rounded border on first visible outer button */
.btn-group>.btn.rbLeft:not(:first-child):not(.dropdown-toggle) {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.btn-group>.btn.rbRight:not(:last-child):not(.dropdown-toggle) {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.btn-group-vertical>.btn.rbTop:not(:first-child):not(.dropdown-toggle) {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}
.btn-group-vertical>.btn.rbBot:not(:last-child):not(.dropdown-toggle) {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

/* 2021-08 thn -- {FiC V 2.32.0-beta.2} BS 5 additions */
body.bootstrap .tab-pane {
  padding-top: 1.5rem;
}

div.awCboAutoComp div.btn {
  cursor: default!important; /* not a pointer  */
}
