/*-----------------------------------
	*** EVS mobe3 WEB Style ***
	Creation : 2/8/2017 TH
	APP AGNOSTIC
-----------------------------------*/
/************************************
	-- OVRD Section --
	Attempt to override bootstrap or
	UI grid property
*************************************/
/*.grid {
 position:absolute;top:65px;left:0;right:0;bottom:0
 }*/
 .sr-only{
	color:white;
}
.ui-grid-menu .ui-grid-menu-inner {
    background-color: white !important;
}
.k-grid-pager .k-i-arrow-w:before {
        content: "\f060";
	  }

.lockedforedit .ui-grid-cell-contents
{
	color: #000000AA !important;
	background-color: #CCCCCC !important;
}

.CodeMirror { /* ovrd for code mirror hard coded height*/
    height: 80vh !important;
  }
.nav-pills{
  background-color: #F7FBF3 !important;
  border-radius: 0 !important;
}
.nav-pills>li>a{
  color:#496E20;
  border-radius: 0 !important;
}

.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover{
  background-color: #C7DFAF !important;
  color:#496E20;
  border-radius: 0 !important;
}

/* bootstrap/material were killing the 'x' in input boxes*/
input[type="search"] {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  -webkit-appearance: searchfield;
 }

input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: searchfield-cancel-button;
}
/**.btn-success{color:white;background-color:#003987;border-color:#bc6819}
.btn-success:hover{color:white;background-color:blue;border-color:#419641}
.btn-success.focus,.btn-success:focus{-webkit-box-shadow:0 0 0 2px rgba(92,184,92,.5);box-shadow:0 0 0 2px rgba(92,184,92,.5)}
.btn{font-family: "HelveticaNeue-Light";}
/*.btn:hover{color:#80C344} /* white doesn't work for link-btn */
/*.btn:focus{} *//* need to remove underline/color change.. trying label for now*/
/************************************
	-- TAG Section --
	These are universal
*************************************/
html {
    height: 100%;
}
body {
    height: 100%;
    margin: 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
	/*font-family: 'Open Sans', sans-serif, "Helvetica Neue", Helvetica;*/
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	/*font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica*/
	/*font-family: Helvetica, Arial, sans-serif /*"Lucida Sans Unicode", "Lucida Grande", sans-serif;*/
	color: #212121;
	font-weight: normal;
}
/************************************
	-- CLASS Section --
	These can be applied to any component
*************************************/
.evsgrid{
	height: 82vh;
	border: none;
}
/* text */
.txt-thick{
	font-weight: bold
}
.txt-h2{
	font-size: 200%
}
.txt-blue{
	color:#003987
}
.txt-green{
	color: #80C344;
}
.txt-grey{
	color: #d3d3d3;
}

.txt-darkgrey{
	color: #505050
}
.txt-link{
	color: #3c91e6;
	font-weight: 600px;
}
.txt-warning { color: #c31515;
	/*background-color: yellow !important;*/
}
.border-warning { border-right: 1px solid; border-left: 1px solid; border-top: 1px solid; border-bottom: 1px solid;
	border-color: #c31515 !important;
}
.background-warning {
	background-color: yellow
}


.modal-fs .modal-dialog {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.modal-fs .modal-content {
  min-height: 99%;
  height: 99%;
  height: auto;
}

.modal-lg {
  width: 99%;
  max-width: 1200px;
  height: 90%;
  height: auto;
  margin: 0 auto;
  padding: 0;
}

.modal-lg .modal-content {
  height: 98%;
  height: auto;
  margin: 0 auto
}


.modal-xl .modal-dialog {
  width: 99%;
  height: 90%;
  margin: 0;
  padding: 0;
}

.modal-xl .modal-content {
  height: 98%;
  height: auto;
}


/* buttons*/
.btn-link:focus{
	outline:none;
	text-decoration: none;
	color:#80C344;
}
.btn-link:hover{
	outline:none;
	text-decoration: none;
	color:#80C344;
}
.btn-evsprimary{
	background-color:#003987;
	color:white;
  letter-spacing: 1.5px;
  font-weight: bold;
} /*font-family: "HelveticaNeue-Light"*/

.btn-evsprimary:focus {
  border-color: white;
  color: white; /* without this bootstrap will ovrd to black*/
  outline: none;
}
.btn-evsprimary:hover {
  color: white; /* without this bootstrap will ovrd to black*/
}
/* placement */
.center-block {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.inline-block h4, .inline-block img .inline-block span, .inline-block div, .inline-block h3 {
    display: inline-block;
    /* NB NO text-transform: capitalize; */
}
.wrap{
	word-wrap: break-word;
	overflow-wrap: break-word;
	white-space: pre-line;
	margin: 3px auto;
}
.fill {
   margin: 0;
   width: 100%; /* Resize to containing div */
   height: 100%;/*75vh;*/
}
.margin-bottom {
	margin-bottom:5px;
}
.margin-sm-bottom {
	margin-bottom:3px
}

.margin-lrg-bottom {
	margin-bottom:10px;
}
.margin-top {
	margin-top:5px
}
.margin-sm-top {
    margin-top:3px
}
.margin-lrg-top {
	margin-top:10px;
}
.margin-left{
	margin-left:5px;
}
.margin-right{
	margin-right:5px;
}
/* backgrounds */
.bglogin{
	/* background: linear-gradient(#80C344, #A9BF94); /* Standard syntax */
	background: linear-gradient(#6EC82D, #4BD070); /* CR 01/19/18 */
}
.bgpage{
	background: white /* Standard syntax */
}

.navbar-right li {
    display: inline-block;
}
.navbar-brand>img {
   max-height: 22px;
   height: 22px;
   width: auto;
   margin: 0.5em auto;
/* LOADER : TODO replace*/
	   /* probably not needed anymore, but doesn't hurt */
	   -o-object-fit: contain;
	   object-fit: contain;
	}
	/* Center the loader */
	#loader {
	  position: absolute;
	  left: 50%;
	  top: 50%;
	  z-index: 1;
	  width: 150px;
	  height: 150px;
	  margin: -75px 0 0 -75px;
	  border: 16px solid #f3f3f3;
	  border-radius: 50%;
	  border-top: 16px solid #3498db;
	  width: 120px;
	  height: 120px;
	  -webkit-animation: spin 1s linear infinite; /* this is an issue.  can add up to 1s to wait time*/
	  animation: spin 1s linear infinite;
	}

	@-webkit-keyframes spin {
	  0% { -webkit-transform: rotate(0deg); }
	  100% { -webkit-transform: rotate(360deg); }
	}

	@keyframes spin {
	  0% { transform: rotate(0deg); }
	  100% { transform: rotate(360deg); }
	}

	/* Add animation to "page content" */
	.animate-bottom {
	  position: relative;
	  -webkit-animation-name: animatebottom;
	  -webkit-animation-duration: 1s;
	  animation-name: animatebottom;
	  animation-duration: 1s
	}

	@-webkit-keyframes animatebottom {
	  from { bottom:-100px; opacity:0 }
	  to { bottom:0px; opacity:1 }
	}

	@keyframes animatebottom {
	  from{ bottom:-100px; opacity:0 }
	  to{ bottom:0; opacity:1 }
	}
/* right-click context menu */
#contextMenu {
  position: absolute;
  display:none;
}

#contextmenu-node{
    position: absolute;
    background-color: white;
    border: solid #CCCCCC 1px;
}
.contextmenu-item{
    margin: 0.5em;
    padding-left: 0.5em;
}

.contextmenu-item:hover{
    background-color: #CCCCCC;
    cursor: default;
}
/* sidebar menu */
.sidebar-menu{
  width:0px;
  height:400px;
  background-color:#5E5E5E;
  position:fixed;
  right:0;
  z-index: 100;
  border: none;
  -webkit-transition: width 0.5s ease-in-out;
  -moz-transition: width 0.5s ease-in-out;
  -o-transition: width 0.5s ease-in-out;
  transition: width 0.5s ease-in-out;
  overflow: hidden;
  list-style: none;
}

.sidebar-menu.is-visible{
  width:200px;
  -webkit-transition: width 0.5s ease-in-out;
    -moz-transition: width 0.5s ease-in-out;
    -o-transition: width 0.5s ease-in-out;
    transition: width 0.5s ease-in-out;
	list-style: none;
}

.sidebar-menu li {
    text-indent: 20px;
    line-height: 40px;
	color: white;
	list-style: none;
}

.sidebar-menu li a {
    display: block;
    text-decoration: none;
    color: #999999;
}

.sidebar-menu li a:hover {
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

.sidebar-menu li a:active,
.sidebar-menu li a:focus {
    text-decoration: none;
}
/************************************
	-- ID Section --
	These are one off implementations
*************************************/
#myDiv {
  display: none;
  text-align: center;
}

#btnAddRow{
	background-color: white;
	background-image : url(add_row.png); /* same dir as style for now*/
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 100% 100%; /* This will set image size to size of button*/
}
#inputUser, #inputPassword, #inputCompany, #inputWarehouse{
	/*background-color:#A9BF94;*/
	background-color:rgba(255,255,255,.6) !important;
}

#evsloader{
/*position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  */
}

#menuCategoryIcon{
	height: 30px; /* Was relative, but glitches in Firefox */
	width: 37px;
	margin-right: 10px;
}


#btn_material {
	margin-left: -12px;
	margin-top: -12px;
}


.col-centered {
  float: none;

}

md-autocomplete input:not(.md-input) {
	margin-top: -5px !important;
}

.md-autocomplete {
	min-width: 0px !important;
}

.md-autocomplete-wrap {
	min-width: 0px !important;
}

/* The text box itself */
md-autocomplete md-autocomplete-wrap {
	height:26px !important;
}

.md-autocomplete-wrap .md-autocomplete {
	height: 26px !important;
}

.autocomplete-evs li {
  border-bottom: 1px solid #ccc;
  height: auto;
  padding-top: 8px;
  padding-bottom: 8px;
  white-space: normal;
}
.autocomplete-evs li:last-child {
  border-bottom-width: 0;
}
.autocomplete-evs .item-title,
.autocomplete-evs .item-metadata {
  display: block;
  line-height: 2;
}
.autocomplete-evs .item-title md-icon {
  height: 18px !important;
  width: 18px;
}

.autocomplete-div {
	padding-top: 14px;
	height: 26px !important;
}

.entry-calendar-button {

    border-bottom-color: rgb(0,0,0,0) !important;
    padding-bottom: 3px;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 3px;
    height: 28px !important;
    margin-left: -1px;
    margin-right: 10px;
    height: 28px !important;
    margin-bottom: 3px !important;
    margin-left: 0px !important;
}

.entry-calendar-input {
    border: 1px solid #ccc !important;
    border-style: solid !important;
    border-radius: 4px !important;
    /*border-bottom-color: rgb(0,0,0,0) !important;*/
    border-bottom: 1px solid #ccc !important;
    padding-bottom: 3px;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 3px;
    height: 28px !important;
    margin-bottom: 3px !important;
    width: 200px !important;
}

.entry-calendar-icon.i {
    top: -3px;
    border: none !important;
    border-color: rgba(0,0,0,0) !important;
    color: rgb(150, 150, 150);
}

.entry-select {
    border: 1px solid #ccc !important;
    border-style: solid !important;
    border-radius: 4px !important;
    border-bottom-color: rgb(0,0,0,0) !important;
}

/***/
#entry-autocomplete, md-autocomplete input:not(.md-input) {
	margin-top: -3px !important;
}

#entry-autocomplete, .md-autocomplete {
	min-width: 0px !important;
}

#entry-autocomplete, .md-autocomplete-wrap {
	min-width: 0px !important;
}

/* The text box itself */
#entry-autocomplete, md-autocomplete md-autocomplete-wrap {
	height:26px !important;
}

#entry-autocomplete, .md-autocomplete-wrap .md-autocomplete {
	height: 26px !important;
}

#entry-autocomplete .autocomplete-evs li {
  border-bottom: 1px solid #ccc;
  height: auto;
  padding-top: 0px;
  padding-bottom: 0px;
  white-space: normal;
}
#entry-autocomplete .autocomplete-evs li:last-child {
  border-bottom-width: 0;
}
.autocomplete-evs .item-title,
.autocomplete-evs .item-metadata {
  display: block;
  line-height: 2;
}
#entry-autocomplete .autocomplete-evs .item-title md-icon {
  height: 18px !important;
  width: 18px;
}

#entry-autocomplete .autocomplete-div {
	padding-top: 0px;
	height: 26px !important;
}


/***/

/*Cards*/
.card-content-style{
    scrollbar-face-color: #367CD2;
    scrollbar-shadow-color: #FFFFFF;
    scrollbar-highlight-color: #FFFFFF;
    scrollbar-3dlight-color: #FFFFFF;
    scrollbar-darkshadow-color: #FFFFFF;
    scrollbar-track-color: #FFFFFF;
    scrollbar-arrow-color: #FFFFFF;
	margin-bottom: 15px;
	height: 475px;
	background-color: #ffffff;
}

/* Initial */
.card-content-style::-webkit-scrollbar {
    width: 12px;
}

/* Track */
.card-content-style::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

/* Handle */
.card-content-style::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    /*background: rgba(128,195,68,.8); */
	background: #c8c8c8;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

.evs-material-search {
	background-color: rgba(255,255,255,0);
	margin-bottom: 15px;
	border: none;
}

.evs-material-search:hover{
	background-color: lightgray;
	border-radius: 0px 5px 5px 0px;
}

.material-calendar{
	margin-bottom: 15px;
	border: none;
}

.material-calendar:hover{
	color: #80C344;
	background-color: rgba(255,255,255,0);
}

md-input-container.md-default-theme.md-input-invalid .md-char-counter, md-input-container.md-input-invalid .md-char-counter, md-input-container.md-default-theme.md-input-invalid .md-input-message-animation, md-input-container.md-input-invalid .md-input-message-animation, md-input-container.md-default-theme.md-input-invalid label, md-input-container.md-input-invalid label {
	color: rgba(0,0,0,0.38);
}

md-input-container.md-default-theme.md-input-invalid .md-input, md-input-container.md-input-invalid .md-input {
	border-color: rgba(0,0,0,0.38);
}

/* Empty portion of progress bar */
.evs-progressbar {
    background-color: #f5f5f5
}

/* Filled portion of progress bar */
.evs-progressbar .progress-bar-success {
    /* background-color: rgb(245, 0, 0) */
}

/* Text percent in progress bar */
.evs-progressbar .progress-bar-success i {
    /* background-color: rgb(245, 0, 0) */
    color: #444;
    font-weight: 700;
}

.md-autocomplete-suggestions li {
  line-height: 20px;
}

.grid-layout-3-columns {
  padding: 20px;
  display: grid;
  grid-gap: 10px 10px;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
}

.media-container {
  text-align: center;
  margin: 10px;
}

.media-container__image {
  outline: none;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  transition: all 0.3s ease-in-out;
}

.media-container__image:hover {
  box-shadow: 5px 10px 4px rgba(0,0,0,0.15);
  transform: scale(1.05, 1.05);
  transition: transform 0.3s ease-in-out;
}

.media-container__description {
  margin-top: 10px;
}

#menuItemSearchInput {
  -moz-appearance: none;
  -webkit-appearance: none;
}

.modal-min-height {
  min-height: 65vh !important; /* ewwwww! */
}
/* Two-column form. Example: Labor Entry modal in Mf Management screen */
form.two_columns{
    width: 100%;
}
form.two_columns .input-box{
    width: 150px;
}
form.two_columns .input-container{
    overflow: auto;
    padding-top: 7px;
}
form.two_columns div.modal-footer{
    margin: 0;
}
.w-full {
    width: 100%
}
form.compact md-input-container{
    margin-top: 6px;
    margin-bottom: 4px;
}

/* Inline Modal BEGIN */
/* The Inline Modal (background) */
.inline_md {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.inline_md_content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Inline Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* The Inline Modal Close Button */
#inline_md_close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

#inline_md_close:hover,
#inline_md_close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .inline_md_content {
    width: 100%;
  }
}
/* Inline Modal END */


/* override .less */
.row {
    margin-right: 0px;
    margin-left: 0px;
}
.center_flex {
  display: flex;
  justify-content: center;
}
.pull-right_fl {
  display: flex;
  justify-content: right;
}
