/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

body {
    min-width: 300px;
    font-family: "Open Sans", sans-serif;
    font-size: .800rem;
    min-width: 300px;
    color: #000;
    background-color: #fcfefa;
}

@media (max-width: 767px) {
    body {
        padding-top: 55px;
    }
}

h1, h2, h3, h4, h5, h6, [class^="as-h"] {
    font-family: "Nunito", sans-serif;
    line-height: 1.2;
    margin: 15px 0;
    color: #000;
}

h1.bold, h2.bold, h3.bold, h4.bold, h5.bold, h6.bold, [class^="as-h"].bold {
    font-weight: bold;
}

h1.italic, h2.italic, h3.italic, h4.italic, h5.italic, h6.italic, [class^="as-h"].italic {
    font-style: italic;
}

a {
  text-decoration: none;
  color: darkgreen;
}

a:hover {
  color: #a3d80c;
}

.hidden {
  display: none;
}



/* * Content */
#main {
    /*margin-left: 250px;*/
    margin-top: 70px;
    padding: 70px 30px;
    z-index: 0;
    transition: all 0.35s;
    overflow-y: auto;
    max-height: 100%;

    /* Space for fixed navbar */
}

.dashboard .card {
  font-size: 12px;
  box-shadow: 5px 5px 8px #8888;
}

.pagination .page-link {
  font-size: 10px !important;
}

.nav-pills .nav-link.active {
  background-color: green !important;
}

.nav-link {
  color: darkgreen;
}
.nav-link:hover {
  color: darkorange;
}

.radioIstitutiButton {
  margin-bottom: 10px;

}



/* Main Content */
div#main-content {
    position: relative;
    top: 70px;
    padding-bottom: 50px;
}

.col-form-label, .form-label {
  font-weight: bold;
}

.noborder {
  border-color: transparent;
  background-color: transparent;
}

.form-floating input {
  /*border-color: transparent !important; */
  font-size: 14px;
}

.form-floating label {
  color: green !important;
  font-weight: bold;
}

.section-title {
  color: darkgreen;
  font-weight: bold;
}

#main .card-body {
  background-image: linear-gradient(135deg, #fdfcfb 0%, #f9f9f5 100%);
}

#main .card-body th {
  background-color: transparent;
}

#main .dt-column-title {
  color: darkgreen;
}

.radioIstitutiButton {
  background-image: linear-gradient(to right, #abbaab 0%, #ffffff  51%, #abbaab  100%);
}

.radioIstitutiButton {
  padding: 15px 25px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
  border-radius: 10px;
  display: block;
}       

#btnGroupContainer .btn-check + .btn .btn-image {
  filter: opacity(10%) !important;
}

#btnGroupContainer .btn-check:checked + .btn {
  color: transparent !important;
}

#btnGroupContainer .btn-check:checked + .btn .btn-image {
  filter: opacity(100%) !important;
}

#btnGroupContainer label {
  padding: 10px 10px 10px 10px;
}

#btnGroupContainer img {
  width: 100%;
}
/*
.radioIstitutiButton:hover {
  background-position: right center;  change the direction of the change here 
  color: #fff;
  text-decoration: none;
}
*/


/* LoginView */
.form-signin {
  width: 100%;
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}
.form-signin .form-control {
  position: relative;
  box-sizing: border-box;
  height: auto;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.logo {
  padding-left: 10px;
}
.logo img {
  width: 250px;
}
.logo a {
  display: flex;
}
.logo strong {
  margin-left: 6px;
  text-transform: uppercase;
}
.logo strong span {
  color: #00a6eb;
}

/* Header */
.header {
  background-color: #171f42;
  background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#78a977), to(#171f42));
  background-image: -moz-linear-gradient(-90deg, #78a977, #171f42);
}

.header-nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.header-nav .nav-link > span {
  color: #a3d80c;
}


/* Sidebar */
.sidebar {
  background-color: #171f42;
  position: fixed;
  left: 0;
  top: 70px;
  bottom: 0;
  width: 270px;
  padding: 40px 20px;
}

.shrinked {
  width: fit-content !important;
}

.sidebar-nav {
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
}

.sidebar-nav .nav-item {
  margin-bottom: 5px;
}

.sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  border-radius: 4px;
}

.sidebar-nav .nav-link:hover {
  color: orange;
  background-color: green;
}

.sidebar-nav .nav-link i {
  color: white;
  margin-right: 10px;
  font-size: 16px;
}

.sidebar-nav .nav-link > span {
  color: #a3d80c;
}


/* Menubar */
.menubar {
  background-color: #171f42;
  position: fixed;
  left: 0;
  right: 0;
  height: 50px;
  z-index: 1030;
  box-shadow: 1px 5px 5px;
}


.menubar a.nav-link {
  color: #e1ae00;
  padding-bottom: 5px;
}

.menubar a.nav-link.active {
  color: #e1ae00 !important;
}

.menubar a.nav-link:hover {
  color: #a3d80c !important;
  border-bottom-width: 2px;
  border-bottom-style: solid;
}

.menubar .nav-link.show {
  color: #a3d80c !important;
}

.navbar-nav .dropdown-menu {
  position: absolute;
  top: 40px;
  background-color: #171f42;
  padding-left: 10px;
}

.navbar-nav .dropdown-menu a.dropdown-item:hover {
  color: #a3d80c !important;
}


/* Footer */
.action-footer {
  position: fixed;
  height: fit-content;
  bottom: 0;
  width: calc(100% + 30px);
  background-color: whitesmoke; 
  padding: 10px;
  margin-top: 10px;
  border-top: 1px solid #ced4da;
  overflow-x: hidden;
  z-index: 500;
}


/* Bootstrap */
.form-control, .form-select {
  font-size: 0.800rem !important;
}


/* frontpage:home */
.accordion-button{
  padding-top: 0;
  padding-bottom: 0;
}
.accordion-button:not(.collapsed) {
  background-color: whitesmoke !important;
}
.accordion-item {
  border: 0;
}

.table {
  --bs-table-striped-bg: rgb(251, 239, 211) !important;
}