@-moz-document url-prefix() {
    h3 {
        margin: 0;
    }
}

body {
    background-position: 50% 30%;
    background-repeat: no-repeat;
    background-color: #333;
    background-attachment: fixed;
    margin: 0;
    overflow: hidden;
}

h1 {
    font-family: 'Open Sans', sans-serif;
    margin-top: 50px;
}

h2 {
    font-family: 'Open Sans Condensed', sans-serif;
}

h3 {
    font-family: 'Open Sans',serif;
    font-size: 16px;
}

p {
    font-family: 'Exo 2', sans-serif;
    font-size: 18px;
    margin: 20px 10px 10px;
    line-height: 150%;
}

p:first-letter{ 
    font-size: 200%;
}

a img {
    border: 0;
}

.center {
    text-align: center;
}

#top-bar-box {
    background-color: rgba(255, 255, 255, 0.5);
    color: #b20000;
    margin: 0 auto 20px auto;
    text-align: center;
    width: 100%;
}

#top-bar {
    height: 120px;
    margin: 0 auto;
    max-width: 960px;
}

#logo {
    float: left;
    margin: 10px;
}

#logo a img {
    height: 100px;
    image-rendering:optimizeQuality;
}

#social-networks {
    float: right;
    position: relative;
    top: -9px;
}

#social-networks > div {
    float: right;
    height: 48px;
    width: 48px;
    background-image: url("../img/sprite-social.png");
    background-repeat: no-repeat;
    margin-right: 10px;
    cursor: pointer;
    transition: 0.3s;
}

#social-networks p {
    font-weight: bold;
    text-align: right;
    line-height: 150%;
    font-family: 'Open Sans', sans-serif;
    font-size: small;
}

#social-networks p:first-letter{ 
    font-size: 100%;
}

#social-networks > div:hover {
    opacity: 0.8;
    -webkit-transform: rotate(-15deg);
    -moz-transform: rotate(-15deg);
    -o-transform: rotate(-15deg);
}

#facebook {
    background-position: 0px top;
}

#twitter {
    background-position: -50px top;
}

#content-box {
    overflow-y: auto;
    padding: 0 20px;
}

#content {
    background-color: rgba(255, 255, 255, 0.8);
    margin: 0 auto 20px;
    max-width: 940px;
    padding: 10px;
    border-radius: 10px;
}

#lang-box {
    float: right;
    position: relative;
    right: 7px;
    font-family: Segoe UI;
    font-weight: bold;
}

#lang-box > a {
    text-decoration: none;
    color: #b20000;
}

#lang-box > a:hover {
    text-decoration: underline;
}

#map-box {
    margin: 0 auto;
    width: 709px;
}

#sponsors, #partners {
    float: left;
    max-width: 45%;
    padding: 20px;
}

#projects > div, #clients > div {
    float: left;
    margin: 0 24px;
    text-align: center;
    width: 265px;
    height: 210px;
}

#projects>div>div, #clients>div>div {
    height: 120px;
    width: 212px;
    margin: 0 auto;
}

.img-box {
    border-radius: 85px;
    max-height: 150px;
    padding: 10px 0;
    background-color: rgba(255,255,255,0.6);
    overflow: hidden;
    position: relative;
}

.img-box img{
    border-radius: 40px;
    vertical-align: middle;
}

#projects .img-box img{
    transition: 0.3s;
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */
    filter: gray; /* IE5+ */
    -webkit-filter: grayscale(0.3); /* Webkit */
}

#projects .img-box img:hover{
    filter: none;
    -webkit-filter: grayscale(0);
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
}

.helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.icon {
    background-image: url("../img/sprite-icons.png");
    height: 54px;
    width: 54px;
    float: right;
}

.chart {
    background-position: -378px top;
}

.idea {
    background-position: -270px top;
}

.note {
    font-size: 90%;
    text-align: right;
}

.note:first-letter{ 
    font-size: 90%;
}

.in2apps {
    font-family: Segoe UI,Arial,sans-serif;
    font-weight: bold;
}

.in2apps:first-letter{ 
    font-size: 100%;
}

.two {
    color: #b20000;
}

#rocket-box {
    margin: 0 auto;
    width: 709px;
}

#rocket-box img{
    border-radius: 30px;
}

#work-box {
    margin: 0 auto;
    width: 709px;
}

/*** TIPSY ***/

.tipsy {position: absolute; padding: 5px; z-index: 100000; font-family: 'Segoe UI', sans-serif; font-size: small;}
.tipsy-inner { background-color: #fff; color: #b20000; max-width: 200px; padding: 5px 8px 7px 8px; text-align: center; font-weight:bold; border: 2px solid #b20000}

/* Rounded corners */
.tipsy-inner { border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; }

/* Uncomment for shadow */
/*.tipsy-inner { box-shadow: 0 0 5px #000000; -webkit-box-shadow: 0 0 5px #000000; -moz-box-shadow: 0 0 5px #000000; }*/

.tipsy-arrow { position: absolute; width: 0; height: 0; line-height: 0; border: 5px dashed #000; }

/* Rules to colour arrows */
.tipsy-arrow-n { border-bottom-color: #b20000; }
.tipsy-arrow-s { border-top-color: #b20000; }
.tipsy-arrow-e { border-left-color: #b20000; }
.tipsy-arrow-w { border-right-color: #b20000; }

.tipsy-n .tipsy-arrow { top: 0px; left: 50%; margin-left: -5px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent; }
.tipsy-nw .tipsy-arrow { top: 0; left: 10px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent;}
.tipsy-ne .tipsy-arrow { top: 0; right: 10px; border-bottom-style: solid; border-top: none;  border-left-color: transparent; border-right-color: transparent;}
.tipsy-s .tipsy-arrow { bottom: 0; left: 50%; margin-left: -5px; border-top-style: solid; border-bottom: none;  border-left-color: transparent; border-right-color: transparent; }
.tipsy-sw .tipsy-arrow { bottom: 0; left: 10px; border-top-style: solid; border-bottom: none;  border-left-color: transparent; border-right-color: transparent; }
.tipsy-se .tipsy-arrow { bottom: 0; right: 10px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; }
.tipsy-e .tipsy-arrow { right: 0; top: 50%; margin-top: -5px; border-left-style: solid; border-right: none; border-top-color: transparent; border-bottom-color: transparent; }
.tipsy-w .tipsy-arrow { left: 0; top: 50%; margin-top: -5px; border-right-style: solid; border-left: none; border-top-color: transparent; border-bottom-color: transparent; }

/* Paleta de Colores
Logo: #b20000 y #000
Los iconos manejan un circulo de color #b20000 de 52px por 52px y encima cualquiera de los Cosmo Mini centrado - mas o menos en posicion 9x9 y con lightness al 100% (En Hue/Saturation). Ir agregando iconos al sprite a medida que los vaya necesitando.
*/