﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 12px;
}

footer {
    clear: both;
    background-color: #ffffff;
    font-size: .8rem;
}

.h500 {
    height: 500px;
}

.form-group label.al,
.al {
    text-align: left;
}

.ar {
    text-align: right;
}

a {
    color: #0366d6;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.nav-link, .dropdown-item {
    font-size: 1.2rem;
    padding: 1rem;
}

.nav-tabs {
    font-weight: 700;
}

#selectLanguage {
    padding-left: 15px;
}

h1, h2, h3, h4, h5, h6 {
    color: #b20607;
    margin-bottom: 1rem;
    padding-bottom: 0;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.2rem;
}

h4 {
    font-size: 1.1rem;
}

h5, h6 {
    font-size: 1rem;
}

    h5 a:link, h5 a:visited, h5 a:active {
        padding: 0;
        text-decoration: none;
    }

p {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

a, table.grid-table .grid-header > .grid-header-title > button {
    color: #333;
    outline: none;
    padding-left: 3px;
    padding-right: 3px;
}

    a:link, a:visited, a:active, a:hover,
    table.grid-table .grid-header > .grid-header-title > button:link,
    table.grid-table .grid-header > .grid-header-title > button:visited,
    table.grid-table .grid-header > .grid-header-title > button:active,
    table.grid-table .grid-header > .grid-header-title > button:hover {
        color: #333;
    }

    a:hover, table.grid-table .grid-header > .grid-header-title > button:hover {
        background-color: #c7d1d6;
        text-decoration: none;
    }

input[type="checkbox"] {
    box-shadow: none;
    background: transparent;
    border: inherit;
    width: auto;
}

    input[type="checkbox"].input-validation-error {
        border: 0 none;
    }

td input[type="submit"],
td input[type="button"],
td button {
    font-size: 1rem;
    padding: 4px;
    margin-right: 4px;
}

.error {
    color: #e80c4d;
}

.field-validation-error {
    color: #e80c4d;
    font-weight: bold;
}

.field-validation-valid {
    display: none;
}

.validation-summary-errors {
    color: #e80c4d;
    font-weight: bold;
    font-size: 1.1rem;
}

.validation-summary-valid {
    display: none;
}

div.grid-footer span {
    margin: 0;
    font-size: 12px;
}

div.grid-footer a {
    margin: 0;
    font-size: 12px;
}

.media > .media {
    margin-left: 2rem;
}

.media {
    margin-top: 0.6rem;
}

.media-heading {
    margin-bottom: 0.6rem;
}

div.media-body > span {
    margin-right: 2rem;
}

.grid-popup-widget .form-group {
    margin-left: 0;
    margin-right: 0;
}

.carousel {
    margin-top: 2rem;
    margin-bottom: 2rem;
    min-height: 200px;
}

    .carousel > .carousel-control {
        background-image: none;
    }

.card, .tab-content {
    padding: 1rem;
}

.crop {
    overflow: hidden;
}

.icon-flipped {
    transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
}

.validation-message {
    color: red;
}

.red-background {
    background-color: red !important;
}

.green-background {
    background-color: greenyellow !important;
}

table.table tr.success {
    background-color: #dff0d8;
}

.btn-primary {
    color: #333;
    font-size: 14px;
    font-weight: bold;
    margin-right: 5px;
    border: 1px solid #aaa;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    background: -o-linear-gradient(top, #ddd 0%, #eee 100%);
    background: -moz-linear-gradient(top, #ddd 0%, #eee 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0,#ddd), color-stop(1, #eee));
}

    .btn-primary:hover {
        border: 1px solid #000;
        color: #333
    }

    .btn-primary:active {
        background-color: #333;
    }

.grid-search-apply {
    margin-right: 0px;
}

.grid-button-cell .grid-button {
    height: 30px;
    width: 30px;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    margin-left: 16px;
    margin-right: 16px;
    margin-bottom: -8px;
}

    /* Hide default HTML checkbox */
    .switch input {
        display: none;
    }

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 16px;
        width: 16px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #ccc;
}

input:focus + .slider {
    box-shadow: 0 0 1px #ccc;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 24px;
}

    .slider.round:before {
        border-radius: 50%;
    }

/* Spinner */
.spinner {
    margin: 170px auto;
    border: 6px solid #f3f3f3; /* Light grey */
    border-top: 6px solid #b20607;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@-moz-keyframes spin {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(360deg);
    }
}
/* Spinner */

/*traffic lights in complaint list*/

.largeBullet {
    font-size: 2.5rem;
    font-weight: 900;
    margin-top: -15px;
    margin-right: 3px;
    float: left;
}

td.red,
span.red {
    color: #FF0000;
}

td.orange,
span.orange {
    color: #ffc238;
}

td.green,
span.green {
    color: #00FF00;
}

td.black,
span.black {
    color: #000;
}

td.transparent,
span.transparent {
    opacity: 0;
}


/** Progress Bar */
.header-progress-container {
    width: 100%;
    padding: 30px 10px 0;
    background-color: whitesmoke;
    border-radius: 10px;
}

.header-progress-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.header-progress-item {
    position: relative;
    display: inline-block;
    width: 12%;
    text-align: center;
    vertical-align: top;
    line-height: 3rem;
}

    .header-progress-item:after {
        position: absolute;
        display: block;
        z-index: 1;
        top: -2px;
        left: -50%;
        height: 2px;
        width: 100%;
        margin-left: 10px;
        content: "";
        background-color: #ccc;
    }

    .header-progress-item:before {
        position: absolute;
        z-index: 2;
        top: -6px;
        left: 50%;
        height: 10px;
        width: 10px;
        border-radius: 1.2rem;
        border: none;
        line-height: 1.2rem;
        content: " ";
    }

    .header-progress-item.green:before {
        background-color: green;
    }

    .header-progress-item.red:before {
        background-color: red;
    }

    .header-progress-item.orange:before {
        background-color: orange;
    }

    .header-progress-item.black:before {
        background-color: black;
    }

    .header-progress-item.gray:before {
        background-color: lightgray;
    }

    .header-progress-item:first-child:after {
        display: none;
    }

    .header-progress-item.red {
        color: #333;
    }

    .header-progress-item.green {
        color: #333;
    }

    .header-progress-item.orange {
        color: #333;
    }

    .header-progress-item.transparent {
        color: #DDDADD;
    }

        .header-progress-item.transparent:after {
            background: #F1F1F1;
        }

        .header-progress-item.transparent:before {
            background-color: #DADADA;
        }

    .header-progress-item.short {
        width: 12%;
    }

    .header-progress-item.long {
        width: 30%;
    }

.opacity50 {
    opacity: 0.5;
    filter: alpha(opacity=50); /* For IE8 and earlier */
}

.channel-report li {
    font-size: 14px;
}

.e-list-item {
    font-size: 1rem;
}

.e-listbox-wrapper:not(.e-list-template) .e-list-item {
    height: auto;
}

.e-spinner-pane .e-spinner-inner {
    top: 90%;
}

.e-ddl.e-input-group.e-control-wrapper .e-input {
    font-size: 1rem;
    color: #495057;
}

.e-dropdownbase .e-list-item, .e-dropdownbase .e-list-item.e-item-focus {
    font-size: 1rem;
    color: #495057;
}

.e-hide {
    display: none;
}

button.file-download {
    width: 30px;
    height: 30px;
    margin-right: 5px;
    background-repeat: no-repeat, no-repeat;
    background-position-x: 7px, 0px;
    background-position-y: 8px, 0px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 8 8"><path d="M3 0v3h-2l3 3 3-3h-2v-3h-2zm-3 7v1h8v-1h-8z"/></svg>'), linear-gradient(#ddd, #eee);
}

button.facturae {
    width: 30px;
    height: 30px;
    background-repeat: no-repeat, no-repeat;
    background-position-x: 0px, 0px;
    background-position-y: 0px, 0px;
    background-size: contain;
    background-image: url('/images/facturae.png'), linear-gradient(#ddd, #eee);
}

button.cloud,
a.cloud {
    width: 30px;
    height: 30px;
    margin-right: 5px;
    background-repeat: no-repeat, no-repeat;
    background-position-x: 7px, 0px;
    background-position-y: 8px, 0px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 8 8"><path d="M4.5 0c-1.21 0-2.27.86-2.5 2-1.1 0-2 .9-2 2s.9 2 2 2h4.5c.83 0 1.5-.67 1.5-1.5 0-.65-.42-1.29-1-1.5v-.5c0-1.38-1.12-2.5-2.5-2.5z" transform="translate(0 1)" /></svg>'), linear-gradient(#ddd, #eee);
}

button.book,
a.book {
    width: 30px;
    height: 30px;
    margin-right: 5px;
    background-repeat: no-repeat, no-repeat;
    background-position-x: 7px, 0px;
    background-position-y: 8px, 0px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 8 8"> <path d="M1 0c-.07 0-.13.01-.19.03-.39.08-.7.39-.78.78-.03.06-.03.12-.03.19v5.5c0 .83.67 1.5 1.5 1.5h5.5v-1h-5.5c-.28 0-.5-.22-.5-.5s.22-.5.5-.5h5.5v-5.5c0-.28-.22-.5-.5-.5h-.5v3l-1-1-1 1v-3h-3z" /> </svg>'), linear-gradient(#ddd, #eee);
}

button.btn.btn-primary.grid-button-input-file {
    height: 29px;
}

button.grid-button-component {
    font-size: 14px;
    font-weight: bold;
    background: -o-linear-gradient(top, #ddd 0%, #eee 100%);
    background: -moz-linear-gradient(top, #ddd 0%, #eee 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0,#ddd), color-stop(1, #eee));
}

button.spinner-icon {
    width: 30px;
    height: 30px;
    margin-right: 5px;
    background-repeat: no-repeat, no-repeat;
    background-position-x: 0px, 0px;
    background-position-y: 0px, 0px;
    background-image: linear-gradient(#ddd, #eee);
}

.small-spinner {
    margin: 2px;
    border: 2px solid #f3f3f3; /* Light grey */
    border-top: 2px solid #b20607;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    animation: spin 2s linear infinite;
}

.oi {
    text-align: center;
    font-size: 16px;
}

table.grid-table .grid-header > .grid-header-group > .grid-header-title > button {
    color: #000000;
}

    table.grid-table .grid-header > .grid-header-group > .grid-header-title > button:hover {
        color: #000000;
    }

.grid-crud-header {
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    .page {
        display: flex;
        flex-direction: row;
    }

    .col-form-label {
        text-align: right;
    }
}

@media print {
    body {
        margin: 0;
    }

    div.print-block {
        page-break-inside: avoid;
    }

    .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
        float: left;
    }

    .col-md-12 {
        width: 100%;
    }

    .col-md-11 {
        width: 91.66666667%;
    }

    .col-md-10 {
        width: 83.33333333%;
    }

    .col-md-9 {
        width: 75%;
    }

    .col-md-8 {
        width: 66.66666667%;
    }

    .col-md-7 {
        width: 58.33333333%;
    }

    .col-md-6 {
        width: 50%;
    }

    .col-md-5 {
        width: 41.66666667%;
    }

    .col-sm-4 {
        width: 33.33333333%;
    }

    .col-md-3 {
        width: 25%;
    }

    .col-md-2 {
        width: 16.66666667%;
    }

    .col-md-1 {
        width: 8.33333333%;
    }
}
