/* input */
code {
  color:#0062cc;
}
.form-control,
.custom-select {
    font-size: .8rem;
    padding: .1rem .5rem;
    border-radius: .2rem;
    box-shadow: 0 1px 0 rgba(150,150,150,.1);
}
.form-control {
    border-bottom-color: rgb(186, 192, 208);
}
.btn {
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    font-size: .7rem;
    border-radius: .2rem;
    box-shadow: 0 1px 0 rgba(150,150,150,.1);
}
.btn.btn-sm {
  letter-spacing: 0;
  font-weight: 600;
}
.btn.btn-xs {
  letter-spacing: 0;
  font-weight: 600;
}
.form-control:focus,
.btn:focus,
.custom-select:focus {
    box-shadow: 0 0 0 2px rgba(0,0,10,.1);
}

table.datagrid.nomargins {
  margin-left: -20px;
  width: calc(100% + 40px);
}
table.datagrid.nomargins thead tr th:first-child,
table.datagrid.nomargins tbody tr td:first-child,
table.datagrid.nomargins tfoot tr th:first-child {
  padding-left: 20px;
}
table.datagrid.nomargins thead tr th:last-child,
table.datagrid.nomargins tbody tr td:last-child,
table.datagrid.nomargins tfoot tr th:last-child {
  padding-right: 20px;
}
table.datagrid.nomargins + div {
  border-top: 0 !important;
}

.datagrid .form-control,
.datagrid .custom-select,
.datagrid .form-control:focus,
.datagrid .custom-select:focus {
    box-shadow: none;
}

th {
  vertical-align: bottom;
}

.nav-link.nav-link-small {
  padding:.25rem .5rem !important;
  font-size: 60%;
}

.mtv-datetime {
  background: #fff !important;
}
.datepickers-container {
  z-index: 99999;
}

.rounded-xs {
  border-radius: .125rem !important;
}
.shadow-xs {
    box-shadow:
        0 1px 1px rgba(110,110,110,.1),
        0 0 5px rgba(238,238,238,.25);
}

.btn-outline-primary.disabled, .btn-outline-primary:disabled {
  border-color: #80bdff;
}
.btn-secondary {
    background-color: hsla(195, 43%, 95%, 1);
    border-color: hsla(195, 13%, 86%, 1);
    color: hsla(195, 20%, 50%, 1);
}


.form-control:disabled, .form-control[readonly] {
  background-color: #f6f7f9;
}

select[readonly],
.btn-secondary.disabled,
.btn-secondary:disabled,
.btn-secondary.disabled:hover,
.btn-secondary:disabled:hover {
    background-color: #f6f7f9;
    border-color: hsla(195, 13%, 86%, 1);
    color: hsla(195, 10%, 50%, 1);
    pointer-events: none;
}
.btn-secondary:hover {
    background-color:hsla(195, 43%, 85%, 1);
    border-color: hsla(195, 43%, 76%, 1);
    color: hsla(195, 43%, 26%, 1);
}
/* buttons *
.btn {
    cursor: pointer;
    padding: .5rem 1.5rem;
    white-space: nowrap;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .025em;
    text-decoration: none;
    -webkit-transition: all .15s ease;
    transition: all .15s ease;
}
.btn-sm {
    padding: .3rem .5rem;
    font-weight: 400;
    border-radius: 3px;
}
.btn:not(.btn-sm) {
    background-image: linear-gradient(180deg,rgba(255,255,255,.1) 0%,rgba(255,255,255,.05) 20%,rgba(0,0,0,.1) 54%,rgba(0,0,0,.15) 84%);
}


/*.btn-secondary {
    background-color: rgba(255,255,255,.5);
}
*/

.btn-group-xs > .btn, .btn-xs {
    padding  : .4rem;
    font-size  : .6rem;
    line-height  : .8;
    border-radius : .125rem;
    text-transform: uppercase;
}

.btn-addnew {
  font-size: .9rem;
  font-weight: bold;
  border-left-width: 0 !important;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
/* select */
.custom-select {
    width:10rem;
	height:calc(2rem + 2px);
}
.custom-select-sm {
    font-size: .8rem;
    width:8rem;
    height:calc(1.5rem + 2px);
}
.custom-file-label:after {
    content:'Procurar';
}

.input-group-sm>.custom-select,
.input-group-sm>.form-control,
.input-group-sm>.input-group-append>.btn,
.input-group-sm>.input-group-append>.input-group-text,
.input-group-sm>.input-group-prepend>.btn,
.input-group-sm>.input-group-prepend>.input-group-text {
  font-size: .65rem;
}

/* radio button list */
.radioButtonList {
  /*padding: .5rem;*/
  /*background-color: rgba(255,255,255,.5);*/
  /*border-bottom:1px solid #ced4da;*/
  /*box-shadow: 0 1px 1px rgba(50,50,50,.1);*/
}

.radioButtonList .custom-radio {
  line-height: 2;
}
.radioButtonList .custom-control-label {
  font-size: 11px;
  text-transform: uppercase;
  margin-right: 3rem;
  white-space: nowrap;
}

/* dropdown-submenu */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu a::after {
  transform: rotate(-90deg);
  position: absolute;
  right: 6px;
  top: .8em;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: .1rem;
  margin-right: .1rem;
}
.dropdown-menu-right .dropdown-submenu .dropdown-menu {
  top: 0;
  right: 100%;
  left: auto;
  margin-left: .1rem;
  margin-right: .1rem;
}

/* dropdown-menu */
body.full .dropdown-menu .dropdown-header {
    font-size: .6rem;
}
body.full .dropdown-menu .dropdown-item {
    min-width: 15rem;
}
body.full .dropdown-menu .dropdown-item {
    font-size: .8rem;
}
/*
body.full .dropup:not(.bootstrap-select):before,
body.full .dropdown:not(.bootstrap-select):before {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(100,100,100,0.5);
    content: '';
    z-index: 1;
    transform: translate(-100vw,0);
    opacity: 0;
    transition: opacity ease-in .2s;
    will-change: transform;
}
body.full .dropup:not(.bootstrap-select).show:before,
body.full .dropdown:not(.bootstrap-select).show:before {
    transform: translate(0,0);
    opacity: 1;
}
*/

/* modal */
.modal-header {
    padding:.8em 2rem;
}
.modal-title {
    font-size: 1rem;
}
.modal-body {
    padding: 1rem 0 0;
}
.modal-dialog {
  box-shadow:
    0 2px 6px hsla(215, 20%, 40%,0.65),
    0 6px 4px -4px hsla(215, 20%, 40%,.75);
}

.dropup:not(.bootstrap-select):before,
.dropdown:not(.bootstrap-select):before,
.myBackdrop {
    /*background:linear-gradient(180deg, hsla(215, 6%, 57%,.75) 0%, hsla(215, 26%, 57%,.75) 100%);*/
    background:rgb(100,100,100,.75);
    /*background:red;*/
}

.myBackdrop {
    position: fixed;
    top:0;
    left:0;
    bottom:0;
    right:0;
    cursor: default;
    display: none;
    z-index: 1049;
    /*backdrop-filter: blur(1px);*/
}


#toast-wrapper {
  /*right: auto !important;*/
  /*left: 50% !important;*/
  /*transform: translateX(-50%);*/
  /*margin: 20px 5px 5px 5px;*/
}

.dropdown-menu-arrow {
  top: -18px;
  left: 50%;
  width: 0;
  height: 0;
  position: absolute;
}
.dropdown-menu-arrow:before,
.dropdown-menu-arrow:after {
  content: "";
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-width: 7px 8px;
  border-style: solid;
  border-color: transparent;
  z-index: 1001;
}
.dropdown-menu-arrow:after {
  bottom: -18px;
  right: -8px;
  border-bottom-color: #fff;
}
.dropdown-menu-arrow:before {
  bottom: -17px;
  right: -8px;
  border-bottom-color: rgba(0,0,0,.15);
}

.dropdown-menu-arrow.dropdown-menu-arrow-right {left: 90%;}
.dropdown-menu-arrow.dropdown-menu-arrow-left {left: 10%;}

.dropup .dropdown-menu-arrow {
  top:auto;
  bottom: -18px;
  transform: rotate(180deg);
}


div.dropdown-menu.open { width: 100%; } ul.dropdown-menu.inner>li>a { white-space: initial; }




.bootstrap-select {
  min-width: 220px !important;
  /* max-width: 220px; */
}
.bootstrap-select .btn {
  letter-spacing: 0;
}
.bootstrap-select .dropdown-toggle {
  border:1px solid #ced4da;
  /*box-shadow:0 1px 1px rgba(50,50,50,.1);*/
  background-color: #fff;
  height: 26px;
  text-transform: none;
}
.bootstrap-select.show .dropdown-toggle{
  box-shadow: none;
  border-color: #111;
}
.bootstrap-select .dropdown-menu {
  z-index: 9999 !important;
}
.bootstrap-select .dropdown-menu.show {
  margin-top: -5px;
  border-top: none;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  border-color: #111;
  width:100%;
}
.bootstrap-select .dropdown-menu,
.bootstrap-select .dropdown-menu .bs-actionsbox button {
  font-size: 11px;
}
.input-group .bootstrap-select .dropdown-toggle {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}



.mini-card-tabs .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
  background: hsla(196, 28%, 97%, 0.8);
  border-bottom-color: hsla(196, 28%, 97%, 0.8);
  color:#111 !important;
}
.mini-card-tabs .card-header {
  padding-top:5px;
  padding-left:15px;
}
