﻿/*.navbar.horizontal-menu.navbar-fixed-top + .page-container {
    margin-top: 65px;
}*/
.page-container .main-content .page-title {
    margin-bottom: 10px;
}
 
/****************** LOGIN ******************/
.login-page
{
	padding-top:60px !important;
}
.login-container
{
	max-width: 400px !important;
}
.login-form .login-header {
    margin-bottom: 20px  !important;
}

.form-check-label{color:#333;}

/* FIM - LOGIN 
.navbar 
{background-color:#333 !important;
}*/
.btn-primary {
    background-color: #8B84D7 !important;
}

.login-page.login-light .login-form .login-footer a {
    color: #8B84D7 !important;
}
.grid table td [class^="icon-"], [class*=" icon-"] {
    width: 100%;
    display: inline-block;
    font-size: 16px;
    text-align: center;
    vertical-align: middle;
}
.grid table tr td input 
{border:0 !important;
}
td i {
    text-align: center;
}

.blue {
    color: #0099cc;
}

.gray {
    color: #7c7c7c;
}

.clear {
    clear: both;
}
.no-display-alert + span.validate-has-error {
    display: none !important;
}
.uk-nestable-placeholder {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-bottom: 10px;
    border: 1px dashed #333;
}

input.darkerplaceholder::-moz-placeholder, input.darkerplaceholder::-ms-input-placeholder, input.darkerplaceholder::-moz-placeholder, input.darkerplaceholder::-webkit-input-placeholder {
    color: #333;
}


/*======================================TOPO=================================*/
.navbar.horizontal-menu.navbar-fixed-top {
    background: #fff;
}
.nav-userinfo a
{color:#333;
}
.user-info-navbar {
    background-color: #fff;
    padding: 2px 0;
}
	.user-info-navbar .user-info-menu > li.user-profile > a > span
	{
		color:#fff;
	}
.user-info-navbar .user-info-menu > li {
    border: 0;
}

    .user-info-navbar .user-info-menu > li > a {
        border-bottom: 0;
    }

.nav .open > a, .nav .open > a:hover, .nav .open > a:focus, .nav > li > a:hover, .nav > li > a:focus {
    background: none;
}

.navbar.horizontal-menu .navbar-inner > .nav {
    list-style: none;
    margin: 0;
    padding: 0;
    float: left;
}

.navbar.horizontal-menu .navbar-inner > .nav.navbar-mobile a {
    float: right;
}

.navbar.horizontal-menu .navbar-inner > .nav.navbar-mobile a.menu-mobi {
    margin: 0 25px 10px;
}

.dropdown-menu > li > a {
    width: 100%;
}

.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
    background-color: #C7C7C7;
}

.navbar.horizontal-menu .navbar-inner > .nav > li.user-profile.open > .dropdown-menu {
    top: 86px;
}


.navbar-inner .navbar-brand {
    padding: 0 0;
}

.logo .visible-xs {
    
}
/*================================Fix Validation ========================*/

span.validate-has-error {
    display: block;
	display: none !important; 
    padding-top: 5px;
    font-size: 12px;
    color: #cc3f44;
    position: absolute;
    top: 1%;
    right: 2%; 
}
.form-control > span.validate-has-error,
input > span.validate-has-error
{
	border-color: #cc3f44 !important;
	background-color:red;
}
form .form-group.validate-has-error .form-control
{
	background-color:rgb(250, 255, 189);
}

.dvPrescricao span.validate-has-error {
    position:absolute;
    bottom: 50px;
    top: auto;
    right: -60px;
    margin:0;
    background:red;
    opacity:.9;
    filter:alpha(opacity=70);
    color: #fff !important;
    -moz-border-radius:7px;
    -webkit-border-radius:7px;
    border-radius:3px;
    -moz-box-shadow:0 0 7px #000;
    -webkit-box-shadow:0 0 7px #000;
    box-shadow:0 0 7px #000; 
    padding:5px 10px;
    z-index:9999;
    width:auto;
    max-width:300px;
}

.dvPrescricao span.validate-has-error:before { 
position: absolute;
    content: "";
    width: .6em;
    height: .6em;
    background-image: none;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    z-index: 2;
    -webkit-transition: background .1s linear;
    transition: background .1s linear;
    background-color: #E8E8E8;
    left: 30%;
    bottom: -4px;
    background-color: red;
}
.dvPrescricao .form-group {
    margin-bottom: 5px;
}

.dvPrescricao span.validate-has-error {
    /*display:none !important;*/
}

.dvPrescricao .panel-heading {
    position: relative;
    padding: 5px 0;
    margin: 0;
    background: none;
    font-size: 17px; 
    border-bottom: 1px solid #e8e6e6;
    background-color: #629320;
    }
.dvPrescricao .panel-sub {
    display:table;
    border:1px solid #e8e6e6;
    width: 100%;
}
.dvPrescricao .panel-heading-sub {
    margin-top: 0;
    margin-bottom: 10px;
    background-color: #8B84D7;
    padding: 5px;
}

.dvPrescricao .panel-footer-sub {
    display: table;
    background-color: #eaf0ea;
    font-weight: bold;
    width: 100%;
    border-top: 1px solid #e1dfdf;
}

.dvError, .dvNotas, .dvAlertas {
    padding: 0;
    margin: 2px 0 6px 0px;
    width: 100%;
}
.dvAlertas input[type="checkbox"] {
    height: 15px;
    width: 15px;
}
.dvAlertas input[type="checkbox"] > span {
    font-size: 18px;
    text-transform: uppercase;
}
span.validate-error {
    background-color: #f9f9f9;
    color: red; 
    display: block;
    text-align: center;
    padding: 5px 0;
    margin: 5px 0;
}
span.validate-notas {
    background-color: #f9f9f9;
    color: green; 
    display: block;
    text-align: center;
    padding: 5px 0;
    margin: 5px 0;
}
.dvAlertas {
    background-color: #f9f9f9;
    color: green; 
    display: block;
    text-align: center;
}
.dvAlertas input[type="radio"] {
    margin: 10px 0 10px 20px;
}
.validate-alertas {
    padding: 5px 0;
    margin: 5px 0;
}
/*================================titulo=================================*/
.main-content h3.title {
    border-bottom: 1px #ccc solid;
}

/*=================================LEFT MENU=======================*/
.sidebar-menu {
    /*background-color: #333 !important;*/
}
.sidebar-menu-inner {
    background-color: #8B84D7 !important;
}

    .sidebar-menu .main-menu {
        padding-left: 0;
        padding-right: 0;
    }

        .sidebar-menu .main-menu a {
            padding: 13px 22px;
            color: #F0F0F0;
            border-bottom: 1px solid #666;
        }

        .sidebar-menu .main-menu li.active > a {
            color: #8CD7F7;
            padding-left: 18px;
        }

        .sidebar-menu .main-menu a > i + span.title {
            text-transform: uppercase;
            font-size: 12px;
        }

        .sidebar-menu .main-menu ul li {
            font-size: 10px;
        }

*[class*="fa-"] {
    font-size: 15px;
}

.sidebar-menu .main-menu a:hover {
    color: #8DD7F7;
}

.sidebar-menu .main-menu li.active > a {
    border-left: 5px solid #8DD7F7;
}

.sidebar-menu .main-menu ul li.active a {
    border-left: none;
}

.sidebar-menu .main-menu li.has-sub > a:before {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

.sidebar-menu .main-menu li.has-sub.opened > a:before, .sidebar-menu .main-menu li.has-sub.expanded > a:before {
    color: #fff;
}

.sidebar-menu .main-menu li.active > a:before, .sidebar-menu .main-menu li.has-sub.expanded > a:before {
    color: #8CD7F7;
}

.sidebar-menu .main-menu li:hover > a:before, .sidebar-menu .main-menu li.has-sub.expanded > a:before {
    color: #fff;
}

.sidebar-menu .main-menu ul li a {
    text-transform: uppercase;
}

.navbar.horizontal-menu.navbar-fixed-top + .page-container > .sidebar-menu.fixed .sidebar-menu-inner {
    background: #213857;
}

.navbar.horizontal-menu.navbar-fixed-top + .page-container > .sidebar-menu.collapsed .sidebar-menu-inner {
    top: -10px;
}

/*=================================CONTEUDO==========================================*/

#Container .main-content {
    width: 100%;
    display: block;
    padding: 0;
}

.main-content h3.title {
    color: #594D3A;
    font-size: 24px;
}


/*================================BOTOES=================================*/
.add {
    background: #333;
    color: #fff;
}

    .add:hover {
        background: #4F4F4F;
        color: #fff;
    }

.btn i {
    padding-right: 5px !important;
    font-size: 14px;
    position: relative;
}

.dropdown-btn {
    font-size: 14px;
}

    .dropdown-btn i {
        padding-right: 10px !important;
        font-size: 14px;
        top: -2px;
        position: relative;
    }

.dropdown-toggle i {
    padding-left: 10px !important;
    font-size: 14px;
    top: 1px;
    position: relative;
}

.refresh {
    margin-left: 20px;
}

.bt-pesquisar {
    padding: 10px 12px 10px 25px;
    background: url(../images/search.png) no-repeat 5px 8px;
    background-color: #40BBEA;
    color: #fff !important;
}

.btn-salvar {
    background: url(../images/save.png) no-repeat 10px 9px;
    background-color: #40BBEA;
}

.btn-gerar {
    background: url(../images/page.png) no-repeat 6px 10px;
    background-color: #40BBEA;
}

.botao {
    padding: 12px 20px 12px 25px;
    color: #fff !important;
}

.btn i.icon-only {
    padding-right: 0px !important;
}

/*================================FORM=================================*/
.radiolist-inline
{
	display: block;
	margin: 0 0;
}
.radiolist-inline label
{    position: relative;
    display: inline-block;
    padding: 0 5px;
    margin-bottom: 0;
    font-weight: normal;
    vertical-align: middle;
    cursor: pointer;
	margin-top: -5px;
}
.status {
    top: 7px;
    text-align: right;
}

.inputcheck {
    margin-top: 20px;
}

    .inputcheck td:first-child {
        width: 95px !important;
    }

    .inputcheck td {
        padding-right: 15px;
    }

        .inputcheck td input {
            margin-right: 3px;
        }

.ps-container .ps-scrollbar-y-rail, .ps-container .ps-scrollbar-x {
    display: none !important;
}

.tipo-relatorio {
    margin: -29px 0 0 -16px;
}



/*=================================TABELA=================================*/
table {
    font-size: 0.9em;
}
table .sorting {
    background: url('../../images/sort_both.png') no-repeat center right;
}

table .sorting_asc {
    background: url('../../images/sort_asc.png') no-repeat center right;
}

table .sorting_desc {
    background: url('../../images/sort_desc.png') no-repeat center right;
}

table .sorting_asc_disabled {
    background: url('../../images/sort_asc_disabled.png') no-repeat center right;
}

table .sorting_desc_disabled {
    background: url('../../images/sort_desc_disabled.png') no-repeat center right;
}

table {
    width: 100%;
    /*max-width: 100%;*/
    margin-bottom: 18px;
    display: table;
    /*table-layout:fixed;*/
}

    table tr td {
        width: auto;
        word-wrap: break-word;
    }



    table .fa-check, table .fa-edit, table .fa-close, table .fa-ban {
        /*margin: 0 40%;*/
        /*margin:0 auto;
    */ display: block;
        float: left;
        margin-left: 5px;
    }

    table .fa-check, .fa-check-custom,.fa-thumbs-up {
        color: #88D244;
    }

    table .fa-edit, .fa-edit-custom {
        color: #36768E;
    }

    table .fa-close, .fa-close-custom, .fa-thumbs-down {
        color: #BE4A4A;
    }

    table .fa-ban, .fa-ban-custom {
        color: #BE4A4A;
    }

    table span.retirarAmostra {
        color: #8B84D7;
        display: inline-flex;
        padding: 0px 4px;
        font-weight: bold;
        text-transform: uppercase;
    }
.alerta-retirar-amostra {
    color: red;
    line-height: 3em;
    font-size: 2em;
    text-transform: uppercase;
}
.reportViewer {
    width: 100% !important;
}

.dropdown-menu table, .dropdown-menu table td {
    table-layout: auto !important;
    width: auto !important;
}

.paginacao table {
    width: auto;
    margin-bottom: 0px;
}

.paginacao td {
    background: #fff;
}

.paginacao table td {
    padding: 3px;
    font-size: 1.18em;
}

    .paginacao table td span {
        padding: 10px;
        background: #40BBEA;
        color: #fff;
    }

    .paginacao table td a {
        padding: 10px;
        background: #F2F2F2;
    }

/*cor das tuplas e das linhas*/
.table-striped > tbody > tr:nth-child(odd) > td, .table-striped > tbody > tr:nth-child(odd) > th {
    background-color: #F2F2F2;
}

.table-striped > tbody > tr:nth-child(even) > td, .table-striped > tbody > tr:nth-child(even) > th {
    background-color: #FFFFFF;
}

.table-striped > tbody > tr:nth-last-child(1).paginacao > td, .table-striped > tbody > tr:nth-last-child(1).paginacao > th {
    background-color: #FFFFFF;
}

.table.table-bordered > thead > tr > td, .table.table-bordered > tbody > tr > td, .table.table-bordered > tfood > tr > td, .table.table-bordered > thead > tr > th, .table.table-bordered > tbody > tr > th, .table.table-bordered > tfood > tr > th {
    border-color: #DDDDDD;
}

.table.table-bordered {
    border-top: 1px solid #DDDDDD;
}

/*@MEDIA-------------------------------------------------------------*/
@media screen and (max-width: 767px) {

    .page-container {
        height: auto;
    }
}
@media screen and (max-width: 768px) {
    .main-content {
        padding:30px 0px !important;
    }
    .title-env {
        margin-left: 30px;
    }
    #dvAvisoPopup {
        display: none;
    }
    /*.col-sm-1-5 {
        width: .col-sm-1-5;
        padding: 0; 
    }*/
}
/*@MEDIA-------------------------------------------------------------*/

@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) {

    table {
        display: block;
        width: auto;
        overflow-x: auto;
        white-space: nowrap;
    }
	.list-inline > li
	{
		display: inline;
	}
	.dropdown-menu
	{
		right: 0;
		left:inherit;
	}

}
	
@media screen and (min-width: 767px) {

    /*.calendar.left {
        float:left !important;
    }

    .calendar.right {
        float:right !important;
    }*/
	
}
@media screen and (min-width: 768px) {
    .col-sm-1-5 {
        width: 13%;
        padding: 0 10px;
    }
}
@media screen and (max-width: 992px) and (min-width: 767px) {

    .navbar.horizontal-menu .navbar-inner > .nav > li.user-profile > a > span {
          display: inline-block !important; 
    }
    #dvAvisoPopup {
        display: none;
    }
}
.table > thead > tr > td, .table > tbody > tr > td, .table > tfood > tr > td, .table > thead > tr > th, .table > tbody > tr > th, .table > tfood > tr > th {
    padding: 6px;
}

.table > thead > tr > td:after, .table > thead > tr > th:after {
    background-color: #fff;
}


select[multiple="multiple"] option {
  padding: 5px;
  margin: 2px 0px;
}

/****************************************
 		TOAST
/****************************************/
.toast-message
{
	margin-left:30px !important;
}
 

/* GRID - LINHA SELECIONADA */
.table tr.SelectedRowStyle td
{
	background-color: Yellow !important;
}

/* PAGINACAO DA GRID */
.pagination-ys {
    /*display: inline-block;*/
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

.pagination-ys table > tbody > tr > td {
    display: inline;
}

.pagination-ys table > tbody > tr > td > a,
.pagination-ys table > tbody > tr > td > span {
    position: relative;
    float: left;
    padding: 8px 12px;
    line-height: 1.42857143;
    text-decoration: none;
    color: #000;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    margin-left: -1px;
}

.pagination-ys table > tbody > tr > td > span {
    position: relative;
    float: left;
    padding: 8px 12px;
    line-height: 1.42857143;
    text-decoration: none;    
    margin-left: -1px;
    z-index: 2;
    color: #000;
    background-color: #f5f5f5;
    border-color: #dddddd;
    cursor: default;
}

.pagination-ys table > tbody > tr > td:first-child > a,
.pagination-ys table > tbody > tr > td:first-child > span {
    margin-left: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}

.pagination-ys table > tbody > tr > td:last-child > a,
.pagination-ys table > tbody > tr > td:last-child > span {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}

.pagination-ys table > tbody > tr > td > a:hover,
.pagination-ys table > tbody > tr > td > span:hover,
.pagination-ys table > tbody > tr > td > a:focus,
.pagination-ys table > tbody > tr > td > span:focus {
    color: #97310e;
    background-color: #eeeeee;
    border-color: #dddddd;
}
.footerGrid {
    font-weight:bold;
}

.form-control {
    padding: 6px 8px;font-size:0.9em;
}
.form-control input[type="radio"]
{margin-left:0 !important;
}
.radio label
{
	padding-right: 10px;
}

/****** CHECKBOX ***/
table.checkbox-inline tbody
{
	width: 100% !important;
    display: inline-block;
}
table.checkbox-inline tbody tr
{
	width: 100% !important;
    display: inline-block;
}
table.checkbox-inline td
{
	width: 25% !important; 
	display: inline-block;
}

.nav-tabs > li.active > a
{
	font-weight: bold;
}

.negrito
{
	font-weight:bold !important;
}

input, select {
    font-size: 0.9em;
}
input[type=text], select
{
	text-transform:uppercase; 
}
select.componente
{
	text-transform:none !important;
}
.panel .panel-body { 
    color: #000;
}

.panel-prescricao > .panel-heading {
    color: #333333 !important;
    background-color: #f5f5f5 !important;
    border-color: #dddddd;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    text-indent: 20px;
    margin-bottom:5px;
}

.panel-prescricao > .panel-sub {
    border: 1px solid #dddddd;
}
.panel-prescricao > .panel-heading-sub {
    color: #333333 !important;
    background-color: #daf7be !important;
    border-color: #dddddd;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    text-indent: 20px;
} 
.panel-resumo > .panel-heading {
    background-color: #f5f5f5;
    color: #333333;
}
.panel-resumo > .panel-body {
    padding:0;
}
/************** Resumo Paciente ***************/

/*.resumo label, .resumo .control-label{ 
    font-size: 10px;
}*/
.resumo hr {
    margin-top: 10px;
    margin-bottom: 10px;
}

.resumo .panel {
    padding: 20px;
    margin-bottom: 0 !important;
}
.panel.panel-color .panel-heading { 
    padding: 10px 20px;
}

.resumo .panel-heading {
    position: relative;
    padding: 5px 0;
    margin: 0;
    background: none;
    font-size: 17px; 
    border-bottom: 1px solid #e8e6e6;
    background-color: #f5f5f5;
    }
.resumo .panel-sub {
    display:table;
    border:1px solid #e8e6e6;
    width:100%;
}
.resumo .panel-heading-sub {
    margin-top: 0;
    margin-bottom: 5px;
    background-color: #cac7c7;
    padding: 5px; 
}

.resumo .panel-body-sub {
    margin-top: 0;
    margin-bottom: 0; 
}

.resumo .panel-footer-sub {
    display: inline-block;
    background-color: #f5f5f5;
    font-weight: bold;
    width: 100%;
    border-top: 1px solid #e1dfdf;
    padding: 5px 10px 5px 0px;
}

/************** AutoComplete ***************/
/*AutoComplete flyout */

.autocomplete_completionListElement 
{  
	visibility : hidden;
	margin : 0px!important;
	background-color : inherit;
	color : windowtext;
	border : buttonshadow;
	border-width : 1px;
	border-style : solid;
	cursor : 'default';
	overflow : auto;
	max-height : 100px;
    text-align : left; 
    padding:0;
 /*   list-style-type : none;*/
    cursor:pointer;
}

/* AutoComplete highlighted item */

.autocomplete_highlightedListItem
{
	background-color: #ffff99;
	color: black;
	padding: 1px;font-size:0.9em;
}

/* AutoComplete item */

.autocomplete_listItem 
{
	background-color : window;
	color : windowtext;
	padding : 1px;font-size:0.9em;
	cursor:pointer;
}
.autocomplete_listItem ul
{list-style-type:none;	}


.composicao {
    font-size: 0.9em;
}

.form-control-label {  
    color: #555;  
    margin-bottom: 0;
}

.linha-escura {
    background-color:#eeeeee;
    float:left;
    width:100%;
}

.btn-xx {
   padding: 0px 2px;
   margin-bottom: 5px;
}
.btn.btn-xx i {
    padding: 1px 0;
    padding-right: 1px !important;
}
.btn-xx i {
    font-size: 10px;
}
.hide {
    display: none;
}

.input-sm, #precricaoForm .input-sm {
    font-size: 0.8em;
}

#precricaoForm .input-group-addon
{    
    font-size: 0.8em;
    padding-left: 4px;
    padding-right: 4px;
}

span.textarea_count {
    text-align: right;
    float: right;
    font-size: 12px;
}



 #dvAvisoPopup{
    width: 245px;
    height: auto;
    background: #fff;
    position: fixed;
    z-index: 100;
    left: 0;
    bottom: 5%;
    border: 4px double #336935;
    margin: 0 5px;
    padding: 5px;
    font-size: 0.8em;  
    opacity: 0.9;
}
#dvAvisoPopup hr {
    margin:0;
    margin-bottom: 5px;
}


.alert span.highlight {
    background-color: #d8452e;
    padding: 5px;
    color: white;  
}


.text-no-transform{
	text-transform:none !important; 
}

div#dvpanel-prescricao {
    padding: 0;
}

.panel .panel-heading > .panel-title {
    font-weight:bold;
}

ul.nav-tabs-justified > li > a {
    font-size: 18px;
}



.p-0 {
    padding: 0;
}
.p-l0 {
    padding-right: 0;
}
.p-r0 {
    padding-right: 0;
}
.p-r5 {
      padding-right: 5px;
}
.p-l5 {
      padding-left: 5px;
}


.validation-summary-errors 
{
    color:#bf1616 !important;
    background-color: #FFBABA;
    border: 3px solid #bf1616;
    font-weight: bold;
    text-align: left;
    margin: 5px 0;
    line-height: 1;
}
        
.validation-summary-errors ul
{
    padding-left: 20px; 
    margin-bottom: 0;
}
        
.validation-summary-errors ul li
{
    padding: 5px 0;
    display:inline-block;
    width:33%;
}
.validation-summary-errors  ul.inline-list-style {
  list-style: upper-roman;
  display: flex;      
}
.validation-summary-errors  ul.inline-list-style li {
  flex: 1;
}

.validation-alert-errors
{
    color: green !important;
    background-color: #68b82829;
    border: 3px solid green;
    font-weight: bold;
    text-align: left;
    margin: 5px 0;
    line-height: 1; 
    padding: 10px 5px;
}



.row_fixed {
    top: 0;
    z-index: 5;
    position: -webkit-sticky;
    position: sticky;
    font-weight: bold;
}

.modal-title {
    color:#333;
}
.modal-dialog-notificacao {
    width: 80% !important;
}
.modal-header .close {
    margin-top: -30px;
}
.modal-foto {
    width: auto;
    max-width: 80%;
    display: flex;
}
.progress {
    position: absolute;
    z-index: 9999999;
    top: 0;
    width: auto;
    height: auto;
    background-color: transparent;
    left: 40%;
}


.dvcomparativo .panel-heading {
    background-color: #2e8031;
    color: #fff;
}
.dvcomparativo .resumo .panel-heading-sub {
    background-color: #49d04d;
    color: #fff;
}
.font-weight-bold {
    font-weight:bold;
}

.checklist label {
    margin-right: 10px;
    margin-left: 10px;
}

.img-fluid {
    max-width: 100%;
}