@font-face {
    font-family: 'Open Sans Light';
    src: url('../../cases/fonts/OpenSans-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Open Sans Regular';
    src: url('../../cases/fonts/OpenSans-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Open Sans Bold';
    src: url('../../cases/fonts/OpenSans-Bold.ttf') format('truetype');
}

tr, th, body, .row, .panel, .panel-heading, .button-field {
    font-family: "Open Sans Regular";
    background-color: #E6F3FA;
    color: #002A3A;
}

.row, .panel, .col-lg-12, .row-fluid {
    border: 0;
    box-shadow: 0 0px 0px;
}

.alert-custom {
    padding: 0px;
    padding-left: 5px;
    border: 1px solid transparent;
    border-radius: 4px;
}

footer {
    text-align: center;
    margin-bottom: 30px;
}

a {
    color: #298FC2;
}

.push-together {
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
}

.two-columns {
    display: flex;
    justify-content: center;
    flex-direction: row;
}

.col-md-6 {
    width: auto;
}

.col-xs-4 {
    margin: 1;
    width: 50%;
}

.left-column {
    text-align: right;
    padding-right: 15px;
    direction: rtl;
}

.right-column {
    padding-left: 15px;
}

.panel-title {
    text-align: center;
    font-family: 'Open Sans Bold';
    font-size: large;
    margin-top: 6px;
    margin-bottom: 1px;
}

.navbar-fixed-top {
    background-color: #298FC2;
}

.navbar-inverse .navbar-nav>li>a, .navbar-inverse .navbar-brand {
    color: white;
}

.navbar-inverse .navbar-nav>li>a:hover {
    color: #002A3A;
}

.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
    border-color: #002A3A;
}

.last-row {
    padding-bottom: 5px;
}

.center {
    text-align: center;
}

.inactive-message {
    padding-top: 5px;
    padding-bottom: 5px;
    color: red;
    font-family: "Open Sans Bold";
    text-align: center;
}

.button-field {
    margin-left: 30%;
    margin-right: 30%;
    display: flex;
    justify-content: space-around;
    flex-direction: row;
}

.btn-primary {
    height: 40px;
    width: 150px;
    background-color: #298FC2;
    background-image: none;
    font-weight: bold;
    font-size: large;
    padding: 0px;
    margin: 0px;
    margin-bottom: 5px;
}

.bottom-button {
    width: 300px;
    margin-top: 0px;
    margin-bottom: 12px;
}

@media (max-width: 699px) {
    .push-together.front {
        flex-direction: column;
        text-align: center;
    }
}

@media (min-width: 700px) {
    .push-together.front {
        flex-direction: row;
        text-align: center;
    }
}

.submit-button {
    width: 300px;
    margin: 0px;
}

.cancel-button {
    width: 300px;
    margin-top: 10px;
    margin-bottom: 12px;
}

@media (min-width: 500px) {
    #id_abort_reason, [id*="id_timber_order"], [id*="id_deal_obj"], #id_goods_type, #id_border_passage_date, #id_border_passages, #id_trailer, #id_goods_code, #id_custom_permit, [id*="id_cargo"] {
        width: 215px;
    }
}

@media (max-width: 499px) {
    #id_abort_reason, [id*="id_timber_order"], [id*="id_deal_obj"],  #id_goods_type, #id_border_passage_date, #id_border_passages, #id_trailer, #id_goods_code, #id_custom_permit, [id*="id_cargo"] {
        width: 160px;
    }
}

.cargo-separator {
    height: 2px;
    width: 350px;
    background-color: #002A3A;
    margin: auto;
    margin-top: 2px;
    margin-bottom: 4px;
}


#id_r_number {
    max-width: 100px;
}

.less-margin {
    margin-bottom: 8px;
}

.footer-line {
    width: 350px;
    border-top: 1px solid #002A3A;
    margin-top: 5px;
    margin-left: auto;
    margin-right: auto;
}

.form-control {
    margin: 0;
    margin-bottom: 3px;
}

.glowy:hover {
    background-color: white;
    font-weight: bold;
}

td>a {
    display: block;
    color: #002A3A;
}

td>a:hover {
    text-decoration: none;
    color: #002A3A;
}

td>a:focus {
    outline: none;
    background-color: white;
    text-decoration: none;
    font-weight: bold;
    color: #002A3A;
}

label[for*=id_confirm_], label[for=id_custom_permit] {
    color: orange;
}

.port-image {
    margin: auto;
    margin-top: 5px;
    margin-bottom: -10px;
    width: 200px;
    height: 50px;
    display: block;
}

.timber-order-help {
    margin: auto;
    width: 99%;
    text-align: center;
    font-style: italic;
}

.timber-order-valid {
    font-weight: bold;
}

.timber-success {
    color: green;
}

.timber-error {
    color: red;
}

.subcase {
    border-top: 2px solid #002A3A;
    margin: auto;
    max-width: 400px;
}

.cargo-link {
    font-weight: bold;
    text-decoration: underline;
}

.cargo-link:hover {
    cursor: pointer;
}

#id_delivery_number {
    text-transform: uppercase;
}

/* .header-container {
    margin-right: 5%;
} */

/* #002A3A; */