/**
 * Name: layout.css
 *
 *	-
 *
 *	T.O.C
 *
 *	#General Layout
 *		#Header
 *		#Content
 *		#Footer
 *	#Page Styles
 *		#Index
 *		#About
 *		#Services
 *		#Portfolio
 **		#Contact
 *	#Responsive
 *		#Large Display
 *		#Smaller then 1024px width
 *		#Tablet (Portrait)
 *		#Mobile (Portrait and Landscape )
 *		#Mobile ( Landscape )
 */

/* ==========================================================================
   #General Layout
   ========================================================================== */

	#wrap {
		position: relative;
		background-image:url(/images/bg_leftwallpaper.png), url(/images/bg_rightwallpaper.png);
		background-attachment: scroll, scroll;
		background-position: left bottom, right bottom;
		background-repeat: no-repeat, no-repeat;
		background-color: #fff;
		height:100%;
		z-index: 1;
	}

	.fullwidthbanner {visibility: hidden}

	div#preload { display: none; }

/* #Header
   ========================================================================== */

	#header {background-color:#fff;border-top: 5px solid #dedede;}
    #header h1, #header h2 {
        height: 1px;
        margin: 0;
        padding: 0;
        text-indent: -9999px;
        border:none;
        float:left;
    }

	/* Logo */

	#logo {
		display: block;
		margin-top: 7px;
	}

	#logo img { display: block; }

	#location-info{
		margin-top: 13px;
		margin-bottom: 0px;
		font-size: 14px;
		line-height: 18px;
		color:#333;
		float:right;
	}

	/* Masthead contact info */

	#location-info span, #location-info span a{
		color:#8d8d8d;
	}
	#location-info i{
		float:left;
		margin:2px 8px 4px 0px;
	}
	#location-content{
		float:right;
	}
	#location-content a{
		white-space: nowrap;
	}
	#location-content .loc-add, #location-content .loc-phone{
		width:230px;
		float:right;
	}
	.vert-dotted{
		background:url(/images/bg-single-dotted-vertical.png) repeat-y top left;
	}

	/* Menu basics */

    #menu_search{
        background-color: #444444;
        margin-top:10px;
    }

	.sf-menu,
	.sf-menu ul {
		padding: 0;
		margin: 0;
		list-style: none;
		position: relative;
		z-index: 100;
	}

	.sf-menu > li {
		float: left;
		margin-right: 0;
		position: relative;
	}

	.sf-menu > li > a {
		position: relative;
		display: block;
	}
	.sf-menu > li a:after {
		background:transparent url(/images/bg-single-dotted-white-vertical.png);
		position: absolute;
		top:17px;
		left:105%;
		width:1px;
		height: 11px;
		content: " ";
	}
	.sf-menu > li:last-child a:after, .sf-menu li.dropdown ul li a:after{
		background: none;
	}
	.sf-menu li.dropdown ul {
		position: absolute;
		z-index: 210;
		top: 100%;
		left: 0;
		display: none;
			-webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
					box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
	}

	.sf-menu li.dropdown { position: relative; }

	.sf-menu li.dropdown ul ul {
		top: -1px;
		left: 100%;
	}

	.sf-menu li.dropdown:hover > ul,
	.sf-menu li.dropdown.sfHover > ul { display: block; }

	/* Menu Skin */

	.sf-menu {
		float: left;
		/*width: 100%;*/
	}

	.sf-menu a {
		display: block;
		font: 14px 'Source Sans Pro', Arial, sans-serif;
		color: #fff;
		font-weight: 600;
		text-decoration: none;
	}

	.sf-menu > li > a,
	.sf-menu > li.dropdown > a {
		color: #fff;
		font-size: 15px;
		padding:8px 5px 5px;
		box-sizing: border-box;
		text-align: center;
		text-transform: uppercase;
	}
	.sf-menu li:first-child a, .sf-menu li:first-child span{
		padding-left:0px;
	}

	.sf-menu > li > a span {
		display: inline-block;
		padding: 5px;
		border: 1px solid transparent;
	}
	.sf-menu > li.dropdown > a span {
		display: inline-block;
		padding: 5px;
		border: 1px solid transparent;
	}

	.sf-menu > li a i { margin-right: 5px; }

	.sf-menu > li.active > a span {
		color: #9ac910;
	}

	.sf-menu > li.active > a small { color: #9ac910; }

	.sf-menu > li > a:hover span{ color: #9ac910; }

	/**
 	 * 1. allow long menu items to determine submenu width
 	 */

	.sf-menu li.dropdown ul {
		min-width: 210px; /* 1 */
		border: 1px solid #d7d7d7;
		background-color: #fff;
	}

	.sf-menu > li.dropdown ul { padding: 0; }

	.sf-menu li.dropdown ul li a {
		position: relative;
		padding: 10px;
		color: #4e4e4e;
		font-size: 14px;
		font-weight: bold;
		text-transform: uppercase;
	}

	.sf-menu li.dropdown ul li a:hover { color: #fff;background-color: #cc203b }

	/* arrows */

	/* styling for both css and generated arrows */

	.sf-arrows .sf-with-ul:after {
		position: absolute;
		top: 50%;
		right: 0;
		height: 0;
		width: 0;
		/* order of following 3 rules important for fallbacks to work */
		border: 5px solid transparent;
		border-top-color: rgba(0, 0, 0, 0.5);
		margin-top: -3px;
		content: "";
	}

	.sf-arrows > li > .sf-with-ul:focus:after,
	.sf-arrows > li:hover > .sf-with-ul:after,
	.sf-arrows > .sfHover > .sf-with-ul:after {
		border-top-color: rgba(0, 0, 0, 0.7);
	}

	/* styling for right-facing arrows */

	.sf-arrows ul .sf-with-ul:after {
		border-color: transparent;
		border-left-color: rgba(0 ,0, 0, 0.5);
		margin-top: -5px;
		margin-right: -3px;
	}

	.sf-arrows ul li > .sf-with-ul:focus:after,
	.sf-arrows ul li:hover > .sf-with-ul:after,
	.sf-arrows ul .sfHover > .sf-with-ul:after {
		border-left-color: rgba(0, 0, 0, 0.7);
	}

	/* Mobile Menu  */

	#mobile-menu {
		z-index: 20;
		margin-bottom: 0;
	}

	#mobile-menu li {
		display: block;
		margin: 0;
		background-color: #444444;
	}
	#mobile-menu li a:hover {
		background-color: #2e2e2e;
		color:#9ac910;
	}

	#mobile-menu > li > ul,
	#mobile-menu > li > ul > li > ul {
		display: none;
		margin-left: 0;
	}

	#mobile-menu li a {
		position: relative;
		display: block;
		padding: 10px 15px;
		border-bottom: 1px solid #d7d7d7;
		color: #fff;
		font-size: 16px;
		text-align: left;
		text-decoration: none;
	}

	#mobile-menu ul a { padding-left: 45px; }

	#mobile-menu ul li ul a  { padding-left: 65px; }

	#mobile-menu .mobile-menu-submenu-arrow {
		position: absolute;
		top: 0;
		right: 0;
		height: 100%;
		width: 70px;
		border-left: 1px solid #d7d7d7;
		color: #fff;
		background-color: #222;
		font-size: 20px;
		line-height: 50px;
		text-align: center;
		cursor: pointer;
	}

	#mobile-menu .mobile-menu-submenu-arrow:hover {
		background-color: #cc203b;
		color: #fff;
	}

	#mobile-menu li a:hover {}

	#mobile-menu { display: none; }

	/* Mobile menu trigger  */

	#mobile-menu-trigger {
		float: right;
		display: none;
		font-size: 30px;
		color: #444;
	}

	/* Custom Search Form */

	#gsc-i-id1{background:#fff !important;text-indent:5px !important;}

	.container-1{
		width: 200px;
		vertical-align: middle;
		white-space: nowrap;
		position: relative;
		float: right;
	}
	.container-1 input#search{
		width: 200px;
		border: none;
		float: left;
		background-color: #2e2e2e;
		border:1px solid #676767;
		margin-top:4px;
		color:#aaa;
		border-radius: 0px;
		padding-left: 5px;
		-webkit-box-shadow: inset 1px 1px 1px 0px rgba(0,0,0,0.75);
		-moz-box-shadow: inset 1px 1px 1px 0px rgba(0,0,0,0.75);
		box-shadow: inset 1px 1px 1px 0px rgba(0,0,0,0.75);
		font-family: 'Source Sans Pro', Arial, sans-serif;
	}
	.container-1 .icon a{
		position: absolute;
		top: 7px;
		left:175px;
		z-index: 1;
		color: #a3a3a3;
		font-size: 16px;
	}
	.container-1 input#search:active,.container-1 input#search:focus{
		background-color: #fff;
		color:#333;
	}
	.container-1 input:-moz-placeholder,
	.container-1 input::-moz-placeholder,
	.container-1 input:-ms-input-placeholder,
	.container-1 input::-webkit-input-placeholder {
		color: #c4c4c4;
	}

/* #Content
   ========================================================================== */

	/* colors */
	.red{color:#cc203b;}
	.darkgrey{color:#444;}
	.ltgrey{color:#888;}

	#content {
		margin-top:25px;
	}

	p{
		text-align: justify;
	}
	#content ul,#content ol{
		margin-left: 40px;
	}
	.push{
		height:40px;
	}

	#clients a:link{
		white-space: nowrap;
	}


	/* Page Header */

	#page-header {
		z-index: 200;
		padding: 20px 0;
		border-bottom: 1px solid #d7d7d7;
		background-color: #fff;
		background-repeat: no-repeat;
		background-position: top right;
	}

	#page-header h2 {
		font-size: 30px;
		margin-bottom: 0;
		color:#cc203b;
		line-height: 24px;
	}
	#breadcrumb{
		margin:5px 0px;
	}
	#breadcrumb ul li{
		font-size: 12px;
		line-height: 16px;
		color:#777;
		text-transform: uppercase;
		margin-right:6px;
		display: inline-block;
	}

	#breadcrumb li:last-child{
		background: none;
	}
	#breadcrumb a:link, #breadcrumb a:visited{
		color:#cc203b;
		xtext-decoration: underline;
		text-decoration: none !important;
	}
	#breadcrumb a:hover {
		text-decoration: none !important;
		color:#777;
	}
	#breadcrumb li a:after {
		position: relative;
		top:4px;
		right:-5px;
		display: inline-block;
		font-size: 22px;
		color:#777;
		text-decoration: none !important;
		content: "܃܃";
	}
	.widescreen-only{
		display: inherit;
	}
	h1,h3,h4{
		color:#cc203b;
	}

/* #Footer
   ========================================================================== */

	#footer {
		padding: 10px 0;
		background-color: #444;
		color: #fefefe;
		font: 12px/14px 'Source Sans Pro', Arial, sans-serif;
	}
	#footer span{
		color:#b2b2b2;
		padding:0px 5px;
	}
	#footer a:link, #footer a:visited{
		color:#fff;
	}

/* ==========================================================================
   #Page Styles
   ========================================================================== */

/* #Specialties
   ========================================================================== */
	.specialties h5{
		text-transform: uppercase;
		letter-spacing: -.5px;
		margin-bottom: 10px;
		font-size: 18px;
	}
	.specialties img{
		border:2px solid #444;
		border-radius: 5px;
		margin-bottom: 10px;
	}
	.specialties a:hover{
		text-decoration: none;
	}
	.specialties p{
		text-align: left;
	}
	.fullwidth-section h3{
		color:#222;
	}

	.fullwidth-section {
		overflow: hidden;
		position: relative;
		z-index: 0;
		padding: 15px 0;
		border-top: 1px solid #d7d7d7;
		border-bottom: 1px solid #d7d7d7;
		margin: 20px 0;
		color: #000;
		background-color: #eee;
		background-attachment: scroll;
		background-repeat: no-repeat; /* 1 */
		background-position: 50% 0;
		-webkit-background-size: cover;
				background-size: cover;
	}

	.fullwidth-section-content {
		position: relative;
		z-index: 3;
	}

/* #Projects
   ========================================================================== */
	.projects h4{
		text-transform: uppercase;
		letter-spacing: -.5px;
	}
	.projects img{
		border:2px solid #444;
		border-radius: 5px;
	}
	.projects a:hover{
		text-decoration: none;
	}
	.projects img.responsive-img:hover, .specialties img.responsive-img:hover {
	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+, IE10 */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%); /* Chrome 19+ & Safari 6+ */
    -webkit-transition: all .6s ease; /* Fade to color for Chrome and Safari */
    -webkit-backface-visibility: hidden; /* Fix for transition flickering */
}

/* #Engineers
   ========================================================================== */
	.principal .team h5 span{
		color:#444;
		font-size: 14px;
	}
	.principal .team h5{
		font-size: 18px;
		line-height: 1.5;
	}
	.principal .team-photo img{
		border:2px solid #444;
		border-radius: 5px;
	}
	.team h5, .team-photo{
		color:#333;
		text-align: center;
		text-transform: none;
		font-weight: bold;
	}
	.team-photo img{
		max-width: 200px;
		border:2px solid #444;
		border-radius: 5px;
	}

	.team h5 span{
		color:#444;
		font-size: 12px;
	}
	.team a:hover{
		text-decoration: none;
	}

	/* Detail page */

	.team-detail img{
		border:2px solid #444;
		border-radius: 5px;
	}
	.team-detail h3{
		color:#444;
		font-weight: 600;
		margin-bottom: 10px;
		font-family: "Open Sans", sans-serif;
	}
	.team-detail h5{
		font-weight: bold;
	}
	.team-detail h3 span{
		font-weight: 400;
		font-size: 18px;
		color:#cc203b;
		text-transform: none;
	}


/* #Contact
   ========================================================================== */

   #applyways i{
		margin:0px 10px 0 0;
		font-size: 30px;
		float:left;
		width:30px;
		color:#cc203b;
		display: inline-block;
		padding-bottom:30px;
		clear: left;
   }
   #applyways .way{
   		text-align: left !important;
   		margin-bottom: 30px;
   	}
/* ==========================================================================
   #Back to top
   ========================================================================== */

	#back-to-top {
		position: fixed;
		z-index: 1000;
		right: -40px;
		bottom: 20px;
		width: 40px;
		height: 40px;
		background-color: #000;
		color: #fff;
		font-size: 30px;
		text-align: center;
		opacity: 0.5;
		text-decoration: none;
		cursor: pointer;
		-webkit-transition: all 0.4s ease 0s;
				transition: all 0.4s ease 0s;
	}

	#back-to-top i {
		font-size: 24px;
		line-height: 40px;
		font-weight: normal;
		vertical-align: top;
		-webkit-transition: all 0.4s ease 0s;
				transition: all 0.4s ease 0s;
	}

	#back-to-top:hover { opacity: 1; }

	#back-to-top.visible { right: 40px; }
	#back-to-top.gone { right: -40px; }


/* ==========================================================================
   #Responsive
   ========================================================================== */

/* #Large Display Footer Bottom
   ========================================================================== */
   	@media only screen and (min-height: 769px){
        html,
        body {
            margin:0;
            padding:0;
            height:100%;
            overflow-x: hidden;
        }
        #wrap {
			min-height: 100%;
			height: auto !important;
			height: 100%;
			margin: 0 auto -40px; /* the bottom margin is the negative value of the footer's height */
           }
        #content {
           	position: relative;
            padding-bottom:50px; /* Height of the footer element */
        }
        #footer {
            width:100%;
            height:15px;
            position:absolute;
            bottom:0;
            left:0;
            z-index: 5;
        }
    }

	/* #Widescreen
   ========================================================================== */

	@media (min-width: 1400px) {

		.sf-menu > li { margin-right: 10px;}

		.sf-menu > li:last-child { margin-right: 0; }

	}

/* #Smaller then 1399px width
   ========================================================================== */

	@media (min-width: 980px) and (max-width: 1399px) {
	#wrap{
		background-attachment: fixed, fixed;
		background-position: -240px bottom, 150% bottom;
		background-size: 50%, 50%;
	}
	.sf-menu > li a:after {
			left:100%;
		}
		.vert-dotted{
			padding-left: 20px;
		}
		.widescreen-only{
			display: none;
		}
		#location-info{
			margin-top:15px;
			width:70%;
		}

	.sf-menu > li > a, .sf-menu > li.dropdown > a {
		padding:8px 2px 2px;
		box-sizing: border-box;
		font-size: 13px;
	}
}

/* #Tablet (Portrait)
   ========================================================================== */

	@media (min-width: 768px) and (max-width: 979px) {

		#menu, .box { display: none; }
		#menu_search{height:5px;}

		#mobile-menu-trigger {
			display: block;
			padding-right: 15px;
			margin: 10px 0;
		}
		#location-info{
			width:70%;
			float:right;
		}
		#location-content .span3{
			width:46%;
		}
		#location-info i{
			float:left;
			margin:4px 4px 4px 0px;
		}
		.vert-dotted{
			background:none;
		}
		.widescreen-only{
			display: none;
		}


	}

/* #Mobile (Portrait and Landscape )
   ========================================================================== */
	@media only screen and (max-width: 767px), (max-height: 800px){
		html,
        body {
            margin:0;
            padding:0;
            height:100%;
            overflow-x: hidden;
            overflow-y:auto;
        }
        html{
			height:100%;

		}
		#wrap {
			min-height: 100%;
			height: auto !important;
			height: 100%;
			margin: 0 auto -50px; /* the bottom margin is the negative value of the footer's height */
			background-image: none;
           }

		#content{
			position: relative;
			padding-bottom: 50px;
			min-height: 100%;
		}
        #footer {
            width:100%;
            height:auto;
            position:absolute;
            bottom:0;
            left:0;
            z-index: 5;
        }

	}

	/* #Standard
   ========================================================================== */
	@media (max-width: 767px) {
		body {
			background: none;
			background-color: #fff;
		}
		#logo img{width:120px;float:left;margin-right:20px;}

		#menu, .box { display: none; }
		#menu_search{height:5px;}

		#mobile-menu-trigger {
			position: absolute;
			top: 10px;
			right: 20px;
			font-size: 30px;
			display: block;
			z-index: 1000;
		}
		#location-info{
			margin-top: 5px;
			font-size: 12px;
			line-height: 16px;
			width:68%;
			float:left;
		}
		#location-content .span3{
			width:48%;
			float:left;
		}
		#location-content .loc-add, #location-content .loc-phone{
			width:200px;
			float:left;
		}
		#location-info i{
			display:none;
		}

		.principal .team-photo img, .team-photo img{
			max-width: 100%;
			margin-bottom: 5px;
		}
		.principal .team h5{
			font-size: inherit;
		}
		.widescreen-only{
			display: none;
		}

		.team, .projects, .specialties {
			margin-bottom: 15px;
		}
		.vert-dotted{
			background:none;
		}
		.row { padding: 0 30px; }

		.row .row {
			width: auto;
			padding: 0;
			margin: 0;
		}

		p.last,
		h1.last,
		h2.last,
		h3.last,
		h4.last,
		h5.last,
		address.last,
		ul.last,
		ol.last { margin-bottom: 20px; }

		.text-right{ text-align: left; }

		.img-align-right, .img-align-left{float:none;margin:5px 0;}

	}
	@media (max-width: 580px) {

		#location-info{
			margin-top: 5px;
			font-size: 16px;
			line-height: 20px;
			width:100%;
			text-align: center
		}
		#location-content .loc-phone, #location-info .span3{
			width:100%;
			float:none;
		}
		#location-content{
			width:100%;
			float:left;
		}
		#location-content .loc-add, .hidden-smphone{
			display: none;
		}
		#menu_search{
			margin-top:0px;
		}
		p{text-align: left;}

		#clients a:link{
			white-space: inherit;
		}
		#content ul{
			margin-left:10px;
		}
		#content ul ul{
			margin-left:20px;
		}

	}

/* #Mobile ( Landscape )
  ========================================================================== */

	@media only screen and (min-width: 320px) and (max-width: 767px) {

		.row { padding: 0 30px; }

		#mobile-menu-trigger { right: 30px; }

	}
