@import url('https://fonts.googleapis.com/css?family=Open+Sans');

.layer {
    font-family: "Open Sans", Helvetica, sans-serif;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
    position: fixed;
    z-index: 999;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    color: #ffffff;
    background: #d03939;
    background: -webkit-linear-gradient(315deg, #fa794f 0%, #d03939 100%);
    background: linear-gradient(135deg, #fa794f 0%, #d03939 100%);
}
.overlay {
    display: none;
    font-family: "Open Sans", Helvetica, sans-serif;
    line-height: 1.6;
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    color: #ff0000;
    background: rgba(0, 0, 0, 0.5);
}
.layer a {
    font-weight: 700;
    color: #ffffff;
}
.layer a:hover {
    text-decoration: none;
}
.layer ul, .layer li {
    margin: 0;
    padding: 0;
    list-style: none;
}
.box-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
}
.box {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin: auto;
    -webkit-flex-flow: column wrap;
    -ms-flex-flow: column wrap;
    flex-flow: column wrap;
    position: relative;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.box-description {
    padding: 192px 0 0 0;
    background: url("/layer-logo.png") no-repeat center top;
    background-size: 360px auto;
    text-align: center;
}
.box-title {
    margin: 0 0 10px 0;
    font-size: 24px;
    text-align: center;
}
.box-list {
    font-size: 18px;
    display: inline-block;
}
.box-list li {
    margin: 6px 0;
    padding: 0 0 0 32px;
    background: url("/layer-list.png") no-repeat left;
    text-align: left;
    line-height: 24px;
}
.box-buttons {
    margin: 20px 0 0 0;
}
.box-button {
    width: 140px;
    height: 48px;
    margin: 0 6px;
    display: inline-block;
    vertical-align: top;
    background: #ffffff;
    font-size: 16px;
    color: #393939 !important;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
    line-height: 48px;
}
.box-button:hover {
    color: #d03939 !important;
}

.box-modal {
    width: 400px;
    padding: 20px 0;
    background: #ffffff;
    text-align: center;
}
.box-modal-title {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 30px;
}
.box-modal-coupon {
    margin: 10px 0 0 0;
    font-size: 42px;
    font-weight: 600;
    color: #393939;
}
.box-modal-button {
    width: 280px;
    height: 48px;
    margin: 20px auto 0 auto;
    display: block;
    background-color: #ff0000;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff !important;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
    line-height: 48px;
}
.box-modal-button-no {
    background-color: #393939;
}
.box-text-dark {
    color: #393939;
}


@media screen and (max-width: 480px) and (orientation: portrait) {
    .box-description {
        padding: 110px 0 0 0;
        background-size: 200px auto;
    }
    .box-title {
        font-size: 18px;
    }
    .box-list {
        font-size: 14px;
    }
    .box-modal {
        width: 300px;
    }
}

@media screen and (max-width: 480px) and (orientation: landscape) {
    .box-description {
        padding: 0;
        background-image: none;
    }
    .box-title {
        font-size: 18px;
    }
    .box-list {
        font-size: 14px;
    }
    .box-modal {
        width: 300px;
        padding: 10px 0;
    }
    .box-modal-title {
        font-size: 18px;
        line-height: 20px;
    }
    .box-modal-coupon {
        margin: 0;
        font-size: 24px;
    }
    .box-modal p {
        margin: 0;
    }
    .box-modal-button {
        margin-top: 10px;
    }
}
