@font-face {
    font-family: "IranSans";
    src: url('../font/IranSans/eot/IRANSansWeb(FaNum).eot');
    src: url('../font/IranSans/woff/IRANSansWeb(FaNum).woff') format('woff');
    src: url('../font/IranSans/ttf/IRANSansWeb(FaNum).ttf') format('truetype');
}

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

a:link, a:visited {
    outline: none;
}

a:link:active, a:visited:active {
    outline: none;
}

a:focus {
    color: #204230;
}

a, a:active, a:focus {
    outline: none !important;
}

a {
    text-decoration: none;
}

p {
    direction: rtl;
}

button {
    box-shadow: none !important;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: IranSans;
    /*background: linear-gradient(181deg, #fff 0%, #c8caca 51%, #636666 75%);*/
    /*height: 5800px;*/
    height: auto;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

@font-face {
    font-family: " font-awesome4.7.0";
    src: url('../font/font-awesome4.7.0/css/fontawesome-webfont.ttf') format("truetype");
}

/* /slideshow / */
.custom-slider , .custom-slide
{
    -webkit-transition: 1.5s all;
    -o-transition: 1.5s all;
    transition: 1.5s all;
}
::-webkit-scrollbar {
    width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 0;
    background: whitesmoke;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #01b3a7;
    transition:all .5s;
    border-radius: 0;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #162e44;
}

.custom-slider
{
    position: relative;
    height: 100vh;
    overflow: hidden;
}
.custom-slide
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center center !important;
    -webkit-background-size: cover !important;
    background-size: cover !important;
    -webkit-transform:  scale(2,2);
    -ms-transform:  scale(2,2);
    transform:  scale(2,2);
    opacity: 0;
}
.custom-slide:before
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.3);
}
.custom-caption
{
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    color:#fff;
    text-shadow: 0 4px 3px rgba(0,0,0,0.4),
    0 8px 13px rgba(0,0,0,0.1),
    0 18px 23px rgba(0,0,0,0.1) !important;
}

.custom-slide.active-slide
{
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    z-index: 5;
}
.custom-caption h2
{
    opacity: 0;
    -webkit-transform: scale(0,0);
    -ms-transform: scale(0,0);
    transform: scale(0,0);
    -webkit-transition: 1.5s all;
    -o-transition: 1.5s all;
    transition:1.5s all;
    transition-delay: 1s;
    font-size: 2.5rem;
}
.custom-caption h4
{
    opacity: 0;
    -webkit-transform:  scale(0,0);
    -ms-transform:  scale(0,0);
    transform:  scale(0,0);
    -webkit-transition: 2s all;
    -o-transition:2s all;
    transition: 2s all;
    transition-delay: 1.5s;
    margin-top: 35px;
}
.active-slide .custom-caption h2
{
    -webkit-transform: scale(1,1);
    -ms-transform: scale(1,1);
    transform: scale(1,1);
    opacity: 1;
}
.active-slide .custom-caption h4
{
    -webkit-transform: scale(1,1);
    -ms-transform: scale(1,1);
    transform: scale(1,1);
    opacity: 1;
}
/* /slideshow / */

/* /quotationBTN / */
#quotation {
    position: absolute;
    left: 260px;
    z-index: 100;
    color: #ffffff;
    background-color: #77b42a;
    border-color: #77b42a;
    padding: 7px 13px;
}
#quotation:hover {
    background-color: #488200;
    border-color: #488200;
}
/* /quotationBTN / */

/*/logo / */
.logo {
    cursor: pointer;
    text-decoration: none;
    outline: none;
    position: absolute;
    left: 4vw;
    z-index: 100;
}

.logopic {
    z-index: 100;
    /*float: left;*/
    /*padding: 16px;*/
}

.logo img{
    width: 100%;
    max-width: 155px;
}
/*/logo / */

/*/ navbar /*/
@media screen and (max-width: 767px){
    .header .navbar{
        top: 12px!important;
    }
}

.header .navbar{
    position: absolute!important;
    z-index: 100!important;
    /*left: 0;*/
    right: 3px;
    direction: rtl;
    top: 31px;
}

.header .bg-light {
    background-color:transparent!important;
    /*border-bottom: 0.5px solid #ffffff4f;*/
}

.navbar-nav .nav-link:hover{
    color: #77b42a !important;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1rem!important;
    padding-left: 1rem!important;
}

.nav-item .nav-link img{
    width: 25px;
    height: 25px;
}

.navbar .navbar-toggler{
    /*border-width: 2px!important;*/
    border: unset;
    outline: none;
}

.dropdown-toggle::after{
    vertical-align: 1px!important;
}

.dropdown-item{
    color: rgba(243,146,0,0.84)!important;
    padding: 0.30rem 1.5rem !important;
}

.dropdown-item:hover{
    background-color: rgba(20, 19, 21, 0.72) !important;
}

.dropdown-menu{
    text-align: right;
    font-size: smaller;
}

.navMenu .dropdown-menu {
    background: #f2f2f2;
}

@media screen and (max-width:991px){
    .navbar-nav .nav-item{
        padding: 0;
        text-align: right;
        /*background-color: rgba(0, 0, 0, 0.29);*/
    }
    ul{
        padding: 0;
    }
    .custom-caption h1{
        font-size: x-large;
    }
    .custom-caption h2{
        font-size: large;
    }
    .nav-item .nav-link , .dropdown-menu .dropdown-item {
        font-size: small;
    }
    .sidenav #login{
        top:390px;
    }
    .sidenav #contact{
        top:450px;
    }
}

.modal-content{
    background-color: #f2f2f2;
}

.modal-backdrop{
    z-index: 99;
}

.modal-header .close{
    margin: 0;
    padding: 0;
    line-height: 33px;
}

.form-inline .form-control {
    width: 70%;
    margin-left: 20px;
}

.form-control{
    border: 2px solid #f2f2f2;
}

.btn-outline {
    color:#004c6c;
    border-color: #004c6c;
}

.btn-outline:hover {
    color: #fff;
    background-color: #004c6c;
    border-color: #004c6c;
}

.btn-outline:focus-within{
    background-color: #004c6c;
    border-color: #004c6c;
    outline: none;
}

.form-control{
    height: 40px;
    font-size: 12px;
}

.nav-link .fa-search{
    font-family: " font-awesome4.7.0";
}

.navbar-nav .nav-item .modal-xl {
    margin: 1.75rem auto 0 auto;
}

.navbar-nav .nav-item .modal-xl .modal-body {
    text-align: right;
}

.navbar-nav .nav-item .modal-xl .modal-body #searchBox {
    width: 70%;
    display: inline;
}

.navbar-nav .nav-item .modal-xl .modal-body button:focus {
    color: #fff;
}

.result {
    max-height: 240px;
    background-color: #f2f2f2;
    border-radius: 4px;
    overflow-y: auto;
    margin: 0 auto 1rem auto;
    max-width: 1140px;
}

@media screen and (max-width: 1200px) {
    .result {
        max-width: 800px;
    }
}

@media screen and (max-width: 992px) {
    .result {
        max-width: 500px;
    }
}

@media screen and (max-width: 576px) {
    .result {
        max-width: 500px;
    }
}

.result .item {
    height: 90px;
    text-align: right;
    border-color: rgba(129,129,129,.2);
    border-bottom: 1px solid rgba(129,129,129,.2);
    padding: 7px;
}

.result .item .right {
    float: right;
    height: 80px;
}

.result .item .right img {
    width: auto;
    height: 95%;
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
}

.result .item .left {
    float: right;
    line-height: 75px;
}

.result .item .left span {
    color: #575757;
}

/*/ navbar /*/

/* /Sidenav / */
#mySidenav .sidebtn{
    /*position: absolute;*/
    position: fixed;
    right: -190px;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
    box-shadow:0 0 15px #777;
    color:#fff;
    width:250px;
    padding: 15px;
    font-size: 20px;
    z-index: 10;
    text-decoration: none;
    border-radius: 5px 0 0 5px;
}

#mySidenav .sidebtn:hover {
    right: 0;
    width: 150px;
}

#login {
    top: 300px;
    background-color: #004c6c;
}

#contact {
    top: 361px;
    background-color: #77b42a;
}

#mySidenav .sidebtn span{
    float: right;
    font-size: 13px;
}
/* /Sidenav / */

/* /Modal-sidenav / */
@media (min-width: 576px) {
    #mySidenav .modal .modal-dialog {
        /*margin: 1.75rem 0;*/
        float: none;
        width: auto;
    }
}

@media screen and (max-width: 640px) {
    #mySidenav .modal .modal-dialog {
        float: unset;
        width: auto;
        margin: 0;
    }
}

#mySidenav .modal .modal-dialog {
    width: 100%;
    float: right;
    margin-top: 7%;
}

#mySidenav .modal-header {
    border-bottom: unset !important;
    background-color: #ffffff;
}

#bt-login button {
    margin-right: 18px;
    margin-bottom: 25px;
    height: 45px;
}

#bt-login {
    text-align: right;
    background-color: #ffffff;
}

#bt-login a {
    color: #FFFFFF;
    text-align: center;
    text-transform: uppercase;
    font-size: 16px;
    text-decoration: none;
    display: block;
}

.modal-body {
    border-top: 1px solid #dee2e6;
    direction: rtl;
}

#modal-title {
    text-align: right;
    padding: 20px;
}

#modal-title span {
    font-size: 16px;
}

.modal-body ul li {
    list-style: square;
    line-height: 24px;
    font-size: 14px;
    margin-left: 20px;
    text-align: right;
}


.modal-dialog .btn-login {
    /*color:#241e46;*/
    /*border-color: #241e46;*/

    background: linear-gradient(28deg, #004c6c, #004c6c);
    width: 130px;
    height: 40px;
    line-height: 42px;
    padding: 0;
    border: none;
    color: #fff;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, .5), 7px 7px 20px 0px rgba(0, 0, 0, .1), 4px 4px 5px 0px rgba(0, 0, 0, .1);
    outline: none;
}


.modal-dialog .btn-login:hover {
    color: #fff;
    background-color: #004c6c;
    border-color: #004c6c;
}

.modal-dialog .btn-login:focus-within {
    background-color: #004c6c;
    border-color: #004c6c;
    outline: none;
}

.modal-footer {
    border-top: unset;
}

.modal-footer button:hover {
    color: #fff;
}

.modal-footer button:focus-within {
    background-color: #f39200;
    border-color: #f39200;
    outline: none;
}

.register {
    border-radius: 4px;
    background: linear-gradient(to right, #77b42a, #77b42a) !important;
    border: none;
    color: #FFFFFF;
    text-align: center;
    text-transform: uppercase;
    font-size: 18px;
    padding: 8px;
    width: 150px;
    transition: all 0.4s;
    cursor: pointer;
    margin: 5px;
    height: 45px;
}

.register a {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.4s;
    text-decoration: none;
    color: #FFFFFF;
}

.register a::after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}

.register:hover a {
    padding-right: 25px;
}

.register-link:focus {
    color: #FFFFFF;
}

.register:hover a:after {
    opacity: 1;
    right: 0;
}
/* /Modal-sidenav / */

/*alert*/
.alertNewUser .alert{
    z-index: 100;
    display: flex;
    align-items:center;
    padding: 0.55rem 0.65rem 0.55rem 0.75rem;
    border-radius:0.5rem;
    justify-content: space-between;
    margin-bottom: 2rem;
    box-shadow:
        0px 3.2px 13.8px rgba(0, 0, 0, 0.02),
        0px 7.6px 33.3px rgba(0, 0, 0, 0.028),
        0px 14.4px 62.6px rgba(0, 0, 0, 0.035),
        0px 25.7px 111.7px rgba(0, 0, 0, 0.042),
        0px 48px 208.9px rgba(0, 0, 0, 0.05),
        0px 115px 500px rgba(0, 0, 0, 0.07)
}
.alertNewUser .content{
    display: flex;
    align-items:center;
}
.alertNewUser .icon{
    padding: 0.5rem;
    margin-right: 1rem;
    margin-left: 1rem;
    border-radius:39% 61% 42% 58% / 50% 51% 49% 50%;
    box-shadow:
        0px 3.2px 13.8px rgba(0, 0, 0, 0.02),
        0px 7.6px 33.3px rgba(0, 0, 0, 0.028),
        0px 14.4px 62.6px rgba(0, 0, 0, 0.035),
        0px 25.7px 111.7px rgba(0, 0, 0, 0.042),
        0px 48px 208.9px rgba(0, 0, 0, 0.05),
        0px 115px 500px rgba(0, 0, 0, 0.07)
}
.alertNewUser .success{
    background-color: rgb(147, 196, 161);
    border:2px solid #3ebd61;
}
.alertNewUser .success .icon{
    background-color:#3ebd61;
}
/*alert*/

/*signature*/

#signature {
    position: absolute;
    bottom: 0;
    z-index: 10;
}

#signature hr {
    display: block;
    margin: 0.5em auto;
    border-width: 1px;
}

#signature img {
    margin-right: 5px;
    float: left;
    width: 15px;
    height: auto;
    margin-top: 5px;
}

#signature p {
    direction: ltr;
    line-height: 30px;
    font-size: 10px;
    color: #fff;
    margin: 0;
}
/*signature*/
