
@charset "utf-8";
/* CSS Document */


/* =========================================================
   RESET
========================================================= */

html,
body,
div,
span,
canvas {
    margin: 0;
    padding: 0;
}

img {
    border-style: none;
    max-width: 100%;
}


/* =========================================================
   FONT
========================================================= */

@font-face {
    font-family: "BYekan";
    src:
        url("BYekan.eot") format("eot"),
        url("BYekan.woff") format("woff"),
        url("BYekan.ttf") format("truetype");
    font-display: swap;
}


/* =========================================================
   TOP / HEADER
========================================================= */

#top {
    position: relative;
    width: 100%;
    height: 397px;
    margin: 0 auto;
    background-image: url(images/top2.jpg);
    background-position: center;
    background-repeat: no-repeat;
}


/* =========================================================
   ANIMATION ELEMENTS
========================================================= */

div.a {
    position: absolute;
    z-index: 2;
    will-change: transform;
}

.nudge2 {
    display: block;
    width: 130px;
    height: 130px;
}

.move {
    display: block;
    float: right;
    padding: 10px 1% 0;
    width: 10%;
    height: 30px;
}


/* =========================================================
   LINKS / MENU
========================================================= */

a#menu-link {
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-family: BYekan;
    font-size: 100%;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 1);
}

a.fade {
    color: #fff;
    text-decoration: none;
    transition: color 0.4s ease, transform 0.4s ease;
}

a.fade:hover {
    color: #ffcc00;
    transform: translateY(-2px);
}

.menuel {
    background-image: url(images/menu.png);
    background-position: top;
    width: 107px;
    height: 57px;
}


/* =========================================================
   ROUNDED IMAGES
========================================================= */

.rounded-img {
    display: inline-block;
    border: solid 1px #000;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
}

.rounded-img2 {
    display: inline-block;
    border-radius: 10px;
}


/* =========================================================
   NAVIGATION
========================================================= */

.NAV {
    position: relative;
    left: 0;
    z-index: 999;

    width: 100%;
    height: 50px;
    margin-top: 45px;

    color: #fff;
    font-family: BYekan;
    font-size: 18px;
    text-align: center;

    border-top: 0 solid #52596c;

    background: #3e465a;
    background-image: linear-gradient(
        to bottom,
        #3e465a,
        #333b4b
    );
}

#nav_main {
    position: relative;
    margin-top: 45px;
    color: #fff;
    font-family: BYekan;
    font-size: 18px;
    text-align: center;
}

#nav_inner {
    max-width: 800px;
    margin: 10px auto 0;
    padding: 10px 0 0;
}


/* =========================================================
   DOWN MENU
========================================================= */

.downmenu {
    height: 450px;
    background-image: linear-gradient(
        to bottom,
        #fff,
        #d4e9ee
    );
}


/* =========================================================
   ALERT / MESSAGE BOXES
========================================================= */

.info,
.success,
.warning,
.alert,
.validation {
    width: 70%;
    margin: 10px auto;
    padding: 9px 50px;

    font-family: Tahoma, Geneva, sans-serif;
    font-weight: normal;
    font-size: 12px;

    border: 1px solid;
    border-radius: 10px;

    background-repeat: no-repeat;
    background-position: 99.95% center;
}

.info {
    color: #00529B;
    background-color: #BDE5F8;
    background-image: url(images/info.png);
}

.success {
    color: #4F8A10;
    background-color: #DFF2BF;
    background-image: url(images/success.png);
}

.warning {
    color: #9F6000;
    background-color: #FEEFB3;
    background-image: url(images/warning.png);
}

.alert {
    color: #D8000C;
    background-color: #FFBABA;
    background-image: url(images/alert.png);
}


/* =========================================================
   BELOW HEADER
========================================================= */

#belowheaderwrapper {
    position: relative;
    z-index: 1000;

    clear: both;
    overflow: hidden;

    margin: -18px 0 0 30px;

}

#belowheader {
    max-width: 960px;
    margin: 2px auto 0;
}

#belowheader li {
    width: 20%;
    height: 165px;
    margin: 0 2%;

    float: left;
    list-style: none;

    text-align: center;
    font-family: BYekan;
    font-size: 15px;
    line-height: 1;
    direction: rtl;

    text-shadow: -1px 2px 1px rgba(0, 0, 0, .15);
}

.home #belowheader li {
    height: 165px;
}

#belowheader li span {
    background-repeat: no-repeat;
}

#belowheader li .bottom a {
    display: block;

    width: 90%;
    max-width: 130px;
    height: 125px;

    margin: 0 auto;
    padding-top: 4px;

    color: #fff;
    text-decoration: none;
}

.home #belowheader li .bottom a {
    height: 135px;
    padding-top: 0;
}

#belowheader li .top {
    display: block;

    height: 15px;

    background-position: center top;

    transition: all 0.25s ease;
}

#belowheader li:hover .top {
    height: 25px;
}

#belowheader li .bottom {
    display: block;
    background-position: center bottom;
}

#belowheader li.orange {
    margin: 0 3.5%;
}

#belowheader li.teal span.top,
#belowheader li.teal span.bottom {
    background-image: url(images/ribbon-teal.png);
}

#belowheader li.pink span.top,
#belowheader li.pink span.bottom {
    background-image: url(images/ribbon-pink.png);
}

#belowheader li.green span.top,
#belowheader li.green span.bottom {
    background-image: url(images/ribbon-green.png);
}

#belowheader li.orange span.top,
#belowheader li.orange span.bottom {
    background-image: url(images/ribbon-orange.png);
}

#belowheader li img {
    display: block;
    margin: 0 auto 5px;
}


/* =========================================================
   LISTS
========================================================= */

.fancy_list li {
    width: 48%;
    margin: 5px 1%;

    float: right;

    list-style-image: url(images/list.png);

    font-family: Tahoma, Geneva, sans-serif;
    font-size: 12px;
}

.fancy li {
    margin: 5px 2px;

    list-style-image: url(images/star.png);

    font-family: Tahoma, Geneva, sans-serif;
    font-size: 12px;
}

#menurast ul.fancy,
#menuchap ul.fancy {
    padding: 0;
    margin: 30px;
}


/* =========================================================
   MAIN CONTAINERS
========================================================= */

#container {
    position: absolute;
    top: 0;
    right: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;
    pointer-events: none;
}

#pixie {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    pointer-events: none;
}

#container_inner {
    width: 300px;
    margin: 0 auto;

    position: relative;
    text-align: right;
}

#container_inner2 {
    position: relative;

    float: right;

    width: 100px;
    height: 100px;
}

#ball_box {
    position: relative;

    float: right;

    width: 100px;
    height: 100px;
}


/* =========================================================
   HEADER CONTENT
========================================================= */

#header {
    position: relative;
    width: 100%;
    height: 120px;
}

#title {
    width: 50%;
    height: auto;

    margin: 0 auto;

    direction: rtl;
    text-align: center;

    text-shadow: 2px 2px 5px rgba(150, 150, 150, 1);
}

#title span {
    color: #07487e;
    font-family: BYekan;
    font-size: 25px;
}

#menu-toggle {
    display: none;

    padding: 10px;

    cursor: pointer;

    text-align: right;
    font-family: BYekan;
}

#menu {
    display: block;
}


/* =========================================================
   CONTENT
========================================================= */

#sefid {
    position: relative;

    width: 100%;
    height: inherit;

    margin: 20px 0;

    direction: rtl;
}

#margin {
    width: 60%;
    margin: 0 auto;
}


/* =========================================================
   SIDE MENUS
========================================================= */

#menuchap,
#menurast {
    position: absolute;
    top: 30px;

    width: 15%;

    border-radius: 10px;

    background-image: url(images/noise_shade1.png);
}

#menuchap {
    left: 0;
    height: inherit;
}

#menurast {
    right: 0;
    height: 200px;
}

#menuchap2 {
    width: 120px;
    margin: 60px auto 30px;
}

menurasttitle2 {
    float: right;

    margin: 0 5px;

    color: #fff;
    font-family: Tahoma;
    font-size: 12px;
}

menurasttitle3 {
    clear: both;

    margin: 60px 5px 0;

    direction: rtl;
    text-align: right;

    color: #fff;
}

#menuchaptitle,
#menurasttitle {
    position: absolute;
    top: 0;
    right: 0;

    width: 80%;
    height: 20px;

    margin: 0 20px;

    float: right;

    color: #fff;
    font-family: Tahoma;
    font-size: 12px;

    background-color: #39C;
    border-radius: 5px 0 0 5px;
}


/* =========================================================
   RANDOM / RIPPLE
========================================================= */

#rand {
    position: absolute;
    bottom: 37px;
    z-index: 555;

    width: 100%;
    height: 4px;

    background-image: url(images/ripple_sprite.png);
    background-position: 0 -4px;
    background-repeat: repeat-x;
}


/* =========================================================
   IDE
========================================================= */

#ide {
    position: relative;

    width: inherit;

    background-image: url(../../../template/ide.gif);
    background-repeat: no-repeat;
    background-position: center 10px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    body {
        margin: 0;
        direction: rtl;
        overflow-x: hidden;
    }


    /* -------------------------
       IDE
    ------------------------- */

    #ide {
        background-size: 100%;
    }


    /* -------------------------
       SIDE MENUS
    ------------------------- */

    #menuchap,
    #menurast {
        display: none;

        position: relative !important;

        width: 90% !important;
        height: auto !important;

        margin: 10px auto !important;

        clear: both;

        border-radius: 20px !important;

        background-repeat: repeat !important;
    }

    #menuchaptitle,
    #menurasttitle {
        position: relative !important;

        top: auto !important;
        right: auto !important;
        left: auto !important;

        width: 30% !important;
        height: 30px !important;

        margin: 10px 0 !important;

        border-radius: 10px !important;
    }

    #menuchap > div:first-child,
    #menurast > div:first-child {
        position: static !important;

        width: 100% !important;

        margin: 0 !important;

        text-align: center !important;
    }

    #menuchap div,
    #menurast div {
        margin: 10px auto !important;
        text-align: center !important;
    }

    #menurast ul.fancy {
        padding: 0;
        margin: 10px 0;
        text-align: center;
    }

    #menurast ul.fancy li {
        display: block;
        margin: 5px 0;
    }


    /* -------------------------
       RIPPLE
    ------------------------- */

    #rand {
        bottom: 50px;
    }


    /* -------------------------
       MAIN
    ------------------------- */

    #margin {
        width: 95% !important;
    }

    #header {
        height: auto !important;
    }

    #title {
        width: 100% !important;
        font-size: 18px !important;
    }


    /* -------------------------
       MOBILE MENU
    ------------------------- */

    #menu-toggle {
        display: block !important;

        padding: 10px;

        cursor: pointer;

        color: #fff;
        text-align: center;

        background: #07487e;
    }

    #menu {
        display: none;

        height: 350px;

        padding: 5px 0;

        background: #07487e;
    }

    .menuel {
        width: auto;

        padding: 12px 15px;

        text-align: right;
        font-size: 15px;
        color: #fff;

        background: #07487e;
    }

    .menuel:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    #menu .move {
        width: 100% !important;
        margin: 0;

        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    #menu a {
        display: block;
    }


    /* -------------------------
       TOP
    ------------------------- */

    #top {
        height: 397px;
        background-repeat: no-repeat;
    }


    /* -------------------------
       CONTAINER
    ------------------------- */

    #container {
        position: relative !important;

        top: 0;

        width: 100%;
        height: 300px !important;

        overflow: hidden;
    }


    /* -------------------------
       BELOW HEADER
    ------------------------- */

    #belowheader li {
        width: 48% !important;

        margin: 1% !important;

        float: right;
    }


    /* -------------------------
       CONTENT
    ------------------------- */

    div[style*="width:68%"] {
        width: 100% !important;

        margin: 20px auto !important;
    }


    /* -------------------------
       NAV
    ------------------------- */

    .NAV {
        position: static !important;

        height: auto;

        font-size: 14px !important;
    }

}

