/* ==========================================================================
   Custom Styles
   ========================================================================== */

/*
 * Web Fonts
 */

@font-face {
    font-family: 'montserratbold';
    src: url('montserrat-bold-webfont.eot');
    src: 
         url('montserrat-bold-webfont.svg#montserratbold') format('svg'),
         url('montserrat-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('montserrat-bold-webfont.woff') format('woff'),
         url('montserrat-bold-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'montserratregular';
    src: url('montserrat-regular-webfont.eot');
    src: url('montserrat-regular-webfont.svg#montserratregular') format('svg'),
    	 url('montserrat-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('montserrat-regular-webfont.woff') format('woff'),
         url('montserrat-regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

body {
	/*font-family: 'montserratregular', 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
    position: relative;
}

#loadingDiv {
  background: url('../images/ajax-loader2.gif');
  width: 220px;
  height: 20px;
  left:50%;
  top: 50%;
  margin-top: -10px; /* Half the height */
  margin-left:-20px;
  position: absolute;
}

[class^="icon-"], [class*=" icon-"] {
	margin-top: 0;
}

.container-fluid {
  padding: 0;
}

.navbar-inner .container-fluid {
  padding: 0 15px;
}

.greeting {
  color: #fff;
  margin: 9px 20px 0 0;
}

.nav-collapse .form-search {
  margin: 5px 0 0 0;
}

.nav-collapse .form-search button {
  margin: 0;
}

.alert {
    clear: both;
}

.alert-error {
}

header {
	padding: 20px 0;
}

.logo {
	float: left;
	margin: 0 10px 0 0;
}

nav {
	float: left;
	margin: 20px 0 0 20px;
}

.actions {
	float: right;
	margin: 17px 20px 0 20px;
}

.action {
	color: #ffffff;
	display: inline-block;
	/*font-family: 'montserratbold', 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
	font-size: 16px;
	margin: 0 0 0 10px;
	padding: 10px 15px;
	text-transform: uppercase;
}

.action i {
	margin: 0 10px 0 0;
}

.action:hover {
	color: #FFFFFF;
	text-decoration: none;
}

.add-event {
	background: #126845;
}

.notifications {
	background: #408496;
	position: relative;
}

.notification {
	background: url('../img/notification-bg.png') no-repeat;
	display: inline-block;
	font-size: 15px;
	height: 20px;
	padding: 1px 0 0 0;
	position: absolute;
	right: 8px;
	top: -8px;
	text-align: center;
	width: 20px;
}

.badge-important, .badge-info, .badge-warning {
	position: absolute;
	right: 8px;
	top: -8px;
}

.floaters {
	background: #534679;
	position: relative;
}

.enquiries {
	background: #D96F31;
	position: relative;
}

.navbar {
	clear: both;
	float: left;
	margin: 0;
	width: 100%;
}

.advanced-search {
	background-color: #fafafa;
	background-image: -moz-linear-gradient(top, #ffffff, #f2f2f2);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f2f2f2));
	background-image: -webkit-linear-gradient(top, #ffffff, #f2f2f2);
	background-image: -o-linear-gradient(top, #ffffff, #f2f2f2);
	background-image: linear-gradient(to bottom, #ffffff, #f2f2f2);
	background-repeat: repeat-x;
	border: 1px solid #d4d4d4;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff2f2f2', GradientType=0);
	*zoom: 1;
	-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
	-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
	display: none;
	float: left;
	margin: 20px 0 20px 0;
	width: 100%;
}

/*.advanced-search .form-search {
	float: left;
	margin: 0;
	padding: 20px;
	width: 100%;
}

.control-group {
	float: left;
	margin: 0 20px 0 0;
}

.toolbar .control-group {
	margin: 10px 0 0 20px;
}

.controls {
	float: left;
	margin: 0 20px 0 0;
}

.advanced-search .checkbox {
	clear: both;
	float: left;
}*/

.toolbar {
	background-color: #fafafa;
	background-image: -moz-linear-gradient(top, #ffffff, #f2f2f2);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f2f2f2));
	background-image: -webkit-linear-gradient(top, #ffffff, #f2f2f2);
	background-image: -o-linear-gradient(top, #ffffff, #f2f2f2);
	background-image: linear-gradient(to bottom, #ffffff, #f2f2f2);
	background-repeat: repeat-x;
	border: 1px solid #d4d4d4;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff2f2f2', GradientType=0);
	*zoom: 1;
	-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
	-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
	float: right;
	margin: 0 0 10px 0;
	padding: 10px 10px 0 10px;
  margin: 10px 10px 0 0;
  height: 39px;
}

.form-toolbar {
	padding: 20px 20px 0 20px;
}

div.search {
	margin: 0 0 0 10px;
}

/*.results {
	float: right;
}

.control-label {
	float: left;
	margin: 0 10px 0 0;
	padding: 6px 0 0 0;
}

.controls {
	float: left;
}*/

.navbar i {
	margin: 2px 5px 0 0;
	vertical-align: top;
}

.navbar .greeting i {
  margin: 0px !important;
}

.navbar .nav>li>a {
	padding: 10px 0 10px 15px;
}

.table td {
  font-size: 12px;
}

.table td a {
	font-size: 18px;
}
/*
aside.span2 {
  background: #f2f2f2;
  border-right: 1px solid #9e9e9e;
  padding: 10px 0;
  height: 1000px;
}
*/
aside.span2 {
  padding: 10px 0;
  height: 100%;
  bottom: 0px;
  /* position: absolute; */
  z-index: 1020;
  float: left;
  padding-top: 0px;
}

aside .nav-list {
  padding-right: 0;
}
aside .nav li {
  float: left;
  margin: 0 0 20px 0;
  width: 88%;
}
aside .nav a {
  text-align: center;
}
aside .nav i {
  font-size: 35px;
  width: 100% !important;
  float: none;
}
aside .nav .active {
  background: #ffffff;
  border-radius: 5px 0 0 5px;
  border-top: 1px solid #9e9e9e;
  padding: 10px 0;
  border-left: 1px solid #9e9e9e;
  border-bottom: 5px solid #9e9e9e;
  border-right: 3px solid #ffffff;
}
aside .nav-list>.active>a, aside .nav-list>.active>a:hover, aside .nav-list>.active>a:focus {
  color: #e34d51;
  background: none !important;
}
aside .nav-list>li>a, aside .nav-list .nav-header {
margin-right: 0;
font-size: 0.9em;
color: #4e9dc5;
}

.row-fluid .span9 {
    margin-left: -3px !important;
  }

section h1 {
  float: left;
  width: 100%;
}

/*!
 * Datepicker for Bootstrap
 *
 * Copyright 2012 Stefan Petre
 * Licensed under the Apache License v2.0
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 */
.datepicker {
  top: 0;
  left: 0;
  padding: 4px;
  margin-top: 1px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.datepicker:before {
  content: '';
  display: inline-block;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #ccc;
  border-bottom-color: rgba(0, 0, 0, 0.2);
  position: absolute;
  top: -7px;
  left: 6px;
}
.datepicker:after {
  content: '';
  display: inline-block;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #ffffff;
  position: absolute;
  top: -6px;
  left: 7px;
}
.datepicker > div {
  display: none;
}
.datepicker table {
  width: 100%;
  margin: 0;
}
.datepicker td,
.datepicker th {
  text-align: center;
  width: 20px;
  height: 20px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.datepicker td.day:hover {
  background: #eeeeee;
  cursor: pointer;
}
.datepicker td.day.disabled {
  color: #eeeeee;
}
.datepicker td.old,
.datepicker td.new {
  color: #999999;
}
.datepicker td.active,
.datepicker td.active:hover {
  color: #ffffff;
  background-color: #006dcc;
  background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
  background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
  background-image: -o-linear-gradient(top, #0088cc, #0044cc);
  background-image: linear-gradient(to bottom, #0088cc, #0044cc);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);
  border-color: #0044cc #0044cc #002a80;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  *background-color: #0044cc;
  /* Darken IE7 buttons by default so they stand out more given they won't have borders */

  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.datepicker td.active:hover,
.datepicker td.active:hover:hover,
.datepicker td.active:focus,
.datepicker td.active:hover:focus,
.datepicker td.active:active,
.datepicker td.active:hover:active,
.datepicker td.active.active,
.datepicker td.active:hover.active,
.datepicker td.active.disabled,
.datepicker td.active:hover.disabled,
.datepicker td.active[disabled],
.datepicker td.active:hover[disabled] {
  color: #ffffff;
  background-color: #0044cc;
  *background-color: #003bb3;
}
.datepicker td.active:active,
.datepicker td.active:hover:active,
.datepicker td.active.active,
.datepicker td.active:hover.active {
  background-color: #003399 \9;
}
.datepicker td span {
  display: block;
  width: 47px;
  height: 54px;
  line-height: 54px;
  float: left;
  margin: 2px;
  cursor: pointer;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.datepicker td span:hover {
  background: #eeeeee;
}
.datepicker td span.active {
  color: #ffffff;
  background-color: #006dcc;
  background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
  background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
  background-image: -o-linear-gradient(top, #0088cc, #0044cc);
  background-image: linear-gradient(to bottom, #0088cc, #0044cc);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);
  border-color: #0044cc #0044cc #002a80;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  *background-color: #0044cc;
  /* Darken IE7 buttons by default so they stand out more given they won't have borders */

  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.datepicker td span.active:hover,
.datepicker td span.active:focus,
.datepicker td span.active:active,
.datepicker td span.active.active,
.datepicker td span.active.disabled,
.datepicker td span.active[disabled] {
  color: #ffffff;
  background-color: #0044cc;
  *background-color: #003bb3;
}
.datepicker td span.active:active,
.datepicker td span.active.active {
  background-color: #003399 \9;
}
.datepicker td span.old {
  color: #999999;
}
.datepicker th.switch {
  width: 145px;
}
.datepicker th.next,
.datepicker th.prev {
  font-size: 21px;
}
.datepicker thead tr:first-child th {
  cursor: pointer;
}
.datepicker thead tr:first-child th:hover {
  background: #eeeeee;
}
.input-append.date .add-on i,
.input-prepend.date .add-on i {
  display: block;
  cursor: pointer;
  width: 16px;
  height: 16px;
}

/* Mod by Arthur */
.row-fluid .span10 {
  margin-left: 17%;
}

#calendar {
  margin: 0px auto;
  margin-left: 0%;
}

/* Amendments by Ste 08-Nov-2013 */

#hiddenLoader {
  background: #ccc;
  width: 100%;
  height: 100%;
  position: fixed;
  opacity: 0.3;
  display: none;
}
#hiddenLoader-spinner {
  background: url('../images/ajax-loader.gif') no-repeat;
  top: 35%;
  left: 50%;
  width: 70px;
  height: 70px;
  display: none;
  position: absolute;
}

.icon-emails {
    background: url("../images/email.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    height: 75px;
}

.icon-emails:hover {
    background: url("../images/email-focused.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
}

.active .icon-emails {
    background: url("../images/email-selected.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
}

.icon-messages {
    background: url("../images/sms.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    height: 75px;
}

.icon-messages:hover {
    background: url("../images/sms-focused.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
}

.active .icon-messages {
    background: url("../images/sms-selected.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
}

.icon-calls {
    background: url("../images/calls.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    height: 75px;
}

.icon-calls:hover {
    background: url("../images/calls-focused.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
}

.active .icon-calls {
    background: url("../images/calls-selected.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
}

#sideBar {
  width: 90%; 
  text-align: center;
  background: #f2f2f2;
  border-right: 3px solid #9E9E9E;
  border-bottom: 3px solid #9E9E9E;
}

.historyPanel form {
  margin: 0px !important;
}

.unpaid td {
  color: #e45752;
}
.paid td {
  color: #5fbe5f;
}

#myModal {
  left: 39%;
}


/* New */

.createPDFbutton {
  clear: both;
}

.textPage li {
  display: inline;
  margin-left: 15px;
}

.clear {
  margin-top: 20px;
  clear: both;
  width: 100%;
  display: block;
}

.hideMe {
  display: none;
}

.addStudent .control-group label {
   text-align: left; 
}

.bs-example li, .bs-example li span {
  display: inline;
}

.bs-example a, .bs-example span {
  font-size: 16px;
  margin-left: 30px;
}

/* Changes to Calendar look */
.fc-header-title h2 {
  font-size: 1.4em;
  color: #006fcc;
}

.fc-state-default, .fc-state-default .fc-button-inner {
border-style: solid;
background: #006fcc;
color: white;
border: 2px solid white;
}

.row-fluid .span2 {
  width: 10%;
}

.row-fluid .span10 {
  width: 85%;
  margin-left: 1%;
}

.align-right {
  text-align: right;
}

/* Diary Styles */
.unpaid-lesson, .unpaid-lesson .fc-event-skin, .unpaid-lesson .fc-event-content {
  background: #e55d5d;
  border-color: #e55d5d;
}

.paid-lesson, .paid-lesson .fc-event-skin, .paid-lesson .fc-event-content {
  background: #51a351;
  border-color: #51a351;
}

.account_edit_table_left {
  width: 250px;
}

.red {
  color: red;
}

/* Communication Styles */
.firstType div {
  background-color: #bcf9c6;
  padding: 8px;
  /*min-height: 50px;*/
}

.comm-first {
  border-radius: 15px 0px 0px 0px;
}

.comm-last {
  border-radius: 0px 15px 15px 0px;
}

.secondType div {
  background-color: #f69595;
  padding: 8px;
  /*min-height: 50px;*/
}

.comms th, .comms td {
  padding: 0px;
}

.teacherPassword {
  width: 356px;
  margin: 0 auto 12px;
}

#updateTeacher input {
  width: 200px;
}
#myDropDown {
  width: 215px;
}

#teachers tr.odd td.sorting_1, #teachers tr.odd, #teachers tr.even, #teachers tr.even td.sorting_1 {
  background: none;
}

/* Youve Got Mail Extension */
.messageContainer {
  position: relative;
}

.account_notes {
  padding-top: 0px !important;
  border-top: 0px !important;
  padding: 0px !important;
  line-height: 10px !important;
}
.account_notes p {
  margin: 0px;
  font-size: 0.85em;
  line-height: 1.5em;
}
.account_notes.left {
  width: 200px;
}

.messageAlert {
  position: absolute; 
  right: 10px; 
  color: red;
  background: url("../images/circle2.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0); 
  width: 20px;
  height: 20px;
  text-align: center;
  top: 15px;
  padding-top: 0px;
}

.white {
  color: white;
}


/* Changes 11th November 2014 */
.fc-event-vert .fc-event-time {
  position: relative !important;
  top: -3px !important;
  font-size: 12px !important; 
}

#some-div {
  min-width: 150px;
  max-width: 150px;
}

#some-element {
  display: none;
  font-size: 10px;
  margin-top: 10px;
  text-transform: uppercase;
}

#some-div:hover #some-element {
  display: block;
}

#some-div p, .control-buttons p {
  margin: 0 !important;
  vertical-align: middle !important; 
}

.control-buttons .btn {
  font-size: 12px !important;
  min-width: 50px;
  padding: 4px 6px 5px !important;
  line-height: 1.1em;
} 

.control-buttons a {
  line-height: 1.3em !important;
}

.control-buttons #SagePayForm {
  float: left !important;
  margin: 0 0 0 5px !important;
  display: block !important;  
}

.historyPanel th, .historyPanel td {
  line-height: 12px !important;
  padding: 3px 8px !important;
  vertical-align: middle !important;
  height: 25px !important;
}

.historyPanel td.redbit  {
  line-height: 12px !important;
  padding: 0px 8px !important;
  vertical-align: middle !important;
  height: 15px !important;
}

.smaller-text th, .smaller-text td {
  padding: 0px 8px 0 !important;
}
.smaller-text p {
  font-size: 0.8em;
  line-height: 1.3em;
}

.fixThisTable th, .fixThisTable td {
  padding: 0px 8px !important;
}

.constrainText {
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;  
}

.nav-tabs > li > a, .nav-pills > li > a {
    line-height: 14px !important;
    margin-right: 13px !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    font-size: 0.8em;
}

.custom-margin .control-label {
   padding-top: 0 !important;
}

.balanceForm .control-group {
  margin-bottom: 0px !important;
}

.resetBalanceForm .control-group {
  margin-bottom: 10px !important;
}

.shrinkAnchor {
  font-size: 12px !important;
}

.show {
  display: block !important;
}

.students-texts .chosen-container, #sendEmailModal .chosen-container {
  width: 100% !important;
}

.datepicker {
  z-index: 10000 !important;
}

.identify_button.btn.btn-primary {
  min-width: 250px;
  min-height: 50px;
}

.identify_container {
  width: 400px;
}
.identify_container .created_by .identify_label, .identify_container .edited_by .identify_label, .identify_container .created_by .identify_span, .identify_container .edited_by .identify_span  {
  float: left;
}
.identify_container .edited_by .identify_span, .identify_container .created_by .identify_span {
  width: 70% !important;
}

.identify_container .created_by, .identify_container .edited_by {
  clear: both;
}

/* new comms styles */

.comm-sent, .comm-recieved {
  background-color: #D3D4F5;
  padding: 15px 30px 15px 15px;
  max-width: 500px;
  clear: both;
  margin-bottom: 15px;
  position: relative;
}

.comm-sent .icons, .comm-recieved .icons {
  position: absolute;
  right: 10px;
}

.comm-recieved {
  float: left;
  border-radius: 25px 25px 25px 0px;
}
.comm-sent {
  float: right;
  border-radius: 25px 25px 0px 25px;
}

/* new monthly sales report styles */
.msr-table {width: 95%;}
.msr-table .msr-header {
  background: black;
}
.msr-table .msr-header h1, .msr-table .msr-header h4 {
  color: white;
  font-size: 1.8em;
}

.msr-table h1, .msr-table h3 {
  font-size: 1.23em !important;


  margin: 0px;  
}

.msr-table .msr-header p {
  color: white;
  font-weight: 600;
}

.msr-table .msr-header h4 {
  margin-left: 20px;
}

.msr-table .msr-month {
  background: #ffccff;
  text-align: center;
}

.msr-table tbody tr:nth-child(even) {background: #ffccff}
.msr-table tbody tr:nth-child(odd) {background: #FFF}

.msr-table .align-right {
  text-align: right;
}

.msr-table td:first-child p {
  margin-left: 10px;
}

.msr-table td:last-child p {
  margin-right: 10px;
}

.msr-table td {
  padding: 2px 0px;
  border: 1px solid #666;
}

.msr-table .msr-subtitles {
  background: #ffccff;
  padding: 0px;
}
.msr-table h6 {
  margin: 0px 5px;
  text-align: right;
}

.msr-black {
  background: black;
  color: white;
}

.msr-table p {
    padding: 5px;
}

.msr-total {
  background: #e45752;
  color: white;
}

.msr-monthly-button {
  float: left !important;
  margin: 0 0 20px 20px;  
}

.ti-table h5 {
  padding: 10px;
}

.ti-header-aspects {
  text-align: left;
  border: 0px !important;
  vertical-align: top;
}

.ti-header-aspects h6 {
  text-align: left;
  padding: 10px 0;
  font-size: 1.1em;
}

.ti-table h4 {
  text-align: center;
}

.receipt-section {
  margin: 20px 0 20px;
  width: 80mm;
  border: 1px solid #000;
}