﻿/* BASIC STYLES */
@import url('reset.css');
@font-face {
    font-family: Vazir;
    src: url('../font/Vazir.eot');
    src: url('../font/Vazir.eot?#iefix') format('embedded-opentype'), url('../font/Vazir.woff2') format('woff2'), url('../font/Vazir.woff') format('woff'), url('../font/Vazir.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: Vazir;
    src: url('../font/Vazir-Bold.eot');
    src: url('../font/Vazir-Bold.eot?#iefix') format('embedded-opentype'), url('../font/Vazir-Bold.woff2') format('woff2'), url('../font/Vazir-Bold.woff') format('woff'), url('../font/Vazir-Bold.ttf') format('truetype');
    font-weight: bold;
}

@font-face {
    font-family: Vazir;
    src: url('../font/Vazir-Light.eot');
    src: url('../font/Vazir-Light.eot?#iefix') format('embedded-opentype'), url('../font/Vazir-Light.woff2') format('woff2'), url('../font/Vazir-Light.woff') format('woff'), url('../font/Vazir-Light.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: Vazir;
    src: url('../font/Vazir-Medium.eot');
    src: url('../font/Vazir-Medium.eot?#iefix') format('embedded-opentype'), url('../font/Vazir-Medium.woff2') format('woff2'), url('../font/Vazir-Medium.woff') format('woff'), url('../font/Vazir-Medium.ttf') format('truetype');
    font-weight: 500;
}


@font-face {
    font-family: Vazir;
    src: url('../font/Vazir-Thin.eot');
    src: url('../font/Vazir-Thin.eot?#iefix') format('embedded-opentype'), url('../font/Vazir-Thin.woff2') format('woff2'), url('../font/Vazir-Thin.woff') format('woff'), url('../font/Vazir-Thin.ttf') format('truetype');
    font-weight: 100;
}


@font-face {
    font-family: Vazir;
    src: url('../font/Vazir-Black.eot');
    src: url('../font/Vazir-Black.eot?#iefix') format('embedded-opentype'), url('../font/Vazir-Black.woff2') format('woff2'), url('../font/Vazir-Black.woff') format('woff'), url('../font/Vazir-Black.ttf') format('truetype');
    font-weight: 900;
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Vazir' !important;
    direction: rtl !important;
}

header {
    width: 100%;
}

ul {
    list-style: none;
}

/* NAV BAR */
#nav_bar {
    float: right;
}

    #nav_bar li {
        display: inline-block;
        padding: 8px;
    }

    #nav_bar #sign_in {
        background: #4887ef;
        margin-right: 25px;
        padding: 7px 15px;
        border-radius: 3px;
        font-weight: bold;
    }

.nav-links {
    color: #404040;
}

a {
    text-decoration: none;
    color: inherit;
}

li.nav-links a:hover {
    text-decoration: underline;
}

#sign_in:hover {
    box-shadow: 1px 1px 5px #999;
}

#sign_in {
    color: #fff;
}

/* GOOGLE AREA */
.google #google_logo {
    text-align: center;
    display: block;
    margin: 0 auto;
    clear: both;
    /* padding-top: 112px; */
    padding-bottom: 20px;
    font-size: x-large;
}

.form {
    text-align: center;
}

#form-search {
    width: 450px;
    line-height: 32px;
    padding: 20px 10px;
}

.form #form-search {
    padding: 0 8px;
}

/*#form-search:hover {
  border-color: #e4e4e4;
  padding-top: 0;
}*/

.buttons {
    text-align: center;
    padding-top: 30px;
    margin-bottom: 300px;
}

/* FOOTER */
footer {
    background: #f2f2f2;
    border-top: solid 2px #e4e4e4;
    /*   position: fixed; */
    bottom: 0;
    padding-bottom: 0;
    width: 100%;
}

    footer ul li {
        display: inline;
        color: #666666;
        font-size: 14px;
        padding: 13px;
    }

    footer ul {
        float: left;
        padding: 1px;
    }

        footer ul a:hover {
            text-decoration: underline;
        }

.footer-right {
    float: right;
}

/* MEDIA QUERIES */

@media screen and (max-width: 400px) {

    li.nav-links a {
        display: none;
    }

    #google_logo {
        padding: 0;
    }

    .buttons {
        display: none;
    }

    #form-search {
        width: 80%;
    }

    footer {
        bottom: 0;
    }

        footer ul {
            float: none;
            padding-bottom: 2px;
        }

    .footer-left {
        text-align: center;
        margin: auto;
        padding-top: 10px;
    }

    .footer-right {
        float: none;
        text-align: center;
    }
}

@media screen and (max-width: 565px) {

    li.nav-links a {
        display: none;
    }


    #google_logo {
        padding: 0;
    }

    .buttons {
        display: none;
    }

    #form-search {
        width: 80%;
    }

    footer {
        /*    bottom: 0;
   postion: absolute; */
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 60px;
    }

        footer ul {
            float: none;
            padding-bottom: 2px;
        }

    .footer-left {
        text-align: center;
        margin: auto;
        padding-top: 10px;
    }

    .footer-right {
        float: none;
        text-align: center;
    }
    .rtl {
        direction: rtl
    }
}
/* .active { */
/*     color: #fff; */
/*     background-color: #17a2b8; */
/*     border-color: #17a2b8; */
/* } */
/*******************
Preloader
********************/
.preloader {
    width: 100%;
    height: 100%;
    top: 0px;
    position: fixed;
    z-index: 99999;
    background: rgba(226, 227, 222, 0.87);
}

.lds-ripple {
    display: inline-block;
    position: relative;
    width: 130px;
    height: 130px;
    position: absolute;
    top: calc(50% - 3.5px);
    left: calc(50% - 3.5px);
}

.lds-ripple .lds-pos {
    position: absolute;
    border: 2px solid #2962FF;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.1, 0.5, 1) infinite;
}

.lds-ripple .lds-pos:nth-child(2) {
    animation-delay: -0.5s;
}

@keyframes lds-ripple {
    0% {
        top: 28px;
        left: 28px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 28px;
        left: 28px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: -1px;
        left: -1px;
        width: 58px;
        height: 58px;
        opacity: 0;
    }
}

#form-search {
    background: #fff;
    display: flex;
    border: 1px solid #dfe1e5;
    box-shadow: none;
    border-radius: 24px;
    z-index: 3;
    height: 44px;
    margin: 0 auto;
    width: 482px;
}
#form-search:hover {
    box-shadow: 0 1px 6px 0 rgba(32,33,36,0.28);
    border-color: rgba(223,225,229,0)
}
#google_search:hover {
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    background-image: -webkit-linear-gradient(top,#f8f8f8,#f1f1f1);
    background-color: #fa6672;
    border: 1px solid #c6c6c6;
    color: #222;
}
#google_search {
    background-image: -webkit-linear-gradient(top,#4798e8,#4798e8);
    background-color: #4798e8;
    border: 1px solid #4798e8;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    margin: 11px 4px;
    padding: 0 16px;
    line-height: 27px;
    height: 36px;
    min-width: 54px;
    text-align: center;
    cursor: pointer;
    user-select: none;
}