:root {
	--blue: #004672;
}
@media (min-width: 992px) {
    button:focus, button:active{
        outline: none;
        border:none;
    }
    .services-toggle-btn2{
        /* position: fixed;
        top: 50%;
        left: 395px;
        margin-right: -50%;
        transform: translate(0, -50%);
        background-color: rgb(20 72 106 / 95%);
        background-position: right;
        border-radius: 15px;
        width: 102px;
        height: 168px;
        color: #fff;
        border: 0;
        font-size: 20px;
        line-height: 20px;
        padding: 0 15px 0 0;
        text-align: center;
        transition: .5s; */
    }


    .services-toggle-btn2.inner{
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 0;
        left: 400px;
        background-color: var(--blue);
		border-radius: 0;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
        width: 50px;
        height: 60px;
        color: #fff;
        border: 0;
        font-size: 20px;
        line-height: 20px;
        text-align: center;
        /* z-index: 3; */
		font-size: 1.7rem;
    }

	/* .services-toggle-btn2.active {
		left: 396px;
	}
	 */


	.services-sidebar-side {
		position: fixed;
		top: 0;
		left: -403px;
		width: 400px;
		height: 100vh;
		background: rgb(255 255 255 / 80%);
		background: var(--blue);
		color: #fff;
		z-index: 999;
		overflow: auto;
		transition: .5s;
	}
	
	.services-sidebar-side > div {
		position: relative;
		height: 100%;
	}
	
	/* .services-sidebar-side:before {
		position: absolute;
		top: 0;
		right: 0;
		width: 12px;
		height: 100%;
		background: rgb(17 72 107);
		display: block;
		content: '';
	} */
	
	.services-sidebar-side > div:before {
		position: absolute;
		top: 0;
		right: 0;
		width: 3px;
		/* height: calc(50% - 81px); */
		height: inherit;
		background: #fff;
		display: block;
		content: '';
	}
	
	/* .services-sidebar-side > div:after {
		position: absolute;
		bottom: 0;
		right: 0;
		width: 3px;
		height: calc(50% - 81px);
		background: #fff;
		display: block;
		content: '';
	} */
	
	
	.services-sidebar-side .categories2 {
		background: #EBEBEB;
		margin-right: 12px;
		padding: 20px;
		border-radius: 0 0 2rem 2rem;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        display: flex;
        justify-content: center;
	}

	.services-sidebar-side .icons .category-icons{
		justify-content: space-evenly;
	}
	
	.services-sidebar-side .categories2 input {
        position: fixed;
    top: -999px;
	}
	
	.services-sidebar-side .categories2 label {
        position: relative;
		background: rgba(0,0,0,0.1);
		border: 1px solid rgba(255,255,255,0);
		border-radius: 10px;
		padding: 12px;
		max-width: 86px;
		text-align: center;
		line-height: 1rem;
		margin: 0 10px;
        color:var(--blue);
	}
	
	.services-sidebar-side .categories2 label:hover {
		border: 1px solid rgba(255,255,255,0.6);
	}


	/* BACGROUND BLUE FOR SELECTED */
	.services-sidebar-side .categories2 input:checked + label {
		font-weight: bold;
		border: 1px solid rgba(255,255,255,1);
		position: relative;
        color:white;
        background-color:var(--blue) ;
	}
	
	.services-sidebar-side .categories2 input:checked + label:after {
		top: 100%;
		left: 50%;
		border: solid transparent;
		content: "";
		height: 0;
		width: 0;
		position: absolute;
		pointer-events: none;
		border-color: rgba(136, 183, 213, 0);
		border-top-color: var(--blue);
		border-width: 15px;
		margin-left: -15px;
	}


	.services-sidebar-side .categories2 input:checked + label {
		font-weight: bold;
		border: 1px solid rgba(255,255,255,1);
		position: relative;
	}
	
	.services-sidebar-side .icons {
		padding: 30px 15px;
		max-height: calc(100vh - 98px);
		overflow: auto;
		background-color:var(--blue);
	}

	.services-sidebar-side.active {
		left: 0;
        z-index: 999;
		overflow:visible;
	}
	
	.services-sidebar-side .category-icons > div {
		float: right;
		width: 147.5px;
	}

	.services-sidebar-side a {
		display: block;
		background: rgba(255,255,255,1);
		border-radius: 1rem;
		padding: 10px;
		text-align: center;
		box-shadow: 0 0 5px rgba(0,0,0,0.1);
		color: #002841;
		font-weight: 500px;
		margin: 15px;
	}
	
	.services-sidebar-side a:hover, .services-sidebar-side a:focus {
		background: rgba(255,255,255,1);
		transform: scale(1.05);
	}
	
	.services-sidebar-side a .icon {
		height: 50px;
	}
	
	.services-sidebar-side a img {
		height: 45px;
	}
	
	.services-sidebar-side a figcaption {
		line-height: 1rem;
		height: 32px;
	}
 		/* scroll bar */
	.services-sidebar-side ::-webkit-scrollbar {
		width: 5px;
		border-radius: 5px;
	  }
	  
	  /* Track */
	  .services-sidebar-side ::-webkit-scrollbar-track {
		background: rgba(255,255,255,0.2);
	  }
	  
	  /* Handle */
	  .services-sidebar-side ::-webkit-scrollbar-thumb {
		background: rgba(255,255,255,0.5);
	  }
	  
	  /* Handle on hover */
	  .services-sidebar-side ::-webkit-scrollbar-thumb:hover {
		background: rgba(255,255,255,0.8);
	  }
}

	
	.services-sidebar-side .categories2 input {
		position: fixed;
		top: -999px;
	}
	
	.services-sidebar-side .categories2 label {
		border: 1px solid rgba(255,255,255,0);
		border-radius: 10px;
		text-align: center;
		line-height: 1rem;
		padding: 5px;
		max-width: 86px;
		margin: 0 10px;
		padding:12px;
	}
	
	.services-sidebar-side .categories2 label:hover {
		border: 1px solid rgba(255,255,255,0.6);
	}
	
	.services-sidebar-side .categories2 input:checked + label {
		font-weight: bold;
		border: 1px solid rgba(255,255,255,0.2);
	}
	
	.category-icons{
		display: flex;
		flex-wrap: wrap;
	}
	.category-icons > div{
		width: 100%;
		max-width: 40%;
		margin:1%;
	}
	
	.services-sidebar-side a {
		display: block;
		background: rgba(255,255,255,1);
		border-radius: 1rem;
		padding: 10px;
		text-align: center;
		box-shadow: 0 0 5px rgb(0 0 0 / 10%);
		color: #000;
		font-weight: 500px;
		width: inherit;
		float: right;
		margin: 5px;
		
	}
	
	.services-sidebar-side a .icon {
		height: 70px;
		display: flex;
    justify-content: center;
    align-items: center;
	}
	
	.services-sidebar-side a img {
		height: 49px;
	}
	
	.services-sidebar-side a figcaption {
		line-height: 1rem;
		height: 32px;
	}
	
	.services-sidebar-side:after {
		clear: both;
		display: block;
		content: '';
	}



.services-sidebar-side ::-webkit-scrollbar {
  width: 5px;
  border-radius: 5px;
}

/* Track */
.services-sidebar-side ::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.2);
}

/* Handle */
.services-sidebar-side ::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.5);
}

/* Handle on hover */
.services-sidebar-side ::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.8);
}

.sub-services {
	display: none;
	
	position: absolute;
    top: 0;
    left: 0;
	
    background: rgba(0,0,0,0.6);
    width: 100%;
    height: 100%;
	backdrop-filter: blur(3px);
}

.services-sidebar-holder .sub-services > div {
	position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
	
    background: #004672;
    color: #fff;
    width: 100%;
	max-width: 400px;
	max-width: 900px;
    border-radius: 1rem;
    padding: 0;
    border: 2px solid #fff;
    box-shadow: 0 0 30px rgb(0 0 0 / 50%);
	z-index: 999;
}
.services-sidebar-holder .sub-services .title{
	display: block;
	border-bottom: 1px solid rgba(255,255,255,0.2);
}
.sub-services h3 {
	padding: 1rem;
	font-size: 1.2rem;
}

.sub-services .close {
	position: absolute;
    top: 15px;
    left: 15px;
    color: #fff;
    opacity: 1;
}

.sub-services a {
	display: block;
	background: rgba(255,255,255,0.9);
	color: #004672;
	padding: 8px;
	border-radius: 2rem;
	margin: 0;
	margin-top: 15px;
	width: 100%;
	
}

.sub-serviceshp a {
	color: #0058a9;
    font-size: 1.4rem;
    display: block;
    background: rgba(255,255,255,1);
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 0.75rem;
	margin-top: 0;
}

.sub-services a:hover {
	transform: none;
	background: rgba(255,255,255,1);
}

.sub-services .listhp {
	max-height: 500px;
	overflow: auto;
	position: relative;
    flex: 1 1 auto;
    padding: 1rem;
	column-count: 2;
}


.services-sidebar-holder {
	position: relative;
}


@media (max-width: 991px) {
	.services-sidebar-side .categories2 label{
		background: var(--blue);
		padding: 12px;
    max-width: 86px;
    text-align: center;
    line-height: 1rem;
    margin: 0 10px;
	}
	.sub-services {
		position: fixed;
	}
	.sub-services .list {
		max-height: 390px;
	}
	button:focus, button:active{
		border:none;
		outline:none;
	}
	
	.services-toggle-btn2.inner{
		width: inherit;
		position: relative;
		display: flex;
		color:var(--white);
		background: #064671;
    
    padding: 15px;
	font-size: 22px;
    font-weight: 500;
	height: 70px;
	}
	.services-toggle-btn2.inner > span {
		position: absolute;
		inset: 0;
		margin: auto;
		padding: 1rem;
	}
	.services-toggle-btn2.inner > .fa-times {
		content: '\f00d';
		font-family: 'FontAwesome';
		position: absolute;
		top: 12px;
		right: 15px;
		/* font-size: 30px; */
	}

	.services-toggle-btn2 {
		background-color: transparent;
		background-position: center;
		background-repeat: no-repeat;
		border:0;
		border-top: 2px solid #fff;
		height: inherit;
		color: #fff;
		flex:3;
		/* width: 100%; */
		font-size: 18px;
		font-weight: 500;
		border-left: solid 1px #ffffff40 ;
		border-right: solid 1px #ffffff40 ;
		/* position: fixed;
		bottom: 0;
		right: 0;
		width: 100%;
		z-index: 999;
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: column; */
	}
	
	.services-toggle-btn2.active {
		background: var(--blue);
		padding: 15px;
		border-top: 2px solid #fff;
	}
	
	.services-toggle-btn2.active:before {
		/* content: '\f00d';
		font-family: 'FontAwesome';
		position: absolute;
		top: auto;
		right: auto; */
		/* font-size: 30px; */
	}
	
	.services-sidebar-side {
		display: none;
		
		background: rgb(12 70 112 / 90%);
		color: #fff;
		right: 0;
		bottom: 50px;
		backdrop-filter: blur(5px);
	}
	
	.services-sidebar-side.active {
		display: block;
		z-index: 999;
		height: calc(100% - 50px);
		bottom:50px;
	}
	
	.services-sidebar-side .icons {
		padding: 10px 20px;
		max-height: 70vh;
		/* max-height: calc(100vh - 200px); */
		overflow: auto;
		background-color: var(--blue);
	}
	
	.services-sidebar-side .categories2 {
		border-top: 2px solid var(--blue);
		background: #EBEBEB;
		padding: 10px;
		text-align: center;
	}

	/* .services-toggle-btn2 > .fa{
		font-size: 0.9rem;
	} */
	/* hide the arrow up when active */
	.services-toggle-btn2.active > .fa{
		/* color:transparent; */
	}
	.sub-services{
		top: 68px;
		height: calc(100% - 68px);
	}

}