/* This style uses mobile first approach default styles targets mobile screens */

*{
	box-sizing: border-box;
	margin: 0;
}

body {
	font-family: Tahoma, sans-serif;
	background: #f8f8f8;
}

.header{
	width: 100%;
	margin-top: 40px;
	padding: 10px;
	display: flex;
}
.header .header-logo{
	margin: auto;
	width: 300px;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 80px;

}
.header .header-logo img{
	width: 100%;
}
.body{
	margin-top: 10px;
	padding: 30px;
	width: 100%;
}
.body h2{
	padding-left: 9px;
	color: #747c83;
	font-size: 2rem;
	font-weight: 500;
}
.body .body-row{
	width: 100%;
	margin-top: 10px;
	clear: both;
	display: flex;
	flex-direction: column;
	/* add space between flex items */
	gap: 2rem;
	/* justify-content: space-evenly; */
}


.body .body-row .item{
	/* flex-grow: 1; */
	/* width: 33.33%; */
	/* width: 50%; */
	/* float: left; */
	/* padding: 1rem; */
}
.body .body-row .item a{
	color: #fff;
	text-decoration: none;
	font-size: 2.2rem;
}
.body .body-row .item .box{
	background:#f5f5f5;
	/* padding: 50px; */
	padding: 1rem;
	text-align: center;
	border: solid 2px #5f6368;
	color: #5f6368;
	border-radius: 5px;
	width: 100%;
	transition: transform .2s;
}
.body .body-row .item .box:hover{
	transform: scale(1.05);
    background: #F1F2F3;
    color: #004783;
    border: 2px solid #004783;
}

/* Not needed for single style box */
/*
.body .body-row .item #payroll:hover{
    transform: scale(1.05);
    background: #F1F2F3;
    color: #004783;
    border: 2px solid #004783;
}

.body .body-row .item #accounting:hover{
    transform: scale(1.05);
    background: #F1F2F3;
    color: #004783;
    border: 2px solid #004783;
}

.body .body-row .item #agent:hover{
    transform: scale(1.05);
    background: #F1F2F3;
    color: #004783;
    border: 2px solid #004783;
}
*/

.body .body-row .item .box i{
	font-size: 4rem;
}

/* ====================================== */
.popup-bg {
	display: none;
	position: fixed;
	z-index: 500;
	padding-top: 100px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.4);
}
.popup-bg .popup{
	background-color: #ffffff;
	/* border: solid 1px #000; */
	width: 420px;
	padding: 30px 40px;
	position: absolute;
	transform: translate(-50%,-50%);
	left: 50%;
	top: 50%;
	border-radius: 8px;
	font-family: "Poppins",sans-serif;
	text-align: center;
}
.popup-bg .popup p{
	font-size: 20px;
	font-weight: bold;
	text-align: justify;
	margin: 20px 0;
	line-height: 25px;
}
.popup-bg .popup a{
	display: block;
	width: 150px;
	position: relative;
	margin: 10px auto;
	text-align: center;
	background-color: #0f72e5;
	border-radius: 20px;
	color: #ffffff;
	text-decoration: none;
	padding: 8px 0;
}
.loader {
    color: #0f72e5;
    font-family: Consolas, Menlo, Monaco, monospace;
    font-weight: bold;
    font-size: 25px;
    opacity: 0.8;
  }
  .loader:before {
    content: "{";
    display: inline-block;
    animation: pulse 0.4s alternate infinite ease-in-out;
  }
  .loader:after {
    content: "}";
    display: inline-block;
    animation: pulse 0.4s 0.3s alternate infinite ease-in-out;
  }

  @keyframes pulse {
    to {
      transform: scale(0.8);
      opacity: 0.5;
    }
  }
/* ====================================== */

.footer {
	width: 100%;
	margin-top: 25px;
	padding: 15px;
	display: inline-block;
	text-align: center;
	color: #1a1a1aff;
	font-size: 1rem;
}

.footer a {
    color: #858585; /* Change to your desired color */
    text-decoration: none;
}

.footer a:hover {
    color: #004783; /* Change to your desired hover color */
    text-decoration: none;
    cursor: pointer;
}

/****** Adjustments for laptop/tablet/desktop view ******/
@media only screen and (min-width: 992px) {
/* working centered desktop screen */
	html, body {
		height: 100%;
		width: 100%;
		margin: 0;
		display: flex;
		align-items: center;
	}

	.header{
		margin-bottom: 40px;
	}

	.page-container {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}
	
	.body .body-row {
		flex-direction: row;
		justify-content: space-evenly; /* use space-between if more than 2 icons */
	}


	.body .body-row .item {
		flex: 1 1 auto; /* allow flex item to grow and shrink */
		max-width: calc(35% - 20px); /* Adjust as needed divide 100% by the number of item; subtracting a margin - this ensures that all item has same width */
	}

	.body .body-row .item a{
		font-size: 2rem;
	}

	.body .body-row .item .box{
		padding: 10%;
	}

	.footer {
		margin-top: 100px;
	}
}
/* end */
