@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i');
@import url('https://fonts.googleapis.com/css?family=Josefin+Sans:100,100i,300,300i,400,400i,600,600i,700,700i');
::selection {
	color: #fff;
	background: #444;
}

::-moz-selection {
 color:#fff;
 background:#444;
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body, html {
	width: 100%;
	height: 100%;
}
body {
	font-family: 'Open Sans', sans-serif;
	background: #fff;
	color: #000;
}
h1,h2,h3,h4 {
	font-family: 'Josefin Sans', sans-serif;
}



.show-error-msg {
	position:absolute;
	top:calc(100% - 26px);
	left:0;
	color:red;
	font-size:11px;
}
.ajaxloader {
	float:left;
	display:none;
	width:100%;
	text-align:center;
}
.btn-1 {
	display:table;
	margin:auto;
	margin-top:20px;
	text-align:center;
	width:130px;
	line-height:40px;
	border-radius:25px;
	background:#4FBF70;
	color:#fff;
	transition: all ease .25s;
}
.btn-1:hover {
	background:#000;
}
.se-pre-con {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: url(../images/backtolives-logo.jpg) center no-repeat #fff;
}
.padding-none {
	padding: 0 !important;
}
.margin-none {
	margin: 0 !important;
}
.color-white {
	color:#fff;
}
.color-red {
	color:red;
}
.color-green {
	color:green;
}
a,a:hover {
	text-decoration:none;
}
.pull-left {
	float:left !important;
}
.pull-right {
	float:right !important;
}
.col-full {
	width:100%;
	float:left;
}
/*********************************top-link-button-start******************************************/
#top-link-block.affix-top {
	position: absolute;
	bottom: -82px;
	right: 10px;
}
#top-link-block.affix {
	position: fixed;
	bottom: 18px;
	right: 10px;
	z-index: 2;
}
#top-link-block a {
	font-size: 24px;
	padding: 10px 17px;
	border-radius: 0;
	border: none;
	color: #fff;
	background: #999;
	transition: all ease .5s;
}
#top-link-block a:hover {
	background: #000;
}
.container {
	width:1170px;
	margin:auto;
}
/******************************header-start****************************/
header {
	width:100%;
	position:fixed;
	top:0;
	left:0;
	z-index:10;
	background:#fff ;
	border-bottom:1px solid #ccc;
	box-shadow:1px 0 60px rgba(0,0,0,.1);
}
.header-mar {
	width:100%;
	float:left;
	height:107px;
	background:#cccc;
}
.logo {
	background:#fff;
	float:left;
	margin-top:5px;
}
.logo img {
	width:250px;
}
.logo-mob {
	display: none;
}
.mob-nav-btn {
	display: none;
}
nav {
	float: right;
}
nav ul.nav-ul {
	margin:0;
	float:right;
}
nav ul.nav-ul > li {
	text-align: center;
	float: left;
	outline: none;
	position:relative;
	list-style: none;
}
nav ul.nav-ul > li > a {
	color: #000;
	width: 100%;
	font-weight:500;
	position:relative;
	padding: 40px 0 40px 40px;
	float: left;
	font-size: 16px;
	transition: all ease .5s;
}
nav ul.nav-ul > li:first-child > a {
	padding-left:0;
}

nav ul.nav-ul > li > a:focus {
	text-decoration: none;
	outline: none;
	color: #000;
}
nav ul.nav-ul > li.active a,
nav ul.nav-ul > li:hover > a {
	text-decoration: none;
	outline: none;
	color: #ed3237;
}

nav ul.nav-ul ul {
	top:100%;
	width:200px;
	overflow:hidden;
	height:0;
	text-align:left;
	list-style:none;
	position:absolute;
	background:#ed3237;
	left:28px;
	transition: all ease .5s;
}
nav ul.nav-ul > li:hover ul {
	height:135px;
}
nav ul.nav-ul ul li a {
	padding:10px 10px;
	float:left;
	width:100%;
	font-weight:300;
	color:#fff;
	transition: all ease .25s;
}
nav ul.nav-ul ul li a:hover {
	background:#0077bd;
}

/********************************main-slider-start***************************************/
.main-slider {
	width:100%;
	float:left;
	height:calc(100% - 107px);
	position:relative;
}
.main-slider img {

    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;

}
/********************************sub-home-start***************************************/
.sub-about {
	width:100%;
	padding:100px 0;
	position:relative;
	float:left;
	background:url(images/point.png) no-repeat;
	background-size:100% auto;
	background-color:#fafafa;
	overflow:hidden;
}
.sub-about.life {
	text-align:center;
	background:none;
}
.sub-about figure {
	padding-left:50px;
	width:60%;
	float:right;
}
.sub-about.life figure {
	width:40%;
	float:left;
	margin-right:10%;
}
.sub-about figure img {
	width:100%;
}

.sub-about-text {
	width:40%;
	float:left;
}
.sub-about-text.inner {
	width:100%;
}
.sub-about.life .sub-about-text {
	margin-top:3%;
	width:500px;
}
.sub-about-text h1 {
	font-size:24px;
	float:left;
	width:100%;
	text-transform:uppercase;
	font-weight:700;
	margin-bottom:15px;
	line-height:36px;
}
.sub-about.life h1 {
	text-transform:capitalize;
}
.sub-about-text h1 small {
	font-size:10px;
	text-transform:capitalize;
	font-weight:400;
}
.sub-about.life .sub-about-text h1 small {
	font-size:14px;
	text-transform:uppercase;
}
.sub-about-text h1 span {
	color:#ed1c24;
}
.sub-about-text p {
	font-size:15px;
	line-height:28px;
	color:#666;
}

/********************************service-tab-start***************************************/
.service-tab {
	width:100%;
	float:left;
	overflow:hidden;
	margin-bottom:100px;
}
.service-tab-t {
	width:50%;
	float:left;
}
.service-tab-t h3 {
	text-align:center;
	font-size:20px;
	color:#333;
	margin-bottom:50px;
	font-weight:500;
}
.service-tab-t ul li {
	width:50%;
	padding-right:10px;
	float:left;
	list-style:none;
	margin-bottom:25px;
	height:170px;
}
.service-tab-t ul li figure {
	width:50px;
	float:left;
}
.service-tab-t ul li figure img {
	width:40px;
}
.service-tab-t ul li figcaption {
	float:right;
	width:calc(100% - 50px);
}
.service-tab-t ul li h4 {
	font-size:16px;
	font-weight:500;
}
.service-tab-t ul li p {
	font-size:14px;
}
.service-tab-s {
	float:right;
	width:50%;
}
.service-tab-s img {
	width:100%;
	margin-bottom:-9px;
}
/********************************category-start***************************************/
.category {
	width:100%;
	float:left;
	margin-bottom:100px;
}
.category li {
	padding:0 15px;
	width:33.33%;
	float:left;
	list-style:none;
}
.category li h3 {
	width:150px;
	display:table;
	line-height:50px;
	text-align:center;
	margin:auto;
	margin-bottom:25px;
	background:#0095da;
	font-weight:600;
	font-size:24px;
	color:#fff;
}
.category li h3:hover {
	background:#000;
}
.category li p {
	font-size:16px;
	margin-bottom:25px;
}
.category li img {
	width:100%;
}


.productsublist-mainpanel {
    width:100%;
    float: right;
    list-style: none;
    margin: 0px;
    padding: 0px;
}
.productsublist-mainpanel li {
    width: 25%;
    float: left;
    padding:15px 10px;
    transition: all ease .25s;
    position: relative;
    overflow: hidden;
}
.productsublist-mainpanel li figure {
    position: relative;
}

.productsublist-mainpanel li:hover img {
    transform: scale(1.1);
}
.productsublist-mainpanel li:hover a figure {
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.14);
}
.productsublist-mainpanel li:hover .readmore-btn {
        background: #2c292a;
}
.productsublist-mainpanel li a {
    width: 100%;
    float: left;
}
.productsublist-mainpanel li a figure {
   width: 100%;
    float: left;
    text-align: center;
	overflow:hidden;
}
.productsublist-mainpanel li  figure {
    width: 100%;
	height:200px;
    float: left;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.07);
    border: 1px solid #ececec;
    padding: 5px;
    text-align: center;
}
.productsublist-mainpanel li  figure img {
	width:auto;
	height:100%;
    vertical-align: middle;
    transition: all ease .25s;
	margin-bottom:-4px;
}

.productsublist-mainpanel li a h3 {
    width: 100%;
    float: left;
    padding: 24px 0px;
    margin: 10px 0;
    color: #333;
    font-size: 20px;
    text-align: center;
    line-height: 18px;
    border-bottom: 1px solid #ececec;
    position: relative;
}
.productsublist-mainpanel li a h3:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0px;
    right: 0px;
    bottom: 0;
    width: 0%;
    margin: auto;
    background: #000;
    height: 1px;
    -webkit-transition-property: width;
    transition-property:width;
    -webkit-transition-duration: .3s;
    transition-duration:.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
.productsublist-mainpanel li:hover h3:before {
    width:100%;
}
.productsublist-mainpanel li .readmore-btn {
    font-weight: 400;
    font-size: 13px;
    padding: 6px 10px;
    display: table;
    margin: 20px auto auto auto;
}

/*----------------------------------productsublist-End--------------------------------*/

/*-------------------------------productlist-page--------------------------------*/

.page-heading {
    padding: 30px 0px;
}
.productsublist-mainpanel li:hover img {
    transform: inherit;
}
.imgcontrol-panel {
    display: inline-block;
    position: relative;
	height:100%;
	width:100%;
	overflow:hidden;
}


.productsublist-mainpanel li .overlay {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background: rgba(0, 0, 0,0.5);
    text-align: center;
    opacity: 0;
    transition: all .3s ease;
}

.productsublist-mainpanel li:hover  .overlay {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
}

.productsublist-mainpanel li .overlay .social {
    display: table-cell;
    vertical-align: middle;
    position: relative;
}
 .social i.fa.fa-plus {
    width: 60px;
    height: 60px;
    border: solid 2px #fff;
    border-radius: 50%;
    line-height: 60px;
    color: #fff;
}

.overlay .inner {
    display: table;
    width: 100%;
    height: 100%;
    position: relative;

}
.productsublist-mainpanel li figure i img {
	margin:auto;
	display:block;
	width:50px;
}
/*--------------------------------productlist-End--------------------------------*/


/********************************gallery-tab-start***************************************/
.gallery-tab {
	width:100%;
	float:left;
	overflow:hidden;
}
.gallery-tab h5 {
	text-align:center;
	color:#fff;
	width:225px;
	line-height:60px;
	background:#ed1c24;
	margin:auto;
	display:block;
	font-size:28px;
	margin-bottom:50px;
}
.gallery-tab .owl-carousel .item {
	padding:0 5px;
}
.gallery-tab .owl-carousel {
	width:calc(100% + 10px);
	margin-left:-5px
}
/********************************footer-start***************************************/
footer {
	padding:50px 0;
	background:#e6e7e8;
	width:100%;
	float:left;
	color:#fff;
	text-align:center;
}
footer .foot-log {
	float:left;
}
footer ul {
	margin-top:25px;
	float:right;
}
footer ul li {
	margin-right:50px;
	display:inline-block;
}
footer ul li a {
	color:#000;
}
footer ul li a:hover {
	color:#ed1c24;
}
footer p {
	font-size:12px;
	float:left;
	width:100%;
	color:#999;
}
footer p a {
	color:#999;
}
footer p a:hover {
	color:#000;
}
/*large-screen*/
@media (min-width: 1200px) and (max-width: 1599px) {
}

/*medium-desktop-screen*/
@media (min-width: 992px) and (max-width: 1199px) {
	.container {
		width:950px;
	}
	nav ul.nav-ul {
		margin-top:7px;
	}
	.logo {
		margin-top:15px;
	}
	.main-slider {
		height:auto;
	}
	.sub-about figure,
	.sub-about-text {
		width:50%;
	}
	.sub-about-text p {
		font-size:13px;
		line-height:24px;
	}
	.sub-about.life .sub-about-text p {
		display:none;
	}
	.service-tab-s {
		width:30%;
	}
	.service-tab-t {
		width:70%;
	}
	.productsublist-mainpanel li {
		width:33.33%;
	}
}

/*responsive-tab*/
@media (min-width:768px) and (max-width:991px) {
	.container {
		width:740px;
	}
	.main-slider {
		height:auto;
	}
	.sub-about {
		padding:50px 0;
	}
	.sub-about figure {
		width:100%;
		padding:0 50px;
	}
	.sub-about.life figure {
		width:100%;
		margin:0;
	}
	.sub-about-text {
		padding:0 50px;
		width:100%;
	}
	.sub-about.life .sub-about-text {
		width:100%;
		margin:0;
	}
	.sub-about-text h1,
	.sub-about ul {
		text-align:center;
	}
	.service-tab-s {
		padding:0 50px;
		width:100%;
	}
	.service-tab-t {
		padding:0 50px;
		width:100%;
	}
	.productsublist-mainpanel li {
		width:50%;
	}
	footer img {
		width:200px;
	}
}

/*responsive-small-screen*/

@media (max-width:767px) {
	.header-mar {
		height:89px;
	}
	.container {
		margin:0 5%;
		float:left;
		width:90%;
	}
	.mob-nav-btn {
		display: block;
		float: right;
		cursor: pointer;
		font-size: 20px;
		color: #fff;
		margin: 20px 5px;
		width: 40px;
		text-align: center;
		height: 40px;
		line-height: 36px;
		border-radius: 5px;
		border: 2px solid #fff;
		background:#ed3237;
	}
	.mob-nav-btn:hover {
		background: #444;
		transition: all ease .5s;
	}
	.mob-nav {
		display: none;
	}
	.mob-nav:before {
		width: 250px;
		left: 0;
		top: 0;
		content: '';
		position: fixed;
		height: 100%;
		background: #444;
		z-index: 1;
	}
	nav {
		margin-top:5px;
		margin-left:30px;
		float:right;
	}
	.logo {
		margin-top:20px;
	}
	.logo img {
		width: 150px;
	}
	.logo-mob {
		text-align: left;
		padding-left: 10px;
		display: block;
		position: fixed;
		top: 0;
		padding-top: 10px;
		left: 0;
		border-bottom:2px solid #fff;
		width: 250px;
		padding-bottom: 10px;
		z-index: 2;
		background: #f1f1f1;
	}
	.logo-mob .icon {
		position: absolute;
		top: 10px;
		width:35px;
		padding:5px;
		line-height:26px;
		text-align:center;
		right: 15px;
		background:#fff;
		border-radius:50%;
		cursor: pointer;
	}
	.logo-mob a img {
		width: 105px;
	}
	nav ul.nav-ul > li:hover > a:before{display:none;}
	nav ul.nav-ul > li .nav-down {
		height:auto;
		display:none;
	}
	nav ul.nav-ul > li:hover .nav-down {
		height:auto;
	}
	nav ul.nav-ul {
		width: 250px;
		left: 0;
		top: 0;
		padding: 56px 10px 10px 10px;
		position: absolute;
		float: none;
		background: none;
		z-index: 1;
	}
	nav ul.nav-ul > li {
		width: 100%;
		text-align: left;
	}
	nav ul.nav-ul > li > a {
		padding: 5px;
		color: #fff;
		border-top: 1px dotted #555;
	}
	nav ul.nav-ul ul {
		height:auto;
		position:static;
	}
	.main-slider {
		height:auto;
	}
	.sub-about {
		padding:25px 0;
	}
	.sub-about figure {
		width:100%;
		padding:0;
	}
	.sub-about.life figure {
		width:80%;
		margin-left:10%;
	}
	.sub-about-text {
		width:100%;
		text-align:center;
	}
	.sub-about.life .sub-about-text {
		width:80%;
		margin-left:10%;
	}
	.sub-about-text p {
		display:none;
	}
	.sub-about-text h1 {
		font-size:18px;
		line-height:24px;
	}
	.service-tab-s {
		width:100%;
	}
	.service-tab-t,
	.service-tab-t ul li {
		width:100%;
		height:auto;
	}
	.service-tab-t {
		padding:25px 0;
	}
	.service-tab-t h3 {
		font-size:22px;
	}
	.category {
		margin-bottom:50px;
	}
	.category li {
		width:100%;
		padding:25px 10px;
		border-bottom:1px solid #ccc;
	}
	.productsublist-mainpanel li {
		width:100%;
	}
	footer .foot-log {
		width:100%;
	}
	footer ul {
		width:100%;
		margin-bottom:15px;
	}
	footer ul li {
		margin:0 0 10px 0;
		display:block;
	}
	
}