* {
  -webkit-border-radius: 0 !important;
     -moz-border-radius: 0 !important;
          border-radius: 0 !important;
}
body {
    padding-top: 50px;
}
.h1, h1 {
    font-size: 30px;
    margin-top: 10px;
    margin-bottom: 5px;
}
.h2, h2 {
    font-size: 25px;
}
.h2, .h3, h2, h3 {
    margin-top: 15px;
    margin-bottom: 5px;
}

#main {
    padding-top: 10px;
    min-height: 250px;
}

a:focus {
    outline: none;
}
.breadcrumb {
    margin-bottom: 0;
}
.alert a.close {
    margin-left: 0.5em;
}
@media screen and (max-width: 767px) {
    #main {
        padding-top: 0;
    }
    .breadcrumb {
        margin-left: -15px;
        margin-right: -15px;
    }
    .alert {
        margin-left: -15px;
        margin-right: -15px;
    }
}
.row.row-condensed,
.row-condensed .row {
    margin-left: -7px;
    margin-right: -7px;
}

.row-condensed .col-lg-1, .row-condensed .col-lg-10, .row-condensed .col-lg-11, .row-condensed .col-lg-12, .row-condensed .col-lg-2, .row-condensed .col-lg-3, .row-condensed .col-lg-4, .row-condensed .col-lg-5, .row-condensed .col-lg-6, .row-condensed .col-lg-7, .row-condensed .col-lg-8, .row-condensed .col-lg-9, .row-condensed .col-md-1, .row-condensed .col-md-10, .row-condensed .col-md-11, .row-condensed .col-md-12, .row-condensed .col-md-2, .row-condensed .col-md-3, .row-condensed .col-md-4, .row-condensed .col-md-5, .row-condensed .col-md-6, .row-condensed .col-md-7, .row-condensed .col-md-8, .row-condensed .col-md-9, .row-condensed .col-sm-1, .row-condensed .col-sm-10, .row-condensed .col-sm-11, .row-condensed .col-sm-12, .row-condensed .col-sm-2, .row-condensed .col-sm-3, .row-condensed .col-sm-4, .row-condensed .col-sm-5, .row-condensed .col-sm-6, .row-condensed .col-sm-7, .row-condensed .col-sm-8, .row-condensed .col-sm-9, .row-condensed .col-xs-1, .row-condensed .col-xs-10, .row-condensed .col-xs-11, .row-condensed .col-xs-12, .row-condensed .col-xs-2, .row-condensed .col-xs-3, .row-condensed .col-xs-4, .row-condensed .col-xs-5, .row-condensed .col-xs-6, .row-condensed .col-xs-7, .row-condensed .col-xs-8, .row-condensed .col-xs-9 {
    padding-left: 7px;
    padding-right: 7px;
}

@media (min-width: 768px) {
    .row.row-condensed,
    .row-condensed .row {
        margin-left: -10px;
        margin-right: -10px;
    }

    .row-condensed .col-lg-1, .row-condensed .col-lg-10, .row-condensed .col-lg-11, .row-condensed .col-lg-12, .row-condensed .col-lg-2, .row-condensed .col-lg-3, .row-condensed .col-lg-4, .row-condensed .col-lg-5, .row-condensed .col-lg-6, .row-condensed .col-lg-7, .row-condensed .col-lg-8, .row-condensed .col-lg-9, .row-condensed .col-md-1, .row-condensed .col-md-10, .row-condensed .col-md-11, .row-condensed .col-md-12, .row-condensed .col-md-2, .row-condensed .col-md-3, .row-condensed .col-md-4, .row-condensed .col-md-5, .row-condensed .col-md-6, .row-condensed .col-md-7, .row-condensed .col-md-8, .row-condensed .col-md-9, .row-condensed .col-sm-1, .row-condensed .col-sm-10, .row-condensed .col-sm-11, .row-condensed .col-sm-12, .row-condensed .col-sm-2, .row-condensed .col-sm-3, .row-condensed .col-sm-4, .row-condensed .col-sm-5, .row-condensed .col-sm-6, .row-condensed .col-sm-7, .row-condensed .col-sm-8, .row-condensed .col-sm-9, .row-condensed .col-xs-1, .row-condensed .col-xs-10, .row-condensed .col-xs-11, .row-condensed .col-xs-12, .row-condensed .col-xs-2, .row-condensed .col-xs-3, .row-condensed .col-xs-4, .row-condensed .col-xs-5, .row-condensed .col-xs-6, .row-condensed .col-xs-7, .row-condensed .col-xs-8, .row-condensed .col-xs-9 {
        padding-left: 10px;
        padding-right: 10px;
    }
}

.visible-xxs {
    display: none;
}
@media screen and (max-width: 479px) {
    .visible-xs {
        display: none !important;
    }
    .visible-xxs {
        display: block !important;
    }
    .col-xxs-12 {
      width: 100%;
    }
    .col-xxs-11 {
      width: 91.66666667%;
    }
    .col-xxs-10 {
      width: 83.33333333%;
    }
    .col-xxs-9 {
      width: 75%;
    }
    .col-xxs-8 {
      width: 66.66666667%;
    }
    .col-xxs-7 {
      width: 58.33333333%;
    }
    .col-xxs-6 {
      width: 50%;
    }
    .col-xxs-5 {
      width: 41.66666667%;
    }
    .col-xxs-4 {
      width: 33.33333333%;
    }
    .col-xxs-3 {
      width: 25%;
    }
    .col-xxs-2 {
      width: 16.66666667%;
    }
    .col-xxs-1 {
      width: 8.33333333%;
    }
}

/* Table responsive with gesture icon styling */
.table-responsive {
   position: relative;
}
.table-responsive.gesture:before {
    position: absolute;
    top: 70px;
    left: 50%;
    height: 100px;
    width: 103px;

    content: url('../img/gesture-scroll-left-right-table-responsive.png');

    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}
.table-responsive.gesture.gesture-small:before {
    height: 44px;
    width: 45px;
    content: url('../img/gesture-scroll-left-right-table-responsive-small.png');
    top: 50%;

    -moz-transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
    -ms-transform: translateY(-50%) translateX(-50%);
    -o-transform: translateY(-50%) translateX(-50%);
    transform: translateY(-50%) translateX(-50%);
}

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

/* Action button style */
.action-btn-wrapper .btn {
    font-size: 18px;
}
.table > tbody > tr > td.button-column, 
.table > tbody > tr > th.button-column, 
.table > tfoot > tr > td.button-column, 
.table > tfoot > tr > th.button-column, 
.table > thead > tr > td.button-column, 
.table > thead > tr > th.button-column {
    padding: 2px 5px 2px 0;
}
.button-column a {
    font-size: 18px;
}

/* CSS for horizontally and vertically centered image */
.img-container.center {
    position: relative;
    overflow: hidden;
}
.img-container.center img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

/* Add caret to a.asc and a.desc to indicate grid sorting */
.grid-view .table td {
    vertical-align: top;
}
a.sort-link {
    text-decoration: none;
}
.sort-link:after {
    font-family: 'FontAwesome';
    padding-left: 5px;
}
.sort-link:after {
    content: "\f0dc";
}
.sort-link.asc:after {
    content: "\f0d8";
}
.sort-link.desc:after {
    content: "\f0d7";
}
/* Hide the original  caret */
.grid-view .table th > .sort-link.asc .caret {
    display: none;
}
.grid-view .table th > .sort-link.desc .caret {
    display: none;
}

/* Remove padding on filter-container */
.grid-view .table .filters > td .filter-container {
  padding: 0;
}

/* Custom style for gridview pager and summary */
.grid-view .summary {
    text-align: left;
}
.pagination {
    margin-bottom: 10px;
    text-align: right;
    display: block;
}
.pagination > li > a,
.pagination > li > span {
  float: none;
}
/* Custom style for gridview filter row */
.filter-container .form-control {
    height: 26px;
}
.filter-container .form-control {
    padding: 2px 6px;
}
.filter-container .input-append {
    margin-bottom: 0;
}
.grid-view .table .filters > td .filter-container input[type="text"].datepicker-input {
    width: 90px;
}
.filter-container .input-group-addon,
.filter-container .input-group-btn {
    width: auto;
}
.filter-container .input-group-addon {
    font-size: 11px;;
}
/* Custom style for select2 gridview filter */
.filter-container .select2-container {
    border: none;
    padding: 0;
    -webkit-box-shadow: none;
            box-shadow: none;
}

/* Generic table style */
table tr .row-number-column {
    width: 20px;
    text-align: right;
}
table tr .number {
    text-align: right;
}
table tr .number input,
input.number {
    text-align: right;
}
table tr .date {
    width: 140px;;
}


/*Side Nav*/
.sidebar-nav {
    padding:0!important;
}
.sidebar-nav>ul>li>span {
    text-transform: uppercase;
}
.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;
    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;
}

/* Align control-label to the left (default alignment for control label in bootstrap3 is right) */
@media (min-width: 768px) {
    .form-horizontal .control-label {
        text-align: left;
    }
}

/* Workaround for select2 dropdownlist style to work with bootstrap3 form-control */
.form-group .select2-container {
    padding: 0;
}
.form-group .select2-container .select2-choice {
    height: 32px;
    line-height: 32px;
}
.form-group .select2-container.input-lg .select2-choice,
.form-group.form-group-lg .select2-container .select2-choice {
    height: 44px;
    line-height: 44px;
}
.form-group .select2-container.input-sm .select2-choice,
.form-group.form-group-sm .select2-container .select2-choice {
    height: 28px;
    line-height: 28px;
}

/* link cues styling */
.link-cue {
    padding-right: 1.5em;
    position: relative;
}
.link-cue:after {
    content: "\f2d2";
    font-family: FontAwesome;
    position: absolute;
    right: 0;
    bottom: 0;
}
.link-cue.external:after {
    content: "\f08e";
    font-family: FontAwesome;
    position: absolute;
    right: 0;
    bottom: -1px;
}
/* Footer style */
.bs-docs-footer {
    border-top: 1px solid #e5e5e5;
    color: #767676;
    margin-top: 40px;
    padding-bottom: 20px;
    padding-top: 10px;
    text-align: center;
}
.bs-docs-footer p {
    margin-bottom: 0;
}
/* Custom and mobile friendly styling for detail view */
.field-detail-striped > div.field-group:nth-of-type(2n+1) {
    background-color: #f9f9f9;
}
.field-detail-bordered > .field-group {
    border-top: 1px solid #ddd;
}
.field-group {
    padding-top: 5px;
    padding-bottom: 5px;
    
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
}
.field-group .field-label {
    font-weight: bold;
}
@media screen and (min-width: 768px) {
    .field-group {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
}
/* Custom and mobile friendly styling for list view */
.list-view {
    font-size: 13px;
}
.list-view .list-summary {
    color: #999;
    font-size: 12px;
    padding: 6px 0;
}
.list-view .number {
    text-align: right;
}
.list-view-item {
    padding: 5px 0;
    border-top: 1px solid #ddd;
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
}
.list-view-striped .list-items > div:nth-of-type(2n+1) .list-view-item {
    background-color: #f9f9f9;
}
.list-view .list-items-wrapper .list-items .list-view-item:hover {
    background-color: #f5f5f5;
}
.list-view .list-items-wrapper .list-items .list-view-item.selected {
    background-color: #eee;
}
.list-view .list-items-wrapper .list-items .list-view-item.disabled {
    background-color: #bbbbbb;
}
.list-view .list-items-wrapper .list-items .list-view-item.success {
    background-color: #c7ffc7;
}
.list-view .list-items-wrapper .list-items .list-view-item.error {
    background-color: #f4c3c3;
}
.list-view .list-items-wrapper .list-items .list-view-item.warning {
    background-color: #f7f6d2;
}
.list-view-item span.header {
    font-weight: bold;
}
@media screen and (min-width: 768px) {
    .list-view-item {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
}

/* Datepicker style */
.datepicker-input {
    cursor: pointer;
}