/*#############################################
 TYPOGRAPHY.CSS
###############################################*/

/*#############################################
 GLOBAL SETTINGS
###############################################*/

body {
	font: 100%/1.5 Arial;
	font-size: .750em; /* 14px */
	color:#1a1a1a;
	-webkit-font-smoothing:antialiased; 
}

a {
	color:#1a1a1a;
	text-decoration: none;
}

a:hover{
	text-decoration: underline;
}

h1, .h1 {

	font-family: 'Raleway', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1.2em;
	
	color: #000;
}	
	
h2, .h2 {

	font-family: 'Raleway', sans-serif;
	font-weight:700;
	line-height: 1.2em;

	color: #000;
}

/*#############################################
 MISC SETTINGS
###############################################*/

.main-footer {

	font-size: 1.286em;
	font-family: 'Open Sans', sans-serif;
	color: #999999;
	text-align: center;
}

.footer-tail {

	font-size: 0.643em;
}

/* Stylesheet: typography Modified On 2015-01-16 11:08:11 */
/*#############################################
 MAIN.CSS
###############################################*/

/*#############################################
 MAIN MENU
###############################################*/

.flexnav {
	-webkit-transition: none;
	-moz-transition: none;
	-ms-transition: none;
	transition: none;
	-webkit-transform-style: preserve-3d;
	overflow: hidden;
	margin: 0 auto;
	padding: 0;
	width: 100%;
	max-height: 0; }

.flexnav.opacity {
	opacity: 0; }

.flexnav.flexnav-show {
	max-height: 2000px;
	opacity: 1;
	-webkit-transition: all .5s ease-in-out;
	-moz-transition: all .5s ease-in-out;
	-ms-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out; }

.flexnav li {
	font-size: 100%;
	position: relative;
	overflow: hidden; }

.flexnav li a {
	position: relative;
	display: block;
	padding: 0 .96em;
	z-index: 2;
	overflow: hidden;
	color: #222222;
	background: #a6a6a2;
	background: rgba(166, 166, 162, .8);
	height: 50px;
	line-height: 50px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.15); 

	font-size:1.643em;	
	font-family: 'Raleway', sans-serif;
	color:#000;
	text-decoration:none;
	text-transform: uppercase;
	font-weight: 400;	
}

.flexnav li ul {
	margin: 0;
	padding: 0;
	width: 100%; }

.flexnav li ul li {
	font-size: 100%;
	position: relative;
	overflow: hidden; }

.flexnav li ul.flexnav-show li {
	overflow: visible; }

.flexnav li ul li a {
	display: block;
	background: #b2b2af; 
	background: rgba(178, 178, 175, .9); 

	padding-left: 1.6em;
	text-transform: lowercase;	
}

.touch-button {
	position: absolute;
	z-index: 999;
	top: 0;
	right: 0;
	width: 50px;
	height: 50px;
	line-height: 50px;
	display: inline-block;
	background: #acaca1;
	background: rgba(0, 0, 0, 0.075);
	text-align: center; 
	cursor: pointer; 
}

.touch-button .navicon {
	position: relative;
	color: #666; 
	font-style: normal;
	font-family: 'Icons';
}

.touch-button .navicon:before {
	content: "\f078";
}

.flexnav .touch-button {
	font-size:1.4em;	
}

.menu-button {
	position: relative;
	display: block;
	padding: 0 1em;
	background: #8e8e8e;
	background: rgba(142, 142, 142, .7);
	color: #222222;
	cursor: pointer;
	height: 50px;
	line-height: 50px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.2); 

	font-size:1.643em;	
	font-family: 'Raleway', sans-serif;
	color:#333;
	text-decoration:none;
	text-transform: uppercase;
	font-weight: 700;		
}

.menu-button .touch-button {
	background: transparent;
}

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

	.menu-button {
		display: none; 
	} 

	.flexnav .touch-button {
	
		display: none;
	}
	
	.flexnav {
		overflow: visible; }
		
	.flexnav.opacity {
		opacity: 1; }
		
	.flexnav li {
		list-style: none;
		float: left;
		display: block;
		overflow: visible;
		width: auto;
	}
	
	.flexnav > li:before {
		
		float: left;
		display: block;
		
		position: relative;
		top: 8px;
		left: 0;
		
		content: url(http://www.usatrucks.fi/static/images/bolt.png);
	}	
	
	.flexnav > li:first-child:before {
			
		content: none;
	}

	.flexnav > li :after {

		display:block;
		content:attr(title);
		font-weight:700;
		height:1px;
		color:transparent;
		overflow:hidden;
		visibility:hidden;
	}		
		
	.flexnav > li > a {

		float: left;
		display: block;
		
		background: none;		
		border-bottom: none; 
	}
	
	.flexnav > li:hover > a, .flexnav > li.currentpage > a {

		font-weight: 700;
	}	
		
	.flexnav li > ul {
	
		display: none;
		position: absolute;
		top: 50px;
		left: 0;

		width: 400px;
		height: auto;
			
		padding: 0;
		margin: 0;
		
		border-radius: 0 0 4px 4px;
		box-shadow: 4px 4px 10px rgba(0,0,0,.2);
		
		border-top: 1px solid #3e3e3e;
		background: url(http://www.usatrucks.fi/static/images/metal_texture.jpg) 0 0;		
	}
		
	.flexnav li > ul li {
	
		display: block;
		
		width: 100%;
		height: auto;
		
		padding: 0;
		margin: 0;
	}
	
	.flexnav li > ul li a{
	
		display: block;
	
		line-height:36px;
		height: 36px;
		width: 100%;

		font-size:1em;	
		font-family: 'Raleway', sans-serif;
		text-transform:none;
		text-align:left;
		color:#000;
		text-decoration:none;

		outline: none;	
		font-weight:400;
	}	
	
	.flexnav > li  > ul > li:last-child a{

		border-radius: 0 0 4px 4px;
	}

	.flexnav > li > ul > li:hover a, .mainmenu ul > li > ul > li.currentsub a{

		background: rgba(0,0,0, .2);
	}
}
/* Stylesheet: menu Modified On 2015-03-09 06:58:20 */
/*#############################################
 MAIN.CSS
###############################################*/

/*#############################################
 GLOBALS
###############################################*/

body{

	background: url(http://www.usatrucks.fi/static/images/content_bg.jpg) no-repeat #000;
	background-position: center 250px;	
	
	padding-top: 50px;
}

/*#############################################
 GLOBAL CONTENT AREAS
###############################################*/

.header-area {

	background: url(http://www.usatrucks.fi/static/images/header_texture.png) repeat-y center center;
}

.main-header {

	padding-top: 30px;
}

.menu-area {

	z-index: 999;

	background: url(http://www.usatrucks.fi/static/images/metal_texture.jpg) top center;
	
	box-shadow: 0px 6px 6px rgba(0,0,0,.3);
	
    position: fixed;
    top: 0;
}

.content-area {

	padding: 20px 0;
}

.content-area ul{

	margin: 0;
	padding: 0;
}

.main-footer {

	padding-top: 10px;
	padding-bottom: 30px;
}

.main-footer section {

	margin-bottom: 20px;
}

/*#############################################
 MODALS
###############################################*/

.content-box {

	border-radius: 4px;
	background: #b0b0b0;
	box-shadow: 6px 6px 4px rgba(0,0,0,.3);
	
	margin-bottom: 20px;
	
	background: url(http://www.usatrucks.fi/static/images/metal_texture.jpg) 0 0;
}

.content-box.box-1 {

	background-position: 0 50%;
}

.content-box.box-2 {

	background-position: 50% 50%;
}

.content-box.box-3 {

	background-position: 75% 50%;
}

.content-box-inner {

	clear: both;
	padding: 10px 20px;
}

.content-box.cover .stud-line  {

	position: absolute;
	bottom: 8px;
	left: 0;
}

.content-box.cover .stud-line:first-child  {

	position: absolute;
	top: 0;
	left: 0;
}

.stud-line {

	z-index: 100;
	clear: both;
	padding: 4px 8px;
	height: 16px;	
	width: 100%;
}

.stud-line:before, .stud-line:after{

	content: url(http://www.usatrucks.fi/static/images/stud.png);
}

.stud-line:before {

	float: left;
}

.stud-line:after{

	float: right;
}

/*#############################################
 GALLERY
###############################################*/

.gallery {
	
	margin: 0;
	padding: 0;
	
}

.gallery figure{

	position: relative;
	float:left;
	display: block;
	
	width: 48%;
	
	margin-left: 1%;
	margin-right: 1%;
	margin-bottom: 20px;
	
	border: 2px solid #666;
	
	-webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o--transition: all .3s ease;
    transition: all .3s ease;	

	overflow: hidden;
}

.gallery figure:hover {

	z-index: 100;
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -o-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);	
}

.gallery figcaption {

	position: absolute;
	
	bottom: 0;
	left: 0;
	
	width: 100%;
	line-height: 20px;
	
	padding: 4px 8px;
	
	background: rgba(0,0,0, .6);
	
	color: #fff;
}

/*#############################################
 STAGE
###############################################*/

.stage {

	box-shadow: 0px 6px 6px rgba(0,0,0,.5);
}

/*#############################################
 MAP
###############################################*/

.gmap-canvas:before {

	position: absolute;
	z-index: 10;
	width: 100%;
	height: 4px;
	top: -4px;
	content:'';
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);	
}

.gmap-canvas {
	
	border-radius: 4px;
	height: 400px;
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.gmap-canvas,
.gmap-canvas *{
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

.gmap-canvas img {

	max-width: none;
}

/*#############################################
 MISC
###############################################*/

.header-brand-logos {

	padding: 0;
	text-align: center;
}

.header-brand-logos li {

	display: inline-block;
}

.separator:after {

	display: block;
	content: '';
	margin-bottom: 20px;
}

.ajax-indicator-128 {

	display: block;
	
	width: 128px;
	height: 128px;
	
	margin: 50px auto;
	
	background: url(http://www.usatrucks.fi/static/images/ajax_loader-128.gif) no-repeat;	
}

.ui.button.submit {

	border: 1px solid #666;
}

.ui .field input, .ui .field textarea {

	border-color: #666 !important;
}
/* Stylesheet: main Modified On 2015-03-13 10:35:53 */
/*#############################################
 RESPONSIVE.CSS
###############################################*/

@media only screen and (min-width: 768px) {

	body{
	
		padding-top: 0;
	}

	.main-header {

		padding-bottom: 30px;	
	}
	
	.menu-area {

		border-bottom: 1px solid #3e3e3e;
		
		position: relative;
	}

	.gallery figure{

		width: 31.3%;
	}		
}

@media only screen and (min-width: 990px) {

	body {
	
		font-size: .875em; /* 14px */
	}

	.content-box-inner {

		padding: 10px 40px;
	}
	
	.gallery figure{

		width: 23%;
	}	
	
}
/* Stylesheet: responsive Modified On 2015-03-13 10:31:53 */
