@import 'flexslider.css';

/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: black;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


html {
overflow-y: scroll;
}
html body {
	margin-right:0 !important;
	overflow:visible !important;
}


header {
	height:120px;
	min-width:1000px;
	text-align:center;
	background:black url(../img/LOGO22middle.gif) center center no-repeat;
}
header > .inner {
	margin:0 auto;
	width:400px;
}
header h1 {
	float:right;
	width:111px;
	height:44px;
	margin:18px 18px 0 0;
	/*background:transparent url(../img/TSM-Header.png) 0 0 no-repeat;*/
}

#slider .flex-viewport ul li img {
display: block ;
margin: 0 auto;
}
/*#tv_container {
    background: url(../img/Machinistas/Monitor.png') no-repeat top left transparent;
    width: auto; /* Adjust TV image width 
    height: auto;  Adjust TV image height 
    position: absolute;
}
#tv_container video {
    position: absolute;
    top: auto; Adjust top position 
    left: auto;  Adjust left position 
}*/
#nav {
	height:50px;
	background:#000;
	text-align:center;
	min-width:800px;
}
#nav > .inner {
	margin:0px auto;
	width:800px;
}
#nav a {
	line-height:60px;
	padding: 20px;
	text-transform:uppercase;
	font-size:9px;
	color:#fff;
	text-decoration:none;
}
#nav a.active {

}
#nav a:hover {
	text-decoration:underline;
}

#content {
	min-height:480px;
	padding-bottom:0px;
	background:transparent url(../img/shadow.png) 0 0 repeat-x;
	text-align:center;
	min-width:800px;
	font-size:13px;
	position:relative;
	padding-top:76px;
}
#content.home {
	padding-top:0;
}

#content > h2 {
	background:#000;
	color:#fff;
	font-size:22px;
	padding:8px 20px 6px 14%;
	float:left;
	clear:both;
	font-weight:normal;
	text-transform:uppercase;
	margin:30px 0 30px 0;
	line-height:1;
	letter-spacing:1px;
}
#content.home > h2 {
	margin-top:108px;
}

#content > .inner {
	margin:0 auto;
	text-align:left;
	width:700px;
	padding:0 20px;
	clear:both;
}

#content h3 {
	margin:0;
	font-size:15px;
}
#content a {
	color:#000;
}

footer {
	min-width: 800px;
	text-align:center;
	font-size:11px;
	padding:40px 0 10px 0;
}
footer a {
	text-decoration:none;
	padding-right:10px;
	color:#000;
}
footer a.active {
	font-weight:bold;
}
footer a:hover {
	text-decoration:underline;
}

#imprint {
	margin:auto;
	width:700px;
	font-size:12px;
	display:none;
}

#imprint a {
	text-decoration:none;
	color:#000;
	font-style:italic;
}
#imprint a.close {

}

#imprint a:hover {
	text-decoration:underline;
}

.fleft {
	float:left;
}
.fright {
	float:right;
}

.case-outer {
	float:left;
	width:33.33%;
	text-align:center;
	padding-bottom:40px;
}

.case-box {
	margin:auto;
	text-align:left;
	width: 180px;
	cursor:pointer;
}
.case-box > .title {
	padding:3px 0 3px 6px;
	text-transform:uppercase;
	background:#000;
	color:#fff;
}
.case-box > .title > img {
	width: 100%;
	margin-left:-3px;
	display:block;
}
.case-box > img {
	width:100%;
}
.about #blackbox {
	position:relative;
	top:0;
	display:block;
}

.toggle-target {
	padding-left:25px;
	overflow-x: auto;
	margin-bottom: 25px;
}

#blackbox {
	display:none;
	position:absolute;
	left:0;
	top:90px;
	padding:20px 0;
	background:#000;
	width:100%;
	text-align:center;
}
#blackbox .bbox-content {
	width:700px;
	text-align:left;
	margin:auto;
	background:#fff;
	min-height:260px;
	overflow:hidden;
}
#blackbox .bbox-text {
	padding:10px;
	font-size:15px;
	line-height:1.4;
}
#bb-close {
	position:absolute;
	right:10px;
	top:10px;
	width:30px;
	height:30px;
	background:#000 url(../img/close.png) 0 0 no-repeat;
	cursor:pointer;
}
#blackbox > .arrow {
	position:absolute;
	top:130px;
	left:10px;
	width:22px;
	height:24px;
	background:url(../img/arrow-left.png) 0 0 no-repeat;
	cursor:pointer;
}
#blackbox #arrow-right {
	left:auto;
	right:10px;
	background:url(../img/arrow-right.png) 0 0 no-repeat;
}
.bbox-text > img:first-of-type {
	float:right;
	margin-left:20px;
	margin-bottom:10px;
}

.home-img {
	clear: left;
	display: block;
	margin: auto;
	width:85%;
}

.addthis_toolbox {
	display:inline-block;
	margin:0 auto;

}

.toggler {
	text-decoration:none;
	font-weight:bold;
	margin-bottom:10px;
	display:block;
}
.toggler .arrows {
	display:block;
	float:left;
	margin-right:5px;
	height:18px;
	width:20px;
	background:url(../img/toggler-arrows.png) 0 0 no-repeat;
	margin-top:1px;
}
.toggler.open .arrows {
	background-position:-20px 0;
}

.news {
	background:#000;
	padding:10px 0;
	clear:left;
	margin-bottom:10px;
	text-align:center;
	overflow:hidden;
}
.news-left {
	color: #FFFFFF;
	float: left;
	font-size: 16px;
	line-height: 1.5;
	margin-left: 7.5%;
	text-align: left;
	width: 38%;
}
.news-right {
	color: #FFFFFF;
	float: right;
	font-size: 16px;
	line-height: 1.5;
	margin-right: 7.5%;
	text-align: right;
	width: 38%;
}

a.fancybox {
	display:inline-block;
	margin:10px 10px 0 0;
}

.galerie {
	padding-bottom:10px;
	height:170px;
	width:10000px;
}
.galerie-box {
	width:1000em;
}

.flexslider {
	border: 0;
	margin: 0;
	box-shadow: 0;
}

.flex-control-nav {
	bottom: 20px;
}

.flex-direction-nav a {
	opacity: 1 !important;
}

.flex-direction-nav .flex-prev  {
	left:0;
}
.flex-direction-nav .flex-next {
	right: 0;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: black;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}



.fancybox-lock .fancybox-overlay {
	overflow-y:hidden !important;
}


/*! fancyBox v2.1.3 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp
{
	padding: 0;
	margin: 0;
	border: 0;
	outline: none;
	vertical-align: top;
}

.fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 8020;
}

.fancybox-skin {
	position: relative;
	background: #f9f9f9;
	color: #444;
	text-shadow: none;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.fancybox-opened {
	z-index: 8030;
}

.fancybox-opened .fancybox-skin {
	-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.fancybox-outer, .fancybox-inner {
	position: relative;
}

.fancybox-inner {
	overflow: hidden;
}

.fancybox-type-iframe .fancybox-inner {
	-webkit-overflow-scrolling: touch;
}

.fancybox-error {
	color: #444;
	font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	margin: 0;
	padding: 15px;
	white-space: nowrap;
}

.fancybox-image, .fancybox-iframe {
	display: block;
	width: 100%;
	height: 100%;
}

.fancybox-image {
	max-width: 100%;
	max-height: 100%;
}

#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
	background-image: url('../img/fancybox/fancybox_sprite.png');
}

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -22px;
	margin-left: -22px;
	background-position: 0 -108px;
	opacity: 0.8;
	cursor: pointer;
	z-index: 8060;
}

#fancybox-loading div {
	width: 44px;
	height: 44px;
	background: url('../img/fancybox/fancybox_loading.gif') center center no-repeat;
}

.fancybox-close {
	position: absolute;
	top: -18px;
	right: -18px;
	width: 36px;
	height: 36px;
	cursor: pointer;
	z-index: 8040;
}

.fancybox-nav {
	position: absolute;
	top: 0;
	width: 40%;
	height: 100%;
	cursor: pointer;
	text-decoration: none;
	background: transparent url('../img/fancybox/blank.gif'); /* helps IE */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	z-index: 8040;
}

.fancybox-prev {
	left: 0;
}

.fancybox-next {
	right: 0;
}

.fancybox-nav span {
	position: absolute;
	top: 50%;
	width: 36px;
	height: 34px;
	margin-top: -18px;
	cursor: pointer;
	z-index: 8040;
	visibility: hidden;
}

.fancybox-prev span {
	left: 10px;
	background-position: 0 -36px;
}

.fancybox-next span {
	right: 10px;
	background-position: 0 -72px;
}

.fancybox-nav:hover span {
	visibility: visible;
}

.fancybox-tmp {
	position: absolute;
	top: -99999px;
	left: -99999px;
	visibility: hidden;
	max-width: 99999px;
	max-height: 99999px;
	overflow: visible !important;
}

/* Overlay helper */

.fancybox-lock {
	overflow: hidden;
}

.fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	display: none;
	z-index: 8010;
	background: url('../img/fancybox/fancybox_overlay.png');
}

.fancybox-overlay-fixed {
	position: fixed;
	bottom: 0;
	right: 0;
}

.fancybox-lock .fancybox-overlay {
	overflow: auto;
	overflow-y: scroll;
}

/* Title helper */

.fancybox-title {
	visibility: hidden;
	font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	position: relative;
	text-shadow: none;
	z-index: 8050;
}

.fancybox-opened .fancybox-title {
	visibility: visible;
}

.fancybox-title-float-wrap {
	position: absolute;
	bottom: 0;
	right: 50%;
	margin-bottom: -35px;
	z-index: 8050;
	text-align: center;
}

.fancybox-title-float-wrap .child {
	display: inline-block;
	margin-right: -100%;
	padding: 2px 20px;
	background: transparent; /* Fallback for web browsers that doesn't support RGBa */
	background: rgba(0, 0, 0, 0.8);
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	text-shadow: 0 1px 2px #222;
	color: #FFF;
	font-weight: bold;
	line-height: 24px;
	white-space: nowrap;
}

.fancybox-title-outside-wrap {
	position: relative;
	margin-top: 10px;
	color: #fff;
}

.fancybox-title-inside-wrap {
	padding-top: 10px;
}

.fancybox-title-over-wrap {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
	padding: 10px;
	background: #000;
	background: rgba(0, 0, 0, .8);
}


.footer {
	margin-bottom: 0;
}

.news a {
	color: #fff;
	text-decoration: none;
}
.news a:hover {
	text-decoration: underline;
}


input[type="text"],textarea {
	border:1px solid #444;
	padding:4px 8px;
	width:200px;
	font-size: 14px;
}

.logos {
	left: 0;
	position: absolute;
	text-align: center;
	top: 160px;
	width: 100%;
	z-index: 10000;
}

@keyframes rotate
{
	0% {
		transform:rotate(0deg) scale(1);
	}
	50% {
		transform:rotate(180deg) scale(1.33);
	}
	100% {
		transform:rotate(360deg) scale(1);
	}
}

@-webkit-keyframes rotate
{
	from {
		transform:rotate(0deg);
		-webkit-transform:rotate(0deg);
	}
	to {
		transform:rotate(360deg);
		-webkit-transform:rotate(360deg);
	}
}

.logos img:hover {
	animation-name:rotate;
	animation-duration:2s;
	animation-timing-function:linear;
	animation-delay:0;
	animation-iteration-count:infinite;
	-webkit-animation-name:rotate;
	-webkit-animation-duration:2s;
	-webkit-animation-timing-function:linear;
	-webkit-animation-delay:0;
	-webkit-animation-iteration-count:infinite;



}