body {
    background: #f6f6f6;
}

main .portal-page {
    text-align: center;
    padding: 20px 0 140px 0;
}

main .portal-page div {
    margin: 0.4em auto 0 auto;
    width: 60%;
}

main .portal-page h3 {
    font-size: 1.2em;
    font-weight: 200;
    line-height: 1.3em;
    letter-spacing: 0.02em;
}

main .portal-page form {
    margin: 2em auto;
}

main .portal-page form p {
    margin: 0;
    padding: 0;
    display: inline-block;
    width: 85%;
}

main .portal-page form .google-logo {
    vertical-align: top;
    width: 103px;
    display: inline-block;
}

main .portal-page form input[type=text] {
    font-size: 1em;
    border: 1px solid #b3b3b3;
    border-radius: 4px;
    -moz-border-radius: 4px;
    padding: 5px;
    margin: 0 1%;
    height: 30px;
    box-shadow: inset 0 1px 3px #dbdbdb;
    -moz-box-shadow: inset 0 1px 3px #dbdbdb;
    -webkit-box-shadow: inset 0 1px 3px #dbdbdb;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 86%;
    vertical-align: top;
}

main .portal-page form button {
    height: 30px;
    color: #fff;
    font-size: 1em;
    line-height: 30px;
    padding: 0 22px;
    border: 1px solid #3079ed;
    border-radius: 4px;
    -moz-border-radius: 4px;
    background-color: #498bf4;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0, rgba(255, 255, 255, 0) 100%);
    background-image: -o-linear-linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0, rgba(255, 255, 255, 0) 100%);
    background-image: -moz-linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0, rgba(255, 255, 255, 0) 100%);
    background-image: -webkit-linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0, rgba(255, 255, 255, 0) 100%);
    background-image: -ms-linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0, rgba(255, 255, 255, 0) 100%);
    vertical-align: top;
}

main .portal-page form button img {
    margin-top: 6px;
    width: 16px;
}

main .portal-page .upgrade-banner {
    display: block;
    border: 5px solid #fff;
    background: #e2e2e2;
    margin: 4em auto 0;
    max-width: 750px;
    position: relative;
    text-decoration: none;
    text-align: left;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

main .portal-page .upgrade-banner:after {
    content: "";
    display: table;
}

main .portal-page .upgrade-banner:before {
    content: "";
    width: 24%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    background: #fff url(img/opera-logo.png) no-repeat 50% 50%;
    background-size: 84% auto;
}

main .portal-page .upgrade-banner .cta-text {
    line-height: 1.1;
    font-size: 1.35em;
    color: #000;
    display: block;
    margin-left: 24%;
    margin-right: 20%;
    padding: 15px;
}

main .portal-page .upgrade-banner .dl-box {
    width: 22%;
    position: absolute;
    background: #2ec40b url(img/dl-icon.png) no-repeat 100% 100%;
    max-width: 105px;
    right: 0;
    top: 0;
    bottom: 0;
    border-left: 7px solid #fff;
    padding: 10px;
    line-height: 1;
    color: #fff;
    word-wrap: break-word;
}

@media all and (max-width: 830px) {
    main .portal-page form input[type=text] {
        width: 86%;
    }
}

@media all and (max-width: 780px) {
    main .portal-page form p {
        width: 80%;
    }

    main .portal-page form input[type=text] {
        width: 83%;
    }
}

@media all and (max-width: 640px) {
    main .portal-page form p {
        width: 70%;
    }

    main .portal-page form input[type=text] {
        width: 78%;
    }

    main .portal-page .upgrade-banner .cta-text {
        font-size: 1em;
        margin-right: 21%;
    }

    main .portal-page .upgrade-banner .dl-box {
        font-size: 0.75em;
    }
}

@media all and (max-width: 540px) {
    main .portal-page form p {
        width: 65%;
    }

    main .portal-page form input[type=text] {
        width: 74%;
    }

    main .portal-page .upgrade-banner {
        margin-top: 7em;
    }

    main .portal-page .upgrade-banner .cta-text {
        font-size: 0.75em;
        margin-right: 27.5%;
    }
}

@media all and (max-width: 490px) {
    main .portal-page h2 {
        line-height: 1.2em;
        padding-bottom: 0.2em;
    }

    main .portal-page div {
        width: 90%;
    }

    main .portal-page form .google-logo {
        margin-bottom: 1em;
    }

    main .portal-page form p {
        position: absolute;
        margin-top: 1.8em;
        width: 95%;
        display: block;
    }

    main .portal-page form input[type=text] {
        position: absolute;
        left: 6%;
        width: 85%;
        z-index: 1;
    }

    main .portal-page form button {
        position: absolute;
        right: 7%;
        padding: 0 8px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        -moz-border-top-left-radius: 0;
        -moz-border-bottom-left-radius: 0;
        z-index: 10;
    }
}