html
{
	background-color: var(--color-bg);
}
/*
body
{
	background-image: url('/images/bg9.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top center;
}
*/
#main-content
{
	padding: 0 70px;
}

#main-content h1
{
	margin-top: 50px;
	color: var(--color-primary) !important;
}

.service-box
{
    overflow: hidden;
    position: relative;
	border: 1px solid var(--color-dark-grey);
}

.fadeInUp
{
    animation-name: fadeInUp;
}

.service-image
{
    height: 630px;
}

.service-image img
{
    height: auto;
    width: 100%;
    object-fit: cover;
    transition: all .5s;
}

.service-image:after
{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(180deg, rgba(27, 36, 41, 0), rgba(27, 36, 41, .79) 78.72%);
}

.service-icon
{
    position: absolute;
    top: 10%;
	left: 44px;
    transform: translateY(-50%);
    height: 120px;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    background-color: var(--color-bg);
	font-size: 50px;
    z-index: 2;
    transition: all .5s;
}
/*
.service-box:hover .service-icon
{
    opacity: 0;
}
*/
.service-details
{
    position: absolute;
    padding: 100px 50px 50px 50px;
    z-index: 1;
    bottom: -1px;
}

.service-details h4
{
	margin-bottom: 12px;
	font-size: 26px;
	color: var(--color-primary) !important;
}

.service-details p
{
    margin-bottom: 0;
    transition: all .5s;
	color: var(--color-dark-text);
}
/*
.service-box:hover .service-details h4
{
	text-shadow: 0 0 1px #ffffff;
}

.service-box:hover .service-details p
{
	color: var(--color-light);
}
*/
.service-details:after
{
    content: "";
    position: absolute;
    bottom: 0;
    left: -1px;
    height: 100%;
    width: 101%;
    background-color: #e6e6e6;
    transition: all .5s;
    clip-path: polygon(66% 29%, 100% 11%, 100% 100%, 0 100%, 0 0);
    z-index: -1;
}
/*
.service-box:hover .service-details:after
{
    bottom: -400px;
}
*/

@media only screen and (max-width: 1200px)
{
	#main-content
	{
		padding: 0 30px;
	}
}


@media only screen and (max-width: 900px)
{
	#main-content
	{
		padding: 0;
	}

	.content
	{
		display: block;
	}


	.content > div
	{
		width: auto;
	}

}

@media only screen and (max-width: 550px)
{
	.service-icon
	{
	    top: 11%;
		left: 24px;
	}

	.service-image
	{
	    height: 700px;
	}

	.service-details
	{
        padding: 100px 40px 50px 40px;
	}


	.service-details:after
	{
	    clip-path: polygon(56% 19%, 100% 11%, 100% 100%, 0 100%, 0 0);
	}

}

@media only screen and (max-width: 450px)
{
	#main-content h1
	{
		font-size: 1.8rem;
	}
}