/*!
 * Copyright 2018 OKN
 */

@import url("css/default/typography.css");
@import url("css/default/helpers.css");
@import url("css/original/form.css");

#navbarNav li.nav-item{
    margin-right: 5px;
}

#navbarNav li.nav-item:last-of-type{
    margin-right: 0px;
}

#navbarNav li.nav-item:after {
    content: '';
    display: block;
    margin: auto;
    margin-top:0px;
    height: 2px;
    width: 0px;
    background: transparent;
    transition: width .5s ease, background-color .5s ease;
}

#navbarNav li.nav-item:hover:after, #navbarNav li.nav-item.active:after {
    width: 100%;
    background: #95989c;
}

/* Summary */
.accessibility-grayscale {
    height: 100vh;
    width: 100vw;
    filter: grayscale(100%);
}
body.accessibility-grayscale .navbar-brand{
    filter: contrast(100%) brightness(135%);
}

.container {
    max-width: 1600px;
}

.cursor-default {
    cursor: default !important;
}

.table thead:not(.thead-dark) th {
    font-size: 1rem;
    color: #fff;
    background-color: #1a5073;
    font-weight: normal;
}
.table td {
    vertical-align: middle!important;
}
.table td .btn {
    margin: 2px;
    white-space: normal;
}

.table .btn-link {
    color: #000;
    text-decoration: underline dotted;
}

.table .btn-link[data-toggle="modal"] {
	cursor: pointer;
}


.table tbody .loading,
.modal .loading{
    height: 70px;
}

.table #table-items tr.inviting td {
    background-color : #fae3b6;
}

.table #table-items tr.invite-allocated td,
.table #table-items tr.invite-accepted td {
    background-color : #fcefd6;
}
.table tr:hover td {
    background-color: #fae3b6;
}

/* adjust to stars' colors*/

i[data-points][class*="-star"] {
    color: #ccd0d6;
}

i[data-points][class*="-star"]:hover,
[class*="-star"].filled {
    color: rgb(243, 156, 18);
}

/* chat layout style */

#chat-column.is-loading .chat-loader {
    position: relative;
    height: 100%;
    overflow: hidden;
}
    #chat-column.is-loading .chat-loader .loading {
        height: 100%;
    }

.chat {
    position: relative;
    height: 310.55px;
    overflow: hidden;
}

    .chat .content {
        overflow: hidden;
        overflow-y: scroll;
        max-height: calc(100% - 100px);
        height: calc(100% - 100px);
        padding: 20px 30px;
        display: flex;
        position: relative;
        flex-direction: column;
    }

    .chat .start-conversation {
        position: relative;
        width: 100%;
        margin-top: 20px;
        margin-bottom: 20px;
        text-align: center;
    }
    .chat .start-conversation:first-child {
        margin-top:0;
    }

    .chat .start-conversation > span {
        font-size: 14px;
        display: inline-block;
        color: #999;
    }
    .chat .start-conversation > span:after,
    .chat .start-conversation > span:before {
        position: absolute;
        top: 10px;
        display: inline-block;
        width: 30%;
        height: 1px;
        content: '';
        background-color: #e6e6e6;
    }
    .chat .start-conversation > span:before { left: 0; }
    .chat .start-conversation > span:after { right: 0; }

    .chat .bubble {
        font-size: 16px;
        position: relative;
        display: inline-block;
        clear: both;
        margin-bottom: 8px;
        padding: 13px 14px;
        vertical-align: top;
        border-radius: 5px;
    }

        .chat .bubble:before {
            position: absolute;
            left: -3px;
            top: 14px;
            display: block;
            font-family: 'Font Awesome 5 Free';
            content: '\f0de';
            -webkit-transform: rotate(-90deg);
            transform: rotate(-90deg);
            font-weight: 900;
        }

        .chat .bubble.me:before {
            left: initial;
            right: -3px;
            -webkit-transform: rotate(90deg);
            transform: rotate(90deg);
        }

    .chat .bubble.you {
        float: left;
        color: #fff;
        background-color: #00b0ff;
        align-self: flex-start;
    }
        .chat .bubble.you:before { color: #00b0ff; }

    .chat .bubble.me {
        right: -3px;
        background-color: #eceff1;
        float: right;
        color: #1a1a1a;
        background-color: #eceff1;
        align-self: flex-end;
    }
        .chat .bubble.me:before { color: #eceff1; }

    .chat .write {
        position: absolute;
        bottom: 10px;
        width: calc(100% - 58px);
        left: 25px;
        height: 42px;
        padding-left: 8px;
        border: 1px solid #ccc;
        background-color: #eceff1;
        border-radius: 5px;
    }

    .chat .write input[name="message"] {
        font-size: 16px;
        float: left;
        width: calc(100% - 50px);
        height: 40px;
        padding: 0 10px;
        color: #1a1a1a;
        outline: none;
        border: 0;
        background-color: #eceff1;
        font-weight: 400;
    }

    .chat .send {
        cursor: pointer;
        float: right;
        width: 50px;
        height: 50px;
        margin-top: -7px;
        border-radius: 100%;
        -webkit-border-radius: 100%;
        padding: 10px;
        background-color: #fff;
        border: 1px solid #ccc;
        margin-right: -14px;
    }
        .chat .send i {
            color: #00b0ff;
        }

    .chat .send:hover {
        background-color: #00b0ff;
    }
    .chat .send:hover i { color: #fff; }


/* Rating stars */

#rating-modal.is-loading .modal-body,
#rating-modal.is-loading .modal-footer,
#rating-modal.blocked .modal-footer,
#rating-modal.blocked p {
    display: none;
}
#rating-modal.blocked textarea{
    border: 0;
    background-color: transparent;
    margin-top: 10px;
}

#rating-modal .rating-stars {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 300px;
    width: 80%;
    margin: 0 auto;
}


#rating-modal .group-star {
    position: relative;
    height: 42px;
    width: 45px;
}

#rating-modal .group-star span {
    position: absolute;
    top: 0;
    left: 0;
}
/*#rating-modal .rating-stars .group-star .full-star,
#rating-modal .rating-stars .group-star:hover .empty-star  { display: none; z-index: 0; }

#rating-modal .rating-stars .group-star:hover .full-star  { display: block; z-index: 10; }

#rating-modal .rating-stars .group-star.filled .full-star,
#rating-modal .rating-stars .group-star:hover .full-star { display: block; z-index: 10; }

#rating-modal .rating-stars .group-star.filled .full-star i,
#rating-modal .rating-stars .group-star:hover .full-star i { color: rgb(243, 156, 18); }*/

#rating-modal .rating-stars .group-star *{
    transition: all 0.3s;
}

#rating-modal .rating-stars .group-star .full-star{
    opacity: 0;
    z-index: 0;
    color: rgb(243, 156, 18);
}

#rating-modal .rating-stars .group-star.active .full-star{
    opacity: 1;
    z-index: 10;
}
#rating-modal .rating-stars .group-star.active .empty-star{
    color: rgb(243, 156, 18);
}

#rating-modal .group-star span [class*=-star] {
    cursor: pointer;
    font-size: 40px;
    text-align: center;
}

#rating-modal .group-star span [class*=-star] {
    font-size: 40px;
    text-align: center;
}

/* Reset BS primary color */
.btn-primary {
    background-color: #2980b9;
    border-color: #2980b9;
}

.btn-outline-primary, .btn-outline-primary:hover {
    border-color: #2980b9;
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.show > .btn-outline-primary.dropdown-toggle {
    color: #fff;
    background-color: #2980b9;
    border-color: #2980b9;
}

.btn-outline-primary, .btn-link {
    color: #2980b9;
}

  [class*=-primary]:focus, [class*=-primary]:hover{
    background-color: #236d9d;
    border-color: #236d9d;
    color: #fff;
  }

/* -- navs */
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: #fff;
    background-color: #236d9d;
}
/* -- badges */
.badge-primary {
    background-color: #236d9d;
}
.small-button-badge{
    font-size: 0.65em;
    margin-top: -1px;
}

/* -- links */
a, a:hover, a:not([href]):not([tabindex]) {
    color: #236d9d;
}
a:not([href]):not([tabindex]).nav-link{
    color: #236d9d;
    cursor: pointer;
}
a:not([href]):not([tabindex]).nav-link.active{
    color: #fff;
    cursor: pointer;
}
a:not([href]):not([tabindex]).nav-link.active:hover{
    color: #fff;
    cursor: pointer;
}

/* -- paginations */
.page-link {
    color: #236d9d;
}

.page-item.active .page-link,
.page-link:hover {
    background-color: #236d9d;
    border-color: #236d9d;
    color: #fff;
}

/* -- inputs */
.custom-radio .custom-control-input:checked~.custom-control-label::before,
.custom-control-input:checked~.custom-control-label::before,
.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
    background-color: #236d9d;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #236d9d;
}

/* Login screens layout */

/*@import url("original/header.css");
@import url("original/menu.css");
@import url("original/buttons.css");
@import url("css/original/content.css");
@import url("original/footer.css");*/

.button-plantao{
    float: right;
}

.modal-body .contato_wrapper{
    padding-top: 10px;
}

.rated_text{
    font-size: 20px;
    width: fit-content;
    margin: 12px auto;
}
.rated_stars{
    font-size: 40px;
    width: fit-content;
    margin: 0 auto;
}

.notifications a:hover {
    text-decoration: none !important;
}

@media (max-width: 1024px) { 
   body.login .container > .row.justify-content-center > .col-4.card {
       flex: 0 0 45%;
       max-width: 45%;
   }
}

@media (max-width: 768px) { 
    body.login .container > .row.justify-content-center > .col-4.card {
        flex: 0 0 55%;
        max-width: 55%;
    }
}

@media (max-width: 576px) { 
    body.login .container > .row.justify-content-center > .col-4.card {
        flex: 0 0 85%;
        max-width: 85%;
    }
}

.btn-excluir {
    margin-left: 15px;
}

.container-dates--demands {
    display: inline-flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin: 5px 0 15px;
}

.container-dates--demands > div {
    flex: 0 0 50%;
    max-width: 50%;
}


#invitation-cart > div.card-body {
    overflow-y: scroll;
    max-height: 60vh;
}

.btn-amicus{
    color: #212529;
    background-color: #bddab0;
    border-color: #bddab0;
}

.card-tab {
    display: block;
}

.link {
    cursor: pointer;
    color: #236d9d !important;
}

.card_dashboard {
    float: left;
    width: 15%;
    height: 150px;
    border: 1px solid #c2c2c2;
    border-radius: 15px;
    margin-left: 15px;
    margin-bottom: 15px;
}
.card_dashboard h5, .card_dashboard h1, .chart_pie h5{
    text-align: center;
    padding: 15px;
}
.chart_pie {
    width: 25%; 
    margin: auto;
    border: 1px solid #c2c2c2;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 15px;
}
.chart_bar {
    width: 98%; 
    margin: auto;
    border: 1px solid #c2c2c2;
    border-radius: 15px;
    padding: 15px;
    margin: 15px;
}
.mt-2-2{
    margin-top: 2.2em;
}