/*!
 * Start Bootstrap - SB Admin Bootstrap Admin Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

/* Global Styles */

body {
    margin-top: 80px;
}

@media(min-width:768px) {
    body {
        margin-top: 0;
    }
	.navbar-fixed-top {
		height: 0;
		min-height: 0;
		margin: 0;
		padding: 0;
		border: 0;
	}
	.side-nav {
		top: 0 !important;
	}
}

#wrapper {
    padding-left: 0;
}

#page-wrapper {
    width: 100%;
    padding: 0;
    background-color: #fff;
}

.huge {
    font-size: 50px;
    line-height: normal;
}

@media(min-width:768px) {
    #wrapper {
        padding-left: 180px;
    }

    #page-wrapper {
        padding: 10px;
    }

	.navbar-header {
		display: none;
	}
}

/* Top Navigation */

.top-nav {
	position: absolute;
	top: 0;
	right: 0;
    padding: 0 30px;
	margin-top: 15px;
    padding-bottom: 15px;
	z-index: 200;
}

.top-nav>li {
    display: inline-block;
    float: left;
}

.top-nav>li>a {
    padding-top: 3px;
    padding-bottom: 7px;
    line-height: 20px;
    color: #999;
}

.top-nav>li>a:hover,
.top-nav>li>a:focus,
.top-nav>.open>a,
.top-nav>.open>a:hover,
.top-nav>.open>a:focus {
    color: #000;
	background: transparent;
}

.top-nav>.open>.dropdown-menu {
    float: left;
    position: absolute;
    margin-top: 0;
    border: 1px solid rgba(0,0,0,.15);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    background-color: #fff;
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
}

.top-nav>.open>.dropdown-menu>li>a {
    white-space: normal;
}

ul.message-dropdown {
    padding: 0;
    max-height: 250px;
    overflow-x: hidden;
    overflow-y: auto;
}

li.message-preview {
    width: 275px;
    border-bottom: 1px solid rgba(0,0,0,.15);
}

li.message-preview>a {
    padding-top: 15px;
    padding-bottom: 15px;
}

li.message-footer {
    margin: 5px 0;
}

ul.alert-dropdown {
    width: 200px;
}

/* Side Navigation */

.side-nav>li>a.navbar-brand {
	display:none;
}

.side-nav>li>a {
	padding: 12px 15px;
}

li.active ul {
	display: block;
}

@media(min-width:768px) {
    .side-nav {
        position: fixed;
        top: 51px;
        left: 180px;
        width: 180px;
        margin-left: -180px;
        border: none;
        border-radius: 0;
        overflow-y: auto;
        background-color: #222;
		height: 100%;
    }

    .side-nav>li>a {
        width: 180px;
    }

	.side-nav>li.active a {
		background-color: #15996f !important; /*#156f99*/
		box-shadow: none !important;
	}
	.side-nav li.active>ul>li.active a {
		color: white;
	}

    .side-nav li a:hover,
    .side-nav li a:focus {
        outline: none;
        background-color: none; /*#156f99*/
    }

	.side-nav>li>a.navbar-brand {
		display: block;
		color: #15996f; /*#1883b6;*/
		font-weight: bold;
		font-size: 20px;
		line-height: 35px;
		height: auto;
	}
	.side-nav>li>a.navbar-brand:hover,
	.side-nav>li>a.navbar-brand:active {
		background: none !important;
		color: #15996f; /*#1883b6;*/
	}
}

.side-nav>li>ul {
    padding: 0;
}

.side-nav>li>ul>li>a {
    display: block;
    padding: 8px 15px 8px 38px;
    text-decoration: none;
    color: #999;
	background-color: #222 !important;
}
.side-nav>li.active>ul>li>a {
	background-color: #0f6f50 !important;
}

.side-nav>li>ul>li>a:hover {
    color: #fff;
}

/* Flot Chart Containers */

.flot-chart {
    display: block;
    height: 400px;
}

.flot-chart-content {
    width: 100%;
    height: 100%;
}

/* Custom Colored Panels */

.huge {
    font-size: 40px;
}

.panel-green {
    border-color: #5cb85c;
}

.panel-green .panel-heading {
    border-color: #5cb85c;
    color: #fff;
    background-color: #5cb85c;
}

.panel-green a {
    color: #5cb85c;
}

.panel-green a:hover {
    color: #3d8b3d;
}

.panel-red {
    border-color: #d9534f;
}

.panel-red .panel-heading {
    border-color: #d9534f;
    color: #fff;
    background-color: #d9534f;
}

.panel-red a {
    color: #d9534f;
}

.panel-red a:hover {
    color: #b52b27;
}

.panel-yellow {
    border-color: #f0ad4e;
}

.panel-yellow .panel-heading {
    border-color: #f0ad4e;
    color: #fff;
    background-color: #f0ad4e;
}

.panel-yellow a {
    color: #f0ad4e;
}

.panel-yellow a:hover {
    color: #df8a13;
}

.progress {
	-webkit-box-shadow: none;
	box-shadow: none;
	border-radius: 2px;
}
.progress-bar {
	background-color:#42ca8b;
	-webkit-box-shadow: none;
	box-shadow: none;
}

/* ============================ */

input, select, textarea, button, .input-group-addon, .selectize-input {
	border-radius: 2px !important;
}
.modal-content {
	border-radius: 3px !important;
}
.modal-header {
	background-color: #f4f4f4;
	padding-bottom: 10px;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
}
.modal-body {
	padding-bottom: 10px;
}
.input-group input:not([type=button]):not([type=reset]):not([type=submit]) {
	border-top-right-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}
.input-group-addon {
	border-top-left-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
}
input:not([type=button]):not([type=reset]):not([type=submit]), select, textarea, .selectize-input {
	box-shadow: none !important;
}

label {
	text-align: left !important;
	padding-left: 20px !important;
}

.selectize-control {
	margin-right: 1%;
}
.input-sm .selectize-input{
	min-height:0 !important;
	height:30px !important;
	padding:5px 10px !important;
	font-size:12px !important;
	line-height:1.5 !important
}

.dataTable  {
	margin: 0 0 10px 0 !important;
	border-bottom: 2px solid #ddd;
}
.dataTable th {
	border: 2px solid white;
	background-color: #efefef !important;
}
.dataTables_paginate {
	float: left !important;
}
.dataTables_length {
	float: right !important;
	width: 25%;
}
.dataTables_length label {
	float: left;
	margin: 5px 0 0 0;
	padding: 0 !important;
	width: auto;
}
.dataTables_length select {
	float: left;
}


#sysAlert {
	position: fixed;
	top: 30px;
	left: 50%;
	width: 600px;
	margin-left: -300px;
	z-index: 1051;
}

.blink {
  animation: blink 1s steps(3, start) infinite;
  -webkit-animation: blink 1s steps(3, start) infinite;
}
@keyframes blink {
  to { visibility: hidden; }
}
@-webkit-keyframes blink {
  to { visibility: hidden; }
}


.loading-fader {
	opacity: 0.2;
}
.loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -25px 0 0 -25px;
  z-index: 999;
  width: 50px;
  height: 50px;
  background-color: #15996f;
  -webkit-animation: rotateplane 1.2s infinite ease-in-out;
  animation: rotateplane 1.2s infinite ease-in-out;
}
@-webkit-keyframes rotateplane {
  0% { -webkit-transform: perspective(120px) }
  50% { -webkit-transform: perspective(120px) rotateY(180deg) }
  100% { -webkit-transform: perspective(120px) rotateY(180deg)  rotateX(180deg) }
}
@keyframes rotateplane {
  0% { 
    transform: perspective(120px) rotateX(0deg) rotateY(0deg);
    -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg) 
  } 50% { 
    transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
    -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg) 
  } 100% { 
    transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  }
}