html, body { height: 100%; }
/* Miligram overrides */
a {  
    font-family: "Raleway", sans-serif;
    color: #404041;
}

/* Utility */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Main */
body {
    background: transparent;
}
.content {
    padding: 1rem;
    margin-bottom: 10px;
    background: #ffffff;
    border-radius: 0.4rem;
    box-shadow: 0 7px 14px 0 rgba(60, 66, 87, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.07);
}
.actions a {
    font-weight: bold;
    padding: 0 0.4rem;
}
th {
    white-space: nowrap;
}

.logo img {
  /*max-height: 62px;  */
}
 
.fancybox-slide--iframe .fancybox-content { background: transparent !important; }  

.top-right-fixed { position: absolute; top: 20px; right: 20px; z-index: 90; }

.bottom-right-fixed { position: fixed; bottom: 20px; right: 20px; z-index: 90; }

.table.table-dark a { color: #FFF; }

/*div.column { display: inline-block; width: 30%; }*/

.menu { float: right; }

.right { float: right; }

.bt-novo-atendimento {margin-top: 5px;
    white-space: nowrap;
    /* width: 100%; */
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;}

/* Nav bar */
.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 112rem;
    padding: 2rem;
    margin: 0 auto 2rem;
}
.top-nav-title a {
    font-size: 2.4rem;
    color: #d33c43;
}
.top-nav-title span {
    color: #404041;
}
.top-nav-links a {
    margin: 1px;
    padding: 7px; border:1px solid #CCC;
}
.top-nav-title a,
.top-nav-links a {
    font-weight: bold;
}

.side-nav-item {
    display: block;
    padding: 0.5rem 0;
}

/* View action */
.content .text {
    margin-top: 1.2rem;
}
.related {
    margin-top: 2rem;
}

/* Flash messages */
.message {
    padding: 1rem;

    background: #eff8ff;
    color: #2779bd;

    border-color: #6cb2eb;
    border-width: 1px;
    border-style: solid;
    border-radius: 4px;
    margin-bottom: 2rem;
}
.message.hidden {
    display: none;
}
.message.success {
    background: #e3fcec;
    color: #1f9d55;
    border-color: #51d88a;
}
.message.error {
background: #fcebea;
    color: #da716e;
    font-size: 14px;
    border-color: #ef5753;
    font-weight: 300; 
    border: none;
}

/* Paginator */
.paginator {
    text-align: right;
}
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}
.pagination li {
    margin: 0 0.5rem;
}
.prev.disabled a,
.next.disabled a {
    cursor: not-allowed;
    color: #606c76;
}
.asc:after {
    content: " \2193";
}
.desc:after {
    content: " \2191";
}

/* Error */
.error-container {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: center;
}


.baner {
/*background: #606c88; 
background: -moz-linear-gradient(top,  #606c88 0%, #3f4c6b 100%); 
background: -webkit-linear-gradient(top,  #606c88 0%,#3f4c6b 100%); 
background: linear-gradient(to bottom,  #606c88 0%,#3f4c6b 100%); 
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#606c88', endColorstr='#3f4c6b',GradientType=0 ); */
/*background: url('../img/bg.png') repeat #3a4652;
margin-bottom: 20px; border-bottom: 5px solid #e2e2e2;*/

background: url('../img/bg2.png') center center;
    margin-bottom: 20px;
    border-bottom: 5px solid #e2e2e2;
    background-size: 100%;
} 

.logar {
    background: url('../img/bg2.png') center center;

    background-size: 100%;
}

.login { border:1px solid #CCC; border-radius: 10px; padding: 30px 20px !important; background: #FFF; line-height: normal; }
.login .header-login { display: flex; text-align: center; align-items: center; height: 100px;
  justify-content: center; border-bottom: 1px solid #CCC; margin-bottom: 20px; }
  .login .header-login img { margin: 0px 30px; }
.login legend { font-weight: 300; font-size: 15px; text-align: center; }
.login .btn-enviar { background:#45af8f; font-weight: normal; border: none; width:100%; }
.login p { margin-bottom: 15px; }
.login input { margin-bottom: 0px; }
.login small { font-size: 12px; font-weight: 200; }
.login label{font-size: 12px; font-weight: 200; display: inline-block; margin: 0px;}


#navbarSupportedContent > ul > li > a { 

    font-size: 20px;
    border-right: 1px solid rgba(255,255,255,0.2);
    padding: 5px 20px;
    font-weight: bold;
    border-left: 1.2px solid rgba(0,0,0,0.5);

}
#navbarSupportedContent > ul > li:last-child > a {
  border-right: 0px;
}
#navbarSupportedContent > ul > li:first-child > a {
  border-left: 0px;
}


.btn.btn-success.float-right.bottom-right-fixed.bt-novo-atendimento {
    border-radius: 100%;
    font-size: 25px;
}

/*.balao2{
    background: #FFF;
    border-radius: 15px;
    width: auto;
    height: auto;

    position: relative;
   box-shadow: 0 7px 14px 0 rgba(60, 66, 87, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.07);
    margin-bottom: 30px;
}
.balao2 .txt { padding: 15px; display: block; overflow:hidden; } 
.balao2:after{

    content: "";

    width: 0;
    height: 0;

    position: absolute;

    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #FFF; 
    
    bottom: -20px;
    left: 20%;
}*/
 
.loading { 
width: 100%;
    height: 100%;
    background: url(../img/loading.png) center center no-repeat rgba(255,255,255,0.1);
    position: fixed;
    z-index: 9000;
    display: block;
    left: 0px;
    top: 0px;
 }

.txt h4 { margin-bottom: 5px; font-size: 20px; }  

.balao2{
    margin: 0 auto; 
    background: #FFF;
    font-size: 0.85em;
    line-height: 1.6em;  
    border-radius: 15px;
    width: auto;
    height: auto;
    color: #333;
    padding: 10px 15px;
    position: relative;
    margin-top: 30px;
    box-shadow: 0 7px 14px 0 rgba(60, 66, 87, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.07);
    font-size: 11px;
}
.balao2 .atendimento { font-style: italic; font-size:13px;

height: auto !important;
    max-height: fit-content; padding: 10px;
    background: #EFEFEF;

 } 
.balao2:after{ /*Triangulo*/
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    /*Faz seta "apontar para baixo. Definir o valor como 'top' fará ela "apontar para cima" */
    /*Aqui entra a cor da "aba" do balão */
    border-bottom: 20px solid #FFF;
    top: -20px; /*localização. Experimente alterar para 'bottom'*/
    left: 20%;
}

.balao2 .criado, .balao2 .actions, .balao2 .actions a {  color: #777; }
.balao2 .atendimento { margin: 10px 0; font-size: 13px; max-height: auto;  overflow-y: auto; white-space: normal; }


.cor-status { padding: 3px 10px; border-radius: 5px; display: block; margin-top: 5px; color: #FFF; background: #333; text-align: center; }

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
  
::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px; 
    border-radius: 10px;
    /*background:#dadada; */
    background:#FFFFFF; 
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
}

/*drop-down override*/
div.dropdown-menu.show {
  background-color: #606c88;
}

div.dropdown-menu.show .dropdown-item {
  color: #EFEFEF;
}

div.dropdown-menu.show div.dropdown-divider {
  border-top: 1px solid rgba(50, 50, 50, 0.9);
}

div.dropdown-menu.show .dropdown-item:hover,
div.dropdown-menu.show .dropdown-item:focus {
  background-color: #1e1e1e;
  color: #EFEFEF;
}


#media-list ul { display: grid;  background-size: cover; margin-top: 50px; gap: 20px;   grid-template-columns: repeat(5, 1fr); padding:0px; } 
#media-list ul li { display: flex;  height: auto; width: 100%; flex-wrap: all; }

#media-list ul li .limit { display: flex; height: 150px; width: 100%; }
#media-list ul li .limit img {  width: 100%;
    box-shadow: 0 0 4px #000; object-fit: cover; width: 100%; clear: both; }
#media-list ul li input { width: 100%; }

 
.linha { display: block; overflow:hidden; display: inline-block; clear: both; width: 100%; }
.sidebar  select{ display: block; width: 100%;  }

.padding { padding: 20px; }
.padding-top-5 { padding-top: 5px !important; }
.padding-top-0 { padding-top: 0px !important; }
.horizontal { width: 100%; overflow-x: auto; white-space: nowrap; overflow-y: hidden; }


  
.coluna { width: 370px !important; margin-right: 10px; display:inline-block;height: 500px;  margin-bottom: 10px;  border:1px solid #FFF; border-radius: 10px;
vertical-align:top; padding: 10px; overflow-y: auto; overflow-x: hidden;


/*background: rgb(255,255,255);
background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(190,190,190,1) 100%);*/

background: #e4e4e45e;


position: relative;
}

.cor-status.vermelho, .coluna.vermelho .chamada { background: #B22222; color: ; }
.cor-status.verde, .coluna.verde .chamada { background: #279863; color: ; }
.cor-status.azul, .coluna.azul .chamada { background: #5378B5; color: ; }
.cor-status.laranja, .coluna.laranja .chamada { background: #F3B14E; color: ; }
.cor-status.roxo, .coluna.roxo .chamada { background: #9A32CD; color: ; }
.cor-status.dourado, .coluna.dourado .chamada { background: #CDAA7D; color: ; }
.cor-status.marron, .coluna.marron .chamada { background: #8B4726 ; color: ; }
  

.chamada { text-align: center; background: #000; color: #FFF; border-radius: 5px; text-transform: uppercase; font-size: 14px; font-weight: 600; padding: 5px; 


} 


.alert.float-alert .alert-title {
    margin-left: 10px;
    font-weight: 500;
    color: #FFF;
}

.float-alert { z-index: 150; position: fixed; top: 80px; right: 15px; background:rgb(126, 206, 142) !important; border-color: rgb(126, 206, 142) !important; padding: 7px 10px; }

/*.container {
  position: relative;
  overflow: hidden;
  padding: 0.5em;
}
.avatar {
  width: auto;
  height: 30px;
  background: #FFF;
  border-radius: 30px 30px 0% 0%;
  margin-left: 50px;
  position: relative;
}
.avatar::after {
  content: "";
  position: absolute;
  left: -53px;
  top: 0;
  width: 50px;
  height: 50px;
  box-sizing: border-box;
  border: 4px solid #fff;
  background-image: url(http://placecage.com/50/50);
  overflow: hidden;
  z-index: 100;
  box-shadow: 0 0 10px 0 rgba(0,0,0,0.75), 0 0 0 3px rgba(255,255,255,1.0);
  border-radius: 50%;
}
.txt{
  position: relative;
  color: #333;
  width: auto;
  height: auto;
  background: #FFF;
  border-radius: 0% 0% 30px 30px;
  box-sizing: border-box;
  padding: 0 10px 30px 60px;
  box-shadow: 0 6px 10px 0 rgba(0,0,0,0.25);
}*/




@media screen and (max-width: 640px) {
    .top-nav {
        margin: 0 auto;
    }
    .side-nav {
        margin-bottom: 1rem;
    }
    .heading {
        margin-bottom: 1rem;
    }
    .side-nav-item {
        display: inline;
        margin: 0 1.5rem 0 0;
    }
    .asc:after {
        content: " \2192";
    }
    .desc:after {
        content: " \2190";
    }
}
