/* 
    Created on : 5/01/2015
    Author     : Will
*/


* {
    margin: auto 0;
    padding: auto 0;
}

/**
 * "Create font"
 */

@font-face {
    font-family: "Source Sans Pro";
    src: url("../fonts/SourceSansPro-Regular.otf");
}

@font-face {
    font-family: "Hind";
    src: url("../fonts/Hind-Regular.ttf");
} 

@font-face {
    font-family: "Raleway";
    src: url("../fonts/Raleway-Regular.ttf");
} 


body {
    background:  rgba(202, 202, 202, 0.5);
}

body, select, input{
    font-size: 1.3em; 
    font-family: 'Source Sans Pro', sans-serif;
}

.wrapper-responsable-adjust {
    margin-top: 3.3%; /* Or 15% */
}

span#list-protocol-type label {
    margin-left: 5%;
}

.select-document-attach{
    width: 100%;
    box-sizing: border-box;
}

.list-group-item-custom{
    position: relative;
    display: block;
    margin-bottom: -1px;
    background-color: #fff;
    border: 1px solid #ddd;
}

/*
*   Menu de navegação
*/
.nav .open>a, .nav .open>a:focus, .nav .open>a:hover {
    background-color: #137d13;
    border-color: #006600;
}

.nav-pills > li > a{
    background-color: #006600;
    color: #fff;
}

.nav-pills > li a:hover{
    background-color: #137d13;
    color: #fff;
}

.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
    background-color: #23527C;
    color: #fff;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    color: #23527C;
    text-decoration: none;
    background-color: #23527C;  /*change color of links in drop down here*/
}


#menu{
    margin-top: 2%;
}

/*
*   Protocol table
*/

#table-protocol{
    border: 1px solid rgb(40, 143, 40);
}

#table-protocol thead tr{
    background: #F4F4F4;
    color: rgb(40, 143, 40);
}

#logged{
    margin-left: 80%;

}

.container{
    margin: 3px auto;
    width: 82.5%;
/*    background: #019C63;
    border: 2px solid #f27c22;*/
        background: #019c63;
    border: 2px ;
    border-top-left-radius: 55px;
    border-top-right-radius: 55px;
    border-bottom-left-radius: 55px;
    margin-top: 15px;
}

.footer-login{
    color: white;    
}

.a-login {
    color: #005335;
}

#login-logo{
    width: 140px;
    height: 60px;
}

/*
* Login Style
*/

.form-signin {
    max-width: 330px;
    padding: 15px 15px;
    margin-top: 37px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2%;
    border: solid 1px #ccc;
    background: rgb(255, 255, 255); 

    border-radius: 4px 4px;
    /*box-shadow: 8px 5px 18px #050202; */    

}
.form-signin .form-signin-heading,
.form-signin .checkbox {
    margin-bottom: 10px;
}
.form-signin .checkbox {
    font-weight: normal;
}
.form-signin .form-control {
    position: relative;
    height: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
}
.form-signin .form-control:focus {
    z-index: 2;
}

#forgot-my-password{
    position: relative;
    left: 50%;
}

.logo img{   
    margin: 1%;
    background: url('../images/logo/logo-institucional.jpg') no-repeat;
}


.btn-unimed-primary{
    color:#fff;
    background-color: #019C63;
    border-color: #038754;
}

.btn-unimed-primary:hover{
    color: #fff;   
    background-color: #30c78d;
}

.tiny-space{
    margin: 0.04%;
}

.modal-dialog {
    margin: 2px auto;
}

#obs-protocol{
    /*max-height: 900px;*/
    overflow: auto;

}

.article-obs{
    background: rgba(223, 252, 228, 0.7);
    border-radius: 1%;
}

.first-observation{
    background: rgba(240, 216, 118, 0.8);
    border-radius: 1%;
}

.article-obs-person, .article-obs-person-check{
    background: rgba(250, 235, 235, 0.7);
    border-radius: 1%;
}

.article-obs-person-check{
    border : solid 1px #e39e6d;
}

.article-obs-provider, .article-obs-provider-check{
    background: rgba(204, 213, 226, 0.4);
    border-radius: 1%;
}

.article-obs-provider-check{
    border : solid 1px #ccd5e2;
}

.article-obs-denyOrigin, .article-obs-denyOrigin-check{
    background: rgba(89, 83, 74,0.2);
    border-radius: 1%;
}

.article-obs-denyOrigin-check{
    border : solid 1px #23211d;
}


.body-article-obs{
    text-align: justify;
    padding: 3%;
}

.obs-title{
    text-align: justify;
    padding: 1%;
}

#textarea-obs{
    resize: none;
    /*margin-top: 1%;*/
}

.adjust-row-obs{
    margin-top: -4%;
}

/*
*   Table pagination
*/

.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
    z-index: 2;
    color: #FFF;
    cursor: default;
    background-color: #288F28;
    border-color: #fff;
}

.pagination > li > a, .pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857;
    color: #060;
    text-decoration: none;
    background-color: #FFF;
    border: 1px solid #DDD;
}



/* Recuperar senha */
#recovery-pass-wrapper{
    margin-top: 2%;
    padding: 2% 2%;

}

#header-recovery-pass{
    margin-bottom: 4%;
}

.danger{
    color: red !important;
    font-weight: bold;
}

.grid_bold{
    font-weight: bold;
    font-size: 1em;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.grid_normal_font{
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1em;
}

.provider_tag{
    color: #063e96 !important;
}

.warningEx{
    color: red !important;
    font-weight: bold;
}

.call_center_tag{
    background: #a6f998 !important;
    /*background: #6bd66b;*/
}

.responsable_tag{
    /*background: #F27C22;*/
    background: #f7b583 !important;
}

.provider_monitoring_tag{
    /*background: #4286f4;*/
    background: #97bbf4 !important;
}

.notification{
    margin: 1%;
}

.notification_image{
    display: block; 
    margin-left: auto; 
    margin-right: auto; 
}

.overlay{
    position: fixed;
    top: 0;
    left: 0;
    background:  rgba(245, 245, 245, 1);
    width: 100%;
    height: 100%;
}

/*
*   Loading
*/
#loading-bar{
    position: absolute;
    bottom: 50%;
    left: 36%;
    z-index: 1000;
    border: 1px solid #ccc;
    border-radius: 4px 4px 4px 4px;
    padding: 2%;

    -webkit-box-shadow: 0px 1px 40px -8px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 1px 40px -8px rgba(0,0,0,0.75);
    box-shadow: 0px 1px 40px -8px rgba(0,0,0,0.75);
}

@keyframes progressbar {
    0%   { 
        width: 10%;
    }
    15% {
        width: 10%;
    }
    25% {
        width: 25%;
    }
    50%  {
        width: 50%;
    }
    80%{
        width: 80%;
    }
    85%{
        width: 85%;
    }
    100% { 
        width: 100%;
    }
}

#progress-activity-bar{
    animation: progressbar 3s ease 2s  alternate;   
}


.indent-warning{
    text-indent: 40px;
}

.sub-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}


.container-protocol{
    margin: 0 auto;
    width: 64%;
}

@media(max-width:  768px){
    .container-protocol{
        margin: 2% 5%;
        width: 90%;
        font-size: 0.7em;
    }
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
    display: none;
}
@media (min-width: 165px) {

    .logo-in{
        margin: 10%;
    }

    #usr-logged{
        padding: 10%;
        margin-left: 13%;
    }

    .sidebar {
        position: fixed;
        top: 0px;
        bottom: 0;
        left: 0;
        z-index: 1000;
        display: block;
        padding: 20px;
        overflow-x: hidden;
        overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
        background-color: #f5f5f5;
        border-right: 1px solid #eee;
        width: 15%;
    }
}

/* Sidebar navigation */
.nav-sidebar {
    margin-right: -21px; /* 20px padding + 1px border */
    margin-bottom: 20px;
    margin-left: -20px;
}
.nav-sidebar > li > a {
    padding-right: 10px;
    padding-left: 20px;
    color: #006600;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
    color: #fff;
    background-color: #038754;
}


/*
 * Main content
 */

.main {
    margin-top: 30px;
    padding: 20px;
}
@media (min-width: 768px) {
    .main {
        padding-right: 40px;
        padding-left: 5px; /* 40px*/
    }
}
.main .page-header {
    margin-top: 0;
}

.dropdown-menu > li > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857;
    color: #23527C;
    white-space: nowrap;
}

.nav .open > a, .nav .open > a:focus, .nav .open > a:hover {
    background-color: #137D13;
    border-color: #288F28;
    color: #f2f2f2;
}

table.scroll {

    /* border-collapse: collapse; */
    border-spacing: 0;
}

table.scroll tbody,
table.scroll thead { display: block; }

thead tr th { 
    height: 30px;
    line-height: 30px;
    /*text-align: left;*/
}

table.scroll tbody {
    height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
}

tbody td:last-child, thead th:last-child {
    border-right: none;
}

thead th, tbody td{
    text-align: left;
    font-size: 0.8em;
}

/* Check this out
#limit-table{
    height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
}*/

#limit-table, #grid-user, #table-sector,  .tab-content{
    border: solid 1px #006600;
    box-shadow: 0px 7px 20px rgba(5, 2, 2, 0.43);
}

#save-edit-person{
    position: relative;
    left: 10px;
}

#select-situation{
    width: 116%;
}

/* #select-priority{
    width: 106%;
} */

.req{
    color : #cc2121;
}

.adjust-font{
    font-size: 0.8em;
}

#filename{
    width: 40%;
}


p.INFO-PERSON {
    font-size: 0.85em;
    float: right;
}


/*
*   fix z-index jquery ui
*/
.ui-front { z-index: 1050 !important; }
.ui-dialog { z-index: 1100 !important;}


#observation {
    max-height: 500px;
    overflow-x: auto;
    overflow-y: scroll;
}

#list-attach ul li{
    font-size: 0.8em;
}

#person-attach-list ul li{
    font-size: 0.8em;
}

#from-client-attach-list ul li{
    font-size: 0.8em;
}

.unlisted-style{
    list-style: none;
}

.person-att-list{
    margin-top: 15px;
}

.person-att-list li{
    font-size: 0.8em;
    margin-left: -47px;
    margin-top: -2px;
}

#wrapper-info-usr{
    padding: 2% 3%;
    border-left: 2px solid #ccc;
}

textarea{
    resize: none;
}

.check-protocol-header{
    padding: 1px 21px;
    background: #f27c22;
    color: #fff;
    margin: -15px;
    margin-bottom: 5px;
    text-align: center;
    border-top-left-radius: 11px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 20px;
}

.check-protocol-header-operadora{
    padding: 1px 21px;
    background: #00a367;
    color: #fff;
    margin-bottom: 12px;
    text-align: center;

    border-top-left-radius: 11px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 20px;
}

.protocol-check-info, .wrapper-check-protocol{
    padding: 25px 35px;
    border: 1px solid #019C63;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: -1px -1px 2px rgba(100,150,100, 0.25), 1px 1px 2px rgba(100,150,100, 0.25);
}

#tit-check-protocol{
    font-family: 'Hind', sans-serif;
    font-size: 2.5em;
    color: #fff;
    background: #019C63;
    padding: 16px 10px;

    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    border-top-right-radius: 16px;
}


#change-pass-header, #user-header, #settings-header, #sector-header, #report-header, #provider-header, #medico-header{
    color: #fff;
    padding: 15px 15px;
    background: #038754;
    border-top-left-radius: 11px;
    border-bottom-left-radius: 11px;
    border-top-right-radius: 16px;
}


span#total-protocol {
    margin-left: 40%;
}

.orange-color{
    color : #F27C22;
    font-weight: 600;
}

#protocol-toolbar .navbar-nav li a {
    color : #4764A9;
    font-weight: 600;
}

#send-sms-link {
    margin-left: -12px;
}

#send-wpp-link {
    margin-left: -12px;
}

#header-login{
    background-color: #005335; 
    border-radius: 50px 50px 0px 0px; 
    padding-bottom: 3px;
}

#header-line-login{
    background-color: #f5f5f5;
    padding: 6px;
}


#protocol-manager-title {
    /*background: #f27c22;*/
    color: #f4f4f4;
    text-align: center;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 8px;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    padding: 2% 0%;
}

@media(min-width: 1024px){
    #protocol-manager-title {
        padding: 5% 2%;

        width: 165%;
        margin-left: -32%;
    }    
}

/*Centralize fast search in case of enought space*/

@media (min-width: 1400px) {
    .fast_search_center{
        text-align: center;
        position: absolute;
        width:98%;
        height: 1px
    }
}

.ui-datepicker-week-end a {
    color: #BDBABA !important;
}

.ui-datepicker { font-size: 1.0em !important;  font-family: 'Source Sans Pro', sans-serif;}

.alignement{
    text-align: center;
}

#list-protocol-type label.radio-inline {
    margin-bottom: 10px;
}

.online{
    background: #019c63 !important;
    color: #fff !important;
}

.away{
    background: #F27C22 !important;
    color: #fff !important;
}

.green-color{
    color: #03802e;
    font-weight: 600;
}

.red-color{
    color: #c90000;
    font-weight: 600;
}

.grey-color{
    color: #7a7a7a;
    font-weight: 600;
}


/*
* Footer
*/
#footer{
    margin-bottom: 2%;
    text-align: center;
}

.more-options{
    font-size: 15px;
    font-weight: bold;
    color: #23527C;
}

.notific_sign{
    font-size: 20px;
    font-weight: bold;
    color: #23527C;
}

.more-options:hover{
    background-color: #ffffff !important;
    /*color: #000000;*/
}

.modal-dialog{
    width: 80%;
}

@media screen and (max-width: 600px) {
    .modal-dialog{
        width: 100%;
    }
}

@media screen and (min-width: 768px) {
    .modal-lg{
        width:80%;
    }

    .modal-md{
        width:50%;
    }

    .modal-sm{
        width:30%;
    }
}

.modal-content {
    width:100%;
}

.modal-dialog-centered {
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-align:center;
    -ms-flex-align:center;
    align-items:center;
    min-height:calc(100% - (.5rem * 2));
}

@media (min-width: 576px) {
    .modal-dialog-centered {
        min-height:calc(100% - (1.75rem * 2));
    }
}

header {
    border-bottom-style: solid;
    border-width: 1px;
    border-color: darkgray;
    background: white;
    padding-top: 15px;
    padding-left: 20px;
    padding-bottom: 15px;
    padding-right: 20px;
    background-image: linear-gradient(to bottom, white 25%, rgba(235, 235, 235, 1.0) 95%);
}

.container-form{
    margin: 0 auto;
    margin-bottom: 20px;
    width: 64%;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: inherit;
    /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
}


header .logo{
    height: 75px;
}

.fa.button {
    cursor: pointer;
    font-size: 1.3em;

}

.fa.button.activated {
    color: darkgreen;
}

.fa.button.deactivated {
    color: grey;
}

.fa.button.deactivated:hover {
    color: dimgrey;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                          supported by Chrome and Opera */
}

.modal-dialog-margin-top {
    margin-top: 5%; 
}

.colaborator-color{
    background-color: #e9dcb6 !important;
}

.colaborator-color:not(.jqx-grid-cell-hover):not(.jqx-grid-cell-selected),
.jqx-widget .colaborator-color:not(.jqx-grid-cell-hover):not(.jqx-grid-cell-selected) {
    background-color: #fff0c7 !important;
}


element.style {
    font-family: Arial, Helvetica, sans-serif;
    font-size: medium;
}

#mail-message {
    background-color: #eee;
    border-radius: 10px;
    padding: 1%;
}

#obs-body{
    height: 400px;
}

#bcc-email-list{
    background-color: #eee;
}


#header-login {
    background-color: #005335;
    border-radius: 50px 50px 0px 0px;
    padding-bottom: 3px;
}

#header-login-provider {
    background-color: #5B5C65;
    border-radius: 50px 50px 0px 0px;
    padding-bottom: 3px;
}

#header-line-login {
    background-color: #f5f5f5;
    padding: 6px;
}

#header-line-login-recovery {
    background-color: #f5f5f5;
    padding: 6px;
    margin-right: auto;
    margin-left: auto;
}

.container-provider {
    margin: 3px auto;
    width: 82.5%;
    /*    background: #019C63;
    border: 2px solid #f27c22;*/
    background: #019c63;
    /*border: 2px solid #060;*/
    border-top-left-radius: 55px;
    border-top-right-radius: 55px;
    border-bottom-left-radius: 55px;
    margin-top: 15px;
    padding-right: 15px;
    padding-left: 15px;
}

.footer-login {
    color: white;
}

.a-login {
    color: #005335;
}

#login-logo {
    width: 140px;
    height: 60px;
}

#header-background-color{
    background-color: #019c63;
    border-radius: 50px 50px 0px 0px;
    padding-bottom: 3px;
}

#container-recovery{
    background-color: #005335;
}
#table-mailer-account-send .jqx-grid-cell-alt,
#table-mailer-account-read .jqx-grid-cell-alt,
#table-subsubjet-send .jqx-grid-cell-alt,
#table-subjet-send .jqx-grid-cell-alt,
#table-manifestation-send .jqx-grid-cell-alt,
#table-treatment-type .jqx-grid-cell-alt,
#table-status-guide .jqx-grid-cell-alt,
#table-provider .jqx-grid-cell-alt, 
#table-sector .jqx-grid-cell-alt,
#grid-inactive-users .jqx-grid-cell-alt,
#grid-user .jqx-grid-cell-alt,
#table-report-list .jqx-grid-cell-alt {

    background: rgb(243, 241, 241);
  }

#table-mailer-account-send .jqx-button,
#table-mailer-account-read .jqx-button,
#table-subsubjet-send .jqx-button,
#table-subjet-send .jqx-button,
#table-manifestation-send .jqx-button,
#table-treatment-type .jqx-button,
#table-status-guide .jqx-button,
#table-provider .jqx-button, 
#table-sector .jqx-button,
#grid-inactive-users .jqx-button,
#grid-user .jqx-button,
#table-report-list .jqx-button {
    background-color: #ffffff;
    outline: none;
    border: 0px solid transparent !important;
    padding: 5px;
    text-align: center;
    vertical-align: central;
    margin: 0 0 0 0;
    cursor: pointer;
}

#table-mailer-account-send .jqx-grid-cell input[type="button"],  
#table-mailer-account-read .jqx-grid-cell input[type="button"], 
#table-subsubjet-send .jqx-grid-cell input[type="button"], 
#table-subjet-send .jqx-grid-cell input[type="button"], 
#table-manifestation-send .jqx-grid-cell input[type="button"],
#table-treatment-type .jqx-grid-cell input[type="button"],
#table-status-guide .jqx-grid-cell input[type="button"],
#table-provider .jqx-grid-cell input[type="button"],
#table-sector .jqx-grid-cell input[type="button"],
#grid-inactive-users .jqx-grid-cell input[type="button"],
#grid-user .jqx-grid-cell input[type="button"],
#table-flow-inactive .jqx-grid-cell input[type="button"],
#table-report-list .jqx-grid-cell input[type="button"] {
    width: 100%;
    opacity: 0.01 !important;
    z-index: 9999 !important;
    display: block !important;
}

.grey {
    color: rgb(194, 194, 194);
}

.red {
    color: red;
}

.green {
        color: green;
}