body {
    font-size: 12px;
    padding-bottom: 40px;
}
section.main-body {
    min-height: 650px;
}
.container-fluid {
    padding-top: 20px;
}
/* Align main body container with header/footer */
section.main-body .container {
    padding-top: 20px;
}

/* Unified site container: same width for header, main, footer (Bootstrap 2 breakpoints) */
.site-container {
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
}
/* Default: 940px (Bootstrap 2 default) */
@media (min-width: 980px) {
    .site-container {
        max-width: 940px;
    }
}
/* Large: 1170px */
@media (min-width: 1200px) {
    .site-container {
        max-width: 1170px;
    }
}
/* Tablet: 724px */
@media (min-width: 768px) and (max-width: 979px) {
    .site-container {
        max-width: 724px;
    }
}
/* Mobile: full width, reduced padding */
@media (max-width: 767px) {
    .site-container {
        padding-left: 15px;
        padding-right: 15px;
    }
}
@media (max-width: 480px) {
    .site-container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

a.editable {} .grid-view table.items tbody tr:hover {
    background: none repeat scroll 0 0 #DFECFA !important;
}
.grid-view table.items tr.selected {
    background: none repeat scroll 0 0 #DFECFA !important;
}
/*Nav bar*/

.navbar .brand {
    display: block;
    float: left;
    font-size: 20px;
    font-weight: 200;
    padding: 10px 20px;
    margin-left: -15px;
}
/* Ensure logo/brand text is visible on dark header */
.navbar-inverse .brand,
.navbar-inverse .brand.brand-visible,
.navbar-inverse .brand:hover {
    color: #fff !important;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}
.navbar .nav > li > a {
    float: none;
    /*   padding:10px 15px; */
    
    padding: 9px;
    text-decoration: none;
}
.navbar-search .search-query {
    border-radius: 5px;
}
/* Desktops and laptops ----------- */

@media only screen and (min-width: 1224px) {
    .container-fluid {
        padding-top: 0px;
    }
    .navbar .brand {
        margin-left: -90px;
    }
    .style-switcher {
        margin-left: -70px;
    }
}
/* Large screens ----------- */

@media only screen and (min-width: 1824px) {
    .container-fluid {
        padding-top: 50px;
    }
    .navbar .brand {
        margin-left: -90px;
    }
    .style-switcher {
        margin-left: -70px;
    }
}
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: #F1F1F1;
    background-image: -moz-linear-gradient(top, #F1F1F1, #DBDBDB);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#F1F1F1), 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);
    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: #848282;
    background-color: #848282;
    background-image: -moz-linear-gradient(top, #848282, #9e9090);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#848282), to(#9e9090));
    background-image: -webkit-linear-gradient(top, #848282, #9e9090);
    background-image: -o-linear-gradient(top, #848282, #9e9090);
    background-image: linear-gradient(to bottom, #848282, #9e9090);
    background-repeat: repeat-x;
    filter: progid: dximagetransform.microsoft.gradient(startColorstr='#848282', endColorstr='#9e9090', GradientType=0);
}
.dropdown-menu .active > a,
.dropdown-menu .active > a:hover {
    color: #ffffff;
    text-decoration: none;
    background-color: #848282;
    background-color: #848282;
    background-image: linear-gradient(to bottom, #848282, #9e9090);
    background-image: -moz-linear-gradient(top, #848282, #9e9090);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#848282), to(#9e9090));
    background-image: -webkit-linear-gradient(top, #848282, #9e9090);
    background-image: -o-linear-gradient(top, #848282, #9e9090);
    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;
}
/*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;
}
/*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);
}

.errorSummary {
   color: red;
}
.form {
   margin-left: 50px;
}
span.required{
	display: none;
}

.table.table-striped.table-hover.table-bordered.table-condensed a {
    color: #08c;
}
