body {
    background: #F2F2F2
}

#form {
    height: calc(100% - 2em);
}

#page_contents{
    margin: 0 auto;
    padding: 5rem 2rem;
}
@media only screen and (min-width: 1024px){
    #page_contents {
        width: 1024px;
    }
}
@media only screen and (max-height: 768px), screen and (max-width: 640px){
    #page_contents {
        padding: 0;
    }
}

.small_bottom_margin{
    margin: 0 0 1rem;
}

.error {
    padding: .75rem 1rem .75rem 3rem;
    border: 1px solid #E8E8E8;
    background: #fff;
    color: #555459;
    border-left-width: 5px;
    margin: 0 auto 1rem;
    border-radius: .25rem;
    border-left-color: #CB5234;
    text-align: left;
}

.error span {
    color: #CB5234;
}
.error span#error_message { 
    color: #000;
}

div.contents { 
    background-color: #fff;
    border-radius: .25rem;
    box-shadow: 0 1px 0 rgba(0,0,0,.25);
    padding: 2rem 2rem 1rem;
    margin: 0 auto 2rem;
    position: relative;
    border: 1px solid #E8E8E8;
    text-align: center;
    padding-bottom: 2rem!important;
}

div.contents_error { 
    background-color: #fff;
    border-radius: .25rem;
    box-shadow: 0 1px 0 rgba(0,0,0,.25);
    margin: 0 auto 2rem;
    position: relative;
    text-align: center;
}

.non-display {
    display: none;
}

div.contents #sub_title {
    font-size: 1.7em;
    font-weight: bold;
    color: #555459;
}

div.contents h1 {
    margin-bottom: 1rem
}

div.contents p {

}

input[type="password"], input[type="text"] {
    padding: 0.5em;
    font-size: 1.25em;
    color: #555459;
    width: 100%;
}

.btn-complete {
    padding: 14px 32px 16px;
    width: 100%;
    color: #fff;
    background: #33bb9f;
    font-weight: bold;
    font-size: 1.25em;
    -webkit-font-smoothing: antialiased;
    font-family: Slack-Lato,appleLogo,sans-serif;
    line-height: 1.2rem;
    font-weight: 900;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-decoration: none;
    cursor: pointer;
    text-shadow: 0 1px 1px rgba(0,0,0,.1);
    border: none;
    border-radius: .25rem;
    box-shadow: none;
    position: relative;
    display: inline-block;
    vertical-align: bottom;
    text-align: center;
    white-space: nowrap;
    margin: 0;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
}

#login:hover:after, #login:focus:after {
    box-shadow: inset 0 -2px rgba(0,0,0,.25); 
}
#login:active:after {
    box-shadow: inset 0 2px 1px rgba(0,0,0,.2);
}
#login:after {
    position: absolute; 
    content: ''; 
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: .25rem;
}

.margin-auto{
    margin-left: auto;
    margin-right: auto;
}

.span_4_of_6 {
    width: 66.13%;
}

@media only screen and (max-width: 767px){
   .span_4_of_6 {
        margin: 0 0 2%;
        width: 100%!important;
        padding-right: 0;
    }
}
