@charset "utf-8";
/*----------
* theme: 
* Author: ANTS Creation
* Url : https://www.ants.lk/
----------------------------
* main css file
----------------------------------*/

/*--
Font Pluging
-----------------------------------*/
@font-face{
	font-family: font-1;
    src: url("../fonts/Poppins/Poppins-Regular.ttf"); 
}
@font-face{
	font-family: font-2;
    src: url("../fonts/Poppins/Poppins-Bold.ttf"); 
}


 /*--
 Comman class
 ----------------------------------*/
h1, h2, h3, h4, h5, h6{
    font-family: font-2;
}
body, div, section, p, a, ul, li, ol{
    font-family: font-1;
} 
p{
    color: var(--txt-color);
}
strong{
    font-weight: 600;
    color: #000;
}
.section-p-tb{
    padding-top: 50px;
    padding-bottom: 50px;
}
 .section-p-t{
    padding-top: 40px;
}
.section-p-b{
    padding-bottom: 40px;
}
.bg-black{
    background-color: var(--black);
}

 a{
    text-decoration: none !important;  
}

ul{
    margin: 0;
    padding: 0;
}

ul li{
    list-style: none;
}

.lead {
    font-size: 0.9rem;
    color: var(--txt-color);
    line-height: 25px;
}

.head {
    font-size: 2.3rem;
    color: var(--theme-1);
    font-weight: 700;
    text-transform: uppercase;
}

img {   
    max-width: 100%;
}

/*--
Button Styles
-----------------------------------*/
button:focus {
    outline: 0;
}

.btn {
    background-color: var(--theme-1);
    padding: 10px 20px;
    border-radius: 25px;
    color: #fff;
}

.btn a{
    text-decoration: none;
    color: #fff;
} 


.btn:hover{
    background-color: var(--green);
}

.service-btn {
    position: relative;
}
/* =================================== */
/*  Top Button
/* =================================== */
#back_button {
    display: inline-block;
    width: 40px;
    height: 40px;
    text-align: center;
    position: fixed;
    bottom: 75px;
    right: 30px;
    transition: background-color .3s, opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
	background: rgba(0,64,164,0.55);
	color: var(--main-1);
	border: 1px solid var(--white);
}
#back_button.show {
  	visibility: hidden;
	background-color: transparent;
	opacity: 1;
	cursor: pointer;
	background: rgba(0,64,164,0.55);
	color: var(--white);
	border: 1px solid var(--white);
}
#back_button::after {
    font-family: "Font Awesome 5 Free";
    content: "\f102";
    display: inline-block;
    vertical-align: middle;
    font-weight: 900;
    font-size: 1.2em;
    line-height: 16px;
    padding: 11px;
	color: var(--white);
}
#back_button:hover{
    transition: 0.4s;
}
/*--
Section-benner
-----------------------------------*/
.page-title-area{
	position: relative;
    z-index: 1;
    padding-top: 145px;
    padding-bottom: 100px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
}

.page-title-area::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: rgba(39, 65, 150,0.5);
    opacity: 0.9;
}

.banner-topic{
	font-family: font-1;
    color: var(--white);
    text-transform: uppercase;
}
.breadcrumb{
    background: transparent;
    padding: 0;
    display: inline-flex;
}
.breadcrumb a{
	color: var(--white);
    text-decoration: none;
    transition: 0.3s;
}

.breadcrumb a:hover{
    color: var(--theme-1);
    letter-spacing: 1px;
    transition: 0.3s;
}

.breadcrumb li i {
    font-size: 1rem;
    margin: 0 5px;
    position: relative;
    top: 1px;
}
.breadcrumb li {
	color: var(--white);
}

.breadcrumb-item.active {
    color: var(--white);
	
}
.align-content-center.text-center.m-auto {
	position: relative;
    top: -55px;
	
}

/*--
Section Title
-----------------------------------*/

/* image radiouse */
.image-radiouse-cl{
    border-radius: 10px;
    box-shadow: 0px 2px 30px 2px rgb(0 0 0 / 10%);
}

/*---------------*/
/***** blog cards *****/
/*---------------*/

figure.effect-blog-box figcaption {
	text-align: right;
}

figure.effect-blog-box h2,
figure.effect-blog-box p {
	position: absolute;
	right: 30px;
	left: 30px;
	/* padding: 10px 0; */
}


figure.effect-blog-box p {
	bottom: 30px;
	line-height: 1.5;
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0,100%,0);
}

figure.effect-blog-box h2 {
	top: 30px;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0,20px,0);
	transform: translate3d(0,20px,0);
}

figure.effect-blog-box:hover h2 {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

figure.effect-blog-box h2::after {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	height: 2px;
	background: #fff;
	content: '';
	-webkit-transform: translate3d(0,40px,0);
	transform: translate3d(0,40px,0);
}

figure.effect-blog-box h2::after,
figure.effect-blog-box p {
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
}

figure.effect-blog-box:hover h2::after,
figure.effect-blog-box:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

.grid {
	position: relative;
	list-style: none;
	text-align: center;
}


.grid p{    
    text-align: center;
    width: 100%;
}

/* Common style */
.grid figure {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 10px 1%;
	/* min-width: 320px; */
	/* max-width: 480px; */
	background: #3085a3;
	text-align: center;
	cursor: pointer;
}

.grid figure img {
	position: relative;
	display: block;
	/* min-height: 100%; */
	max-width: 100%;
	opacity: 0.8;
    min-height: 320px;
    object-fit: cover;
}

.grid figure figcaption {
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.grid figure h2 {
	/* word-spacing: -0.15em; */
	font-weight: 300;
    font-size: 23px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
            line-clamp: 2; 
    -webkit-box-orient: vertical;
}

.grid figure h2 span {
	font-weight: 800;
}

.grid figure h2,
.grid figure p {
	margin: 0;
}

.grid figure p {
	letter-spacing: 1px;
	font-size: 68.5%;
    color: white;
}
