/* 
 * 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.
 *
 * Detailed information about this CSS: h5bp.com/css
 * 
 * ==|== normalize ==========================================================
 */


/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Force vertical scrollbar in non-IE
 * 3. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body { margin: 0; font-size: 13px; line-height: 1.231; }

body, button, input, select, textarea { font-family: sans-serif; color: #222; }

/* 
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 * Also: hot pink! (or customize the background color to match your design)
 */

::-moz-selection { background: #545557; color: #fff; text-shadow: none; }
::selection { background: #545557; color: #fff; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */


/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/e 
 */

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

/*
 * Correct overflow not hidden in IE9 
 */

svg:not(:root) { overflow: hidden; }


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/* 
 * 1. Correct color not inheriting in IE6/7/8/9 
 * 2. Correct alignment displayed oddly in IE6/7 
 */

legend { border: 0; *margin-left: -7px; padding: 0; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 * 2. Correct inner spacing displayed oddly in IE6/7
 */

button, input { line-height: normal; *overflow: visible; }

/*
 * Reintroduce inner spacing in 'table' to avoid overlap and whitespace issues in IE6/7
 */

table button, table input { *overflow: auto; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }

/* 
 * Remove inner padding and border in FF3/4: h5bp.com/l 
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/* 
 * 1. Remove default vertical scrollbar in IE6/7/8/9 
 * 2. Allow only vertical resizing
 */

textarea { overflow: auto; vertical-align: top; resize: vertical; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }



/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* ==|== primary styles =====================================================
   Author: Thomas Gimzer
   ========================================================================== */
/* general */
.todo { background-color: #f8f400 !important; color: #000 !important; }
@font-face {
    font-family: 'TeXGyreAdventorRegular';
    src: url('../fonts/texgyreadventor-regular-webfont.eot');
    src: url('../fonts/texgyreadventor-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/texgyreadventor-regular-webfont.woff') format('woff'),
         url('../fonts/texgyreadventor-regular-webfont.ttf') format('truetype'),
         url('../fonts/texgyreadventor-regular-webfont.svg#TeXGyreAdventorRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}
* { margin: 0; padding: 0; border: 0; outline: none; }
body { background: #222; color: #eee; font-family: 'Arimo', sans-serif; font-size: 13px; }
h1 { height: 56px; font-size: 25px; font-family: 'TeXGyreAdventorRegular'; font-weight: normal; color: #999; }
h2 { height: 25px; font-size: 18px; font-family: 'TeXGyreAdventorRegular'; font-weight: normal; color: #ccc; line-height: 18px; }
h3 { height: 25px; margin: 20px 0 10px 0; font-size: 16px; line-height: 18px; font-family: 'TeXGyreAdventorRegular'; font-weight: normal; color: #fe7a0f; }
h3:first-of-type {margin-top: 0; }
h4 { margin-bottom: 10px; font-size: 20px; color: #999; font-family: 'TeXGyreAdventorRegular'; font-weight: normal; }
h5 { padding-left: 18px; margin-left: -18px; background: url(../img/bg_arrow.png) bottom left no-repeat; font-size: 18px; line-height: 18px; color: #999; font-family: 'TeXGyreAdventorRegular'; font-weight: normal; }
h6 { margin-bottom: 5px; font-size: 15px; font-weight: normal; color: #eee; line-height: 15px; }
p { margin-bottom: 10px; line-height: 20px; }
a, a:visited { color: #eee; text-decoration: underline; }
a:hover, a:focus, a.active { color: #fe7a0f; }
ul { padding: 0; }

/* MAIN BLOCKS */
#header_wrapper { background: url(../img/bg_headerWrapper.jpg) center top no-repeat; }
header { position: relative; width: 940px; height: 140px; margin: 0 auto;}
#logo { position: absolute; left: 60px; top: 30px; }

nav { position: absolute; bottom: 0; right: 0; }
nav li { float: left; margin-left: 25px; }
nav a, nav a:visited { display: block; padding: 15px 0; font-size: 18px; color: #999; font-family: 'TeXGyreAdventorRegular'; text-decoration: none; }
nav a:hover, nav a:focus, nav a.active { padding: 15px 0 13px 0; border-bottom: 2px solid #fe7a0f; color: #fff; }

#main { position: relative; padding-top: 75px; background: #222 url(../img/bg_body.jpg) top center no-repeat; }
#main section { width: 590px; min-height: 300px; padding-left: 350px; margin: 0 auto; }
#accordion h3:first-of-type  { margin-top: -6px; }
#accordion h3 { height: 40px; margin: 0; background: url(../img/bg_accordion.png) top right no-repeat; color: #999; border-bottom: solid 1px #2f2f2f; line-height: 30px; }
#accordion h3:hover, #accordion h3.active { background: url(../img/bg_accordion.png) bottom right no-repeat; color: #fe7a0f; cursor: pointer; }
#accordion>div { padding: 20px 20px 10px 20px; background: rgba(29, 29, 29, 0.4); border-bottom: solid 1px #2f2f2f; }
#accordion>div+h3 { margin-top: 10px; }
#main section.main ul { margin: 0 0 10px 0; }
#main section.main li { margin: 0 0 5px 5px; line-height: 20px; list-style: none; background: transparent url(../img/bg_arrow_white.png) no-repeat left 4px; padding-left: 15px; }
#main section.main ul+p { margin-top: 20px; }

#nav_sub { position: absolute; top: 130px; left: 50%; width: 230px; margin-left: -400px; }
#nav_sub li { list-style: none; border-bottom: 1px solid #494949; }
#nav_sub li:last-child {border: none; }
#nav_sub a { display: block; width: 230px; height: 30px; background: url(../img/bg_navSub.png) right top no-repeat; line-height: 30px; font-size: 13px; text-decoration: none; }
#nav_sub a.twolines { height: 40px; padding-top: 10px; line-height: 15px; background-position: right 10px;}
#nav_sub a:hover, #nav_sub a:focus, #nav_sub a.active { background: url(../img/bg_navSub.png) right bottom no-repeat; color: #fe7a0f; }
#nav_sub a.twolines:hover, #nav_sub a.twolines:focus, #nav_sub a.twolines.active { background-position: right -20px; }

section#content_supp_wrapper { position: relative; width: 100%; height: 170px; padding: 0; margin-top: 40px; background: url(../img/bg_contentSupp.png) repeat-x; }
#content_supp { width: 940px; margin: 0 auto; } 
#content_supp #columns { position: relative; top: 15px; right: 0; float: right; }
#content_supp .column { float: left; min-height: 110px; padding: 0 20px 0 18px; margin-right: 20px; border-right: 1px solid #333; }
#content_supp .column.where { border: none; }
#content_supp a { text-decoration: none; }
#content_supp ul:after { display: block; clear: both; content: ""; }
#content_supp li { margin-bottom: 5px; list-style: none; font-size: 11px }
#content_supp .who li, #content_supp .where li { float: left;  }
#content_supp .who li:nth-child(odd), #content_supp .where li:nth-child(odd) { clear: both; min-width: 125px; }
#content_supp .where li:nth-child(odd) { clear: both; min-width: 80px; }
#btn_facebook { width: 171px; height: 78px; background: url(../img/bg_btn_facebook.png) no-repeat; }
#btn_facebook a { display: block; width: 171px; height: 40px; padding-top: 10px; color: #999; }
#btn_facebook a:hover, #btn_facebook a:focus { color: #fe7a0f; }
#btn_facebook span { display: none; }

footer { position: relative; width: 940px; height: 40px; margin: -120px auto 20px auto; font-size: 11px; line-height: 40px; color: #999; }
footer span { margin: 0 10px; color: #fe7a0f; }
#copyright { position: absolute; right: 0; top: 0; height: 40px; padding-right: 94px; background: url(../img/logo_footer.png) no-repeat right center; line-height: 35px; font-size: 10px; }


/* ------------------------------------------------------------------------------------------------------------- */
/* home */
#slider_home_wrapper { position: relative; width: 1000px; height: 570px; margin: -75px auto; background: url(../img/bg_slider.png) 0 45px no-repeat; }
#slider_home article { position: relative; width: 1000px; height: 570px; background: transparent !important; }
#slider_home article h3 { height: 40px; font-size: 40px; }
#slider_home article>div { position: absolute; left: 500px; top: 155px;}
#slider_home article>div>div { font-size: 16px; }
#slider_home article>div>div li { margin: 0 0 5px 5px; list-style: none; background: transparent url(../img/bg_arrow_white.png) no-repeat left 4px; padding-left: 15px; }
#slider_home a { display: inline-block; height: 16px; padding-right: 21px; font-weight: bold; background: url(../img/bg_arrow.png) right center no-repeat; line-height: 14px; }
#slider_nav { position: absolute; z-index: 1000; bottom: 130px; right: 65px; margin-top: 15px; text-align: center; }
#slider_nav a { display: inline-block; width: 18px; height: 18px; margin-right: 5px; background: #444; -webkit-border-radius: 50%; -o-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; text-indent: -9999px; outline: none !important; }
#slider_nav a:hover, #slider_nav a.activeSlide { background: #999; }
#slider_nav a:last-child { margin: 0; }

/* WHO: clients */
ul#clients { width: 560px; margin: 25px 0 0 0 !important; list-style: none; }
ul#clients:after { display: block; clear: both; content: ""; }
#main section.main ul#clients { margin-left: 0; }
#main section.main ul#clients li { float: left; width: 125px; height: 150px; margin: 0 15px 0 0 !important; text-align: center; font-size: 11px; background-image: none;  padding-left: 0; }

/* WHERE: contacts */
.main .column { width: 265px; margin-right: 25px; font-size: 12px; }
.main .column.left { float: left; }
.main .column.right { float: left; }
.main .column h3 { height: 35px; margin-bottom: 15px; border-bottom: 1px solid #353535; color: #eee; }
.main .column div:after,.main .column.large:after { display: block; clear: both; content: ""; }
.main .column img { float: left; margin: 0 15px 20px 0; }
.main .column.large { clear: both; width: 555px; }
.main .column.large div { float: left; width: 135px; height: 43px; padding: 5px 0 0 50px; background: url(../img/bg_btn_facebook_small.png) no-repeat; }
.main .column a { color: #fe7a0f; text-decoration: none; }
.main .column a:hover, .main .column a:focus { text-decoration: underline; }

/* WHERE: locations */
.location-split { float: left; width: 50%; margin-bottom: 20px;}
.separator { border-top: 1px solid #3f3f3f; margin-bottom: 15px; margin-top: 15px; height: 1px; width: 100%; clear: both; }
.smaller-text { font-size: 0.85em; float: right; }

/* ALL: pictures */

img.pics_big { width: 120px; height: 120px; float: left; margin-right: 25px; margin-top: 3px; }
img.pics_small { width: 100px; height: 100px; float: left; margin-right: 10px; margin-top: 3px; }
img.pics_smaller { width: 70px; height: 70px; float: left; margin-right: 8px; margin-top: 3px; }
img.pics_list { margin-right: 25px; }
img.orange-border { border: 2px solid #fe7a0f; }
#main section.main ul.big_img_fix { margin-left: 145px;}
#main section.main ul.small_img_fix { margin-left: 125px;}


/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }

/* 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; }

/* Contain floats: h5bp.com/q */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }



/* ==|== media queries ======================================================
   PLACEHOLDER Media Queries for Responsive Design.
   These override the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

@media screen and (max-width: 800px) and (orientation: portrait) {

}



/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  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; }
}
