﻿/*fonts*/
@import url('https://fonts.googleapis.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i');

body, h1, h2, h3, h4, h5, h6, span, strong, b {
    font-family: 'Lato', sans-serif !important;
}

body {
    /* background: url("../images/bgcostat.png") !important; */
}

.container {
    /* background: url("../images/bgespiral.png") repeat center; */
    /* box-shadow: 0px 0px 12px 1px #8a8a8a; */
}

.bg-egara {
    background-color: #385d9c;
}

.c-egara {
    color: #385d9c;
}

.btn-egara {
    color: #fff;
    background-color: #385d9c;
    border-color: #385d9c;
}

.btn-egara:hover {
    color: #fff;
    opacity: 0.8;
}

.btn-egara.disabled:hover, .btn-egara:disabled {
    opacity: .65 !important;
}

.cursor-pointer {
    cursor: pointer;
}

.titol_curs {
    font-size: 30px;
    font-weight: bold;
    color: #385d9c;
    border-bottom: 2px solid #385d9c;
    width: 100%;
    text-transform: uppercase;
}

.label-required:after {
    content: "* ";
    color: red;
    font-size: 85%;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    opacity: .5;
}

/* Bootstrap override */
.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #385d9c;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(24, 92, 162, 0.25);
}

.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
    background-color: #d8bdd0;
}

.alert-dismissible .close {
    padding: 0.60rem !important;
}

.modal-header {
    background: #ddd;
}

.modal-header > h5 {
    margin-top: 0
}

/* Datatables override */
.page-link {
    color: #385d9c;
}

    .page-link:hover {
        color: #000000;
    }

.page-item.active .page-link {
    background-color: #385d9c;
    border-color: #385d9c;
}

.page-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(24, 92, 162, 0.25);
}

.page-item.next {
    padding-right: 3px;
}

/* Select2 override */
.select2-container--default .select2-selection--single {
    border-radius: .2rem;
    border: 1px solid #ced4da;
    cursor: default;
    height: calc(1.5em + .5rem + 2px);
    font-size: .875rem;
    line-height: 1.5;
}

.select2-container--default .select2-selection--single:focus {
    color: #495057;
    border-color: #385d9c;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(24, 92, 162, 0.25);
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border-radius: .2rem;
    border: 1px solid #ced4da;
    padding: .25rem .5rem;
    font-size: .875rem;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border: 1px solid #385d9c;
    color: #495057;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(24, 92, 162, 0.25);
    border-radius: .2rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #495057;
}

.select2-results__option--selectable {
    font-size: .875rem;
    color: #495057;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #d8bdd0;
    color: #000;
}

.select2-results__option {
    font-size: .875rem;
    color: #495057;
}

.select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: #e9ecef;
}

.select2-container--default.select2-container--disabled .select2-selection--single:focus {
    border-color: #ced4da;
    box-shadow: none;
}

.is-invalid-select2 {
    border-color: #dc3545 !important;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.9rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.is-invalid-select2:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220,53,69,.25) !important;
}