/*
 * HTML5 ✰ Boilerplate
 */

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

html { font-size: 100%; overflow-y: scroll; -webkit-tap-highlight-color: rgba(0,0,0,0); -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: OpenSansRegular, sans-serif; color: #402E00; }

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

a { color: #402E00; text-decoration: none; }
a:visited { color: #402E00; }
a:focus { outline: thin dotted; }
a:hover, a:active { color: #BF311A; 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; }
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }
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%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

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

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

svg:not(:root) { overflow: hidden; }
figure { margin: 0; }


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

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { border: 0; *margin-left: -7px; padding: 0; }
label { cursor: pointer; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; *overflow: visible; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }

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

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

input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


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

table { border-collapse: collapse; border-spacing: 0; }


/* =============================================================================
   Primary styles
   Author: S Marjason
   
   Colors:
   Black/Brown: #402E00
   Dark Grey: #717074
   Red: #BF311A
   Gold: #E8A713
   Lt Grey: #F7F7F7
   
   ========================================================================== */

body {
	min-height: 100%;
	width: 960px;
	margin: 0 auto;	
}

header
{
	clear:both;
	float:left;
	width: 960px;
	height: 100px;
	background-image: url(../img/bg_header.gif);
	background-repeat: no-repeat;
}


#logo {
margin: 20px;
width: 299px;
height: 50px;
}

#loc_icon {
width: 63px
height: 50px;
float: right;
position: relative;
margin: 20px;
}


footer {
	position:relative;		/* This fixes the IE7 overflow hidden bug and stops the layout jumping out of place */
	clear:both;
	float:left;
	overflow:hidden;		/* This chops off any overhanging divs */
	border-top: 1px #717074 solid;
	margin: 0px 20px;
	padding: 10px 0;
	width: 920px;
    font-family: OpenSansLight;
	font-size: 9px;
	color: #717074;
	text-align: center;
}

.rtcol {
	position:relative;		/* This fixes the IE7 overflow hidden bug and stops the layout jumping out of place */
	clear:both;
	float:left;
	width:705px;				/* width of whole page */
	overflow:hidden;		/* This chops off any overhanging divs */
	margin-left: 255px;
}

.ltcol {
	position:relative;		/* This fixes the IE7 overflow hidden bug and stops the layout jumping out of place */
	float:left;
	width:255px;				/* width of whole page */
	overflow:hidden;		/* This chops off any overhanging divs */
	margin-left: -960px;
}



#mod_main {
background: #fff;
height: 340px;
overflow: hidden;
position: relative;
}


.about #mod_main {
overflow: auto;
}

#mod_secondary {
margin: 0px 20px 20px 0;
position: relative;
top: 0px;
min-height: 220px;
}

#mod_nav {
height: 260px;
}

#mod_social {
background: #F7F7F7;
min-height: 200px;
margin: 20px 20px;
}


#nav
{
	margin: 60px 0 0 0;
	text-align: right;
	background-image: url(../img/bg_nav.gif);
	background-repeat: no-repeat;
	height: 100%;
	width: 160px;
}

#nav div {
font-family: OpenSansRegular;
font-size: 12px;
height: 31px;
padding-top: 9px;
margin-right: 20px;
}

#nav div a {
padding-right: 5px;
}

#nav a:link, #nav a:visited {
color: #717074;
text-decoration:none;
}

#nav a:hover, #nav a:active {
color: #BF311A;
text-decoration:none;
}

.about #nav div#nav_abou a,
.process #nav div#nav_proc a,
.capabilities #nav div#nav_capa a,
.news #nav div#nav_news a,
.contact #nav div#nav_cont a 
{ color: #BF311A; }

#nav a span
{
	background-image: url(../img/ni_all.jpg);
	background-repeat: no-repeat;
	background-position: top left;
	width: 40px;
	height: 31px;
	display: block;
	float: right;
	margin-top: -7px;
}

#nav a.ni_abou span{ background-position: 0 0; width: 40px; height: 31px; } 
#nav a:hover.ni_abou span, .about #nav a.ni_abou span{ background-position: 0 -81px; width: 40px; height: 31px; } 
#nav a.ni_capa span{ background-position: 0 -162px; width: 40px; height: 31px; } 
#nav a:hover.ni_capa span, .capabilities #nav a.ni_capa span{ background-position: 0 -243px; width: 40px; height: 31px; } 
#nav a.ni_cont span{ background-position: 0 -324px; width: 40px; height: 31px; } 
#nav a:hover.ni_cont span, .contact #nav a.ni_cont span{ background-position: 0 -405px; width: 40px; height: 31px; } 
#nav a.ni_news span{ background-position: 0 -486px; width: 40px; height: 31px; } 
#nav a:hover.ni_news span, .news #nav a.ni_news span{ background-position: 0 -567px; width: 40px; height: 31px; } 
#nav a.ni_proc span{ background-position: 0 -648px; width: 40px;  height: 31px; } 
#nav a:hover.ni_proc span, .process #nav a.ni_proc span{ background-position: 0 -729px; width: 40px; height: 31px; } 


.ms_3c {
	background-color: #f7f7f7;
	background-image: url(../img/bg_3c.gif);
	background-repeat: no-repeat;
}

.ms_2c12 {
	background-color: #f7f7f7;
	background-image: url(../img/bg_2c12.gif);
	background-repeat: no-repeat;
}

.ms_2c11 {
	background-color: #f7f7f7;
	background-image: url(../img/bg_2c11.gif);
	background-repeat: no-repeat;
}

.ms_2c21 {
	background-color: #f7f7f7;
	background-image: url(../img/bg_2c21.gif);
	background-repeat: no-repeat;
}

.ms_0c {
	background-color: #f7f7f7;
}


.mod_block, .mod_block_21r {
display: block;
float: left;
width: 225px;
}

.mod_block_r, .mod_block_21l {
display: block;
float: left;
width: 450px;
}

.mod_block_2c {
display: block;
float: left;
width: 330px;
}

.mod_block_0c {
display: block;
float: left;
width: 680px;
}


.rightline {
	/* border-right: 1px #BF311A dashed; */
	background-image: url(../img/rline.gif);
	background-repeat: repeat-y;
	background-position: right 20px;
}


.ms_2cl {
display: block;
float: left;
width: 500px;
height: 100%;
}

.ms_2cr {
display: block;
float: left;
width: 150px;
height: 100%;
}

.capabilities .ms_2cr ul {
margin: 10px 0 0 0;
padding: 0;
}


article {
display: block;
padding: 10px 20px 10px 20px;
margin-top: 25px;
}

.whois article,
.ms_2c11 article { margin-top: 0px;}

#mod_social article {
margin-top: 0;
padding-top: 0;
}

h3 + article {
margin-top: 0;
}

h3 {
    font-family: OpenSansBold;
    font-weight: normal;
    font-size: 14px;
    color: #BF311A;
    display: inline-block;
    border-bottom: 1px #BF311A solid;
	margin: 10px 10px 0 0;
	padding: 0 0 0 15px;
}

article h4 {
    font-family: OpenSansBold;
    font-weight: normal;
    font-size: 12px;
    color: #402E00;
	margin: 5px 0 0 0;
}

article h5 {
    font-family: OpenSansBold;
    font-weight: normal;
    font-size: 10px;
    color: #402E00;
	margin: 10px 0 0 0;
}

article p, .two-column p, .three-column p  {
	margin: 5px 0 10px 0;
    font-family: OpenSansRegular, sans-serif;
    font-size: 10px;
    color: #402E00;
    line-height: 130%;
}


#smi {
margin: 5px;
}


h2 {
color: #E8A713;
font-size: 32px;
margin: 20px 0 10px 0;
padding: 0;
}


#mod_secondary .two-column {

  -webkit-column-count: 2;  -webkit-column-gap: 15px; 
     -moz-column-count: 2;     -moz-column-gap: 15px; 
          column-count: 2;          column-gap: 15px; 
min-height: 135px;
max-height: 170px;
}


#mod_main .two-column {
  -webkit-column-count: 2;  -webkit-column-gap: 15px; 
     -moz-column-count: 2;     -moz-column-gap: 15px; 
          column-count: 2;          column-gap: 15px; 
min-height: auto;
}

#mod_main .three-column {
  -webkit-column-count: 3;  -webkit-column-gap: 15px; 
     -moz-column-count: 3;     -moz-column-gap: 15px; 
          column-count: 3;          column-gap: 15px; 
min-height: auto;
}

.col-wrap .left {
width: 308px;
position: relative;
float: left;
}

.col-wrap .right {
width: 308px;
position: relative;
float: right;
}

.col-wrap {
position: relative;
display: block;
width: 650px;
}

#mod_main .colz {
width: 235px;
position: relative;
float: left;
font-size: 10px;
}



h2 a:link, h2 a:visited {
font-size: 20px;
color: #E8A713;
margin: 0;
padding: 0;
}


.more
{
	font-family: OpenSansBold;
	font-weight: normal;
	font-size: 10px;
	color: #717074;
	letter-spacing: .2em;
}


.port_images
{
	width: 2000px;
	height: 320px;
	position: relative;
}

.port_images div {
position: relative;
float: left;

}

.port_images div img {
padding-right: 10px;
}

#mod_main.portfolio {
overflow: auto;
}

.capabilities ul,
.capabilities section p,
.about ul {
list-style: none;
margin: 0;
padding: 10px 0 0 0;
}

.process .ui-tabs .ui-tabs-nav,
.whois .ui-tabs .ui-tabs-nav,
.capabilities .mod_block ul {
list-style: none;
margin: 0;
padding: 10px 0 0 20px;
}


.ms_2c12 .mod_block li {
font-weight: bold;
}

.capabilities li {
font-size: 10px;
font-weight: bold;
margin-bottom: 5px;
}


.mod_block_r h2 {
font-size: 14px;
color: #717074;
}

.whois .mod_block_r h4 {
	font-size: 10px;
	font-weight: light;
	font-style: italic;
color: #717074;
}

.mod_block_r article {
padding-top: 0;
}

.process .mod_block_r h4 {
font-size: 10px;
font-weight: bold;
color: #717074;
}


.lmc {
font-size: 9px;
font-weight: bold;
}

.lmc a { color: #717074; }

.mod_block .lmc { margin-left: 20px; }
.mod_block_r .lmc {margin-left: 0; }

.pitems {
	font-size: 9px;
	letter-spacing: 0.13em;
}

.pitems span { padding: 0 5px; }
.pitems b { padding-right: 5px; }
.pitems a { color: #717074; }
sup { font-size: 70%; }


.pdi {
	background-image: url(../img/i_digi.gif);
	background-repeat: no-repeat;
	background-position: 170px 10px;
}

.ppr {
	background-image: url(../img/i_print.gif);
	background-repeat: no-repeat;
	background-position: 170px 10px;
}

.pid {
	background-image: url(../img/i_ident.gif);
	background-repeat: no-repeat;
	background-position: 170px 10px;
}

.gf {
	background-image: url(../img/ci_gf.jpg);
	background-repeat: no-repeat;
	background-position: 180px 10px;
}

.gn {
	background-image: url(../img/ci_gn.jpg);
	background-repeat: no-repeat;
	background-position: 180px 10px;
}

.sd {
	background-image: url(../img/ci_sd.jpg);
	background-repeat: no-repeat;
	background-position: 180px 10px;
}


#ala a { font-size: 14px; color: #717074; }
#ala a:hover { color: #BF311A;  }



/* RSS feeds */

.rssFeed ul, #twitter ul {
list-style: none;
margin: 0;
padding: 0;
}

.rssRow div {
font-size: 9px;
}

#hlo_feed li:first-child, #hlo_feed2 li:first-child, #hlo_feed3 li:first-child {
display: none;
}

#twitter li {
font-size: 10px;
padding-bottom: 15px;
font-weight: normal;
}

#twitter li span {
display: block;
}


.icons img {
padding: 0 10px 10px 0;
}



/* ===== AWWWards ========== */

#awwwards{
position:absolute;
top:20px;
right:0px;
z-index:555;
}
#awwwards a{
width:69px;
height:105px;
text-indent:-8000px;
display:block;
background:url(/img/awwwards_nominee_b_left.png) no-repeat;
overflow:hidden;
}



/* ================== */


.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; }
.ui-tabs .ui-tabs-nav li { list-style: none; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }
.ui-tabs .ui-tabs-nav li a { padding: 0; text-decoration: none;}
.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; }
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; }
.ui-tabs .ui-tabs-hide { display: none !important; }
.ui-tabs-selected a, .ui-state-active a { color: #BF311A; }

/* ======================================= 
	Anything Slider
*/

#slide {
list-style: none;
}

#slide h1 {
font-size: 20px;
color: #E8A713;
}


#slide p {
font-size: 14px;
margin-right: 200px;
}


/*
	AnythingSlider v1.7+ Default (base) theme
	By Chris Coyier: http://css-tricks.com
	with major improvements by Doug Neiner: http://pixelgraphics.us/
	based on work by Remy Sharp: http://jqueryfordesigners.com/
*/

/*****************************
  SET DEFAULT DIMENSIONS HERE
 *****************************/
/* change the ID to match your slider */
#slide {
	width: 690px;
	height: 330px;
	list-style: none;
}
/* Opera width restriction */
.anythingBase { max-width: 32766px; }

/*****************
  SET COLORS HERE
 *****************/
/**** Default state (no keyboard focus) ****/
/* slider window - top & bottom borders, default state */
div.anythingSlider .anythingWindow {
border: none;
}
/* Navigation buttons, default state */
div.anythingSlider .anythingControls ul a.cur, div.anythingSlider .anythingControls ul a {
    background: url(../img/slider_bullets.png) no-repeat 0 0;
}

/* start-stop button, default hovered text color (when visible) */
div.anythingSlider .start-stop:hover, div.anythingSlider .start-stop.hover {
	color: #ddd;
}

/**** Active State (slider has keyboard focus) ****/
/* slider window - top & bottom borders, active state */
div.anythingSlider.activeSlider .anythingWindow {
	border-color: #7C9127;
}
/* Navigation buttons, active state */
div.anythingSlider.activeSlider .anythingControls ul a.cur, div.anythingSlider.activeSlider .anythingControls ul a {
	
}

/***********************
  COMMON SLIDER STYLING
 ***********************/
/* Overall Wrapper: 45px right & left padding for the arrows, 28px @ bottom for navigation */
div.anythingSlider {
	display: block;
	margin: 0 auto;
	overflow: visible !important; /* needed for Opera and Safari */
	position: relative;
	padding: 0;
}
/* anythingSlider viewport window */
div.anythingSlider .anythingWindow {
	overflow: hidden;
	position: relative;
	width: 100%;
	height: 100%;
}
/* anythingSlider base (original element) */
.anythingBase {
	background: transparent;
	list-style: none;
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	padding: 0;
}
/* all panels inside the slider */
.anythingBase .panel {
	background: transparent;
	display: block;
	overflow: hidden;
	float: left;
	padding: 0;
	margin: 0;
}

/* Navigation Links */
div.anythingSlider .anythingControls { outline: 0; display: none; }
div.anythingSlider .anythingControls ul { margin: 0; padding: 0; float: left; }
div.anythingSlider .anythingControls ul li { display: inline; }
div.anythingSlider .anythingControls ul a {
display: block;
    cursor: pointer;
    color: #999;
    text-indent: -9999px;
    background: url(../img/slider_bullets.png) no-repeat -18px 0;
    width: 18px;
    height: 16px;
    overflow: hidden;
    padding-bottom: 5px;
    outline: 0;
}
div.anythingSlider .anythingControls ul a:hover, .anythingControls ul li.cur  {
background-position: 0 0;
}
/* Navigation size window */
div.anythingSlider .anythingControls .anythingNavWindow { overflow: hidden; float: left; }

/* slider autoplay right-to-left, reverse order of nav links to look better */
div.anythingSlider.rtl .anythingControls ul a { float: right; } /* reverse order of nav links */
div.anythingSlider.rtl .anythingControls ul { float: left; }    /* move nav link group to left */
div.anythingSlider.rtl .anythingWindow {
	direction: ltr;
	unicode-bidi: bidi-override;
}
/* div.anythingSlider.rtl .start-stop { float: right; } */ /* move start/stop button - in case you want to switch sides */

.anythingControls {
position: absolute;
right: 10px;
bottom: 50%;
}

/* probably not necessary, but added just in case */
div.anythingSlider, div.anythingSlider .anythingWindow, div.anythingSlider .anythingControls ul a, div.anythingSlider .arrow a, div.anythingSlider .start-stop {
	transition-duration: 0;
	-o-transition-duration: 0;
	-moz-transition-duration: 0;
	-webkit-transition-duration: 0;
}


/* ======================================= 
	jQuery mCustomScrollbar
*/

#portfolio_scroller{position:absolute; left:0px; top:0px; margin:0; width:680px; height:300px; padding:0 10px;}
#portfolio_scroller .customScrollBox{position:relative; width:680px; overflow:hidden;}
#portfolio_scroller .customScrollBox .horWrapper{position:relative; left:0;}
#portfolio_scroller .customScrollBox .container{position:relative; left:0; display:inline-block; *display:inline;}
#portfolio_scroller .customScrollBox .content {
	clear: both;
	white-space: nowrap;
}
#portfolio_scroller .customScrollBox .content img{padding:5px; margin:0 0px;}
#portfolio_scroller .dragger_container{position:relative; height:0px; width:670px; margin:10px; border-top:1px solid #B2B2B5; cursor: pointer;}
#portfolio_scroller .dragger{position:absolute; width:60px; height:8px; background:#B2B2B5; margin-top:-4px;}
#portfolio_scroller .dragger_pressed{position:absolute; width:60px; height:8px; background:#E8A713; margin-top:-4px;}

#portfolio_scroller .content.onlytwo{padding-top: 15px;}


/* ======================================= */




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

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

/* Hide for both screenreaders and browsers:
   css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden { display: none; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: by Jon Neal.
  www.webaim.org/techniques/css/invisiblecontent/  &  j.mp/visuallyhidden */
.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: drupal.org/node/897638 */
.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: nicolasgallagher.com/micro-clearfix-hack/ */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }



/* =============================================================================
   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.
   Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: sanbeiji.com/archives/953 */
  a, a:visited { color: #444 !important; 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; } /* css-discuss.incutio.com/wiki/Printing_Tables */
  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; }
}

