:root {
    --palette01-color: #000692;
    --palette02-color: #45A7E8;
    --palette03-color: #0088E3;
    --palette04-color: #1E4863;
    --palette05-color: #006AB0;
}

.bg-palette01{ background: var(--palette01-color) !important; }
.bg-palette02{ background: var(--palette02-color) !important; }
.bg-palette03{ background: var(--palette03-color) !important; }
.bg-palette04{ background: var(--palette04-color) !important; }
.bg-palette05{ background: var(--palette05-color) !important; }
.text-palette01{ color: var(--palette01-color) !important; }
.text-palette02{ color: var(--palette02-color) !important; }
.text-palette03{ color: var(--palette03-color) !important; }
.text-palette04{ color: var(--palette04-color) !important; }
.text-palette05{ color: var(--palette05-color) !important; }
.bg-palette04-transparent{ background: var(--palette04-color)80 !important; }
.bg-red{ background: red !important; }
.text-white{ color: white !important; }
.text-right{ text-align: right; }

.btn-primary, .show>.btn.btn-primary {
    background: var(--palette01-color) !important;
    border-color: var(--palette01-color) !important;
    color: white;
}
.btn-primary:hover{
    background: #005187be !important;
    border-color: #005187be !important;
    color: white;
}
.btn-check:active+.btn.btn-primary, .btn-check:checked+.btn.btn-primary, .btn.btn-primary.active, .btn.btn-primary.show, .btn.btn-primary:active:not(.btn-active), .btn.btn-primary:focus:not(.btn-active), .btn.btn-primary:hover:not(.btn-active) {
    color: #fff;
    border-color: #005187be;
    background-color: #005187be!important;
}
.btn-info
{
    background: var(--palette03-color) !important;
    border-color: var(--palette03-color) !important;
    color: white;
}
.btn.btn-info:hover:not(.btn-active) {
    background-color: var(--palette02-color) !important;
    border-color: var(--palette02-color) !important;
    color: white;
}
.btn-check:active+.btn.btn-info, .btn-check:checked+.btn.btn-info, .btn.btn-info.active, .btn.btn-info.show, .btn.btn-info:active:not(.btn-active), .btn.btn-info:focus:not(.btn-active), .btn.btn-info:hover:not(.btn-active) {
    color: #fff;
    border-color: var(--palette02-color);
    background-color: var(--palette02-color)!important;
}
.text-info{ color: var(--palette02-color) !important; }

.btn-puzzleschool01{
    background: var(--palette01-color) !important;
    border-color: var(--palette01-color) !important;
    color: white;
}
.btn-puzzleschool01:hover{
    background: var(--palette03-color) !important;
    border-color: var(--palette03-color) !important;
    color: white;
}

.btn-puzzleschool02{
    background: var(--palette02-color) !important;
    border-color: var(--palette02-color) !important;
    color: white;
}
.btn-puzzleschool02:hover{
    background: var(--palette04-color) !important;
    border-color: var(--palette04-color) !important;
    color: white;
}

.btn-puzzleschool03{
    background: var(--palette03-color) !important;
    border-color: var(--palette03-color) !important;
    color: white;
}
.btn-puzzleschool03:hover{
    background: var(--palette04-color) !important;
    border-color: var(--palette04-color) !important;
    color: white;
}

.btn-puzzleschool04{
    background: var(--palette04-color) !important;
    border-color: var(--palette04-color) !important;
    color: white;
}
.btn-puzzleschool04:hover{
    background: var(--palette02-color) !important;
    border-color: var(--palette02-color) !important;
    color: white;
}

.btn-puzzleschool05{
    background: var(--palette05-color) !important;
    border-color: var(--palette05-color) !important;
    color: white;
}
.btn-puzzleschool05:hover{
    background: var(--palette04-color) !important;
    border-color: var(--palette04-color) !important;
    color: white;
}
.navbar-info {
    background: rgb(0,82,135);
    background: linear-gradient(90deg, rgba(0,82,135,1) 0%, rgba(0,106,176,1) 100%);
}
.menu-title-white .menu-item .menu-link .menu-title {
    color: #FFFFFF;
}
.card {
    box-shadow: 0 0 20px 0 rgb(76 87 125 / 35%);
}
.square{
	padding: 10px !important;
    width: 35px;
    height: 35px;
    text-align: center;
    border-radius: 10px;
    font-size: 16px;
}

.color-square {
    height: 35px;
    width: 35px;
    border: 1px solid black;
    display: inline-block;
}

.little-circle {
    width: 25px !important;
    height: 25px !important;
    line-height: 25px !important;
    text-align: center;
    border-radius: 50%;
}

.color-circle {
    width: 35px !important;
    height: 35px !important;
    border-radius: 50%;
    border: 1px solid black;
}

.form-control:disabled {
    background-color: #bdbdbd !important;
}

.card {
     border-radius: 1.5rem;
}

.card-header:first-child {
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
}

.carousel.carousel-custom .carousel-indicators.carousel-indicators-dots li:after {
    background-color: var(--palette02-color);
}
.carousel.carousel-custom .carousel-indicators.carousel-indicators-dots li.active:after {
    background-color: var(--palette04-color);
    width: 16px;
    height: 16px;
}
.carousel.carousel-custom .carousel-indicators.carousel-indicators-dots li {
    width: 16px;
    height: 16px;
}

.minicolors-theme-default .minicolors-input {
    height: initial !important;
    width: -webkit-fill-available !important;
    padding-left: 50px !important;
}

.minicolors-theme-default .minicolors-swatch {
    width: 35px !important;
    height: 35px !important;
}

.has-error, .has-error+.ck-editor, .has-error+.select2 {
	border: 3px solid #f1416c!important;
}

.title
{
    font-size: 3rem !important;
    color: var(--palette01-color);
    /* border-radius: 10px; */
    font-weight: bold;
    /* border-bottom: 4px solid; */
    padding-left: 15px;
}
.subtitle
{
    font-size: 2.5rem !important;
    color: var(--palette01-color);
    font-weight: bold;
}
.form-control.form-control-solid, .form-select.form-select-solid {
    background-color: #e4e6ef;
    border-color: #e4e6ef;
}
.nav-tabs .nav-link.active {
    border-top: 3px solid #0061a1;
}
.table-puzzleschool th {
    background: var(--palette01-color) !important;
    color: white;
}
.table-rounded {
    border-radius: 15px;
}
.table.table-bordered {
    border: 1px solid black !important;
}
.table.table-bordered th:not(:last-child), .table.table-bordered td:not(:last-child) {
    border-right: 1px solid black !important;
}
.table.table-bordered tbody tr:not(:last-child), .table.table-bordered thead tr {
    border-bottom: 1px solid black !important;
}

.table-grades td, .table.table-grades tbody tr:last-child {
    border: 1px solid black !important;
}
.table-grades th, .table.table-grades>:not(:last-child)>:last-child, .table-grades tfoot td, .table.table-grades tr:last-child td
{
    border: 3px solid black !important;
}
.table.table-grades tbody tr:last-child td{
    border-bottom: 3px solid black !important;
}
.table-grades td:first-child {
    border-left: 3px solid black !important;
    border-right: 3px solid black !important;
}
.table-grades td:last-child {
    border-right: 3px solid black !important;
}
.table td:last-child, .table th:last-child, .table tr:last-child {
    padding-right: 0.75rem;
}
.table td:first-child, .table th:first-child, .table tr:first-child {
    padding-left: 0.75rem;
}
.loading-image{
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin: 10px auto;
    width: 100px;
    height: 100px;
    background-image: url('../images/loading.gif');
}
.loading-modal {
    display: flex;
    justify-content:center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100000;
    width: 100%;
    height: 100%;
}

::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: var(--palette02-color);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--palette01-color) !important;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--palette01-color) !important;
}
@media (min-width: 992px) {
    div::-webkit-scrollbar-thumb, ol::-webkit-scrollbar-thumb, pre::-webkit-scrollbar-thumb, span::-webkit-scrollbar-thumb, ul::-webkit-scrollbar-thumb {
        background-color: var(--palette01-color);
    }
    .menu-title-white .menu-item .menu-link .menu-title {
        color: var(--palette01-color);
    }

}


/*OVERRIDING CSS PLUGINS*/
.swal2-styled.swal2-confirm {
    background-color: var(--palette01-color);
}
.swal2-styled.swal2-cancel {
    background-color: #d9214e;
}
.ck-content {
    min-height: 320px;
    border-radius: .75rem!important;
}
.ck-editor .ck-content {
    border-bottom-right-radius: 1.5rem!important;
    border-bottom-left-radius: .1.5rem!important;
    border-top-left-radius: 0!important;
    border-top-right-radius: 0!important;
}

.cursor-pointer{ cursor: pointer; }

.nav-line-tabs.with-hover .nav-item .nav-link.active, .nav-line-tabs .nav-item .nav-link:hover:not(.disabled), .nav-line-tabs .nav-item.show .nav-link {
    background-color: var(--palette01-color);
    color: white;
    border: 0;
    border-bottom: none;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: none;
}
.nav-line-tabs.with-hover .nav-item .nav-link
{
    transition: none;
}
div.dataTables_wrapper div.dataTables_length select {
    width: auto;
    display: inline-block;
}
.two-line-ellipsis {
    padding-left:2vw;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 325px;
    line-height: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    padding-top: 15px;
}
.table.gy-5 th {
    background-color: var(--palette01-color) !important;
    color: white!important;
    vertical-align: middle !important;
    text-align: center !important;
}
.table.gy-5 th{
    padding: 8px 8px !important;
}
.table.gy-5 td {
    padding: 8px 8px !important;
}
.btn {
    padding-left: 12px !important;
    padding-right: 12px !important;
}
table>thead>tr:first-child>th:first-child {
    border-top-left-radius: 10px;
}
table>thead>tr:first-child>th:last-child {
    border-top-right-radius: 10px;
}
.btn-wp-support {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .btn-wp-support {
        bottom: 15px;
        right: 15px;
        width: 50px;
    }
}
.text-tiny { font-size: .7em; }
.text-small { font-size: .85em; }
.text-big { font-size: 1.4em; }
.text-huge { font-size: 1.8em; }

.text-active-primary.active {
    transition: color .2s ease,background-color .2s ease;
    color: #fff!important;
}

.card {
    view-transition-name: page;
  }

  ::view-transition-old(page) {
    animation: fade 0.2s linear forwards;
  }

  ::view-transition-new(page) {
    animation: fade 0.3s linear reverse;
  }

  @keyframes fade {
    0% {
      opacity: 1;
      transform: translateY(0);
    }

    100% {
      opacity: 0;
      transform: translateY(50px);
    }
  }
