body{
	font-family:Arial;
}

body#mainBody {
	background: #d7d7d7;

}

body#lessons
{
	margin: 4px;
	padding: 0;
	background :#CCCC99;
}

body, html{
	height:100%;
	font-size:16px;
	z-index:0;
}


h1, h2, h3, h4, h5, h6 {
  letter-spacing: 2px;
}

h2{
	padding-bottom:12px;
}

a, a:hover{
	cursor:pointer;
	color:#006666;
	text-decoration:none
}
.alert a{
	text-decoration: underline;
}
p {
  line-height: 1.6;
  color: #000;
}


li{
	padding-bottom:8px;
}

fieldset, .fieldset{
  border: solid 1px #f47c23;
  padding:10px;
  padding-left:30px;
  margin-bottom:20px;
}

legend, .legend{
  color:#4c4c4c;
  /*f47c23*/
  font-weight:bold;
  width:auto;
  padding-left:10px;
  padding-right:10px;
  border:0;
  margin-bottom:6px;
}
legend.scheduler-border {
    width:auto;
    padding:0 10px; /* To give a bit of padding on the left and right */
    border-bottom:none;
}
.legend{
	position:relative;top:-24px;background:white;
	padding-left:10px;
	padding-right:10px;
}
hr{
  color:red;
  background-color:#CC9;
  height:2px;'
}


.btmPadding{
	padding-bottom:12px;
}

.quotes_is{
	quotes: "“" "”" "‘" "’";
}

.quotes_is:before {
    content: open-quote;
}
.quotes_is:after {
    content: close-quote;
}
/* *****************************
   *** brand, header *** */
.nav li{
	padding-bottom:0;
}

.brand,
.address-bar {
  display: none;
}

#title{
	margin-top:20px;
	font-size:30px;
}
.navbar-brand {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 900;
}

.navbar-nav {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400;
}

li.dropdown{
 	z-index:100;
 	-webkit-backface-visibility: hidden;
}
.brand-name {
  font-weight: 700;
  font-size: 1.5em;
  text-transform: capitalize;
  letter-spacing: normal;
}

#logo{
	background: #073046 url('/images/main/logo2.jpg') repeat-x 0 0;
	background-repeat: no-repeat;
	background-size: 304px;
	height:70px;
	padding: 30px 0 10px;
}

.header-window2{
	height:50px;
	background:#073046;
	line-height: 18px;
}
.header-close{
	text-align:right;
	padding-top:18px;
	line-height:12px
}
.header-close a{
	color:white;
	font-size:12px;
	font-style:italic;
}
.flipping-book{
	padding-top:10px;
}
.title-window2{
	color:white;
	font-size:20px;
	padding-top:10px;
}
.navbar-default {
  border: none;
}

.dropdown-menu{
	background-color:#f5c097;
}

.headerPop{
  color:#FFFFFF;
  text-align:center;
  font-size:18px;
  margin-bottom:12px;
  background: #073046;

}
.nopadding{
	padding-bottom:0;
	margin-bottom:0;
}
/* *****************************
   *** main, footer *** */
.main{
	min-height:600px;
	padding-top:50px;
	padding-bottom:20px;
	margin:auto;
	background-color:#FFFFFF;
	padding-left:40px;
	padding-right:40px;
}
footer div {
  margin: 0;
  padding: 0 0;
  font-size:13px;
}
footer a{
	color:black;
	font-size:14px;
}
/* *****************************
   *** tables *** */

.table1{
	border:solid 1px silver;
}
.table1 td, .table1 th{
	height:40px;
	padding-left:10px;
	border:solid 1px silver;
}
.center-table{
  margin: 0 auto !important;
  float: none !important;
}
td, th{
	padding-bottom:6px;
	padding-top:6px;
}

/* tables: grades*/
#grades td, #grades th{
	text-align:center;
	font-size:14px;
}
table #grades th{
	backgruond:silver;
}
.whitespace{
  border:none !important;
}
div.table-grades .table-bordered{
	border:none !important;
}
.firstCol{
  border:none !important;
  border-top:none !important;
}
.topRow{
  border-top:1px solid #ddd !important;
  background-color:silver;
}
.tallTpRow{
  border-top:1px solid #ddd !important;
  background-color:silver;
}
tr.olderGrades td{
  border:none !important;

}
tr.olderGradesLast td{
  border:none !important;
}

/* *****************************
   *** various *** */
.img-full {
  min-width: 100%;
}

.tagline-divider {
  margin: 15px auto 3px;
  border-color: #999999;
  max-width: 250px;
}

.box {
  background: #fff;
  background: rgba(255,255,255,0.9);
  margin-bottom: 20px;
  padding: 30px 15px;
}

.intro-text {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.25em;
  font-weight: 400;
}

.img-border {
  float: none;
  margin: 0 auto 0;
  border: #999999 solid 1px;
}

.img-left {
  float: none;
  margin: 0 auto 0;
}

.row_border_btm{
	border-bottom:solid 1px silver;
	padding-bottom:16px;
}
.justify{
	text-align:justify;
}

.no-gutter {
    padding-left:0;
    padding-right:0;
}

.nobold{
	font-weight:normal;
}
.closedChapter{
	color:gray;
}

#windowCloseAlert {
	color: red;
	margin-bottom: 20px;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	border: solid 1px silver;
	padding: 6px;
}

.exerciseIconWrap{
	width:25px;
	background: url('/images/main/excercise_icon.gif') repeat-x 0 0;
	background-position: center;
}
.exercise_link{
 	display: block;
    height: 25px width: 25px;
}

/* *****************************
   *** form and buttons *** */

.btn-primary{
	background-color:#f47c23;
	border-color:#c9661d;
}
.btn-primary:hover, .btn-primary:focus{
	background-color:#c9661d;
	border-color:#c9661d;
}
.radioGroup{
	line-height:1.5em;
}
input[type="checkbox"], input[type="radio"]{
	margin-right:8px;
}
.btn-large{
	width:180px;
}
label.rightAlign{
  text-align: right;
  display: block;
  float:left;
  width:220px;
  padding-right:10px;
}

label.labelTop{
  color:#333333;
  float:none;
  padding-left:0px;
  margin-left:0px;
  text-align:left;
}
.hasDatepicker{
	width:120px;
}


.errorSummary{
	color:red;
}
.errorSummary ul{
	padding-left:0;
}
#error li{
	color:red;
}
#error p{
	color:red;
	font-weight:bold;
}
.navigateBtn{
  text-align:center;
  width:100%;
  padding-top:30px;
}

/* *****************************
   *** special divs *** */
#instructions{
	font-size:1em;
	margin-bottom:20px;
	border: solid 2px silver;
	background-color:#bbd1d1;
	padding:10px;
}
#instructionTeachers{
	font-size:0.9em;
	margin-bottom:20px;
}
#formInfo{
 	padding-bottom:10px;
}

#dialogBoxSuccess{
  min-height:80px;
  background-color:silver;
  border:solid 2px gray;
  margin-top:50px;
  margin-bottom:50px;
  padding:10px;
}
.grades_basicInfo{
	font-size:1.1em;
}


/* *****************************
   *** courses: parts, subparts *** */
h2.part{
	font-size:20px;
	margin-bottom:10px;
	padding-bottom:0;
	font-weight:600;
}
h3.subpart{
	font-size:18px;
}

a.openPart{
	font-size:22px;
	float:left;
	padding-top:16px;
	padding-left:1px;
}
a.openSubpart{
	font-size:20px;
	float:left;
	margin-top:16px;
	padding-right:2px;
}

.pointer{
cursor:pointer;
}

.fancyContainer{
	max-width:750px;
	min-width:400px;
	max-height:500px;
	min-height:200px;
}

.flex-video {
  position: relative;
  padding-top: 25px;
  padding-bottom: 67.5%;
  height: 0;
  margin-bottom: 16px;
  overflow: hidden;
}

.flex-video.widescreen { padding-bottom: 57.25%; }
.flex-video.vimeo { padding-top: 0; }

.flex-video iframe,
.flex-video object,
.flex-video embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media only screen and (max-device-width: 800px), only screen and (device-width: 1024px) and (device-height: 600px), only screen and (width: 1280px) and (orientation: landscape), only screen and (device-width: 800px), only screen and (max-width: 767px) {
  .flex-video { padding-top: 0; }
	h3.subpart{
		font-size:12px;
	}
}
@media screen and (min-width: 280px) {
	.onlySmallPlus{
		display:none;
	}
	.onlyMediumPlus{
		display:none;
	}
	.onlySmallMinus{
		display:inline;
	}
	.main{
		padding-left:10px;
		padding-right:30px;
	}
	h3.subpart {
		font-size:18px;
	}
	fieldset, .fieldset{
	  padding-left:1px;
	  margin-bottom:20px;
	}
	.header-window2 {
		line-height: 16px;
	}
}


@media screen and (min-width: 768px) {

	.main{
    	min-height:560px;
    	padding-left:10px;
    	padding-right:10px;
    }
	.brand {
  		display: inherit;
  		font-weight: 200;
  		font-size: 2.4em;
  		line-height: normal;
  		text-align: center;
  		margin: 0;
  		color: #fff;
  		text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  		background: #073046;
		height:90px;
		padding-top:10px;
	}

	.header-window2{
		height:70px;
		line-height:30px;
	}
	.title-window2{
		font-size:30px;
		padding-top:10px;
	}
	.flipping-book{
		padding-top:18px;
	}
	.header-close a{
		font-size:14px;
	}
	#title{
		margin-top:34px;
		font-size:30px;
	}
	.top-divider {
  		margin-top: 0;
	}

	.img-left {
  		float: left;
  		margin-right: 25px;
	}

	.address-bar {
  		display: inherit;
	  	text-align: center;
  		margin: 0;
  		padding: 0 0 40px;
  		font-size: 1.25em;
  		text-transform: uppercase;
  		letter-spacing: 3px;
  		font-weight: 400;
  		color: #fff;
  		text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
	}

	.navbar-header {
  		display: none;
	}

	.navbar {
  		min-height: 0;
  		border-radius: 0;
  		margin-bottom:10px;
	}

	.navbar-default {
  		background: #f47c23;
  		border: none;
	}

	.navbar-nav>li>a {
  		line-height: normal;
  		color: #032f46 !important;
  		padding-top:6px !important;
  		padding-bottom:6px !important;
	}

	.navbar-nav {
  		float: none;
  		margin: 0 auto;
  		display: table;
  		table-layout: fixed;
  		font-size: 16px;
  		letter-spacing: 2px;
	}

	.nav li a{
		padding-left:14px !important;
		padding-right:14px !important;
	}


	h2.part{
		font-size:24px;
		margin-bottom:10px;
		padding-bottom:0;
		font-weight:600;
	}
	h3.subpart{
		font-size:20px;
	}
	a.openPart{
		font-size:22px;
		float:left;
		padding-top:16px;
		padding-left:1px;
	}
	a.openSubpart{
		font-size:20px;
		float:left;
		margin-top:16px;
		padding-right:2px;
	}
	.onlyMediumPlus{
		display:none;
	}
	.onlySmallMinus{
		display:inline;
	}
	fieldset, .fieldset{
	  padding-left:30px;
	  margin-bottom:20px;
	}
}

@media screen and (min-width: 992px) {
    .box:after {
        content: '';
        display: table;
        clear: both;
    }
    #logo{
		background-size: 340px;
	}
    .main{
    	min-height:700px;
    	padding-left:70px;
    	padding-right:70px;
    }
    .navbar-nav {
  		letter-spacing: 3px;
	}
	.nav li a{
		padding-left:25px !important;
		padding-right:25px !important;
	}
	body{
		font-size:17px;
	}
	#title{
		margin-top:30px;
		font-size:40px;
	}

	a.openPart{
		padding-left:12px;
	}
	a.openSubpart{
		padding-right:12px;
	}
	#grades td, #grades th{
		font-size:16px;
	}
	.onlyMediumPlus{
		display:inline;
	}
	.onlySmallMinus{
		display:none;
	}
	.title-window2{
		font-size:40px
	}
}

@media screen and (min-width: 1200px) {
    .box:after {
        content: '';
        display: table;
        clear: both;
    }
    .main{
    	min-height:700px;
    	padding-left:90px;
    	padding-right:90px;
    }
    .navbar-nav {
  		letter-spacing: 3px;
	}
	.nav li a{
		padding-left:45px !important;
		padding-right:45px !important;
	}
	body{
		font-size:18px;
	}

	h2.part{
		font-size:24px;
		margin-bottom:10px;
		padding-bottom:0;
		font-weight:600;
	}
	h3.subpart{
		font-size:20px;
	}
	a.openPart{
		font-size:24px;
		float:left;
		padding-top:16px;
		padding-left:20px;
	}
	a.openSubpart{
		font-size:20px;
		float:left;
		margin-top:16px;
		padding-right:20px;

	}
	.onlyMediumPlus{
		display:inline;
	}
	.onlySmallMinus{
		display:none;
	}


}

@media (max-width: @screen-xs-max) {

	.onlyMediumPlus{
		display:none;
	}
	.main{
		min-height:600px;
		padding-top:50px;
		padding-bottom:20px;
		margin:auto;
		background-color:#FFFFFF;
		padding-left:0px;
		padding-right:0px;
	}

	h3.subpart{
		font-size:10px;
	}
}

/*Fixes */
.ui-datepicker-month, .ui-datepicker-year{
	color:black;
}
