/*
 * Disclaimer: This is an unfinished product.
 * 
 * This software is provided "as is".
 * 
 * ForSite Design makes no warranties or representations of any kind, express or implied,
 * regarding this software, its quality, performance, functionality, suitability or fitness
 * for any purpose.
 * 
 * The Design Conformity accepts all risks and liabilities arising from or relating to the
 * use of this software.
 * 
 */
 
 @charset "ISO-8859-1";

* {
  box-sizing: border-box;
}

/*@font-face {*/
/*	font-family: AvenirNextLTPro2;*/
/*	font-weight: normal;*/
/*	src: url("/AvenirNextLTPro-Regular.ttf") format("opentype");*/
/*}*/

@font-face {
	font-family: AvenirNextCYRUltraLight;
	src: url('AvenirNextCYRUltraLight.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}


@font-face {
	font-family: AvenirNextLTPro;
	src: url('AvenirNextLTPro.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: AvenirNextLTProBold;
	src: url('AvenirNextLTPro-Bold.woff') format('woff');
	font-weight: 400 900;
	font-style: normal;
}

:root {
	--headerbackgroundcolour: white;
	--menubackgroundcolour: white;
	--contentbackgroundcolour: white;
	--activecontrolcolour: #04873d;
	--activecontrolfontcolour: white;
	--inactivecontrolcolour: #b6b6b6;
	--inactivecontrolfontcolour: black;
	--dangercontrolcolour: #ae0404;  
	--dangercontrolfontcolour: white;
	--warncontrolcolour: #ff8040;
	--dialogColour: #008CCA;
    --dialogfontcolour: white;
    --dialogButtonBarColor: lightgray;
    --dialogOKYesButtonColour: green;
    --dialogOKYesButtonFontColour: white;
    --dialogNoButtonColour:  #ae0404;
    --dialogNoButtonFontColour: white;
    --dialogCancelButtonColour: slategray;
    --dialogCancelButtonFontColour: white;
   	--selectlistremovecolour: gray;
    --selectlistremovehovercolour:  #ae0404;  ;    
    --tablebackheadcolour: #ffffff;
    --tableheadcolour: white;
    --tableevenrowbackcolour: white;
    --tableoddrowbackcolour: #ccc;
    --totalcellbackcolour: #white;
    --totalcellcolour: black;
    --goodcolour: #04873d;
    --warncolour: #ff8040;
    --badcolour:#ae0404;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: AvenirNextLTPro;
  font-size: 1.0em;
}

h4 {
	font-family: AvenirNextLTPro;
	color: #00875E;
	font-size: 1.2em;
	font-weight: normal;
}

.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}

[class*="col-"] {
  float: left;
  padding: 5px;
  border: 0px solid grey;
}

.row::after {
  content: "";
  clear: both;
  display: table;
}

.field {
	float: left;
	margin-right: 10px;
	margin-top: 15px;
}

@media only screen and (max-width: 768px) {
  /* For mobile phones: */
  [class*="col-"] {
    width: 100%;
  }
}

#dvHeader {
	background-color: var(--headerbackgroundcolour);
}

#dvMenu {
	/*white-space: nowrap;*/
	background-color: var(--menubackgroundcolour);
	height: 100%;
}

#dvContent {
	background-color: var(--contentbackgroundcolour);	
	overflow: hidden;
}

#dvHeader {
	font-size: 1.4em;
	text-align: center;
	height: 50px;
	position: relative;
}

#dvTitle {
	position: absolute;
	font-weight: bold;
	top: 50%;
}

iframe {
	border: none;
}

#dvLogo {
    z-index: 999;
	position: absolute;
	top: 10px;
	left: 10px;
	background-color: transparent;
}

#dvDetail {
	margin-top: 15px
}

#dvUser {
    z-index: 999;
	position: absolute;
	top: 10px;
	right: 10px;
	background-color: transparent;
}

#imgUserPicture {
	background-color: var(--headerbackgroundcolour);
}

#dvUserMenu {
	background-color: var(--headerbackgroundcolour);
    border: 3px solid #c0c0c0;
    border-radius: 5px;
    display: none;
}

.menutitle {
	background-color: #c0c0c0;
	padding:10px;
	font-weight: bold;
}

.menubutton {
	padding:10px;
	cursor: pointer;
}

.menubutton:hover {
	background-color:var(--activecontrolcolour);
	color: var(--activecontrolfontcolour);
}

input[type="button"] {
	padding: 10px;
}

.okbutton {
	background-color:var(--activecontrolcolour);
	color: var(--activecontrolfontcolour);
	font-size: 1.1em;
	border: 0;
	margin-top: 10px;
	cursor: pointer;
	padding: 20px;
}

.cancelbutton {
	background-color:var(--inactivecontrolcolour);
	color: var(--inactivecontrolfontcolour);
	font-size: 1.1em;
	border: 0;
	margin-top: 10px;
	cursor: pointer;
}

.dangerbutton {
	background-color:var(--dangercontrolcolour);
	color: var(--dangercontrolfontcolour);
	font-size: 1.1em;
	border: 0;
	margin-top: 10px;
	cursor: pointer;
}

.navbutton {
	margin-right: 10px;
}

#imgUserPicture {
    display: block;
    float: right;
    width: 55px;
    height: 55px;
    object-fit: cover;
    border: 3px solid #c0c0c0;
    border-radius: 50%;
    margin: 5px;
    cursor: pointer;
}

#imgceflogo {
	max-height: 50px;
	height: auto;
	width: auto;
}

#fileForm {
	display: block;
	/*margin-top: 50px;*/
	border: 3px solid var(--activecontrolcolour);
	padding: 10px;
}

.fileFormDiv {
	display: block;
	margin-top: 50px;
	border: 3px solid var(--activecontrolcolour);
	padding: 10px;
}

#dvMessage {
	margin-bottom: 10px;
	padding: 5px;
}

.popupForm {
    border-radius: 2px;
    padding-left: 2px;
    padding-right: 2px;
    padding-top: 2px;
    padding-bottom: 2px;
    background-color: var(--documentbackcolour);
    border: black 1px solid;
    position: absolute;
    z-index: 99999;
    color: var(--documentfontcolour);
}

.popupDialog {
    border-radius: 5px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 0px;
    padding-bottom: 5px;
    background-color: var(--dialogColour);
    border: black 1px solid;
    position: absolute;
    z-index: 99999;
    color: var(--dialogfontcolour);
}

.popupDialogHeading {
    width: 100%;
    font-weight: bold;
    text-align: center;
    margin: 2px;
}

.popupDialogMessage {
    padding: 10px;
}

.popupDialogButtons {
    background-color: var(--dialogButtonBarColor);
    padding: 5px;
}

    .popupDialogButtons > table > tr > td > input[type="button"] {
        width: 75px;
        margin: 5px;
    }

.popupDialogOKYesButton {
    background-color: var(--activecontrolcolour);
    color: var(--activecontrolfontcolour);
    cursor: pointer;
   	font-size: 1.1em;
}

.popupDialogNoButton {
    background-color: var(--inactivecontrolcolour);
    color: var(--inactivecontrolfontcolour);
    cursor: pointer;
   	font-size: 1.1em;
}

.popupDialogCancelButton {
    background-color: var(--inactivecontrolcolour);
    color: var(--inactivecontrolcolour);
    cursor: pointer;
    font-size: 1.1em;
}

.page {
	display: none;
}

#dvNav {
	width: 100%;
	height: 60px;
	overflow: hidden;
}

.removebtn {
	cursor: pointer;
	margin-top: 5px;
	font-size: 1.7em;
	color: var(--selectlistremovecolour) !important;
	font-weight: bold;
}

.removebtn:hover {
	color: var(--selectlistremovehovercolour) !important;	
}

.forminput {
	display: block;
	padding: 10px 12px;
	margin: 4px 0;
	box-sizing: border-box;
	border: 2px solid var(--inactivecontrolcolour);
	-webkit-transition: 0.5s;
	transition: 0.5s;
	outline: none;
	font-size: 1em;
}

.forminput:focus {
	border: 2px solid var(--activecontrolcolour);
}

.tableroweven {
	background-color: var(--tableevenrowbackcolour);
	border-top: 2px solid var(--tablebackheadcolour);
}

.tablerowodd {
	background-color: var(--tableoddrowbackcolour);
	border-top: 2px solid var(--tablebackheadcolour);
}

/*Loading UI*/
/*.loader {*/
/*	border: 16px solid #f3f3f3;*/
/*	border-radius: 50%;*/
/*	border-top: 16px solid #04863e;*/
/*	width: 120px;*/
/*	height: 120px;*/
/*	-webkit-animation: spin 2s linear infinite; !* Safari *!*/
/*	animation: spin 2s linear infinite;*/
/*	display: none; !* Initially hidden *!*/
/*}*/

/*!* Safari *!*/
/*@-webkit-keyframes spin {*/
/*	0% { -webkit-transform: rotate(0deg); }*/
/*	100% { -webkit-transform: rotate(360deg); }*/
/*}*/

/*@keyframes spin {*/
/*	0% { transform: rotate(0deg); }*/
/*	100% { transform: rotate(360deg); }*/
/*}*/

.loader {
	position: fixed; /* Fixed positioning */
	top: 0; /* Positioned at the top */
	left: 0; /* Positioned at the left */
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	background-color: rgba(255, 255, 255, 0.8); /* White background with some opacity */
	display: flex; /* Use flexbox for centering the spinner */
	justify-content: center; /* Center horizontally */
	align-items: center; /* Center vertically */
	z-index: 9999; /* Make sure it's on top of everything else */
}

/* The spinner itself */
.loader:before {
	content: "";
	border: 5px solid #f3f3f3;
	border-radius: 50%;
	border-top: 5px solid #04863e;
	width: 40px;
	height: 40px;
	-webkit-animation: spin 2s linear infinite; /* Safari */
	animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
	0% { -webkit-transform: rotate(0deg); }
	100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}