.mf_button a {
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 21px !important;
    background-color: #fc6704 !important;
    border: 2px solid #fc6704;
    padding: 8px 36px;
    border-radius: 34px;
    transition: all 0.5s ease-in-out;
}
.mf_button a:hover {
    color: #fc6704;
    background-color: transparent !important;
    transition: all 0.5s ease-in-out;
}
.mf_worksheetlist, .mf_wdlist {
    padding: 0;
	margin: 0;
    list-style: none;
}
.mf_worksheetitem {
		border: 1px solid #fc6704;
		border: 1px solid #cccccc;
		border-radius: 20px;
		padding: 20px;
		position: relative;
		margin-bottom: 60px;    font-family: "Poppins", Sans-serif;transition: all 0.5s ease-in-out;
	
	}
	.mf_worksheetitem h2 {
		position: absolute;
		top: -20px;
		left: 50px;
		background: #FFFFFF;
		padding: 6px 25px;
		font-size: 24px;
		line-height: 28px;
		font-weight: 500;
		color: #fc6704;
		font-family: "Poppins", Sans-serif;
		border-radius: 50px;
	}
	.mf_winsec {
		display: table;
		padding-top: 25px;
	}
	.mf_worksheetimg, .mf_worksheetdisc {
		display: table-cell;
		vertical-align: top;
	}
.mf_worksheetimg{
width:25%;
}
.mf_worksheetdisc {
	width:75%;
}
	.mf_worksheetdisc {
		padding-left: 30px;
		
	}
	.mf_worksheetdisc p{
		padding-bottom:20px;
		font-family: "Poppins", Sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;color: #000000;
	}
	.mf_buttonlk{
		Color:#000000;
		font-size: 16px;
		font-weight: 400;
		line-height: 21px;
		transition: all 0.5s ease-in-out;
		display: inline-flex;    font-family: "Poppins", Sans-serif;
	}
	.mf_buttonlk svg {
		width: 14px;
		vertical-align: middle;
		fill: #000000;
		    margin-left: 10px;
		font-weight: 400;
		transition: all 0.5s ease-in-out;
	}
	.mf_buttonlk:hover {
		color: #000000;
		background-color: transparent !important;
		transition: all 0.5s ease-in-out;    font-family: "Poppins", Sans-serif;
	}
.mf_buttonlk:hover svg {
		fill:#000000;
		transition: all 0.5s ease-in-out;
		 margin-left: 30px;
	}
.mf_worksheetitem:nth-child(odd) {
   border: 1px solid #fc6704;
}
.mf_worksheetitem:nth-child(even) h2 {
    color: #045E8D; 
}
.mf_worksheetitem:nth-child(even):hover {
    border: 1px solid #045E8D;
	transition: all 0.5s ease-in-out;
    -webkit-box-shadow: 0px 0px 13px 0px rgba(4, 94, 141, 1);
    -moz-box-shadow: 0px 0px 13px 0px rgba(4, 94, 141, 1);
    box-shadow: 0px 0px 13px 0px rgba(4, 94, 141, 1);
}

.mf_worksheetitem:nth-child(odd):hover{
		transition: all 0.5s ease-in-out;
	-webkit-box-shadow: 0px 0px 13px 0px rgba(252,103,4,1);
-moz-box-shadow: 0px 0px 13px 0px rgba(252,103,4,1);
box-shadow: 0px 0px 13px 0px rgba(252,103,4,1);
}
.mf_worksheetitem:nth-child(odd):hover .mf_buttonlk{
	color:#fc6704;
}

.mf_worksheetitem:nth-child(odd):hover .mf_buttonlk svg{
	fill:#fc6704;
	transition: all 0.5s ease-in-out;
	margin-left: 30px;
}
.mf_worksheetitem:nth-child(even):hover .mf_buttonlk{
	color:#045E8D;
}

.mf_worksheetitem:nth-child(even):hover .mf_buttonlk svg{
	fill:#045E8D;
	transition: all 0.5s ease-in-out;
	margin-left: 30px;
}
.mf_worksheetimg a img {
    overflow: hidden;
	transition: all 0.5s ease-in-out;
}

.mf_worksheetimg {
    overflow: hidden;
	transition: all 0.5s ease-in-out;
}
.mf_worksheetitem:hover .mf_worksheetimg a img{
	transform:scale(1.2);
	transition: all 0.5s ease-in-out;
}
span a, p > a{
	color:#fc6704;
}
.breadcrumbs-sec li {
    position: relative;
}
.breadcrumbs-sec li:after {
    content: "";
    background: url(https://mathfunworksheets.com/wp-content/uploads/2024/07/down-arrow-active.svg);
    width: 16px !important;
    height: 9px !important;
    position: absolute !important;
    right: -20px !important;
    transform: rotate(270deg);
    top: 8px;
    border: none !important;
}
.breadcrumbs-sec li {
    position: relative;
}
.breadcrumbs-sec li:last-child:after {
    content: none;
}

.mf_wddisc h2 {
   color: #fc6704;
    border-bottom: 1px solid #fc6704;
    width: 100%;
    font-size: 18px;
    font-weight: 500;
    padding-bottom: 6px;
    margin-bottom: 20px;
}
.mf_wdlist {
	display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
	
}
.mf_wdwinsec {
    display: table;
    width: 100%;
}
.mf_wdimg, .mf_wddisc {
    display: table-cell;
    vertical-align: top;
}
.mf_wdimg{
	width:25%;
}
.mf_wddisc{
	width:75%;
	padding-left: 20px;
}
.mf_wditem{
	border: 1px solid #fc6704;
	border: 1px solid #cccccc;
	border-radius: 20px;
	padding: 15px;
	position: relative;
	margin-bottom: 0;
	font-family: "Poppins", Sans-serif;
	transition: all 0.5s ease-in-out;
}
.mf_wddisc p {
    font-size: 15px;
    line-height: 20px;
    padding-bottom: 10px;
}
.mf_wdlinks {
       padding: 0;
    margin: 0;
    list-style: none;
}
.mf_wdlinksitem {
    padding-bottom: 8px;
    border-bottom: 1px solid #cccccc7a;
    padding-top: 8px;transition: all 0.5s ease-in-out;
}
.mf_wdlinksitem:first-child{
	padding-top:0;
}

.mf_wdlinksitem:last-child{
	 border-bottom:1px solid transparent;
}
.mf_wdlinksitem a {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #000000;
    justify-content: space-between;transition: all 0.5s ease-in-out;
}

.mf_wdlinksitem img {
    width: 20px;
}
.mf_wdlinksitem a:hover {
    color: #fc6704;transition: all 0.5s ease-in-out;
}
.hide-nor{
	display:none;transition: all 0.5s ease-in-out;
}
.mf_wdlinksitem a:hover .hide-nor {
    display:block;transition: all 0.5s ease-in-out;
}
.mf_wdlinksitem a:hover .show {
    display:none;transition: all 0.5s ease-in-out;
}
.mf_wdlinksitem:hover{
	border-bottom: 1px solid #fc6704;
	transition: all 0.5s ease-in-out;
}
/* Category List CSS */
/* Category List CSS */
.Category_sec ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.mainCategory_item {
    transition: all 0.5s ease-in-out;
    background: #FC6704;
}
.mainCategory_item a{
    font-size: 17px;
    line-height: 23px;
    font-weight: 600;
    font-family: "Poppins", Sans-serif;
    transition: all 0.5s ease-in-out;
    padding: 12px 15px;
    border-bottom: 1px solid rgb(255 255 255 / 65%);
    color: #FFFFFF;
    display: block;
    position: relative;    text-decoration: none;
}
.mainCategory_item .mclink:after, .mainCategory_item .Submclink:after {
    content: "";
    position: absolute;
    top: 20px;
    width: 16px;
    height: 9px;
    background: url(https://mathfunworksheets.com/wp-content/uploads/2024/06/down-arrow.svg);
    right: 20px;
    transition: all 0.5s ease-in-out;
}
.mainCategory_item .mclink.active:after, .mainCategory_item .Submclink.active:after {
    transform: rotate(180deg);
    transition: all 0.5s ease-in-out;
}
.Category_pagelist, .SubCategory_pagelist {
    display: none;
}
.Category_pageitem a {
    font-weight: 400;
	padding-left: 25px;
	font-size:16px;    text-decoration: none;
	outline:none;
}
.SubCategory_pageitem a{
	padding-left: 35px;
	outline:none;
}
.SubCategory_pageitem a:focus, .Category_pageitem a:focus{
	border:none;outline:none;
}
.Category_pagelist{
	padding-left:20px;
}
.Category_pageitem {
    font-weight: 500;
}
.Category_sec .SubCategory_pagelist {
    padding: 0;
}
.mainCategory_item .Submclink:after{
	right:30px;
}
.mob_title{
	display:none;
}
/*Blog Page */
.mf__lblist, .mf__rblist {
    padding: 0;
    margin: 0;
    list-style: none;
}
.mf__lbitem-img {
    width: 75px;
}
.mf__lbitem {
    display: flex;
    gap: 20px;
	padding: 20px 0;
	border-bottom: 1px solid #cccccc52;transition: all 0.5s ease-in-out;
}    
.mf__lbitem-content h4 {
    font-family: "Poppins", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    padding-bottom: 5px;
	transition: all 0.5s ease-in-out;
}
.mf__lbitem-content p {
    font-family: "Poppins", Sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    padding-bottom: 10px;
	color:#000000;transition: all 0.5s ease-in-out;
}
.mf-rm {
    font-family: "Poppins", Sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 14px;
	color:#fc6704;
	vertical-align: middle;transition: all 0.5s ease-in-out;
} 
.mf-rm span{
	vertical-align:middle;
	color:#fc6704;
	padding-left: 5px;transition: all 0.5s ease-in-out;
}
.mf-rm span svg{
	fill:#fc6704;transition: all 0.5s ease-in-out;
}
.mf__lbitem:hover  .mf-rm {
	transition: all 0.5s ease-in-out;
	color:#000000;
}
.mf__lbitem:hover  .mf-rm span {
	transition: all 0.5s ease-in-out;
	padding-left:10px;
}
.mf__lbitem:hover  .mf-rm span svg {
	transition: all 0.5s ease-in-out;
	fill:#000000;
}
.mf__lbitem:hover h4{
	transition: all 0.5s ease-in-out;
	color:#fc6704;
}
.mf__rblist {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.mf__rbitem {
    flex: 0 1 calc((100% - 40px) / 3);
	border: 1px solid #0000001A;
    border-radius: 10px;
	transition: all 0.5s ease-in-out;
	overflow: hidden;
}
.mf__rbitem-img {
    overflow: hidden;
	transition: all 0.5s ease-in-out;
}
.mf__lbitem-img img {
    border-radius: 5px;
}
.mf__rbitem-img img {
    border-radius: 10px 10px 0 0;
	transition: all 0.5s ease-in-out;
}
.mf__rbitem-cnt {
    padding: 20px;
}
.mf__rbitem h4{
	color: #000000;
    font-family: "Poppins", Sans-serif;
    font-size: 21px;
    font-weight: 600;
    line-height: 28px;
}
.mf__rbitem p {
    font-family: "Poppins", Sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    padding: 15px 0 10px 0;
    color: #000000;
    transition: all 0.5s ease-in-out;
}
.mf__rbitem:hover .mf__rbitem-img img{
	transition: all 0.5s ease-in-out;
    transform: scale(1.15);
}
.mf__rbitem:hover .mf__rbitem-cnt span{
	transition: all 0.5s ease-in-out;
	padding-left:20px;
}
/* Media CSS */
@media only screen and (max-width: 1024px) {
	.mf__rbitem {
		flex: 0 1 calc((100% - 40px) / 2);
	}	
}
@media only screen and (max-width: 767px) {
	.mf__rbitem {
		flex: 0 1 calc((100% - 0px) / 1);
	}	
}
@media only screen and (max-width: 767px) {
	.mf_wdlist {    
		  display: grid;      
		grid-template-columns: repeat(1, 1fr);
	}
	.mf_wdimg, .mf_wddisc {
		display: block;
		vertical-align: top;
	}
	.mf_wdimg {
		width: 25%;
		margin: 0 auto;
		padding-bottom: 10px;
	}
	.mf_wddisc {
		width: 100%;
		padding-left: 0;
	}
	.mf_wddisc h2{
		display:none;
	}
	.mob_title{
		display:block;
		color: #fc6704;
		border-bottom: 1px solid #fc6704;
		width: 100%;
		font-size: 18px;
		font-weight: 500;
		padding-bottom: 6px;
		margin-bottom: 20px;
	}
}
@media only screen and (max-width: 500px) {
	.mf_worksheetitem {
		margin-bottom: 25px;
	}
	.mf_winsec {
		padding-top: 20px;
	}
	.mf_worksheetitem h2 {
		font-size: 20px;
        line-height: 22px;
        position: static;
        padding: 0;
        border-bottom: 1px solid;
        border-radius: 0;
        padding-bottom: 5px;
	}
	.mf_worksheetimg, .mf_worksheetdisc {
		display: block;
		width: 100%;
	}
	.mf_worksheetimg {
		padding-bottom: 20px;
	}
	.mf_worksheetimg a img {
		width: auto !important;
		max-width: 100% !important;
		margin: 0 auto;
	}
	.mf_worksheetdisc {
		padding-left: 0;
	}
	.mf_worksheetdisc p {
		font-size: 15px;
	}
}


/* Search Sec */
.search-container {
    position: relative;
}

.search-icon {
    cursor: pointer;
    font-size: 24px;
}

.search-results {
    position: absolute;
    top: 40px;
    left: 0;
    background-color: white;
    border: 1px solid #ccc;
    width: 300px;
    padding: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.search-results input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.category-links {
    list-style-type: none;
    padding: 0;
    margin: 0 0 10px 0;
}

.category-links li {
    margin-bottom: 5px;
}

.category-links li a {
    text-decoration: none;
    color: #0073aa;
}

#search-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
	display: flex;
    flex-wrap: wrap;
}

#search-list li {
    padding: 5px 0;
	flex: 1 1 25%; 
    box-sizing: border-box;
    padding: 10px;
}
#search-list li a {
	display: block;
    text-decoration: none;
    color: #FFFFFF;
    text-align: left;
    background: #045E8D;
    padding: 10px;
    border-radius: 5px;
    font-family: "Poppins", Sans-serif;
    border: 1px solid #045E8D;
	transition:all 0.5s ease-in-out;
}
#search-list li a:hover{
	color: #045E8D;
	background: #FFFFFF;
	border: 1px solid #045E8D;
	transition:all 0.5s ease-in-out;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    width: 100%;
    max-width: 80%;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 1024px) {
    #search-list li {
        flex: 1 1 33.33%; 
    }
}

@media (max-width: 768px) {
    #search-list li {
        flex: 1 1 50%; 
    }
}
@media (max-width: 767px) {
	.modal-overlay{
		height:100vh;
	}
	#search-list {
		height: 500px;
		overflow-y: scroll;
	}
	 #search-list li {
        flex: 1 1 100%; 
    }
}

/* Login CSS */
#custom-pdf-modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
	z-index:999;
	font-family: "Poppins", Sans-serif;
}
.button_sec {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 30px;
    margin-bottom: 20px;
}
.mf_button, .reg-button {
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 21px !important;
    background-color: #fc6704 !important;
    border: 2px solid #fc6704 !important;
    padding: 8px 36px;
    border-radius: 34px;
    transition: all 0.5s ease-in-out;
    color: #FFFFFF;
	font-family: "Poppins", Sans-serif;
}
.mf_button:hover, .reg-button:hover {
    background-color: transparent !important;
    border: 2px solid #fc6704 !important;
	color:#fc6704;
    transition: all 0.5s ease-in-out;
}
.form-container h3 {
    font-size: 21px;
    line-height: 26px;
    padding-bottom: 10px;
}
.custom-pdf-modal-content {
    position: relative;
    margin: 10% auto;
    padding: 20px;
    max-width: 600px;
    background: #fff;
    border-radius: 5px;
}

.custom-pdf-close-modal {
       position: absolute;
    top: -25px;
    right: -31px;
    cursor: pointer;
    font-size: 36px;
    line-height: 1;
    color: #FFFF;
    font-weight: normal;
}

form {
    display: flex;
    flex-direction: column;
}


.form-container .form-group {
    margin-bottom: 20px;
}

/* .form-container .form-group .form-control.has-error {
    border: 1px solid var(--clr-general-red);
} */

.form-container .form-group .form-control {
    background: transparent;
    width: 100%;
    border: none;
    height: 47px;
    font-size: 14px;
    border: 1px solid #cccccc;
    color: #000000 !important;
    border-radius: 6px;
    font-family: "Poppins", Sans-serif;
}


form .control-label {
    display: none;
}
.form-container .form-group .error-block {
    display: block;
    margin-top: var(--sec-space-5);
    color: var(--clr-general-red);
    font-size: 12px;
    line-height: var(--fs-20);
    color: #f50707;
}

.reg-button {
    font-family: "Poppins", Sans-serif;
    color: #FFFFFF !important;
    width: auto;
    background: #fc6704;
    border: 1px solid #fc6704;
    border-radius: 50px;
    font-size: 16px;
    line-height: 1;
    padding: 8px 50px !important;
}

.reg-button:hover {
    background: transparent;
    border: 1px solid #fc6704;
    color: #fc6704 !important;
} 


.frm-ajaxprogress img {
    position: absolute;
    left: 26%;
    bottom: 8%;
}
  
.error-msg {
    line-height: var(--fs-20);
    color: #f50707;
    margin-bottom: 7px;
    text-align: center;
}


#custom-pdf-limit-message {
    text-align: center;
    color: red;
    font-size: 18px;
}

#custom-pdf-limit-message h2 {
    font-size: 24px;
    color: #333;
}

#custom-pdf-limit-message p {
    margin: 10px 0;
}
.login_sso {
    display: flex;
    gap: 20px;
	align-items: center;
    justify-content: center;
}
p.seperate {
      text-align: center;
    padding: 10px 0;
    position: relative;
    margin-bottom: 10px;
}
p.seperate:before {
  content: "";
    position: absolute;
    width: 50%;
    height: 1px;
    background: #fc6704;
    top: 20px;
    left: 0;
    margin: 0 auto;
    text-align: center;
    right: 0;
}
.seperate span {
    background: #FFF;
    z-index: 2;
    position: relative;
    padding: 10px;
}
@media only screen and (max-width: 767px) {
	.custom-pdf-modal-content {
		max-width: 560px;
	}
}
@media only screen and (max-width: 500px) {
	.custom-pdf-modal-content {
		    margin: 20% 30px;
	}
	.form-container h3 {
		font-size: 18px;
		line-height: 24px;
	}
	.mf_button, .reg-button {
		padding: 8px 16px;
	}
	.button_sec {
		gap: 10px;
	}
	.custom-pdf-close-modal {
		top: -25px;
		right: -26px;
	}
}