:root{
    --primary-color:#00264b;
    --secondary-color:#1166c0;
}
/*html{background:url(../images/top-h-bg.png) repeat-x top;}*/
body{
    font-size: 0.8rem;
}
.help-block{
    color: #fa0000;
}
.petra-logo{
    height: 50px!important;
}
.content-wrapper{
    background-color: #fff!important;
}
.btn-primary{
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 2px 5px !important;
    margin: 0px !important;
}
a{
    text-decoration: none;
}
.btn-link{
    color: var(--secondary-color);
}
.pointer{
    cursor: pointer;
}
.dropdown-item {
    color: #000!important;
}
.petra-box{
    border: 1px solid var(--primary-color);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 20px;
}
.petra-box-active{
    background-color: var(--secondary-color);
    color: #fff;
}
.petra-box a p{
    font-size: 10px;
}
.petra-box a i{
    font-size: 30px;
    padding-top: 20px;
    margin-bottom: 10px;
}
.main-sidebar {
    scrollbar-width: none;
}
.main-sidebar::-webkit-scrollbar {
    display: none; /* Might be enough */
    background: transparent;
    visibility: hidden;
    width: 0px;
}
.navigation_wrapper_outer {
    position: relative;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 10px 0px;
    border-bottom: 1px #ddd solid;
    background: #F5F5F5;
}
.navrect {
    width:100% !important;
    position: absolute;
    margin: 0px;
    padding: 0px;
    top: 0px;
    background-color: #428bca;
}
.navrect ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}
.navrect li {
    height: 75px;
    float: left;
    border-bottom: 1px solid #ddd;
}
.navrect li a {
    width:100%;
    border-right: 1px solid #ddd;
    color: #fff;
    display: block;
    font-size: 11px;
    line-height: 27px;
    padding: 21px 0 0;
    text-align: center;
    text-transform: uppercase;
    margin-top: 1px;
}
.btn{
    padding: 2px 5px !important;
    margin: 0px !important;
}
.navrect li a:hover {
    color: #000;
        text-decoration: none;
    background-color:rgba(0,0,0,0.1) ;
}
.navrect li a.active {
    color: #fff;
    background-color:rgba(0,0,0,0.2) ;
    margin-top: 0px;
    height: 75px;
}
.navrect li.seperator {
    margin: 0px;
    padding: 1px 0px 0px 0px;
}
.navrect li a.disabled {
   pointer-events: none;
   cursor: default;
   color: #fff;
}
   .buttons{
            padding:5px 40px;
            display: inline-block;
        }
.btn-width {
    width: 10em;
}



input[type="button"]:disabled{
    color:#888;
}

button[type="button"]:disabled{
    color:#888;
}

hr.style1{
    border-top: 1px solid #8c8b8b;
}
hr.style8 {
    border-top: 1px solid #8c8b8b;
    border-bottom: 1px solid #fff;
}
hr.style8:after {
    content: '';
    display: block;
    margin-top: 2px;
    border-top: 1px solid #8c8b8b;
    border-bottom: 1px solid #fff;
}
hr.style18 {
  height: 30px;
  border-style: solid;
  border-color: #8c8b8b;
  border-width: 1px 0 0 0;
  border-radius: 20px;
}
hr.style18:before {
  display: block;
  content: "";
  height: 30px;
  margin-top: -31px;
  border-style: solid;
  border-color: #8c8b8b;
  border-width: 0 0 1px 0;
  border-radius: 20px;
}

.glyphicon { margin-right:10px; }
.p-panel-body { padding:0px; }
.p-panel-body table tr td { padding-left: 15px }
.p-panel-body .table {margin-bottom: 0px; }

.brand-link .brand-image {
    float: none;
}

legend.scheduler-border {
    float: none;
    width: auto;
    padding: 0px 20px;
    text-transform: uppercase;
    background: #fff;
    font-size: 20px;
    font-weight: bolder;
    color: #1166c0;
}

fieldset.scheduler-border {
    border: solid 1px var(--secondary-color) !important;
    border-radius: 0.75rem;
    padding: 1rem;
    border-bottom: none;
    position: relative;
}

.form-row-bottom {
    margin-bottom: 10px;
}

.card {
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    border-radius: 5px; /* 5px rounded corners */
}

.card:hover {
    box-shadow: 0 4px 8px 0 rgba(66,139,202,1.0);
    transition: 0.3s;
    cursor: pointer;
    border-radius: 5px; /* 5px rounded corners */
}

.petraSmallLoader {
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid #3498db;
    border-bottom: 4px solid #3498db;
    width: 30px;
    height: 30px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}

.main-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
}

div.dt-container div.dt-length select, .form-select-sm {
width: auto;
display: inline-block;
margin-right: 0.5em;
border-radius: 30px;
background-color: lightblue;
}

div.dt-container div.dt-search input, .form-control-sm {
margin-left: 0.5em;
display: inline-block;
width: auto;
border-radius: 30px;
background-color: lightblue;
}

.petra-table {
    border-radius: 15px !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    background-color: #ffffff;
    width: 100%;
}

.petra-table thead {
    background-color: #cddcf5 !important;
    color: #000000;
    border-radius: 15px 15px 0px 0px !important;
}

.petra-table thead th {
    color: #000000;
    padding: 10px 15px;
    border: none;
    text-align: left !important;
}

.petra-table tfoot {
    background-color: #cddcf5 !important;
    color: #000000;
    border-radius: 15px 15px 0px 0px !important;
}

.petra-table tfoot th {
    color: #000000;
    padding: 10px 15px;
    border: none;
    text-align: left !important;
}

.petra-table tbody td {
    background-color: #ffffff;
    color: #333;
    padding: 3px 10px;
    border: none;
    text-align: left !important;
}

.petra-table thead  tr:first-child th:first-child {
    border-top-left-radius: 15px;
}

.petra-table thead  tr:first-child th:last-child {
    border-top-right-radius: 15px;
}

.petra-table tbody  tr:last-child td:first-child {
    border-bottom-left-radius: 15px;
}

.petra-table tbody  tr:last-child td:last-child {
    border-bottom-right-radius: 15px;
}

.bootstrap-select {
    width: 100% !important;
    border: #dee2e6 solid 1px !important;
}
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active,
.sidebar-light-primary .nav-sidebar > .nav-item > .nav-link.active{
    background-color: #006ad7!important;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
}

.navbar-primary{
    background: var(--primary-color);
}
input,
select,
button{
    font-size: .9rem!important;
}
.pager{
    list-style: none;
    margin: 0;
    padding: 0;
    text-align : right;
    margin-top: 10px;
}
.pager li{
    display: inline-block;
    color: #fff;
}
.pager li a{
    color: #fff;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 10px;
    background-color: var(--secondary-color);
}

/*
* FEBY
* background image for login page */
/* .bg-image {
    background-image: url('{{ UtilityFacade::schoolWallpaperPath() }}');
    background-size: cover;
    background-position: center;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
} */
/* password strength checker */
.progress {
    height: 5px;
}
.password-strength-bar {
    height: 5px;
}
.password-requirements .requirement {
    display: flex;
    align-items: center;
}
.password-requirements .requirement .fa {
    margin-right: 10px;
}

.login_card {
    background-color: #ffffff35 !important; /* adjusted alpha channel to 0.7 */
    --bs-card-bg: #ffffffa1;
    box-shadow: none;
}
.card:hover {
    box-shadow: none;
    transition: 0.3s;
    cursor: pointer;
    border-radius: 5px;
}
.schoollogo{
    width: 120px;
}

/* for drop down select picker  */
.card-primary:not(.card-outline) > .card-header, .card-primary:not(.card-outline) > .card-header a{
    color: #000;
}

.feeTable {
    border: 2px solid !important;
}

.feeTable td, .feeTable th {
    border: 2px solid !important;
}
[class*="sidebar-dark-"] .nav-sidebar > .nav-item > .nav-treeview{
    background: #002f58;
    /* border-left: 1px solid #fff; */
}

[class*="sidebar-dark-"] .nav-treeview > .nav-item > .nav-link.active,
[class*="sidebar-dark-"] .nav-treeview > .nav-item > .nav-link.active:hover,
[class*="sidebar-dark-"] .nav-treeview > .nav-item > .nav-link.active:focus{
    background-color: #00274900;
    color: #ffffff;
    border-left: 2px solid #fff;
    border-radius: 0;
    font-weight: bolder;
}

.settings-fieldset{
    border: 1px solid #c4c4c4;
    padding: 10px;
    border-radius: 10px;
    margin-top: 20px;
}
.settings-fieldset legend{
    width: auto;
    padding: 0 15px;
    font-size: 18px;
    font-weight: bolder;
    color: #8d8d8d;
    background-color: #fff;
    margin-top: -25px;
}

/* .menu-toggler{
    color: #002749!important;
    padding: 12px;
    background: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.menu-toggler a{
    color: #002749!important;
} */
@media print {
    body{
        font-size: 11px;
    }
    .petra-table {
        font-size: 11px;
        border: 1px solid #ccc; /* Outer border for the table */
    }

    .petra-table td {
        border-bottom: 1px solid #ddd; /* Line after each row */
    }

    .petra-table th {
        /* background-color: #cddcf5 !important; /* Background color for header */
        padding: 5px 10px; /* Optional padding for header cells */
    }
    .row{
        display: flex;
        flex-wrap: wrap;
        max-width: 100%;
    }
    .col-md-9 {
        flex: 0 0 auto;
        width: 75%;
    }
    .col-md-8 {
        flex: 0 0 auto;
        width: 66.66%;
    }
    .col-md-7 {
        flex: 0 0 auto;
        width: 58.33%;
    }
    .col-md-6 {
        flex: 0 0 auto;
        width: 50%;
    }
    .col-md-5 {
        flex: 0 0 auto;
        width: 41.66%;
    }
    .col-md-4 {
        flex: 0 0 auto;
        width: 33.33%;
    }
    .col-md-3 {
        flex: 0 0 auto;
        width: 25%;
    }
    .col-md-2 {
        flex: 0 0 auto;
        width: 16.66%;
    }

    .feeTable {
        border: 2px solid !important;
    }

    .feeTable td, .feeTable th {
        border: 2px solid !important;
    }
}

/* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/*Media Quries*/
@media(max-width: 451px) {
     .navigation_wrapper_outer {
        width: 100%;
        height: 1200px;
    }
    .navrect li{
    width:100%;
    }
    .petra-table {
        font-size: 0.8rem;
    }
}
@media(min-width: 451px) and (max-width: 540px){
   .navigation_wrapper_outer {
        width: 100%;
        height: 600px;
    }
    .navrect li {
    width: 50%;
}
}
@media(min-width: 541px) and (max-width: 767px) {
    .navigation_wrapper_outer {
        width: 100%;
        height: 600px;
    }
    .navrect li {
    width: 50%;
    }
}

/*from 768 to 991*/
@media(min-width: 768px) and (max-width: 991px){
    .navigation_wrapper_outer {
        width: 100%;
        height: 300px;
    }
    .navrect li {
    width: 25%;
    }
}

@media(min-width: 992px) and (max-width: 1199px){
    .navigation_wrapper_outer {
       width: 100%;
        height: 300px;
    }
    .navrect li{
    width: 25%;
    }
    .navrect li a {
    width: 275.5px;
    }
}

@media(min-width: 1200px) {
   .navigation_wrapper_outer {
       width: 100%;
        height: 150px;
    }
    .navrect li{
    width: 12.5%;
    }
}
