body {
    font-weight: normal;
    font-size: 16px;
    color: white;
    background-color: #21a1e1;
}

html,
body,
body button,
body input {
    font-family: Lato, sans-serif;
}

a {
    color: white;
    text-decoration: none;
}

a.button {
    background-color: #313233;
    color: white;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    padding: 10px;
    margin-bottom: 10px;
    display: block;
}

#wrapper {
    width: 90%;
    max-width: 360px;
    margin: auto;
}

.form-header {
    background: url("../../images/centerdevice/logo_white.png") top center no-repeat;
    background-size: 187px 32px;
    height: 32px;
    margin-top: 15px;
    margin-bottom: 10px;
    width: 100%;
}

.info-box {
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 10px;
    height: 55px;
    text-align: center;

    color: white;
    font-weight: normal;
    font-style: italic;

    margin-bottom: 10px;
}

.button-box {
    margin-top: 10px;
    display: block;
}

.form-item {
    width: 240px;
    margin-left: auto;
    margin-right: auto;
}

button {
    width: 240px;
    height: 44px;

    display: block;
    margin-left: auto;
    margin-right: auto;

    font-weight: bold;
    font-size: 14px;
    line-height: 44px;
    text-transform: uppercase;

    cursor: pointer;
    color: white;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    border-radius: 5px;
    border-width: 0px;
    background: #313234;
}

.android button {
    border-width: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}

.inactivebutton {
    background: none;
    font-style: italic;
    font-weight: normal;
    font-size: 18px;
    text-transform: none;
}

.uppercase {
    text-transform: uppercase;
}


input {
    width: 240px;
    height: 44px;

    font-weight: normal;
    font-size: 16px;
    font-style: italic;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    padding-left: 10px;
    padding-right: 10px;

    border: 2px solid;
    border-color: #dbe0e4;
    border-radius: 5px;
    -webkit-appearance: none;
}

.android input {
    margin-left: 0px;
    margin-right: 0px;

    /* disable focus highlight and default border */
    outline: 0;
    border: 0px;

    -webkit-appearance: none;
    color: white;

    /* set both background and border to the same color,
       effectively hiding the border */
    background-color: #21a1e1;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* white text color for input placeholder */
.android ::-webkit-input-placeholder {
    color: #fff;
}

/* set up Android style underlined border inspired by http://zielak.pl/android-like-text-fields-using-html-and-css/ */
.android .form-item input[type="text"] {
    width: 240px;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 2px solid #fff;
    outline: none;
    box-sizing: border-box;
    outline: none;
}

.android .form-item {
    position: relative;
    border-bottom: 2px solid #fff;
}

.android .form-item:before, .android .form-item:after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0px;
    height: 6px;
    border-left: 2px solid #fff;
}

.android .form-item:before {
    left: 0;
}

.android .form-item:after {
    right: 0;
}


/* Device Logo */

/* Default is just blank*/
.device-logo {
    height: 50px;
    width: 100%;
    margin-bottom: 10px;
}

.iphone .device-logo {
    height: 150px; /* eq 300 retina device pixels */
    width: 100%;
    margin-bottom: 10px;
    background: center top no-repeat;
    background-image: -webkit-image-set(
            url("../../images/centerdevice/cd_iphone_device.png") 1x,
            url("../../images/centerdevice/cd_iphone_device_2x.png") 2x
    );
}

.ipod .device-logo {
    height: 150px; /* eq 300 retina device pixels */
    width: 100%;
    margin-bottom: 10px;
    background: center top no-repeat;
    background-image: -webkit-image-set(
            url("../../images/centerdevice/cd_iphone_device.png") 1x,
            url("../../images/centerdevice/cd_iphone_device_2x.png") 2x
    );
}


.android .device-logo {
    height: 295px;
    width: 100%;
    margin-bottom: 10px;
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    background-image: url("../../images/centerdevice/cd_android_device.png");
}

@media all and (min-width: 768px) and (max-width: 1280px) {
    a {
        font-size: 14pt;
    }

    a.button {
        margin: 0 20pt 10pt 20px;
    }
}

@media all and (min-width: 480px) and (max-width: 768px) {
    a {
        font-size: 14pt;
    }

    a.button {
        margin: 0 20pt 10pt 20px;
    }
}

@media all and (max-width: 480px) {
    a {
        font-size: 14pt;
    }

    a.button {
        margin: 0 20pt 10pt 20px;
    }
}
