/* =======================================================
 *
 *    Demo
 *    By castlecode
 *
 *    Contact: http://codecanyon.net/user/castlecode
 *
 *    Copyright (c) 2013, castlecode. All rights reserved.
 *    Available only in http://codecanyon.net/
 *
 *    ---------------------------------
 *    CONTENTS
 *    ---------------------------------
 *
 *    (1) GRAPHIC STYLE (Play around in this section)
 *
 *      [4] WELCOME SECTION
 *      [5] CONTENT
 *      [6] FEATURES
 *      [7] FOOTER
 *      [8] TO TOP
 *      [9] RESPONSIVE DESIGN
 *
 * ======================================================= */


/* ====================================================================== *
      [1] MAIN STUFF
 * ====================================================================== */

	html {
    	margin-right: 0;
    	overflow: visible;
	}

	body{
		font-family: 'Rajdhani', "Helvetica Neue", Helvetica, Arial, sans-serif;
		/*
		margin-top: 66px;

		-webkit-transition: margin-top 0.4s ease;
	       -moz-transition: margin-top 0.4s ease;
	         -o-transition: margin-top 0.4s ease;
	            transition: margin-top 0.4s ease; */
	}

	h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6{
		font-family: 'Rajdhani';
		font-weight: 500;
		letter-spacing: -0.025em;
		letter-spacing: -0.05em !important;
	}

	h1, .h1 {
		font-size: 3.6rem;
		line-height: 3.6rem;
	}

	h2, .h2 {
		font-size: 3.8rem;
		font-weight: 400;
		line-height: 3.4rem;
		letter-spacing: -0.05em !important;
	}

	h2 strong, .h2 strong {

	}

	h3, .h3 {
		font-size: 3.2rem;
		font-weight: 400;
		line-height: 1.1em;
		letter-spacing: -0.02em !important;
	}

	h4, .h4 {
		font-size: 2.8rem;
		font-weight: 400;
		line-height: 1.1em;
		letter-spacing: -0.05em !important;
	}


	h4 sup, .h4 sup {
		font-size: 65%;
	}

	.pagetitle {
		font-size: 5.0rem;

line-height: 5rem;

font-weight: 500;

margin-bottom: 0px;

color: #ffffff;

text-align: center;

display: inline-block;

margin: 0 auto;

position: absolute;

left: 40%;

border: 3px solid #fff;

padding: 10px 20px 20px;
	}
	.pagetitle em {
		font-size: 3.8rem;
		font-weight: 400;
		line-height: 0.7em;
		display: block;
	}

	.pagelogo {
		position: absolute;
		top: -2px;
		display: inline-block;
		left: 50%;
		margin-left: -2%;
	}
	.pagelogo img {
		width: 160px;
	}

	.active {
		padding: 0px;
		border: 5px solid #aaa;
		border-bottom: 0px;
		display: inline-block;
		background-color: #aaa;
		color: #fff;
	}

	.h2 a, h2 a {
		/* color: rgba(160,160,160,1) !important; */
	}

	.h2 a:hover, h2 a:hover {
		/* color: rgba(0,0,0,1) !important; */
	}

	::selection {
	    background: #e54e53;
	    color: #fff;
	}


#sitenav {
	position: absolute;
	right: 0px;
	top: 80px;
}

#sitenav ul {
	padding: 0px;
	margin: 0px;
	list-style:  none;
}

#sitenav ul li {
	padding: 0px 0px;
	background-color: #ffffff;
	margin-bottom: 5px;
	display: block;
	line-height: 50px;
	width: 50px;
	height: 50px;

}

#sitenav ul li a {
	background-color: #808080;
	color: #ffffff;
	box-shadow: 0px 1px 3px rgba(0,0,0,0.1);
	width: 100%;
	height: 100%;
	display: block;
	-webkit-transition: all 0.4s ease 0s; transition: all 0.4s ease 0s;
}
#sitenav ul li a:hover {
	background-color: #444444;
	color: #ffffff;
	-webkit-transition: all 0.4s ease 0s; transition: all 0.4s ease 0s;
}

#sitenav i {
	font-size: 24px;
    width: 100%;
    text-align: center;
}


/* ====================================================================== *
      [5] CONTENT
 * ====================================================================== */

	.content{

		/* width: 1380px; */
		/* width: 1560px; */
		width: 1720px;
		max-width: 100%;
		margin: auto;
		padding-left: 30px;
		padding-right: 30px;
	}

	.content h4{
		margin: 20px 0;
		color: #575757;
	}

	.section{
		background: #fff;
		width: 100%;
		padding: 100px 0;
	}

	.content p{
		color: #575757;
		margin-bottom: 0;
	}

	.grid-section{
		background-repeat: no-repeat;
	    background-size: 100% 100%;
		/*background: rgb(250, 250, 250);*/
		background: #f5f6fa;
		padding-top: 20px;
		padding-bottom: 50px;
	}

	.animate-on-load{
		opacity: 0;
	}

	.headline{
		text-align: center;
		margin-bottom: 80px;
	}

	.headline h2{
	    font-family: 'Montserrat', sans-serif;
	    font-weight: 400;
	    font-size: 34px;
	    margin-bottom: 40px;
	    margin-top: 0 !important;
	}

	.headline p{
		color: #999999;
		font-size: 18px;
	}

		/* .demo .images img { opacity:0.3; } */
		.media-box-container img { opacity: 0.3; -webkit-filter: grayscale(100%);filter: grayscale(100%); -webkit-transition: all 0.4s ease 0s; transition: all 0.4s ease 0s;

		}
		/* .demo .element:hover .images img { opacity:1; } */
		.media-box-container:hover  img { opacity: 1.0; -webkit-filter: grayscale(0%);filter: grayscale(0%); -webkit-transition: all 0.4s ease 0s; transition: all 0.4s ease 0s;
		}

/* ====================================================================== *
      [6] FEATURES
 * ====================================================================== */

	.features-container{
		overflow: hidden;
	}

	.features-container .row{
		text-align: center;
	}

	.features-container i{
		color: #e54e53;
		font-size: 25px;
	}

	.features-container h4{
		font-size: 17px;
		font-weight: 600;
		margin: 0 0 20px 0;
		color: rgb(51, 51, 51);
	}

	.features-container p{
		margin-bottom: 50px;
		color: #777;
		font-size: 14px;
		line-height: 26.6px;
		font-weight: 300;
	}

	.features-container .row:last-child{
		margin-bottom: -50px;
	}

	.col-md-6{
		padding-left: 40px;
		padding-right: 40px;
	}

	.features{
		color:rgb(88, 88, 88);
	}

	.feature-icon{
		text-align: center;
		margin-bottom: 30px;
	}

	.feature-text{
		padding: 0 20px;
	}

	.bg-img1 {
		background-image: url(../../../../media/bg_lars1.jpg);
		background-position: 400px 0px;
		background-repeat: no-repeat;
		background-color: #e9e9e9 !important;
		background-size:	80%;
		padding: 0px 0px;
	}

	.media-boxes-filter > li a {
		font-size: 20px;
		font-weight: 500;
	}

/* ====================================================================== *
      [7] FOOTER
 * ====================================================================== */

	.footer{
		padding-top: 20px !important;
		padding-bottom: 20px !important;
		border: none !important;
		color: #777777;
		background-color: transparent;
		/* background-color: rgb(22, 22, 22); */
		font-weight: 300;
	}

	.footer a{
		color: #999;
		text-decoration: none !important;
	}

/* ====================================================================== *
      [8] TO TOP
 * ====================================================================== */

	.fixed{
		position: fixed;
		right: 24px;
		bottom: 0px;
		display: none;
		z-index: 999;
	}

	.to-top{
		height: 36px;
		line-height: 36px;
		width: 42px;
		background-color: rgba(0,0,0,.8);
		color: #fff;
		cursor: pointer;
		text-align: center;
		font-size: 12px;

		-webkit-border-radius: 3px 3px 0 0;
		   -moz-border-radius: 3px 3px 0 0;
		     -o-border-radius: 3px 3px 0 0;
		        border-radius: 3px 3px 0 0;

		-webkit-transition: all 0.2s;
		   -moz-transition: all 0.2s;
		    -ms-transition: all 0.2s;
		     -o-transition: all 0.2s;
		        transition: all 0.2s;
	}

	.to-top i{
		margin-top: 10px;
	}

	.to-top:hover{
		background-color: #e54e53 !important;
	}

/* ====================================================================== *
      [9] RESPONSIVE DESIGN
 * ====================================================================== */

	@media only screen and (max-width: 1200px) {
		.content{
			width: 100%;
			padding: 0px 10px !important;
		}

		h1, .h1 {
			font-size: 3.0rem;
			line-height: 3.0rem;
		}

		h2, .h2 {
			font-size: 2.6rem;
			line-height: 2.3rem;
		}

		h3, .h3 {
			font-size: 2.3rem;
			line-height: 2.1rem;
		}

		h4, .h4 {
			font-size: 2.1rem;
			line-height: 1.8rem;
		}

		.pagetitle {
			font-size: 4.6rem;
			line-height: 3.2rem;
			font-weight: 400;
			margin-bottom: 30px;

		}

		.pagetitle em {
			font-size: 2.8rem;
			font-weight: 400;
			line-height: 1em;
		}


		.bg-img1 {
			background-position: 100px 0px;
			background-size:	110%;
			padding: 0px 20px;
		}

	}



	@media only screen and (max-width: 768px) {
		h1, .h1 {
			font-size: 2.4rem;
			line-height: 2.5rem;
		}

		h2, .h2 {
			font-size: 2.2rem;
			line-height: 2.0rem;
		}

		h3, .h3 {
			font-size: 2.3rem;
			line-height: 2.1rem;
		}

		h4, .h4 {
			font-size: 2.1rem;
			line-height: 2.3rem;
		}

		.pagetitle {
			font-size: 4.6rem;
			line-height: 3.2rem;
			font-weight: 400;
			margin-bottom: 30px;
			text-align: left;


		}
		.pagetitle em {
			font-size: 3.0rem;
			font-weight: 400;
			line-height: 1em;
		}

		.pagelogo {
			top: 20px;
			margin: 0 auto;
			float: left;
		}
		.pagelogo img {
			width: 120px;
		}

		.bg-img1 {
			background-position: -100px 0px;
			background-size:	130%;
			padding: 0px 20px;
		}
	}


	@media only screen and (max-width: 480px) {
		h1, .h1 {
			font-size: 2.4rem;
			line-height: 2.4rem;
		}

		h2, .h2 {
			font-size: 1.8rem;
			line-height:1.5rem;
		}

		h3, .h3 {
			font-size: 2.1rem;
			line-height: 1.9rem;
		}

		h4, .h4 {
			font-size: 1.6rem;
			line-height: 1.5rem;
		}

		.pagetitle {
			font-size: 2.4rem;
			line-height: 3.0rem;
			font-weight: 400;
			margin-bottom: 30px;
			left: 20px;

		}
		.pagetitle em {
			font-size: 1.6rem;
			font-weight: 400;
			line-height: 0.85em;
		}


		.bg-img1 {
			background-position: -110px 0px;
			background-size: 140%;
			padding: 0px 10px;
		}

		#sitenav i {
			font-size: 18px;
		}

		#sitenav ul li {
			padding: 0px 0px;
			background-color: #ffffff;
			margin-bottom: 5px;
			display: block;
			line-height: 30px;
			width: 30px;
			height: 30px;
		}
	}

	@media only screen and (max-width: 320px) {
		h1, .h1 {
			font-size: 2.2rem;
			line-height: 2.2rem;
		}

		h2, .h2 {
			font-size: 1.6rem;
			line-height: 1.4rem;
		}

		h3, .h3 {
			font-size: 1.9rem;
			line-height: 1.6rem;
		}

		h4, .h4 {
			font-size: 1.7rem;
			line-height: 1.5rem;
		}

		.pagetitle {
			font-size: 2.3rem;
			font-weight: 400;
			line-height: 0.7em;
			display: block;

		}
		.pagetitle em {
			font-size: 1.3rem;
			font-weight: 400;
			line-height: 0.9em;
		}

		.bg-img1 {
			background-position: -30px 0px;
			background-size: 120%;
			padding: 0px 10px;
		}
	}
