.ns-form .loader {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    border: 5px solid #c1c1c1;
    border-radius: 100%;
    border-top: 5px solid #000000;
    width: 30px;
    height: 30px;
    -moz-animation: spin 1s linear infinite;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}

@-moz-keyframes spin {
    0% {
        -moz-transform: rotate(0deg);
    }
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.ns-container {
    width: 100%;
    height: 100%;
    /*background-color: #fafafa;*/
    padding: 2.5em 1.875em;
    font-size: 16px;
}

.ns-wrapper {
    max-width: 18.75em;
    width: 100%;
    margin: 0 auto;
    /*background-color: #fff;
    border: 1px solid #eaeaea;*/
    padding: 1em;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    /*-webkit-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.1);*/
}

.ns-form {
    padding: 0;
    margin: 0;
    position: relative;
}

.ns-form .ns-group {
    /*position: relative;*/
    width: 100%;
    padding-bottom: 1.25em;
}

.ns-form .form-label {
    font-weight: 600;
    display: block;
    width: 100%;
    float: none;
    margin-bottom: 5px;
    font-size: 0.75em;
    text-transform: uppercase;
    color: #000;
}

.ns-form .ns-input {
    padding: 0.375em 0.75em;
    border: 1px solid #eaeaea;
    font-size: 0.875em;
    height: 3em;
    display: block;
    width: 100%;
    float: none;
    color: #000;
    position: relative;
    background-color: #fff;
    box-shadow: none;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.ns-form .ns-input:hover {
    border: 1px solid #cbcbcb;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    -webkit-transition: box-shadow 0.3s ease-in-out;
    -moz-transition: box-shadow 0.3s ease-in-out;
    -o-transition: box-shadow 0.3s ease-in-out;
    transition: box-shadow 0.3s ease-in-out;
}

.ns-form .ns-input:focus {
    border: 1px solid #cbcbcb;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    -webkit-transition: box-shadow 0.3s ease-in-out;
    -moz-transition: box-shadow 0.3s ease-in-out;
    -o-transition: box-shadow 0.3s ease-in-out;
    transition: box-shadow 0.3s ease-in-out;
}

.ns-form .ns-input::-webkit-input-placeholder {
    color: #ccc;
}

.ns-form .ns-input::-moz-placeholder {
    color: #ccc;
}

.ns-form .ns-input:-ms-input-placeholder {
    color: #ccc;
}

.ns-form .ns-input:-moz-placeholder {
    color: #ccc;
}

.ns-form span.ns-error{
    font-size: 0.75em;
    color: red;
    display: block;
    /*position: absolute;*/
    left: 0;
    width: 100%;
    /*top: 75%;*/
    padding: 0.312em 0.625em;
    /*background-color: #fffce3;*/
    /*border: 1px solid #eeebd1;*/
    z-index: 100;
}
/*.ns-form span.ns-error:before{
    content: '';
    width: 10px;
    height: 10px;
    position: absolute;
    left: 10px;
    top: -10px;
    border-bottom: 10px solid #fffce3;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    z-index: 10;
}
.ns-form span.ns-error:after{
    content: '';
    width: 10px;
    height: 10px;
    position: absolute;
    left: 10px;
    top: -11px;
    border-bottom: 10px solid #eeebd1;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    z-index: 8;
}*/
.ns-form .ns-submit {
    border: none;
    color: #ffffff;
    font-size: 0.875em;
    display: block;
    text-align: center;
    width: 100%;
    padding: 1.125em 1em;
    font-weight: 600;
    outline: none;
    text-decoration: none;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: #3498db;
    background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
    background-image: -moz-linear-gradient(top, #3498db, #2980b9);
    background-image: -ms-linear-gradient(top, #3498db, #2980b9);
    background-image: -o-linear-gradient(top, #3498db, #2980b9);
    background-image: linear-gradient(to bottom, #3498db, #2980b9);
    cursor: pointer;
}

.ns-form .ns-submit:hover, .ns-form .ns-submit:focus{
    background: #3cb0fd;
    color: #ffffff !important;
    background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
    background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
    background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
    background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
    background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
    outline: none;
    text-decoration: none;
}
.ns-group.ns-error-show {
    padding-bottom: 0;
}