/*
    //
    // btn
    //
*/

.btn-default {
    background-color:#F3F3F3 !important;
    color:#666666;
    border: 1px solid #F3F3F3;
    background-image: none;
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active  {
    background-color:#E9E9E9;
    color:#666666;
    border: 1px solid #E9E9E9;
    background-image: none;
}

.btn-primary {
    background-color:#0a2d80;
    color:#FFF;
    border: none;
    background-image: none;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #0a2d80;
    color:#FFF;
    border: none;
    background-image: none;
}

.btn-secondary {
    background-color:#990066;
    color:#666;
    border: none;
    background-image: none;
}

/* FIX: corrected wrong selector */
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background-color:#990066;
    color:#666;
    border: none;
    background-image: none;
}

.btn-warning,
.btn-danger {
    color:#FFF;
    border: none;
}

.btn-warning:hover,
.btn-danger:hover {
    color:#FFF;
    border: none;
}

.form-check-input:checked {
    background-color: rgb(0, 65, 65);
    border-color: rgb(0, 65, 65);
}

/*
    //
    // logo
    //
*/

.icon_logo:after{
    content: '';
    display: inline-block;
    height: 44px;
    width: 44px;
    background-image: url(../assets/icon_logo.png);
    background-size: 29px 29px;
    background-repeat: no-repeat;
    background-position: 7px 0px;
    margin-bottom: -10px;
}

.organization_structure_background {
    background-color: #1b1a28;
}

.organization_private_background {
    background-color: #7fc750;
}

/*
    apple mapkit
*/
.landmark {
    background-color: white;
    border-radius: 4px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
    padding: 10px;
}

.landmark_button {
    border-radius: 4px;
    border:1px solid #CCCCCC;
    padding: 2px 4px;
    font-size: 11px;
    text-align: center;
}

.landmark_close {
    display: block;
    text-align: right;
    font-size: 10px;
    color: #AAA;
}

/*
    address    
*/
.tag{
    color: white;
    background-color: darkgray;
    border-radius: 4px;
    font-size: 12px;
    padding: 4px 8px;
    font-weight: bold;
}

.valid{
    color: white;
    background-color: green;
}

.invalid{
    color: white;
    background-color: red;
}

/*
    modal right
*/
#myModalRight{
    z-index: 1057;
    background-color: rgba(0,0,0,0.5);
}

.modal-right{
    padding-left: 0px;
    z-index: 1056;
}

@media (min-width:992px){
    .modal-right{
        padding-left: 400px;
    }
}

@media (min-width:1200px){
    .modal-right{
        padding-left: 570px;
    }
}

.logo_cybob {
    width: 16px;
}

/* overwrite */
.de-redify,
.de-redify:hover,
.de-redify:active {
    color: color(display-p3 0.2 0.2 0.2) !important;
    font-weight: 400 !important;
}

.redify {
    color: #e20320 !important;
    font-weight: 700 !important;
}

.accordion-button:not(.collapsed) {
    color: #0a2d80;
    background-color: rgba(226, 3, 32, 0.12);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
    background-image: none;
}

.accordion-button::after {
    text-align: center;
    background-image: none;
    content: '\F286';
    font-family: bootstrap-icons;
    color: #0a2d80;
    font-weight: bolder;
    transform: rotate(180deg);
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(0deg);
}

.form-control:focus,
.form-select:focus {
    border-color: #0a2d80;
    box-shadow: 0 0 0 .25rem rgba(226, 3, 32, .25);
}

.accordion-button:focus {
    z-index: 3;
    border-color: #0a2d80;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(226, 3, 32, .25);
}

.auto-hyphen{
    hyphens: auto;
    hyphenate-limit-chars: auto 5;
    hyphenate-limit-lines: 2;
    -webkit-hyphens: auto;
    -webkit-hyphenate-limit-chars: auto 3;
    -webkit-hyphenate-limit-lines: -17;
    -ms-hyphens: auto;
    -ms-hyphenate-limit-chars: auto 3;
    -ms-hyphenate-limit-lines: 4;
}

.teaser{
    min-height: 328px;
    max-height: 328px;
    height: 328px;
}

/*
    navigation
*/

/* FIX: valid color + stronger specificity */
.side_navigation {
    /* background-color: rgb(239, 125, 0) !important; */
    background: linear-gradient(0deg, rgb(92, 159, 225), rgb(10, 45, 128));
}

/* FIX: prevent override conflict */
.side_navigation.bg-dark {
    /* background-color: rgb(239, 125, 0) !important; */
    background: linear-gradient(0deg, rgb(92, 159, 225), rgb(10, 45, 128));

}

/* keep default behavior elsewhere */
.bg-dark{
    background-color: transparent !important;
}

@media (min-width: 768px) {
    .side_navigation {
        position: fixed;
        top: 0;
        bottom: 0;
    }
}

@media (max-width: 767px) {
    .side_navigation {
        background-color: rgb(12, 102, 151) !important;
    }
}
.side_navigation_icon {
    /* color: white !important; */

}