/*Write your custom css in this file.*/

.modal-dialog, .modal-content {
    max-width:780px !important;
    width:100%;
}

.support-house-box {
    display:flex;
    flex-direction:row;
    justify-content:space-between;
    width:100%;
    padding-top:20px;
    padding-bottom:15px;
}

.support-house-bedrooms {
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    width:50%;
    height:auto;
    margin:20px auto;
    padding:10px;
    /* background:#f1f2f3; */
}

.support-house-bedrooms .bedrooms {
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#464670;
    width:55px;
    height:45px;
    margin:5px;
    background-color:#f2f3f4;
    border-radius:2px;
    box-shadow: 5px 5px 13px #CCC, -5px -5px 13px #FFF;
    cursor:pointer;

    z-index:1;
}

.support-house-wapper {
    position:relative;
}

.align-form-group-support {
    display:flex;
    flex-direction:column;
}

.align-form-group-support > div {
    display:flex;
    justify-content:space-evenly;
    margin-top:15px;
}

.align-form-group-support > select {
    margin-right:5px;
}

.support-house-wapper-shadow {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    /* background: #000; */
    box-shadow: 6px 6px 6px #ccc, 5px 5px 13px #fff;
    z-index: 1;
}

.support-house-form {
    position:absolute;
    top:20px;
    left:49px;
    display:none;
    min-width:350px;
    background:#FFF;
    border:1px solid #EBEBEB;
    border-top:10px solid #FFF;
    border-left:10px solid transparent;
    background-clip: padding-box;
    padding: 0 10px 10px 10px;
    /* box-shadow: 5px 5px 13px #CCC, -5px -5px 13px #FFF; */
    /* box-shadow: 7px 5px 6px #CCC, 5px 5px 13px #FFF; */

    z-index:1000;
}

.support-house-form label {
    padding-bottom:10px;
    margin-bottom:10px;
    border-bottom:1px dotted #EBEBEB;
}

.align-form-group-support {
    position:relative;
    display:flex;
    z-index: 899;
}

.support-house-select{
    border-radius: 2px;
    border-color: #f6f8f9;
    background-color: #f6f8f9;
    box-shadow: none;
    /* transition: background 0.5s; */
}

.btn-checkin {
    width:120px;
    color:#FFF;
    background-color:#5cb85c;
    border:none;
    transition:0.3s;
}
.btn-checkin:hover {
    background-color:#449d44;
    border-color: #398439;
}

.btn-checkout {
    color:#FFF;
    padding:5px;
    margin-top:5px;
    background-color:orange;
    border:none;
    transition:0.3s;
}
.btn-checkout:hover {
    background-color:orange;
    border-color: #ba620a;
}

.btn-unavailable {
    color:#FFF;
    padding:5px 10px;
    background-color:#edef00;
    border:none;
    transition:0.3s;
}
.btn-unavailable:hover {
    background-color:#a89e11;
    border-color: #edef00;
}

.color-green {
    color:#FFF !important;
    background:green !important;
}
.color-red {
    color:#FFF !important;
    background:red !important;
}
.color-orange {
    color:#FFF !important;
    background:orange !important;
}

.color-green-icon {
    color:#488f36 !important;
}
.color-red-icon {
    color:#d9534f !important;
}
.color-orange-icon {
    color:#ba620a !important;
}
.color-orange-bold {
    /* background-color:#eb6924 !important; */
    background-color:#bd5117 !important;
}

.tright { text-align: right; }

.legend-support-box {
    display:flex;
    flex-direction:column;
    width:26%;
}

.legend-status-bedroom ul {
    list-style:none;
    /* padding-left:70px; */
}

.legend-status-bedroom ul li {
    display:flex;
    align-items:center;
    width:100%;
    line-height:35px;
}

.legend-status-bedroom ul li .square {
    width:20px;
    height:20px;
    margin-right:8px;
}

/* INFO PATIENT STYLE */

.box-content-info-patient {
    display:flex;
    flex-direction:row;
    min-height:80vh;
    padding:20px;
}

.patient-info {
    width:50%;
    border-right:1px solid #f1f2f3;
}

.patient-historic {
    position:relative;
    width:50%;
    padding-left:8px;
}

.patient-historic h4 {
    margin-bottom:15px;
}

.patient-historic-wrapper {
    max-height:65vh;
    overflow-y:auto;
}

.line-vertical {
    position: relative;
    top: -68px;
    left: 27px;
    height: 80px;
    border-left: 3px dotted #EBEBEB;

    z-index:1;
}

.field-info {
    width:95%;
    line-height:32px;
    border-bottom:1px dotted #EEE;
}

.field-info label {
    width:140px;
    font-weight:bold;
}

.card-flow {
    display:flex;
    align-items:center;
    margin-left:15px;
    margin-bottom:25px;
}

.click-status-disponivel {
    font-size:12px;
    opacity:0.8;
}

.card-flow-bullet {
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
    width:50px;
    height:50px;
    border-radius:50%;
    background:#ebebeb;

    z-index:2;
}
.card-flow-bullet i {
    font-size:22px;
}

.card-flow-info label {
    font-weight:bold;
}
.card-flow-info span.status-confirmation {
    color:#FFF;
    margin-left:20px;
    cursor:pointer;
    background:#488f36;
}

.card-flow-content {
    padding-left:15px;
}

.card-flow-anexos label {
    display:flex;
    font-weight:bold;
    cursor:pointer;
}

.card-flow-anexos label i {
    font-size:16px;
    font-weight:bold;
    margin-left:5px;
}

.card-flow-anexos ul {
    display:none;
    list-style-type:none;
    padding-left:5px;
    padding-right:5px;
    border-top:1px solid #f1f2f3;
}

.card-flow-anexos ul li {
    border-bottom:1px dotted #f1f2f3;
}

.card-flow-anexos-file {
    display:flex;
    justify-content: space-between;
    width:100%;
    padding: 8px;
}

.card-flow-anexos-file > i {
    font-size:1.2rem;
    color:#d9534f;
    cursor: pointer;
    transition: 0.2s;
}
.card-flow-anexos-file > i:hover {
    font-size:1.4rem;
}

.li-form {
    padding:10px;
    margin-bottom:5px;
    background:#f8f9fb;
}

#anexo-form > input[type="submit"] {
    color:#FFF;
    margin-top:8px;
    border:1px solid #398439;
    border-radius:3px;
    background:#449d44;
    transition:all 0.4s;
}

#anexo-form > input[type="submit"]:hover {
    border:1px solid #449d44;
    background:#398439;
}

.type-aux {
    cursor:pointer;
}
.input-date-entrega {
    padding:5px 10px;
    border:1px solid #f1f2f3;
    background:#FFF;

    transition:all 0.4s;
}

.date-entrega-salvar {
    width:100%;
    padding-bottom:5px;
    margin-bottom:10px;
    border-bottom:1px dotted #EBEBEB;
}

.date-entrega-salvar span{
    display:flex;
    flex-direction:column;
}

.date-entrega-salvar input[type="date"] {
    padding: 2px 12px;
    border: 0;
    background: #EBEBEB;
}

.input-date-entrega > div.date-entrega-salvar > button {
    padding:3px 5px;
    color:#FFF;
    border:0;
    margin-bottom:4px;
    background-color:#5cb85c;
}

.input-date-entrega > div.date-entrega-salvar > button:hover {
    background-color:#449d44;
    border-color: #398439;
}

.btn-cancelar-date-entrega {
    display:flex;
    flex-direction:column;
    width:54%;
}

.btn-cancelar-date-entrega span {
    margin-bottom:5px;
}

.btn-cancelar-date-entrega button:hover {
    /* background:#d43f3a; */
    background:#b4413d;
}

/* 
.btn-cancelar-date-entrega {
    margin-top:15px !important;
} */

.badge-custom {
    font-size: 12px !important;
    padding: 3px 8px !important;
    border-radius: 9px !important;
}

.without-history {
    text-align: center;
    margin-top: 120px;
    opacity: 0.8;
}

.line-dotted {
    width:95%; 
    margin-top:10px; 
    border-top:2px dotted #EBEBEB;
}

/* Style Terra Viva */
.set-label-provider {
    font-size: 1.2rem;
}
.tb_view_providers {
    width: 100%;
    margin: 0 0 25px 0;
    padding-bottom:10px;
    border-bottom:1px solid #f9f9f9;
}
.tb_view_providers .wrapper-view-providers {
    max-height: 250px;
    overflow-y: auto;
}
.tb_view_providers table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom:0 !important;
    border:1px solid #f1f2f3;
}

.tb_view_providers table thead tr {
    background-color: #f4f5f5;
}
.tb_view_providers table thead tr th:nth-child(3),
.tb_view_providers table tbody tr td:nth-child(3) {
    text-align: right;
}

.tb_view_providers table thead tr th:nth-child(2),
.tb_view_providers table tbody tr td:nth-child(2) {
    text-align: center;
}
.tb_view_providers table tbody tr:hover {
    background-color:#f1f2f3;
}

.total-provider-qtd {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    padding: 5px 8px;
    border-top:2px solid #ddd;
    border-left: 1px solid #f1f2f3;
    border-right: 1px solid #f1f2f3;
    border-bottom: 1px solid #f1f2f3;
    background-color: #f4f5f5;
}
.total-provider-qtd label {
    width:calc(100% /3);
}
.total-provider-qtd label:nth-child(2) {
    text-align: center;
}

.d-flex {
    display:flex;
}

#s2id_filter-cat {
    width: 275px !important;
}

.extracts-filter {
    display: flex;
    flex-direction: row;
}

.input-group input {
    margin-left:10px;
    border:none;
    background-color: #f6f8f9;
}

select[name=categoria] {
    min-width: 181px !important;
}

#btn-filtrar-extract {
    margin-left:20px;
}

input[type="number"] {
    -webkit-appearance: textfield;
       -moz-appearance: textfield;
            appearance: textfield;
  }
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
-webkit-appearance: none;
}
input[type="number"]{
    outline:none;
    border-right: 0px;
    border-top: 1px solid black;
    border-left: 1px solid black;
    border-bottom: 1px solid black;
    height: 20px;
    padding:1%;
    border-right: 0 px solid black;
}

button{
    /* height:20px; */
    padding:1%;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    background-color: white;
    border-left: 0px solid black;
    padding-left:2%;
    padding-right:2%;
    outline:none;
    cursor: pointer;

}

.btn-qtd {
    display: inline-block;
    padding:4px 10px;
    margin-left:10px;
    border:1px solid #f1f2f3;
}

.btn-qtd input {
    max-width: 45px;
    text-align: center;
    border:0;
    outline:none;
}

#btn-plus-prod {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

#btn-remove-item {
    margin-left:10px;
}

#box-items-combo {
    width: 100%;
    min-height: 40px;
    /* background-color: #BBB; */
}
#box-items-combo > .form-group > .col-md-9 > .select2-container a {
    min-width: 200px;
}

/* style print orders */
/* #contentprint {
    position: absolute;
    top:0;
    right: 0;
    left: 0;
    bottom: 0;
    opacity: 0;
    z-index: -1;
}
@media print {
    #page-content {
        visibility: hidden;
    }

    #contentprint { 
        visibility: visible !important; opacity: 1 !important;
    }
}

.relative {
    position: relative;
    z-index: 15;
} */

/* style form add client externo */

#terraviva-form {
    height: 100%;
    overflow-y: auto;
}

.wrapper-add-client {
    max-width: 760px;
    width: 100%;
    padding:20px;
    margin:30px auto;
    border:1px solid #CCC;
    background-color:#FFF;
}

.wrapper-add-client .title-wrapper #arrow-left {
    display: inline-block;
    width:20px;
    margin:0 5px;
    font-size:1.5rem;
    cursor: pointer;
    transition: all .4s;
}
.wrapper-add-client .title-wrapper #arrow-left:hover {
    animation: arrow-left .3s ease-in-out 0s infinite alternate;
}

/* Style view_category */

.btn-back-title {
    display: inline-flex;
    width: 60px;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
}

#arrow-back-cat {
    display: inline;
    width: 20px;
    cursor:pointer;
}
#arrow-back-cat i {
    font-size: 1.5rem;
}
#arrow-back-cat:hover i {
    animation: arrow-left .3s ease-in-out 0s infinite alternate;
}

.content-category {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width:100%;
}

.card-category {
    width:160px;
    min-height: 120px;
    /* padding:10px; */
    margin-top: 20px;
    margin-right: 20px;
    background-color: #f1f2f3;
    box-shadow: 3px -1px 10px rgba(0,0,0,0.15);
    border-radius:3px;

    cursor: pointer;
    transition: all .2s ease;
}
.card-category:hover {
    box-shadow: 2px 8px 18px rgba(0,0,0,0.31);
}

.card-category .img {
    width:100%;
    height: 110px;
    padding: 10px;
    text-align: center;
    background-color: #17a589;
}
.card-category .img img {
    width:60%;
    filter:invert();
    /* height: 120px; */
}

.card-category h4 {
    text-align: center;
}

/* End Style view_category */

@keyframes arrow-left {
    from {
        margin-left:5px;
    }
    to {
        margin-left:0;
    }
}

.wrapper-add-client .title-wrapper .title {
    text-align: center;
}
.wrapper-add-client h3 {
    color:#616e78;
}

/* end style form add client externo */

#text-desc-item p {
    display: inline;
    margin-right: 5px;
    text-overflow: ellipsis;
    overflow: hidden;
}

#item-search-box:focus {
    font-size: 16px;
}

@media( max-width:800px ) {
    .support-house-box {
        flex-direction:column-reverse;
        width:100%;
        padding:20px;
    }

    .legend-support-box {
        width:100%;
    }

    .support-house-bedrooms {
        width:100%;
    }

    .legend-status-bedroom ul {
        width:100%;
        display:flex;
        flex-direction:row;
    }
    .legend-status-bedroom ul li {
        width:33.3%;
        flex-direction:row;
    }
}

@media( max-width:780px ) {
    .box-content-info-patient {
        flex-direction:column;
    }
    
    .patient-info {
        width:100%;
        /* padding-bottom:25px; */
        margin-bottom:35px;
    }
    
    .patient-historic {
        width:100%;
    }

    .line-dotted-when-responsive {
        width:95%; 
        margin-top:30px; 
        border-top:2px dotted #EBEBEB;
    }

    .responsive-inputs-grid-view {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .btn-back-title {
        display: inline-flex;
        width: 100%;
        flex-direction: row-reverse;
        justify-content: flex-end;
        align-items: center;
    }

    .d-flex {
        -webkit-width: 100%;
        width: 100%;
    }

    .filter-cat {
        -webkit-width: 100%;
        width: 100%;
    }

    #s2id_filter-cat {
        -webkit-width: 97% !important;
        width: 97% !important;
    }


    #item-search-box {
        -webkit-width: 98%;
        -webkit-margin-bottom: 5px;
        width: 98%;
        margin-bottom: 5px;
    }
}

.horarios {
    width: 98%;
    text-align:center;
    margin:10px;
    padding:10px;
    color: #f2f6f7;
    background-color: #148f77;
    /* background-color: #80b9d1; */
}

.btn-form-oferta-fornecedor {
    cursor: pointer;
    min-width: 28px;
    background: #f4f5f5;
    color: #a1a3a5;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    vertical-align: central;
    text-align: center;
    margin: 0 5px;
    padding: 4px 0px;
    border: 1px solid #e2e7f1;
    transition:all .4s ease;
}
.btn-form-oferta-fornecedor:hover {
    background: #fff;
}
.btn-form-oferta-fornecedor:hover i.icon-color-green {
    color: #4c9664;
}
.btn-form-oferta-fornecedor:hover i.icon-color-red {
    color: #b53838;
}

@media( max-width: 500px ) {
    .d-flex {
        align-items: end;
        flex-direction: column-reverse;
    }
    #item-search-box {
        margin-right: 8px;
    }
}