:root{
    --mainTextColor:#500000;
    --lightCBBG:rgba(255, 255, 255, 0.4);
    --darkGreen:#17340F;
    --chocoBrown:#602727;
}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


*{
	box-sizing: border-box;
}
   
body{
	background: url(../img/backgroundCashBack.jpg);
	/* font-family: 'Montserrat', sans-serif; */
	font-family: 'Assistant', sans-serif;
	font-weight: 300;
	color:var(--mainTextColor);
}
input{
	border:none;
	border-radius: 2px;
	padding: 5px;
}
input:focus, textarea:focus {
    background: #E4FACB;
	color: var(--mainTextColor);
}
a{
	text-decoration:none;
	color:#fff;
}
.clear {
	clear:both;
}
.title {
    font-size: 22px;
    margin-bottom: 20px;
}
.soloinput{
	font-size: 20px;
	width: 100%;
}
.soloinputbox{
	margin-bottom: 20px;
}
.text_center{
	text-align:center;
}
.playable{
	cursor:pointer;
}
.nodb {
    background: #d90000;
    padding: 25px;
    text-align: center;
    font-size: 20px;
}
.nodblogo {
    background: url(../img/ewarehouse-logo.png);      
    width: 460px;
    height: 65px;
    background-repeat: no-repeat;
    background-size: contain;
    margin: calc(50vh - 140px) auto 20px;
}

#ewhloader {
	background: rgba(255,255,255,0.3);
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background-image: url(../img/loader.svg);
	background-repeat: no-repeat;
	background-position: center;
	box-shadow: 0px 0px 250px 1px #538A19 inset;
    text-align:center;
}
#ewhloader div {
	text-align: center;
	margin-top: calc(50vh + 65px);
	font-size: 20px;
	background: rgba(255,255,255,0.7);
	display: inline-block;
	margin-left: auto;
	margin-right: auto;
	padding: 5px;
	box-shadow: 0px 0px 7px 5px rgba(255,255,255,0.7);
	border-radius: 30px;
}
#blockcnx {
	width: 100%;
	max-width: 500px;
	margin: calc(50vh - 250px) auto;
	text-align: center;
	height: 320px;
}
#logocnx {
	margin: 20px auto;
	max-width: 324px;
    
}
#logocnx img {
    width: 100%;
}
#cnxbox {
    padding: 10px;
}

#cnxbox div{
	margin-bottom:10px;
}
#cnxbox input {
	box-shadow: 0px 0px 7px rgba(0,0,0,0.5);
	padding: 5px 10px;
	font-size: 16px;
	color: var(--mainTextColor);
}

#connexion{
	margin-top:10px;
}

#depositdate[readonly=readonly]{
    pointer-events: none;
}
#header {
	background: var(--lightCBBG);
	height: 50px;
    display:flex;
}

#logohead{
    width:15%;
   position:relative;
}

#logohead img{
    margin: 9px 0 0 16px;
    width: 100%;
    max-height:90px;
    max-width:239px;
    position:absolute;
}

#screentitle {
	text-align: center;
	font-size: 25px;
	width: 70%;
	line-height: 20px;
}
#screentitle span{
vertical-align: middle;
}
.solomaintitle {
	margin-top: 13px;
	font-size: 30px;
	font-weight: bold;
}
.headerdetail {
font-size: 14px;
margin-left: 5px;

}
.advindicator {
    font-size: 16px;
    margin-left: 15px;
}
.advindicator span{
	margin-right: 2px;
}
#headermenu{
	width: 15%;
}
#menu {
    float: right;
    height: 50px;
    width: 50px;
    text-align: center;
    font-size: 38px;
    line-height: 47px;
	cursor: pointer;
}

#menucontent {
	position: absolute;
	right: 0;
	background: var(--darkGreen);
	overflow: hidden;
	z-index: 1000;
	font-size: 20px;
	padding: 5px 5px 0px 5px;
    color:#fff;
}

.menuitem {
	cursor: pointer;
	padding: 10px;
	margin-bottom: 5px;
}

.menuitem:hover {
	background: #fff;
    color:var(--darkGreen) ;
}
#menu:active, #menu.deployed,.menuitem:active  {
	background:var(--darkGreen) ;
	color: #fff;
}
#main {
    height: calc(100vh - 100px);
	overflow:auto;
}
#main.cashback {
    padding-top:20px;
}


#footer{
	background: var(--lightCBBG);
	height: 50px;
}
.flexbox{
    display:flex;
    
}
.contentbox{
	margin: 20px;
	background: var(--lightCBBG);
	padding: 10px;
}
.contentbox::after{
	content:"";
	display:block;
	clear:both;
}

/************************************ SCREENS ***************************/
#ewhloader div {
    color:var(--darkGreen);
}
.cashback .flexbox {
    align-items: stretch;
    height: 100%;
}
#cashbackinput {
	width: 30%;
    position: relative;
}

#cashbackinput .title {
	font-size: 28px;
	margin-bottom: 20px;
	color: var(--darkGreen);
}

#cashbacktables {
	width: 70%;
	text-align: center;
    position:relative;
}

#cbtable_handler {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	flex-wrap: wrap;
	overflow: auto;
	position: absolute;
	left: 0px;
	right: 0px;
	bottom: 0px;
	top: 35px;
}

#cashbacktables .cb_table {
    margin:0px 5px;
	font-size: 25px;
}

#cashbacktables .cb_table .cb_bag ,#cashbacktables .cb_table .cb_tableheader{
	padding: 3px 5px;
}
#cashbacktables .cb_bag {
	border: 1px solid #70a370;
	border-bottom: none;

}
#cashbacktables .cb_bag.playable {
    cursor:pointer;
}
#cashbacktables .cb_bag:last-child {

	border-bottom: 1px solid #70a370;
}

#cashbacktables .cb_bag.playable:active,#cashbacktables .cb_bag.newbag:active {
	background:#fff;
    color:var(--darkGreen);
}

.cb_bag.playable.selected {
	background: var(--darkGreen);
	color: #fff;
}
#cashbacktables .cb_table .cb_tableheader{
    font-weight:bold;
    color:var(--darkGreen);
}

#cashbacktables table td.cb_bagid{
    padding: 3px 20px;
    text-align:left;
}
.cb_editbag {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	font-size: 25px;
	color: #d90000;
}
.cb_editbagbtn {
	margin: 0px 10px;
	background: var(--darkGreen);
	color: #fff;
	padding: 5px 20px;
	border-radius: 5px;
}
.cb_editbagbtn:active {
	color: var(--darkGreen);
	background: #fff;
}
#cb_bahwarner {
	position: absolute;
	background: var(--darkGreen);
	padding: 35px;
	font-size: 30px;
	color: #fff;
	border-radius: 5px;
	width: 300px;
	text-align: center;
	height: 100px;
	left: calc(50vw - 150px);
	top: calc(50vh - 150px);
	display: none;
    z-index: 1;
}

.cashbackinfo {
	display: flex;
	font-size: 25px;
	background: var(--darkGreen);
	color: #fff;
	margin: -10px -10px 0px -10px;
}

.cb_infoitem {
	width: 33.3333%;
	padding: 5px;
    transition:all 0.2s;
}

.cb_infoitem:first-child {
	text-align: left;
}

.cb_infoitem:last-child {
	text-align: right;
}

.cb_infoitem.upnum {
	color:#d90000;
}

.toendcbbtn {
	background: #fff;
	font-size: 25px;
	border-radius: 6px;
	display: flex;
	padding: 10px 55px 10px 10px;
	margin-top: 15px;
	overflow: hidden;
	color: var(--darkGreen);
	transition: all 0.2s;
	position: absolute;
	bottom: 10px;
	width: 330px;
	left: calc(50% - 165px);
}
.toendcbbtn .fa-check-circle{
	display: inline-block;
	background: var(--darkGreen);
	color: #fff;
	position: absolute;
	line-height: 45px;
	top: 0px;
	right: 0px;
	padding: 0px 10px;
	font-size: 30px;
}

.toendcbbtn:active{
    
	color: #fff;
	background: var(--darkGreen);
}
#cb_report .contentbox {
	width: 33.3333%;
}
#cb_report .title{
    font-size: 25px;
    text-align: center;
}

#cb_report .fa{
    margin-right: 10px;
}

.cb_bagok{
    color: #17ae00;
}

.cb_bagnok{
    color: #d90000;
}

.cb_reportbag {
	font-size: 22px;
	margin-bottom: 3px;
}
.cb_noreport {
	font-size: 23em;
	color: rgba(255,255,255,0.3);
	text-align: center;
	display: block;
	margin: 100px 0px;
}
.cb_reportfooter {
	justify-content: flex-end;
	align-items: center;
	height: 100%;
}
.cb_reportfooterbtn {
    background: var(--darkGreen);
    color: #fff;
    font-size: 25px;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 0px 10px;
    cursor:pointer;
}
.cb_reportfooterbtn:active {
    background:  #fff;
    color:var(--darkGreen);
}
.cb_reportfooterbtn .fa{
    margin-right:10px;
}
#cbreportiframe{
    width: 800px;
    height: 500px;
}
.cb_tmcb{
    text-align:center;
    background:#393939;
}
#terminatecashback {
	padding: 5px 10px;
	font-size: 25px;
	color: var(--darkGreen);
	display: inline-block;
	background: #fff;
	border-radius: 5px;
	margin: 10px 0px;
	cursor: pointer;
}
#terminatecashback:active {
	background: var(--darkGreen);
	color: #fff;
}

.cb_finalboxico {
	margin: 10px 0;
	font-size: 190px;
}

.cb_finalbox{
    text-align: center;
    font-size: 25px;
}

.depositdate {
	margin-top: 30px;
}
.depositdate input{
	font-size: 20px;
}
.ddtitle {
	font-weight: bold;
	margin-bottom: 10px;
}
/************************************ anomalie ***************************/

#selectanomalylabel,.anomalybtn .btn,#execanomaly,#abortanomaly,#rehabmission,#abortrehab {
	color: #000;
	padding: 10px;
}
#execanomaly,#abortanomaly,#rehabmission,#abortrehab {
    margin: 5px 10px;
}
#anomalycomment {
	width: 500px;
	height: 200px;
	margin: 20px 5px;
	font-size: 16px;
	font-family: inherit;
	padding: 10px;
}
.anomalymission,.anomalylabel {
	margin-bottom: 10px;
	cursor: pointer;
	padding: 15px 5px;
	background: #fff;
	color: #000;
}

.anomalymission:active,.anomalylabel:active  {
	background: none;
    color: #fff;
}
#anomalydetails{
    display:none;
}
.anomalybtn .btn {
	margin-bottom: 20px;
	
}
.warnphrase {
	margin-bottom: 20px;
	line-height: 30px;
}

.errorreport {
	padding: 10px;
}

.erroralert {
	text-align: center;
	font-size: 40px;
	margin-bottom: 10px;
	color: #fff;
}

.errortitle {
	color: #fff;
	font-size: 20px;
	margin-bottom: 20px;
}
.errorbtn {
	text-align: center;
	color: #fff;
	padding: 10px;
}
.errorbtn .btn{
   padding: 10px; 
}

.anomalyclose {
	text-align: center;
	color: #000;
    margin-top: 20px; 
}
.anomalyclose .btn {
	margin:0px;
}