.fade:not(.show) {
    opacity: 1;
}

.selectize-control {
    width: 100%;
}

.lookup-btn {
    display: none;
}

.dropdown-toggle::after {
    content: none;
}

.slick-prev, .slick-next {
    z-index: 1;
}

#modal-img {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}
/*
#modal-img:hover {
    opacity: 0.7;
}*/

/* The Modal (background) */
.modal-img {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2000; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
#modal-img .modal-body {
    max-width: 80vw;
    max-height: 75vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#modal-img .modal-body {
    width: 80vw;
    height: 75vh;
    display: block;
    margin: auto;
    text-align: center;
}

/* Caption of Modal Image */
#modal-img #caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
#modal-img .modal-content, #modal-img #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* The Close Button */
#modal-img .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

    #modal-img .close:hover,
    #modal-img .close:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    #modal-img .modal-content {
        width: 100%;
    }
}

.clickable:hover {
    cursor: pointer;
}

/* tamanho maximo da modal em ecrăs grandes */
@media (min-width: 576px) {
    .modal-dialog {
        max-width: 90vw;
    }
}
/*
.bootstrap-select.btn-group.ddllookup .dropdown-menu.inner {
    -webkit-box-shadow: none;
    background-color: #FFF;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    float: none;
    margin: 0;
    max-height: 216px;
    overflow-y: auto;
    padding: 0;
    position: static;
}

.open > .dropdown-menu {
    display: block;
}*/

.collapsible-panel {
    white-space: pre-line;
    height: 4.5em;
    overflow-y: hidden;
}

.job-item-header {
    height: 70px;
}


.loading {
    position: relative !important;
    /*height:100% !important;*/
    overflow: hidden !important;
    z-index: 1020;
}

.modal .loading {
    /* position: relative !important; */
    /* height: 100% !important; */
    overflow: visible !important;
    z-index: 1020;
}

.panel.loading.panel-expand .panel-body {
    position: absolute;
}

.panel.loading {
    position: relative !important;
}

    .panel.loading .loader {
        position: absolute !important;
    }

.loading .loader {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #fff;
    opacity: 0.9;
    filter: alpha(opacity=90);
    animation: fadeIn .2s;
    -webkit-animation: fadeIn .2s;
    z-index: 1020;
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
    border-radius: 0 0 4px 4px;
    min-height: 100%;
    display: block;
}


.spinner,
.spinner-small {
    height: 40px;
    width: 40px;
    margin: 0px auto;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -20px -20px 0 0;
    border: 2px solid #00acac;
    border-top: 2px solid #e2e7eb;
    border-radius: 100%;
}

.fade.in .spinner,
.fade.in .spinner-small {
    -webkit-animation: rotation .6s infinite linear;
    -moz-animation: rotation .6s infinite linear;
    -o-animation: rotation .6s infinite linear;
    animation: rotation .6s infinite linear;
}

.top-right {
    top: 3px;
    right: 3px;
}

.img-fluid-2 {
    height: 75px;
    width: auto;
}

.btn-success-faded {
    color: #fff;
    background-color: rgb(40, 167, 69, 0.75);
    border-color: unset;
}

.ssn-scrollable {
    overflow-y: auto;
}

#skill-list-select.ssn-scrollable {
    max-height: 60vh;
}

#photo-gallery.ssn-scrollable.managing {
    max-height: 37.5vh;
}

#photo-gallery.ssn-scrollable.viewing {
    max-height: 50vh;
}

.job-item-body.ssn-scrollable {
    max-height: 37.5vh;
}

.job-item-body {
    margin-left: 0;
    margin-right: 0;
}

.navbar {
    height: 55px;
}

#content {
    margin-top: 55px;
}

/*
#content .Collective {
    margin-top: 0;
}*/

input.styled_checkbox {
    visibility: hidden;
    width: 0;
}

.styled_list:first-of-type {
    display: block;
}

.styled_list {
    background: white;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    display: none;
    float: none !important;
    font-weight: bold;
    overflow: auto;
    padding: 5px 5px 5px 5px;
    width: 100%;
}

.styled_checkbox {
    background: white;
    border-radius: 1px;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    margin: 0 0 0 0;
    min-height: 1.2em;
    padding: 2px;
    padding: 0 2px 1px;
    position: relative;
    vertical-align: middle;
    white-space: pre;
    width: 100%;
}

    .styled_checkbox:hover {
        opacity: 0.7;
    }

    .styled_checkbox:checked + label {
        background: #1e90ff;
        color: white;
        width: 100%;
    }


.overview .control-label {
    margin-bottom: 0;
}


.slick-list > .slick-track {
    margin-left: 1em;
}

.gallery-box {
    position: relative;
    overflow: hidden;
}

.ssn-thumbnail {
    width: 72px;
    height: 72px;
    position: relative;
    overflow: hidden;
}

    .ssn-thumbnail img {
        position: absolute;
        left: 50%;
        top: 50%;
        height: 100%;
        width: auto;
        -webkit-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
        transform: translate(-50%,-50%);
    }


.ssn-crop {
    width: 200px;
    height: 200px;
    position: relative;
    overflow: hidden;
}

    .ssn-crop img {
        position: absolute;
        left: 50%;
        top: 50%;
        height: 100%;
        width: auto;
        -webkit-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
        transform: translate(-50%,-50%);
    }


.fp-img {
    position: relative;
    text-align: left;
    color: white;
}

    .fp-img .centered {
        position: absolute;
        top: 20%;
    }

        .fp-img .centered h1 {
            font-size: 4rem;
        }

        .fp-img .centered h2 {
            font-size: 2.5rem;
        }

.ssn-helper {
    margin-bottom: 1rem;
    position: relative;
}


.search-dropdown {
    width: 230px;
}


/*hybrid*/
.query-builder .dropdown-toggle {
    display: none;
}

/*The singular profile does not have a banner*/
.Singular #banner1,
.Collective.managing #banner1 {
    display: none;
}

#banner1 {

}

.Collective #banner1b {
    object-fit: cover;
    height: 200px;
    width: 100%;
    position: absolute;
    left: 0;
    top: 55px;
}

.Collective #topWhiteRow {
    margin-top: calc(255px + 1.5rem);
}

.Collective.managing #topWhiteRow {
    margin-top: calc(55px + 1.5rem);
}

/*The singular profile does not have the white row below the banner*/
.Singular #topWhiteRow {
    display: none;
}

/*In the collective profile the address only appears at the top white row below the banner*/
.Collective #address1 {
    display: none;
}

/*Crops the profile photo to the specified width and height*/
.profile-photo-width-and-height {
    object-fit: cover;
    width: 220px;
    height: 220px;
}

#content .Singular {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.Singular .d-collective,
.modal .d-collective {
    display: none !important;
}

.Collective .d-collective {
    display: unset;
}

.Collective .d-singular,
.modal .d-singular {
    display: none !important;
}

.Singular .d-singular {
    display: unset;
}

#content .breadCrumbs:has(~ .chat-container) {
    display: none;
}

#content:has(.chat-container) {
    height: calc(100vh - 55px);
    padding: 0;
    overflow: hidden;
    position: absolute;
    max-width: unset;
}

#content .chat-container {
    width: 100% !important;
    max-width: 100vw;
    height: 100% !important;
    border: none;
}

/*Copyright www.fontfabric.com*/
@font-face {
    font-family: 'Baron Neue';
    src: url('../vendor/icons/fonts/Baron Neue.otf') format("opentype");
}

    @font-face {
        font-family: 'Baron Neue Black Italic';
        src: url('../vendor/icons/fonts/Baron Neue Black Italic.otf') format("opentype");
    }

    @font-face {
        font-family: 'Baron Neue Black';
        src: url('../vendor/icons/fonts/Baron Neue Black.otf') format("opentype");
    }

    @font-face {
        font-family: 'Baron Neue Bold Italic';
        src: url('../vendor/icons/fonts/Baron Neue Bold Italic.otf') format("opentype");
    }

    @font-face {
        font-family: 'Baron Neue Bold';
        src: url('../vendor/icons/fonts/Baron Neue Bold.otf') format("opentype");
    }

    @font-face {
        font-family: 'Baron Neue Italic';
        src: url('../vendor/icons/fonts/Baron Neue Italic.otf') format("opentype");
    }