/*
Theme Name:Child Theme for Divi
Theme URI: https://subrin.me
Description: Child Theme For Divi
Author: Sha add MD. Subrin
Author URI: https://subrin.me
Template: Divi
Version: 3.0
*/

/* Start your custom CSS below this comment
============================================ */
p{
	letter-spacing: 0.5px;
}
.cus-mod-transition{
  	-webkit-transition: 1s cubic-bezier(.86, 0, .07, 1);
  	-moz-transition: 1s cubic-bezier(.86, 0, .07, 1);
  	-o-transition: 1s cubic-bezier(.86, 0, .07, 1);
  	-ms-transition: 1s cubic-bezier(.86, 0, .07, 1);
	transition: 1s cubic-bezier(.86, 0, .07, 1);
}
.ns-section-title span{
	color: #fff;
    font-weight: 900;
    background-color: #232D53;
    padding: 0px 15px;
    border-radius: 5px;
    border: 1px solid #fff;
}
.ns-section-title hr{
	border-top: 3px solid #7c7c7c;
    width: 75px;
    position: relative;
    margin-top: 25px;
}
.ns-section-title-lit span{
	color: #fff;
}
.ns-section-title-lit hr{
	border-color: #fff;
}
.back_position{
	width: 100%;
	height: 250px;
	float:left;
	position: relative;  
	background-repeat: no-repeat!important;
	background-position: center center!important;
	background-size: cover!important;
}
.student-table-nav .nsr-button{
	background-color: #fff;
	padding-top: 8px;
    padding-bottom: 8px;
	line-height: 17px;
}
.nsr-button,
#commentform #submit{
	color: #000;
    border: 1px solid #000000;
    border-radius: 2px;
    letter-spacing: 1px;
    font-size: 14px;
    padding: 7px 25px;
    display: inline-block;
    font-weight: 400;
	cursor: pointer;
}
.nsr-button:hover,
.nsr-button-dark,
#commentform #submit{
	color: #fff;
	background-color: #000!important;
}
a.ns-button:hover,
.nsr-button:hover,
#commentform #submit:hover{
	box-shadow: 0 15px 10px -10px rgb(0 0 0 / 50%), 0 1px 4px rgb(0 0 0 / 30%), 0 0 40px rgb(0 0 0 / 10%) inset;
}
.shadow {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.4);
	opacity: 0;
}
.badge{
	display: inline-block;
    padding: 0.30em 0.5em;
    line-height: 1;
    border-radius: 0.25rem;
    background-color: #00AAE3;
    color: #fff;
}
.badge a{
	color: #fff;
}
.section_sub_head{
	padding-bottom: 3%;
}
.section_sub_head h2{
	border-bottom: 1px solid;
    width: max-content;
    padding-bottom: 15px;
}
.section_sub_head h2:first-letter {
    color: #00AAE3;
    font-size: 60px;
}
.custom_banner{
	background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.custom_banner .inner_align{
    background-color: rgba(0,0,0,0.8);
    padding-top: 135px;
    padding-bottom: 135px;
}
.custom_banner .inner_align .et_pb_fullwidth_header_container{
	width: 80%;
    margin-left: auto;
    margin-right: auto;
}
.custom_banner h1{
	font-size: 60px;
    letter-spacing: 5px;
    color: #fff;
}
.custom_banner p{
	color: #fff;
    font-size: 14px;
    margin-top: 10px;
}
#particles-js .particles-js-canvas-el{
	width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.ProductCatRow .thumb{
	width: 100%;
  	height: 100%;
  	float:left;
  	position: relative;  
  	background-repeat: no-repeat!important;
  	background-position: center center!important;
  	background-size: cover!important;
}
.align_center{
  	width: 90%;
  	text-align: center;
  	position: absolute;
  	top: 50%;
  	left: 50%;
  	-webkit-transform: translate(-50%,-50%);
  	transform: translate(-50%,-50%);
}
.shadow {
  	position: absolute;
  	width: 100%;
  	height: 100%;
  	top: 0;
  	left: 0;
  	background: rgba(0,0,0,0.5);
  	opacity: 0;
	z-index: 1;
}
.cus_transition,
#footer-widgets .footer-widget li a{
  	-webkit-transition: all .3s;
  	-moz-transition: all .3s;
  	-o-transition: all .3s;
  	-ms-transition: all .3s;
  	transition: all .3s;
}
.cus_mod_transition{
  -webkit-transition: 1s cubic-bezier(.86, 0, .07, 1);
  -moz-transition: 1s cubic-bezier(.86, 0, .07, 1);
  -o-transition: 1s cubic-bezier(.86, 0, .07, 1);
  -ms-transition: 1s cubic-bezier(.86, 0, .07, 1);
  transition: 1s cubic-bezier(.86, 0, .07, 1);
}
.cus_btn{
	padding: 0.5em 1.5em;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.25);
    color: #333;
}



/**************************************************/
				/*Start Home*/
/**************************************************/
.upDwnAnim {
	position: absolute;
	width: calc( 100% + 125px );
    top: 50%;
    left: calc(50% - 75px);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}
.upDwnAnim .et_pb_image_wrap {
/*	width: 250px;
    height: 250px;
    margin-left: -125px;
    margin-right: 50px;*/
	animation: 5s up_and_down_img ease-in-out infinite;
}
@keyframes up_and_down_img{
    0%{
        transform: translate(0px, -10px);
    }
    50%{
        transform: translate(0px, 10px);
    }
    100%{
        transform: translate(0px, -10px);
    }
}
.homeProductCat{
	display: flex;
	flex-wrap: wrap;
}
.ProductCatRow{
	width: calc( 50% - 25px ) ;
  	height: 450px;
	position: relative;
	float: left;
	margin-bottom: 50px;
}
.ProductCatRow:nth-child(2n + 1){
	margin-right: 25px; 
}
.ProductCatRow:nth-child(2n + 2){
	margin-left: 25px; 
}
.ProductCatRow:first-child{
	margin-top: 180px;
}
.ProductCatRow:last-child{
	margin-top: -180px;
}
.ProductCatRow:nth-child(3){
	margin-bottom: 0;
}
.ProductFirstRow{
	position: absolute;
    left: 0;
    top: 0;
}
.ProductFirstRow h2{
	font-size: 40px;
	font-weight: 900;
}
.ProductLastRow{
	position: absolute;
    right: 0;
    bottom: 0;
}
.ProductLastRow p{
	text-align: right;
    font-size: 18px;
}
.ProductLastRow h2{
	text-align: right;
    color: #2EA3F2;
    font-size: 50px;
    font-family: 'Open Sans';
    font-weight: 900;
}
.ProductCatRow:hover .shadow{
	opacity: 1;
}
.ProductCatRow:hover .thumb{
	filter: grayscale(100%);
}
.ProductCatRow .info{
	z-index: 9;
	opacity: 0;
}
.ProductCatRow:hover .info{
	opacity: 1;
}
.ProductCatRow .info h4{
	color: #fff;
	font-size: 36px;
    font-weight: 800;
	margin-bottom: 10px;
}
.ProductCatRow .info .cus_btn{
    background-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}
.ProductCatRow .info .cus_btn:hover{
	background-color: rgba(255, 255, 255, 0.35);
}
/**************************************************/
				/*End Home*/
/**************************************************/


/**************************************************/
				/*Start About*/
/**************************************************/

.egg-shp:after{
	content: "";
	width: 86%;
    height: 70%;
    left: -9px;
    bottom: 42px;
	background-color: #00AAE3;
    animation: ns_egg 8s ease-in-out infinite;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -ms-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
    position: absolute;
    z-index: -1;

}
.egg-shp:before{
	content: "";
	width: 76%;
    height: 97%;
    left: 13px;
    top: 13px;
	background-color: #1A408A;
    animation: ns_egg_2 8s ease-in-out infinite;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
	-webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -ms-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
	position: absolute;
	z-index: -1;
}
@keyframes ns_egg {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

@keyframes ns_egg_2 {
    0% {
        border-radius: 60% 30% 70% 40% / 60% 40% 30% 70%;
    }
    50% {
        border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%;
    }
    100% {
        border-radius: 60% 30% 70% 40% / 60% 40% 30% 70%;
    }
}

/**************************************************/
				/*End About*/
/**************************************************/



.product_filter .ProductCatRow{
	box-shadow: 0 0 0 3px #fff, 0 0 0 5px #dfdfdf;
}
.product_filter .ProductCatRow:first-child,
.product_filter .ProductCatRow:last-child{
	margin-top: 0;
}
.product_filter ul{
	display: flex;
    justify-content: center;
}
.product_filter li a.active{
	color: #2ea3f2!important;
}
.product_filter .ProductCatRow .info h4{
	font-size: 24px;
}
@media only screen and (min-width: 981px){
	.product_filter .ProductCatRow{
		width: calc( 33.33% - 16.66px );
		height: 300px;
		margin: 0;
		margin-right: 25px;
		margin-bottom: 25px;
	}
	.product_filter .ProductCatRow:nth-child(3n + 3){
		margin-right: 0;
	}
}
.rbs-img-image .rbsTitle{ 
	display: none; 
}


/**************************************************/
				/*Start Footer*/
/**************************************************/
#footer-widgets{
	padding-top: 3%;
}
#footer-widgets .footer-widget{
	margin-bottom: 2%;
}
#footer-widgets .footer-widget .wp-block-heading{
	margin-bottom: 0;
}
#main-footer{
	background-color: rgba(0,0,0,0.9);
    position: relative;
}
#main-footer{ 
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover!important;
	background: url(https://fdanursing.com/wp-content/uploads/2022/04/ftbg2.png);
	background-color: rgba(0,0,0,0.9);
}
#main-footer .footer-widget h4{
	margin-bottom: 15px;
}
#footer-widgets .footer-widget li{
	padding-left: 0;
}
#footer-widgets .footer-widget li:before{
	display: none;
}
.bottom-contact{
	display: flex;
	margin-bottom: 10px;
}
.bottom-contact .icon{
	margin-right: 7px;
}
.bottom-contact .icon span{
	font-size: 14px;
}
.footer-widget .widget_text p{
	text-align: justify;
}
#main-footer .footer-widget h4{
	letter-spacing: 2px;
}
#footer-widgets .footer-widget li a:hover{
	color: #00AAE3!important;
	padding-left: 3px;
}
#footer-widgets #media_image-2{
	margin-bottom: 15px;
}
#footer-widgets .wp-block-heading{
	letter-spacing: 2px; 
	margin-bottom: 15px;
}
#footer-info{
	width: 100%;
	text-align: center;
}
div#footer-info a{
	color: rgba(255,255,255,0.75);
}
.bottom_social{
	display: flex;
	margin-left: -10px;
	margin-top: 25px;
}
.bottom_social a{
	text-align: center;
}
.bottom_social .et-pb-icon{
	font-size: 20px;
	width: 40px;
    height: 40px;
    line-height: 40px;
}
.bottom_social a:hover .et-pb-icon{
	box-shadow: 0 0 5px #00aae3;
	color: #00aae3;
}
.footer-widget .et_pb_widget{
	margin-bottom: 0!important;
}
/**************************************************/
				/*End Footer*/
/**************************************************/




/**************************************************/
				/*Start Responsive*/
/**************************************************/
@media only screen and (max-width: 1080px){
	.ProductFirstRow h2{
		font-size: 30px;
	}
}
@media only screen and (max-width: 980px){
	.upDwnAnim{
		position: relative;
    	width: auto;
    	top: initial;
    	left: initial;
    	transform: none;
	}
	.upDwnAnim .et_pb_image_wrap{
		animation: none;
	}
	.ProductFirstRow{
		display: none;
	}
	.homeProductCat{
		display: block;
	}
	.ProductCatRow{
		width: 100%;
		margin: 0 0 50px 0!important;
	}
	.ProductLastRow{
		position: relative;
	}
	.ProductLastRow p,
	.ProductLastRow h2{
		text-align: left;
	}
}

@media only screen and (max-width: 767px){
	#footer-widgets .footer-widget .fwidget{
		margin-bottom: 0px!important;
		width: 100%;
	}
	#main-footer .widget_block h2{
		font-size: 18px;
	}
}
/**************************************************/
				/*End Responsive*/
/**************************************************/