@charset "utf-8";
/* CSS Document */

/***** Import Reset File *****/
@import url("reset.css");

/***** General *****/
html, body { margin: 0px; padding: 0px; font: 300 12px 'Open Sans', sans-serif; color: #194b71; text-align: left; height: 100%; background: #fff; /*background: transparent url('../images/bg.jpeg') repeat;*/ }
#wrapper { width: 100%; height: 100%; margin: 0 auto; padding: 0; position: relative; }
.container { width: 960px; margin: 0 auto; position: relative; }
.left { float: left !important; }
.right { float: right !important; }
.center { text-align: center !important; }
.divider { width: 100%; min-height: 1px; margin: 0; display: inline-block; }
.no-float { float: none !important; }
.bottom-margin { margin-bottom: 50px !important; }
.top-margin { margin-top: 50px !important;}
a, img, button { outline: none; -webkit-transition: all .3s ease; -moz-transition: all .3s ease; transition: all .3s ease; }
img { -ms-interpolation-mode: bicubic; }
/* http://sonspring.com/journal/clearing-floats */
.clear { clear: both; display: block; overflow: hidden; visibility: hidden; width: 0; height: 0; }
/* http://perishablepress.com/press/2008/02/05/lessons-learned-concerning-the-clearfix-css-hack */
.clearfix:after { clear: both; content: ' '; display: block; font-size: 0; line-height: 0; visibility: hidden; width: 0; height: 0; }
.clearfix { display: inline-block; }
* html .clearfix { height: 1%; }
.clearfix { display: block; }
button::-moz-focus-inner, input[type="reset"]::-moz-focus-inner, input[type="button"]::-moz-focus-inner, input[type="submit"]::-moz-focus-inner {
border: 0;
}
button:focus, input[type="reset"]:focus, input[type="button"]:focus, input[type="submit"]:focus { border: 0; }

/***** Typography & Element *****/
h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }
h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; font-weight: 300; }
p { font-size: 15px; height: auto; line-height: 1.4em; padding: 0; margin: 0; font-weight: 300; color: #777; }
.image-left { float: left; margin: 5px 20px 0 0; }
.image-right { float: right; margin: 5px 0 0 20px; }
a { color: #194b71; }

/***** Header *****/
header { margin: 0; position: fixed; top: 0; left: 0; z-index: 999; width: 100%; padding: 0; font: 400 13px/18px 'Open Sans', sans-serif; background: #fff;/*background: transparent url('../images/bg.jpeg') repeat;*/ }
.strip_line { height: 1px; background: #194b71; }
.info_top { background: url(../images/info_img.png) top left no-repeat; }
.info_top li { padding: 5px 0; height: 22px; font-size: 14px; width: 590px; text-align: center; font-weight: 300; line-height: 18px; }
.strip_bottom { border-bottom: 1px #d5d5d5 solid; -webkit-transition: all .3s ease; -moz-transition: all .3s ease; transition: all .3s ease; }
.strip_top { border-top: 1px #e4e4e4 solid; }
.floating { box-shadow: 0 3px 3px rgba(0, 0, 0, 0.05); }
#fade { display: none; background: #394c5e; position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 900; }

/***** Sliders *****/
  .rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  padding: 0;
  margin: 0 auto;
  width: 97.33%;
  }

.rslides_container {
  margin-bottom: 50px;
  position: relative;
  float: left;
  width: 100%;
  }

.transparent-btns_nav {
  z-index: 3;
  position: absolute;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  top: 0;
  left: 0;
  display: block;
  background: #fff; /* Fix for IE6-9 */
  opacity: 0;
  filter: alpha(opacity=1);
  width: 48%;
  text-indent: -9999px;
  overflow: hidden;
  height: 91%;
  }

.transparent-btns_nav.next {
  left: auto;
  right: 0;
  }


.transparent-btns_nav:focus {
  outline: none;
  }


.transparent-btns_tabs {
  margin-top: 10px;
  text-align: center;
  }


.transparent-btns_tabs li{
  display: inline;
  float: none;
  _float: left;
  *float: left;
  margin-right: 5px;
  }


.transparent-btns_tabs a {
  text-indent: -9999px;
  overflow: hidden;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  background: #ccc;
  background: rgba(0,0,0, .2);
  display: inline-block;
  _display: block;
  *display: block;
  -webkit-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
  -moz-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
  box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
  width: 9px;
  height: 9px;
  }


.transparent-btns_here a {
  background: #222;
  background: rgba(0,0,0, .8);
  }

.rslides li {
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  }

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
  }

.services-entry { padding: 20px 0 0 0; }
.services-entry li { width: 217px; height: 100px; float: left; margin: 0 20px 20px 0; position: relative; }
.services-entry li a { width: 217px; height: 100px; text-align: center; text-transform: uppercase; background: #194b71; bottom: -150px; position: absolute; cursor: pointer; display: block; }
.services-entry li a h3 { font-weight: 300; color: #ffffff; padding: 35px 0 0 0; text-shadow: 1px 1px 2px #777777; }
.services-entry li a.last, .services-entry li.last { margin-right: 0; }
.services-entry li a.no-active { background: #555; }
.services-entry li span.go { padding: 0; display: block; position: absolute; bottom: 15px; right: 15px; color: #ffffff; z-index: 10; font-size: 20px; }
.services-entry li a .active { position: absolute; top: 50px; left: 110px; width: 0px; height: 0px; margin: 0px; background: #194b71; }

/***** Main Nav *****/
#logo {  position: absolute; width: 65px; height: 50px; display: block; top: 18px; left: 50%; margin-left: -50px; }
#logo a { position: absolute; top:0; left:0; width: 65px; height: 50px; background: url('../images/logo/logo.png') 0 0 no-repeat; }
#contactMenu { position:relative; float: right; display: block; margin: 30px 0 0; }
#contactMenu li { margin:0 0 0 10px; padding:0; list-style:none; }
#contactMenu li, #contactMenu a { height:30px; display: inline-block; }
#facebook { position: relative; height: 30px; width: 30px; background: url('../images/social/facebook.png') 0 0 no-repeat; }
#facebook a { position: absolute; top:0; left:0; height: 30px; width: 30px; background: url('../images/social/facebook.png') 0 -30px no-repeat; opacity: 0; -webkit-transition: opacity 0.3s; -moz-transition: opacity 0.3s; -o-transition: opacity 0.3s; }
#facebook a:hover { opacity: 1; }
#mail { position: relative; height: 30px; width: 30px; background: url('../images/social/mail.png') 0 0 no-repeat; }
#mail a { position: absolute; top:0; left:0; height: 30px; width: 30px; background: url('../images/social/mail.png') 0 -30px no-repeat; opacity: 0; -webkit-transition: opacity 0.3s; -moz-transition: opacity 0.3s; -o-transition: opacity 0.3s; }
#mail a:hover { opacity: 1; }
.main-navigation { height: 90px; float: left; width: auto; font-size: 14px; zoom: 1; }
.main-navigation li { height: 90px; list-style: none; postion: relative; text-transform: uppercase; font-weight: 700; zoom: 1; white-space: nowrap; float: left; width: auto; display: inline; margin: 0; }
.main-navigation li a { float: left; height: 90px; line-height: 90px; padding: 0 15px; color: #777; border-bottom: 0px #194b71 solid; text-decoration: none; text-transform: uppercase; -webkit-font-smoothing: antialiased;  -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -webkit-transition: 0.2s ease; -moz-transition: 0.2s ease; -ms-transition: 0.2s ease; -o-transition: 0.2s ease; transition: 0.2s ease; z-index: 600; }
.main-navigation li a:hover { border-bottom-width: 4px; -webkit-transition-duration: 0.3s; -moz-transition-duration: 0.3s; -ms-transition-duration: 0.3s; -o-transition-duration: 0.3s; transition-duration: 0.3s; }
.main-navigation li a.current { border-bottom-width: 4px; -webkit-transition-duration: 0.3s; -moz-transition-duration: 0.3s; -ms-transition-duration: 0.3s; -o-transition-duration: 0.3s; transition-duration: 0.3s; }

/***** Section *****/
section { position: relative; padding: 170px 0; }
.borderBottom { border-bottom: 1px #d5d5d5 solid; }
.header { margin-bottom: 25px; text-align: center; padding-bottom: 16px; font-family: 'Open Sans', sans-serif; }
.header h1 { display: inline-block; padding-right: 5px; text-transform: uppercase; font-size: 24px; line-height: 24px; }
.header p { display: inline-block; color: #777; font-size: 16px; line-height: 24px; font-style: italic; }

/***** Home *****/
.slogan_top h1, .slogan_top h3 { text-align: center; font-family: 'Open Sans', sans-serif; margin: 0; font-size: 51px; font-weight: 300; }
.slogan_top h3 { font-weight: 400; font-size: 16px; color: #777; padding-bottom: 40px; }
.slogan_top h3 a { font-weight: 600; color: #555; }
.slogan_top h3 a:hover { color: #194b71; }

/***** Portfolio *****/
/*ul#portfolio-filter { margin-bottom: 20px; padding: 0; float: left; }
ul#portfolio-filter li { display: inline; margin: 0 5px 0 0; float: left; }
ul#portfolio-filter a { margin-right: 0; padding: 3px 10px; display: block; font-size: 11px; text-align: center; text-decoration: none; text-transform: uppercase; color: #949292; font-family: 'Open Sans', sans-serif; font-weight: 400; }
ul#portfolio-filter a:hover { color: #194b71; }
ul#portfolio-filter li a.currents { background: #194b71; color: #f8f8f8; }
ul#portfolio-filter li.loading-item { width: 16px; height: 18px; background: #fff url(../images/loading.gif) no-repeat 0 2px; display: none; }*/
#containment-portfolio { position: relative; display: inline-block; }
#containment-portfolio li .block-zoom { width: 235px; height: 110px; padding: 20px; position: absolute; left: 0; top: 0; background: #194b71; opacity: 0; z-index: 99; text-align: left; }
#containment-portfolio li .block-zoom p { font-size: 12px; margin: 0 0 10px 0; }
#containment-portfolio li .block-zoom h5 { margin: 0 0 10px 0; font-weight: 400; }
#containment-portfolio li a.zoom { width: 30px; height: 30px; background: #e4e4e4 url(../images/zoom-icon.png) no-repeat top center; position: absolute; bottom: 10px; left: 10px; z-index: 999; }
#containment-portfolio li a.link { width: 30px; height: 30px; background: #e4e4e4 url(../images/link.png) no-repeat top center; position: absolute; bottom: 10px; left: 50px; ; z-index: 999; }
#containment-portfolio li a.read_m { width: 70px; background: #fff; padding: 8px 10px; font-size: 12px; position: absolute; bottom: 10px; right: 10px; ; z-index: 999; color: #fff; display: block; text-align: center; text-transform: uppercase; }
.portfolio-item { width: 275px; height: 150px; overflow: hidden; border: 1px solid #E5E5E5; background: #F8F8F8; float: left; display: inline-block; margin: 0 20px 20px 0; text-align: center; position: inherit; cursor: pointer; -webkit-transition: all .3s ease; -moz-transition: all .3s ease; transition: all .3s ease; -o-transition: all .3s ease; }
.portfolio-item img { float: left; width: 275px; height: 150px; }
.portfolio-item:hover { background: #194b71; } 
.portfolio-item.img4 { margin-right: 0; }
.item_block { display: inline-block; position: relative; padding: 0 0 20px 0; }
.item_block .close { display: block; position: absolute; top: 0; right: 0; width: 21px; height: 20px; margin: 0; color: #ffffff; background: #194b71 url(../images/close.png) 50% 50% no-repeat; font-size: 12px; text-transform: uppercase; cursor: pointer; }
.item_block div { margin-left: 0; }
ul.porto-entry { font-family: 'Open Sans', sans-serif; padding: 0 0 0 10px; }
ul.porto-entry li { margin: 0 0 20px 0; }
ul.porto-entry h3, ul.porto-entry h4 { margin: 10px 0 5px 0; font-weight: 300; text-transform: uppercase; }
ul.porto-entry h3 { margin: 0 0 5px 0; }
ul.porto-entry p { font-size: 13px; font-style: italic; }
ul.porto-entry a { font-size: 13px; font-style: italic; }

/***** About *****/
.about-section { font-weight: 300; padding: 0; }
.about-section h3 { font-weight: 300; margin: 0 0 10px 0; }
.about-section h4 { font-weight: 400; margin: 0 0 5px 0; }
.about-section p { margin: 0 0 20px 0; }
.about-section div { margin-right: 0; }
.about-section #diagram { float: right; width: 600px; height: 600px; z-index: 2; }
.about-section .legend { float: left; width: 250px; margin-top: 180px; }
.about-section .skills { float: left; clear: both; width: 100%; }
.about-section .skills ul, .about-section .skills li { display: block; list-style: none; margin: 0; padding: 0; }
.about-section .skills li { float: right; clear: both; padding: 0 15px; height: 35px; line-height: 35px; color: #fff; margin-bottom: 1px; font-size: 18px; }
.about-section .skills .jq { opacity: .85; background: #858F28; }
.about-section .skills .css { opacity: .85; background: #A30000; }
.about-section .skills .html { opacity: .85; background: #20549E; }
.about-section .skills .php { opacity: .85; background: #545566; }
.about-section .skills .sql { opacity: .85; background: #C77B00; }
.about-section .skills .adobe { opacity: .85; background: #194b71; }
.get { display: none; }

/***** Services *****/
#services h4 { margin-bottom: 18px; }
#services img { position: relative; background: transparent; margin: 20px auto; }
#services .col { border: 0; padding: 0; margin: 0 89px 0 0; width: 225px; float: left; }
#services .col p { line-height: 18px; font-family: 'Open Sans', sans-serif; font-size: 13px; margin-bottom: 18px; -webkit-transition: all .3s ease; -moz-transition: all .3s ease; transition: all .3s ease; }
#services .col.hover { cursor: pointer; }
#services .col.hover img { opacity: 0.7; }
#services .col.hover p { color: #000; }
#services .col.hover a { color: #eee; background: #194b71; }
#services .col4 { margin-right: 0; }

/***** Contact Form *****/
.style-form { padding: 20px 0 0 0; }
.style-form h3 { padding: 0 0 20px 0; font-weight: 300; }
#style-form { margin: 0; padding: 0; position: relative; }
.wrapper-block label { padding: 0; display: block; text-align: left; width: 120px; float: left; font-size: 18px; font-weight: 300; }
.small-label { display: block; font-size: 13px; text-align: left; width: 120px; line-height: 10px; color: #777; padding: 5px 0 0 0; }
.wrapper-block [type="text"] { font-family: 'Open Sans', sans-serif; font-size: 15px; padding: 10px 4px; border: solid 1px #748493; width: 300px; margin: 2px 0 20px 10px; background: url(../images/tr-png-w.png); }
.wrapper-block textarea { padding: 10px 4px; border: solid 1px #748493; width: 300px; margin: 2px 0 20px 10px; font-family: 'Open Sans', sans-serif; font-size: 15px; overflow: hidden; resize: none; }
.wrapper-block input:hover, textarea:hover { border: solid 1px #333; }
.wrapper-block input:focus, textarea:focus { border: solid 1px #194b71; outline: 0; }
#form .error-input { border-color: #C00; }
input.btn-form { width: 310px; margin: 0 0 5px 130px; padding: 10px 20px; display: inline-block; font-size: 20px; border: none; background: #777; color: #fff; cursor: pointer; font-family: 'Open Sans', sans-serif; font-weight: 400; text-transform: uppercase; -webkit-transition: all .3s ease; -moz-transition: all .3s ease; transition: all .3s ease; outline: 0; }
input.btn-form:hover { background: #194b71; }
.sending { margin: 0; padding: 3px; font-size: 12px; display: none; position: absolute; bottom: 7px; right: 17px; color: #fff; }
.mess { display: none; position: absolute; top: 25px; left: 50%; margin-left: -122px; padding: 40px 0 40px 0; }
.mess h5 { font-weight: 400; padding: 10px; }
.mess b { color: #394c5e; }

/***** Footer *****/
footer { position: relative; margin: 0 auto; padding: 100px 0 400px 0; text-align: center; font-size: 13px; color: #777; }

/***** Back to Top *****/
#toTop { display: none; text-decoration: none; position: fixed; bottom: 10px; right: 10px; overflow: hidden; width: 51px; height: 51px; border: none; text-indent: -999px; background: url(../images/ui.totop.png) no-repeat left top; }
#toTopHover { background: url(../images/ui.totop.png) no-repeat left -50px; width: 50px; height: 50px; display: block; overflow: hidden; float: left; opacity: 0; -moz-opacity: 0; filter: alpha(opacity=0); }
#toTop:active, #toTop:focus { outline: none; }
.features p { margin: 0 0 20px 0; }
.features h3 { margin: 0 0 30px 0; }
.features h4 { margin: 0 0 20px 0; }
.features .strip_line { height: 1px; background: #e4e4e4; margin: 0 0 30px 0; }

/***** Button *****/
.button { margin: 0 0 10px; display: inline-block; padding: 12px 20px 12px; color: #fff; background: #777; font-size: 13px; text-transform: uppercase; text-decoration: none; outline: none; cursor: pointer; -webkit-transition: all .3s ease; -moz-transition: all .3s ease; transition: all .3s ease; }
.button:hover, .button:focus { color: #fff; text-decoration: none; outline: none; background: #194b71; }
.button:active { color: #fff; text-decoration: none; outline: none; }
.button.small { padding: 8px 10px 8px; font-size: 12px; line-height: 12px; }
.button.large { padding: 16px 25px 16px; font-size: 16px; line-height: 16px; }
.button.biglarge { padding: 20px 30px 20px; font-size: 20px; line-height: 20px; }
.rounded { -webkit-border-radius: 15px; -moz-border-radius: 15px; border-radius: 15px; }
.orange { background: #194b71; }
.button.orange:hover { background: #394c5e; }

/***** List style *****/
ul.circle li { padding: 0 0 1px 14px; background: url(../images/circle.png) no-repeat left 2px; list-style: none outside none; font-size: 13px; }
ul.square li { padding: 0 0 1px 14px; background: url(../images/square.png) no-repeat left 2px; list-style: none outside none; font-size: 13px; }
ul.bullet li { padding: 0 0 1px 14px; background: url(../images/bullet.png) no-repeat left 2px; list-style: none outside none; font-size: 13px; }
ul.arrow li { padding: 0 0 1px 14px; background: url(../images/arrow.png) no-repeat left 2px; list-style: none outside none; font-size: 13px; }

/***** CSS Photo *****/
.lb-overlay { width: 0px; height: 0px; position: fixed; overflow: hidden; left: 0px; top: 0px; padding: 0px; z-index: 999; text-align: center; background: rgb(238,235,228); background: -moz-radial-gradient(center, ellipse cover, rgba(238,235,228,1) 0%, rgba(238,235,228,0.95) 100%); background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, rgba(238,235,228,1)), color-stop(100%, rgba(238,235,228,0.95))); background: -webkit-radial-gradient(center, ellipse cover, rgba(238,235,228,1) 0%, rgba(238,235,228,0.95) 100%); background: -o-radial-gradient(center, ellipse cover, rgba(238,235,228,1) 0%, rgba(238,235,228,0.95) 100%); background: -ms-radial-gradient(center, ellipse cover, rgba(238,235,228,1) 0%, rgba(238,235,228,0.95) 100%); background: radial-gradient(center, ellipse cover, rgba(238,235,228,1) 0%, rgba(238,235,228,0.95) 100%); }
.lb-overlay > div { position: relative; color: rgba(27,54,81,0.8); width: 550px; height: 80px; margin: 40px auto 0px auto; text-shadow: 0px 1px 1px rgba(255,255,255,0.6); }
.lb-overlay div h3, .lb-overlay div p { padding: 0px 20px; width: 200px; height: 60px; }
.lb-overlay div h3 { font-size: 36px; float: left; text-align: right; border-right: 1px solid rgba(27,54,81,0.4); text-transform: uppercase; font-weight: 400; }
.lb-overlay div h3 span, .lb-overlay div p { font-size: 16px; font-family: 'Open Sans', sans-serif; font-style: italic; }
.lb-overlay div h3 span { display: block; line-height: 6px; }
.lb-overlay div p { font-size: 14px; text-align: left; float: left; width: 260px; }
.lb-overlay a.lb-close { background: rgba(27,54,81,0.8); z-index: 1001; text-transform: uppercase; font-weight: 700; color: #fff; position: absolute; top: 43px; left: 50%; font-size: 12px; line-height: 24px; text-align: center; width: 66px; height: 23px; overflow: hidden; margin-left: -25px; opacity: 0; filter: alpha(opacity=0); /* internet explorer */ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; /*IE8*/ -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3); -moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3); box-shadow: 0px 1px 2px rgba(0,0,0,0.3); }
.lb-overlay img { /* height: 100%; For Opera max-height does not seem to work */
max-height: 100%; position: relative; opacity: 0; filter: alpha(opacity=0); /* internet explorer */ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; /*IE8*/ -webkit-box-shadow: 1px 1px 4px rgba(0,0,0,0.3); -moz-box-shadow: 1px 1px 4px rgba(0,0,0,0.3); box-shadow: 0px 2px 7px rgba(0,0,0,0.2); -webkit-transition: opacity 0.5s linear; -moz-transition: opacity 0.5s linear; -o-transition: opacity 0.5s linear; -ms-transition: opacity 0.5s linear; transition: opacity 0.5s linear; }
.lb-prev, .lb-next { text-indent: -9000px; position: absolute; top: -32px; width: 24px; height: 25px; left: 50%; opacity: 0.8; filter: alpha(opacity=80); /* internet explorer */ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=80)"; /*IE8*/ }
.lb-prev:hover, .lb-next:hover { opacity: 1; filter: alpha(opacity=99); /* internet explorer */ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=99)"; /*IE8*/ }
.lb-prev { margin-left: -30px; background: transparent url(../images/overlayArrows.png) no-repeat top left; }
.lb-next { margin-left: 6px; background: transparent url(../images/overlayArrows.png) no-repeat top right; }
.lb-overlay:target { width: auto; height: auto; bottom: 0px; right: 0px; padding: 80px 100px 120px 100px; }
.lb-overlay:target img, .lb-overlay:target a.lb-close { opacity: 1; filter: alpha(opacity=99); /* internet explorer */ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=99)"; /*IE8*/ }
/* 
	100% Height for Opera as the max-height seems to be ignored, not optimal for large screens 
	http://bricss.net/post/11230266445/css-hack-to-target-opera 
*/
x:-o-prefocus, .lb-overlay img { height: 100%; }

@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) { 
#contactMenu li, #contactMenu a { height:31px; }
#logo a { background: url('../images/logo/logo2@2x.png') 0 0 no-repeat; background-size: cover; -moz-background-size: cover; }
#mail { background: url('../images/social/mail@2x.png') 0 0 no-repeat; background-size: cover; -moz-background-size: cover; }
#mail a { background: url('../images/social/mail@2x.png') 0 -30px no-repeat; background-size: cover; -moz-background-size: cover; }
#facebook { background: url('../images/social/facebook@2x.png') 0 0 no-repeat; background-size: cover; -moz-background-size: cover; }
#facebook a { background: url('../images/social/facebook@2x.png') 0 -30px no-repeat; background-size: cover; -moz-background-size: cover; }
}
@media only screen and (min-width: 959px) and (max-width: 1199px) {
.row { margin: 0 auto; width: 768px; overflow: hidden; }
.row .row { margin: 0 -14px 0 -14px; width: auto; display: inline-block; }
.grid_1 { width: 36px; margin: 0 14px 0 14px; overflow: hidden; float: left; display: inline; }
.grid_2 { width: 100px; margin: 0 14px 0 14px; overflow: hidden; float: left; display: inline; }
.grid_3 { width: 164px; margin: 0 14px 0 14px; overflow: hidden; float: left; display: inline; }
.grid_4 { width: 228px; margin: 0 14px 0 14px; overflow: hidden; float: left; display: inline; }
.grid_5 { width: 292px; margin: 0 14px 0 14px; overflow: hidden; float: left; display: inline; }
.grid_6 { width: 356px; margin: 0 14px 0 14px; overflow: hidden; float: left; display: inline; }
.grid_7 { width: 420px; margin: 0 14px 0 14px; overflow: hidden; float: left; display: inline; }
.grid_8 { width: 484px; margin: 0 14px 0 14px; overflow: hidden; float: left; display: inline; }
.grid_9 { width: 548px; margin: 0 14px 0 14px; overflow: hidden; float: left; display: inline; }
.grid_10 { width: 612px; margin: 0 14px 0 14px; overflow: hidden; float: left; display: inline; }
.grid_11 { width: 676px; margin: 0 14px 0 14px; overflow: hidden; float: left; display: inline; }
.grid_12 { width: 740px; margin: 0 14px 0 14px; overflow: hidden; float: left; display: inline; }
.header h1 { margin-left: 0; }
.header p { margin-top: 0; }
.slider-wrapper { width: 96.35%; }
.about-section .legend { display: none; }
.portfolio-item.img4 { margin-right: 20px; }
}

/***** iPad Smaller than 959px *****/
@media only screen and (min-width: 768px) and (max-width: 959px) {
.row { margin: 0 auto; width: 768px; overflow: hidden; }
.row .row { margin: 0 -14px 0 -14px; width: auto; display: inline-block; }
.grid_1 { width: 36px; margin: 0 14px 0 14px; overflow: hidden; float: left; display: inline; }
.grid_2 { width: 100px; margin: 0 14px 0 14px; overflow: hidden; float: left; display: inline; }
.grid_3 { width: 164px; margin: 0 14px 0 14px; overflow: hidden; float: left; display: inline; }
.grid_4 { width: 228px; margin: 0 14px 0 14px; overflow: hidden; float: left; display: inline; }
.grid_5 { width: 292px; margin: 0 14px 0 14px; overflow: hidden; float: left; display: inline; }
.grid_6 { width: 356px; margin: 0 14px 0 14px; overflow: hidden; float: left; display: inline; }
.grid_7 { width: 420px; margin: 0 14px 0 14px; overflow: hidden; float: left; display: inline; }
.grid_8 { width: 484px; margin: 0 14px 0 14px; overflow: hidden; float: left; display: inline; }
.grid_9 { width: 548px; margin: 0 14px 0 14px; overflow: hidden; float: left; display: inline; }
.grid_10 { width: 612px; margin: 0 14px 0 14px; overflow: hidden; float: left; display: inline; }
.grid_11 { width: 676px; margin: 0 14px 0 14px; overflow: hidden; float: left; display: inline; }
.grid_12 { width: 740px; margin: 0 14px 0 14px; overflow: hidden; float: left; display: inline; }
.header h1 { margin-left: 0; }
.header p { margin-top: 0; }
.slider-wrapper { width: 96.35%; }
.about-section .legend { display: none; }
}

/***** iPhone (portrait) *****/
@media only screen and (max-width: 767px) {
.row { margin: 0 auto; width: 300px; overflow: hidden; }
.row .row { margin: 0; width: auto; display: inline-block; }
.grid_1,  .grid_2,  .grid_3,  .grid_4,  .grid_5,  .grid_6,  .grid_7,  .grid_8,  .grid_9,  .grid_10,  .grid_11,  .grid_12 { width: 300px; margin: 10px 0 0 0; overflow: hidden; float: left; display: inline; }
.slider-wrapper { width: 98.66%; }
.services-entry { display: none; }
header { margin: 0 auto; position: absolute; }
.header h1 { margin-left: 0; }
.header p { margin-top: 0; }
.main-navigation { position: relative; text-align: center; margin: 0 auto; float: none; }
.main-navigation li { display: inline-block; float: none; }
section { padding: 10px 0; }
section#home { padding-top: 140px; }
.slogan_top h3 { padding-bottom: 20px; }
a.logo { position: relative; text-align: center; margin: 0 auto; float: none; }
.info_top li { width: 50%px; }
.slogan_top h1 { display: none; }
.about-section #diagram { display: none; }
.about-section .legend { display: none; }
}

/***** iPhone (landscape) *****/
@media only screen and (min-width: 480px) and (max-width: 767px) {
.row { margin: 0 auto; width: 456px; overflow: hidden; }
.row .row { margin: 0; width: auto; display: inline-block; }
.grid_1, .grid_2,  .grid_3,  .grid_4,  .grid_5,  .grid_6,  .grid_7,  .grid_8,  .grid_9,  .grid_10,  .grid_11,  .grid_12 { width: 456px; margin: 10px 0 0 0; overflow: hidden; float: left; display: inline; }
.slider-wrapper { width: 98.66%; }
.services-entry { display: none; }
header { margin: 0 auto; position: absolute; }
.header h1 { margin-left: 0; }
.header p { margin-top: 0; }
.main-navigation { position: relative; text-align: center; margin: 0 auto; float: none; }
.main-navigation li { display: inline-block; float: none; }
section { padding: 15px 0; }
section#home { padding-top: 140px; }
.slogan_top h3 { padding-bottom: 20px; }
a.logo { position: relative; text-align: center; margin: 0 auto; float: none; }
.info_top li { width: 50%px; }
.slogan_top h1 { display: none; }
.about-section #diagram { display: none; }
.about-section .legend { display: none; }
}