﻿/*

 rt-bootstap is a custom twitter bootstap containing the following:

http://twitter.github.com/bootstrap/

It was owloaded on the 07/09/2012 version : 2.1.1

Scaffolding
 - Grid System
 - Layouts

Base CSS
 - Headings, body, etc
 - Labels and badges
 - Tables
 - Forms
 - Buttons
 - Icons (no longer needing)

Components
 - Button groups and dropdowns
 - Navs, tabs and pills
 - Navbar
 - Pagination
 - Pager
 - Thumbnails
 - Alerts
 - Progress Bar

JS Componentes
 - Tooltips
 - Popovers
 - Modals
 - Dropdowns
 - Collapse

Misc
 - Wells
 - Close icon
 - Utilities
 - Component animations

Responsive
 - Visible/hidden classes
 - Narrow tablets and below (<767px)
 - Tablets to desktops (767-979px)
 - Large desktops (>1200px)
 - Responsive navbar

JQuery plugins
 - Transitions (required for any animation)
 - Modal
 - Dropdowns
 - Togglable tabs
 - Tooltips
 - Popovers (requires Tooltips)
 - Alert messages
 - Buttons
 - Collapse
*/


/*
------------------------------*
 Bootstrap style overrides
------------------------------*
*/

/* Search Filter */
.search-filter .accordion-group {
    border: none;
}

.search-filter .accordion-heading .accordion-toggle {
    color: white;
    border: 1px solid #697488;
    background-color: #697488;
    -webkit-border-radius: 4px 4px 0px 0px;
    border-radius: 4px 4px 0px 0px;
}

.search-filter .accordion-inner {
    background-color:whiteSmoke;
    border: 1px solid #DDD;
    border-top: none;
}

.search-filter .accordion-inner form {
    margin: 0 0 10px;
}

.search-filter .accordion-heading a:hover {
    color: #FFA500;
    text-decoration: none;
}

/* email dialog */
.accordion.accordion-email { margin-bottom: 8px;}
.accordion-email .accordion-group { border-color: #CCC;}
.accordion-email .accordion-heading .accordion-toggle { padding: 4px 7px;}

.panel-heading.panel-email { margin-bottom: 8px;}
.panel-heading .panel-group { border-color: #CCC;}
.panel-heading .panel-heading .accordion-toggle { padding: 4px 7px;}

.modal.modal-email { width: 767px; }

@media (max-width: 767px) {
    .modal.modal-email { width: auto; }
}

/* Pagination */

/* modify size */

.pagination {
  height: 26px;
  margin: 15px 0 10px 0;
}

.pagination ul > li > a,
.pagination ul > li > span {
  padding: 0 8px;
  line-height: 24px;
  font-size: 12px;
}

/* -- Table -- */

/* TABLE design changes...*/

.table-striped tbody tr:nth-child(odd) td { background-color: #E9E9E9; }
.table-striped tbody tr:last-child td { border-bottom: 1px solid #E9E9E9; }
.table-row-stripe { background-color: #E9E9E9; }
.table-striped tbody tr:last-child td { border-bottom: 1px solid #E9E9E9; }
.table-hover tbody tr.table-row-consignment:hover td { background-color: #c4e3f3; }
.table-condensed { font-size: 12px; }
.table-narrow { width: auto; }

.table-hover tbody tr:hover td
{
    background-color: #D3D3D3;
}

.table-hover tbody tr:hover th 
{
    background-color: inherit;
}

.table-narrow { width: auto; }

.ui-menu-item 
{
    font-size: 12px;
    text-decoration: none;
}

/* reset row colours..*/
.table tbody tr.success td {
  background-color: #dff0d8;
}
.table tbody tr.error td {
  background-color: #f2dede;
}
.table tbody tr.warning td {
  background-color: #fcf8e3;
}
.table tbody tr.info td {
  background-color: #d9edf7;
}
.table tbody tr.default td {
    background-color: #f8f8f8;
}
.table-hover tbody tr.success:hover td {
  background-color: #d0e9c6;
}
.table-hover tbody tr.error:hover td {
  background-color: #ebcccc;
}
.table-hover tbody tr.warning:hover td {
  background-color: #faf2cc;
}
.table-hover tbody tr.info:hover td {
  background-color: #c4e3f3;
}
.table-hover tbody tr.default:hover td {
    background-color: #E9EBEE;
}


/* TABLE design changes...*/

.table-row-consignment
{
    background-color: #E9F3F8;
}
.table tbody tr.table-row-consignment td {
  background-color: #E9F3F8;
}


/* Header Subtext */
small {
  font-size: 85%;
}

h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small {
  font-weight: normal;
  line-height: 1;
}

/*-----------
    Alerts
--------------*/

.alert-results {
    background-color: #E9EBEE;
    border: 1px solid #D4D7DD;
    color: #697488;
}
.alert-results #time {
    float:right;
}

.alert-sm { padding: 6px 10px 6px 10px; }
.alert-md
{ 
    padding: 8px 10px 8px 10px;
    vertical-align:middle;
}

.alert>p, .alert>ul { padding-left: 40px; }

.alert-warning 
{
    background-color: #FFE4B3;
    border-color: #FFCD81;
    color: #F89406;
}

.alert-xs {
 	padding: 4px 7px 4px 7px;
	font-size: 11px;
}

.alert-lg.alert-dismissable, .alert-lg.alert-dismissible {
    padding-right: 18px;
}

.alert-sm.alert-dismissable, .alert-sm.alert-dismissible {
    padding-right: 12px;
}

.alert-xs.alert-dismissable, .alert-xs.alert-dismissible {
    padding-right: 10px;
}

.alert-lg.alert-dismissable .close, .alert-lg.alert-dismissible .close 
{
    float: none;
    font-size: 22px;
    position: relative;
    top: 3px;
    right: -10px;
    color: inherit;
}

.alert-sm.alert-dismissable .close, .alert-sm.alert-dismissible .close 
{
    float: none;
    font-size: 19px;
    position: relative;
    top: 3px;
    right: -5px;
    color: inherit;
}

.alert-xs.alert-dismissable .close, .alert-xs.alert-dismissible .close {
    float: none;
    font-size: 19px;
    position: relative;
    top: 3px;
    right: -5px;
    color: inherit;
}

/* table result alerts*/
.table-results-alert {
    background-color: whitesmoke;
    border-radius: 0;
    font-size: 15px;
    padding: 8px 14px 8px 14px;
    color: #5b5e5e;
}

/* Containers */

div.main-container {
    padding-right: 5px;
    padding-bottom: 60px;
}

div.container-fluid.main-container {
    background-color: #DDD;
    min-height: 550px;
}

div.container-fluid.content-wrapper {
    padding: 20px 20px 10px 20px;
    background: none repeat scroll 0 0 white;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin-right: 10px;
    border: 1px solid #C5C5C5;
}

div.tab-content.container-fluid.content-wrapper {
    padding: 15px 15px 10px 25px;
    background: none repeat scroll 0 0 white;
    -webkit-border-radius: 0 4px 4px 4px;    
    -moz-border-radius: 0 4px 4px 4px;
    border-radius: 0 4px 4px 4px;
    float: left;
    width: 81%;
    min-height: 700px;
    border: none;
}

/* button groups - pulls buttons together*/
.btn-group > .btn + .btn { margin-left: -2px; }

/* input overrides */
input[disabled], select[disabled], textarea[disabled], input[readonly], select[readonly], textarea[readonly] {
cursor: inherit;
border: none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}

.input-append .add-on, .input-append .btn, .input-append .btn-group {
border: none;
}

.input-prepend .add-on:first-child, .input-prepend .btn:first-child {
border: none;
}


/*
-- alternative palceholder for IE https://github.com/mathiasbynens/jquery-placeholder jquery-placeholder.js
*/ 
.placeholder { color: #AAAAAA !important; }


.table>thead>tr>td.active, .table>tbody>tr>td.active, .table>tfoot>tr>td.active, .table>thead>tr>th.active, .table>tbody>tr>th.active, .table>tfoot>tr>th.active, .table>thead>tr.active>td, .table>tbody>tr.active>td, .table>tfoot>tr.active>td, .table>thead>tr.active>th, .table>tbody>tr.active>th, .table>tfoot>tr.active>th {
background-color: #E9E9E9; font-weight: bold;
}

/* in bs3 */
.dropdown-header {
display: block;
padding: 3px 20px;
font-size: 12px;
line-height: 1.42857143;
color: #777;
white-space: nowrap;
}

/* from BS2 */
.form-actions {
padding: 19px 20px 20px;
margin-top: 20px;
margin-bottom: 20px;
background-color: #F5F5F5;
border-top: 1px solid #E5E5E5;
}

.input-group-addon.details  
{
    border: none;
    padding: 6px 9px 6px 0px;
}

/* Form Group / Control */
.form-horizontal .form-group {
    margin-bottom: 4px;
    margin-top: 5px;
}

.control-label label, .row-label label { font-weight: normal; }

.form-control.read 
{
    background-color: #EEE;
    font-size: 12px;
    height: auto;
    min-height: 30px;
    line-height: 1.5;
    border: none;
    border-radius: 3px;
    webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
}
.form-control.read.table-field  
{
    background-color: rgba(0, 0, 0, 0);
    padding: 6px 1px;
}

.form-group.empty .control-label { color: #FFFFFF; }
.form-group.empty .form-control { display: none!important; }

ul.inline >li, ol.inline >li {
display: inline-block;
padding-left: 5px;
padding-right: 5px;
}

.navbar {
  position: static;
}
.navbar .nav > li {
  z-index: 1001;
}


.dropdown-submenu {
    position:relative;
}
.dropdown-submenu>.dropdown-menu {
    top:0;
    left:100%;
    margin-top:-6px;
    margin-left:-1px;
    -webkit-border-radius:0 6px 6px 6px;
    -moz-border-radius:0 6px 6px 6px;
    border-radius:0 6px 6px 6px;
}
.dropdown-submenu:hover>.dropdown-menu {
    display:block;
}
.dropdown-submenu>a:after {
    display:block;
    content:" ";
    float:right;
    width:0;
    height:0;
    border-color:transparent;
    border-style:solid;
    border-width:5px 0 5px 5px;
    border-left-color:#cccccc;
    margin-top:5px;
    margin-right:-10px;
}
.dropdown-submenu:hover>a:after {
    border-left-color:#ffffff;
}
.dropdown-submenu.pull-left {
    float:none;
}
.dropdown-submenu.pull-left>.dropdown-menu {
    left:-100%;
    margin-left:10px;
    -webkit-border-radius:6px 0 6px 6px;
    -moz-border-radius:6px 0 6px 6px;
    border-radius:6px 0 6px 6px;
}

/* centers sidenav icons */
.sidebar .nav>li {
    text-align: center;
}

.btn-xs, .btn-group-xs>.btn { padding: 0px 5px; }

td input[type=checkbox] { margin: 2px 0 0; }

/* progress bars */
.progress-small, .progress-small .progress-bar, .progress-sm, .progress-sm .progress-bar { 
    height: 10px;
    line-height: 10px;
    font-size: 9px;
}

.progress-medium, .progress-medium .progress-bar, .progress-md, .progress-md .progress-bar {
    height: 15px;
    line-height: 15px;
    font-size: 14px;
}

.progress-xs, .progress-xs .progress-bar { 
    height: 5px;
}

.progress-xs.progress {
    border-radius: 2px;
    margin-bottom: 3px;
    margin-top: 5px;
}

.progress {
    border-radius: 2px;
    margin-bottom: 10px;
}

/* list group */
.panel .list-group div:first-child {
    border-top: none;
}
.panel .list-group div:last-child {
    border-bottom: none;
}
.panel .list-group .list-group-item {
    float: left;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    border-left: none;
    border-right: none;
}

.panel .list-group .list-group-item h3
{
    font-size: 20px;
}


/*
.panel-hover:hover .panel-link [class*=" fa-"]{
    top: 50%;
}

.panel-hover:hover
{
    background-color: black;
    opacity: 0.8;
    filter: alpha(opacity=80);
}

.panel-link [class*=" fa-"]
{
    position: absolute;
    left: 50%;
    top: -150%;
    font-size: 30px;
    margin-left: -15px;
    margin-top: -15px;
    color: #FFF;
    -webkit-transition: top 300ms;
    -moz-transition: top 300ms;
    -o-transition: top 300ms;
    transition: top 300ms;
    text-shadow: 1px 1px 1px #000;
    width: 30px;
    height: 30px;
}



.panel .panel-link {
    overflow: hidden;
    display: block;
    position: relative;
    bottom: 0;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-transition: bottom 300ms;
    -moz-transition: bottom 300ms;
    -o-transition: bottom 300ms;
    transition: bottom 300ms;
}*/

.panel-hover {
    position: relative;
    overflow: hidden;

    /* Only the -webkit- prefix is required these days */
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
}

.panel-hover::before {
    content: ' ';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: transparent;
    transition: background .35s ease-out;
}

.panel-hover:hover::before {
    background: rgba(0, 0, 0, 0.8);
    z-index: 8;
}

.panel-hover:hover .panel-body [class*=" fa-"]{
    color: rgba(0, 0, 0, 0.8);
    z-index: 10;
}

.panel-body {
    display: block;
    min-width: 100%;
    max-width: 100%;
    height: auto;
}

.panel-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 10px;
    color: white;

    -webkit-transform: translateY(100%);
            transform: translateY(100%);

    transition: -webkit-transform .35s ease-out;
    transition:         transform .35s ease-out;
    z-index: 10;
}

.panel-hover:hover .panel-overlay {
    -webkit-transform: translateY(0);
            transform: translateY(0);
}

.panel-overlay-title {
    -webkit-transform: translateY( -webkit-calc(-100% - 10px) );
            transform: translateY( calc(-100% - 10px) );

    transition: -webkit-transform .35s ease-out;
    transition:         transform .35s ease-out;
    color: #FFFFFF;
}

.panel-overlay-link i
{
    color: #FFFFFF;
}

.panel-hover:hover .panel-overlay-title {
    -webkit-transform: translateY(0);
            transform: translateY(0);
}

.media-box, .media-box-body {
    overflow: hidden;
    zoom: 1;
}

.dropdown-list .list-group {
    margin: 0;
}

.dropdown-list>.dropdown-menu {
    padding: 0;
    min-width: 220px;
}

.list-group {
    line-height: 1.3;
}
.dropdown-list .list-group-item:first-child {
    border-top: 0;
}
.dropdown-list .list-group-item {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
}
.list-group .list-group-item {
    padding: 10px;
}

/*
a {
    outline: none!important;
}
*/
.media-box:first-child {
    margin-top: 0;
}
.media-box, .media-box .media-box {
    margin-top: 15px;
}
.media-box, .media-box-body {
    overflow: hidden;
    zoom: 1;
}
.media-box>.pull-left {
    margin-right: 10px;
}

.media-box, .media-box-body {
    overflow: hidden;
    zoom: 1;
}

/* Breadcrumb */
.breadcrumb {
    padding: 5px 11px;
    margin-bottom: 0px;
    list-style: none;
    background-color: #f5f5f5;
    border-radius: 0;
    font-size: 12px;
}


.align-top {
    vertical-align: top!important;
}
.align-middle {
    vertical-align: middle!important;
}
.align-bottom {
    vertical-align: bottom!important;
}


/* in BS4 */

.w-25 {
    width: 25% !important;
}

.w-50 {
    width: 50% !important;
}

.w-75 {
    width: 75% !important;
}

.w-100 {
    width: 100% !important;
}

.w-auto {
    width: auto !important;
}

/* Flex */
.d-flex {
    display: -ms-flexbox!important;
    display: flex!important;    
}
.d-inline-flex {
    display: inline-flex!important;
}
.flex-row {
    flex-direction: row!important;
}
.flex-row-reverse {
    flex-direction: row-reverse!important;
}
.flex-column {
    flex-direction: column!important;
}
.flex-column-reverse {
    flex-direction: column-reverse!important;
}
.justify-content-start {
    justify-content: flex-start!important;
}
.justify-content-end {
    justify-content: flex-end!important;
}
.justify-content-center {
    justify-content: center!important;
}
.justify-content-between {
    justify-content: space-between!important;
}
.justify-content-around {
    justify-content: space-around!important;
}
.align-items-start {
    -ms-flex-align: start!important;
    align-items: flex-start!important;
}
.align-items-end {
    -ms-flex-align: end!important;
    align-items: flex-end!important;
}
.align-items-center {
    -ms-flex-align: center!important;
    align-items: center!important;
}
.align-items-baseline {
    -ms-flex-align: baseline!important;
    align-items: baseline!important;
}
.align-items-stretch {
    -ms-flex-align: stretch!important;
    align-items: stretch!important;
}
.align-self-start {
    -ms-flex-item-align: start!important;
    align-self: flex-start!important;
}
.align-self-end {
    -ms-flex-item-align: end!important;
    align-self: flex-end!important;
}
.align-self-center {
    -ms-flex-item-align: center!important;
    align-self: center!important;
}
.align-self-baseline  {
    -ms-flex-item-align: baseline !important;
    align-self: baseline!important;
}
.align-self-stretch {
    -ms-flex-item-align: stretch!important;
    align-self: stretch!important;
}

.alert-bar-sm {
    border: none;
}

.alert-bar-warning {
    background-color: #FFF8E1;
}

.alert-bar-sm {
    border: none;
}

.alert-bar-lg {
    border: none;
}

.alert-bar-sm i.alert-bar-icon {
    font-size: 20px;
}

.alert-bar-lg i.alert-bar-icon {
    font-size: 40px;
}

.alert-bar-sm .alert-bar-title {
    margin-left: 5px;
    font-size: 18px;
}

.alert-bar-lg .alert-bar-title {
    margin-left: 10px;
    font-size: 24px;
}

.alert-bar-warning {
    background-color: #FFF8E1;
}

.alert-bar-info {
    background-color: #ecf7ff;
}

.alert-bar-danger {
    background-color: #f2dede;
    color: #a94442;
}

.alert-bar-sm p {
    padding-left: 29px;
}

.alert-bar-lg p {
    padding-left: 40px;
}