/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */

/* ========================================================================
   Use this file to add custom CSS easily
 ========================================================================== */


.tm-block-bottom-c {
	background:url("/images/yootheme/home_news.jpg");
	padding-top: 90px!important;
    padding-bottom: 90px;
}

.tm-block-bottom-c h3, .tm-block-bottom-c p, .tm-block-bottom-c a, .tm-block-bottom-c div,  .tm-block-bottom-c span {
	color:#fff!important;
}
.uk-navbar-nav > li > a:hover {
	background:#e6e6e6;
}

.uk-navbar-nav > li.uk-active > a {
	background:#434343;
	color:#fff;
}

.tm-navbar, .tm-navbar > div {
	height:90px;
}

.uk-navbar-nav > li > a {
	height:auto;
	line-height:45px!important;
	color:rgba(102, 102, 102, 0.84);
}
a.tm-logo h1 {
	margin:0px;
	color:#434343;
}

.uk-navbar-content, .uk-navbar-brand, .uk-navbar-toggle {
	height:auto;
}

.tm-navbar-fixed .tm-navbar + .tm-block{
	padding:90px 0px!important;
}

.tm-block.tm-block-top-d {
	padding-top:0px;
}

.tm-navbar-small, .tm-navbar-small > div, .tm-navbar-small .uk-navbar-nav > li > a, .tm-navbar-small .uk-navbar-content, .tm-navbar-small .uk-navbar-brand, .tm-navbar-small .uk-navbar-toggle {
	height:auto!important;
}

.tm-sidebar-b .uk-grid h3 {
	font-size:0.7rem;
	word-wrap: break-word;
}

.tm-sidebar-b > .uk-panel {
	padding-top:30px;
}

.tm-sidebar-b > .uk-panel > h3 {
	margin-bottom: 5px;
}

.tm-sidebar-b > .uk-panel > h3::before {
	font-family: FontAwesome, serif; 
    content: "\f16d";
	margin-right:5px;
}

.tm-sidebar-b .uk-grid .uk-row-first:nth-child(1) {
	margin-bottom:20px;
}

.tm-sidebar-b > .uk-panel .uk-row-first {
	margin-top:60px;
}

.tm-sidebar-b .uk-article-meta {
	display:none;
}

.fa  {
	margin-right:10px;
	color:#ad655f
}


@media (max-width:959px) and (min-width:768px) {
    .tm-sidebar-b .uk-grid h3 {
		word-wrap: break-word;
	}
	.tm-sidebar-b .uk-grid .uk-row-first:nth-child(1) {
		margin-bottom: 0;
	}
	.tm-sidebar-b > .uk-panel .uk-row-first {
		margin-top:20px;
	}
	
}

@media only screen and (max-width: 767px) { 
	.tm-navbar, .tm-navbar > div {
		height:0px;
	}

	.tm-navbar-fixed .tm-navbar + .tm-block {
		padding-top:0px!important;
	}

	.tm-navbar .uk-flex.uk-flex-middle.uk-flex-center.uk-flex-space-between {
		margin-top:2em;
	}

	.uk-navbar-toggle:after {
		color:#fff;
		font-size:24px;
	}
}

/*CHANGE HOME BANNER TEXT SIZES*/
h3.uk-heading-large {
	font-size: 64px !important;
}

@media only screen 
and (max-width: 960px) {
	h3.uk-heading-large {
		font-size: 50px !important;
	}
}
@media only screen 
and (max-width: 767px) {
	h3.uk-heading-large {
		font-size: 40px !important;
	}
}
@media only screen 
and (max-width: 400px) {
	h3.uk-heading-large {
		font-size: 35px !important;
		line-height: 53px !important;
	}
}

/*container for 60/40 split*/
.container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.container-item {
    flex: 0 43%;
    max-width: 43%;
}

.container-item:nth-child(2){
	padding:4rem 1rem 1rem 1rem;
}

@media only screen 
and (max-width: 767px) {
.container {
		flex-direction: column;
	}

.container-item {
    flex: 0 100%;
    max-width: 100%;
}
}


/*PEN PAGE*/

.pen .tm-block.tm-block-top-a { padding: 0; }
.pen .tm-top-a .uk-panel-box { padding: 0; }
.pen > .tm-block-top-a .uk-container, .pen > .tm-block-top-c .uk-container, .pen > .tm-block-main .uk-container, .pen > .tm-block-bottom-a .uk-container { max-width: 100%; padding: 0; }
/*.pen .tm-block.tm-block-top-d { margin-bottom: 2rem; }*/
.pen .uk-slideshow .uk-cover-background:after {
	position: absolute;
	content:"";
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
	z-index: 10;
}
.pen .uk-overlay-panel {
	z-index: 11;
}
@media (max-width: 1200px) {
	.pen .uk-slideshow {
		max-height: 450px;
	}
}
.pen .uk-slideshow .uk-overlay-panel {
	max-width: 1280px;
	margin: 0 auto;
}
.pen .uk-slideshow h1 {
	font-weight: 700;
	font-size: 42px;
    line-height: 120%;
    margin-bottom: 3rem;
}
@media (max-width: 767px) {
	.pen .uk-slideshow h1 {
		font-size: 36px;
	}
}
@media (max-width: 480px) {
	.pen .uk-slideshow h1 {
		font-size: 28px;
	}
}

.pen .pen-wideblock { padding: 0; }
.pen .pen-wideblock.machined > div  { 
	background-size: cover;
	background-position: center;
	padding: 10rem 0;
}

.pen .pen-wideblock.machined > div:before  { 
	position: absolute;
	top: 0;
	content:"";
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.15);
}

.pen .pen-wideblock.writing > div {
	padding-bottom: 0;
    margin-top: 6rem;
    background-size: 100%;
    background-position: 0 60px;
    background-repeat: no-repeat;
    min-height: 730px;
}
.pen .textblock {
	max-width: 1100px;
	margin: 0 auto;
	overflow-wrap: anywhere;
	position: relative;
}

.pen .uk-panel-box { background-color: #ffffff; }
.pen-story { margin-top: 2rem; }
.pen-story .uk-flex-middle:nth-child(2) {
	margin-top: 4rem;
}
.tm-main-bottom {
	max-width: 1160px;
	margin: 0 auto;
}
.tm-main-bottom .uk-width-1-1 {
	padding-left: 0;
}

@media (max-width: 1200px) {
	.pen .textblock {
		max-width: 100%;
		padding: 0 3rem;
	}
	.pen .pen-wideblock.writing > div { 
		background-position: 0 100px;
		min-height: 500px;
	}
} 

@media (max-width: 767px) {
	.pen .tm-block.tm-block-top-d {
		margin-bottom: 2rem;
	}
	.pen .uk-panel-space {
		padding: 0;
	}
	.tm-main-bottom {
		padding: 0 30px;
	}
	.pen .pen-wideblock.writing > div { 
		margin-top: 3rem;
		background-position: 0 150px;
	}	
	.pen .textblock {
		padding: 0 2rem;
	}	
} 

@media (max-width: 480px) {
	.pen .pen-wideblock.machined > div {
		padding: 4rem 0;
	}
	.pen .pen-wideblock.writing > div { 
		margin-top: 2rem;
		background-position: 0 300px;
	}	
	.pen .uk-panel-box {
		padding-left: 0;
		padding-right: 0;
	}
	.pen-story { margin-top: 2rem; }
	.pen-story .uk-flex-middle:nth-child(2) {
		margin-top: 4rem;
	}	
} 




/*PEN TEXT*/
.pen-intro {
	max-width: 1160px;
	margin: 4rem auto 0;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-between;
}
.pen-intro .lrg-intro {
	flex: 0 55%;
	max-width: 55%;
	padding: 1rem;
}
.pen .lrg-intro p {
	font-size: 26px;
	line-height: 140%;
	font-weight: 500;
	color: #111111;
}
.pen-intro .sml-intro {
	flex: 0 33%;
	max-width: 33%;
	padding: 1rem;
}
.pen-intro .sml-intro p {
	font-size: 20px;
	line-height: 140%;
}

.pen h2 { 
	font-size: 48px; 
	line-height: 120%; 
	text-transform: uppercase;
	font-weight: 700;
	color: #111111;
	letter-spacing: 0!important;
}
.pen span.blue { color: #196BB3; }
.pen p {
	color: #A8A8A8;
	font-size: 16px;
}
.pen .pen-wideblock.machined h2, .pen .pen-wideblock.machined p {
	color: #ffffff;
}
.pen .pen-wideblock.machined p {
	max-width: 475px;
	font-size: 18px;
}

@media (max-width: 767px) {
	.pen-intro {
		margin-top: 2rem;
		flex-direction: column;
	}
	.pen-intro .lrg-intro {
		margin-bottom: 1rem;
	}
	.pen-intro .lrg-intro, .pen-intro .sml-intro {
		flex: 0 100%;
		max-width: 100%;
		padding: 0;
	}
	.pen h2 {
		font-size: 36px;
	}	
} 

@media (max-width: 480px) {
	.pen h2 {
		font-size: 30px;
	}
	.pen-intro .lrg-intro, .pen-intro .sml-intro {
		padding: 0 1.5rem;
	}
}


/*SWISS PAGE*/
.pen.swiss .uk-slideshow .uk-overlay-panel {
	min-height: 400px;
    display: flex;
    flex-direction: row;
    align-items: center;
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	.pen.swiss .uk-slideshow .uk-overlay-panel {
		min-height: 250px;
	}	
}
@media (max-width: 767px) {
	.pen.swiss .uk-slideshow .uk-overlay-panel {
	    align-items: flex-end;
	}
}
@media (max-width: 575px) {
	.pen.swiss .uk-slideshow {
		height: 380px!important;
	}
	.pen.swiss .uk-slideshow li {
		height: 380px!important;
		min-height: 380px!important;
	}	
}

.pen .swiss-hero .uk-slideshow h1 {
	margin: 0;
}
.pen .swiss-hero .uk-slideshow p {
	color: #ffffff;
    max-width: 525px;
    margin-top: 1rem;
    font-size: 1.2rem;
}

.swiss-expert {
	margin-top: 0;
	margin-bottom: 2rem!important;
}

.swiss .tm-block-bottom-a {
	padding-bottom: 0;
}
.pen .pen-wideblock.machined.swisscontact > div:before {
	background-color: rgba(0,0,0,0.35);
}
.swisscontact a {
	color: #ffffff;
	text-decoration: underline;
}
.pen .pen-wideblock.machined.swisscontact p {
	font-size: 24px;
	line-height: 130%;
	max-width: 550px;
}

.swissvideo {
/*	padding-top: 0;
	margin-top: 0!important;*/
	padding-bottom: 4rem;
	text-align: center;
}

@media (max-width: 575px) {
	.swissvideo iframe {
		width: 100%;
    	height: auto;
	}
}

