@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

::after,
::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

h1 {
    font-weight: 600;
    font-size: 1.5rem;
}

body {
    font-family: 'Poppins', sans-serif;
}

.wrapper {
    display: flex;
}

.main {
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    transition: all 0.35s ease-in-out;
    background-color: #fafbfe;
}

#sidebar {
    width: 70px;
    min-width: 70px;
    z-index: 1000;
    transition: all .25s ease-in-out;
    display: flex;
    flex-direction: column;
    background-color: #4570B4;
}

#sidebar.expand {
    width: 260px;
    min-width: 260px;
}

#toggle-btn {
    background-color: transparent;
    cursor: pointer;
    border: 0;
    padding: 1rem 1.5rem;
}

#toggle-btn i {
    font-size: 1.5rem;
    color: #fff;
}

.sidebar-logo {
    margin: auto 0;
}

.sidebar-logo a {
    color: #FFF;
    font-size: 1.15rem;
    font-weight: 600;
}

#sidebar:not(.expand) .sidebar-logo,
#sidebar:not(.expand) a.sidebar-link span {
    display: none;
	text-decoration: none;
}

.sidebar-nav {
    padding: 2rem 0;
    flex: 1 1 auto;
}

a.sidebar-link {
    padding: .625rem 1.625rem;
    color: #FFF;
    display: block;
    font-size: 0.9rem;
    white-space: nowrap;
    border-left: 3px solid transparent;
}

.sidebar-link i {
    font-size: 1.1rem;
    margin-right: .75rem;
}

a.sidebar-link:hover {
    background-color: rgba(255, 255, 255, .075);
    border-left: 3px solid #3b7ddd;
}

.sidebar-item {
    position: relative;
}

#sidebar:not(.expand) .sidebar-item .sidebar-dropdown {
    position: absolute;
    top: 0;
    left: 70px;
    background-color:;
    padding: 0;
    min-width: 15rem;
    display: none;
}

#sidebar:not(.expand) .sidebar-item:hover .has-dropdown+.sidebar-dropdown {
    display: block;
    max-height: 15em;
    width: 100%;
    opacity: 1;
}

#sidebar.expand .sidebar-link[data-bs-toggle="collapse"]::after {
    border: solid;
    border-width: 0 .075rem .075rem 0;
    content: "";
    display: inline-block;
    padding: 2px;
    position: absolute;
    right: 1.5rem;
    top: 1.4rem;
    transform: rotate(-135deg);
    transition: all .2s ease-out;
}

#sidebar.expand .sidebar-link[data-bs-toggle="collapse"].collapsed::after {
    transform: rotate(45deg);
    transition: all .2s ease-out;
}


.topbar {
    width: 100%;
    margin: 0;
    border-radius: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
}

.welcome-message h5 {
    font-size: 1rem;
    color: #333;
    margin: 0;
}

.user-info span {
    color: #333;
}

.user-info img {
    object-fit: cover;
    border: 2px solid #ddd;
}

.content {
    padding: 1rem;
}


.footer {
    background-color: #f8f9fa;
    color: #6c757d;
    font-size: 0.875rem;
}

.icone-user-topbar
{
	width: 40px; height: 40px; font-size: 20px; background-color: #4570B4;
}

.abc
{
	text-align:left;
	text-decoration: none;
}

.search-container {
    transition: all 0.3s ease;
}

.search-box {
    display: flex;
    align-items: center;
    border-radius: 10px;
    padding: 5px 10px;
    height: 40px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

#sidebar.expand .search-box {
    background-color: #6d90d6;
}
.search-icon {
    color: white;
    font-size: 18px;
}

.search-input {
    background: transparent;
    border: none;
    color: white;
    margin-left: 10px;
    width: 100%;
    outline: none;
    font-size: 14px;
    display: block;
}



.search-box input {
    border: none;
    background: transparent;
    outline: none;
    color: white;
    width: 100%;
    padding-left: 10px;
    font-size: 0.9rem;
}


.search-box input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    -webkit-text-fill-color: white !important;
}


#sidebar:not(.expand) .search-box {
    justify-content: center;
}

#sidebar:not(.expand) .search-input {
    display: none;
}

#sidebar:not(.expand) .search-icon {
    margin: 0;
}

.search-input::placeholder {
  color: white;
}
  .yms-card-form {
    border: 2px solid #cde5f9;
    border-radius: 8px;
  }

  .yms-fieldset-wrapper {
    border: 2px solid #cde5f9;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 0.75rem;
  }

  .yms-form-label {
    font-weight: 500;
  }

  .yms-form-control {
    border-radius: 6px;
    height: 38px;
  }

  .yms-btn-cancelar {
    background-color: #dc3545;
    color: #fff;
    border-radius: 6px;
  }

  .yms-btn-cadastrar {
    background-color: #28a745;
    color: #fff;
    border-radius: 6px;
  }

  .yms-form-title i {
    color: #f4a300;
    font-size: 20px;
    margin-right: 6px;
  }
  
  
  .yms-btn-cancelar:hover {
  background-color: #bb2d3b;
  color: #fff;
}

.yms-btn-cadastrar:hover {
  background-color: #218838;
  color: #fff;
}


.yms-btn-home-default
{
	background-color:#4570b4; 
	color:white;
	border-color:#4570b4;
}

.yms-btn-home-default:hover {
	background-color: #34649c;
	color:white;
	border-color:#4570b4;
}

.card-custo
{
  border: 1px solid #dce7f3;
  border-radius: 10px;
}

    .yms-menu-section {
      margin-bottom: 2rem;
    }
    .yms-menu-title {
      font-weight: 600;
      font-size: 1.2rem;
      margin-bottom: 1rem;
    }
    .yms-menu-item {
      background-color: #4570b4;
      color: white;
      border-radius: 8px;
      padding: 1rem;
      text-align: center;
      transition: 0.3s;
      cursor: pointer;
    }
    .yms-menu-item:hover {
      background-color: #34495e;
    }
    .yms-menu-item i 
	{
      font-size: 24px;
      display: block;
      margin-bottom: 0.5rem;
    }
	
	    .yma-botao-cancelar {
      background-color: #d9534f;
      color: white;
      border: none;
      padding: 10px 30px;
      border-radius: 6px;
    }

    .yma-botao-cancelar:hover {
      background-color: #c9302c;
    }

    .yma-botao-cadastrar {
      background-color: #5cb85c;
      color: white;
      border: none;
      padding: 10px 30px;
      border-radius: 6px;
    }

    .yma-botao-cadastrar:hover {
      background-color: #449d44;
    }
	
.yma-botao-deletar 
{
  background-color: #d9534f;
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 6px;
}

.yma-botao-deletar:hover {
  background-color: #c9302c;
}

.yma-botao-editar {
  background-color: #4177b5;
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 6px;
}

.yma-botao-editar:hover {
  background-color: #34649c;
}

.btn-max-w {
  max-width: 200px;
}

.yms-switch {
  position: relative;
  display: inline-block;
  width: 70px;
  height: 36px;
}

.yms-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.yms-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #4CAF50;
  transition: .4s;
  border-radius: 34px;
  padding: 0;
}

.yms-slider:before {
  position: absolute;
  content: "ON";
  color: white;
  font-size: 14px;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  transition: .4s;
}

.yms-switch input:checked + .yms-slider {
  background-color: #4CAF50;
}

.yms-switch input:checked + .yms-slider:before {
  content: "ON";
}

.yms-switch input:not(:checked) + .yms-slider {
  background-color: #ccc;
}

.yms-switch input:not(:checked) + .yms-slider:before {
  content: "OFF";
  left: 14px;
}

.yms-slider:after {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  right: 6px;
  top: 6px;
  background-color: white;
  border-radius: 50%;
  transition: .4s;
}

.yms-switch input:checked + .yms-slider:after {
  transform: translateX(0);
}

.yms-switch input:not(:checked) + .yms-slider:after {
  transform: translateX(-34px);
}

@media (max-width: 576px) 
{
  .yms-switch {
    width: 60px;
    height: 32px;
  }

  .yms-slider:before {
    font-size: 12px;
    left: 10px;
  }

  .yms-switch input:not(:checked) + .yms-slider:after {
    transform: translateX(-30px);
  }

  .yms-slider:after {
    height: 20px;
    width: 20px;
    top: 6px;
    right: 6px;
  }
  
  .yms-pagination .page-item.active .page-link {
  background-color: #f58634;
  border-color: #f58634;
  color: white;
  font-weight: bold;
}

.yms-pagination .page-link {
  color: #f58634;
  border: 1px solid #dee2e6;
}

.yms-pagination .page-link:hover {
  background-color: #ffe2cc;
  color: #f58634;
}


ul.yms-pagination .page-item.active .page-link {
  background-color: #ffc107;
  border-color: #ffc107;
  color: white;
  font-weight: bold;
}

ul.yms-pagination .page-link {
  color: #ffc107;
  border: 1px solid #dee2e6;
  transition: background-color 0.2s ease, color 0.2s ease;
}

ul.yms-pagination .page-link:hover {
  background-color: #ffeb99;
  color: #000;
}
  
.sidebar-link,
.sidebar-link:visited,
.sidebar-link:hover,
.sidebar-link:active {
  text-decoration: none !important;
  color: white !important;
}

.yms-menu-item a {
  text-decoration: none !important;
  color: white !important;
}
  
  
  
  a.sidebar-link,
a.sidebar-link span,
.sidebar-link.abc,
.sidebar-link.abc span {
  text-decoration: none !important;
  color: white !important;
}


a,
a:visited,
a:hover,
a:active {
  text-decoration: none !important;
}



.div-com-bordas-arredondadas-superior 
{
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

      .dia-badge {
        display: inline-block;
        padding: 8px 16px;
        font-size: 14px;
        font-weight: 500;
        border-radius: 20px;
        margin: 2px;
        min-width: 80px;
        text-align: center;
      }
      .dia-ativo {
        background-color: #4cd964;
        color: white;
      }
      .dia-inativo {
        background-color: #a49e9e;
        color: white;
      }
}





.yms-table-responsive {
    overflow-x: auto;
    position: relative;
}

.yms-table {
    table-layout: auto;
    width: 100%;
    white-space: nowrap;
}



td.position-relative {
    position: relative;
}

.yms-table-responsive {
    overflow-x: visible !important;
    position: relative;
}

.yms-table {
    table-layout: auto;
    width: 100%;
    white-space: nowrap;
}

.yms-grid-default
{
  background-color: #4570b4 !important;
  color: white !important;
}

.yms-dropdown-menu {
    z-index: 9999 !important;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
}

.dropdown-toggle.show + .yms-dropdown-menu,
.yms-dropdown-menu.show {
    display: block !important;
}







.yms-menu-toggle-center {
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
}

.yms-mobile-header-center {
    background-color: #497BC4;
    padding: 10px;
}

.yms-mobile-menu-center {
    display: none;
    background-color: #f8f9fa;
    padding: 10px;
    animation: fadeSlide-center 0.3s ease-in-out;
}

@keyframes fadeSlide-center {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.yms-menu-item-center {
    background: #497BC4;
    color: white;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
}

    .yms-menu-item-center i {
        display: block;
        margin-bottom: 5px;
        font-size: 20px;
    }

.yms-menu-title-center {
    color: #497BC4;
    font-weight: bold;
    margin: 15px 0 10px;
}

@media (min-width: 576px) {
    .yms-mobile-header-center, .yms-mobile-menu-center {
        display: none !important;
    }
}


.page-item:first-child .page-link {
    border-top-left-radius: var(--bs-pagination-border-radius);
    border-bottom-left-radius: var(--bs-pagination-border-radius);
}
.active>.page-link, .page-link.active {
    z-index: 3;
    color: var(--bs-pagination-active-color);
    background-color: #ffc107;
    border-color: #ffc107;
}






.page-link {
    position: relative;
    display: block;
    padding: var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);
    font-size: var(--bs-pagination-font-size);
    color: #ffc107;
    text-decoration: none;
    background-color: var(--bs-pagination-bg);
    border: var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}


.page-link:hover {
    z-index: 2;
    color: black;
}







