body{
    margin: 30px 20px;
    font: 13px/18px 'Helvetica Neue', Helvetica, Arial sans-serif;
    background: #f5f5f5;
    color: #555;
    text-shadow: 0 1px 0 #fff;
}

.wrapper{
    max-width: 480px;
    margin: 0 auto;
}

a{
    color: #88AE00;
    text-decoration: none;
}

h1{
    margin: 0 0 20px;
    padding-top: 12px;
    color: #999;
    line-height: 30px;
    text-align: center;
    font: normal 36px/40px sans-serif;
    text-transform: uppercase;
}

p{ margin: 12px 0; }

.separator{
    height: 1px;
    margin: 12px 0;
    border-top: 1px solid #d1d1d1;
    background: #fff;
    clear: both;
}

.buttons-wrapper{
    margin-top: 20px;
    padding-top: 12px;
    border-top: 1px solid #ccc;
    overflow: hidden;
    clear: both;
}

.buttons-wrapper .checkbox{
    float: left;
}

.buttons-wrapper .button{
    float: right;
}

.button {
    display: inline-block;
    height: 42px;
    padding: 0 20px;
    border: none;
    font: 16px/42px 'Helvetica Neue', Helvetica, Arial, sans-serif;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    text-decoration: none;
    color: #fff;
    background: #a0c44c;
    text-align: center;
    cursor: pointer;
}

.button:hover, .button:focus {
    background: #98bb47;
}

label{
    display: block;
    line-height: 28px;
    font-size: 16px;
    color: #444;
}

label.checkbox{
    font-size: 14px;
}

.inputs-wrapper{
    width: 93%;
    margin: 17px;
    float: left;
}
.inputs-wrapper p:first-child{ margin: 0; }

input[type=text], input[type=password]{
    width: 100%;
    *width: 93%;
    margin: 0;
    padding: 12px;
    border: 1px solid #d5d5d5;
    border-top-color: #aaa;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    font-size: 14px;
    background: #fff;
    color: #999;
    -webkit-appearance: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

input:focus{
    outline: none;
    color: #666;
    border-color: #aaa;
}

input[type=button], input[type=submit]{
	-webkit-appearance: none;
}

.clear{ clear: both; }

.tip-info{
    display: block;
    margin-top: 3px;
    color: #888;
    font-size: 12px;
}

.message{
    padding: 1em;
    border: 2px solid #ccc;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background: #ddd;
    clear: both;
    text-shadow: none;
}

.message.error{
    margin-bottom: 12px;
    border-color: #ffd324;
    background: #fff6bf;
    color: #514721;
    font-size: 13px;
}

.message.success{
    margin-bottom: 20px;
    border-color: #c6d880;
    background: #e6efc2;
    color: #264409;
    font-size: 16px;
    text-align: center;
}

.message ul{
    margin: 0;
    padding: 0;
    list-style: none;
}

.message li{ margin: 5px 0 0; }
.message li:before{ content: '- '; }

.customer-number{
    padding: 14px 15px;
    border: 1px solid #ddd;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    top: 25px;
    background: #fff;
}

.spinner{
    display: none;
    font-weight: bold;
    line-height: 42px;
    color: #666;
    clear: both;
}

.spinner img{
    margin-right: 5px;
    position: relative;
    top: 3px;
}

.ext-signup-preview {
	background-color: #000000;
    width: 237px;
    height: 140px;
    margin: 0 auto;
    position: relative;
    left: -20px;
    top: 0;
    margin-bottom: 43px;
}

.ext-signup-preview.no-paper {
    background: url(/img/paperton/devices-bg-no-paper.png) no-repeat top left;
    margin: 0 0 30px -85px;
}

.ext-signup-preview .paper {
    position: absolute;
    top: 8px;
    left: 9px;
    width: 120px;
    height: 155px;
}

.ext-signup-preview .toc {
    z-index: 2;
    background: url(/img/paperton/external-subscriptions/small/large-with-toc_transparent.png) no-repeat top left;
    position: absolute;
    width: 250px;
    height: 173px;
    top: 0px;
    left: 0px;
}

.ext-signup-preview .reader {
    z-index: 1;
    position: absolute;
    width: 264px;
    height: 158px;
    top: 4px;
    left: 16px;
}

.ext-signup-preview .reader img {
    width: 103px;
    height: 137px;
    float: left;
}

.ext-signup-preview .cover {
    z-index: 2;
    position: absolute;
    width: 53px;
    height: 104px;
    top: 19px;
    right: 25px;
}

.ext-signup-preview .cover img {
    position: absolute;
    width: 108px;
    height: 134px;
	box-shadow: 5px 5px 5px #888888;
    -ms-transform: rotate(7deg); 		/* IE 9 */
    -webkit-transform: rotate(7deg); 	/* Chrome, Safari, Opera */
    transform: rotate(7deg);
}

.ext-devices {
    background: url(/img/paperton/external-subscriptions/small/devices-bg.png) no-repeat top left;
    width: 290px;
    height: 164px;
    margin: 0 auto;
    position: relative;
    left: -5px;
    top: 0;
}

.ext-devices.no-paper {
    background: url(/img/paperton/devices-bg-no-paper.png) no-repeat top left;
    margin: 0 0 30px -85px;
}

.ext-devices .paper {
    position: absolute;
    top: 8px;
    left: 9px;
    width: 120px;
    height: 155px;
}

.ext-devices .tablet {
    z-index: 2;
    background: url(/img/paperton/external-subscriptions/small/tablet.png) no-repeat top left;
    position: absolute;
    width: 131px;
    height: 169px;
    top: 0;
    left: 2px;
}

.ext-devices .tablet img {
    width: 86px;
    height: 114px;
    position: absolute; 
    top: 16px;
    left: 14px;
}

.ext-devices .laptop {
    z-index: 1;
    position: absolute;
    width: 154px;
    height: 99px;
    top: 20px;
    left: 101px;
}

.ext-devices .laptop img {
    width: 75px;
    height: 99px;
    float: left;
}

.ext-devices .phone {
    z-index: 2;
    background: url(/img/paperton/external-subscriptions/small/phone.png) no-repeat top left;
    position: absolute;
    width: 53px;
    height: 104px;
    top: 43px;
    right: 0;
}

.ext-devices .phone img {
    position: absolute;
    width: 42px;
    height: 58px;
    top: 20px;
    left: 5px;
}

/* Break points */

@media only screen and (max-width: 680px) {
    .customer-number{
        width: auto;
        margin: 0;
        position: static;
        clear: both;
    }

    .buttons-wrapper .checkbox,
    .buttons-wrapper .button{
        float: none;
    }

    .buttons-wrapper .button{
        margin-top: 12px;
    }
}

@media only screen and (max-width: 650px) {

    .ext-devices, .ext-signup-preview {
        margin: 0 auto 10px;
    }

    .ext-signup-description {
        margin-top: 35px;
    }
}
