/*
 *
 * Main structure
 *
 */

html {
	min-height: 100%;
	position: relative;
}

body {
	font-family: 'Titillium Web', sans-serif;
	margin-bottom: 60px;
	padding-top: 50px;
}

.navbar-brand {
	padding: 0px;
}

.navbar-brand > img {
	height: 100%;
	padding: 15px;
	width: auto;
}

@media (max-width: 767px) {
	.lr-padding {
		padding: 0 10px 0 10px;
	} 
}

.footer {
	background-color: #f5f5f5;
	/* border-top: 1px solid #ddd; */
	bottom: 0;
	height: 60px;
	left: 0;
	position: absolute;
	width: 100%;
	-webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

footer.toggled {
	padding-left: 350px;
}

.footer > .container-fluid {
	padding-left: 15px;
	padding-right: 15px;
}

.footer > .container-fluid .text-muted {
	margin: 20px 0;
}

/*
 *
 * Sidebar
 *
 */

/* 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: 250px;
}

#sidebar-wrapper {
    position: fixed;
    left: 350px;
    z-index: 1000;
    overflow-y: auto;
    margin-left: -350px;
    width: 0;
    height: 93%;
    background-color: #f8f8f8;
    border-right: 1px solid #ddd;
    -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: 350px;
}

#page-content-wrapper {
    padding: 15px;
    width: 100%;
}

#wrapper.toggled #page-content-wrapper {
    position: absolute;
    margin-right: -350px;
}

/* Sidebar Styles */

.sidebar-nav {
    position: absolute;
    top: 0;
    margin: 0;
    padding: 0;
    padding-top: 10px;
    width: 350px;
    list-style: none;
}

.sidebar-nav li {
    /* text-indent: 20px; */
    line-height: 30px;
}

.sidebar-nav li a {
	color: #337ab7;
    display: block;
    text-decoration: none;
}

.sidebar-nav li a:hover {
    background-color: rgba(51, 122, 183, 1);
    color: #fff;
    text-decoration: none;
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
    height: 65px;
    font-size: 18px;
    line-height: 60px;
}

.sidebar-nav > .sidebar-brand a {
    color: #999999;
}

.sidebar-nav > .sidebar-brand a:hover {
    background: none;
    color: #fff;
}


 	#wrapper {
        padding-left: 350px;
    }

    #wrapper.toggled {
        padding-left: 0;
    }

    #sidebar-wrapper {
        width: 350px;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 0;
    }

    #page-content-wrapper {
        padding: 20px;
    }

    #wrapper.toggled #page-content-wrapper {
        position: relative;
        margin-right: 0;
    }


ul, ol {
	list-style: none;
}

#accordion1 li.panel {
	margin-bottom: 0px;
}

/*
 *
 *	Margins
 *
 */

.m-1 {
	margin: .5rem !important;
}

.m-2 {
	margin: .75rem !important;
}

.m-3 {
	margin: 1rem !important;
}

.m-4 {
	margin: 1.25rem !important;
}

.m-5 {
	margin: 1.5rem !important;
}

.mb-1 {
	margin-bottom: .5rem !important;
}

.mb-2 {
	margin-bottom: .75rem !important;
}

.mb-3 {
	margin-bottom: 1rem !important;
}

.mb-4 {
	margin-bottom: 1.25rem !important;
}

.mb-5 {
	margin-bottom: 1.5rem !important;
}

.ml-1 {
	margin-left: .5rem !important;
}

.ml-2 {
	margin-left: .75rem !important;
}

.ml-3 {
	margin-left: 1rem !important;
}

.ml-4 {
	margin-left: 1.25rem !important;
}

.ml-5 {
	margin-left: 1.5rem !important;
}

.mr-1 {
	margin-right: .5rem !important;
}

.mr-2 {
	margin-right: .75rem !important;
}

.mr-3 {
	margin-right: 1rem !important;
}

.mr-4 {
	margin-right: 1.25rem !important;
}

.mr-5 {
	margin-right: 1.5rem !important;
}


.mt-1 {
	margin-top: .5rem !important;
}

.mt-2 {
	margin-top: .75rem !important;
}

.mt-3 {
	margin-top: 1rem !important;
}

.mt-4 {
	margin-top: 1.25rem !important;
}

.mt-5 {
	margin-top: 1.5rem !important;
}

.mx-1 {
	margin: 0 .5rem 0 .5rem !important;
}

.mx-2 {
	margin: 0 .75rem 0 .75rem !important;
}

.mx-3 {
	margin: 0 1rem 0 1rem !important;
}

.mx-4 {
	margin: 0 1.25rem 0 1.25rem !important;
}

.mx-5 {
	margin: 0 1.5rem 0 1.5rem !important;
}

.my-1 {
	margin: .5rem 0 .5rem 0 !important;
}

.my-2 {
	margin: .75rem 0 .75rem 0 !important;
}

.my-3 {
	margin: 1rem 0 1rem 0 !important;
}

.my-4 {
	margin: 1.25rem 0 1.25rem 0 !important;
}

.my-5 {
	margin: 1.5rem 0 1.5rem 0 !important;
}

/*
 *
 * Padding
 *
 */

.p-1 {
	padding: .5rem !important;
}

.p-2 {
	padding: .75rem !important;
}

.p-3 {
	padding: 1rem !important;
}

.pb-1 {
	padding-bottom: .5rem !important;
}

.pb-2 {
	padding-bottom: .75rem !important;
}

.pb-3 {
	padding-bottom: 1rem !important;
}

.pl-1 {
	padding-left: .5rem !important;
}

.pl-2 {
	padding-left: .75rem !important;
}

.pl-3 {
	padding-left: 1rem !important;
}

.pr-1 {
	padding-right: .5rem !important;
}

.pr-2 {
	padding-right: .75rem !important;
}

.pr-3 {
	padding-right: 1rem !important;
}

.pt-1 {
	padding-top: .5rem !important;
}

.pt-2 {
	padding-top: .75rem !important;
}

.pt-3 {
	padding-right: 1rem !important;
}

.px-1 {
	padding: 0 .5rem 0 .5rem !important;
}

.px-2 {
	padding: 0 .75rem 0 .75rem !important;
}

.px-3 {
	padding: 0 1rem 0 1rem !important;
}

.py-1 {
	padding: .5rem 0 .5rem 0 !important;
}

.py-2 {
	padding: .75rem 0 .75rem 0 !important;
}

.py-3 {
	padding: 1rem 0 1rem 0 !important;
}

/*
 *
 * Panels
 *
 */

.panel-body {}

/*
 *
 * Modals
 *
 */

.modal-dialog {}


/*
 *
 * Feedback
 *
 */

.has-feedback .form-control-feedback {
	right: 10px;
}

/*
 *
 * Callouts
 *
 */ 

.bs-callout {
	border: 1px solid #eee;
	border-left-width: 5px;
	border-radius: 3px;
	margin: 20px 0;
	padding: 20px;
}

.bs-callout h5 {
	margin-bottom: 5px;
	margin-top: 0;
}

.bs-callout p:last-child {
	margin-bottom: 0;
}

.bs-callout code {
	border-radius: 3px;
}

.bs-callout+.bs-callout {
	margin-top: -5px;
}

.bs-callout-default {
	border-left-color: #777;
}

.bs-callout-default h5 {
	color: #777;
}

.bs-callout-primary {
	border-left-color: #428bca;
}

.bs-callout-primary h5 {
	color: #428bca;
}

.bs-callout-success {
	border-left-color: #5cb85c;
}

.bs-callout-success h5 {
	color: #5cb85c;
}

.bs-callout-danger {
	border-left-color: #d9534f;
}

.bs-callout-danger h5 {
	color: #d9534f;
}

.bs-callout-warning {
	border-left-color: #f0ad4e;
}

.bs-callout-warning h5 {
	color: #f0ad4e;
}

.bs-callout-info {
	border-left-color: #5bc0de;
}

.bs-callout-info h5 {
	color: #5bc0de;
}

/*
 *
 * Badges
 *
 */

.badge {
	white-space: nowrap;
	vertical-align: middle;
	margin-top: -0.25em;
}

.badge:hover {
	color: #ffffff;
	text-decoration: none;
	cursor: pointer;
}

.badge-error {
	background-color: #b94a48;
}

.badge-error:hover {
	background-color: #953b39;
}

.badge-warning {
	background-color: #f89406;
}

.badge-warning:hover {
	background-color: #c67605;
}

.badge-success {
	background-color: #468847;
}

.badge-success:hover {
	background-color: #356635;
}

.badge-info {
	background-color: #3a87ad;
}

.badge-info:hover {
	background-color: #2d6987;
}

.badge-inverse {
	background-color: #333333;
}

.badge-inverse:hover {
	background-color: #1a1a1a;
}

/*
 *
 * Other
 *
 */

.rounded-circle {
	border-radius: 50%;
}

.td-text-center {
	text-align: center !important;
	vertical-align: middle !important;
}

@media (min-width: 768px) {
	.modal {
		margin-bottom: 5% !important;
	}
	.modal-full-screen {
		width: 80%;
		height: 80%;
	}
}

.btn-sm {
	margin-right: 4px;
}

.panel-right {
  margin-top: -0.2em;
  padding: 0.3em;
  float: right;
  color: #ffffff;
}

.panel-title a, .panel-title a:active, .panel-title a:visited {
    text-decoration: none !important;
}

.v-align {
	padding-top: 10px;
}

/*	
 * 
 * Customizations by GD 
 *
 */

#main-menu .panel-heading, #main-menu .btn-block, .landingmenu {
  text-transform: uppercase;
}

.landingmenu {
	text-align: center;
}

.landing_hr {
  border-color: #0066CC;
}

.landing_images {
	max-width: 40%;
}

#main-menu .panel-primary > .panel-heading {
    background-color: #0066CC;
    border-color: #0066CC;
}

a {
    color: #0066CC;
}

/*	
 * 
 * Attachments box 
 *
 */

#attBox > thead > tr > th:nth-child(1) {
	width: 5%;
}

#attBox > thead > tr > th:nth-child(2) {
	width: 40%;
}

#attBox > thead > tr > th:nth-child(3) {
	width: 40%;
}

#attBox > thead > tr > th:nth-child(4) {
	width: 15%;
}

.ui-autocomplete {
    z-index: 99999 !important
}

/*	
 * 
 * DataTables fix
 *
 */

table.dataTable,
table.dataTable th,
table.dataTable td {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

/*	
 * 
 * Timeline
 *
 */
 
./* The actual timeline (the vertical ruler) */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: #BBBBBB;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

/* Container around content */
.timeline-container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

/* The circles on the timeline */
.timeline-container::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -12px;
  background-color: white;
  border: 4px solid #449D44;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

/* Place the container to the left */
.timeline-left {
  left: 0;
}

/* Place the container to the right */
.timeline-right {
  left: 50%;
}

/* Add arrows to the left container (pointing right) */
.timeline-left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid #BBBBBB;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent #BBBBBB;
}

/* Add arrows to the right container (pointing left) */
.timeline-right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid #BBBBBB;
  border-width: 10px 10px 10px 0;
  border-color: transparent #BBBBBB transparent transparent;
}

/* Fix the circle for containers on the right side */
.timeline-right::after {
  left: -12px;
}

/* The actual content */
.timeline-content {
  padding: 20px 30px;
  background-color: white;
  position: relative;
  border: solid medium #BBBBBB;
  border-radius: 6px;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
/* Place the timelime to the left */
  .timeline::after {
    left: 31px;
  }

/* Full-width containers */
  .timeline-container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

/* Make sure that all arrows are pointing leftwards */
  .timeline-container::before {
    left: 30px;
    border: medium solid grey;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

/* Make sure all circles are at the same spot */
  .timeline-left::after, .timeline-right::after {
    left: 5px;
  }

/* Make all right containers behave like the left ones */
  .timeline-right {
    left: 0%;
  }
}

.timeline-label {
  min-width: 50px;
  display: inline-block;
}

/*
 *
 * LOADER
 *
 */

.lds-dual-ring {
  display: inline-block;
  width: 64px;
  height: 64px;
}
.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 46px;
  height: 46px;
  margin: 1px;
  border-radius: 50%;
  border: 5px solid #a0a0a0;
  border-color: #a0a0a0 transparent #a0a0a0 transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
