.fa-rotate-20 {
    -webkit-transform: rotate(-20deg);
    -moz-transform: rotate(-20deg);
    -ms-transform: rotate(-20deg);
    -o-transform: rotate(-20deg);
    transform: rotate(-20deg);
}

/**
 * Adjust Select2 inputs to fit Bootstrap 3 default .form-control appearance.
 */
.select2-container .select2-choices .select2-search-field input,
.select2-container .select2-choice,
.select2-container .select2-choices {
    border-radius: 1px !important;
    font-family: var(--body-font) !important;
}

.select2-search input {
    border-radius: 1px !important;
    font-family: var(--body-font) !important;
}

.badge {
    border-radius: 2px;
}

h1>.badge, h2>.badge, h3>.badge {
    vertical-align:middle;
    margin-top: -0.5em;
}

blockquote {
    font-size: 16.5px;
}

/**
 * Address Bootstrap 3 control sizing classes
 * @see http://getbootstrap.com/css/#forms-control-sizes
 */
.select2-container.input-sm .select2-choice,
.input-group-sm .select2-container .select2-choice {
  border-radius: 1px !important;
}

.select2-container.input-lg .select2-choice,
.input-group-lg .select2-container .select2-choice {
  border-radius: 1px !important;
}

.list-group-item.list-group-item-sm {
    padding: 2px 2px 2px 15px;
}

.list-group-item.list-group-indent-1 {
    padding-left: 30px;
}

.list-group-item.list-group-indent-2 {
    padding-left: 45px;
}

.list-group-item.list-group-indent-3 {
    padding-left: 60px;
}

.list-group-item.list-group-indent-4 {
    padding-left: 75px;
}

.list-group-item.list-group-header {
    background: #fafafa;
}

.input-group .form-control {
    z-index: 1;
}

.tooltip-inner {
    max-width: 600px;
}
.tooltip.in {
  opacity: 1;
  filter: alpha(opacity=100);
}

a.list-group-item.active, a.list-group-item.active:hover, a.list-group-item.active:focus {
    background-color: #999;
    border-color: #999;
    font-weight: bold;
}

.dropdown-menu {
    z-index: 20000 !important;
}

.table.borderless, .table.borderless tr, .table.borderless td,
.table.borderless thead > tr, .table.borderless tbody tr > td {
    border: 0px;
}

.navbar-collapse {
    max-height: none;
}
.navbar-inverse .navbar-text {
    color: #ddd;
}
.navbar-inverse .navbar-nav > li > a {
    color: #ddd;
}
    .navbar-inverse .navbar-nav > li > a:hover {
        color: #fff;
        background: #2c2c2c;
    }

.twitter-typeahead {
    width: 100%;
    background: #fff;
}

.tt-dropdown-menu {
    width: 100%;
}

.help-block {
    margin: 5px 0px;
}

.form-group {
    margin-bottom: 10px;
}

.input-xs {
    height: 30px;
    padding: 2px 10px;
    font-size: 12px;
    line-height: 1.25;
    border-radius: 2px;
}

.input-group-addon {
    background: #fafafa;
    padding: 6px 8px;
}

.modal {
    z-index: 2000;
}

.modal-header {
    /*background: #E82C1D;
    color: #fff;*/
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    padding: 5px 15px;
    background: #eee;
}

    .modal-header h3 {
        font-weight: bold;
    }

.model-header .close {
    margin-top: 0px;
}

.modal-footer {
    padding: 5px 15px;
}

.navbar {
    margin-bottom: 0px;
}

.breadcrumb {
    padding: 0px;
    margin-top: 15px;
    margin-bottom: 15px;
    background: none;
}
.breadcrumb span.active {
    color: #727272;
}

.breadcrumb a,.breadcrumb span {
    color: var(--dark-grey);
}

.pagination > li > a,
.pagination > li > span,
.pagination > li > a,
.pagination > .active > a,
.pagination > li > a:hover,
.pagination > .active > a:hover {
    color: #333;
}

.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
    color: #eee;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    background: #aaa;
    color: #fff;
    border-color: #ddd;
}

.panel-default {
    border-color: #aaa;
}
    .panel-default > .panel-heading {
        background: #f7f7f7;
    }


.panel > .panel-heading {
    font-weight: bold;
}

.panel-highlight {

}

.panel-tpi {
  border-color: #B12D23;
}
.panel-tpi > .panel-heading {
  color: #ffffff;
  background-color: #B12D23;
  border-color: #B12D23;
}
.panel-tpi > .panel-heading + .panel-collapse > .panel-body {
  border-top-color: #e82c1d;
}
.panel-tpi > .panel-heading .badge {
  color: #e82c1d;
  background-color: #ffffff;
}
.panel-tpi > .panel-footer + .panel-collapse > .panel-body {
  border-bottom-color: #e82c1d;
}
.panel-tpi a {
  color: #e82c1d;
}

.panel-body.element-relative {
    padding-bottom: 30px;
}

.btn-block.btn-info {
    background-color: #3A79B0;
    border-color: #3A79B0;
}
.nav-pills {
    border: 1px solid #999;
    border-left: 0px;
    border-right: 0px;
    background: #fcfcfc;
}

.nav-fill .nav-item {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    text-align: center;
}

.well {
    background: #fafafa
}

.highlight .panel, .highlight .well {
    border-color: #888 !important;
}

.alert.alert-default {
    color: #000;
    background-color: #eee;
    border-color: #ccc;
}

.alert-extreme {
    background: #333333;
    /*border: 2px solid #000;*/
    color: #fcfcfc;
}
.alert-extreme hr {
    border: 0px;
}
.alert-extreme .alert-link {
    color: #fcfcfc;
    text-decoration: underline;
}

.alert-link {
    text-decoration: underline;
}


@media (max-width: 992px) {

}

@media (max-width: 767px) {
    .pagination {
        width: 100%;
    }
    .pagination a,
    .pagination .pagination-info {
        display: block;
        width: 100%;
        text-align: center;
    }

        .pagination a:first-child {
            border-bottom-left-radius: 0px !important;
            border-top-left-radius: 0px !important;
        }

        .pagination a:last-child {
            border-bottom-right-radius: 0px !important;
            border-top-right-radius: 0px !important;
        }
}



/* ---------------------------------------------------------------------
    Modal
--------------------------------------------------------------------- */
@media (max-width: 991px) {
    .modal-dialog {
        width: auto;
        margin: 10px;
    }
}



/* ---------------------------------------------------------------------
    Bootstrap select
--------------------------------------------------------------------- */
.bootstrap-select {
    z-index: 99 !important;
}


/* ---------------------------------------------------------------------
    Navs
--------------------------------------------------------------------- */
.navbar-left {
    margin-left: -15px;
}
.navbar-inverse .navbar-nav > li > a {
    color: #eee;
}
    .navbar-inverse .navbar-nav > li > a:hover {
        background: #333;
    }

.nav > li > a {
    padding: 15px 10px;
}

@media (max-width: 768px) {
    .nav {
        padding: 0px 10px;
        margin: 0px;
    }
    .navbar-left, .navbar-right {
        margin: 0px;
    }

    .nav .dropdown-menu {
        position: static;
        float: none;
        border-radius: 0px;
        border: 0px;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        margin-bottom: 10px;
        max-width: 100%;
    }

    .force-open-xs .dropdown-menu {
        display: block !important;
    }

    .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
        color: #ccc;
    }
    .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover {
        background: #333;
    }
}

.btn-custom-menu {
    position: relative;
}

@media (min-width: 768px) {
    .btn-custom-menu {
        display: none;
    }
}


/* ---------------------------------------------------------------------
    Custom button classes
--------------------------------------------------------------------- */
.btn-rounded {
    border-radius: 20px;
}

.btn-rounded.btn-lg {
    border-radius: 30px;
}

.btn-rounded-blue,
.nav > li > a.btn-rounded-blue{
    padding: 8px 10px;
}

.btn-rounded-blue:hover,
.nav > li > a.btn-rounded-blue:hover {
    background-color: #438ccb;
    color: #fff;
}

.btn-action-orange {
  color: #FFFFFF;
  background-color: #E39000;
  border-color: #B06F00;
}

.btn-action-orange:hover,
.btn-action-orange:focus,
.btn-action-orange:active,
.btn-action-orange.active,
.open .dropdown-toggle.btn-action-orange {
  color: #FFFFFF;
  background-color: #B06F00;
  border-color: #B06F00;
}

.btn-action-orange:active,
.btn-action-orange.active,
.open .dropdown-toggle.btn-action-orange {
  background-image: none;
}

.btn-action-orange.disabled,
.btn-action-orange[disabled],
fieldset[disabled] .btn-action-orange,
.btn-action-orange.disabled:hover,
.btn-action-orange[disabled]:hover,
fieldset[disabled] .btn-action-orange:hover,
.btn-action-orange.disabled:focus,
.btn-action-orange[disabled]:focus,
fieldset[disabled] .btn-action-orange:focus,
.btn-action-orange.disabled:active,
.btn-action-orange[disabled]:active,
fieldset[disabled] .btn-action-orange:active,
.btn-action-orange.disabled.active,
.btn-action-orange[disabled].active,
fieldset[disabled] .btn-action-orange.active {
  background-color: #E39000;
  border-color: #B06F00;
}

.btn-action-orange .badge {
  color: #E39000;
  background-color: #FFFFFF;
}

.btn-muted {
  background-color: #ddd;
  border-color: #ddd;
  color: #eee;
}
.btn-muted:hover,
.btn-muted:focus,
.btn-muted:active,
.btn-muted.active {
  background-color: #ddd;
  border-color: #ddd;
  color: #eee;
}
.btn-muted.disabled:hover,
.btn-muted.disabled:focus,
.btn-muted.disabled:active,
.btn-muted.disabled.active,
.btn-muted[disabled]:hover,
.btn-muted[disabled]:focus,
.btn-muted[disabled]:active,
.btn-muted[disabled].active,
fieldset[disabled] .btn-muted:hover,
fieldset[disabled] .btn-muted:focus,
fieldset[disabled] .btn-muted:active,
fieldset[disabled] .btn-muted.active {
  background-color: #ddd;
  border-color: #ddd;
  color: #eee;
}

.btn-grey {
  background-color: #7c7c7c;
  border-color: #7c7c7c;
  color: #fff;
}
.btn-grey:hover,
.btn-grey:focus,
.btn-grey:active,
.btn-grey.active {
  background-color: #6f6f6f;
  border-color: #636363;
}
.btn-grey.disabled:hover,
.btn-grey.disabled:focus,
.btn-grey.disabled:active,
.btn-grey.disabled.active,
.btn-grey[disabled]:hover,
.btn-grey[disabled]:focus,
.btn-grey[disabled]:active,
.btn-grey[disabled].active,
fieldset[disabled] .btn-grey:hover,
fieldset[disabled] .btn-grey:focus,
fieldset[disabled] .btn-grey:active,
fieldset[disabled] .btn-grey.active {
  background-color: #7c7c7c;
  border-color: #7c7c7c;
}


.btn-action-blue {
  color: #FFFFFF;
  background-color: #0C519B;
  border-color: #053161;
}

.btn-action-blue:hover,
.btn-action-blue:focus,
.btn-action-blue:active,
.btn-action-blue.active,
.open .dropdown-toggle.btn-action-blue {
  color: #FFFFFF;
  background-color: #053161;
  border-color: #053161;
}

.btn-action-blue:active,
.btn-action-blue.active,
.open .dropdown-toggle.btn-action-blue {
  background-image: none;
}

.btn-action-blue.disabled,
.btn-action-blue[disabled],
fieldset[disabled] .btn-action-blue,
.btn-action-blue.disabled:hover,
.btn-action-blue[disabled]:hover,
fieldset[disabled] .btn-action-blue:hover,
.btn-action-blue.disabled:focus,
.btn-action-blue[disabled]:focus,
fieldset[disabled] .btn-action-blue:focus,
.btn-action-blue.disabled:active,
.btn-action-blue[disabled]:active,
fieldset[disabled] .btn-action-blue:active,
.btn-action-blue.disabled.active,
.btn-action-blue[disabled].active,
fieldset[disabled] .btn-action-blue.active {
  background-color: #0C519B;
  border-color: #053161;
}

.btn-action-blue .badge {
  color: #0C519B;
  background-color: #FFFFFF;
}

.btn-action-red {
  color: #FFFFFF;
  background-color: #68140D;
  border-color: #4A0903;
}

.btn-action-red:hover,
.btn-action-red:focus,
.btn-action-red:active,
.btn-action-red.active,
.open .dropdown-toggle.btn-action-red {
  color: #FFFFFF;
  background-color: #4A0903;
  border-color: #4A0903;
}

.btn-action-red:active,
.btn-action-red.active,
.open .dropdown-toggle.btn-action-red {
  background-image: none;
}

.btn-action-red.disabled,
.btn-action-red[disabled],
fieldset[disabled] .btn-action-red,
.btn-action-red.disabled:hover,
.btn-action-red[disabled]:hover,
fieldset[disabled] .btn-action-red:hover,
.btn-action-red.disabled:focus,
.btn-action-red[disabled]:focus,
fieldset[disabled] .btn-action-red:focus,
.btn-action-red.disabled:active,
.btn-action-red[disabled]:active,
fieldset[disabled] .btn-action-red:active,
.btn-action-red.disabled.active,
.btn-action-red[disabled].active,
fieldset[disabled] .btn-action-red.active {
  background-color: #68140D;
  border-color: #4A0903;
}

.btn-action-red .badge {
  color: #68140D;
  background-color: #FFFFFF;
}

.btn-action-green.btn-action-green {
  color: #FFFFFF;
  background-color: #02873E;
  border-color: #007533;
}

.btn-action-green:hover,
.btn-action-green:focus,
.btn-action-green:active,
.btn-action-green.active,
.open .dropdown-toggle.btn-action-green {
  color: #FFFFFF;
  background-color: #006E30;
  border-color: #007533;
}

.btn-action-green:active,
.btn-action-green.active,
.open .dropdown-toggle.btn-action-green {
  background-image: none;
}

.btn-action-green.disabled,
.btn-action-green[disabled],
fieldset[disabled] .btn-action-green,
.btn-action-green.disabled:hover,
.btn-action-green[disabled]:hover,
fieldset[disabled] .btn-action-green:hover,
.btn-action-green.disabled:focus,
.btn-action-green[disabled]:focus,
fieldset[disabled] .btn-action-green:focus,
.btn-action-green.disabled:active,
.btn-action-green[disabled]:active,
fieldset[disabled] .btn-action-green:active,
.btn-action-green.disabled.active,
.btn-action-green[disabled].active,
fieldset[disabled] .btn-action-green.active {
  background-color: #02873E;
  border-color: #007533;
}

.btn-action-green .badge {
  color: #009B42;
  background-color: #FFFFFF;
}

.btn-hover {
    font-weight: normal;
    color: #333333;
    cursor: pointer;
    background-color: inherit;
    border-color: transparent;
}

.btn-hover-alt {
    font-weight: normal;
    color: #ffffff;
    cursor: pointer;
    background-color: inherit;
    border-color: transparent;
}

.btn-tpi {
    color: #FFFFFF;
    background-color: #B12D23;
    border-color: #B12D23;
}

    .btn-tpi:hover,
    .btn-tpi:focus,
    .btn-tpi:active,
    .btn-tpi.active,
    .open .dropdown-toggle.btn-tpi {
        color: #FFFFFF;
        background-color: #8E2219;
        border-color: #8E2219;
    }

    .btn-tpi:active,
    .btn-tpi.active,
    .open .dropdown-toggle.btn-tpi {
        background-image: none;
    }

    .btn-tpi.disabled,
    .btn-tpi[disabled],
    fieldset[disabled] .btn-tpi,
    .btn-tpi.disabled:hover,
    .btn-tpi[disabled]:hover,
    fieldset[disabled] .btn-tpi:hover,
    .btn-tpi.disabled:focus,
    .btn-tpi[disabled]:focus,
    fieldset[disabled] .btn-tpi:focus,
    .btn-tpi.disabled:active,
    .btn-tpi[disabled]:active,
    fieldset[disabled] .btn-tpi:active,
    .btn-tpi.disabled.active,
    .btn-tpi[disabled].active,
    fieldset[disabled] .btn-tpi.active {
        background-color: #E82C1D;
        border-color: #B31409;
    }

    .btn-tpi .badge {
        color: #E82C1D;
        background-color: #FFFFFF;
    }


.btn-arrow-right,
.btn-arrow-left {
    position: relative;
    padding-left: 18px;
    padding-right: 18px;
}
.btn-arrow-right {

}
.btn-arrow-left {

}
.btn-arrow-right:after,
.btn-arrow-left:before{ /* make two squares (before and after), looking similar to the button */
    content:"";
    position: absolute;
    top: 3px; /* move it down because of rounded corners */
    width: 22px; /* same as height */
    height: 22px; /* button_outer_height / sqrt(2) */
    background: inherit; /* use parent background */
    border: inherit; /* use parent border */
    border-left-color: transparent; /* hide left border */
    border-bottom-color: transparent; /* hide bottom border */
    border-radius: 0px 2px 0px 0px; /* round arrow corner, the shorthand property doesn't accept "inherit" so it is set to 4px */
    -webkit-border-radius: 0px 2px 0px 0px;
    -moz-border-radius: 0px 2px 0px 0px;
}
.btn-arrow-right:before,
.btn-arrow-right:after {
    transform: rotate(45deg); /* rotate right arrow squares 45 deg to point right */
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
}
.btn-arrow-left:before,
.btn-arrow-left:after {
    transform: rotate(225deg); /* rotate left arrow squares 225 deg to point left */
    -webkit-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
    -o-transform: rotate(225deg);
    -ms-transform: rotate(225deg);
}
.btn-arrow-right:before,
.btn-arrow-left:before { /* align the "before" square to the left */
    /*left: -11px;*/
}
.btn-arrow-right:after,
.btn-arrow-left:after { /* align the "after" square to the right */
    right: -11px;
}
.btn-arrow-right:after,
.btn-arrow-left:before { /* bring arrow pointers to front */
    z-index: 1;
}
.btn-arrow-right:before,
.btn-arrow-left:after { /* hide arrow tails background */
    background-color: white;
}

.btn-lg.btn-arrow-right:after,
.btn-lg.btn-arrow-left:before {
    top: 6px; /* move it down because of rounded corners */
    right: -16px;
    width: 31px; /* same as height */
    height: 31px; /* button_outer_height / sqrt(2) */
    padding-right: 25px;
}

/* ---------------------------------------------------------------------
    Navbar TPI
--------------------------------------------------------------------- */
.navbar-white {
  background-color: #fafafa;
  border-color: #5b5b5b;
}

