body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #666;
    background-color: #fff;
    min-width: 390px;
}

h1, h2, h3, h4, h5, h6 {color: #333;}
h2 {font-size: 30px; margin-bottom: 20px;}
h3 {font-size: 18px;}
header{
    background-color: #71b7e5;
    color: #fff;
    height: 600px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: top right;
    background-image: url(../img/header.jpg);
    position: relative;
    overflow: hidden;
    background-size: contain;
    transition: height 700ms;
}

.extra-height{
    margin-top: 67px;
}
.main-nav{
    padding: 0 !important;
    height: 67px;
    background-color: #3f4d73;
    background-image: -webkit-gradient(linear, left top, right top, color-stop(0%, #3f4d73), color-stop(100%, #334d57));
    background-image: -webkit-linear-gradient(left, #3f4d73 0%, #334d57 100%);
    background-image: -moz-linear-gradient(left, #3f4d73 0%, #334d57 100%);
    background-image: -ms-linear-gradient(left, #3f4d73 0%, #334d57 100%);
    background-image: -o-linear-gradient(left, #3f4d73 0%, #334d57 100%);
    background-image: linear-gradient(left, #3f4d73 0%, #334d57 100%);
}
.navbar-collapse{padding: 0 !important;}

.main-nav .nav a, .main-nav .nav a:active{
    line-height: 65px;
    padding: 0 20px;
    color: #fff;
    border-bottom: solid 2px transparent;
    transition: 150ms;
}
.main-nav .nav a:hover{
    color: #fff;
    border-bottom: solid 2px #d26e34;
    background: none;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.76);
}
.menu-icon{ background:url("../img/menu-icons.png") top left no-repeat; display: inline-block;
    vertical-align: middle; margin-right: 5px;}
.m1{ width:32px; height:32px; background-position:-10px -10px; }
.m2{ width:32px; height:32px; background-position:-10px -52px; }
.m3{ width:32px; height:32px; background-position:-10px -94px; }
.m4{ width:32px; height:32px; background-position:-10px -136px; }

.box1{
    color: #fff;
    background-color: #536797;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #536797), color-stop(100%, #425279));
    background-image: -webkit-linear-gradient(top, #536797 0%, #425279 100%);
    background-image: -moz-linear-gradient(top, #536797 0%, #425279 100%);
    background-image: -ms-linear-gradient(top, #536797 0%, #425279 100%);
    background-image: -o-linear-gradient(top, #536797 0%, #425279 100%);
    background-image: linear-gradient(top, #536797 0%, #425279 100%);
}
.box1gradient{
    color: #fff;
    background-image: -webkit-linear-gradient(left, rgba(83, 103, 151, 0) 40%, rgba(51, 175, 0, 0.13) 100%);
    background-image: -moz-linear-gradient(left, rgba(83, 103, 151, 0) 40%, rgba(51, 175, 0, 0.13) 100%);
    background-image: -ms-linear-gradient(left, rgba(83, 103, 151, 0) 40%, rgba(51, 175, 0, 0.13) 100%);
    background-image: -o-linear-gradient(left, rgba(83, 103, 151, 0) 40%, rgba(51, 175, 0, 0.13) 100%);
    background-image: linear-gradient(left, rgba(83, 103, 151, 0) 40%, rgba(51, 175, 0, 0.13) 100%);
    padding: 50px 0;
}

.box1 .r4m-api-icon{
    float:left;
}

.box1 a, .box1 a:active, .box1 a:focus{
    color: #fff;
    display: block;
    padding: 30px 30px 30px 30px;
    margin-bottom: 20px;
    height: 170px;
    transition: 300ms;
    text-decoration: none;
}
.box1 a:hover{
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 7px;
}
.box1 a span{display: block;}
.box1 a .title{font-size: 40px; line-height: 45px; margin-bottom: 10px;}
.box1 a .description{}


@media (max-width: 480px){
    .box1 a, .box1 a:active, .box1 a:focus{
        height: auto;
    }
    .box1 .r4m-api-icon{
        float: none;
    }
}


.box{
    padding: 50px 0 70px;
    font-size: 14px;
}
.box h1{
    margin-bottom: 20px;
    font-size: 50px;
}
.box.grey, .box.blue h1{
    color: #333;
    background-color: #e0edf5;
}
.box.blue, .box.blue h1{
    color: #fff;
    background-color: #43537a;
}

.pic{ background:url("../img/pic.png") top left no-repeat; }
.technology{ width:327px; height:243px; background-position:-10px -10px; }
.bigdata{ width:327px; height:243px; background-position:-10px -263px; }
.labs{ width:327px; height:243px; background-position:-10px -516px; }
.sdk{ width:327px; height:243px; background-position:-10px -769px; }
.soa{ width:327px; height:243px; background-position:-10px -1022px; }
.zerolatency{ width:327px; height:243px; background-position:-10px -1275px; }
.allplatforms{ width:327px; height:243px; background-position:-10px -1528px; }
.deploy{ width:327px; height:243px; background-position:-10px -1781px; }
.scaleable{ width:327px; height:243px; background-position:-10px -2034px; }



header .mainTitle{
    margin-top: 20px;
    padding-top: 100px;
    /*transition: 350ms;*/
}

header .mainTitle h1{
    font-size: 70px;
    color:#fff;
    font-weight: bold;
    text-shadow: 0 0 15px rgba(61, 77, 115, 0.3);
    transition: 350ms;
}
header .mainTitle h2{
    color:  #fff;
    margin-left: 5px;
    margin-top: -5px;
    transition: 350ms;
}




.sdk-links a{
    background: url("../img/langs-color.gif") no-repeat -15px -300px;
    line-height: 50px;
    display: block;
    padding-left: 50px;
    text-decoration: none;
    font-size: 17px;
    color: #555;

}

.sdk-links a:hover{
    text-decoration: underline;
    color: #000;
}

#footer{
    padding: 20px 0;
    height: 120px;
    background-color: #fff;
}

#footer a{
    padding-right: 20px;
}

@media (max-width: 1200px){
    header{
        height: 300px;
    }

    header .mainTitle{
        padding-top: 15px;
    }
    header .mainTitle h1{
        font-size: 45px;
    }
    header .mainTitle h2{
        font-size: 25px;
        margin-left: 0px;
    }
}

@media (max-width: 768px){
    .navbar-header{
        padding-left: 30px;
        height: 67px;
    }
    header .mainTitle{
        margin-left: 30px;
    }
    .navbar-nav{
        margin: 0;
    }

    .navbar-toggle {
        margin-top: 15px;
        background: rgba(255, 255, 255, 0.2);
    }
    .navbar-toggle span {
        background: #fff;
    }

    .navbar-collapse{
        background: #3b5c86;
        border: none;
        margin-top: -2px;
        -webkit-box-shadow: none;
        box-shadow: none;
        position: relative;
        z-index: 1000;
    }

    .navbar-collapse li a{
        margin: 0 50px;
    }
}

@media (max-width: 600px) {
    header {
        /*background-position-x: 75% !important;*/
        background-image: none;
        height: 230px;
    }

    header .mainTitle {
        padding-top: 0px;
    }
}
#warning{
    position: fixed;
    z-index: 10;
    background: #fff;
    width: 100%;
    text-align: center;
    padding: 12px 24px;
    background-color: #FFC63C;
    color: #333;
    font-size: 14px;
    top: 0;
}
#warning span{
    display: inline-block;
}
.navbar-fixed-top{
    top: 48px;
}
body:has(#warning){
    padding-top: 48px;
}
@media (max-width: 960px){
    #warning span{
        max-width: 590px;
    }
    .navbar-fixed-top{
        top: 72px;
    }
    body:has(#warning){
        padding-top: 72px;
    }
}
@media (max-width: 626px){
    #warning span{
        max-width: 420px;
    }
    .navbar-fixed-top{
        top: 96px;
    }
    body:has(#warning){
        padding-top: 96px;
    }
}


/*@media (max-width: 575px){*/
    /*.box1 a, .box1 a:active{*/
        /*height: auto;*/
    /*}*/
    /*.box1 a .box-icon{height: 70px; width: 60px; background-size: 150%;}*/
    /*.b1{ background-position:-14px -444px; }*/
    /*.b2{ background-position:-14px -361px; }*/
    /*.b3{ background-position:-15px -274px; }*/
    /*.b4{ background-position:-14px -94px; }*/
    /*.b5{ background-position:-14px -188px; }*/
    /*.b6{ background-position:-14px -3px; }*/
/*}*/
