/* ==============================
Icons
============================== */

[data-icon="name"]:after { content: 'person'; }
[data-icon="password"]:after { content: 'vpn_key'; }
[data-icon="email"]:after { content: 'mail'; }
[data-icon="info"]:after { content: 'info_outline'; }
[data-icon="recruited"]:after { content: 'group_add'; }
[data-icon="additional"]:after { content: 'account_balance'; }

/* ==============================
Table
============================== */

table {
    border-spacing: 0;
    border-collapse: collapse;
}

/* ==============================
Input
============================== */

.signup input,
.signup button {
    margin: 0;
    font: inherit;
    color: inherit;
}
.signup input[type="text"],
.signup input[type="password"],
.signup input[type="email"] {
    background-color: rgba(255, 255, 255, 0.05);
    display: inline-block;
    height: 39px;
    line-height: 39px;
    vertical-align: middle;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    background: #3C3C3C;
    background: rgba(58, 58, 58, 0.8);
    border: none;
    padding: 0 10px;
    width: 100%;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    -ms-transition: all 0.3s;
    transition: all 0.3s;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.signup input[type="text"]:focus,
.signup input[type="password"]:focus,
.signup input[type="email"]:focus {
    color: #fff;
    outline: none;
}

.signup button {
    float: right;
    margin: 30px 30px 0 0;
    position: relative;
    /* bottom: 0; */
    /* right: 0; */
    color: #fff;
    background: rgba(152, 152, 152, 0.8);
    text-decoration: none;
    outline: none;
    cursor: pointer;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    width: 60px;
    text-align: center;
    border: none;
    box-shadow: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 33px;
    height: 33px;
    text-transform: uppercase;
    overflow: hidden;
    display: inline-block;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.signup button:hover {
    background: rgba(171, 171, 171, 0.8);
}
.signup button:active {
    background: rgba(171, 171, 171, 0.8);
    transform: scale(.95);
}

.signup button.state-loading,
.signup button.state-error,
.signup button.state-success
{
    color: #fff;
    background: rgba(171, 171, 171, 0.8);
    text-decoration: none;
    outline: none;
    cursor: pointer;
}
.signup button.state-error {
    background: rgb(188, 20, 20);
}
.signup button.state-success {
    background: rgb(38, 138, 71);
}

.signup button.state-loading:active,
.signup button.state-error:active,
.signup button.state-success:active {
    background: #464646;
    transform: scale(1);
}

.signup button .progress-inner {
    position: absolute;
    left: 0;
    background: rgba(255, 255, 255, 0.1);
    bottom: 0;
    width: 0;
    opacity: 1;
    height: 100%;
    -webkit-transition: width .6s, opacity .6s;
    transition: width .6s, opacity .6s;
}

.signup button.state-success .content:before,
.signup button.state-error .content:after {
    opacity: 1;
}

.signup button .content .notransition  {
    -webkit-transition: none !important;
    transition: none !important;
}

.signup .submit:before {
    text-transform: none;
    display: block;
    width: 100%;
    text-align: center;
    color: #fff;
    font-family: "Ionicons";
    content: "\f122";
    font-size: 14px;
    line-height: 17px;
}

.signup input.disabled,
.signup button.disabled,
.signup button[disabled] {
    cursor: default;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    box-shadow: none;
    opacity: .65;
    pointer-events: none;
}

/* ==============================
Checkbox
============================== */

.signup .checkbox-mod input[type="checkbox"] {
    visibility: hidden;
}
.signup .checkbox-mod {
    position: relative;
    margin-bottom: 10px;
}
.signup .checkbox-mod:last-of-type {
    margin: 0;
}
.signup .checkbox-mod label {
    padding-right: 49px;
    padding-left: 10px;
    line-height: 39px;
    height: 39px;
    font-weight: 400;
    /*background: #464646;*/
    background: rgba(58, 58, 58, 0.8);
    font-size: 13px;
    cursor: pointer;
    margin: 0;
    display: block;
}
.signup .checkbox-mod label:before {
    content: "check";
    font-family: 'Material Icons';
    font-size: 16px;
    line-height: 39px;
    color: rgba(255,255,255,0.2);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    -ms-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    box-shadow: -1px 0 0 #676767;
    display: inline-block;
    /* background: #3c3c3c; */
}
.signup .checkbox-mod label:before,
.signup .checkbox-mod input[type="checkbox"] {
    width: 39px;
    height: 39px;
    position: absolute;
    right: 0;
    top: 0;
    margin: 0;
}
.signup .checkbox-mod input[type="checkbox"]:checked + label:before {
    color: #fff;
    font-weight: 800;
}
.signup .checkbox-mod label table tr td {
    line-height: 12px;
    font-size: 11px;
    height: 39px;
}

/* ==============================
Common styles
============================== */

.signup {
    width: 350px;
    height: 500px;
    background-image: url(../images/signup.jpg);
    background-color: #3C3C3C;
    color: #eee;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3) inset, 0 2px 5px rgba(0, 0, 0, 0.35);
}
.signup .heading-nav {
    background: rgba(0, 0, 0, 0.2);
    font-size: 16px;
    line-height: 46px;
    font-weight: 500;
    box-shadow: 0 24px 10px rgba(255, 255, 255, 0.02) inset;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    top: 1px;
    margin: 0 1px;
}
.signup-content {
    height: 454px;
}
.signup-content .padding {
    padding: 40px 0;
}
.signup-data {
    padding: 0 30px 20px;
}
.signup-data table {
    width: 100%;
}
.signup-data table tr td {
    padding: 0 0 10px;
}
.signup-data table tr td:nth-child(1),
.signup-data table tr td:nth-child(3) {
    width: 39px;
}
.signup-data table tr td:nth-child(2) {
    width: auto;
}
.signup-data span[data-icon] {
    width: 39px;
    height: 39px;
    display: block;
    background-color: rgba(58, 58, 58, 0.8);
    text-align: center;
    float: left;
    line-height: 39px;
    color: #fff;
}
.signup-data tr td:nth-child(1) span[data-icon] { margin-right: 1px; }
.signup-data tr td:nth-child(3) span[data-icon] { margin-left: 1px; font-size: 15px; }

.signup-additional {
    font-weight: 500;
    line-height: 15px;
    margin: 0 30px;
    /* border: 1px solid #505050; */
    /*padding: 18px;*/
}
.signup-additional a {
    color: #fff;
    text-decoration: underline;
}
.signup-additional .checkbox {
    padding: 5px 0;
    margin: 0 0 10px;
    display: block !important;
    cursor: pointer;
}
.signup-additional .checkbox span.input {
    position: relative;
}
.signup-additional .checkbox input {
    position: relative;
    top: 2px;
    margin: 0;
    z-index: 1;
}
.signup-additional .checkbox span.desc {
    float: right;
    width: 245px;
}
.signup-additional .checkbox span.desc a {
    font-weight: 600;
}

.signup-ref {
    padding: 0;
    line-height: 39px;
    margin: 10px 30px 0;
    font-size: 13px;
}
.signup-ref [data-icon],
.signup-additional [data-icon] {
    width: 39px;
    height: 39px;
    display: block;
    background-color: rgba(58, 58, 58, 0.8);
    text-align: center;
    float: left;
    line-height: 39px;
    color: #fff;
    font-size: 14px;
}
.signup-ref tr td:nth-child(1) span[data-icon],
.signup-additional tr td:nth-child(1) span[data-icon] {
    margin-right: 1px;
}
.signup-ref table,
.signup-additional table {
    width: 100%;
}
.signup-ref table tr,
.signup-additional table tr {
    height: 39px;
}
.signup-ref table tr td,
.signup-additional table tr td{
    padding: 0;
}
.signup-ref table td:nth-child(1),
.signup-additional table td:nth-child(1) {
    width: 39px;
}
.signup-ref table td:nth-child(2),
.signup-additional table td:nth-child(2) {
    width: auto;
}
.signup-ref table td:nth-child(2) div {
    background: rgba(58, 58, 58, 0.8);
    padding: 0 10px;
}

.signup-data .error input[type="text"],
.signup-data .error input[type="password"],
.signup-data .error input[type="email"],
.signup-additional .checkbox-mod.error label:before {
    box-shadow: 0 0 0 1px #ce7474 /*, 0 0 0 5px rgba(60, 60, 60, 0.2) inset*/;
    background: #8c3e3e;
}
.signup .error input[type="text"]::-webkit-input-placeholder,
.signup .error input[type="password"]::-webkit-input-placeholder,
.signup .error input[type="email"]::-webkit-input-placeholder {
    color: #dc8080;
}
.signup #error-msg {
    padding: 0 30px;
}
.signup #error-msg .msg {
    box-shadow: 0 0 0 1px #ce7474 /*, 0 0 0 5px rgba(60, 60, 60, 0.2) inset*/;
    background: #8c3e3e;
    padding: 0;
    line-height: 39px;
    margin: 10px 0 0;
    font-size: 13px;
}

.signup #error-msg .msg:last-of-type { margin-bottom: 30px; }
.signup #error-msg .msg:first-of-type { margin-top: 0; }

.signup #error-msg .msg:before {
    font-family: 'Material Icons';
    content: 'warning';
    width: 39px;
    height: 39px;
    text-align: center;
    line-height: 39px;
    display: block;
    font-size: 17px;
    float: left;
    margin-right: 10px;
}
.signup .social-signup {
    padding: 20px 30px 0;
}
.signup .divider {
    margin: 25px 0 15px;
    position: relative;
}
.signup .divider:before {
    content: '';
    width: 100%;
    height: 1px;
    background: #fff;
    text-align: center;
    display: block;
}
.signup .divider span {
    background: #707070;
    position: absolute;
    top: -5px;
    font-size: 10px;
    line-height: 10px;
    padding: 0 8px;
    text-transform: uppercase;
    color: #ffffff;
    left: 50%;
    transform: translateX(-50%);
}

.signup table.social-login {
    width: 100%;
}
.signup table.social-login tr td {
    width: 50%;
}
.signup table.social-login tr td:first-of-type { padding-right: 5px; }
.signup table.social-login tr td:last-of-type { padding-left: 5px; }
.signup .facebook,
.signup .google {
    display: block;
    padding: 0;
    border: none;
    height: 40px;
    line-height: 40px;
    width: 100%;
    text-align: center;
    background: #3b5998;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
}
.signup .google {
    background: #b21f1f;
}
.signup .facebook:before,
.signup .google:before {
    content: '\f09a';
    font-family: 'FontAwesome';
    float: left;
    width: 40px;
    height: 40px;
    display: block;
    background: rgba(0, 0, 0, 0.15);
}
.signup .google:before {
    content: '\f1a0';
}