/*
	Theme Name: Espira (Custom Theme Development)
	Verstion: 1
	Description: 
	Framework / Plugin Used: Bootstrap 4, Jquery 3.4.1
	Designer: Saugat Shrestha
*/


/*=============================
LINKING FONTS
==============================*/

@font-face {
    font-family: 'Arial Rounded MT';
    src: url('../fonts/ArialRoundedMTBold.woff2') format('woff2'),
        url('../fonts/ArialRoundedMTBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Luckiest Guy';
    src: url('../fonts/LuckiestGuy-Regular.woff2') format('woff2'),
        url('../fonts/LuckiestGuy-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
}

ul,
li {
	margin: 0;
	padding: 0;
}

li {
	list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-weight: bold;
}

h1 {
	font-size: 50px;
	font-family: 'Arial Rounded MT';
}

h2 {
	font-size: 33px;
	font-family: 'Arial Rounded MT';
	margin: 0 0 10px;
}

h3 {
	font-size: 30px;
	font-family: 'Luckiest Guy';
	font-weight: normal;
}

h4 {
	font-size: 16px;
	font-weight: bold;
}

h5 {
	font-size: 14px;
	font-family: 'Arial Rounded MT';
}

p {
	margin: 0;
	line-height: 22px;
}

a {
	text-decoration: none;
}

a:hover,
a:focus {
	text-decoration: none;
}

figure {
	margin: 0;
}

figcaption {
	font-family: 'Arial Rounded MT';
	font-size: 32px;
	margin: 0 0 25px;
}

img {
	max-width: 100%;
}

button {
	border: none;
	background: none;
	padding: 0;
}

button:focus {
	outline: 0;
}

.form-control {
	padding: 5px 10px;
	height: 30px;
	font-size: 13px;
}

.form-control:focus {
	outline: 0;
	box-shadow: none;
}

.primary-color {
	color: #75c01f;
}

.site-btn {
    background: #75c01f;
    color: #fff;
    border-radius: 30px;
    padding: 3.5px 23px;
    font-size: 14px;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
}

.site-btn:hover {
	background: #61a019;
}

.site-btn:focus {
	box-shadow: none;
}

.thumbnail-img {
	position: relative;
	overflow: hidden;
}

.bgcolor1 {
	background: #75c01f;
}

.bgcolor2 {
	background: #54bcd7;
}

.bgcolor3 {
	background: #e91219;
}

.bgcolor4 {
	background: #ffcf1a;
}

.boldfont {
	font-weight: bold;
	line-height: 20px;
}

.whitetxt {
	color: #fff;
	font-weight: bold;
}

/*===================================
SITE NAVIGATION CSS 
===================================*/

.navin-wrap::-webkit-scrollbar-track{
    background-color: #c72422;
    -webkit-box-shadow: inset 0 0 4px rgba(0,0,0,0.2);
    border-radius: 10px;
}

.navin-wrap::-webkit-scrollbar{
    width: 6px;
    background-color: #f7f7f7;
}

.navin-wrap::-webkit-scrollbar-thumb{
    border-radius: 10px;
    background-color: #fff;
}

.closebtn {
    position: absolute;
    top: 9px;
    left: 9px;
    height: 25px;
    width: 25px;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    border-radius: 100%;
    border: 2px solid #fff;
    line-height: 20px;
    cursor: pointer;
}

.bgoverlay {
    content: '';
    position: absolute;
    background: rgba(0,0,0,.1);
    height: 100vh;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 9999;
    transition: all ease 1s;
    -webkit-transition: all ease 1s;
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
}

.site-navigation .navWrapper {
    position: fixed;
    width: 670px;
    background: #e11f1d;
    height: 100%;
    right: -670px;
    top: 104px;
    transition: all ease .5s;
    -webkit-transition: all ease .5s;
    z-index: 999999;
    cursor: pointer;
    padding: 35px 35px;
}

.site-navigation.open .navWrapper {
	right: 0;
}

.site-navigation.open .bgoverlay {
    opacity: 1;
    visibility: visible;
    right: 0;
}

.navin-wrap {
	max-width: 270px;
}

.navin-wrap ul li a {
	display: block;
	color: #fff;
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
}

.navin-wrap > ul > li > a {
	font-weight: bold;
}

.navin-wrap ul li:hover > a {
	color: #ccc;
}

.navin-wrap ul.submenu {
	padding-left: 30px;
	display: none;
}

.navin-wrap ul.submenu > li {
	position: relative;
}

.navin-wrap ul.submenu > li:before {
	position: absolute;
	content: "›";
	top: -2px;
	left: -10px;
	color: #fff;
}

.navin-wrap ul.submenu > li > a {
	font-size: 14px;
}

.nav-inner {
	margin-top: 15px;
	padding: 10px 0 15px;
	border-top: 2px solid #fff;
	border-bottom: 1px solid #fff;
}

.nav-inner {
	color: #fff;
}

.nav-inner h4 {
	margin: 0 0 5px;
}

.nav-inner p {
	font-size: 15px;
}

.nav-calendar {
	margin: 0 0 30px;
}

.navin-wrap .thumbnail-img > a {
	display: block;
}


/*===================================
SITE HEADER CSS 
===================================*/

.site-header {
	padding: 10px 0 7px;
}

.site-logo a {
	display: block;
	max-width: 178px;
}

.site-header .header-right {
	float: right;
	text-align: right;
}

.header-right {
	padding: 8px 0 0;
}

.header-right p {
    font-size: 13px;
    font-weight: bold;
    margin: 0 0 7px;
}

.search-block {
	display: inline-block;
	vertical-align: top;
	margin-right: 36px;
}

.menu-block {
	display: inline-block;
	vertical-align: top;
}

.header-right .menu-block p {
	margin: 0 0 2px;
}

.searchform .form-group {
	display: inline-block;
	vertical-align: top;
}

.searchform .form-group:first-of-type {
	width: 208px;
}

.searchform .form-control {
	border-radius: 30px;
	border: 2px solid #75c01f;
}

.navbar-toggle {
	cursor: pointer;
}

.navbar-toggle span {
    display: block;
    height: 12px;
    width: 60px;
    background: #75c01f;
    margin: 0 0 4px;
    border-radius: 20px;
}


/*===================================
HOME BANNER CSS 
===================================*/

.home-banner .thumbnail-img {
	background: url('../images/home-banner.jpg')no-repeat center center;
	background-size: cover;
	min-height: 340px;
}

.home-banner .thumbnail-img img {
	width: 100%;
}


/*===================================
DESCRIPTION CSS 
===================================*/

.description {
	padding: 43px 0 34px;
}

.description .blockWrapper {
	padding: 0 15px;
	margin: 0 0 30px;
}

.description .blockWrapper:last-child {
	margin: 0;
}

.blockWrapper .thumbnail-img img {
	width: 100%;
}

.content-block h3 {
    margin: 7px 0 0;
}

.desc-block {
	position: relative;
	min-height: 210px;
	padding: 13px 20px 20px 20px;
	margin: 0 0 25px;
}

.desc-block .thumbnail-img {
    width: 50%;
    display: inline-block;
    vertical-align: middle;
    margin-right: 30px;
}

.desc-block .desc-content {
    display: inline-block;
    vertical-align: middle;
    width: 42%;
}

.desc-block .desc-content h2 {
	color: #fff;
	margin: 0 0 50px;
}

.desc-block .desc-content a {
	display: inline-block;
	background: #fff;
	color: #7f7f7f;
	font-size: 14px;
	border-radius: 30px;
	padding: 5px 15px;
	font-weight: bold;
	transition: all 0.3s linear;
	-webkit-transition: all 0.3s linear;
	-moz-transition: all 0.3s linear;
}

.desc-block .desc-content a:hover {
	background: #ddd;
}


/*============================
HOME GALLERY CSS
=============================*/

.home-gallery {
	background: #f0f0f0;
	padding: 40px 0 10px;
}

.home-gallery.hasbg {
	background: #b5dde9;
}

.section-title {
	margin: 0 0 25px;
}

.box {
	background: #fff;
	padding: 5px;
}

.box > a {
	display: block;
	overflow: hidden;
}

.box > a img {
	width: 100%;
	transition: all 0.3s linear;
	-webkit-transition: all 0.3s linear;
	-moz-transition: all 0.3s linear;
}

.box > a:hover img {
	opacity: 0.7;
	transform: scale(1.2,1.2);
}

.galleryboxWrapper .box {
	display: inline-block;
	vertical-align: top;
	margin-right: 55px;
	margin-bottom: 30px;
	width: 20.8%;
}

.galleryboxWrapper .box:nth-of-type(4n) {
	margin-right: 0px;
}


/*============================
HOME RELATED POSTS CSS
=============================*/

.relatedposts {
	padding: 35px 0;
}

.postsWrapper .box {
	display: inline-block;
	vertical-align: top;
	width: 245px;
	margin-right: 30px;
}

.postsWrapper .box:last-child {
	margin-right: 0px;
}

.postsWrapper .box p {
	margin: 15px 0 0;
	color: #000;
	font-weight: bold;
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
}

.postsWrapper .box a:hover p {
	color: #75c01f;
}


/*============================
SINGLE PAGE CSS
=============================*/

.pagecontent {
	padding: 30px 0 40px;
}

.single-content {
	text-align: center;
	padding: 0 120px;
}

.single-content h2 {
	font-size: 45px;
}

.single-content .boldfont {
	font-size: 18px;
	line-height: 24px;
}

.single-img {
	margin: 30px 0;
}

.marbot25 {
	margin-bottom: 25px;
}

.content-box {
	margin: 0 0 20px;
}

.innerblockWrapper {
	margin: 40px 0 0;
}

.innerblockWrapper .inner-block.one {
    padding: 40px 40px 25px 30px;
    position: relative;
}

.innerblockWrapper .inner-block.one:after {
	position: absolute;
	content: "";
	top: 0;
	right: 0;
	height: 100%;
	width: 25%;
	background: #54bcd7;
}

.innerblockWrapper .inner-block.one h3 {
	margin: 0 0 30px;
	color: #fff;
	font-size: 28px;
}

.innerblockWrapper .inner-block.one a {
	background: #75c01f;
    color: #fff;
    border: 2px solid #fff;
    padding: 5px 17px;
    border-radius: 30px;
    font-size: 14px;
    margin-left: 15px;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
}

.innerblockWrapper .inner-block.one a:hover {
	background: #fff;
	color: #000;
}

.innerblockWrapper .inner-block .content-box {
	margin: 0 0 48px;
}

.innerblockWrapper .inner-block .wrap {
	position: relative;
	z-index: 1;
}

.innerblockWrapper .inner-block .wrap .thumbnail-img {
	position: absolute;
	top: 0;
	right: 0;
}

.innerblockWrapper .inner-block .wrap .left {
    max-width: 72%;
}

.innerblockWrapper .inner-block.two {
	padding: 20px 70px 35px;
	text-align: center;
	margin: 0 0 28px;
}

.innerblockWrapper .inner-block.two .thumbnail-img {
	margin: 0 0 15px;
}

.innerblockWrapper .inner-block.three {
	height: 105px;
}


/*============================
FOOTER PAGE CSS
=============================*/

.site-footer {
    background: #416b12;
    padding: 60px 0;
}

.footer-widget {
	color: #fff;
}

.footer-widget h4 {
	margin: 0 0 15px;
	font-size: 20px;
	color: #fff;
}

.footer-widget p {
	font-size: 15px;
}

.footer-widget ul li {
	margin: 0 0 5px;
}

.footer-widget ul li a {
	display: block;
	color: #fff;
	font-size: 15px;
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
}

.footer-widget ul li a:hover {
	color: #ddd;
}

.padl30 {
	padding-left: 30px;
}

.footertop {
	padding-bottom: 40px;
}

.footerbtm {
	padding-top: 20px;
	border-top: 1px solid #5ca20d;
}

.footerbtm p {
	color: #fff;
	font-size: 15px;
}

.footerbtm ul {
	float: right;
}

.footerbtm ul li {
	display: inline-block;
	vertical-align: top;
	border-right: 1px solid #ddd;
	padding-right: 10px;
	margin-right: 10px;
}

.footerbtm ul li:last-child {
	border-right: none;
	margin-right: 0px;
	padding-right: 0px;
}

.footerbtm ul li a {
	display: block;
	color: #fff;
	font-size: 14px;
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
}

.footerbtm ul li a:hover {
	color: #ddd;
}

.footer-widget.event ul li {
	position: relative;
    padding-left: 95px;
    border-bottom: 1px dotted #61a018;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.footer-widget.event ul li:last-child {
	padding-bottom: 0px;
	margin-bottom: 0px;
	border-bottom: none;
}

.footer-widget.event ul li .thumbnail-img {
    width: 80px;
    position: absolute;
    top: 0;
    left: 0;
}

.footer-widget.event ul li .thumbnail-img img {
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
}

.footer-widget.event ul li:hover .thumbnail-img img {
	transform: scale(1.2,1.2);
}

.footer-widget.event ul li:hover h5 {
	color: #ddd;
}

.footer-widget.menulinks ul li {
	position: relative;
	padding-left: 13px;
}

.footer-widget.menulinks ul li:before {
	position: absolute;
	content: "\f105";
	top: -3px;
	left: 0;
	font-family: 'FontAwesome';
}

.footer-widget.event ul li h5 {
	font-size: 16px;
	margin: 0 0 5px;
}

.footer-widget.event ul li p {
	font-size: 13px;
	line-height: 19px;
}

.social-icons {
	margin-top: 20px;
}

.footer-widget .social-icons li {
	display: inline-block;
	vertical-align: top;
	margin-right: 10px;
}

.footer-widget .social-icons li:last-child {
	margin-right: 0px;
}

.footer-widget .social-icons li a {
	display: block;
	font-size: 20px;
}