/* Fonts */
@import url(http://fonts.googleapis.com/css?family=Roboto);
@import url(http://fonts.googleapis.com/css?family=Lato:100,300);

/* Common */
html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 15px;
    line-height: 22px;
    color: #fff;
}
.overlay {
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
section {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
}
.logo {
    display: block;
    margin: 50px auto;
}
a, a:hover, a:focus, a:active {
    color: #fff;
    text-decoration: underline;
}
h1 {
    font-family: 'Lato';
    font-weight: 300;
    font-size: 45px;
    line-height: 54px;
    text-align: center;
    color: #fff;
    margin: -12px 0 20px 0;
}
h2 {
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 20px;
    line-height: 26px;
    text-transform: lowercase;
    text-align: center;
    color: #fff;
    margin: -9px 0 34px 0;
}
.hide {
    display: none;
}
input, button, textarea, .social {
    width: 268px;
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    padding: 11px 15px;
    margin: 0 5px;
    border: #fff 1px solid;
    border-radius: 5px;
    color: #fff;
    outline: none;
    resize: none;
}
button {
    width: auto;
    cursor: pointer;
}
input, button, textarea {
    background: rgba(255, 255, 255, 0.15);
}
button:active {
    background: rgba(255, 255, 255, 0.5);
}

/* Counter styles */
.counter {
    display: block;
    width: 840px;
    height: 140px;
    margin: 40px auto 0 auto;
}
.counter .count {
    position: relative;
    display: block;
    width: 186px;
    height: 140px;
    margin: 0 2px;
    float: left;
    background: url('../img/counter-lines.png') right 0 no-repeat;
}
.counter .count .value {
    display: block;
    width: 100%;
    height: 72px;
    margin-top: 35px;
}
.counter .count .value > span {
    display: block;
    float: left;
    font-family: 'Lato';
    font-weight: 100;
    font-size: 100px;
    line-height: 100px;
    text-align: center;
    color: #fff;
    width: 80px;
    margin-top: -17px;
}
.counter .count .label {
    position: absolute;
    display: block;
    top: 118px;
    left: 69px;
    width: 100px;
    font-family: 'Lato';
    font-weight: 300;
    font-size: 25px;
    line-height: 25px;
    text-transform: lowercase;
    text-align: left;
    color: #fff;
}
.counter .count.days {
    width: 266px;
    background-image: url('../img/counter-lines-wide.png');
}
.counter .count.days .label {
    left: 149px;
}

/* Section links styles */
.links, .links li, .links li a {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
}
.links {
    width: 180px;
    height: 60px;
    margin: 66px auto 0 auto;
    border-bottom: rgba(255, 255, 255, 0.15) 1px solid;
}
.links li {
    width: 60px;
    height: 60px;
    float: left;
}
.links li a, .links li a:hover, .links li a:focus, .links li a:active {
    width: 60px;
    height: 59px;
    font-size: 25px;
    line-height: 60px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    border-bottom: transparent 3px solid;
}
.links li.active a {
    border-bottom-color: #fff;
}

/* Content sections */
.section {
    position: relative;
    margin-top: 49px;
    text-align: center;
}

/* Subscribe section */
#subscribe form {
    margin: 0;
    padding: 0;
}
#subscribe form input, #subscribe form button {
    margin-bottom: 10px;
}
#subscribe .arrow {
    width: 300px;
    height: 85px;
    margin: 6px auto 3px auto;
    padding-top: 30px;
    background: url('../img/arrow.png') 0 0 no-repeat;
}

/* Contacts section */
#contact {
    margin-bottom: 50px;
}
#contact address {
    width: 440px;
    min-height: 70px;
    margin: -4px auto 40px auto;
    font-style: normal;
}
#contact address i[class^="icon"] {
    margin-right: 10px;
}
#contact address .left {
    width: 220px;
    float: left;
    text-align: left;
}
#contact address .right {
    width: 220px;
    float: right;
    text-align: right;
}

/* Social section */
#social {
    margin-bottom: 50px;
}
#social .social-bar {
    margin: -5px 0 45px 0;
}
#social button i[class^="icon"] {
    margin-right: 10px;
}
.social {
    display: inline-block;
    width: 43px;
    height: 43px;
    font-size: 20px;
    line-height: 43px;
    text-decoration: none !important;
    border-color: rgba(255, 255, 255, 0.15);
    padding: 0;
    margin: 5px;
}
.social:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.15);
}
.social:active {
    background: rgba(255, 255, 255, 0.5);
}

/* Contact form overlay + content */
#contact-overlay, #share-overlay {
    display: block;
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: #333;
}
#contact-form {
    display: block;
    display: none;
    position: fixed;
    width: 310px;
    top: 50px;
    left: 50%;
    text-align: center;
    margin-left: -155px;
}
#contact-form input, #contact-form textarea {
    margin-bottom: 20px;
}
#contact-form button {
    display: block;
    margin: -5px auto 0 auto;
}
#share-content .social {
    width: 68px;
    height: 68px;
    font-size: 35px;
    line-height: 68px;
}

/* Share overlay + content */
#share-content {
    display: block;
    display: none;
    position: fixed;
    width: 310px;
    top: 50px;
    left: 50%;
    text-align: center;
    margin-left: -155px;
}

/* Medium resolution devices */
@media all and (max-width: 840px) {
    .counter {
        width: 420px;
        height: 70px;
        margin-top: 20px;
    }
    .counter .count {
        width: 93px;
        height: 70px;
        margin: 0 1px;
        background: transparent;
    }
    .counter .count .value {
        height: 36px;
        margin-top: 18px;
    }
    .counter .count .value > span {
        font-size: 50px;
        line-height: 50px;
        width: 40px;
        margin-top: -9px;
    }
    .counter .count .label {
        top: 59px;
        left: 35px;
        width: 50px;
        font-size: 13px;
        line-height: 13px;
    }
    .counter .count.days {
        width: 133px;
        background: transparent;
    }
    .counter .count.days .label {
        left: 75px;
    }
}

/* Small resolution devices */
@media all and (max-width: 480px) {
    .logo {
        margin-top: 30px;
        margin-bottom: 30px;
    }
    h1 {
        font-size: 34px;
        line-height: 41px;
        margin: -9px 0 16px 0;
    }
    h2 {
        font-size: 15px;
        line-height: 22px;
        margin: -8px 0 17px 0;
    }
    .counter {
        width: 260px;
        height: 49px;
        margin-top: 10px;
    }
    .counter .count {
        width: 56px;
        height: 49px;
        margin: 0 1px;
        background: transparent;
    }
    .counter .count .value {
        height: 25px;
        margin-top: 12px;
    }
    .counter .count .value > span {
        font-size: 35px;
        line-height: 35px;
        width: 28px;
        margin-top: -6px;
    }
    .counter .count .label, .counter .count.days .label {
        top: 41px;
        left: auto;
        right: 5px;
        text-align: right;
        width: 35px;
        font-size: 9px;
        line-height: 9px;
    }
    .counter .count.days {
        width: 84px;
        background: transparent;
    }
    #subscribe form input {
        width: 248px;
    }
    #contact address, #contact address .left, #contact address .right {
        width: 100%;
        float: none;
        text-align: center;
    }
    #contact address .left {
        margin-bottom: 20px;
    }
}