.menu-altern{
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    color: white;
    text-transform: uppercase;
    font-weight: bold;

}

@media (min-width:993px) {
    .hsm:hover .submenu{
        display: block !important

    }
}
.menu-altern .submenu{
    position: absolute;
    right: 0;
    width: 200px;
    color: black;
    text-transform: initial;
    font-weight: initial;
    display: none;
    z-index: 999
}

.has-success{
    border-color: #45ccb1 !important ;
}
.has-error{
    border-color: #f66e84 !important ;
}

select.form-control{
    height: auto !important;
}

.menu-altern .submenu .list-group-item a{
    padding: 7px; color: black; text-decoration: none; display: block
}

.form-horizontal .form-group {
    margin-left: 0;
    margin-right: 0;
}
.input-group-addon{
    background: inherit !important; 
}
.modal-body{
    padding: 0 !important;
}
.form-control{
    border: 1px solid #d0d0d0;
    padding: 10px 20px;
    border-radius: 15px;
}
.form-control-2{
    border: none;
     padding: 10px 5px;
    background: #f3f3f3;
    border-radius: 0;
}
.form-control-2:focus{
    outline: 1px solid #d4d4d4;
    background: none;
}

.fc td.fc-today.fc-day{
    box-shadow: inset 0 0 20px 0px black;
    
}
.m-header .m-header__top{
    height: 54px !important
}
.m-header--fixed.m-header--minimize-off .m-header{
    height: 124px !important
}
.m-header--fixed .m-body{
    padding-top: 55px !important;
}
@media (max-width: 992px){
    .m-header--fixed-mobile .m-body{padding-top: 67px !important}
}
@media (max-width: 768px){
    .m-grid__item.m-page__container{
        padding-left: 0 !important;
        padding-right: 0 !important;

    }
    .m-portlet__body{
        padding-right: 5px !important;
        padding-left: 5px !important;

    }
}

.table.table-bordered *{
    border-color: #b7b7b7;
}

.bgsel.selected{
    background-color: #f76900 !important;
    color: white;
}
.bgsel.selected *{
    color: white !important
}

.fc-day:hover{
   opacity: 0.5 !important;
}

/*Allow pointer-events through*/
.fc-slats, /*horizontals*/
.fc-content-skeleton, /*day numbers*/
.fc-bgevent-skeleton /*events container*/{
    pointer-events:none
}

/*Turn pointer events back on*/
.fc-bgevent,
.fc-event-container{
    pointer-events:auto; /*events*/
}

.fc-sun.fc-day{background: #f5f5f5}

.fc-day-number{
    min-width: 20px;
    text-align: center;
    border-radius: 100%;
    border: none;
}

.day-select .fc-day-number{
    background: #f76900;
    color: white
}
.modal-content{
    border-radius: 0px;
}
.modal .modal-content .modal-header .close{
    line-height: inherit !important
}
.modal .modal-content .modal-header{
    padding: 10px !important
}
body{
    padding: 0 !important;
    background: #f9f9f9; 
}
.modal{
    overflow: auto !important;
}
@-moz-keyframes alerta_v /* Firefox */
{
    0%   {background:#ff8282;

    }
    100%   {background:white;

    }
}
.showi {
    display: block !important;
}
.reset{
   height: auto !important; background: none !important; border: none !important; display: block !important; margin: 0 !important; padding: 0 !important;     width: 100% !important;
}
select option[disabled]{
    color: #aeaeae !important;
    text-decoration: line-through !important;
}
.window.flscr {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: auto !important;
}
.valignm * {
    vertical-align: middle !important;
}
.alert-success {
    background-color: #4caf50;
    border-color: #4caf50;
    color: white;
}
.alert .close{    padding-top: 3px !important;}
.page_alert {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 1500;
}
.alert-danger {
    background-color: #ef5350;
    border-color: #ef5350;
    color: white;
}
.alert-warning{
    background-color: #e0a318;
    border-color: #e0a318;
    color: white;
}
.alert-info {
    background-color: #1e88e5;
    border-color: #1e88e5;
    color: white;
}
.form-group.form-md-line-input {
    margin: 6px 0;
}
.form-group.form-md-line-input {
    margin: 6px 0;
}

@-webkit-keyframes alerta_v /* Safari and Chrome */
{
    0%   {background:#ff8282;

    }
    100%   {background:white;

    }
}

@-webkit-keyframes alerta_i_v /* Safari and Chrome */
{
    0%   {background:#ff8282;

    }
    100%   {background:#1e88e5;

    }
}

.modal-backdrop{display: none !important}
.modal {
    z-index: 9997 !important;
    overflow: auto !important;
    background-color: #3e3e3ecc;
}

.modal .m-portlet{
    margin-bottom: 0
}

.animado{-oz-transition: all 50ms;
  -o-transition: all 50ms;
  -moz-transition: all 50ms;
  -webkit-transition: all 50ms;
}

.alerta_i_class{animation:alerta_i_v 3s;
  -moz-animation:alerta_i_v 3s infinite; /* Firefox */
-webkit-animation:alerta_i_v 3s infinite; /* Safari and Chrome */}

.alerta_class{animation:alerta_v 5s;
  -moz-animation:alerta_v 1s infinite; /* Firefox */
-webkit-animation:alerta_v 1s infinite; /* Safari and Chrome */}

.thumb{background-size: cover !important; background-position: center center !important; display: inline-block;
    vertical-align: middle;
}
.txt-overflow{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.breadcrumb {
    text-transform: uppercase
}
.thumb_foto {
    width: 41px;
    height: 41px;
    background-size: cover !important;
    background-position: center center !important;
}
.window{position: fixed;
    top: 0px;
    width: 700px;    z-index: 99999;
    max-height: 100%;
    background: white;
    box-shadow: 1px 1px 11px -3px #6f6f6f;
    max-width: 100%;
    overflow: hidden;
    padding: 10px;

}
.window .top{
  cursor: move;
  height: 30px;
}
.window .conteudo{
    height: calc(100% - 30px);
    overflow: auto;
}
.window.minimizado{
    width: auto !important;
    height: auto !important;
    background: #848484 !important;
    color: white !important;
}
.window.minimizado .conteudo{
    display: none !important;
}
.window.minimizado .botoes{
    display: none !important;
}
.ui-resizable-handle.ui-resizable-se {
    cursor: nw-resize;
    bottom: 0;
    right: 0;
    color: #b3b3b3;
    position: absolute;
    border-top: 10px solid transparent;
    border-left: 10px solid transparent;
    border-bottom: 10px solid #b3b3b3;
    border-right: 10px solid #b3b3b3;
}


.btn-file{position: relative;}
.btn-file input[type=file]{
    position: absolute;
    left: 0; top: 0;
    width: 100%;
    height: 100%;
    filter: alpha(opacity=0);
    opacity: 0;
    overflow: hidden;
}

.custom-content-reveal{overflow: auto;}

.modalr {
    z-index: 99999 !important;
}

.badge-resumoc{
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    margin-bottom: 0;
    text-transform: uppercase;
}



.thumb_foto{
    width: 100px;
    height: 100px;
    background-position: center center;
    background-size: cover;
}

.modal-header {    text-transform: uppercase;}
.m-menu__link-text.text-uppercase{
    font-size: 12px !important
}

.m-menu__item .a-menu[class*=' bg'] *{
  color: white !important
}

.controls-inline{
    white-space: nowrap;
}

.controls-inline label{
    display: block;
}

.controls-inline .pp{    width: 100px; display: inline-block;}
.controls-inline .pg{    width: calc(100% - 100px);    display: inline-block;}

#nfix{
    margin-top: 32px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0px; 
    z-index: 99999999;
    overflow: visible;

}
#nfix .alert{
    margin-top: 5px;
    width: 100%; 
    max-width: 500px;
    margin: auto;
    z-index: 99999;
    position: relative;
}

.checkbox label::after{padding-top: 7px !important}


.fundofoto{
    background-size: cover;
    background-position: center center;
}


[class^="flaticon-"]:before, [class*=" flaticon-"]:before, [class^="flaticon-"]:after, [class*=" flaticon-"]:after {
    margin: 0 !important;
    font-size: inherit !important;
}


#top_procurar .alert{
    position: absolute !important;
    left: 0 !important;
}
.form-group.has-error {
    border: 1px solid #ce3535 !important;
}

.jq_validate .has-error .help-block{
 color: #ce3535 !important;
 width: 100%;
 display: block;
 font-size: 12px;
 text-transform: uppercase;
 margin-top: 5px
}


.radio input[type="radio"], .checkbox input[type="checkbox"] {
    cursor: pointer;
    opacity: 0;
    z-index: 1;
    outline: none !important;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
}
.radio, .checkbox {
    position: relative;
}

.btn-outro{
    border: 1px solid #4a4a4a;
    cursor: pointer;
}

.dropdown-menu.show ul{
    display: block;
}
.hidden{display: none;}
.bootstrap-select.btn-group .dropdown-menu li{    padding: 0 10px;}

.popover{
    max-width: unset;
}

.popover{
    max-width: 500px
}

.img-perfil{
    display: none !important;
}

.nav.nav-tabs{
    white-space: nowrap !important;
    display: block !important;
    overflow: auto !important;
    text-align: left;
}
.nav.nav-tabs li{
    display: inline-block !important;
    margin-bottom: 0 !important
}

.modal-lg{
    max-width: 1024px
}
.alert-warning:not(.m-alert--outline){
    color: black !important
}


.foto_square{
    position: relative;
    width: 200px;
    height: 200px;
}
.foto_square:hover .overlay{
    display: block
}
.foto_square img{
    width: 100%;
    height: 100%;
}
.foto_square .overlay{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #00000073;
    padding-top: 30%;
    text-align: center;
    color: white;
    display: none;
}
.foto_square i{
    font-size: 62px;
}

.m-nav>.m-nav__separator.m-nav__separator--fit{
    margin-left: 0px; margin-right: 0px;
}
.m-topbar__user-profile .m-dropdown__content{
    overflow: auto !important
}

.fc-day-top.fc-sun .fc-day-number, .fc-day-top.fc-sat .fc-day-number {
    border-bottom: 1px solid black !important
}


.processing_div{
    position: fixed;
    top: 25%;
    z-index: 99999999;
    background: white;
    padding: 18px;
    width: 160px;
    text-align: center;
    border: 1px solid #b1b1b1;
    box-shadow: 1px 1px 13px 0px #bfbfbf;
    left: calc(50% - 80px);
    display: none;
}

span.fc-title{
    color: white !important
}
.fc-content::before{content: '' !important}

.hasevento span.fc-day-number {
    color: white;
}

th.fc-day-header{
    background: #b1b1b1 !important;
}
th.fc-day-header span{color:white !important;}

.m-option {
  display: table;
  width: 100%;
  padding: 1.4em;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  border-radius: 6px; 
}
.m-option .m-option__control {
    display: table-cell;
    vertical-align: top;
    width: 2.7rem;
    padding-top: 0.1rem; 
}
.m-option .m-option__control .m-radio {
    display: block; 
}
.m-option .m-option__label {
    display: table-cell; 
}
.m-option .m-option__label .m-option__head {
  display: table;
  width: 100%; 
}
.m-option .m-option__label .m-option__head .m-option__title {
    display: table-cell;
    vertical-align: top;
    width: 100%;
    font-size: 1.1rem; 
}
.m-option .m-option__label .m-option__head .m-option__focus {
    display: table-cell;
    vertical-align: top;
    font-size: 1.1rem;
    font-weight: 600; 
}
.m-option .m-option__label .m-option__body {
  display: block;
  padding-top: 0.7rem;
  font-size: 0.85rem; 
}
.m-option.m-option--plain {
    padding: 0;
    margin-top: -0.2rem;
    margin-bottom: 2rem; 
}
.m-option.m-option--plain .m-option__control {
  vertical-align: middle;
  width: 2.7rem; 
}
.m-option.m-option--plain .m-option__control .m-radio {
    margin-bottom: 1.6rem; 
}
.m-option.m-option--plain .m-option__label {
    vertical-align: middle; 
}
.m-option.m-option--plain .m-option__label .m-option__body {
    padding-top: 0.2rem; 
}

.m-option {
    border: 1px solid #ebedf2; 
}
.m-option .m-option__label .m-option__head .m-option__title {
    color: #3f4047; 
}
.m-option .m-option__label .m-option__head .m-option__focus {
    color: #3f4047; 
}
.m-option.m-option--plain {
    border: none; 
}


.form-group,
.form-group {
  position: relative;
  border-bottom: 1px solid #f4f5f8;
  padding: 10px;
  margin-bottom: 0;
  height: 100%;
  transition: all 0.2s ease-in-out; 
}

.form-group-active,
.form-group-active {
  background-color: #f8f9fa; 
}

.form-group label{
    font-size: 12px; text-transform: uppercase;
}

.form-control-label,
.form-control-label {
  margin-bottom: 8px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
  display: block; 
}



.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--single {
  background-color: transparent;
  border-color: transparent;
  height: auto; 
}

.select2-container--default .select2-selection--single .select2-selection__rendered,

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0;
    font-weight: 500; 
}

.select2-container--default .select2-selection--single .select2-selection__arrow,

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px; 
}

.modal .modal-content .modal-header .close{
    position: absolute;
    right: 0;
    top: 0;
    background: red;
    z-index: 1;
    color: white;
    border-radius: 100%;
    padding: 3px 7px;
    margin: -10px;
    opacity: 1;
}

.modal .modal-content .modal-header .modal-title{
        padding: 0 !important;
        text-align: center !important;
        display: block;
        width: 100%
}