:root {
  --bs-body-font-size: 1.1rem; 
}a

form .input {
    margin-bottom: 10px;
    margin-right: 10px;
}

.lined .row {
    border-bottom: 1px dashed #ccc;
    padding: 10px 0px;
}

.checkbox label {
    font-weight: normal;
}
.checkbox input[type=checkbox] {
    margin-right: 10px;
}

.container {
    max-width: 170rem;
}

.is_hidden, .hidden {display:none;}


.mytabs {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.mytabs .tab-body {
    overflow: auto;
    flex: 1;
}

#flash_div {
    max-width: 950px;
    text-align: center;    
}

#flash_div .error{
    margin: 20px auto 10px auto;
	padding: 10px 20px;
    color: rgb(188, 72, 72);
    border: 1px solid red;    
}

#flash_div .success{
    margin: 20px auto 10px auto;
	padding: 10px 20px;
    color: #356dc0;
    border: 1px solid #356dc0;    
}

#tab-body {
    overflow: hidden;
    margin-left: 50px;
    padding: 30px;
}
#opscreen_calltypes, #opscreen_company {
    overflow: auto;
    height: 100%;
}

.mytabs .tabs{
    padding: 35px 16px 0px 16px;
    background: #fff;
    border-bottom: 1px solid #eee !important;
    display: flex;
    margin-left: 50px;
}


.mytabs.ui-tabs .ui-tabs-nav li {
    margin-bottom: -1px;
    padding-bottom: 1px;
}


.mytabs a.tab {
    background: #eee;
    margin-right: 10px;
    position: relative;
    padding: 5px 10px;
    color: #777;
    min-width: 100px;
    text-decoration: none;
    border: 1px solid #ccc;
    text-align: center;
}

.mytabs a.tab::after {
    content: "";
    position: absolute;
    bottom: -2.5px;
    left: 0;
    width: 100%;
    height: 2.5px;
    background-color: transparent;
    transition: background-color 0.3s;
}

.mytabs .tab.active::after,
.mytabs a.tab:hover::after {
    background-color: #1f2e84;
}

.mytabs a.tab.active, 
.mytabs a.tab:hover {
    color: #222;
}


#menu{
  width: 100%;
  margin: 0px;
  padding: 10px 0 0 50px;
  list-style: none;
  background: #fff;
 position: fixed;
  top: 0;
  left: 0;
  z-index: 7000;       
  border-bottom: 1px solid #eee; 
}

.qnumber {
	padding: 0px 10px;
}
#menu li{
        float: left;
        padding: 0 0 10px 0;
        position: relative;
}

#menu a{
        float: left;
        height: 25px;
        padding: 0 15px;
        color: #555;
        text-transform: uppercase;
        text-decoration: none;
}

#menu li ul li a {
    color: #fefefe;
}

#menu li:hover > a{
        color: #222;
}

*html #menu li a:hover{ /* IE6 */
        color: #222;
}

#menu li:hover > ul{
        display: block;

}

a.disabled, a.disabled .fa {
    color: #ccc;
    cursor: none;
}
/* Sub-menu */

#menu ul{
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    position: absolute;
    top: 35px;
    left: 0;
    z-index: 99999;
    background: #777;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#menu ul li{
    float: none;
    margin: 0;
    padding: 0;
    display: block;
    color: #fefefe;
}


#menu ul li:last-child{
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#menu ul a, #menu ul span{
    padding: 10px 20px;
    height: auto;
    line-height: 1;
    display: block;
    white-space: nowrap;
    float: none;
    text-transform: none;
    border-bottom: 1px dashed #aaa;
}

#menu ul span {
	color: #777;
}

*html #menu ul a{ /* IE6 */
        height: 10px;
        width: 150px;
}

*:first-child+html #menu ul a{ /* IE7 */
        height: 10px;
        width: 150px;
}

#menu ul a:hover{
        background: #0186ba;

}

#menu ul li:first-child a{
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
}

#menu ul li:first-child a:after{
    content: '';
    position: absolute;
    left: 30px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid #444;
}

#menu ul li:first-child a:hover:after{
    border-bottom-color: #04acec;
}

#menu ul li:last-child a{
    -moz-border-radius: 0 0 5px 5px;
    -webkit-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
}

/* Clear floated elements */
#menu:after{
        visibility: hidden;
        display: block;
        font-size: 0;
        content: " ";
        clear: both;
        height: 0;
}

* html #menu             { zoom: 1; } /* IE6 */
*:first-child+html #menu { zoom: 1; } /* IE7 */
/* drop down menu end */

#main {
    margin-top: 80px;
}

.filter {
  display: flex; /* Activates flexbox layout for children */
  flex-wrap: wrap; /* Allows columns to wrap to new lines if the screen is too small */
  justify-content: space-around; /* Optional: distributes space evenly */
}
.filter input, .filter select {
    padding: 10px;
}
.filter .col {
  flex: 1 0 25%; /* Shorthand: flex-grow, flex-shrink, flex-basis */
  /* flex-grow: 1 (allows columns to grow to fill space) */
  /* flex-shrink: 0 (prevents columns from shrinking below their basis) */
  /* flex-basis: 25% (sets initial width to 25% of the container) */
  padding: 15px; /* Optional: adds space inside the columns */
  /* Add background-color or border for visibility */
}

#filters input:not([type="submit"]), #filters select {
    padding: 8px 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

/* Hamburger button - hidden on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333; /* match your nav color */
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Animate to X when open */
.hamburger.open span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* Mobile styles */
@media (max-width: 768px) {
	#main {
		margin-top: 30px;
	}
    .hamburger {
        display: flex;
        margin: 20px 0px 0px 10px;
    }

    #menu {
        display: none;
        flex-direction: column;
        width: 100%;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    #menu.open {
        display: flex;
    }

    #menu li {
        width: 100%;
    }

    #menu li a {
        display: block;
        padding: 5px 16px;
    }

    /* Dropdowns: always visible when parent is shown on mobile */
    #menu li ul {
        position: static;
        display: none;
        padding-left: 16px;
        list-style: none;
    }

    #menu li.submenu-open > ul {
        display: block;
    }
}

@media (max-width: 768px) {
    /* Override the desktop hover-to-open behavior */
    #menu li:hover > ul {
        display: none;
    }

    /* Only open submenus when JS adds the class */
    #menu li.submenu-open > ul {
        display: block;
        position: static;       /* remove absolute positioning */
        background: #555;       /* slightly different shade to show nesting */
        border-radius: 0;
        box-shadow: none;
    }

    /* Remove the arrow triangle on mobile - it's positioned for desktop */
    #menu ul li:first-child a:after {
        display: none;
    }

    /* Fix floats so items stack vertically */
    #menu li {
        float: none;
    }

    #menu a {
        float: none;
        height: auto;
        padding: 6px 16px;
    }

    #menu ul a, #menu ul span {
        padding: 10px 16px 10px 28px; /* indent submenu items */
    }
    
	.paginator a, .pagination a {
	    color: var(--color-cakephp-blue);
	    display: inline-block;
	    min-width: 3rem;
	    padding: 0;
	    position: relative;
	    text-decoration: none;
	    transition: background .3s,color .3s;
	}    
}