#mainpage_backgroup
{
    background-image: url('../img/background.jpg') !important;
    background-size:cover;
    background-repeat:no-repeat;
    /*background-size: 100%;*/
    /*width: 100%;*/
}

img {
 /* width :100%;*/
  vertical-align: middle;
  border-style: none; 
}

.img {
  width :10px !important;
  vertical-align: middle;
  border-style: none; 
}

.blockUI.img{
  width: auto !important;
  vertical-align: middle;
  border-style: none; 	
}
/*.invalid-feedback {
	color:red;
}*/

.content_main {
    display: inline-block;
    width: 97%;
    float: left;
	padding-top:10px;
}

.content_option {
    position: relative;
    left: 0px;
    background-color: #e7e7e7;
    width: 97%;
	height:70px;
    float: left;
}

.content_title{
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #555;
	font-size: 1.5em;
	font-weight: bold;
	text-decoration: none;
	padding-left:5px;
	width:35%;
	background-color:transparent;
}

.content_operation{
	position: relative;
	text-decoration: none;
	width:65%;
	background-color:transparent;
}
	
.operation_table{
	background-color:transparent;
	float: right; 
	margin: 0px;	
}

.content_sidemenu {
    display: inline-block;
    width: 8%;
    padding-left: 5px;
    margin-top: 50px;
    float: left;
}

body.sb-l-m #content-footer.affix {
    margin-left: 0px;
}

.myRetailerContent {
    height: auto;
    padding: 10px 15px;
	margin-bottom: 50px;
}

.sidebar-menu .active-main-menu, .sidebar-menu .active-main-menu:focus {
    color: #333;
}
.sidebar-menu .active-main-menu:hover {
    color: white;
}
/*Yii GridView*/
.grid-view, .grid-view th a {
    color: black;
}
.grid-view th {
    background-color: lightblue;
}
.grid-view table tbody tr:hover {
    background-color: lightpink;
}
/*
.grid-view table tbody td a span {
    margin-right: 6px;
}
*/
/*Yii GridView Table*/
.myRetailerTable {
    /*table-layout: fixed;*/
    width: 100%;
    margin-bottom: 15px;
}
.myRetailerTable thead tr th, .trHead {
    background-color: lightblue !important;
}
.myRetailerTable tbody th {
    /*width: 17%;*/
}
.myRetailerTable tbody td .bgColumn {
    min-width: 25%;
}
.myRetailerTable td, .myRetailerTable th {
    padding: 2px 5px;
    border: 1px white solid;
    word-break: normal;
    word-wrap: break-word;
}
.myRetailerTable .filters .form-control {
    width: 100%;
    height: 30px;
}
.myRetailerTable tr:nth-child(even) {background: #F8F8F8;}
.myRetailerTable tr:nth-child(odd) {background: #E5F1F4;}
/*.myRetailerTable tr:first-child(even) {background: lightblue;} */

#invretailer-details {
    width: 100%;
    color: #222;
}
#invretailer-details tr th {
    padding-top: 5px;
    padding-left: 5px;
    padding-right: 5px;
	background-color: #A3DCEA;
}
#invretailer-details tr td {
    padding-top: 5px;
}
#invretailer-details tr td input[type="checkbox"] {
    margin-left: 5px;
}

/*Yii-Tab*/
.tab-content {
    border: 1px solid lightblue;
}

/*JUI Datepicker*/
.ui-datepicker-trigger {
    float: left;
    margin-top: 9px;
    margin-left: 5px;
	height: 25px;
	width:25px;
}
.ui-datepicker-month {
    width: 40% !important;
}
.ui-datepicker-year {
    width: 45% !important;
}

/*Add to Grid*/
.thCell {
    font-weight: bold;
    background-color:#95C8D5;
    height:20px;
}

/*Operations Menu*/
.portlet {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.portlet-decoration {
    padding: 3px;
    background: #B7D6E7;
    border-left: 1px solid #B7D6E7;
}
.portlet-title {
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    padding: 0;
    margin: 0;
    color: black; /*#298dcd;*/
}
.portlet-content {
    font-size: 0.9em;
    margin: 0 0 15px 0;
    padding: 5px 8px;
    background: #EFFDFF;
}
.portlet-content ul {
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.portlet-content li {
    padding: 2px 0 4px 0px;
}
.operations
{
    list-style-type: none;
    margin: 0;
    padding: 0px;
    margin-left: 5px;
}

.operations li
{
    color: #0066A4;
    padding-bottom: 2px;
}

.operations li a
{
    font: bold 12px Arial;
    color: #0066A4;
    display: block;
    padding: 2px 0 2px 8px !important;
    line-height: 15px;
    text-decoration: none;
}

.operations li a:hover {
    color: purple;
    background-color: transparent !important;
}
.nav > li > a:focus {
    background-color: transparent !important;
}

/*FancyTree*/
.fancytree-selected .fancytree-title {
    color: green;
}
.fancytree-partsel .fancytree-title {
    color: green;
}
span.fancytree-node.fancytree-active, span.fancytree-node.fancytree-selected {
    background-color: transparent !important;
    border-color: transparent !important;
}
.fancytree-plain span.fancytree-active span.fancytree-title, .fancytree-plain span.fancytree-selected span.fancytree-title {
    background-color: transparent !important;
    border-color: transparent !important;
}
.language-picker a {
    color: black;
}

/*Breadcrumb*/
.crumb-active {
    text-transform: capitalize;
}

label.required:after {
    content: " * ";
    color: red;
    float: left;
}

.table-condensed .kv-child-table > tbody > tr > td, .table-condensed .kv-child-table > tbody > tr > th
{
    width:13% !important;
}

.myRetailerTable tr:nth-child(2n).trDelete,
.myRetailerTable tr:nth-child(2n+1).trDelete
{
    background: rgba(128, 128, 128, 0.31);
}

.grid-view table tr.classConfirm {
    background: #D0EFDD;
}

.grid-view table tr.classClosed {
    background: #BCE774;
}

.grid-view table tr.classDeleted {
    background: RGBA(237, 69, 24, 0.77);
}

.hasDatepicker {
    float:left;
    margin-top:10px !important;
}

.screenbutton {
    display: block;
    float: none;
    width: 100%;
    height: 100%;
    margin-bottom: 5px;
    padding: 0;
}

.ui.modal.mySearchModal {
    height: 660px;
}
.ui.modal.mySearchModal .header {
    height: 59.4px;
}
.ui.modal.mySearchModal .content {
    height: calc(100% - 59.4px - 74px);
    padding: 0em 1em;
}
.ui.modal.mySearchModal .actions {
    height: 74px;
}

/*DataTable*/
/*table.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {
    background-color: lightgray !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    /*padding: 0px 0px !important;*
}
div.dataTables_wrapper div.dataTables_filter input {
    margin-bottom: 0.2em;
    padding: 0.2em;
}*/

/*Semantic Override/Customize*/
.ui.form .field label {
    width: 27%;
    text-align: right;
}
.ui.form .field label.required::after {
    content: " * ";
    color: red;
    float: right;
}
.ui.form .field .ui_twocolumnlabel {
    width: 13.109%;
}
.ui.form .field .ui_threecolumnlabel {
    width: 17.649%;
}
.form-control {
    width: auto;
	max-width: 250px !important;
}
.ui.grid > .row {
    padding-top: 0;
}
.ui.form input:not([type]), .ui.form input[type="date"], .ui.form input[type="datetime-local"], .ui.form input[type="email"], .ui.form input[type="number"], .ui.form input[type="password"], .ui.form input[type="search"], .ui.form input[type="tel"], .ui.form input[type="time"], .ui.form input[type="text"], .ui.form input[type="file"], .ui.form input[type="url"] {
    border: 1px solid darkgrey;
}
body.animating.in.dimmable, body.dimmed.dimmable {
    overflow: auto;
}
.ui.form input[disabled], .ui.form input[readonly] {
    cursor: not-allowed;
    background-color: lightgray;
    opacity: 1.5;
}
.ui.table thead:not(.full-width) th:first-child input {
    pointer-events: all;
}
.ui.checkbox label {
    cursor: pointer;
}
.ui.table .ui.primary.button #tree_container {
    height: auto;
}
.ui.dimmer.modals {
    z-index: 1030;
}
.invalid-feedback{
	color: red;
}

.mb-3 date {
 margin-bottom:1rem !important;
 width: 100%;
}

.mb-3 {
 margin-bottom:0.5rem !important;
 width: 100%;
}

.mb-4 {
 margin-bottom:1.5rem !important;
}
.mb-5 {
 margin-bottom:3rem !important;
}
.form-control-lg {
  min-height: calc(2.58125rem + 2px);
  padding: .4rem 1rem;
  font-size: 1.1875rem;
  border-radius: .3rem;
  width: 100%;
  max-width:100% !important;
}

html input[disabled], html input[readonly], fieldset[disabled] ,textarea[disabled] {
  cursor: not-allowed;
  background-color: #fafafa;
  background-color: lightgray;
  opacity: 1;
}
div.template{
	overflow: auto; 
	width: 800px; 
	height: 450px; 
	border: 1px solid silver;
}
div.tbody{
	overflow:auto; 
	width: auto; 
	height:auto; 
	border: 0px solid white;
}
	

@media print {
    html {
        margin: 15px 15px !important;
        height: auto;
    }
    .ui.table {
        position: absolute;
    }
    #content {
        display: block !important;
        width: 1000px !important;
        margin: 0 0 !important;
        overflow: visible !important;
    }
    body header.navbar,
    body #sidebar_left,
    body #sidebar_right,
    body #topbar,
    body #skin-toolbox,
    body #content-footer,
    body .panel-heading, .button {
        display: none !important;
        visibility: hidden;
        width: 0 !important;
        height: 0 !important;
        outline: 0;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden;
    }
    .myRetailerReportContent {
        display: block !important;
        overflow: visible !important;
    }
    .myRetailerReportContent * {
        overflow: visible !important;
    }
    .ui.table {
        display: inline-block !important;
        border-bottom: 1px solid rgba(34, 36, 38, 0.15) !important;
    }
    .headtableTH {
        width: 15.3% !important;
    }
    .headtableDataTH {
        width: 18% !important;
    }
}