@font-face {
    font-family: 'opensans_bold';
    src: url('../fonts/opensans-bold/opensans-bold.eot');
    src: url('../fonts/opensans-bold/opensans-bold.eot') format('embedded-opentype'),
    url('../fonts/opensans-bold/opensans-bold.woff') format('woff'),
    url('../fonts/opensans-bold/opensans-bold.ttf') format('truetype'),
    url('../fonts/opensans-bold/opensans-bold.svg#OpenSansBold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'opensans_extrabold';
    src: url('../fonts/opensans-extrabold/opensans-extrabold.eot');
    src: url('../fonts/opensans-extrabold/opensans-extrabold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/opensans-extrabold/opensans-extrabold.woff') format('woff'),
    url('../fonts/opensans-extrabold/opensans-extrabold.ttf') format('truetype'),
    url('../fonts/opensans-extrabold/opensans-extrabold.svg#opensans_extrabold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'opensans_semibold';
    src: url('../fonts/opensans-semibold/opensans-semibold.eot');
    src: url('../fonts/opensans-semibold/opensans-semibold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/opensans-semibold/opensans-semibold.woff') format('woff'),
    url('../fonts/opensans-semibold/opensans-semibold.ttf') format('truetype'),
    url('../fonts/opensans-semibold/opensans-semibold.svg#opensans_semibold') format('svg');
    font-weight: normal;
    font-style: normal;
}
.OSX{
    opacity: 0.98;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
}

body {
    font-size:14px;
    padding-bottom: 40px;
    font-family: arial;
    color: #4f4e4e;
}

h3 {
    font-size: 20px;
    font-family: 'opensans_bold';
    line-height: 0.7;
}
label{
    font-family: 'opensans_bold';
    color: #999;
}

.container-fluid{padding-top: 70px;}

/*Nav bar*/
.navbar .brand {
    display:block;
    float:left;
    font-size:20px;
    font-weight:200;
    padding:10px 20px;
    margin-left:-15px;
}

.navbar .nav > li > a {
    float:none;
    padding:10px 15px;
    text-decoration:none;
}

.navbar .nav.pull-right {
    float: right;
    margin-top: 12px;
}
.navbar-search .search-query {
    border-radius:5px;
}

.icon-calendar{background-position:-192px -120px;}
/* Desktops and laptops ----------- */
@media only screen 
and (min-width : 1224px) {
    .container-fluid{padding-top: 70px;}
    .navbar .brand {margin-left:0px;}
    .style-switcher{margin-left:-70px;}
}

/* Large screens ----------- */
@media only screen 
and (min-width : 1824px) {
    .container-fluid{padding-top: 70px;}
    .navbar .brand {margin-left:0px;}
    .style-switcher{margin-left:-70px;}
    #calendar .container-fluid{padding-top: 10px;}
}

table.detail-view td {font-size:12px;}
h1,h2,h3,h4, .portlet > .portlet-decoration, .sidebar-nav > ul > li > a, .navbar a, th{
    font-family: 'Carrois Gothic', sans-serif;
}

.portlet > .portlet-decoration, .sidebar-nav > ul > li > a, .navbar li > a, th{
    font-size:14px!important;
}
/* Start Portlets*/
.portlet{
    -webkit-box-shadow:#F9F9F9 0 1px 0 inset;
    border:1px solid #DDDDDD;
    border-radius:3px;
    box-shadow:#F9F9F9 0 1px 0 inset;
    margin-bottom:20px;
    min-height:40px;

}

.portlet-decoration{
    border-bottom:1px solid #DDD;
    background-color: #5CBDC8;
    background-image: -moz-linear-gradient(top, #5CBDC8, #fbf8f6);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5CBDC8), to(#fbf8f6));
    background-image: -webkit-linear-gradient(top, #5CBDC8, #fbf8f6);
    background-image: -o-linear-gradient(top, #5CBDC8, #fbf8f6);
    background-image: linear-gradient(to bottom, #5CBDC8, #fbf8f6);
    background-repeat: repeat-x;
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ff5CBDC8', endColorstr='#fffbf8f6', GradientType=0);
    padding:10px;
}

.portlet-decoration [class^="icon-"], .portlet-decoration [class*=" icon-"] {

    margin-right:5px;

}
.portlet-content{
    padding:5px;
}

/* end Portlets*/
.navbar {
    margin-bottom:0px;
    overflow:visible;
}

.summary ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

.summary ul li {
    height: 52px;
    clear: both;
    margin-bottom: 14px;
}

.summary ul li .summary-icon {
    width: 36px;
    height: 36px;
    float: left;
    margin-right: 10px;
    padding: 6px;
    background: white;
    border: #DDD 1px solid;
    -webkit-box-shadow: inset 0 0 3px #EEE;
    -moz-box-shadow: inset 0 0 3px #eee;
    box-shadow: inset 0 0 3px #EEE;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
    border-radius: 100%;
}

.summary ul li .summary-number {
    font-size: 20px;
    font-weight: bold;
    display: block;
    padding-top: 8px;
}

.summary ul li .summary-title {
    display: block;
    text-transform: uppercase;
    font-size: 11px;
    color: #AB4000;
}

.stat-block {
    margin-bottom: 20px;
    padding: 10px;
    min-height:40px;
    background: #F1F1F1;
    background: -moz-linear-gradient(top, #F1F1F1 0%, #DBDBDB 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #F1F1F1), color-stop(100%, #DBDBDB));
    background: -webkit-linear-gradient(top, #F1F1F1 0%, #DBDBDB 100%);
    background: -o-linear-gradient(top, #F1F1F1 0%, #DBDBDB 100%);
    background: -ms-linear-gradient(top, #F1F1F1 0%, #DBDBDB 100%);
    background: linear-gradient(to bottom, #F1F1F1 0%, #DBDBDB 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f1f1f1', endColorstr='#dbdbdb', GradientType=0 );
    border: 1px solid #DDD;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: inset 0 1px 0 #F9F9F9;
    -moz-box-shadow: inset 0 1px 0 #f9f9f9;
    box-shadow: inset 0 1px 0 #F9F9F9;
}

.stat-block ul {
    margin: 0px;
    padding: 0px;
}

.stat-block li {
    list-style: none;
    float: left;
}

.stat-block .stat-graph {
    width: auto;
    background: white;
    padding: 10px 10px 8px 10px;
    border: #D7D7D7 1px solid;
    text-align: center;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin-right: 10px;
}

.stat-block .stat-count {
    width: 90px;
}

.stat-block .stat-count span:last-child {
    color: #666;
    font-size: 12px;
    font-weight: normal;
    padding-top:3px;
}

.stat-block li span {
    display: block;
}

.stat-block .stat-count span:first-child {
    color: #1D2E7B;
    font-weight: bold;
    font-size: 20px;
}

.stat-block .stat-percent {
    width: 40px;
    float: right !important;
    text-align: center !important;
}

.stat-percent{
    font-size: 20px;
    font-weight: bold;
}
/*Navbar*/
.navbar-fixed-top {
    top:0;
    left:0;
}

.dropdown-menu li > a:hover,
.dropdown-menu li > a:focus,
.dropdown-submenu:hover > a {
    color: #ffffff;
    text-decoration: none;
    background-color: #097F93;
    background-image: -moz-linear-gradient(top, #097F93, #097F93);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#097F93), to(#097F93));
    background-image: -webkit-linear-gradient(top, #097F93, #097F93);
    background-image: -o-linear-gradient(top, #097F93, #v);
    background-image: linear-gradient(to bottom, #097F93, #097F93);
    background-repeat: repeat-x;
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#c9b8b8', endColorstr='#c9b8b8', GradientType=0);
}

.dropdown-menu .active > a,
.dropdown-menu .active > a:hover {
    color: #ffffff;
    text-decoration: none;
    background-color: #097F93;
    background-image: linear-gradient(to bottom, #097F93, #097F93);
    background-image: -moz-linear-gradient(top, #097F93, #097F93);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#097F93), to(#097F93));
    background-image: -webkit-linear-gradient(top, #097F93, #097F93);
    background-image: -o-linear-gradient(top, #097F93, #097F93);
    background-repeat: repeat-x;
    outline: 0;
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#848282', endColorstr='#9e9090', GradientType=0);
}
/*Side Nav*/
.sidebar-nav {
    padding:0!important;
}

.sidebar-nav ul{
    padding:0;
    margin:0;
}

.sidebar-nav ul li{
    list-style: none;
}

.sidebar-nav ul > li > a, .sidebar-nav ul > li > a:hover, .sidebar-nav ul > li > span {
    padding:9px 15px;
    margin-bottom:3px;
    display:block;
}

.sidebar-nav ul > li > a, .sidebar-nav ul > li > a:hover {

    background-color: #F1F1F1;
    background-image: -moz-linear-gradient(top, #F1F1F1, #DBDBDB);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#DBDBDB), to(#DBDBDB));
    background-image: -webkit-linear-gradient(top, #F1F1F1, #DBDBDB);
    background-image: -o-linear-gradient(top, #F1F1F1, #DBDBDB);
    background-image: linear-gradient(to bottom, #F1F1F1, #DBDBDB);
    background-repeat: repeat-x;
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffF1F1F1', endColorstr='#ffDBDBDB', GradientType=0);

    -webkit-box-shadow:#F9F9F9 0 1px 0 inset;
    border:1px solid #DDDDDD;
    border-radius:3px;
    box-shadow:#F9F9F9 0 1px 0 inset;
    text-decoration:none;


}

.sidebar-nav  ul > li.active > a, .sidebar-nav ul > li.active > a:hover {

    background-color: #9e9090!important;
    background-image: -moz-linear-gradient(top, #9e9090, #979898)!important;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#9e9090), to(#979898))!important;
    background-image: -webkit-linear-gradient(top, #9e9090, #979898)!important;
    background-image: -o-linear-gradient(top, #9e9090, #979898)!important;
    background-image: linear-gradient(to bottom, #9e9090, #979898)!important;
    background-repeat: repeat-x;
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ff9e9090', endColorstr='#ff979898', GradientType=0);

    box-shadow:#cccccc 0 1px 0 inset;
    border:1px solid #9e9090;
    color:#F1F1F1;
}
.subnav.navbar-fixed-top {
    top:40px;
    z-index:1;
}
/*Progress bar*/
.progress, .ui-progressbar {
    height:10px;
}

.ui-progressbar {
    border:0;
    border-radius:4px;
    clear: both;
    margin-bottom:20px;
}

.ui-progressbar.ui-widget-content {
    -webkit-box-shadow:rgba(0, 0, 0, 0.0980392) 0 1px 2px inset;
    background-color:#F7F7F7;
    background-image:-webkit-linear-gradient(top, #F5F5F5, #F9F9F9);
    background-repeat:repeat no-repeat;
    box-shadow:rgba(0, 0, 0, 0.0980392) 0 1px 2px inset;
    overflow:hidden;
}

.ui-progressbar .ui-widget-header{
    background-image:-webkit-linear-gradient(top, #149BDF, #0480BE);
    background-repeat:repeat no-repeat;
    box-shadow: none;
    box-sizing:border-box;
    color:#FFFFFF;
    float:left;
    height:100%;
    border:0;/**/
}
.ui-progressbar .ui-progressbar-value {
    margin:0px;
}


.ui-progressbar .ui-widget-header {
    -webkit-box-shadow:rgba(0, 0, 0, 0.14902) 0 -1px 0 inset;
    -webkit-transition:width 0.6s ease;
    background-color:#149BDF;
    background-image:-webkit-linear-gradient(top, #149BDF, #0480BE);
    background-repeat:repeat no-repeat;
    box-shadow:rgba(0, 0, 0, 0.14902) 0 -1px 0 inset;
    box-sizing:border-box;
    color:#FFFFFF;
    float:left;
    font-size:12px;
    height:100%;
    text-align:center;
    text-shadow:rgba(0, 0, 0, 0.247059) 0 -1px 0;
    width:0;
}

.progress-info .ui-widget-header, .progress-info.ui-slider.ui-widget-content  {
    background-color:#4BB1CF !important;
    background-image:-webkit-linear-gradient(top, #5BC0DE, #339BB9);
    background-repeat:repeat no-repeat;;
}

.progress-success .ui-widget-header, .progress-success.ui-slider.ui-widget-content  {
    background-color:#5EB95E  !important;
    background-image:-webkit-linear-gradient(top, #62C462, #57A957);
    background-repeat:repeat no-repeat;
}

.progress-warning .ui-widget-header, .progress-warning.ui-slider.ui-widget-content {
    background-color:#FAA732 !important;
    background-image:-webkit-linear-gradient(top, #FBB450, #F89406);
    background-repeat:repeat no-repeat;
}

.progress-danger .ui-widget-header, .progress-danger.ui-slider.ui-widget-content  {
    background-color:#DD514C !important;
    background-image:-webkit-linear-gradient(top, #EE5F5B, #C43C35);
    background-repeat:repeat no-repeat;
}

.progress-striped .ui-widget-header, .progress-striped.ui-slider.ui-widget-content  {
    -webkit-background-size:40px;
    background-color:#149BDF;
    background-image:-webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.14902) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.14902) 50%, rgba(255, 255, 255, 0.14902) 75%, transparent 75%, transparent);
    background-repeat:repeat;
}

.active.ui-progressbar .ui-widget-header {
    -webkit-animation: progress-bar-stripes 2s linear infinite;
    -moz-animation: progress-bar-stripes 2s linear infinite;
    -ms-animation: progress-bar-stripes 2s linear infinite;
    -o-animation: progress-bar-stripes 2s linear infinite;
    animation: progress-bar-stripes 2s linear infinite;
}
/*slider*/
.ui-slider{
    margin-bottom:20px;
}

.ui-slider.ui-widget-content{
    -webkit-box-shadow:rgba(0, 0, 0, 0.14902) 0 -1px 0 inset;
    -webkit-transition:width 0.6s ease;
    background-color:#149BDF;
    background-image:-webkit-linear-gradient(top, #149BDF, #0480BE);
    background-repeat:repeat no-repeat;
    box-shadow:rgba(0, 0, 0, 0.14902) 0 -1px 0 inset;
    box-sizing:border-box;
    border:none;
}

/*Table*/
.table > table{
    width:100%;
}

/*CGridview*/
.filters select, .filters input, .filters .uneditable-input {
    border-radius:none;
    font-size:14px;
    height:20px;
    line-height:10px;
    margin-bottom:0;
    padding:0;
}

/*Pagination*/

.pager{
    margin:20px 0;
}
.pager ul{
    -webkit-box-shadow:rgba(0, 0, 0, 0.0470588) 0 1px 2px;
    border-radius:0px;
    box-shadow:rgba(0, 0, 0, 0.0470588) 0 1px 2px;
    display:inline-block;
    margin-bottom:0;
    margin-left:0;
    text-align:center;
}

.pager a, .pager span{

    border-radius:0px;
    margin-left:3px;
}

.pager ul > li.last > a, .pager ul > li.last > span {
    border-left-radius:4px;
}

.pager ul > li > a, .pager ul > li > span {
    background-color:#FFFFFF!important;
    border-color:#DDDDDD!important;
    border-style:solid;
    border-width:1px 1px 1px 0;
    float:left;
    line-height:20px;
    padding:4px 12px!important;
    text-decoration:none;
}

.pager ul > li.first > a, .pager ul > li.first > span {
    border-bottom-left-radius:4px;
    border-top-left-radius:4px;
}

ul.yiiPager li.hidden{
    display:none!important;	
}

/*CListView*/
.list-view div.view{

    border:solid 1px #DDDDDD;
    padding: 10px;
    margin-bottom:10px;
    -webkit-box-shadow:rgba(0, 0, 0, 0.0470588) 0 1px 1px inset;
    box-shadow:rgba(0, 0, 0, 0.0470588) 0 1px 1px inset;
    border-radius:4px;

}

/*Form*/
.filters input, .filters .uneditable-input {
    width:100% !important;
}

div.form > form  .row {
    margin-left:0px;
}

div.form .errorMessage
{
    color: red;
    font-size: 0.9em;
}

div.form .errorSummary p
{
    margin: 0;
    padding: 5px;
}

div.form .errorSummary ul
{
    margin: 0;
    padding: 0 0 0 20px;
}

/*Footer*/
footer {
    margin-top:10px;
    text-align:center;
}
/*Style switcher*/
.style-switcher
{
    padding-top:13px;
}
.style-switcher span.style
{
    width:16px; 
    height:16px; 
    display:block;
    margin-right:5px;
    float:left;
}

select[multiple],select[size] {
    height:30px;
}

.view img, .update img, .delete img {
    margin: 0px 5px;
}

.btn {
  display: inline-block;
  *display: inline;
  /* IE7 inline-block hack */

  *zoom: 1;
  padding: 4px 12px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  color: #333333;
  background-color: #f5f5f5;
  background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
  background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
  border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  *background-color: #e6e6e6;
  /* Darken IE7 buttons by default so they stand out more given they won't have borders */

  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  border: 1px solid #cccccc;
  *border: 0;
  border-bottom-color: #b3b3b3;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  *margin-left: .3em;
  -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
  -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
}
.btn:hover,
.btn:focus,
.btn:active,
.btn.active,
.btn.disabled,
.btn[disabled] {
  color: #333333;
  background-color: #e6e6e6;
  *background-color: #d9d9d9;
}
.btn:active,
.btn.active {
  background-color: #cccccc \9;
}
.btn:first-child {
  *margin-left: 0;
}
.btn:hover,
.btn:focus {
  color: #333333;
  text-decoration: none;
  background-position: 0 -44px;

}
.btn:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
.btn.active,
.btn:active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
  -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
  box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
}
.btn.disabled,
.btn[disabled] {
  cursor: default;
  background-image: none;
  opacity: 0.65;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.btn-large {
  padding: 11px 25px;
  font-size: 17.5px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
}
.btn-large [class^="icon-"],
.btn-large [class*=" icon-"] {
  margin-top: 4px;
}
.btn-small {
  padding: 2px 10px;
  font-size: 11.9px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
.btn-small [class^="icon-"],
.btn-small [class*=" icon-"] {
  margin-top: 0;
}
.btn-mini [class^="icon-"],
.btn-mini [class*=" icon-"] {
  margin-top: -1px;
}
.btn-mini {
  padding: 0 6px;
  font-size: 10.5px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
.btn-block {
  display: block;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.btn-block + .btn-block {
  margin-top: 5px;
}
input[type="submit"].btn-block,
input[type="reset"].btn-block,
input[type="button"].btn-block {
  width: 100%;
}
.btn-primary.active,
.btn-warning.active,
.btn-danger.active,
.btn-success.active,
.btn-info.active,
.btn-inverse.active {
  color: rgba(255, 255, 255, 0.75);
}
.btn-primary {
  color: #ffffff;
  background-color: #1C768C;
  background-image: -moz-linear-gradient(top, #097F93, #0F6F93);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#097F93), to(#0F6F93));
  background-image: -webkit-linear-gradient(top, #097F93, #0F6F93);
  background-image: -o-linear-gradient(top, #097F93, #0F6F93);
  background-image: linear-gradient(to bottom, #097F93, #0F6F93);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff097F93', endColorstr='#ff0F6F93', GradientType=0);
  border-color: #0F6F93;
  border-color:  rgba(5, 97,131, 0.60);
  *background-color: #0F6F93;
  /* Darken IE7 buttons by default so they stand out more given they won't have borders */

  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary.disabled,
.btn-primary[disabled] {
  color: #f1f1f1;
  background-color: #0F5864;
  *background-color: #0F5864;
}
.btn-primary:active,
.btn-primary.active {
  background-color: #097F93 \9;
}
.btn-warning {
  color: #ffffff;
  background-color: #f27a55;
  background-image: -moz-linear-gradient(top, #f49071, #ef592a);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f49071), to(#ef592a));
  background-image: -webkit-linear-gradient(top, #f49071, #ef592a);
  background-image: -o-linear-gradient(top, #f49071, #ef592a);
  background-image: linear-gradient(to bottom, #f49071, #ef592a);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff49071', endColorstr='#ffef592a', GradientType=0);
  border-color: #ef592a #ef592a #be380e;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  *background-color: #ef592a;
  /* Darken IE7 buttons by default so they stand out more given they won't have borders */

  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}
.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active,
.btn-warning.active,
.btn-warning.disabled,
.btn-warning[disabled] {
  color: #ffffff;
  background-color: #ef592a;
  *background-color: #ed4712;
}
.btn-warning:active,
.btn-warning.active {
  background-color: #d63f10 \9;
}
.btn-danger {
  color: #ffffff;

  background-color: #da4f49;
  background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f));
  background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f);
  background-image: -o-linear-gradient(top, #ee5f5b, #bd362f);
  background-image: linear-gradient(to bottom, #ee5f5b, #bd362f);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffbd362f', GradientType=0);
  border-color: #bd362f #bd362f #802420;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  *background-color: #bd362f;
  /* Darken IE7 buttons by default so they stand out more given they won't have borders */

  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}
.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active,
.btn-danger.active,
.btn-danger.disabled,
.btn-danger[disabled] {
  color: #ffffff;
  background-color: #bd362f;
  *background-color: #a9302a;
}
.btn-danger:active,
.btn-danger.active {
  background-color: #942a25 \9;
}
.btn-success {
  color: #ffffff;
  background-color: #5bb75b;
  background-image: -moz-linear-gradient(top, #62c462, #51a351);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));
  background-image: -webkit-linear-gradient(top, #62c462, #51a351);
  background-image: -o-linear-gradient(top, #62c462, #51a351);
  background-image: linear-gradient(to bottom, #62c462, #51a351);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0);
  border-color: #51a351 #51a351 #387038;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  *background-color: #51a351;
  /* Darken IE7 buttons by default so they stand out more given they won't have borders */

  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}
.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.active,
.btn-success.disabled,
.btn-success[disabled] {
  color: #ffffff;
  background-color: #51a351;
  *background-color: #499249;
}
.btn-success:active,
.btn-success.active {
  background-color: #408140 \9;
}
.btn-info {
  color: #ffffff;
  background-color: #49afcd;
  background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4));
  background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4);
  background-image: -o-linear-gradient(top, #5bc0de, #2f96b4);
  background-image: linear-gradient(to bottom, #5bc0de, #2f96b4);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2f96b4', GradientType=0);
  border-color: #2f96b4 #2f96b4 #1f6377;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  *background-color: #2f96b4;
  /* Darken IE7 buttons by default so they stand out more given they won't have borders */

  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}
.btn-info:hover,
.btn-info:focus,
.btn-info:active,
.btn-info.active,
.btn-info.disabled,
.btn-info[disabled] {
  color: #ffffff;
  background-color: #2f96b4;
  *background-color: #2a85a0;
}
.btn-info:active,
.btn-info.active {
  background-color: #24748c \9;
}
.btn-inverse {
  color: #ffffff;
  background-color: #363636;
  background-image: -moz-linear-gradient(top, #444444, #222222);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#444444), to(#222222));
  background-image: -webkit-linear-gradient(top, #444444, #222222);
  background-image: -o-linear-gradient(top, #444444, #222222);
  background-image: linear-gradient(to bottom, #444444, #222222);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff444444', endColorstr='#ff222222', GradientType=0);
  border-color: #222222 #222222 #000000;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  *background-color: #222222;
  /* Darken IE7 buttons by default so they stand out more given they won't have borders */

  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}
.btn-inverse:hover,
.btn-inverse:focus,
.btn-inverse:active,
.btn-inverse.active,
.btn-inverse.disabled,
.btn-inverse[disabled] {
  color: #ffffff;
  background-color: #222222;
  *background-color: #151515;
}
.btn-inverse:active,
.btn-inverse.active {
  background-color: #080808 \9;
}
button.btn,
input[type="submit"].btn {
  *padding-top: 3px;
  *padding-bottom: 3px;
}
button.btn::-moz-focus-inner,
input[type="submit"].btn::-moz-focus-inner {
  padding: 0;
  border: 0;
}
button.btn.btn-large,
input[type="submit"].btn.btn-large {
  *padding-top: 7px;
  *padding-bottom: 7px;
}
button.btn.btn-small,
input[type="submit"].btn.btn-small {
  *padding-top: 3px;
  *padding-bottom: 3px;
}
button.btn.btn-mini,
input[type="submit"].btn.btn-mini {
  *padding-top: 1px;
  *padding-bottom: 1px;
}
.btn-link,
.btn-link:active,
.btn-link[disabled] {
  background-color: transparent;
  background-image: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.btn-link {
  border-color: transparent;
  cursor: pointer;
  color: #ef592a;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}
.btn-link:hover,
.btn-link:focus {
  color: #be380e;
  text-decoration: underline;
  background-color: transparent;
}
.btn-link[disabled]:hover,
.btn-link[disabled]:focus {
  color: #333333;
  text-decoration: none;
}

/*Button styles*/
.btn-info {
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #49afcd;
    *background-color: #2f96b4;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4));
    background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4);
    background-image: -o-linear-gradient(top, #5bc0de, #2f96b4);
    background-image: linear-gradient(to bottom, #5bc0de, #2f96b4);
    background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4);
    background-repeat: repeat-x;
    border-color: #2f96b4 #2f96b4 #1f6377;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2f96b4', GradientType=0);
    filter: progid:dximagetransform.microsoft.gradient(enabled=false);
}

.search-btn{
	width: 40px!important;
    background: #056183;

    background-image: url('../img/ic_search.png'), -moz-linear-gradient(top, #097F93, #0F6F93);
    background-image: url('../img/ic_search.png'), -webkit-gradient(linear, 0 0, 0 100%, from(#097F93), to(#0F6F93));
    background-image: url('../img/ic_search.png'), -webkit-linear-gradient(top, #097F93, #0F6F93);
    background-image: url('../img/ic_search.png'), -o-linear-gradient(top, #097F93, #0F6F93);
    background-image: url('../img/ic_search.png'), linear-gradient(to bottom, #097F93, #0F6F93);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff097F93', endColorstr='#ff0F6F93', GradientType=0);
    border-color: #0F6F93;
    border-color: rgba(5, 97,131, 0.60);
    *background-color: #0F6F93;
    /* Darken IE7 buttons by default so they stand out more given they won't have borders */


    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#097F93', endColorstr='#0F6F93', GradientType=0);
    background-repeat: no-repeat;
}

.search-btn:hover,
.search-btn:focus,
.search-btn:active,
.search-btn.active,
.search-btn.disabled,
.search-btn[disabled] {
    color: #f1f1f1;
    background: #0F5864 url('../img/ic_search.png');
    *background: #0F5864 url('../img/ic_search.png');
    background-repeat: no-repeat;
}
.search-btn:active,
.search-btn.active {
    background: #097F93 url('../img/ic_search.png');
    background-repeat: no-repeat;
}


.add-btn{
    padding-left: 25px;

    background: #ef592a;

    background-image: url('../img/ic_plus.png'), -moz-linear-gradient(top, #097F93, #0F6F93);
    background-image: url('../img/ic_plus.png'), -webkit-gradient(linear, 0 0, 0 100%, from(#097F93), to(#0F6F93));
    background-image: url('../img/ic_plus.png'), -webkit-linear-gradient(top, #097F93, #0F6F93);
    background-image: url('../img/ic_plus.png'), -o-linear-gradient(top, #097F93, #0F6F93);
    background-image: url('../img/ic_plus.png'), linear-gradient(to bottom, #097F93, #0F6F93);
    background-repeat: repeat-x;

    /*background: #ef592a;*/
    /*background-image: url('../img/ic_plus.png'); *//* fallback */
    /*background-image: url('../img/ic_plus.png'), -webkit-gradient(linear, left top, left bottom, from(#ef6a40), to(#d65127)); *//* Saf4+, Chrome */
    /*background-image: url('../img/ic_plus.png'), -webkit-linear-gradient(top, #ef6a40, #d65127); *//* Chrome 10+, Saf5.1+ */
    /*background-image: url('../img/ic_plus.png'),    -moz-linear-gradient(top, #ef6a40, #d65127); *//* FF3.6+ */
    /*background-image: url('../img/ic_plus.png'),     -ms-linear-gradient(top, #ef6a40, #d65127); *//* IE10 */
    /*background-image: url('../img/ic_plus.png'),      -o-linear-gradient(top, #ef6a40, #d65127); *//* Opera 11.10+ */
    /*background-image: url('../img/ic_plus.png'),         linear-gradient(top, #ef6a40, #d65127); *//* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#097F93', endColorstr='#0F6F93', GradientType=0);
    background-repeat: no-repeat;
    color: white;
}

.add-btn:hover,
.add-btn:focus,
.add-btn:active,
.add-btn.active,
.add-btn.disabled,
.add-btn[disabled] {
    color: #f1f1f1;
    background: #0F5864 url('../img/ic_plus.png');
    *background: #0F5864 url('../img/ic_plus.png');
    background-repeat: no-repeat;
}

.add-btn:active,
.add-btn.active {
    background: #097F93 url('../img/ic_plus.png');
    background-repeat: no-repeat;
}

.navbar-inverse {
    color: transparent;
}

span.required {
    color: red;
}

#search-form {
    margin-top: 15px;
}

.item-test {
    text-align: left;
    padding: 0 0.1em 0 0.1em !important;
}

fieldset.scheduler-border {
    border: 1px groove #DDDDDD !important;
    padding: 0 1.4em 1.4em 1.4em !important;
    margin: 0 0 1.5em 0 !important;
    -webkit-box-shadow: #F9F9F9 0 1px 0 inset;
    box-shadow: #F9F9F9 0 1px 0 inset;
}

legend.scheduler-border {
    font-size: 1.2em !important;
    font-weight: bold !important;
    text-align: left !important;
    width:auto;
    padding:0 10px;
    border-bottom:none;
}

.bold {
    font-weight: bold;
}

.little-padding{
    padding-left: 10px;
}

.waspresent {
    float: left;
    margin-left: 10px;
    background: #16a716;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    width: 80px;
    height: 20px;
    color: white;
    text-align: center;
}

.wasabsent{
    float: left;
    margin-left: 10px;
    background: #f76243;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    width: 80px;
    height: 20px;
    color: white;
    text-align: center;
}

.washoliday{
    float: left;
    margin-left: 10px;
    background: #474a56;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    width: 80px;
    height: 20px;
    color: white;
    text-align: center;
}

.undo {
    height: 16px;
    width: 16px !important;
    background:no-repeat url(../img/undo.png) center center;
    border: 0px;
    outline: none;
}

.present {
    height: 20px;
    width: 20px !important;
    background:no-repeat url(../img/present.png) center center;
    border: 0px;
    outline: none;
}

.absent {
    height: 20px;
    width: 20px !important;
    background:no-repeat url(../img/absent.png) center center;
    border: 0px;
    outline: none;
}

.holiday {
    height: 20px;
    width: 20px !important;
    background:no-repeat url(../img/holiday.png) center center;
    border: 0px;
    outline: none;
}

#progress_message_div {
    width: 100%;
    background: rgba(255,255,255,0.3);
    position: absolute;
    top:0px;
    min-height: 500px;
    display: none;
    z-index: 2000;

}

#progress_message_div #progress_inner_div {
    position: fixed;
    width: 600px;
    height: 100px;
    top: 50%;
    left: 50%;
    margin-left: -300px;
    margin-top: -50px;
    background: #ffffff;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;

    border: 1px solid #fdb472;
    box-shadow: 5px 5px 2px #e7e7e7;

    -moz-box-shadow: 0 0 5px 5px #e9e9e9;
    -webkit-box-shadow: 0 0 5px 5px #e9e9e9;
    box-shadow: 0 0 3px 3px rgba(233, 233, 233, 0.29);
}

#progress_image {
    margin-left: 15px;
    margin-top: 20px;
    float:left;
    height:54px;
    width:55px;
    background:no-repeat url(../img/loader2.gif) !important;
}

#progress_message {
    font-size: 25px;
    color: #363636;
    float: left;
    margin-top: 35px;
    padding-left: 20px;
    height:54px;
    text-align: center;
}

#loading {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -32px;
    margin-left: -32px;
}

body .fncremindermodel {
    /* new custom width */
    width: 900px !important;
    /* must be half of the width, minus scrollbar on the left (30px) */
    margin-left: -420px;
}

.mylabel {
    display: block;
    margin-top: 5px;
    margin-bottom: 1px;
}

.add_class {
    border: none;
    background: url(../img/add_classes.png) no-repeat top left;
    width: 26px;
    height: 26px;
}

.add_class:hover {
    border: none;
    background: url(../img/add_classes.png) no-repeat top left;
}

.delete_class {
    border: none;
    background: url(../img/delete_classes.png) no-repeat top left;
    width: 26px;
    height: 26px;
}

.delete_class:hover {
    border: none;
    background: url(../img/delete_classes.png) no-repeat top left;
}

.mail-dialog {
    display: none;
    position: absolute;
    width: 200px;
    background: #f1f1f1;
    padding: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    border: 1px solid #e57c1a;
    box-shadow: 10px 10px 5px #a9a9a9;

    -moz-box-shadow: 0 0 5px 5px #d3d3d3;
    -webkit-box-shadow: 0 0 5px 5px #d3d3d3;
    box-shadow: 0 0 5px 5px #d3d3d3;

}
.mail-dialog ul {
    margin: 0;
    padding: 0;
}
.mail-dialog ul li {
    list-style: none;
}
.mail-dialog ul li a {
    display: block;
    height: 25px;
}

.mail-content-dialog {
    display: none;
    position: absolute;
    background: #ffffff;
}
#mail-content-dialog span {
    width: 60px;
    display: block;
    float: left;
    height: 25px;
    line-height: 25px;

}
#mail-content-dialog input[type=text] {
    width: 455px;
}
#mail-content-dialog textarea {
    width: 455px;
    height: 200px;
}
.mail-content-bottom {
    text-align: center;
}