/* --- Local overrides to the Vixxo style --- */
html body {
	background-color:white !important;	
}
 .alert {
	background-color:white !important;
	border-width:2px !important;
}  
/* .alert:before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.178);
  } */

/* -- Override the Vixxo button size forcing, which breaks buttons in ui-grid -- */
.swm-btn {
	height:auto !important;
	width:auto !important;;
}

.swm-btn-group {
	padding: 0 0 !important;
}

/* -- Override the Vixxo mandatory underscore on anchor tags -- */
a[role=button] {
	text-decoration-line: none !important;
}


/* Top bar elements */
.swm-user-profile{
	margin-top: 5px;
	margin-right: 10px;
	color: #f5f6f0 !important;
}

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

/* Sidebar menu elements */
.swm-sidebar {
	margin-left: -15px;
	padding-right: 0px;
	text-decoration: none;
}

#sidebarMenu {
	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;
	
}

#sidebarMenu in {
	padding-right: 0px;
	box-shading: #515755 0px 6px 10px;
}

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

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

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


/* Homebrew draggable directive */
.selectedForDrag{
	background-color: #d3ffdd !important;
}

/* Content window: to be fixed. */

#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;
}

/* Current left hand menu, to be fixed. */

#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;
}

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

/* Current main content area, to be fixed */

#page-content-wrapper {
    position: absolute;
    padding: 15px;
    width: 100%;  
    overflow-x: hidden;  
    background-color: white !important;
}

#wrapper.toggled #page-content-wrapper {
    position: relative;
    margin-right: 0px; 
}

.xyz{
    min-width: 360px;
}

/* 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;
}

/* Content sizing for narrow viewports. */

@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;

    }
}


/* --- Generic Styling, for Desktops/Laptops
  (Looks like something DPatra added to support the data grid layouts on the excel upload pages.
   Can this be refactored?) 
--- */ 

	table { 
		width: 100%; 
		border-collapse: collapse; 
	}
	/* Zebra striping */
	
	th { 
		color: black; 
		font-weight: bold; 
	}
	
	thead tr {
	    background: #eee;
	}
	
	tbody tr:nth-of-type(even): {
		background: #fcfcfc;
	}
	
	tbody tr:nth-of-type(odd) {
		background: white;
	}
	
	td, th { 
		padding: 6px; 
		
		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 { 
			display: block; 
		}
		
		textarea {
        width:100%;
        }
		
		/* Hide table headers (but not display: none;, for accessibility) */
		thead tr { 
			position: absolute;
			top: -9999px;
			left: -9999px;
		}
		
		tr { border: 1px solid #ccc; }
		th { border: 1px solid #ccc; }
		
		td { 
			/* Behave  like a "row" */
			border: none;
			border-bottom: 1px solid #eee; 
			position: relative;
			padding-left: 50%; 
		}
		
		td:before { 
			/* Now like a table header */
			position: absolute;
			/* Top/left values mimic padding */
			top: 6px;
			left: 3px;
			width: 45%; 
		
			white-space: nowrap;
		}
		
		/*
		Label the data
		*/
		#workscopeClass td:nth-of-type(1):before { content: ""; }
		#workscopeClass td:nth-of-type(2):before { content: "Frequency"; }
		#workscopeClass td:nth-of-type(3):before { content: "Category"; }
		#workscopeClass td:nth-of-type(4):before { content: "Task"; }
		#workscopeClass td:nth-of-type(5):before { content: ""; }
	}
	

	.error{
    color: red;
    border-color:red;
}

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

.swm-grid {
	/* width: 1024px; */
	overflow-y: auto;
	height: 600px;
	font-size:10pt;
}

.swm-delta {
	background-color: #ffffcc !important;
}

.swm-grid-dense {
	overflow-y: auto;
	height: 600px;
	font-size:8pt;
	color:black;
}

  /* 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;
  }
  
  
  
  
