html,head,body,
div,blockquote,q,img,object,param,embed,area,map,b,i,em,strong,tt,sub,sup,big,small,hr,
h1, h2, h3, h4, h5, h6,
abbr,acronym,address,bdo,cite,code,ins,del,dfn,kbd,br,
ul,ol,li,dl,dt,dd,
table,tr,td,th,tbody,thead,tfoot,col,colgroup,caption,
form,label,fieldset,legend,
a,base,span,pre,p {
  margin: 0;
  padding: 0;
}
body,
html {
  height: 100%;
}
html {
  border: none;
  font-size: 16px;
}
body {
  background: #f1f2f3 url("/images/background_stripes.gif") center 567px no-repeat;
  position: relative;
  color: #333;
  font: 0.75em Georgia, Helvetica, Arial, sans-serif, Times;
}
a, a:active, a:link {
  color: #ed0049;
  outline-color: #999;
}
a:hover {
  text-decoration: none;
}
a img {
  border: none;
}
table,
td {
  border-collapse: collapse;
}
h1,h2,h3,h4, h5 {
  font-family: Georgia, Helvetica, Arial, sans-serif, Times;
  margin: 0;
  padding: 0;
}
h3,h4,h5 {
  font-family: Georgia, Helvetica, Arial, sans-serif, Times;
}
h1 {
  font-size: 1.5em;
  font-weight: normal;
}
h2 {
  font-size: 1.34em;
  font-weight: normal;
}
h3 {
  font-size: 1.17em;
}
.floatedList {
  list-style: none;
  width: 100%;
  overflow: hidden;
}
.floatedList li {
  float: left;
}
.clear {
  clear: both;
  width: 100%;
}
.clearInner {
  width: 100%;
  overflow: hidden;
}
.splash {
  text-align: center;
  color: #333;
  font-size: 1.375em;
  line-height: 1.5;
  padding-top: 20px;
}
.splash b {
  font-weight: bold;
  color: #cc0000;
}
.archives {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-right: 20px;
  text-align: right;
  font-size: 1.25em;
}
.category {
  width: 300px;
}
.category a {
  font-size: 1em;
  line-height: 1.8;
}
.background {
  background: url("/images/background_gradient.gif") left top repeat-x;
}
.wrapper {
  width: 718px;
  margin: 0 auto;
}
/*
#header {
  padding: 10px 0px 10px 0px;
}
*/
#header {
  background: url('/images/logo.png') no-repeat left center; 
  background-size: cover; 
  width: 720px;
  height: auto;
  min-height: 88px;
}
@media (max-width: 768px) {
  #header {
      background-position: left;
      width: 100%;
      height: 70px;
      min-height: 70px;
  }
}
#menu {
  background: url("/images/menu_background.gif") left top repeat-x;
  margin-bottom: 15px;
  background-position: left -123px;
  height: 43px;
  width: 100%;
  display: table;
}
#menu a {
  display: table-cell;
  background: url("/images/menu_background.gif") right top no-repeat;
  font: normal 1.3em Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  width: 20%;
  text-align: center;
  display: table-cell;
  vertical-align: middle;
}
#menu a:hover {
  background: url("/images/menu_background_2.gif") left top repeat-x;
  color: #fff;
}
#content {
  background: #fff;
}
#content .wrapper {
  width: auto;
  margin: 0;
}
#content .text {
  font-size: 1.125em;
  color: #333;
}
#content .heading {
  padding-top: 25px;
  border-bottom: 1px solid #d2d2d2;
}
#content .heading h1 {
  font-size: 2.5em;
  color: #666;
  padding: 0 5px 7px 0px;
}
#content.main .wrapper {
  padding: 0 70px;
}
#content.main .latest_projects {
  padding: 14px 5px 2px 10px;
}
#content.main .latest_projects h2 {
  font-size: 1.5em;
  padding: 0 0 18px 5px;
  color: #ccc;
}
#content.main .latest_projects h3 {
  font-size: 1.2em;
  font-weight: normal;
  padding: 0 0 1px 15px;
}
#content.main .latest_projects h4 {
  font-size: 0.92em;
  font-weight: normal;
  padding: 3px 0 5px 0;
  color: #999;
  font-style: italic;
}
#content.main .latest_projects h4 a {
  color: #999;
}
#content.main .latest_projects .date {
  color: #333;
  font-size: 1.2em;
  padding: 10px 0 7px 0;
}
#content.main .latest_projects p {
  font-size: 0.92em;
}
#content.main .latest_projects .first p {
  font-size: 1em;
}
#content.main .latest_projects ul li {
  width: 33%;
  overflow: hidden;
}
#content.main .latest_projects .preview {
  padding: 0 14px;
}
#content.main .latest_projects .date,
#content.main .latest_projects h3,
#content.main .latest_projects h4,
#content.main .latest_projects p {
  height: 40px;
  padding-left: 15px;
  width: 208px;
}
#content.main .promo {
  font-family: Georgia, Helvetica, Arial, sans-serif, Times;
  font-size: 1.17em;
  padding-top: 19px;
  padding-bottom: 24px;
  position: relative;
}
#content.main .promo {
  font-size: 1em;
  color: #ff0033;
  font-style: italic;
  background: #eaebec;
  border-top: 5px solid #e1e2e3;
  padding: 0;
}
#content.main .mainPromoSlider {
  width: 718px;
  overflow: hidden;
  position: relative;
}
#content.main .mainPromoSliderInner {
  width: 9999px;
  overflow: hidden;
}
#content.main .mainPromo,
#content.main .mainPromo2,
#content.main .mainPromoImage {
  float: left;
}
#content.main .mainPromoImage {
  width: 718px;
  height: 327px;
  position: relative;
  overflow: hidden;
}
#content.main .mainPromoImage h2 {
  position: relative;
  margin-top: -100px;
  height: 100px;
}
#content.main .mainPromoSwitch {
  position: absolute;
  right: 10px;
  top: 0;
  background: url("/images/main_switch.png") left top no-repeat;
  width: 86px;
  height: 31px;
  z-index: 100;
}
#content.main .mainPromoSwitch span {
  display: -moz-inline-box;
  display: inline-block;
  cursor: pointer;
  width: 43px;
  height: 31px;
}
#content.main .mainPromoSwitchFirst {
  background: url("/images/main_switch_first.png") left top no-repeat;
}
#content.main .mainPromoSwitchFirst .l {
  cursor: default;
}
#content.main .mainPromoSwitchLast {
  background: url("/images/main_switch_last.png") left top no-repeat;
}
#content.main .mainPromoSwitchLast .r {
  cursor: default;
}
#content.services .wrapper,
#content.people .wrapper,
#content.about .wrapper,
#content.develop .wrapper,
#content.products .wrapper,
#content.hire .wrapper,
#content.creative .wrapper,
#content.client_description .wrapper,
#content.case_studies .wrapper,
#content.innovation .wrapper,
#content.contacts .wrapper,
#content.portfolio .wrapper {
  padding: 0 28px;
}
#content.client_description .description,
#content.innovation .description,
#content.about .description {
  padding: 20px 15px 0px 15px;
  border-bottom: 2px solid #d2d2d2;
}
#content.client_description .description .left,
#content.innovation .description .left,
#content.about .description .left {
  float: left;
  width: 50%;
  font-size: 1.15em;
}
#content.client_description .description .right,
#content.innovation .description .right,
#content.about .description .right,
#content.about .description .right2 {
  float: right;
  width: 49%;
  text-align: center;
  padding-top: 15px;
}
#content.about .description .single {
  float: left;
  font-size: 1.15em;
}
#content .text p {
  padding: 0 0 18px;
}
.projectsquare {
  color: #333333;
}
.projectright {
  float: left;
  width: 50%;
}
.projectright img {
  border:1px;
  padding-bottom:10px;
}
.projectleft {
  float: left;
  width: 50%;
}
.projectleft img {
  border:1px;
  padding-bottom:10px;
}
.textleft {
  padding:10px 20px 20px 15px;
  float: left;
  width:430px;
  font-size: 1.3em;
  line-height: 1.6;
}
.textright {
  padding-top:10px;
  padding-bottom:20px;
  float:left;
  width:218px;
  font-size: 1.3em;
}
.client_list {
  font-size: 1.2em;
  border-top: 1px solid #d2d2d2;
  padding: 20px 50px 23px 32px;
}
.client_list a {
  color: #666 !important;
}
#content.innovation .description,
#content.about .description {
  border-bottom: 0;
}
#content.innovation .description .text,
#content.about .description .text {
  line-height: 150%;
  font-size: 1.125em;
}
#content.contacts .list {
  padding: 15px 0 25px 0;
  font-size: 1.2em;
  line-height: 1.5;
}
#content.contacts p, #content.contacts address {
  line-height: 134%;
}
#content.contacts p {
  white-space: nowrap;
}
#content.contacts .list ul {
  list-style: none;
  width: 100%;
  overflow: hidden;
}
#content.contacts .list li .inner {
  padding: 0 30px 0 32px;
}
#content.contacts .list li span {
  white-space: nowrap;
}
#content.contacts .list li h2 {
  color: #666;
  font-size: 1.72em;
  padding-bottom: 15px;
  font-family: Georgia, Helvetica, Arial, sans-serif, Times;
}
#content.contacts .list li h2 small {
  font-size: 0.59em;
  color: #666666;
}
#content.contacts .list .phone small {
  color: #666666;
  font-size: 1.125em;
}
#content.contacts .list .email {
  padding-top: 20px;
}
#content.contacts .list li h3 {
  font-size: 1em;
}
#content.contacts .list li address {
  font-style: normal;
}
#content.contacts .list li address small {
  font-size: 0.86em;
  color: #999;
}
#content.contacts .list .map {
  padding: 20px 0 0;
  font-size: 0.86em;
}
#content.contacts .list .map a {
  color: #999;
}
#content.contacts .list .map img {
  margin-top: 5px;
}
#content.contacts .form {
  padding-bottom: 40px;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid #E6E6E6;
}
#content.contacts .form form {
  background: #F3F3F3;
  padding: 20px;
}
#content.contacts .form h2 {
  font-weight: bold;
  font-family: Georgia, Helvetica, Arial, sans-serif, Times;
  font-size: 1.2em;
  padding-bottom: 12px;
  border-bottom: 1px solid #d2d2d2;
}
#content.contacts .grid {
  margin-bottom: 10px;
}
#content.contacts .form label {
  display: block;
  padding: 10px 0 6px 11px;
  font-size: 1.2em;
}
#content.contacts .form .text, #content.contacts textarea {
  width: 95%;
  border: 1px solid #9C9C9C;
  font-size: 1.17em;
  padding: 3px 2px 4px;
}
#content.contacts .form textarea {
  margin-top: 0;
  font-size: 1.17em !important;
  height: 122px;
  font-family: Georgia, Helvetica, Arial, sans-serif, Times;
}
#content.contacts .form .grid_first .text, #content.contacts .grid_first textarea {
  width: 266px;
}
#content.contacts .form p {
  color: #999;
  font-size: 1.125em;
}
#content.contacts .form .button {
  width: 100%;
  padding-top: 22px;
}
#content.contacts .form .button .l, #content.contacts .form .button .r, #content.contacts .form .button input {
  height: 28px;
  background: url("/images/button.gif") left top repeat-x;
}
#content.contacts .form .button .l {
  float: left;
}
#content.contacts .form .button .r {
  background-repeat: no-repeat;
  background-position: right -56px;
  padding: 0 3px;
}
#content.contacts .form .button input {
  background-position: left -28px;
  border: 0;
  font-size: 1em;
  color: #333;
  padding: 0 15px;
  font-family: Georgia, Helvetica, Arial, sans-serif, Times;
  cursor: pointer;
}
.g-recaptcha {
  margin: 10px 0 10px 0;
  padding: 10px 40px;
  overflow: hidden;
  clear: both;
  transform: scale(1);
  transform-origin: 0 0;
  -webkit-transform: scale(1);
  -webkit-transform-origin: 0 0;
}
#content.contacts .form .button *[class="R"] {
  padding: 0 3px;
}
#content.contacts .form .thankyou {
  border: 10px solid #F3F3F3;
  font-size: 1.17em;
  width: 642px;
}
#content.contacts .form .thankyou div {
  background: #F3F3F3 url("/images/mail.gif") 168px 100px no-repeat;
  border: 10px solid #EBEBEB;
  padding: 105px 50px 40px 260px;
  min-height: 111px;
}
* html #content.contacts .form .thankyou div {
  height: 251px;
}
#content.contacts .form .thankyou h4, #content.contacts .form .thankyou p {
  color: #333;
}
#content.about .wrapper {
  padding-bottom: 30px;
}
#content.services .inner {
  font-size: 1.2em;
  line-height: 1.6;
  margin: 0 15px 0px 15px;
}
#content.services .intro {
  padding: 30px 0 26px 0;
  font-size: 1.2em;
  line-height: 1.6;
  font-family: Georgia, Helvetica, Arial, sans-serif, Times;
  color: #333;
  border-bottom: 2px solid #d2d2d2;
}
#content.services .description {
  padding: 25px 0 35px;
  font-family: Georgia, Helvetica, Arial, sans-serif, Times;
  border-top: 1px solid #d2d2d2;
}
#content.services .description h2,
#content.services .description .right {
  width: 40%;
  float: left;
}
#content.services .description .right {
  width: 58%;
}
#content.services .description h2 {
  color: #666;
  font-size: 2em;
  line-height: 90%;
}
#content.services .description p {
  line-height: 1.6;
  font-size: 1.125em;
  padding-top: 4px;
}
#content.services .description ul {
  padding-left: 17px;
}
#content.services .client_list a {
  color: #ed0049 !important;
}
#projects_additional {
  float: left;
  width: 65%;
  padding-top: 30px;
}
#projects_additional div {
  padding-left: 60px;
  font-size: 1.5em;
  color: #333;
  font-family: Georgia, Arial, Helvetica, sans-serif;
}
#projects_additional div small {
  font-size: 0.78em;
  color: #999;
  font-style: italic;
}
#footer .wrapper {
  width: auto;
  margin: 0 24px 0 30px;
  padding: 16px 0 60px 30px;
  border-top: 1px solid #d8d8d8;
  font-size: 1.3em;
}
#footer a {
  color: #666;
  text-decoration: none;
  padding-right: 22px;
}
#footer a:hover {
  text-decoration: underline;
}
#footer .copyright {
  padding-top: 16px;
  color: #999;
}

/* INCREASE THUMBNAIL IMAGES TO FIT DIV */
.preview img {
  height: 101%;
  width: 101%;
}
.preview {
  height: 156px;
  width: 208px;
  overflow: hidden;
}

/* CSS ONLY SLIDER */
.slider_container {
    width: 100%;
    max-width: 718px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.slider_wrapper {
    width: 500%; /* 5 slides at 100% each */
    display: flex;
    animation: slide 30s infinite;
}

.slider_wrapper a {
    width: 20%; /* Each slide takes 20% of the wrapper width */
    flex-shrink: 0;
}

.slider_wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    10% {
        transform: translateX(0);
    }
    20% {
        transform: translateX(-20%);
    }
    30% {
        transform: translateX(-20%);
    }
    40% {
        transform: translateX(-40%);
    }
    50% {
        transform: translateX(-40%);
    }
    60% {
        transform: translateX(-60%);
    }
    70% {
        transform: translateX(-60%);
    }
    80% {
        transform: translateX(-80%);
    }
    90% {
        transform: translateX(-80%);
    }
    100% {
        transform: translateX(0);
    }
}

/* RESPONSIVE STYLES */
@media screen and (max-width: 768px) {
  /* Remove font size overrides to keep desktop sizes */
  body {
    background-position: center 300px;
    /* Keep original font size */
    font-size: 0.75em;
  }

  #content.services .description h2 {
    width: 100%;
    padding-bottom: 15px;
  }

  #content.services .description .right {
    width: 100%;
  }
  
  /* Keep menu font size consistent */
  #menu a {
    padding: 0 5px;
    width: auto;
    flex: 1;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Reset content text sizes */
  #content .text {
    font-size: 1.125em; /* Same as desktop */
  }
  
  #content .heading h1 {
    font-size: 2.5em; /* Same as desktop */
  }
  
  #content.main .latest_projects .date {
    font-size: 1.2em; /* Same as desktop */
  }
  
  /* Reset splash area */
  .splash {
    font-size: 1.375em; /* Same as desktop */
  }
  
  /* Reset services section */
  #content.services .intro,
  #content.services .description p {
    font-size: 1.2em; /* Same as desktop */
  }
  
  /* Reset client list */
  .client_list {
    font-size: 1.125em; /* Same as desktop */
  }
  
  /* Reset about section */
  #content.about .description .text {
    font-size: 1.125em; /* Same as desktop */
  }
  
  /* Reset projects additional info */
  #projects_additional div {
    font-size: 1.5em; /* Same as desktop */
  }
  
  /* Reset headings */
  h1 {
    font-size: 1.5em; /* Same as desktop */
  }
  
  h2 {
    font-size: 1.34em; /* Same as desktop */
  }
  
  h3 {
    font-size: 1.17em; /* Same as desktop */
  }
  
  .wrapper {
    width: 100%;
    max-width: 718px;
    padding: 0 15px;
    box-sizing: border-box;
  }
  
  #header img {
    width: 100%;
    height: auto;
  }
  
  #menu {
    height: 43px;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  #content.main .latest_projects ul li {
    width: 100%;
  }
  
  #content.main .latest_projects .preview {
    width: 100%;
    height: auto;
    max-width: 300px;
    margin: 0 auto;
  }
  
  #content.main .latest_projects .date,
  #content.main .latest_projects h3,
  #content.main .latest_projects h4,
  #content.main .latest_projects p {
    width: 100%;
    height: auto;
    padding-left: 0;
    text-align: center;
  }
  
  .projectleft, .projectright {
    float: none;
    width: 100%;
    display: inline-block;
    vertical-align: top;
  }
  
  .projectleft img, .projectright img {
    width: 100%;
    height: auto;
    max-width: 300px;
    display: block;
    margin: 0 auto;
  }
  
  .textleft, .textright {
    float: none;
    width: 90%;
    padding-right: 0;
    padding-left: 15px;
  }
  
  #content.main .mainPromoSlider,
  #content.main .mainPromoImage {
    width: 100%;
    height: auto;
  }
  
  #content.main .mainPromoImage img {
    width: 100%;
    height: auto;
  }
  
  .slider_wrapper {
    width: 500%; /* Keep this the same */
  }
  
  .slider_wrapper a {
    width: 20%; /* Keep this the same */
  }
  
  #projects_additional {
    width: 100%;
    padding-top: 20px;
  }
  
  #projects_additional div {
    padding-left: 0;
  }
  
  #footer .wrapper {
    padding: 16px 15px 30px;
  }
  
  #footer a {
    display: inline-block;
    padding: 5px 10px;
  }
  
  #content.main {
    height: auto !important;
    position: static !important;
  }
  
  /* General font size adjustments */
  h1 {
    font-size: 1.8em;
  }
  
  h2 {
    font-size: 1.5em;
  }
  
  h3 {
    font-size: 1.3em;
  }
  
  /* Content areas */
  #content .text {
    font-size: 1em;
  }
  
  #content .heading h1 {
    font-size: 2em;
    padding: 0 0 7px 0;
  }
  
  /* Project listings */
  #content.main .latest_projects h3 {
    height: auto;
    margin-bottom: 5px;
  }
  
  #content.main .latest_projects .date {
    font-size: 1.2em;
    height: auto;
    margin-bottom: 15px;
  }

  #content.about .description {
    padding: 20px 0px 0px 0px;
  }
  
  /* Splash area */
  .splash {
    font-size: 1.125em;
    padding: 15px 10px;
  }
  
  /* Services section */
  #content.services .intro,
  #content.services .description p {
    font-size: 1em;
  }
  
  /* Projects additional info */
  #projects_additional div {
    font-size: 1.3em;
  }
}

/* Additional styles for very small screens */
@media screen and (max-width: 480px) {
  /* Remove all font size changes */
  #menu a {
    font-size: 1.125em; /* Same as desktop */
  }
  
  .splash {
    font-size: 1.375em; /* Same as desktop */
  }
  
  #content .heading h1 {
    font-size: 2.5em; /* Same as desktop */
  }
  
  #content.contacts .list li h2 {
    font-size: 1.72em; /* Same as desktop */
  }

}

/* Ensure consistent line heights */
.textleft, 
.textright, 
#content.innovation .description .text,
#content.about .description .text,
#content.services .intro,
#content.services .description p,
#content.services .inner {
  line-height: 1.6;
}

#content.contacts .list {
  line-height: 1.5;
}

.splash {
  line-height: 1.5;
}

.responsive-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media screen and (min-width: 769px) {
    .responsive-img {
        max-width: 300px;
    }
}

@media screen and (max-width: 768px) {
    .responsive-img {
        max-width: 90%;
    }
}

/* Specific iOS Safari fixes */
@supports (-webkit-touch-callout: none) {
  .g-recaptcha {
    padding: 10px 0;
    margin: 10px auto;
    width: 304px;
    height: 78px;
  }
  
  .g-recaptcha > div {
    width: 100% !important;
  }
  
  .g-recaptcha iframe {
    width: 100%;
    height: 78px;
  }
}

/* For smaller screens */
@media screen and (max-width: 480px) {
  .g-recaptcha {
    transform: scale(0.85);
    -webkit-transform: scale(0.85);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
  }
  
  @supports (-webkit-touch-callout: none) {
    .g-recaptcha {
      width: 260px;
    }
  }
}