/*** All contents ***/
html, body {
    font-family: 'Capriola', sans-serif;        
    text-align: center; 
    font-size: 16px;
    margin: 0;
}
img {
    border: 0;
}
p {
    line-height: 1.8em;
    margin: 0;
    padding: 10px 0;
}
a {
  color: #aaa;
}
a:hover {
    text-decoration: none;
}
.grey {
    color: #888;
}
.clear {
    clear: both;
    width: 1px;
    height: 1px;
}
/***** BOX 1 - home page *****/
.box {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 15;
    color: #aaa;
    background: #fff;
    overflow: hidden;
}
/* header */
.box header {
    padding-top: 25px;
    height: 95px;
    position: absolute;
    z-index: 12;
    top: 0;
    left: 0;
    width: 100%;
}
.box .logo {
    float: left;
    margin-left: 40px;
}
.box header nav {
    float: right;
    padding-right: 20px;
    padding-top: 2px;
}
.box header nav a {
    font-size: 14px;
    line-height: 45px;
    text-decoration: none;
    display: block;
    float: right;
    padding: 0 25px;
    color: #fff;
}
.box header nav a:hover {
    border-bottom: 2px solid #14a6b6;
    padding: 0;
    margin: 0 25px;
}
.box header nav a.hover, .box header nav a.hover:hover {
    color: #14a6b6;
    background: #fff;
    border: 0;    
    margin: 0;
    padding: 0 25px;
}
/* content */
.content {
    position: relative;
    z-index: 10;
    font-size: 1em;
}
.img-title, .img-subpage {
    width: 100%;
    min-height: 450px;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}
.img-title img, .img-subpage img {
  min-height: 100%;
  min-width: 840px;
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
}
#box1 h1, #subpage h1 {
    margin: auto;
    color: #fff;
    font-size: 48px;
    position: absolute;
    top: 65%;
    left: 0;
    right: 0;
    margin-top: -28px;
}
#box1 .content {
    width: 780px;
    margin: auto;
    padding-top: 20%;
}
#box1 h2, #subpage h2, #box2 h2, #box3 h2, #box4 h2 {
    margin: 0;
    padding: 25px 0;
    font-size: 38px;
    color: #14a6b6;
}
.box a.arrow {
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    width: 180px;
    background: url('../images/img-arrow-black.png') no-repeat center top;
    padding-top: 28px;
    color: #bbb;
    font-size: 10px;
    display: block;
    text-decoration: none;
}
.box a.arrow:hover {
    color: #888;
    padding-top: 30px;
}
/***** BOX 2 *****/
#box2 .content, #box3 .content, #box4 .content {
    width: 960px;
    margin: auto;
    margin-top: -60px;
}
#box2 h3, #box3 h3, #box4 h3 {
    margin: auto;
    padding: 0 0 20px 0;
    line-height: 150px;
    font-size: 18px;
    color: #2f190b;
    background: url('../images/img-one.png') no-repeat center center;
    display: block;
    width: 320px;
    text-align: center;
}
#code, #camera {
    clear: both;
}
#code {
    text-align: left;
}
#camera {
    text-align: right;
}
#code p {
    padding-top: 25px;
}
#camera p {
    padding-top: 105px;
}
#code img {
    float: left;
    padding: 0 30px 0 0;
}
#camera img {
    float: right;
    padding: 0 0 0 30px;
}
#piranha1 {
    position: absolute;
    top: 80px;
    right: 0;
    background: url('../images/img-piranha1.png') no-repeat top left;
    height: 884px;
    width: 403px;
    z-index: 3;
}
.image-small {
    display: none;    
}
#box2 header nav a {
    color: #3e2312;   
}
.box a.arrow-small {
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    width: 18px;
    height: 11px;
    padding: 3px 5px;
    background: url('../images/img-arrow-white.png') no-repeat center center;
    display: block;
    text-decoration: none;
    z-index: 9;
}
#box2 a.arrow-small {
    background-image: url('../images/img-arrow-black.png');
}
.box a.arrow-circle:hover {
    padding-top: 2px;
}
/***** BOX 3 & BOX 4 *****/
#box3 .content, #box4 .content {
    width: 900px;
    text-align: left;
}
#box3 h3, #box4 h3 {
    color: #fff;
    background-image: url('../images/img-two.png');
    margin-bottom: 30px;
}
#box3 h2, #box4 h2 {
    padding-top: 5px;
}
#box3, #box4 {
    color: #fff;
    background: #3e2312;
}
#box3 header nav a, #box4 header nav a {
    color: #fff;   
}
.mac {
    float: left;
    margin-right: 50px;
    position: relative;
}
.mac a {
    display: block;
    position: absolute;
    top: 28px;
    left: 72px;
    width: 398px;
    height: 124px;
    padding-top: 100px;
    text-align: center;
    text-decoration: none;
    font-size: 0;
    color: #fff;
}
.mac a:hover {
    background-color: rgba(11,163,179,0.6);
    font-size: 24px;
}
#piranha2 {
    position: absolute;
    bottom: 0;
    right: 0;
    background: url('../images/img-piranha2.png') no-repeat top left;
    height: 388px;
    width: 617px;
    z-index: 3;
}
#box4 .content {
    width: 940px;
}
#box4 h3 {
    background-image: url('../images/img-three.png');
}
#piranha3 {
    position: absolute;
    bottom: 0;
    right: 50%;
    margin-right: -630px;
    background: url('../images/img-piranha3.png') no-repeat top left;
    height: 250px;
    width: 1267px;
    z-index: 3;
}
/***** BOX 5 *****/
#box5 {
    background: #14a6b6;
    color: #fff;
}
#box5 .content {
    width: 960px;
    margin: auto;
}
#box5 header nav a {
    color: #fff;
}
#box5 header nav a:hover {
    border-bottom: 2px solid #fff;
}
#box5 h2 {
    margin: 0;
    padding: 10px 0 30px;
    font-size: 2.4em;
    color: #fff;
}
#box5 h3 {
    margin: auto;
    padding: 16px 0;
    font-size: 22px;
    color: #3e2312;
    line-height: 1.4em;
}
#box5 h3 .num {
    color: rgba(255,255,255,0.6);
    font-size: 1.2em;
}
#box5 .content article {
    float: left;
    width: 170px;
    padding-left: 27px;
}
#box5 .content .first-gain {
    padding: 0;   
}
#box5 a.arrow {
    background: url('../images/img-arrow-white2.png') no-repeat center top;
    padding-top: 28px;
    color: RGBA(255, 255, 255, 0.6);
}
#box5 a.arrow:hover {
    color: RGBA(255, 255, 255, 0.8);
    padding-top: 30px;
}
#piranha4 {
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -320px;
    background: url('../images/img-piranha4.png') no-repeat top right;
    height: 734px;
    width: 233px;
    z-index: 3;
}
#piranha5 {
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -325px;
    background: url('../images/img-piranha5.png') no-repeat top left;
    height: 747px;
    width: 174px;
    z-index: 3;
}
/* WHO WE ARE */
#subpage {
    height: auto;
    overflow: auto;
    padding-bottom: 20px;
}
.img-subpage {
    position: relative;
}
#subpage article {
    width: 960px;
    margin: auto;
    padding-top: 20px;
}
dl {
    text-align: left;
    width: 640px;
    margin: auto;
}
#subpage dt {
    font-size: 1.5em;
    padding: 15px 0;
    color: #14a6b6;
}
/* RESPONSIVE */
@media screen and (max-width: 1660px) {
    html, body {
        font-size: 14px;
    }
    #box1 h1, #subpage h1 {
        font-size: 42px;
    }
    #box1 h2, #subpage h2, #box2 h2, #box3 h2, #box4 h2 {
        font-size: 35px;
    }
}
@media screen and (max-width: 900px) {
    #box3 .content {
        width: 96%;
    }
    #box3 h2 {
        font-size: 28px;
        padding-bottom: 10px;
    }
}
@media screen and (max-height: 950px) {
    #piranha2 {
        height: 350px;
    }
}
@media screen and (max-height: 800px) {
    .image {
        display: none;    
    }
    .image-small {
        display: block;    
    }
    #code p {
        padding-top: 10px;
    }
    #camera p {
        padding-top: 55px;
    }
    #box2 .content {
        width: 900px;
    }
    #piranha1 {
        top: 0;
        width: 340px;
    }
    #piranha2 {
        height: 280px;
    }
    #box2 h3, #box3 h3, #box4 h3 {
        line-height: 70px;
        padding: 0;
        font-size: 14px;
        background-size: 36px 69px;
    }
    #box3 h3 {
        line-height: 76px;
        padding: 0;
        font-size: 14px;
        background-size: 64px 76px;
    }
    #box4 h3 {
        line-height: 86px;
        padding: 0;
        font-size: 14px;
        background-size: 69px 86px;
    }
    #box2 .content, #box3 .content, #box4 .content {
        margin: auto;
    }
    .img-title, .img-subpage {
        min-height: 300px;
    }
}
@media screen and (max-height: 700px) {
    #box1 h1 {
        font-size: 36px;
    }
    #box1 h2 { 
        font-size: 28px;
        padding: 18px 0;
    }
    #box1 .content {
        padding-top: 16%;    
    }
    .img-title, .img-subpage {
        min-height: 290px;
    }
    #piranha2 {
        height: 250px;
    }
    #box5 h2 {
        font-size: 34px;
        padding: 0 0 30px;
    }
    #box5 .content {
        width: 1040px;  
        font-size: 0.9em;
        line-height: 1.5em;
    }
    #box5 .content article {
        width: 180px;
        padding-left: 35px;
    }
    #piranha4 {
        width: 160px;
    }
    #piranha5 {
        width: 140px;  
        margin-top: -270px;
    }
}
@media screen and (max-width: 1040px) {
    #box5 h2 {
        font-size: 34px;
        padding: 0 0 30px;
    }
    #box5 h3 {
        font-size: 20px;
    }
    #box5 .content {
        width: 970px;  
        font-size: 0.9em;
        line-height: 1.5em;
    }
    #box5 .content article {
        width: 170px;
        padding: 0 14px;
    }
    #piranha4 {
        width: 0;
    }
    #piranha5 {
        width: 0;
    }
}
@media screen and (max-width: 950px) {
    #box2 .content, #box4 .content {
        width: 96%;
    }
    #box2 h2, #box4 h2, #box5 h2 {
        font-size: 28px;
        padding-bottom: 10px;
    }
    .mac {
        margin-right: 25px;
    }
    .img-title, .img-subpage {
        min-height: 250px;    
    }
    #subpage article {
        width: 96%;
    }
    #box5 .content {
        width: 600px;
        padding: 120px 0 30px 0;
    }
    #box5 a.arrow {
        position: relative;
    }
}
@media screen and (max-width: 800px) {
    #box1 .content {
        width: 660px;
    }
    .img-title, .img-subpage {
        min-height: 200px;    
    }
}
@media screen and (max-width: 760px) {
    #mac1, #mac2 {
        width: 329px;
        height: 240px;
    }
    #mac2 {
        height: 244px;    
    }
    .mac a {
        top: 18px;
        left: 48px;
        width: 265px;
        height: 85px;
        padding-top: 65px;
    }
}
@media screen and (max-width: 720px) {
    #box1 .content {
        width: 98%;
    }
    #box2 .content {
        font-size: 0.9em;    
    }
    #code p {
        padding-top: 5px;
    }
    #camera p {
        padding-top: 55px;
    }
    #box2 h3, #box3 h3, #box4 h3 {
        font-size: 12px;
    }
}
@media screen and (max-width: 580px) {
    .content {
        font-size: 0.9em;    
    }
    #mac1, #mac2 {
        width: 247px;
        height: 180px;
    }
    #mac2 {
        height: 183px;    
    }
    .mac a {
        top: 14px;
        left: 36px;
        width: 199px;
        height: 70px;
        padding-top: 42px;
    }
    .image {
        display: block;    
    }
    .image-small {
        display: none;    
    }
    #camera p {
        padding-top: 25px;
    }
    #code img {
        padding: 0 15px 0 0;
        width: 249px;
        height: 136px;
    }
    #camera img {
        padding: 0 0 0 15px;
        width: 248px;
        height: 135px;
    }
    #box2 h3, #box3 h3, #box4 h3 {
        display: none;    
    }
    #box1 h1, #subpage h1 {
        font-size: 30px;
        top: 75%;
    }
    #box1 h2, #box2 h2, #box3 h2, #box4 h2, #box5 h2 {
        font-size: 22px;
    }
    #box5 .content {
        width: 400px;
    }
    dl {
        width: auto;     
    }
}
@media screen and (max-width: 500px) {
    .image {
        display: none;    
    }
    .image-small {
        display: block;    
    }
    #code img {
        width: 150px;
        height: 82px;
    }
    #camera img {
        width: 150px;
        height: 82px;
    }
    #box2 .content {
        font-size: 0.8em;
    }
    #camera p {
        padding-top: 10px;
    }
    #camera p, #code p {
        line-height: 1.6em;
    }
}
@media screen and (max-width: 450px) {
    .content {
        font-size: 0.8em;
    }
    .content p {
        line-height: 1.6em;
    }
    .box header {
        padding-top: 15px;
        height: 50px;
    }
    .box .logo {
        margin-left: 20px;
        width: 70px;
        height: 61px;
    }
    .box header nav {
        float: right;
        padding-right: 10px;
        padding-top: 2px;
    }
    .box header nav a {
        font-size: 13px;
        line-height: 40px;
        padding: 0 15px;
    }
    .box header nav a:hover {
        border-bottom: 2px solid #14a6b6;
        padding: 0;
        margin: 0 15px;
    }
    .box header nav a.hover, .box header nav a.hover:hover {
        border: 0;    
        padding: 0 15px;
    }
    #box1 h1, #subpage h1 {
        font-size: 20px;
        top: 85%;
    }
    #box1 h2, #box2 h2, #box3 h2, #box4 h2, #box5 h2 {
        font-size: 17px;
    }
    #box1 h2 {
        padding: 10px 0;    
    }
    .img-title, .img-subpage {
        min-height: 150px;    
    }
    #box1 .content {
        padding-top: 30%;
    }
    #camera p, #code p {
        line-height: 1.4em;
    }
    #mac1, #mac2 {
        width: 165px;
        height: 120px;
    }
    #mac2 {
        height: 122px;    
    }
    .mac a {
        top: 9px;
        left: 24px;
        width: 133px;
        height: 52px;
        padding-top: 23px;
    }
}
@media screen and (max-width: 360px) {
    #box3 p, #box4 p {
        float: left;
        width: 100%;
    }
    #box3 h2, #box4 h2 {
        clear: auto;
        width: auto;
    }
    .mac {
        margin-right: 10px;
    }
    #box5 .content {
        width: 320px;
        padding-top: 100px;
        font-size: 0.8em;
    }
    #box5 .content article, #box5 .content .first-gain {
        width: 140px;
        padding: 0 10px;
    }
    #box5 h3 {
        font-size: 16px;   
    }
}
@media screen and (max-height: 650px) and (max-width: 960px) {
    #box1 .content {
        padding-top: 20%;
    }
}
@media screen and (max-height: 650px) and (max-width: 600px) {
    #box1 .content {
        padding-top: 30%;
    }
}
@media screen and (max-height: 650px) and (max-width: 400px) {
    #box1 .content {
        padding-top: 40%;
    }
}
@media screen and (max-height: 420px) and (max-width: 400px) {
    #box1 .content {
        padding-top: 28%;
    }
}
@media screen and (max-height: 380px) {
    #box3 .content, #box4 .content {
        margin-top: 50px;
    }
    #box2 .content {
        margin-top: 20px;
    }
    .text-hide {
        display: none;    
    }
    #box1 .content {
        padding-top: 28%;
    }
}