/*
Theme Name: Vayatela
Theme URI: http://vayatela.ch/
Description: Custom Theme for Vayatela
Author: Roger Burkhard
Author URI: http://www.rogerburkhard.com
*/

/*------------------------------------------------------
THE BIG FAT RESET
------------------------------------------------------*/

html, body, div, span, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, blockquote, pre, form, fieldset, table, th, td, header, footer {
	margin: 0;
	padding: 0;
}

/*------------------------------------------------------
IMPORT FONTS
------------------------------------------------------*/

@font-face {
    font-family: 'Edmond Sans Regular';
    src: url('styles/fonts/edmondsans-regular.eot');
    src: url('styles/fonts/edmondsans-regular.eot?#iefix') format('embedded-opentype'),
    	 url('styles/fonts/edmondsans-regular.svg#raleway') format('svg'),
         url('styles/fonts/edmondsans-regular.woff') format('woff'),
         url('styles/fonts/edmondsans-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Edmond Sans Bold';
    src: url('styles/fonts/edmondsans-bold.eot');
    src: url('styles/fonts/edmondsans-bold.eot?#iefix') format('embedded-opentype'),
    	 url('styles/fonts/edmondsans-bold.svg#raleway') format('svg'),
         url('styles/fonts/edmondsans-bold.woff') format('woff'),
         url('styles/fonts/edmondsans-bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/*------------------------------------------------------
GENERAL
------------------------------------------------------*/

html {
	width: 100%;
	height: 100%;
	background: #13100d;
	margin:0 !important;
}

body {
	width: 100%;
	height: 100%;
	font: normal 20px/30px 'Edmond Sans Regular', Helvetica, Arial, Verdana, sans-serif;
	color: #fff;
	overflow-x: hidden;
	min-width: 320px;
	-webkit-font-smoothing: antialiased;
	-moz-font-smoothing: antialiased;
	font-smoothing: antialiased;
	-webkit-backface-visibility: hidden;
	opacity:0;
	-webkit-transition:opacity 0.3s ease-in-out;
	transition:opacity 0.3s ease-in-out;
}

body.noscroll {
	overflow: hidden;
}

/*------------------------------------------------------
TYPOGRAPHY
------------------------------------------------------*/

h1 {
	margin: 0;
	padding: 0;
	font: normal 40px/60px 'Edmond Sans Bold', Helvetica, Arial, Verdana, sans-serif;
	margin-bottom: 77px;
}

h2 {
	margin: 0;
	padding: 0;
	font: normal 30px/40px 'Edmond Sans Regular', Helvetica, Arial, Verdana, sans-serif;
}

h3 {
	margin: 0;
	padding: 0;
	font: normal 25px/34px 'Edmond Sans Bold', Helvetica, Arial, Verdana, sans-serif;
	letter-spacing:0.05em;
}

h4 {
	margin: 0;
	padding: 0;
	font: normal 22px/32px 'Edmond Sans Bold', Helvetica, Arial, Verdana, sans-serif;
	text-transform: uppercase;
}

h5 {
	margin: 0;
	padding: 0;
	font: normal 18px/28px 'Edmond Sans Bold', Helvetica, Arial, Verdana, sans-serif;
	text-transform: uppercase;
}

h6 {
	margin: 0;
	padding: 0;
	font: normal 15px/25px 'Edmond Sans Bold', Helvetica, Arial, Verdana, sans-serif;
	text-transform: uppercase;
}

p {
	margin-bottom: 40px;
}

b, strong {
	font-weight: bold;
}

/*------------------------------------------------------
GENERAL LINKS
------------------------------------------------------*/

a {
	outline: none;
	text-decoration: none;
	cursor: pointer;
	color: #fff;
	border-bottom:1px solid #fff;
	-webkit-transition: opacity 0.4s ease;
    transition: opacity 0.4s ease;
}

a:hover {
	opacity: 0.8;
}

/* Firefox Hack to elmininate that ugly dotted line */
:focus {
	-moz-outline-style: none;
}

/*------------------------------------------------------
IMAGES
------------------------------------------------------*/

img {
	border: none 0;
}

/*------------------------------------------------------
VIDEO
------------------------------------------------------*/

video {
	outline: 0;
	-moz-outline-style: none;
}

/* Responsive iFrame */

.video_wrap {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}

.video_wrap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/*------------------------------------------------------
CLEAR
------------------------------------------------------*/

.clear {
	clear: both;
}

/*------------------------------------------------------
Focus Input & Textarea
------------------------------------------------------*/

input, textarea {
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	resize: none;
	-webkit-appearance: none;
}

textarea:focus, input:focus{
    outline: 0;
}

/*------------------------------------------------------
WRAPPER
------------------------------------------------------*/

#wrapper {
	display: block;
	width: 100%;
}

/*------------------------------------------------------
HEADER
------------------------------------------------------*/

header {
	display:block;
	width:60%;
	max-width: 1200px;
	margin:0 auto;
	position:relative;
	margin-top:75px;
}

header a.logo_vayatela {
	text-decoration: none;
	border-bottom:none 0;
}

/* Language Switch */

header .lang {
	position:absolute;
	top:0;
	right:0;
	opacity:0;
	-webkit-transition: opacity 0.3s ease-in-out;
	transition: opacity 0.3s ease-in-out;
}

header ul.lang_switch li#menu-item-22 > a {
	display:none;
}

header ul.lang_switch li {
	display:inline-block;
	float:left;
	margin-right:24px;
}

header ul.lang_switch li:last-child {
	margin-right:0;
}

header ul.lang_switch li a {
	font: normal 15px/18px 'Edmond Sans Regular', Helvetica, Arial, Verdana, sans-serif;
	margin-right:24px;
	text-transform: uppercase;
	border-bottom:0;
}

html.lang_de ul.lang_switch li#menu-item-23 a {
	border-bottom:1px solid #fff;
}

html.lang_fr ul.lang_switch li#menu-item-24 a {
	border-bottom:1px solid #fff;
}

html.lang_en ul.lang_switch li#menu-item-25 a {
	border-bottom:1px solid #fff;
}

/*------------------------------------------------------
CONTENT
------------------------------------------------------*/

h1.intro, h2.text_big, .page_text {
	display:block;
	margin:0 auto;
	width: -moz-calc(60% - 103px);
	width: -webkit-calc(60% - 103px);
	width: -o-calc(60% - 103px);
	width: calc(60% - 103px);
	max-width: -moz-calc(1200px - 103px);
	max-width: -webkit-calc(1200px - 103px);
	max-width: -o-calc(1200px - 103px);
	max-width: calc(1200px - 103px);
	padding-left:103px;
}

h1.intro {
	margin-top:90px;
	margin-bottom:10px;
}

h1.intro p {
	margin-bottom:50px;
}


img.img_horizontal {
	display:block;
	width:100%;
	height:auto;
	margin-top:80px;
}

.page_text {
	padding-bottom:80px;
}

.page_text h3 {
	margin-bottom:28px;
	margin-top:80px;
}

.page_text .column_left, .page_text .column_red {
	display:block;
	width:250px;
	float:left;
	margin-bottom:40px;
}

/*------------------------------------------------------
Media Queries
------------------------------------------------------*/

@media all and (max-width: 1600px) and (min-width: 0) {
	header {
		width:80%;
	}
	h1.intro, h2.text_big, .page_text {
		width: -moz-calc(80% - 103px);
		width: -webkit-calc(80% - 103px);
		width: -o-calc(80% - 103px);
		width: calc(80% - 103px);
	}
}

@media all and (max-width: 1240px) and (min-width: 0) {
	header {
		width:90%;
	}
	h1.intro, h2.text_big, .page_text {
		width: -moz-calc(90% - 103px);
		width: -webkit-calc(90% - 103px);
		width: -o-calc(90% - 103px);
		width: calc(90% - 103px);
	}
	h1 {
		font-size:30px;
		line-height: 45px;
	}
	h1.intro {
		margin-top:60px;
	}
	h2 {
		font-size:25px;
		line-height: 35px;
	}
	img.img_horizontal {
		margin-top:50px;
	}
	.page_text h3 {
		margin-top:50px;
	}
}

@media all and (max-width: 660px) and (min-width: 0) {
	h1.intro, h2.text_big, .page_text {
		width:90%;
		padding-left:0;
	}
}

@media all and (max-width: 500px) and (min-width: 0) {
	body {
		font-size:16px;
		line-height: 25px;
	}
	p {
		margin-bottom:20px;
	}
	h1 {
		font-size:25px;
		line-height: 35px;
	}
	h1.intro {
		margin-top:20px;
	}
	h1.intro p {
		margin-bottom:30px;
	}
	h2 {
	    font-size: 18px;
	    line-height: 28px;
	}
	img.img_horizontal {
		margin-top:30px;
	}
	.page_text h3 {
		margin-top:30px;
		font-size:18px;
		margin-bottom:18px;
	}
	header {
		margin-top:30px;
	}
	header ul.lang_switch li {
		margin-right:0;
	}
	header a.logo_circle, header span.logo_byline {
		-webkit-transform: scale(0.6);
		transform: scale(0.6);
	}
	header a.logo_circle {
		margin-left:-20px;
	}
	header span.logo_byline {
		margin-left:-40px;
		padding-top:40px;
	}
	header .lang {
		margin-right:-20px;
	}
	header ul.lang_switch li {
	    margin-right: -10px;
	    margin-top: -5px;
	}
	header ul.lang_switch li a {
		font-size:13px;
	}
	.page_text {
		padding-bottom:30px;
	}

}