#botoes{
    display: flex;
    flex-direction: row;
    justify-content: center;
}

#botoes button {
    padding: 5rem 20rem;
}

#relatorio:hover{
    box-shadow: 3px 3px 3px #5f5f5f;
}

.form-control {
  background-color:#F6F8F9;
  border-color:#F6F8F9;
  border-radius:2px;
  box-shadow:none;
  transition:background 0.5s;
}

.form-control:focus{
    border-color: #ebeff2;
    background-color: #ebeff2;
    box-shadow: none;
}

.inverse {
  background-color:#FFFFFF;
  border-color:#FFFFFF;
  border-radius:2px;
  box-shadow:none;
  transition:background 0.5s;
}

.inverse:focus{
    border-color: #66afe9;
    background-color: #FFFFFF;
    box-shadow: none;
}

.input-group .input-group-addon {
  background-color:#FfF8F9;
  border-color:#FFF8F9;
  border-radius:0 0 0 0;
  /*cursor:pointer;*/
}

.input-group-text {
  display: table-cell;
  width: 1%;
  white-space: nowrap;
  vertical-align: middle;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: normal;
  line-height: 1;
  color: #555;
  text-align: center;
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.input-group .input-group-text {
  background-color:transparent !important;
  border-color:transparent !important;
  border-radius:0 0 0 0;
  /*cursor:pointer;*/
}

/*button*/
.btn{
    border-radius: 2px;
    transition:  all 0.5s;
}
.btn:focus,
.btn:active{
    outline: none !important;
}

.btn-default, 
.btn-default:focus, 
.btn-default.active,
.open>.dropdown-toggle.btn-default{
    border-color: #e2e4e7 !important;
}
.btn-default:hover
.btn-default:focus{
    border-color: #e2e7f1;
}

.btn-primary{
    border:none;
    background-color:#428bca;
}

.btn-primary:hover,
.btn-primary:focus{
    background-color: #1377cd;
}

.btn-info{
    background-color: #1ccacc;
    border:none;
}
.btn.active, 
.btn.active:focus{
    box-shadow: none;
    background: #f1f1f5;
    cursor: default;
    outline: none;
}

.direct-chat-messages {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  transform: translate(0, 0);
  padding: 10px;
  height: 100px;
  overflow: auto;
}

.primary{
  background: #3c8dbc;
  border-color: #3c8dbc;
  color: #fff;
}

.warning {
  background: #f39c12;
  border-color: #f39c12;
  color: #fff;
}

.danger {
  background: #dd4b39 !important;
  border-color: #dd4b39;
  color: #fff;
}



@-webkit-keyframes ld {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}
@-moz-keyframes ld {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}
@-o-keyframes ld {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}
@keyframes ld {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}

.m-progress {
    position: relative;
    opacity: .8;
    color: transparent !important;
    text-shadow: none !important;
}

.m-progress:hover,
.m-progress:active,
.m-progress:focus {
    cursor: default;
    color: transparent;
    outline: none !important;
    box-shadow: none;
}

.m-progress:before {
    content: '';
    
    display: inline-block;
    
    position: absolute;
    background: transparent;
    border: 1px solid #fff;
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-radius: 50%;
    
    box-sizing: border-box;
    
    top: 50%;
    left: 50%;
    margin-top: -12px;
    margin-left: -12px;
    
    width: 24px;
    height: 24px;
    
    -webkit-animation: ld 1s ease-in-out infinite;
    -moz-animation:    ld 1s ease-in-out infinite;
    -o-animation:      ld 1s ease-in-out infinite;
    animation:         ld 1s ease-in-out infinite;
}

.btn-default.m-progress:before {
    border-left-color: #333333;
    border-right-color: #333333;
}

.btn-lg.m-progress:before {
    margin-top: -16px;
    margin-left: -16px;
    
    width: 32px;
    height: 32px;
}

.btn-sm.m-progress:before {
    margin-top: -9px;
    margin-left: -9px;
    
    width: 18px;
    height: 18px;
}

.btn-xs.m-progress:before {
    margin-top: -7px;
    margin-left: -7px;
    
    width: 14px;
    height: 14px;
}

.filter .btn-default:hover{
    background: #fff;
}
.filter .btn-default.active:hover{
    background: #f1f1f5;
}
.btn.round{
    border-radius: 50px;
}
.btn-transparent{
    background-color: transparent;
    border:2px solid;
    color: #fff;
}
.btn-transparent.success:hover{
    background-color: #fff;
    color: #00b393;
    border-color: #fff;
}

.bg-primary .btn-transparent:hover{
    color: #1672b9;  
}

.btn-has-error{
  background-color: transparent !important;
  border-color:#DD4B39;
}


.load-more {
    position: relative;
    border:none;

    width: 100%;
    border-radius: 50px; 
}

/*full calendar*/
.fc-button{
    border-radius: 2px !important;
    border-color:#e2e7f1 !important;
    background: #fff !important;
    height: auto !important;
    padding: 5px 10px !important;
}
.fc-button:focus{
    outline: none;
}
.fc-state-active{
    background-color: #f2f2f2 !important;
    box-shadow: none !important;
}
/*.fc-event {
    border-radius: 0 !important;
}
.fc-content{
    cursor: pointer;
}
.fc-time{
    display: none;
}
.fc-content{
    /*padding: 5px;*/
}*/

/* pacientes */
/* loading */
.loading{position: absolute;left: 0; top: 0; right: 0; bottom: 0;z-index: 2;background: rgba(255,255,255,0.7);}
.loading .content {
    position: absolute;
    transform: translateY(-50%);
     -webkit-transform: translateY(-50%);
     -ms-transform: translateY(-50%);
    top: 50%;
    left: 0;
    right: 0;
    text-align: center;
    color: #555;
}

input[type='file'] {
  display: none
}

.input-wrapper label {
  background-color: #3498db;
  border-radius: 5px;
  color: #fff;
  margin: 10px;
  padding: 6px 20px
}

.input-wrapper label:hover {
  background-color: #2980b9
}

.info-atend {
    padding:1px 10px 1px 10px;
}

.popover-title{
  background: transparent;
}

.btn-link-danger{
  font-weight: normal;
  color: #d9534f;
  border-radius: 0;
}

.btn-link-danger,
.btn-link-danger:active,
.btn-link-danger.active,
.btn-link-danger[disabled],
fieldset[disabled] .btn-link-danger-danger{
  background-color: transparent;
  -webkit-box-shadow: none;
          box-shadow: none;
}

.btn-link-danger,
.btn-link-danger:hover,
.btn-link-danger:focus,
.btn-link-danger:active {
  border-color: transparent;
}

.btn-link-danger:hover,
.btn-link-danger:focus {
  color: #c9302c;
  text-decoration: underline;
  background-color: transparent;
}

.btn-link-danger[disabled]:hover,
fieldset[disabled] .btn-link-danger:hover,
.btn-link-danger[disabled]:focus,
fieldset[disabled] .btn-link-danger:focus {
  color: #777;
  text-decoration: none;
}

.modal-body {
    max-height: calc(100vh - 170px);
    overflow-y: auto;
}

/**/
.ui-autocomplete {
    max-height: 180px;
    overflow-x: auto;
}

.textarea{
    width: 100%; 
    height: 130px; 
    font-size: 14px; 
    line-height: 18px; 
    border: 1px solid #dddddd; 
    padding: 10px;
}

  .affix {
      top: 0;
      width: 23%;
  }

  .affix + .container-fluid {
      padding-top: 70px;
  }

  #time{
    padding: 10px;
    font-size: 20px;
    font-weight: bold;
  }

  .margin-top-10{
    margin-top: 10px;
  }

/*
 * Component: checkbox switch
 * ------------------------
 */

.material-switch > input[type="checkbox"] {
    display: none;   
}

.material-switch > label {
    cursor: pointer;
    height: 0px;
    position: relative; 
    width: 40px;  
}

.material-switch > label::before {
    background: rgb(0, 0, 0);
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    content: '';
    height: 16px;
    margin-top: -8px;
    position:absolute;
    opacity: 0.3;
    transition: all 0.4s ease-in-out;
    width: 40px;
}
.material-switch > label::after {
    background: rgb(255, 255, 255);
    border-radius: 16px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    content: '';
    height: 24px;
    left: -4px;
    margin-top: -8px;
    position: absolute;
    top: -4px;
    transition: all 0.3s ease-in-out;
    width: 24px;
}
.material-switch > input[type="checkbox"]:checked + label::before {
    background: inherit;
    opacity: 0.5;
}
.material-switch > input[type="checkbox"]:checked + label::after {
    background: inherit;
    left: 20px;
}

/*
 * Component: Products List
 * ------------------------
 */
.wk-progress {
    border-bottom:1px solid #f1f2f7;
    margin-bottom:20px;
    width:100%;
    display:inline-block;
}
.tm-avatar img {
    width:50px;
    height:50px;
    border-radius:50%;
    -webkit-border-radius:50%;
}
.tm-membr {
    padding-bottom:12px;
    margin-bottom:10px;
}
.tm-membr .tm {
    /*padding-top:10px;*/
    display:inline-block;
    padding-left: 10px;
}

/*animated-google-loader*/
.showbox {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 5%;
}

.loader {
  position: relative;
  margin: 0px auto;
  width: 100px;
}

.loader:before {
  content: '';
  display: block;
  padding-top: 100%;
}

.circular {
  -webkit-animation: rotate 2s linear infinite;
  animation: rotate 2s linear infinite;
  height: 100%;
  -webkit-transform-origin: center center;
  -ms-transform-origin: center center;
  transform-origin: center center;
  width: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.path {
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  -webkit-animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
  animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
  stroke-linecap: round;
}
 @-webkit-keyframes 
rotate {  100% {
 -webkit-transform: rotate(360deg);
 transform: rotate(360deg);
}
}
 @keyframes 
rotate {  100% {
 -webkit-transform: rotate(360deg);
 transform: rotate(360deg);
}
}
@-webkit-keyframes 
dash {  0% {
 stroke-dasharray: 1, 200;
 stroke-dashoffset: 0;
}
 50% {
 stroke-dasharray: 89, 200;
 stroke-dashoffset: -35;
}
 100% {
 stroke-dasharray: 89, 200;
 stroke-dashoffset: -124;
}
}
@keyframes 
dash {  0% {
 stroke-dasharray: 1, 200;
 stroke-dashoffset: 0;
}
 50% {
 stroke-dasharray: 89, 200;
 stroke-dashoffset: -35;
}
 100% {
 stroke-dasharray: 89, 200;
 stroke-dashoffset: -124;
}
}
@-webkit-keyframes 
color {  100%, 0% {
 stroke: #d62d20;
}
 40% {
 stroke: #0057e7;
}
 66% {
 stroke: #008744;
}
 80%, 90% {
 stroke: #ffa700;
}
}
@keyframes 
color {  100%, 0% {
 stroke: #d62d20;
}
 40% {
 stroke: #0057e7;
}
 66% {
 stroke: #008744;
}
 80%, 90% {
 stroke: #ffa700;
}
}

.text-azul {
  color:#0073b7 !important;
}

/*
 * Component: Info Box
 * -------------------
 */
.info-box {
  display: block;
  min-height: 120px;
  background: #fff;
  width: 100%;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  margin-bottom: 15px;
}
.info-box-icon {
  background:#FFFFFF;
  border-radius:2px 0 0 2px;
  display:block;
  float:left;
  font-size:45px;
  height:40px;
  line-height:40px;
  text-align:center;
  width:90px;
}



/*-------------CHAT--------------*/
#menu-toggle {
    z-index: 4;
    position: fixed;
    top: 750px;
    right: 0;
}


/* Header */

.header {
    display: table;
    position: relative;
    width: 100%;
    height: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.contact-wrap{
    position: relative;
    display: table;
    width: 100%;
    cursor: pointer;
}
.contact-wrap .contact-profile-img{
    display: table-cell;
    width: 24px;
    height: 24px;
    vertical-align: middle;
}
.contact-wrap .contact-profile-img .profile-img{
    width: 32px;
    height: 32px;
    vertical-align: top;
}
.contact-wrap .contact-name{
    display: table-cell;
    width: 100%;
    padding: 0 7px;
    overflow: hidden;
    vertical-align: middle;
    line-height: 12px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#chat-container {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 280px;
    background-color: #ffffff;
    z-index: 9999;
    display:block;
    /*overflow: auto;*/
}
#chat-container.fixed {
    position: fixed;
    min-height: 0 !important;
    /* border-left: 1px solid #495d7f;*/
}
#chat-container .user-status {
    display: inline-block;
    background: #575d67;
    margin-right: 5px;
    width: 8px;
    height: 8px;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    -webkit-border-radius: 8 !important;
    -moz-border-radius: 8px !important;
    border-radius: 8px !important;
}
#chat-container .user-status.is-online {
    background-color: #06b53c;
}
#chat-container .user-status.is-busy {
    background-color: #ee4749;
}
#chat-container .user-status.is-idle {
    background-color: #f7d227;
}
#chat-container .user-status.is-offline {
    background-color: #666666;
}
#chat-container .chat-inner {
    overflow: auto;
    height: 100%;
    /*border-left: 1px solid #bbbcc0;*/
}
#chat-container .chat-header {
    font-size: 16px;
    color: #ffffff;
    padding: 20px 10px;
    line-height: 1;
    margin: 0;
    border-bottom: 1px solid #53698f;
    background-color: #495d7f;
    position: relative;
}
#chat-container .chat-header .chat-form-close, #chat-container .chat-header .chat-config {
    color: #ffffff;
    font-size: 15px;
    margin-left:20px;
}
#chat-container .chat-group {
    margin-top: 10px;
}
#chat-container .chat-group > strong {
    text-transform: uppercase;
    color: #767676;
    display: block;
    padding: 6px 15px;
    font-size: 14px;
}
#chat-container .chat-group > a {
    display: block;
    padding: 6px 15px;
    position: relative;
    color: #333333;
    text-decoration: none;
}
#chat-container .chat-group > a .badge {
    font-size: 12px;
    margin-left: 5px;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-opacity: 1;
    -moz-opacity: 1;
    opacity: 1;
}
#chat-container .chat-group > a .badge.is-hidden {
    -webkit-opacity: 0;
    -moz-opacity: 0;
    opacity: 0;
}
#chat-container .chat-group > a.active {
    background: #ffffff;
}
#chat-container .chat-group > a.active:before {
    content: '';
    display: block;
    position: absolute;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 8px 0 8px 8px;
    border-color: transparent transparent transparent #bbbcc0;
    left: 0;
    top: 50%;
    margin-top: -8px;
}
#chat-container .chat-group > a:hover {
    background: #ffffff;
}
#chat-container #chat-box {
    position: absolute;
    right: 280px;
    width: 340px;
    background-color: #ffffff;
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    display: none;
}
#chat-container #chat-box .chat-box-header {
    padding: 10px 24px;
    font-size: 14px;
    color: #fff;
    border-bottom: 1px solid #53698f;
    background-color: #495d7f;
}
#chat-container #chat-box .chat-box-header .chat-box-close {
    color: #ededed;
    font-size: 13px;
}
#chat-container #chat-box .chat-box-header small {
    color: #BBBBBB;
    font-size: 12px;
    padding-left: 8px;
}
#chat-container #chat-box ul.chat-box-body {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: auto;
    height: 250px;
}
#chat-container #chat-box ul.chat-box-body > li {
    padding: 20px 24px;
    padding-bottom: 5px;
    padding-top: 0px;
}
#chat-container #chat-box ul.chat-box-body > li:before {
    content: " ";
    display: table;
}
#chat-container #chat-box ul.chat-box-body > li:after {
    clear: both;
    content: " ";
    display: table;
}
#chat-container #chat-box ul.chat-box-body > li.odd {
    background: #3a4a65;
}
#chat-container #chat-box ul.chat-box-body > li .avt {
    border-radius: 50%;
    margin: 5px 5px 0px 0px;
    vertical-align: -9px;
}
#chat-container #chat-box ul.chat-box-body > li .user {
    font-weight: bold;
    color: #fff;
}
#chat-container #chat-box ul.chat-box-body > li .user:after {
    content: ':';
}
#chat-container #chat-box ul.chat-box-body > li .time {
    float: right;
    font-style: italic;
    color: #ededed;
    font-size: 11px;
    margin-top: 12px;
}
#chat-container #chat-box ul.chat-box-body > li p {
    margin: 10px 0 8.5px;
    color: #eaeaea;
}
#chat-container #chat-box .chat-textarea {
    background: #e5e5e5;
    padding: 20px 24px;
    position: relative;
    border-top: 1px solid #e5e5e5;
}
#chat-container #chat-box .chat-textarea textarea {
    background: #465879;
    border: 1px solid #465879;
    color: #fff;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
#chat-container #chat-box .chat-textarea textarea::-webkit-input-placeholder {
    /* WebKit browsers */
    color: #ededed;
}
#chat-container #chat-box .chat-textarea textarea:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: #ededed;
}
#chat-container #chat-box .chat-textarea textarea::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #ededed;
}
#chat-container #chat-box .chat-textarea textarea:-ms-input-placeholder {
    /* Internet Explorer 10+ */
    color: #ededed;
}
.online-status{
    color:#06b53c;
}
.offline-status{
    color:#666666;
}

/* CHAT CSS */

.dropdown ul.dropdown-menu:before {
    content: "";
    border-bottom: 10px solid #fff;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
    position: absolute;
    top: -10px;
    right: 16px;
    z-index: 10;
}
.chat-container{
    border: 1px solid #bbbcc0;
}
.contact-user-info{
    font-size: 12px;
    font-weight: bold;
    margin-top: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    display: table;
    width: 100%;
}
.contact-user-info  .online-status{
    display: table-cell;
    text-align: right;
}
.user-status.is-online {
    background-color: #06b53c;
}
.user-status {
    display: inline-block;
    background: #575d67;
    width: 10px;
    height: 10px;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    -webkit-border-radius: 10 !important;
    -moz-border-radius: 10px !important;
    border-radius: 10px !important;
}

#chat-container li.in .message {
    background: #d7e4ed;
    margin-left: 65px;
    border-left: 3px solid #d7e4ed;
    border-radius: 4px;
}
#chat-container li.in img.avt {
    float: left;
}
#chat-container li img.avt {
    width: 50px;
    height: 50px;
    -webkit-border-radius: 50% !important;
    -moz-border-radius: 50% !important;
    border-radius: 50% !important;
}
.chat-box-body li {
    list-style: none;
    margin: 30px auto;
    font-size: 12px;
}
.chat-header .dropdown-menu{
    font-size: 11.6px;
}
#chat-container li .message .chat-datetime {
    font-style: italic;
    color: #888;
    font-size: 11px;
}
#chat-container li .message .chat-body {
    display: block;
    margin-top: 5px;
}
#chat-container li .message {
    display: block;
    padding: 7px;
    position: relative;
}
#chat-container li.in .message .chat-arrow {
    display: block;
    position: absolute;
    top: 15px;
    left: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #d7e4ed;
}

#chat-container li.out .message .chat-arrow {
    display: block;
    position: absolute;
    top: 15px;
    right: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #e5e5e5;
}
#chat-container li.out .message a.chat-name, ul.chats li.out .message a.chat-datetime {
    text-align: right;
}
#chat-container li.out .message a.chat-name {
    color: #dc6767;
}
#chat-container li.out img.avt {
    float: right;
}
#chat-container  li.out .message {
    background: #e5e5e5;
    margin-right: 65px;
    border-right: 3px solid #e5e5e5;
    border-radius: 4px;
}
.error {
    color: #A94442;
    font-size: 10px;
    text-align: left;
}
@media (max-width: 1600px) {
    #botoes button{
        padding: 3rem 15rem;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
}

@media (max-width: 1500px) {
    #botoes button{
        padding: 1rem 10rem;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
}

@media (max-width: 1450px) {
    #botoes button{
        padding: 1rem 8rem;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
}

@media (max-width: 1300px) {
    #botoes button{
        padding: 1rem 6rem;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
}

@media (max-width: 1250px) {
    #botoes button{
        padding: 1rem 4rem;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
}

@media (max-width: 1200px) {
    #botoes button{
        padding: 1rem 2rem;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
}