/*!
 * Start Bootstrap - Simple Sidebar HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

html,
body {
  height: 100%;
  /* The html and body elements cannot have any padding or margin. */
}

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

#wrapper.toggled {
    padding-left: 200px;
}

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    left: 200px;
    height: 100%;
    margin-left: -200px;
    overflow-y: auto;
    background: #fff;
    -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: 200px;
}

#page-content-wrapper {
/*     width: 100%; */
    position: absolute;
    padding: 15px;
}

#wrapper.toggled #page-content-wrapper {
    position: absolute;
    margin-right: -200px;
}

/* Sidebar Styles */

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

.sidebar-nav li {
    text-indent: 20px;
    line-height: 40px;
    border-bottom: 1px solid #f0f4f7;
}

.sidebar-nav li:last-child {
    text-indent: 20px;
    line-height: 40px;
    border-bottom: none;
}

.sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: #93a3b5;
}

.sidebar-nav li a:hover {
	font-weight: none;
	text-decoration: none;
	background-color: #fafcfd;
	color: #5b9bd1;
}

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

.sidebar-nav ul li {
	margin-left: -40px;
}

.sidebar-nav ul li a {
	padding-left: 40px;
}

/* See http://bootsnipp.com/snippets/featured/user-profile-sidebar */
.sidebar-nav li.active a   {
	color: #5b9bd1;
	background-color: #f6f9fb;
	border-left: 6px solid #5b9bd1;
	text-indent: 17px;
}

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

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

.sidebar-nav > .sidebar-brand a:hover {
    color: #59ADEA;
    background: none;
}

@media(min-width:768px) {
    #wrapper {
        padding-left: 200px;
    }

    #wrapper.toggled {
        padding-left: 0;
    }

    #sidebar-wrapper {
        width: 200px;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 0;
    }

    #page-content-wrapper {
        padding: 20px;
/*         position: relative; */
    }

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

 @media(max-width: 768px) {
 	.sss_collapsableText { display: none !important}
 	
 	 #sidebar-wrapper {
         width: 50px !important;
     }
 	
 	 .sidebar-nav {
         width: 50px !important;
     }
     
     .sss-private-content-wrapper {
     	left: 60px !important;
     	width: calc(100% - 70px);
     }
     
     .sidebar-nav li {
     	text-indent: 8px !important;
     }
     
     .sidebar-nav li.active a {
     	text-indent: 5px !important;
     }
     
     .sidebar-nav ul {
     	padding-left: 10px
     }
     
     .sidebar-nav ul li {
     	margin-left: -10px;
     }
     
     .sidebar-nav ul li a {
     	padding-left: 10px;
     }
     
     #sss_filterBox {
  		width: 100px;
  	 }
  	 
  	 .sss_shrinkableTable {
  		font-size: 12px !important;
  	 }

	.sss_tableHeaderPlaceholder {
		height: 45px !important;
	}
 }
/* Company management private page elements */
.companyUserAdd {
	background: lightgreen;
}
.companyUserRemove {
	background: lightcoral;
}
.companyUserSetAdmin {
	background: lightblue;
}
.companyUserClearAdmin {
	background: lightgrey;
}
.companyUserEditFlags {
	background: lightyellow;
}

.sss-page-wrap {
  min-height: 100%;
  /* equal to footer height */
  margin-bottom: -90px; 
}
.sss-page-wrap:after {
  content: "";
  display: block;
}
.sss-site-footer, .sss-page-wrap:after {
  height: 90px; 
}
.sss-site-footer {
  background: orange;
}

.sss_shrinkableTable {
  	table-layout: fixed;
  	width: 100%;
	font-size: 14px;
}

.sss_tableHeaderPlaceholder {
	color: black;
	position: absolute;
	padding: 12px;
	top: 0;
	left: 0;
	height: 48px;
	width: calc(100% - 17px);
    background: white;
    border-top: 1px solid #eceeef;
    border-bottom: 2px solid #eceeef;
}
 
.capitalize {
    text-transform: capitalize;
}

/* Temporary btn-toolbar fix */
.sss_buttonbar {
	/* TODO Fix this for IE */
	display: -webkit-inline-box;
	display: -moz-inline-box;
}

#sss_passwordRecoveryButton {
	cursor: pointer;
}