.background {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.content {
    width: 80%;
    height: 90%;

    position:absolute;
    left:0; right:0;
    top:0; bottom:0;
    margin:auto;

    max-width:100%;
    max-height:100%;
    /*overflow:auto;*/
}

.navbar-static-top {
    background: #FFF;
}

.navbar-form-custom {
    width: 250px;
}

#side-menu > li > a,
#nav-pallet-menu > ul > li > a,
#nav-transport-menu > ul > li > a {
    padding: 8px 10px 8px 25px;
}

#nav-pallet-menu,
#nav-transport-menu {
    border-left: 0px;
}

.nav-second-level li a {
    padding: 7px 10px 7px 10px;
    padding-left: 52px;
}

.nav-third-level li a {
    padding: 7px 10px 7px 10px;
    padding-left: 62px;
}

.wrapper-content {
    padding: 10px 10px 40px;
}

.spaceTop {
    margin-top: 20px;
}

.spaceBottom {
    margin-bottom: 20px;
}

.panel-primary > .panel-heading, .list-group-item-default {
    text-align: left;
    font-weight: bold;
    text-transform: uppercase;
}

.panel > .collapsed {
    display: none;
}

.form-control {
    color: #555;
}

.form-group.required label:before {
    content:"* ";
    color:red;
}

.has-feedback label~.form-control-feedback {
    /*top: 33px;*/
}

.ibox-tools {
    float: right;
}

.title {
    margin-bottom: 20px;
    margin-left: 8px;
}

/*.title {*/
    /*width: 96%;*/
    /*text-align: left;*/
/*}*/

/*.title > h1 {*/
    /*font-weight: 500;*/
/*}*/

.table-responsive .dataTables_wrapper .table {
    width: 100% !important;
}

.table .icon {
    text-align: center;
    width: 20px;
}

.table .calculated {
    text-align: center;
}

.table-condensed > thead > tr > th,
.table-condensed > tbody > tr > th,
.table-condensed > tfoot > tr > th,
.table-condensed > thead > tr > td,
.table-condensed > tbody > tr > td,
.table-condensed > tfoot > tr > td {
    padding: 4px;
}

.tab-content-full {
    margin-left: 0 !important;
    width: 100% !important;
}

.tab-content > form > .tab-pane,
.pill-content > form > .pill-pane {
    display: none;
}
.tab-content > form > .active,
.pill-content > form > .active {
    display: block;
}

.invoice-table thead > tr > th:last-child,
.invoice-table thead > tr > th:nth-child(5),
.invoice-table thead > tr > th:nth-child(4),
.invoice-table thead > tr > th:nth-child(3),
.invoice-table thead > tr > th:nth-child(2) {
    text-align: right;
}

.invoice-table tbody > tr > td:last-child,
.invoice-table tbody > tr > td:nth-child(5),
.invoice-table tbody > tr > td:nth-child(4),
.invoice-table tbody > tr > td:nth-child(3),
.invoice-table tbody > tr > td:nth-child(2) {
    text-align: right;
}

.invoice-persons > tbody > tr > td:first-child {
    text-align: right;
}

.invoice-persons > tbody > tr > td {
    border: 0 none;

}
.invoice-persons > tbody > tr > td:last-child {
    border-bottom: 1px solid #DDDDDD;
    width: 75%;
}

.invoice-total > tbody > tr > td:last-child {
    width: 30%;
}

.modal-driver .form-group,
.appeal-driver .form-group {
    margin-bottom: 3px;
}

.appeal-driver .control-label {
    padding-left: 3px;
}

.panel-body > .row {
    margin-left: 2px;
    margin-right: 2px;
}

.tabs-left .form-horizontal .form-group {
    float: left;
    width: 100%;
}

.overlay {
    height: 100%;
    width: 0;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 2099;
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    color: #ffffff;
}

.input-group-addon {
    background-color: #f7f7f9;
}

.text-green {
    color: #1ab394;
}

.bg-light-green {
    background-color: #ccffcc !important;
}

.bg-light-yellow {
    background-color: #fcffbc !important;
}

.bg-light-red {
    background-color: #ffcccc !important;
}

.bg-light-purple {
    background-color: #ccccff !important;
}

.bg-light-gray {
    background-color: #b9bdc0 !important;
}

.widget-link {
    cursor: pointer;
}

/*.tab-pane.form-horizontal .contact-box {*/
    /*float:left*/
/*}*/

.panel-body-container {
    float: left;
    width: 100%;
}

/*.tab-pane .panel-body > .row {*/
    /*float:left*/
/*}*/

.contact-box {
    width: 100%;
}

.dl-horizontal dt, .dl-horizontal dd {
    padding-top: 7px;
}

.vertical-timeline-content .btn-group > .btn {
    float: none;
}

.btn-responsive {
    white-space: normal !important;
    word-wrap: break-word;
}

.permit-icon {
    display: inline-block;
    width: 20px;
}

.border-green {
    border-color: #6cb34c;
    border-width: 3px;
    border-style: solid;
}

.navy-border {
    border-color: #1ab394;
    border-width: 1px;
    border-style: solid;
}


@media only screen and (max-width: 800px) {

    #select-address-table td {
        border: none !important;
    }

    #select-address-table td:first-child {
        border-top: 1px solid #e7e7e7 !important;
    }

    #select-address-table td:last-child {
        border-bottom: 1px solid #e7e7e7 !important;
    }

    #select-address-table thead th {
        display: none;
    }
    #select-address-table th td {
        display: block;
        clear: both;
    }
    #select-address-table td[data-th]:before {
        content: attr(data-th);
        float: left;
    }
}

/**
 * The CSS shown here will not be introduced in the Quickstart guide, but shows
 * how you can use CSS to style your Element's container.
 */
.StripeElement {
    background-color: white;
    height: 40px;
    padding: 10px 12px;
    border-radius: 4px;
    border: 1px solid transparent;
    box-shadow: 0 1px 3px 0 #e6ebf1;
    -webkit-transition: box-shadow 150ms ease;
    transition: box-shadow 150ms ease;
}

.StripeElement--focus {
    box-shadow: 0 1px 3px 0 #cfd7df;
}

.StripeElement--invalid {
    border-color: #fa755a;
}

.StripeElement--webkit-autofill {
    background-color: #fefde5 !important;
}

.fa-20x {
    font-size: 20em;
}

.single-plate-read-fixed-row {
    /*position: -webkit-sticky; !* Safari *!*/
    /*position: sticky;*/
    position: fixed;
    top: 0;
    z-index: 1000;
}

.p-l-none {
    padding-left: 0;
}
.p-l-xs {
    padding-left: 5px;
}
.p-l-sm {
    padding-left: 10px;
}
.p-l {
    padding-left: 15px;
}
.p-l-md {
    padding-left: 20px;
}
.p-l-lg {
    padding-left: 30px;
}
.p-l-xl {
    padding-left: 40px;
}
.p-l-n-xxs {
    padding-left: -1px;
}
.p-l-n-xs {
    padding-left: -5px;
}
.p-l-n-sm {
    padding-left: -10px;
}
.p-l-n {
    padding-left: -15px;
}
.p-l-n-md {
    padding-left: -20px;
}
.p-l-n-lg {
    padding-left: -30px;
}
.p-l-n-xl {
    padding-left: -40px;
}
.p-r-none {
    padding-right: 0;
}
.p-r-xxs {
    padding-right: 1px;
}
.p-r-xs {
    padding-right: 5px;
}
.p-r-sm {
    padding-right: 10px;
}
.p-r {
    padding-right: 15px;
}
.p-r-md {
    padding-right: 20px;
}
.p-r-lg {
    padding-right: 30px;
}
.p-r-xl {
    padding-right: 40px;
}
.p-r-n-xxs {
    padding-right: -1px;
}
.p-r-n-xs {
    padding-right: -5px;
}
.p-r-n-sm {
    padding-right: -10px;
}
.p-r-n {
    padding-right: -15px;
}
.p-r-n-md {
    padding-right: -20px;
}
.p-r-n-lg {
    padding-right: -30px;
}
.p-r-n-xl {
    padding-right: -40px;
}

.border-size-xs {
    border-width: 1px;
}

.number-plate {
    width: 100%;
    height: 130px;
    background: #ffce00;
    border-radius: 10px;
    margin: 0 auto;
    position: relative;
    border: solid 2px;
    padding: 10px;
    box-shadow: 1px 1px 1px black;
}

.number-plate-text-container {
    padding: 0px 10px;
    position: relative;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    text-transform: uppercase;
    font-size: 8.5vw;
    font-weight: bold;
    text-align: center;
    border: 2px solid;
    height: 100%;
    border-color: rgba(255, 0, 0, 0);
}

.number-plate-text {
    position: absolute;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    width: 100%;
    color: #000;
}

.number-plate-text-container h1 {
    font-family: "Arial" !important;
    font-size: 104px !important;
    font-weight: bold !important;
}


.page-loading > .sk-spinner {
    display: none;
}
.page-loading.sk-loading {
    position: relative;
}
.page-loading.sk-loading:after {
    content: '';
    background-color: rgba(255, 255, 255, 0.7);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.page-loading.sk-loading > .sk-spinner {
    display: block;
    position: absolute;
    top: 40%;
    left: 0;
    right: 0;
    z-index: 2000;
}

#permit-map {
    width: 100%;
    height: 300px;
}


.modal-open .select2-dropdown {
    z-index: 10060;
}

.modal-open .select2-close-mask {
    z-index: 10055;
}


.switch_back a {
    color: #ffffff !important;
}

.navbar-default .switch_back a {
    background: #ed5565;
    color: white;
}
.navbar-default .switch_back a:hover {
    background: #953b39 !important;
    color: white;
}
.navbar-default .switch_back a span.label {
    background: #fff;
    color: #ed5565;
}

#location-map {
    min-height: 400px;

    height: 100%;
    width: 100%;
}



#searchForm .form-group-sm {
    margin-bottom: 5px;
}

#searchForm .form-group-sm .form-control {
    height: 28px;
}

#searchForm .form-group-sm label {
    font-size: 11px;
}

.fit-contents {
    width: 1%;
    white-space: nowrap;
}

.btn-group {
    display: flex;
}

#live-feed-time {
    color: #FFFFFF;
    font-size: 60px;
    font-weight: 600;
}

/* SMARTPHONES PORTRAIT */
@media only screen and (min-width: 300px) {

    .number-plate-text-container h1 {
        font-size: 50px !important;
    }

}

/* SMARTPHONES LANDSCAPE */
@media only screen and (min-width: 480px) {


}

/* TABLETS PORTRAIT */
@media only screen and (min-width: 768px) {

    .number-plate-text-container h1 {
        font-size: 80px !important;
    }

}


/* TABLET LANDSCAPE / DESKTOP */
@media only screen and (min-width: 1024px) {
    .number-plate-text-container h1 {
        font-size: 104px !important;
    }
}
