/* 
 * 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%; -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: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }


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

a { color: #b80000; text-decoration:none;}
a:hover { color: #9e0000; text-decoration:underline;}
a:focus { outline: 0; }

/* 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: 0; padding: 0; }
dd { margin: 0; }
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: Daniel Codrea
   ========================================================================== */
* {margin: 0;}
html, body {height: 100%;}
body{font-family: "Ubuntu", Arial, sans-serif; font-size: 12px; font-style: normal; font-weight: normal; text-transform: normal; letter-spacing: normal; line-height: 16px; color:#f2f2f2; background:#1b1b1b;}
#wrapper {min-height: 100%; margin: 0 auto -60px; width:960px; padding:0;}
#logo{margin:0; padding:8px 0 0 10px;}
#logo a{width:215px; height:42px; display:block; background:transparent url(../img/logo.png) no-repeat top left;}
#logo span{display:none;}
nav{margin:0; padding:0 10px 0 0;}
#content{padding:40px 0;}
.column, .column1, .column2{margin:0 10px; padding:0; float:left; display:inline;}
.column{width:300px;}
.column1{width:540px;}
.column2{width:380px;}
.column2 img{padding:30px 0 0;}

.description{width:590px; float:right; padding:0 0 0 30px;}
.contactform{margin:0; padding:45px 0 0;}
footer, .push {height: 60px;}
footer{margin: 0 auto; width:960px; padding:0; background:url(../img/spacer.png) repeat-x top left;}
.addthis_toolbox{padding:20px 0 0 0;}


/*Text settings
------------------------------------------------------------*/
nav li{float:left; padding:15px 0 0 30px;}
nav a{text-decoration:none; font-size:24px; line-height:30px; color:#f2f2f2;}
nav a:hover, nav a.active{color:#b80000; text-decoration:none;}
p{font-size: 16px; line-height: 20px; padding:5px 0;}
h2{font-size:24px; line-height:80px; padding:0 0 0 90px;}
.column h2 a{color:#f2f2f2;}
h2.about{background:url(../img/about.png) no-repeat top left;}
h2.about:hover{background:url(../img/about_hover.png) no-repeat top left;}
h2.portfolio{background:url(../img/portfolio.png) no-repeat top left;}
h2.portfolio:hover{background:url(../img/portfolio_hover.png) no-repeat top left;}
h2.contact{background:url(../img/contact.png) no-repeat top left;}
h2.contact:hover{background:url(../img/contact_hover.png) no-repeat top left;}
h2.aboutPage, h2.portfolioPage, h2.contactPage{line-height:32px; padding:10px 0;}

p.fLabel{margin:0 5px 0 0; padding:0; width:80px;}
p.fMandatory{margin:0 10px 0 5px; padding:0; vertical-align:top; color:#b80000;}
p.fNotMandatory{margin:0 10px 0 5px; padding:0; vertical-align:top; color:#20201f;}
p.fField{margin:0; padding:0 0 20px; width:270px;}
form.contactform input, form.contactform textarea{border:1px solid #000001; line-height:24px;}
form.contactform input.myField{width:250px; padding:0 5px; height:27px;}
form.contactform textarea.myField{height:100px; padding:0 5px; width:250px;}
form.contactform .myButton{margin:0; text-transform:uppercase; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b80000', endColorstr='#9e0000'); background: -webkit-gradient(linear, left top, left bottom, from(#b80000), to(#9e0000)); background: -moz-linear-gradient(top,  #b80000,  #9e0000); /* for firefox 3.6+ */  padding:4px 10px; font-weight:bold; border:1px solid #780000; color:#f2f2f2;cursor:pointer;}
form.contactform .myButton:hover{filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#9e0000', endColorstr='#780000'); background: -webkit-gradient(linear, left top, left bottom, from(#9e0000), to(#780000)); background: -moz-linear-gradient(top,  #9e0000,  #780000); border:1px solid #380000; color:#e2e2e2;}
form.contactform label.error {width: 280px; margin:5px 0; float:left; color:#b80000; display: none;}
footer p{text-align:right;margin:0; padding:20px 0 0 0;}


/*General settings
------------------------------------------------------------*/
.left{float:left;}
.right{float:right;}
.spacer{margin:5px 0; padding:0; height:2px; background:url(../img/spacer.png) repeat-x top left;}
.red{color:#b80000;}
.bold{font-weight:bold;}
.rounded{-webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;}
.center{text-align:center;}
.smallText{font-size:12px; line-height:12px;}





/*NivoSlider settings
------------------------------------------------------------*/
.nivoSlider {position:relative; background:#1b1b1b url(../img/loading.gif) no-repeat 50% 50%;}
.nivoSlider img {position:absolute; top:0px; left:0px;}
.nivoSlider a.nivo-imageLink {position:absolute; top:0px; left:0px; width:100%; height:100%; border:0; padding:0; margin:0; z-index:6; display:none;}
.nivo-slice {display:block; position:absolute; z-index:5; height:100%;}
.nivo-box {display:block; position:absolute; z-index:5;}
.nivo-caption {position:absolute; left:5px; bottom:5px; background:#1b1b1b; color:#f2f2f2; opacity:0.8; width:800px; z-index:8;}
.nivo-caption p {padding:15px; margin:0;}
.nivo-caption a {display:inline !important;}
.nivo-html-caption {display:none;}
/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {position:absolute; top:45%; z-index:9; cursor:pointer; display:block; width:30px; height:30px; background:url(../img/arrows.png) no-repeat; text-indent:-9999px; border:0; }
a.nivo-nextNav {background-position:-30px 0; right:15px;}
a.nivo-prevNav {left:15px;}
/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav {position:absolute; left:50%; bottom:-35px; margin-left:-112px;}
.nivo-controlNav a {display:block; width:22px; height:22px; background:url(../img/bullets.png) no-repeat; text-indent:-9999px; border:0; margin-right:3px; float:left;}
.nivo-controlNav a.active {background-position:0 -22px;}
#slider {margin:0 auto; width:810px; height:531px;}



/*Tiny carousel settings
------------------------------------------------------------*/
.tinyCarousel { height: 1%; overflow:hidden; padding: 0 0 10px;   }
.tinyCarousel .viewport { float: left; width: 454px; height: 315px; overflow: hidden; position: relative; }
.tinyCarousel .buttons { background:url("../img/buttons.png") no-repeat scroll 0 0 transparent; display: block; margin: 142px 10px 0 0; background-position: 0 -30px; text-indent: -999em; float: left; width: 30px; height: 30px; overflow: hidden; position: relative; }
.tinyCarousel .next { background-position: 0 0; margin: 142px 0 0 10px;  }
.tinyCarousel .disable { visibility: hidden; }
.tinyCarousel .overview { list-style: none; position: absolute; padding: 0; margin: 0; width: 454px; left: 0 top: 0; }
.tinyCarousel .overview li{ float: left; margin: 0 20px 0 0; padding: 1px; height: 311px; border: 1px solid #1b1b1b; width: 450px;}


/*NiroModal settings
------------------------------------------------------------*/
div#nyroModalFull {font-size: 12px; color: #777;}
div#nyroModalLoading {border: 1px solid #303030; width: 150px; height: 150px; text-indent: -9999em; background: #060606 url(../img/loading.gif) no-repeat; background-position: center;}
div#nyroModalLoading.error {border: 1px solid #303030; line-height: 20px; padding: 20px; width: 300px; height: 100px; text-indent: 0; background: #060606;}
div#nyroModalWrapper {background: #060606; border: 1px solid #303030;}
a#closeBut {position: absolute; display: block; top: -22px; right: 0px; width: 16px; height: 16px; text-indent: -9999em; background: url(../img/close.png) no-repeat; outline: 0;}
h1#nyroModalTitle {margin: 0; padding: 0; position: absolute; top: -22px; left: 0px; font-size: 12px; color: #fff; font-weight:200;}
div#nyroModalContent {overflow: auto;}
div.wrapper div#nyroModalContent {padding: 5px;}
div.wrapperImg div#nyroModalContent {position: relative; overflow: hidden; text-align: center;}
div.wrapperImg img {vertical-align: baseline;}
div.wrapperImg div#nyroModalContent div {position: absolute; bottom: 0; left: 0; background: black; padding: 10px; margin: 10px; border: 1px white dotted; overflow: hidden; opacity: 0.2; filter: alpha(opacity=20);}
div.wrapperImg div#nyroModalContent div:hover {opacity: 0.5; filter: alpha(opacity=50); cursor: help;}
a.nyroModalPrev, a.nyroModalNext {z-index: 105; outline: none; position: absolute; top: 0; height: 100%; width: 40%; cursor: pointer; text-indent: -9999em; background: left 20% no-repeat; background-image: url(data:image/gif;base64,AAAA);}
div.wrapperSwf a.nyroModalPrev, div.wrapperSwf a.nyroModalNext, div.wrapper a.nyroModalPrev, div.wrapper a.nyroModalNext {height: 60%; width: 20%;}
a.nyroModalPrev {left: 0;}
a.nyroModalPrev:hover {background-image: url(../img/previous.png);}
a.nyroModalNext {right: 0; background-position: right 20%;}
a.nyroModalNext:hover {background-image: url(../img/next.png);}


/* ==|== 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 */ 
.cf:before, .cf:after { content: ""; display: table; }
.cf:after { clear: both; }
.cf { zoom: 1; }



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

@media only screen and (min-width: 480px) {
  /* Style adjustments for viewports 480px and over go here */

}

@media only screen and (min-width: 768px) {
  /* Style adjustments for viewports 768px and over go here */

}



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

