﻿/* BASIC */

html {
    background-color: #f4f4f4;
}


a {
    color: #92badd;
    display: inline-block;
    text-decoration: none;
    font-weight: 400;
}

h2 {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin: 40px 8px 10px 8px;
    color: #cccccc;
}



/* STRUCTURE */

.wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 100%;
    padding: 20px;
}

#formContent {
    -webkit-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
    background: #fff;
    width: 90%;
    max-width: 800px;
    position: relative;
    padding: 0px;
    border: 1px solid #ececec;
    text-align: center;
}

#formFooter {
    background-color: #f6f6f6;
    border-top: 1px solid #dce8f1;
    padding: 25px;
    text-align: center;
    -webkit-border-radius: 0 0 10px 10px;
    border-radius: 0 0 10px 10px;
}



/* TABS */

h2.inactive {
    color: #cccccc;
}

h2.active {
    color: #0d0d0d;
    border-bottom: 2px solid #5fbae9;
}



/* FORM TYPOGRAPHY*/

input[type=button], input[type=submit], input[type=reset] {
    background-color: #000;
    border: none;
    color: white;
    text-align: center;
    font-size: 16px;
    border-radius: 50px;
    width: 85%;
}

    input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover {
        background-color: #313131;
    }

    input[type=button]:active, input[type=submit]:active, input[type=reset]:active {
        -moz-transform: scale(0.95);
        -webkit-transform: scale(0.95);
        -o-transform: scale(0.95);
        -ms-transform: scale(0.95);
        transform: scale(0.95);
    }

input[type=text] {
    background-color: #fff;
    border: none;
    color: #0d0d0d;
    padding: 8px;
    text-align: right;
    font-family: IranianSans;
    text-decoration: none;
    display: inline-block;
    font-size: 13px;
    direction: rtl;
    margin-bottom: 5px;
    width: 100%;
    border: 2px solid #f6f6f6;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
}

    input[type=text]:focus {
        background-color: #fff;
        border: 2px solid #000;
    }

    input[type=text]:placeholder {
        color: #cccccc;
    }



/* ANIMATIONS */

/* Simple CSS3 Fade-in-down Animation */
.fadeInDown {
    -webkit-animation-name: fadeInDown;
    animation-name: fadeInDown;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }

    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }

    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

/* Simple CSS3 Fade-in Animation */
@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fadeIn {
    opacity: 0;
    -webkit-animation: fadeIn ease-in 1;
    -moz-animation: fadeIn ease-in 1;
    animation: fadeIn ease-in 1;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-duration: 1s;
    -moz-animation-duration: 1s;
    animation-duration: 1s;
}

    .fadeIn.first {
        -webkit-animation-delay: 0.4s;
        -moz-animation-delay: 0.4s;
        animation-delay: 0.4s;
    }

    .fadeIn.second {
        -webkit-animation-delay: 0.6s;
        -moz-animation-delay: 0.6s;
        animation-delay: 0.6s;
    }

    .fadeIn.third {
        -webkit-animation-delay: 0.8s;
        -moz-animation-delay: 0.8s;
        animation-delay: 0.8s;
    }

    .fadeIn.fourth {
        -webkit-animation-delay: 1s;
        -moz-animation-delay: 1s;
        animation-delay: 1s;
    }

/* Simple CSS3 Fade-in Animation */
.underlineHover:after {
    display: block;
    left: 0;
    bottom: -10px;
    width: 0;
    height: 2px;
    background-color: #56baed;
    content: "";
    transition: width 0.2s;
}

.underlineHover:hover {
    color: #0d0d0d;
}

    .underlineHover:hover:after {
        width: 100%;
    }



/* OTHERS */

*:focus {
    outline: none;
}

#icon {
    width: 90%;
}

.logo {
    padding-top: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #ececec;
    margin-bottom: 30px;
    width: 100%;
}

.black {
    color: #000 !important;
}

.h319 {
    height: 348px;
}

.cdropdown {
    border: 2px solid #f6f6f6 !important;
    opacity: 1;
    border-radius: 5px;
    padding: 4px;
    width: 100%;
    color: #757575;
    font-family: IranianSans;
    font-size: 12px;
    height: 39px;
    margin-bottom: 25px;
}
input[type=text], input[type=password] {
    background-color: #fff;
    border: none;
    color: #0d0d0d;
    padding: 8px;
    text-align: right;
    font-family: IranianSans;
    text-decoration: none;
    direction: rtl;
    display: inline-block;
    font-size: 13px;
    width: 100%;
    border: 2px solid #f6f6f6;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
}
.fz20{
    font-size:20px;
}
textarea {
    background-color: #fff;
    border: none;
    color: #0d0d0d;
    padding: 8px;
    text-align: right;
    font-family: IranianSans;
    text-decoration: none;
    direction: rtl;
    display: inline-block;
    font-size: 13px;
    margin-bottom: 25px;
    width: 100%;
    border: 2px solid #f6f6f6;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
}

    input[type=text]:focus {
        background-color: #fff;
        border: 2px solid #000;
    }

    input[type=text]:placeholder {
        color: #cccccc;
        !important;
    }

.cdropdown {
    border: 2px solid #f6f6f6 !important;
    opacity: 1;
    border-radius: 5px;
    padding: 4px;
    width: 100%;
    color: #757575;
    font-family: IranianSans;
    font-size: 12px;
    height: 39px;
    margin-bottom: 25px;
}

h5 {
    font-size: 1rem;
    position: relative;
}

    h5 span {
        background-color: white;
        padding-left: 10px;
        z-index: 10;
        position: relative;
        font-family: 'IranianSans'
    }

    h5:after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 0.5em;
        border-top: 1px solid black;
        z-index: 8;
    }

input[type=button], input[type=submit], input[type=reset] {
    background-color: #000;
    border: none;
    color: white;
    text-align: center;
    font-size: 16px;
    border-radius: 50px;
    width: 100%;
    font-family: yekanbakh
}

    input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover {
        background-color: #313131;
    }