#theEnvironment {
    background: #ffefdb none repeat scroll 0 0;
    border: 1px solid orange;
    border-top-width: 0;
    border-radius: 0 0 4px 4px;
    color: red;
    font-size: 16px;
    font-weight: bold;
    padding: 3px 0 2px;
    text-transform: uppercase;
}

#mainheader .navbar-brand {
    background-size: cover;
    cursor: pointer;
    float: left;
    height: 64px;
    margin-top: 12px;
    width: 230px;
    z-index: 1000;
    background-image: url("../images/svg/logo--en.64be567623c46049ffd1.svg");
}

#mainheader .navbar-nav li.nav-item:first-child {
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: bold;
    color: #0065a2;
}

#mainheader ul {
    padding-top: 32px;
}

#pageheader {
    background-image:url("../images/title/HeaderBackground.gif");
    min-height:145px;
    border-radius:0;
    border-width:0;
}

.pagetitle {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1rem;
    color: #0065a2;
}

#pagefooter {
    background-color: rgba(0,0,0,.03);
    border-top: 1px solid rgba(0,0,0,.125);
    border-bottom: 1px solid rgba(0,0,0,.125);
    padding: 5px 0;
    margin-top: 15px;
}

#pageheader div:first-child {
    padding-top: 10px;
    background-repeat:no-repeat;
}

#pageheadergeneral {
    background-image:url("../images/title/title_en.gif");
}

#pageheader .environment, .environment {
    background: #ffefdb none repeat scroll 0 0;
    border: 1px solid orange;
    border-top-width: 0;
    border-radius: 0 0 4px 4px;
    color: red;
    font-size: 16px;
    font-weight: bold;
    margin: 0 auto;
    padding: 3px 0 2px;
    text-align: center;
    text-transform: uppercase;
    position:fixed;
    top:0;
    /*z-index:999999;*/
}

#mainmenu {
    background-color: #0065a2;
    color: white;
    margin-left: -15px;
    margin-right: -15px;
}
#mainmenu li.nav-item {
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(102, 175, 233, 0.6);
    margin-right: 10px;
}

#header4page {
    background-color: #6c757d;
    background-image: linear-gradient(
        #6c757d, white
    );
    font-weight: bold;
    margin-left: -15px;
    margin-right: -15px;
}
#header4page span.navbar-brand {
    color: white;
    /*color: rgb(33,37,41);*/
    text-transform: uppercase;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,.75);
}

.bg-ALURES {
    background-color: #ffb007!important;
}

.bg-formarea {
    background-color: #f0f0f0!important;   
}

.parent_permits .card {
    border-width: 4px;
}

.parent_permits .card .card-title {
    color: #212529;
}

.accordion>.card, .accordion>.card:first-of-type, .accordion>.card:not(:first-of-type):not(:last-of-type) {
    border-bottom: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
}

.accordion .card-header {
    /*background-image: linear-gradient(rgba(0,0,0,.125), white);
    background-color: #0065a2;*/
    background-image: linear-gradient(rgba(0,101,162,.25), white);
    /*color:white;*/
    color: #0065a2;
    border: 1 px solid #0065a2;
    border-bottom-width: 0;
}

.accordion .card-title {
    padding-bottom: 5px;
    border-bottom: 2px solid rgba(0,101,162,.125);
    color:#0065a2;
    font-weight: bold;
}

.accordion .separator {
    display: none;
    height:2px;
    background-color: rgba(0,0,0,.125); 
}

.accordion [data-toggle="collapse"] .fas:before {  
    content: "\f146";
}

.accordion [data-toggle="collapse"].collapsed .fas:before {
    content: "\f0fe";
}

.accordion .btn-primary {
    background-color: #0065a2;
    color:white;
}

.iconclickable {
    cursor: pointer;
}

.confidential, .confidential .form-control, .confidential .c-select, .confidential .select2-container--bootstrap4 .select2-selection, .confidential .select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    color: #5bc0de;
}
.confidential .form-control, .confidential .c-select, .confidential .select2-container--bootstrap4 .select2-selection {
    border-color: #5bc0de;
}

.select2-container .select2-search--inline {
    margin-top: -.40rem;
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice {
    margin: -.25rem 0 .5rem .1875rem;
}

.choose2go .card:hover {
    cursor: pointer;
    box-shadow: 2px 1px 5px 1px rgba(100, 100, 100, 0.4);
    border-color:  #337ab7;
}

#div4tree {
    background-color:white;
    border: 1px solid #ccc;
    border-radius: 4px;
    /*height:387px;*/
    height: 207px;
    overflow-y:scroll;
}
.tree, .tree ul {
    margin:0;
    padding:0;
    list-style:none
}
.tree ul {
    margin-left:.4em;
    position:relative
}
.tree ul ul {
    margin-left:.5em
}
.tree ul:before {
    content:"";
    display:block;
    width:0;
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    border-left:1px solid
}
.tree li {
    margin:0;
    padding:0 1.3em;
    line-height:2em;
    position:relative
}
.tree li.branch ul li.branch svg {
    margin-left: -.3rem;
    margin-right: .5rem;
}
.tree li.branch li {
    cursor: text;
    font-weight: normal;
}
.tree li.branch, .tree li.branch ul li.branch, .tree li.branch ul li.branch ul li.branch {
    cursor: pointer;
    font-weight: bold;
}
.tree ul li:before {
    content:"";
    display:block;
    width:10px;
    height:0;
    border-top:1px solid;
    margin-top:-1px;
    position:absolute;
    top:1em;
    left:0
}
.tree ul li:last-child:before {
    background:#fff;
    height:auto;
    top:1em;
    bottom:0
}
.indicator {
    margin-right:5px;
}
.tree li a {
    text-decoration: none;
    color:#369;
}
.tree li .form-check-input {
    position: absolute;
    margin-top: .7rem;
    margin-left: -.5rem;
    margin-right: .3rem
}
.tree li button, .tree li button:active, .tree li button:focus {
    text-decoration: none;
    color:#369;
    border:none;
    background:transparent;
    margin:0px 0px 0px 0px;
    padding:0px 0px 0px 0px;
    outline: 0;
}

.required:after{
    content:"*";
    font-weight:bold;
    color: red;
}

input[data-readonly] {
    pointer-events: none;
    background-color: #e9ecef;
    opacity: 1;
}

a {
    color:#0065a2;
}

div.dataTables_wrapper div.dataTables_info {
    padding-top: 0.50em;
}

.dataTables_length {
    width: 50%;
    float: left;
}

.dataTables_info {
    width: 50%;
    float: right;
    text-align: right;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    justify-content: flex-start;
}

div.dataTables_wrapper div.dataTables_paginate {
    width: 50%;
    float: left;
}

.dataTables_wrapper .dt-buttons {
    width: 50%;
    text-align: right;
    float: right;
}

.dataTables_wrapper .dt-buttons .btn {
    float: right;
    position: absolute;
    right: 0;
}

#therowsnumber {
    font-weight: bold;
}

/* Medium screens */
@media all and (min-width: 800px) {
  /* We tell both sidebars to share a row */
  .column { flex: 1 auto; }
}

/* Large screens */
@media all and (min-width: 900px) {
  /* We invert order of first sidebar and main
   * And tell the main element to take twice as much width as the other two sidebars 
   */
  .column1 { flex: 2 0px; }
  .column1 { order: 1; }
  .column2 { order: 2; }
}

.btn {
    white-space: normal;
}

.btn-primary.disabled, .btn-primary:disabled {
    border-color: white;
}

.btn-primary, .btn-secondary {
    border-color: white;
}

.btn-group-vertical .btn{
    white-space:normal;
}

.card-header {
    color: #6c757d;
    cursor: pointer;
}

.page-item.active .page-link {
    /*border-color: #28a745;*/
}

#sitestable .edit_site, #sitestable .delete_site {
    /*color: #28a745;*/
}

.tab-content {
    background-color: white;
    border-style: solid;
    border-width: 1px;
    border-color: #dee2e6;
    border-radius: 0 0 .25rem .25rem;
}

.nav-tabs {
    border-bottom-width: 0;
    border-bottom-style: solid;
    border-bottom-color: #6c757d;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active, .nav-tabs .nav-link.active:hover {
    /*color: #28a745;*/
    border-color: #6c757d;
    background-color: white;
    border-bottom-color: white;
    border-bottom-width: 2px; 
}

.nav-tabs .nav-item {
    margin-bottom: -2px;
}

.nav-tabs .nav-item:hover, .nav-tabs .nav-link:hover {
    border-bottom-color: white;
}