/*!
* Modifications to vixxoStyles.css specific to the Employee Portal
*/

.selectedForDrag{
	background-color: #d3ffdd !important;
}

.cursor-pointer {
    cursor: pointer;
}

/* Combined Invoice Modal - Use 98% of viewport height */
.combined-invoice-modal-large .modal-dialog {
	max-height: 98vh;
	margin: 1vh auto;
}

.combined-invoice-modal-large .modal-content {
	max-height: 98vh;
	display: flex;
	flex-direction: column;
}

.combined-invoice-modal-large .modal-body {
	flex: 1 1 auto;
	overflow-y: auto;
}

/* NTE Redistribution Modal - Use 80% of viewport width */
.nte-redistribution-modal-large .modal-dialog {
	width: 80%;
	max-width: 80%;
	max-height: 98vh;
	margin: 1vh auto;
}

.nte-redistribution-modal-large .modal-content {
	max-height: 98vh;
	display: flex;
	flex-direction: column;
}

.nte-redistribution-modal-large .modal-body {
	flex: 1 1 auto;
	overflow-y: auto;
}
/* Excluded customer total styling (combined child quotes) */
.excluded-customer-total {
    color: #999 !important;
    font-style: italic;
}

/* Child quote row styling */
.quote-child-row {
    background-color: #f8f9fa !important;
    border-left: 3px solid #5cb85c;
}

.quote-child-row td:first-child {
    padding-left: 35px !important;
}

/* Toggle Styles */



#wrapper {
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    overflow: hidden;
}


#wrapper.toggled {
    padding-left: 250px;
    overflow: hidden;
}

#sidebar-wrapper {
    z-index: 1000;
    position: absolute; 
    left: 250px;
    width: 0;
    height: 100%;
    margin-left: -250px;
    overflow-y: auto;
    background: #000;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    background-color: rgb(79,98,40) !important;
}
#wrapper.toggled #sidebar-wrapper {
    width: 250px;
}

#page-content-wrapper {
    position: absolute;
    padding: 15px;
    width: 100%;  
    overflow-x: hidden;  
    background-color: white !important;
}
body {
    font-family: 'Clear Sans' !important;
    margin-top: 0px  !important;
}

pre {
    white-space: pre-wrap;
    background-color: transparent;
}

.pre-150max{
    max-height: 150px; 
    overflow-y:scroll;
    word-break:keep-all;
    word-wrap:normal;
}

.max250high{
    max-height: 250px; 
    overflow-y:scroll;
    word-break:keep-all;
    word-wrap:normal;
}

.max-width-400{
    max-width: 400px;
}

.xyz{
    min-width: 360px;
}
#wrapper.toggled #page-content-wrapper {
    position: relative;
    margin-right: 0px; 
}
.fixed-brand{
    width: auto;
}
/* Sidebar Styles */

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 250px;
    margin: 0;
    padding: 0;
    list-style: none;
    margin-top: 2px;
}

.sidebar-nav li {
    text-indent: 15px;
    line-height: 40px;
}

.sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: white;
    background-color: rgb(79,98,40);
}

.sidebar-nav li a:hover {
    text-decoration: none;
    color: black;
    font-weight : bold;
    background-color: #f5f5f5 !important;
    
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
    
}

.sidebar-nav li.active>a {
       text-decoration: none;
    background-color: #788835 !important;
}


.sidebar-nav > .sidebar-brand {
    height: 65px;
    font-size: 18px;
    line-height: 60px;
}

.sidebar-nav > .sidebar-brand a {
    color: #777;
}

.sidebar-nav > .sidebar-brand a:hover {
    color: #777;
    background: none;
}
.no-margin{
    margin:0;
}

.margin-right-5{
	margin-right:5px;
}

.margin-right-15{
	margin-right:15px;
}

.margin-left-5{
	margin-left:5px;
}

.margin-left-15{
	margin-left:15px;
}

.margin-top-15{
	margin-top:15px;
}

.margin-top-10{
	margin-top:15px;
}

.margin-top-5{
	margin-top:5px;
}

.margin-bottom-15{
	margin-bottom:15px;
}

.padding-15{
	padding: 15px;
}

.padding-20{
	padding: 20px;
}

.no-gutter > [class*='col-'] {
    padding-right:0;
    padding-left:0;
}

.borderless{
    border:none;
}

.nowrap {
    white-space:nowrap;
}

.header-text {
       font-size:18px !important;
       color: rgb(79,98,40) !important;
}

@media(min-width:768px) {
    #wrapper {
        padding-left: 250px;
    }
    .fixed-brand{
        width: 100%;
    }
    #wrapper.toggled {
        padding-left: 0;
    }

    #sidebar-wrapper {
        width: 250px;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 250px;
    }
    #wrapper.toggled-2 #sidebar-wrapper {
        width: 50px;
    }
    #wrapper.toggled-2 #sidebar-wrapper:hover {
        width: 250px;
    }


    #page-content-wrapper {
        padding: 20px;
        position: relative;
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
    }

    #wrapper.toggled #page-content-wrapper {
        position: relative;
        margin-right: 0;
        padding-left: 250px;
    }
    #wrapper.toggled-2 #page-content-wrapper {
        position: relative;
        margin-right: 0;
        margin-left: -200px;
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
        width: auto;

    }
}


/* Branding colour 
.btn-primary {
	background-color: rgb(79,98,40) !important;
}*/

/* Make Angular alerts more legible */
.alert {
  background-color:white !important;
  border-width:2px !important;
  
  /* color: black !important; */
}

.alert-primary {
    border-color: #788536;
    color: #788536;
}


.navbar-default {
	background-color: white !important;
	border-bottom-color: rgb(79,98,40) !important;
	
}
/* 
	Generic Styling, for Desktops/Laptops 
	*/
	table { 
		width: 100%; 
		border-collapse: collapse; 
	}
	
	thead tr{
		background: #eee; 
	}
	
	/* Zebra striping */
	tbody tr:nth-of-type(even) { 
		background: #fcfcfc; 
	}
	
	tbody tr:nth-of-type(odd) { 
		background: white; 
	}
	
	th { 
		color: black; 
		font-weight: bold; 
	}
	
	/* td, th :not(.uib-datepicker-popup.dropdown-menu ){ 
		padding: 6px; 
		border: 1px solid #ccc; 
		text-align: left; 
	} */
/* 
	Max width before this PARTICULAR table gets nasty
	This query will take effect for any screen smaller than 760px
	and also iPads specifically.
	*/
	@media 
	only screen and (max-width: 760px),
	(min-device-width: 768px) and (max-device-width: 1024px)  {
	
		/* Force table to not be like tables anymore */
		table, thead, tbody, th, td, tr :not(.uib-datepicker-popup.dropdown-menu ) { 
			display: block; 
		}
		
		textarea {
        width:100%;
        }
		
		/* Hide table headers (but not display: none;, for accessibility) */
		thead tr :not(.uib-datepicker-popup.dropdown-menu ) { 
			position: absolute;
			top: -9999px;
			left: -9999px;
		}
		
		tr :not(.uib-datepicker-popup.dropdown-menu ){ border: 1px solid #ccc; }
		th :not(.uib-datepicker-popup.dropdown-menu ){ border: 1px solid #ccc; }
		
		td :not(.uib-datepicker-popup.dropdown-menu ){ 
			/* Behave  like a "row" */
			border: none;
			border-bottom: 1px solid #eee; 
			position: relative;
			padding-left: 50%; 
		}
		
		td:before :not(.uib-datepicker-popup.dropdown-menu ){ 
			/* Now like a table header */
			position: absolute;
			/* Top/left values mimic padding */
			top: 6px;
			left: 3px;
			width: 45%; 
			font-weight: bold;
			white-space: nowrap;
		}
		
		/*
		Label the data
		*/
		#tableConvert td:before :not(.uib-datepicker-popup.dropdown-menu ){ content: attr(data-title); }
		
    }
    
#tableBulkInvoiceHistory td.no_wrap, th.no_wrap {
    max-width: 300px;
    white-space: nowrap;
}
	
	.error{
    color: red;
    border-color:red;
}

.grid {
  width: 1024px;
  height: 400px;
}

  /* Icon when the collapsible content is shown */
  .change:after {
    font-family: "Glyphicons Halflings";
    content: "\e114";
    
  }
  /* Icon when the collapsible content is hidden */
  .change.collapsed:after {
    content: "\e080";
  }
  
  .highlight{
   background-color: yellow;
  }
  
/****************************************
Menu
=======================================*/
.left-main-menu {
	margin-left: -15px;
	padding-right: 0px;
	
}
#ep-sidebar.in{
	padding-right: 0px;	
	box-shadow: #515755 0px 6px 10px;
}


.menu-group-item {
    color: #ebede2;
    background-color: #3e4543;
}

.left-main-menu a{
	text-decoration: none;
}

.user-profile{
	margin-top: 5px;
	margin-right: 10px;
	color: #f5f6f0 !important;
}

.user-profile span:hover{
	color: #c4caa8 !important;
}

a.list-group-item:hover, button.list-group-item:focus, button.list-group-item:hover{
	background-color: #ced3b6 !important;
	
}

.list-group-item-active{
	background-color: #9da76e !important;
}

a.list-group-item:focus{
	background-color: #9da76e !important;
}

.dropdown-btn {
    padding: 0px;
    border-style: none;
    cursor: pointer;
}

.dropdown-btn > li.list-group-item-success {
    background-color: #788536 !important;
    color: white !important;
}

.home-menu {
    display: none;
}

@media only screen and (max-width: 500px) {
    .home-menu {
        display: block;
    }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 736px) and (orientation: portrait) {
    .phone-no-pull-right {
        float: none!important;
    }
}

/****************************************
Angular misc.
=======================================*/
[ng\:cloak], [ng-cloak], .ng-cloak {
	display: none !important;
}

div[message-with-spinner] {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 10;
     
}
div[message-with-spinner]:before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: rgba(0, 0, 0, 0.075);
  } */
/** use changes for user contacts **/
.text-blue {
    color: blue;
    text-decoration : underline;
}

/* Force SR action dropdown menus to align left instead of right */
.sr-action-dropdown {
    transform: translateX(-125px) !important;
}