*, *:after, *:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

ul, li {
    margin: 0;
    padding: 0;
}

.main-nav {
    width: 90%;
    max-width: 240px;
    margin: 0 auto;
    height: 100%;
    cursor: pointer;
}

.main-nav ul {
    position: absolute;
    width: 100%;
    top: 40%;
    margin: 0;
    padding: 0;
}

.main-nav li {
    list-style: none;
    float: left;
}

.main-nav a {
    display: block;
    height: 50px;
    margin: 10px;
    padding: 2px 25px;
    text-decoration: none;
    border-radius: 30px;
    line-height: 45px;
    color: #FFF;
    -webkit-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    -ms-transition: all 0.30s ease-in-out;
    -o-transition: all 0.30s ease-in-out;
}

.main-nav li:nth-child(1) a {
    background: #d83d3d;
    border: 2px solid #fff;
}

.main-nav li:nth-child(1) a:hover {
    background: #fff;
    color: #d83d3d;
}

.main-nav li:nth-child(2) a {
    background: #9e2c2c;
    border: 2px solid #9e2c2c;
}

.main-nav li:nth-child(2) a:hover {
    background: #b13131;
    border: 2px solid #b13131;
}

.user-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 3;
    overflow-y: auto;
    /*cursor: pointer;*/
    /*visibility: hidden;*/
    /*opacity: 0;*/
    /*-webkit-transition: opacity 0.3s 0, visibility 0 0.3s;*/
    /*-moz-transition: opacity 0.3s 0, visibility 0 0.3s;*/
    /*transition: opacity 0.3s 0, visibility 0 0.3s;*/
}

.user-modal.is-visible {
    visibility: visible;
    opacity: 1;
    -webkit-transition: opacity 0.3s 0, visibility 0 0;
    -moz-transition: opacity 0.3s 0, visibility 0 0;
    transition: opacity 0.3s 0, visibility 0 0;
}

.user-modal.is-visible .user-modal-container {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
}

.user-modal-container {
    position: relative;
    width: 90%;
    max-width: 600px;
    background: #FFF;
    margin: 3em auto 4em;
    cursor: auto;
    border-radius: 0.25em;
    -webkit-transform: translateY(-30px);
    -moz-transform: translateY(-30px);
    -ms-transform: translateY(-30px);
    -o-transform: translateY(-30px);
    transform: translateY(-30px);
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    transition-duration: 0.3s;
    /*border: 1px solid #ebebeb;*/
    margin-bottom: 20px;
    /*box-shadow: 0 0 0 1px rgba(0, 0, 0, .15), 0 2px 3px rgba(0, 0, 0, .2);*/
    transition: box-shadow 83ms;
}

.user-modal-container .switcher:after {
    content: "";
    display: table;
    clear: both;
}

.user-modal-container .switcher li {
    width: 50%;
    float: left;
    text-align: center;
    list-style: none;
}

.user-modal-container .switcher li:first-child a {
    border-radius: .25em 0 0 0;
}

.user-modal-container .switcher li:last-child a {
    border-radius: 0 .25em 0 0;
}

.user-modal-container .switcher a {
    display: block;
    width: 100%;
    height: 50px;
    line-height: 50px;
    background: #FFF;
    color: #505260;
    text-decoration: none;
}

.user-modal-container .switcher a.selected {
    background: #d2d8d8;
    color: #809191;
}

.switcher {
    border: 2px solid #ddd;
}

.form {
    padding: 1.4em;
}

.form .fieldset {
    position: relative;
    margin: 1.4em 0;
}

.form .fieldset:first-child {
    margin-top: 0;
}

.form .fieldset:last-child {
    margin-bottom: 0;
}

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

.form label.image-replace {
    /* replace text with an icon */
    display: inline-block;
    position: absolute;
    right: 15px;
    top: 50%;
    bottom: auto;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    color: transparent;
    text-shadow: none;
    background-repeat: no-repeat;
    background-position: 50% 0;
    z-index: 1;
}


.form label.name {
    background-image: url("../image/user.svg");
}

.form label.family {
    background-image: url("../image/users.svg");
}

.form label.companyTitle {
    background-image: url("../image/companytitle.svg");
}

.form label.mobile {
    background-image: url("../image/mobile.svg");
}

.form label.tel {
    background-image: url("../image/phone.svg");
}


.form label.city {
    background-image: url("../image/city.svg");
}

.form label.address {
    background-image: url("../image/address.svg");
}

.form label.email {
    background-image: url("../image/email.svg");
}

.form label.password {
    background-image: url("../image/password.svg");
}

.form label.birthdatelabel {
    background-image: url("../image/date.svg");
}
.form label.carbrandlabel {
    background-image: url("../image/brand.svg");
}

.form input[type=text] {
    margin: 0;
    padding: 0;
    border-radius: 0.25em;
}

.form input.full-width, .form textarea.full-width {
    width: 100%;
}

.form input.has-padding, .form textarea.has-padding {
    padding: 12px 20px 12px 50px;
}

.form input.has-border, .form textarea.has-border {
    border: 1px solid #d2d8d8;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
}

.form input.has-border:focus, .form textarea.has-border:focus {
    border-color: #343642;
    box-shadow: 0 0 5px rgba(52, 54, 66, 0.1);
    outline: none;
}

.form input.has-error, .form textarea.has-error {
    border: 1px solid #d76666;
}

.form input[type=password] {
    /* space left for the HIDE button */
    padding-right: 65px;
}

.form input.login[type=submit],.form input.reset[type=submit] {
    padding: 16px 0;
    cursor: pointer;
    background: #F64747;
    color: #FFF;
    font-weight: bold;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    -webkit-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    -ms-transition: all 0.30s ease-in-out;
    -o-transition: all 0.30s ease-in-out;
}

.form input.login[type=submit]:hover {
    background: #d83d3d;
}

.no-touch .form input.login[type=submit]:hover, .no-touch .form input.login[type=submit]:focus {
    background: #d83d3d;
    outline: none;
}

.form .hide-password {
    display: inline-block;
    position: absolute;
    text-decoration: none;
    left: 0;
    top: 0;
    padding: 6px 15px;
    border-left: 1px solid #d2d8d8;
    top: 50%;
    bottom: auto;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 14px;
    font-size: 0.875rem;
    color: #343642;
}

.form .error-message {
    display: inline-block;
    position: absolute;
    left: -5px;
    bottom: -35px;
    background: rgba(215, 102, 102, 0.9);
    padding: .5em;
    z-index: 2;
    color: #FFF;
    font-size: 1rem;
    border-radius: 0.25em;
    /* prevent click and touch events */
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity 0.2s 0, visibility 0 0.2s;
    -moz-transition: opacity 0.2s 0, visibility 0 0.2s;
    transition: opacity 0.2s 0, visibility 0 0.2s;
}

.form .error-message.right {
    right: -5px;
    width: 40%;
    bottom: -25px;
}

.form .error-message.right::after {
    right: 22px;
}

.form .error-message::after {
    /* triangle */
    content: '';
    position: absolute;
    left: 22px;
    bottom: 100%;
    height: 0;
    width: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(215, 102, 102, 0.9);
}

.form .error-message.is-visible {
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity 0.2s 0, visibility 0 0;
    -moz-transition: opacity 0.2s 0, visibility 0 0;
    transition: opacity 0.2s 0, visibility 0 0;
}

.form-bottom-message {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -40px;
    text-align: center;
    font-size: 12px;
}

.form-bottom-message a {
    color: #343642;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, .0);
    padding: 0 0 0 2px;
    -webkit-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    -ms-transition: all 0.30s ease-in-out;
    -o-transition: all 0.30s ease-in-out;
}

.form-bottom-message a:hover {
    animation: borderslide-3px .5s;
    border-bottom: 1px solid rgba(255, 255, 255, 1);
    padding-bottom: 3px;
}

@keyframes borderslide-3px {
    0% {
        padding-bottom: 1px;
    }
    50% {
        padding-bottom: 3px;
    }
}

@keyframes borderslide-2px {
    0% {
        padding-bottom: 1px;
    }
    50% {
        padding-bottom: 2px;
    }
}

.close-form {
    /* form X button on top right */
    display: block;
    position: absolute;
    width: 40px;
    height: 40px;
    right: 0;
    top: -40px;
    background: url("../img/icon-close.svg") no-repeat center center;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}

.accept-terms {
    color: #F64747;
    text-decoration: none;
    padding: 0 1px 1px 2px;
    border-bottom: 1px solid rgba(246, 71, 71, .0);
    -webkit-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    -ms-transition: all 0.30s ease-in-out;
    -o-transition: all 0.30s ease-in-out;
}

.accept-terms:hover {
    animation: borderslide-2px .5s;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(246, 71, 71, 1);
}

#login, #signup,#forget-password, #reset-password {
    display: none;
}

#login.is-selected, #signup.is-selected,#forget-password.is-selected, #reset-password.is-selected {
    display: block;
}

.invalid-feedback {
    color: red;
}

#step-1, #step-2, #step-3{
    margin: 40px;
}

.form-message {
    padding: 1.4em 1.4em 0;
    font-size: 12.5px;
    line-height: 1.4;
    text-align: center;
}
.info-icon
{
    font-size: 19px;
    color: orange;
}
.sw-theme-default {
    -webkit-box-shadow:none !important;
    box-shadow: none !important;
}
.btnNotHave.active
{
    background-color: #5cb85c;
}
.jpa {
    list-style: none;
    display: flex;
    flex-direction: row;
    direction: ltr;
}

.jpa input {
    margin-right: .5rem;
    margin-left: .5rem;
    text-align: center;
}
/*media queries*/
@media only screen and (min-width: 600px) {
    .user-modal-container {
        margin: 4em auto;
    }

    .user-modal-container .switcher a {
        height: 70px;
        line-height: 70px;
    }

    .form {
        padding: 2em;
    }
    .form.frmReset
    {
        padding-top: 0;
    }

    .form .fieldset {
        margin: 2em 0;
    }

    .form .fieldset:first-child {
        margin-top: 0;
    }

    .form .fieldset:last-child {
        margin-bottom: 0;
    }

    .form input.has-padding, .form textarea.has-padding {
        padding: 16px 50px 16px 20px;
    }

    .form input[type=submit] {
        /*padding: 16px 0;*/
    }

    .form-message {
        padding: 5px;
    }
}
.carBrandImage
{
    width: 30px;
    margin-left: 5px;
}
.captcha span img
{
    min-width: 100px;
}
#refresh i
{
    font-size: 20px;
}
.agreementText
{
    font-size: 12.5px;
    line-height: 2;
}
.agreementText li
{
    margin-right: 15px;
}
.companyType label,.jobTitle label
{
    margin-top: 10px !important;
}
.customradio
{
    width: 45%;
}
.customradio:not(.mostaghelConatiner)
{
    display: inline-block !important;
}
.carBrandContainer .tt-menu
{
    max-height: 150px !important;
    border-bottom: 1px solid black;
    border-right: 1px solid black;
    border-left: 1px solid black;
}
.sw-btn-next,.sw-btn-prev,.no-border
{
    border-radius: 0 !important;
}
.btnNotHave.active
{
    background-color: #5cb85c;
}
{
    background-color: #5cb85c;
}
@media only screen and (min-width: 1170px) {
    .close-form {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .form input.has-padding, .form textarea.has-padding {
        padding-right: 50px;
    }

    #step-1, #step-2, #step-3, #step-4 {
        margin: 0;
    }
    .customradio
    {
        width: 100%;
    }
}

