﻿
/* bootstrap.css overwrites */


.navbar-fixed-top {
	margin:0;/*fix scrollbars in chrome because of left and right margins*/
	z-index: 5000 !important;

	-webkit-transform: translateZ(0);
	-moz-transform: translateZ(0);
	-ms-transform: translateZ(0);
	-o-transform: translateZ(0);
	transform: translateZ(0);
}

.navbar-fixed-top .navbar-inner,
.navbar-static-top .navbar-inner {
  /*border-width: 0 0 1px;*/
	border: 0;
	padding: 0;
}

.navbar-static-top {
	z-index:5000;
	position: relative;
}

.navbar .brand
{
	margin:0;
	margin-bottom:-5px;
	margin-left:10px;

	padding:0px;
	padding-top:10px;

	outline:0;
}

.navbar-text
{
	line-height:38px;
}

.navbar-inner {
	min-height: 50px;
}

.navbar .nav > li > a {
	padding-top: 15px;
	padding-bottom: 15px;
}


.navbar-selected-student
{
	background: #bed6f1;
}

	a.current-user-name-link {
		padding-top: 15px;
		line-height: 20px;
		padding-bottom: 15px;
		padding-left: 10px;
		font-size:16px;
	}

	.nav.margin-right-0px {
		margin-right: 0;
	}

	a.current-user-name-link b.caret-left {
		opacity: 0.3;
		margin-top: 6px;
	}

	a.current-user-name-link:hover b.caret-left {
		opacity: 1;
	}

	a.current-user-name-link:hover {
		text-decoration: none;
		color: black;
	}



.well-didbook, .well-small
{
	background-color: #9cc6ee;
	background-color: rgba(255,255,255,0.2);
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	border-color: rgba(255,255,255,0.5);

	-webkit-box-shadow: none;
	box-shadow: none;
}


.well-didbook-performance /* used when we don't want IE7 to do its didbook-well fixes but we want the well appearance in other browsers '*/
{
	background-color: #9cc6ee;
	background-color: rgba(255,255,255,0.2);
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	border-color: rgba(255,255,255,0.5);

	-webkit-box-shadow: none;
	box-shadow: none;
}


.well-didbook-vertical-condensed {
	padding-bottom: 10px;
	padding-top: 10px;
}

#applicationCategoryFilters .accordion-heading .accordion-toggle {
    display: inline;
}


h1 small,h2 small,h3 small,h4 small,h5 small,h6 small
{
	color:#999;
	color:rgba(0,0,0,0.3);
	padding-left:5px;
}


.dropdown-menu
{
	margin-top:1px;/*override the default 2px margin*/
	-ms-overflow-style: -ms-autohiding-scrollbar;
	-ms-scroll-chaining: none;
    /* ReSharper disable once CssNotResolved */
	overscroll-behaviour: contain;
	max-height: calc(100vh - 100px);
    overflow: auto;
}

.dropdown-menu > li.info {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: normal;
  line-height: 20px;
  color: #659ace;
  white-space: nowrap;
}


.btn
{
	font-size:16px;
}


a.btn i
{
	margin-top:3px;
	margin-right:-3px;
}

body, html
{
	min-height:100%;
	height:100%;
	padding-top: 0px !important;
	padding-bottom: 0px !important;
}


form {
	margin-bottom: 0px;
}




.table-striped tbody > tr:nth-child(odd) > td,
.table-striped tbody > tr:nth-child(odd) > th {
	background-color: #f9f9f9;
	background-color: rgba(255, 255, 255, 0.3);
}

.table-hover tbody tr:hover td,
.table-hover tbody tr:hover th {
	background-color: #f9f9f9;
	background-color: rgba(255, 255, 255, 0.6);
}




.modal-body {
	/*background-color: #d9eafb;*/

	/* blue50 Google Material */
	background-color: #E3F2FD; 
}

.modal-header ,
.modal-footer {
	background-color: #9cc6ee;
	background-color: #BBDEFB; /* blue 100 Google Material */
}

.modal.wide {
  /* Note: media queries take over the width when the screen > 767px */
  /* left: 50%; width: 700px; margin-left: -350px; */
  left: 50%;
  width: 90%;
  margin-left: -45%;
}

.modal.width560 {
	left: 50%;
	width: 560px;
	margin-left: -280px;
}


.modal-header h3 {
	font-weight:300; font-family:myriad-pro,calibri,sans-serif;
	border: none;
}

/* KH added from later bootstrap to stop body scrolling on modal open */
/* TODO: added with information from here: https://wordpress.org/support/topic/main-scrollbar-disappears-upon-triggering-a-modal-page-content-shifts-right/ */
.modal-open {
	overflow: hidden;
	-ms-overflow-style: scrollbar;
	height: 100%;
}
.modal-open .modal {
	overflow-x: hidden; 
	overflow-y:auto;
}
/*body.modal-open {
	overflow: auto !important;
	pointer-events: none;
	height: 100%;
}*/



.inline-icon {
	margin: 0;
	margin-top: 4px;
	margin-right: -2px !important; /* important is needed since sometimes i tags are targetted very specifically and later */
}



.popover {
	max-width: 400px; /* increased from 276px - note: this is reduced based on media queries below */
	z-index: 10000;
}

	.popover.right .arrow {
		left: -10px;
	}



.inline-print {
  display: none !important;
}

@media print {
  .inline-print {
    display: inline !important;
  }
}



a[href].hidden-print-href:after
{
	content: none !important;
}





div.tabs-left.tabs-left-condensed ul.nav-tabs li {
	margin-bottom: 0;
}
    div.tabs-left.tabs-left-condensed ul.nav-tabs li a {
        margin-bottom: 0;
        padding-top: 6px;
        padding-bottom: 6px;
    }







@media (min-width: 768px) and (max-width: 979px) {
}

@media (max-width: 979px) {
	/* applied when we are in a smaller screen mode and the header and footer are no longer sticky */

	body {
		padding-top: 400px;
	}

	.navbar-fixed-top .navbar-inner {
		/* remove the padding to fix the scrollbar on larger screens */
		padding-top: 0;
		padding-bottom: 0;
	}

	#mainContainer
	{
		padding-top:20px !important; /* in this screen width the topnav is part of the flow (i.e. not fixed) */
		padding-left: 10px;
		padding-right: 10px;
	}

	#mainContainer.with-current-user {
		padding-top: 20px !important;
	}

  .navbar-fixed-top .navbar-inner,
  .navbar-fixed-bottom .navbar-inner {
    /*padding: 5px;*/
	padding: 0px;
  }
}






@media (max-width: 767px) {
	/* at this width the grid gets converted to a stack */


	li.applicationTile
	{
		/*border-color: red;*/
		height: auto; /* we no longer have the grid so we don't need to set a fixed height */
	}
}

@media (max-width: 480px) {
	/* at this width, pull-left and pull-right go to block layout*/

	li.applicationTile a.pull-left {
		display: inline-block;
		float: left;
	}

	/* the first panel before application tiles gives a welcome and some useful information*/
	.welcome-message-counts
	{
		float: left;
	}

	.popover {
		max-width: 300px; /* increased from 276px - note: this is reduced based on media queries below */
	}


}


@media (max-width: 300px) {

	.popover {
		max-width: 276px; /* reset to bootstrap standard for small screen widths */
	}

}




@media (min-width: 1200px) {
}


@media (min-width: 980px) {
}



@-ms-viewport { width: device-width; }














/* Extensions */

/* Dropdown Menus */

.dropdown-menu li.header {
	font-weight: 400;
	text-transform: uppercase;
	color: #659ad7;
	padding-left: 20px;
	pointer-events: none;
}

.dropdown-menu li.sub.divider {
	margin-left: 20px;
}