@import url(http://fonts.googleapis.com/css?family=Roboto+Slab);
@import url(http://fonts.googleapis.com/css?family=Roboto);
/*
* Globals
*/

/* Links */

a,
a: focus,
a: hover {
    color: #F80000;
}

a {
  color: #F80000;
  text-decoration: none;
}

/*
* Base structure
*/

html,
body {
    font-family: 'Source Sans', Helvetica, Arial, sans-serif;
    font-weight: 100;
    height: 100%;
    background-color: #FFFFFF;
}

body {
    color: #333;
    text-align: center;
}

h1 {

    font-family: 'Roboto Slab',Georgia, serif;
    font-size: 48px;
}

h2 {
    font-family: 'Roboto Slab',Georgia, serif;
    font-size: 36px;
}

h3 {
    font-size: 30px;
}

h4 {
    font-size: 24px;
    font-weight: 700;
}

h5 {
    font-size: 18px;
    font-weight: 600;
}

h6 {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
}

p {
    margin: 0 0 10px;
    font-size: 14px;
}
.lead {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
}
.small {
    margin-top: 2px;
    margin-bottom: 2px;
    font-size: 12px;
    line-height: 1.4;
}
.home-description a:hover{
   color: #F80000;   
}


/*
* Extra markup and styles
*/

.site-wrapper {
    display: table;
    width: 100%;
    height: 70%;
    min-height: 50px;
    background-color: #333;
}

.site-wrapper h1, p{
    color: #333;
}

.site-wrapper-inner {
    display: table-cell;
    vertical-align: top;
}

.cover-container {
    margin-right: auto;
    margin-left: auto;
}


.navbar-default {
    background-color: #D80000;
    background-color: rgba(216, 0, 0, 1);
    border: none;
    margin-bottom: 10px;
}

.navbar-default .navbar-brand {
    font-size: 20px;
    font-weight: 100;
    color: #FFFFFF; /* IE8 proofing */
    color: rgba(255, 255, 255, 1);
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
    color: #e8e8e8;
}

.navbar-default .navbar-nav > li > a {
  color: #FFFFFF;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #e8e8e8;
  background-color: transparent;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover
.navbar-default .navbar-nav > .active > a:focus {
  color: #FFFFFF;
  background-color: transparent;
}

.navbar-default .navbar-nav > .disabled > a,
.navbar-default .navbar-nav > .disabled > a:hover,
.navbar-default .navbar-nav > .disabled > a:focus {
  color: #FFFFFF;
  background-color: transparent;
}

/*
* Header
*/

.masthead-brand {
    margin-top: 10px;
    margin-bottom: 10px;
}

.masthead-nav > li {
  display: inline-block;
}
.masthead-nav > li + li {
  margin-left: 20px;
}
.masthead-nav > li > a {
  padding-right: 0;
  padding-left: 0;
  font-size: 16px;
  font-weight: bold;
  color: #D80000; /* IE8 proofing */
  color: rgba(216,0,0,.75);
  border-bottom: 2px solid transparent;
}
.masthead-nav > li > a:hover,
.masthead-nav > li > a:focus {
  background-color: transparent;
  border-bottom-color: #a9a9a9;
  border-bottom-color: rgba(255,255,255,.25);
}
.masthead-nav > .active > a,
.masthead-nav > .active > a:hover,
.masthead-nav > .active > a:focus {
  color: #333;
  border-bottom-color: #fff;
}

@media (min-width: 900px) {
    .masthead-brand {
        float: left;
    }
    .masthead-nav {
        float: right;
    }
}

.navbar-toggle {
    background-color: #ffffff;
}

.portfolio {
    margin-bottom: -30px;
    padding-bottom: 100px;
}

.portfolio .col-md-6 {
    padding-left: 0px;
    padding-right: 0px;
    margin-left: 0px;
    margin-right: 0px;
}

.portfolio .col-md-6 h2, p{
    color: #333;
}

.portfolio a{
    color: #d80000;
}

.col-md-6 {
    padding-left: 0px;
    padding-right: 0px;
    margin-left: 0px;
    margin-right: 0px;
}

.portfolio-header {
    padding: 75px 0 2px 0;
    text-align: center;
}

.portfolio-home-header {
    padding: 20px 0 2px 0;
    text-align: center;
}

.footer {
    position: relative;
    background-color: #FFFFFF;
    height: 10%;
}

.footer .container {
    border-top: 1px dotted #ccc;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 5px;
}

.footer p{
    color: #333;
    padding: auto;
}

.footer-social {
    display: inline;
}

.footer-social a{
    color: #D80000;
    padding: 5px 6px 5px 6px;
}

.blog-header {
    padding: 30px 0 20px 0;
}

.container {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.btn-default {
  color: #333;
  background-color: #fff;
  border-color: #ccc;
}
.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
  color: #D80000;
  background-color: #e6e6e6;
  border-color: #adadad;
}
.
/*
* affix and center
*/

@media (min-width: 900px) {
    /*Pull out the header and footer */
    .masthead {
        position: absolute;
        top: 0;
    }
    .mastfoot {
        position: fixed;
        bottom: 0;
    }
    /*Start the vertical centering */
    .site-wrapper-inner {
        vertical-align: middle;
    }
    /* Handle the widths */
    .masthead,
    .mastfoot,
    .cover-container {
        width: 100%; /* Must be percentage or pixels for horizontal alignment */
    }
}

@media (min-width: 900px) {
    .masthead,
    .mastfoot,
    .cover-container {
        width: 85%;
    }
}

/*
* case study
*/

.casestudy {
    padding: 50px 0 2px 0;
    text-align: left;
}

.casestudy-title {
    width: 100%;
    height: 80%;
}

.casestudy-content-dark {
    background-color: #333;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #FFFFFF;
}

.casestudy-content-light {
    background-color: #FFFFFF;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid #ddd;
    position: relative;
}

.casestudy-image{
    display: inline;
    margin: 0 auto;
}

.casestudy-image .col-md-6{
    display: inline;
    margin: 0 auto;
}

.headline {
    background-repeat: no-repeat;
    display: block;
    position: relative;
    color: #333;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 85%;
}

@media (max-width: 480px){
    .headline {
        height: 81%;
    }
    .headline h1 {
        font-size: 30px;
        margin-top: 5px;
        margin-bottom: 5px;
    }
    .headline p {
        font-size: 14px;
    }
    .casestudy-title#guessthatflick{
        top: 40%;
    }
    .casestudy-title#klo{
        width: 100%;
    }
    .casestudy-title#modernmobileui{
        top: 30%;
    }
    .casestudy-teaser#oc {
        margin-bottom: -170px;
    }
    .casestudy-teaser#klo {
        margin-bottom: -170px;
    }
    .casestudy-teaser#klo {
        margin-bottom: -400px;
    }
    #other-logos img{
        width: 100%;
    }
    #links{
        padding-left:36px;
    }
    .home-description {
        display: none;
    }
}


@media (max-width: 568px) and (orientation: landscape){
    .headline {
        height: 67%;
    }
    .headline .headline-logo{
        display: none;
    }
}

.headline .container {
    color: #333333;
    position: relative;
    height: auto;
    top: 50%;
    -webkit-transform: translateY(-30%);
    -moz-transform: translateY(-30%);
}

.casestudy-headline {
    position: relative;
    height: 350px;
}

.casestudy-title {
    display: block;
    position: absolute;
    top: 50%;
    text-align: center;
    width: 100%;
    -webkit-transform: translateY(-30%);
    -moz-transform: translateY(-30%);
}

.casestudy-teaser {
    position: absolute;
    bottom: 0;
    margin-bottom: -125px;
    width: 350px;
    left: 50%;
    -webkit-transform: translateX(-50%);
       -moz-transform: translateX(-50%);
            transform: translateX(-50%);
}

.casestudy-teaser#modernmobileui {
    margin-bottom: -500px;
}


.casestudy-headline .container-fluid {
    color: #ff6666;
    text-align: center;
    position: relative;
}

.casestudy-content-dark h2{
    margin-bottom: 25px;
}

.casestudy-content-dark p{
    color: #FFFFFF;
}

#casestudy-heading-klo h4{
    display: inline-block;
    background-color: #336699;
    width: auto;
    color: #f8f8f8;
    padding: 5px 5px 1px 5px;
}

#casestudy-heading-oc h4{
    display: inline-block;
    background-color: #f16567;
    width: auto;
    color: #f8f8f8;
    padding: 5px 5px 1px 5px;
}

#casestudy-heading-guessthatflick h4{
    display: inline-block;
    background-color: #e9b823;
    width: auto;
    color: #f8f8f8;
    padding: 5px 5px 1px 5px;
}

#casestudy-heading-eat24 h4{
    display: inline-block;
    background-color: #C80814;
    width: auto;
    color: #f8f8f8;
    padding: 5px 5px 1px 5px;
}

#casestudy-heading-modernmobileui h4{
    display: inline-block;
    background-color: #33CC99;
    width: auto;
    color: #f8f8f8;
    padding: 5px 5px 1px 5px;
}

#casestudy-heading-other h1{
    display: inline-block;
    background-color: #D80000;
    font-weight: 700;
    top: 100px;
    width: auto;
    color: #f8f8f8;
    padding: 8px;
}

.casestudy-content-light h2{
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .col-md-3 img {
        margin: 0 auto;
        padding-bottom: 5px;
    }
}

.table .table{
    background-color: #333;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
    padding-left: 0px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: none;
}

ol {
    margin-left: 10px;
    padding-left: 10px;
}

/* About */
.about {
    display: block;
    position: relative;
    color: #333;
    margin: 0 auto -30px;
    padding-bottom: 100px;
    width: 100%;
    height: auto;
}

.about .container {
    color: #333333;
    position: relative;
    top: 60px;
}

.about-description {
    text-align: left;
}

.about-experience {
    margin-top: 10px;
    padding-top: 10px;
    text-align: left;
}
.about-experience h6{
    border-bottom: 1px dotted #cccccc;
}


/* Carousel */
.carousel-control.left {
  background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .05) 0%, rgba(0, 0, 0, .0001) 100%);
  background-image:      -o-linear-gradient(left, rgba(0, 0, 0, .05) 0%, rgba(0, 0, 0, .0001) 100%);
  background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .05)), to(rgba(0, 0, 0, .0001)));
  background-image:         linear-gradient(to right, rgba(0, 0, 0, .05) 0%, rgba(0, 0, 0, .0001) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
  background-repeat: repeat-x;
}
.carousel-control.right {
  right: 0;
  left: auto;
  background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .05) 100%);
  background-image:      -o-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .05) 100%);
  background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .0001)), to(rgba(0, 0, 0, .05)));
  background-image:         linear-gradient(to right, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .05) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
  background-repeat: repeat-x;
}

.carousel-control .icon-prev,
.carousel-control .glyphicon-chevron-left {
  left: 50%;
  margin-left: -10px;
  color: #F80000;
}
.carousel-control .icon-next,
.carousel-control .glyphicon-chevron-right {
  right: 50%;
  margin-right: -10px;
  color: #F80000;
}

/* scroll to top */
.scroll-top-wrapper {
    position: fixed;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    text-align: center;
    z-index: 99999999;
    background-color: #C80814;
    color: #eeeeee;
    width: 50px;
    height: 48px;
    line-height: 48px;
    right: 30px;
    bottom: 30px;
    padding-top: 2px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
.scroll-top-wrapper:hover {
    background-color: #F80000;
}
.scroll-top-wrapper.show {
    visibility:visible;
    cursor:pointer;
    opacity: 1.0;
}
.scroll-top-wrapper i.fa {
    line-height: inherit;
}

.col-md-6 {
    padding-left: 0px;
    padding-right: 0px;
}
