/* General */

body {
    padding-top: 90px;
    padding-bottom: 40px;
}
body#pdf { padding: 30px; font-size: 12px; }
body#pdf table td, body#pdf table th { font-size: 10px !important; }
body#pdf h1 { font-size: 12px !important; }

.center {
    text-align: center;
}

.show-grid {
    margin-top: 10px;
    margin-bottom: 20px;
}

#export-area { background: #FFFFFF; }

.page-header-custom {
    margin-bottom: 18px;
}

.page-header-custom h2 {
    margin-bottom: 10px;
}

.ui-dialog .ui-dialog-titlebar {
    padding-left: 5px;
}

/* End General */

/* Menu */

.navbar .container-fluid {
    height: 75px;
}

.navbar .brand {
    padding-top: 15px;
}

.navbar .brand img {
    height: auto;
    padding-top: 5px;
}

.navbar li a {
    font-size: 12px;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
    filter: alpha(opacity=70);
    -moz-opacity: 0.70;
    -khtml-opacity: 0.70;
    opacity: 0.70;
}

.navbar li a:hover {
    color: #FFFFFF;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    -moz-opacity: 1;
    -khtml-opacity: 1;
    opacity: 1;
}

.navbar .nav > li > a {
    padding-left: 10px;
    padding-right: 10px;
}

[class^="nav-icon-"], [class*=" nav-icon-"] {
    line-height: 14px;
    vertical-align: text-top;
}

.navbar #primary-nav {
    margin-left: 10px;
}

.navbar #primary-nav > li > a {
    padding-top: 14px;
    padding-left: 14px;
    padding-right: 14px;
    text-align: center;
}

.navbar #primary-nav > li > a > i {
    display: inline-block;
    width: 32px;
    height: 32px;
}

.navbar #primary-nav > li > a > span {
    display: block;
}

.navbar #primary-nav > li > a > i.nav-icon-users {
    background: url('../img/nav-icon-users.png') no-repeat top center;
}

.navbar #primary-nav > li > a > i.nav-icon-vendors {
    background: url('../img/nav-icon-vendors.png') no-repeat top center;
}

.navbar #primary-nav > li > a > i.nav-icon-charities {
    background: url('../img/nav-icon-charities.png') no-repeat top center;
}
.navbar #primary-nav > li > a > i.nav-icon-settings {
    background: url('../img/nav-icon-settings.png') no-repeat top center;
}
.navbar #primary-nav > li > a > i.nav-icon-reports {
    background: url('../img/nav-icon-reports.png') no-repeat top center;
}

.navbar #secondary-nav > li > a {
    padding-top: 28px;
}

/* End Menu */

/* Subnav */
.subnav {
    width: 100%;
    height: 36px;
    background-color: #eeeeee;
 /* Old browsers */
    background-repeat: repeat-x;
 /* Repeat the gradient */
    background-image: -moz-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%);
 /* FF3.6+ */
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#eeeeee));
 /* Chrome,Safari4+ */
    background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%);
 /* Chrome 10+,Safari 5.1+ */
    background-image: -ms-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%);
 /* IE10+ */
    background-image: -o-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%);
 /* Opera 11.10+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#eeeeee',GradientType=0 );
 /* IE6-9 */
    background-image: linear-gradient(top, #f5f5f5 0%,#eeeeee 100%);
 /* W3C */
    border: 1px solid #e5e5e5;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.subnav .nav {
    margin-bottom: 0;
}

.subnav .nav > li > a {
    color: #333333;
    margin: 0;
    padding-top: 11px;
    padding-bottom: 11px;
    border-left: 1px solid #f5f5f5;
    border-right: 1px solid #e5e5e5;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.subnav .nav > .active > a,
.subnav .nav > .active > a:hover {
    padding-left: 13px;
    color: #777;
    background-color: #e9e9e9;
    border-right-color: #ddd;
    border-left: 0;
    -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
    -moz-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
    box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
}

.subnav .nav > .active > a .caret,
.subnav .nav > .active > a:hover .caret {
    border-top-color: #777;
}

.subnav .nav > li:first-child > a,
.subnav .nav > li:first-child > a:hover {
    border-left: 0;
    padding-left: 12px;
    -webkit-border-radius: 4px 0 0 4px;
    -moz-border-radius: 4px 0 0 4px;
    border-radius: 4px 0 0 4px;
}

.subnav .nav > li:last-child > a {
    border-right: 0;
}

.subnav .dropdown-menu {
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
    border-radius: 0 0 4px 4px;
}

/* End Subnav */

/* Login Form */

#login-page {
    background: #38393B url(../img/linen-bg.jpg) repeat;
}

#login .row.logo {
    padding-top: 100px;
}

#login input[type=text], #login input[type=password] {
    width: 223px;
}

#login .well {
    background: none;
    border: none;
    box-shadow: none;
}

#login a { color: #d3a830; text-align: center; display: block; }

#login h1 {
    color: #FFFFFF;
}

/* End Login Form */

/* Dashboard */

#columns .column {
    float: left;
    width: 33.3%;
 /* Min-height: */
    min-height: 400px;
    height: auto !important;
}

#columns #widget1 .widget {
    margin-right: 10px;
}

#columns #widget2 .widget {
    margin-left: 10px;
    margin-right: 10px;
}

#columns #widget3 .widget {
    margin-left: 10px;
}

#columns .widget {
    margin: 20px 0px 0px 0px;
    padding: 0px;
    position: relative;
    border: 1px solid #DDDDDD;
}

#columns .widget .widget-head {
    overflow: hidden;
    background-color: #F0F0F0;
    width: 100%;
    border-bottom: 1px solid #DDDDDD;
}

#columns .widget .widget-head span {
    color: #0088CC;
    text-shadow: #fff 0 1px;
    font-size: 15px;
    line-height: 25px;
    padding-left: 5px;
    white-space: nowrap;
    float: left;
}

#columns .widget .widget-content {
    padding: 0px;
    line-height: 18px;
    overflow: hidden;
    text-align: center;
}

#columns .widget .widget-iframe {
    width: 100%;
    height: 180px;
    border: none;
}

.widget-head a.remove {
    float: right;
    display: inline;
    background: url(../img/buttons.png) no-repeat -20px 0;
    width: 12px;
    height: 12px;
    margin: 6px 1px 4px 0;
    text-indent: -9999em;
    outline: none;
}

.widget-head a.edit {
    float: right;
    display: inline;
    background: url(../img/buttons.png) no-repeat -3px 0;
    width: 12px;
    height: 12px;
    text-indent: -9999em;
    margin: 6px 6px 4px 4px;
    outline: none;
}

.widget-head a.collapse {
    float: left;
    display: inline;
    background: url(../img/buttons.png) no-repeat -48px 0;
    width: 12px;
    height: 12px;
    text-indent: -9999em;
    margin: 6px -3px 4px 7px;
    outline: none;
}

.widget-placeholder {
    border: 2px dashed #777;
    margin: 18px 8px 0px 8px;
}

.collapsed .widget-head a.collapse {
    background-position: -34px 0;
}

.collapsed .widget-content {
    display: none !important;
}
/* End Dashboard */

/* NOTIFICATIONS / ALERTS */
.notification { border-radius: 2px; font-family: "helvetica", sans-serif; font-size: 11px; font-weight: bold; line-height: 24px; margin-bottom: 20px; padding: 5px 14px 5px 9px; position: relative; text-transform: uppercase; text-align: left; }
.notification.error { background: #d38080; color: #fff; }
.notification.success { background: #8cd380; color: #fff; }
span.required { color: #ff0000; font-size: 16px; }

/* TABLES */
.table th.summary { width: 40%; }
.table th.avatar { width: 5%; }
.table th.preview, .table td.preview { width: 10%; }
.table tbody tr td.preview img { max-height: 80px; }
.table td { vertical-align: middle; }
.table th.center, .table td.center { text-align: center; }
.table td.right { text-align: right; }
.table tr.totals td { font-size: 16px; }
.table th.currency, .table td.currency { text-align: right; }


.btn.pdf { background-image: url(../img/icon-pdf.png); background-repeat: no-repeat; background-position: 10px center; padding-left: 35px; }
.btn.csv { background-image: url(../img/icon-csv.png); background-repeat: no-repeat; background-position: 10px center; padding-left: 35px; }

.control-group small { font-size: 11px; }

.row-fluid .column { margin-left: 0 !important; min-height: 0 !important; }
.width { min-height: 0 !important; }
.widget { border: none !important; }

form.right {
    float: right;
    margin-bottom: 0;
}
form.right input {
    margin-bottom: 0;
}
form.right input[type='text'] {
    width: 130px;
    margin-left: 10px;
}

.mobile-navbar { display:none; }
.menu-toggle { display:none; }

@media only screen and (min-width: 768px) and (max-width: 959px) {
    #primary-nav { margin-top: 7px; }
    #primary-nav a span { display: none !important; }
    .row-fluid .column { width: 100% !important; }
}
@media only screen and (max-width: 767px) {
    
   .control-group label {
    clear: both;
    width: 100% !important;
    text-align: left !important;
}
.control-group .controls {
    margin-left: 0;
}
.control-group .controls input[type='text'], .control-group .controls input[type='password'], .control-group .controls textarea {
    width: 97% !important;
    box-sixing: border-box;
    margin-right: 0 !important;
}
.control-group .controls .input-prepend {
    width: 91% !important;
}
.control-group .controls select, #filterForm select {
    width: 100% !important;
    box-sixing: border-box;
    margin-right: 0 !important;
}
#filterForm select {
    margin-bottom: 10px;
}

table input[type='text'], table textarea {
    width: 87%;
}
table select {
    width: 95%;
}

form input {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
    height: auto !important;
}
form select {
    width: 100%;
}
.date-start {
    width: 48%;
}
.date-end {
    width: 50%;
}

.date-start input, .date-end input {
    width: 100% !important;
}
.date-start {
    margin-right: 2%;
}



.btn { display: block; width: 100% !important; margin-bottom: 5px !important; padding: 10px; box-sizing: border-box; }

.modal { width: 95% !important; margin-left: -47.5% !important; }

    /* Force table to not be like tables anymore */
    #no-more-tables table, 
    #no-more-tables thead, 
    #no-more-tables tbody, 
    #no-more-tables th, 
    #no-more-tables td, 
    #no-more-tables tr { 
        display: block; 
    }
 
    /* Hide table headers (but not display: none;, for accessibility) */
    #no-more-tables thead tr { 
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .span6 { width: 100% !important; margin-left: 0 !important; margin-bottom: 15px; }
 
    #no-more-tables tr { border: 1px solid #ccc; }
 
    #no-more-tables td { 
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee; 
        position: relative;
        padding-left: 50%; 
        white-space: normal;
        text-align:left;
    }
 
    #no-more-tables td:before { 
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%; 
        padding-right: 10px; 
        white-space: nowrap;
        text-align:left;
        font-weight: bold;
    }
 
    /*
    Label the data
    */
    #no-more-tables td:before { content: attr(data-title); }


    #primary-nav, #secondary-nav { display: none; }
    body { padding-top: 0 !important; }
    .navbar-fixed-top { position: relative !important; }
    #mobileToggle { display: block; }
    .mobile-navbar {
        display: none;
        background: #000000;
    }
    .mobile-navbar ul { margin: 0; }
    .mobile-navbar ul li { padding: 10px; border-bottom: solid 1px #666; }
    .mobile-navbar ul li a { color: #fff; }
    .menu-toggle { display: block; float: right; background: url(../img/menu-toggle.png) 0 0 no-repeat; width: 20px; height: 20px; margin-top: 25px; cursor: pointer; }

    .column { width: 100% !important; margin-right: 0 !important; }
}