﻿@font-face {
    font-family: 'fontv';
    src: url('../fonts/vazir.ttf') format('truetype');
}

@font-face {
    font-family: 'fonty';
    src: url('../fonts/byekan.ttf') format('truetype');
}

@font-face {
    font-family: 'fontt';
    src: url('../fonts/btitr.ttf') format('truetype');
}

body {
    margin:0px;
    direction:rtl;
    width:100%;
}

a{
    text-decoration:none;
}

#menubar {
    width: 100%;
    height: 90px;
    background-color: white;
    font-family:fontt;
}

#btnlogin{
    border:1px solid darkblue;
    border-radius:5px;
    width:120px;
    height:40px;
    margin:25px 15px;
    text-align:center;
    font-family:fonty;
    font-size:16px;
    font-weight:700;
    line-height:40px;
}

    #btnlogin:hover{
        background-color:#e4eaed;
    }

#toolbar {
    width: 100%;
    height: auto;
    background-color: darkblue;
    font-family: fonty;
    clear: both;
}

#toolbarsub{
    margin:0 auto;
    height:100%;
    width:100%;
}

.toolbaritem, .toolbaritemred {
    margin: 0;
    height: 40px;
    width: auto;
    float:right;
    color:white;
    font-family:fonty;
    line-height:40px;
    padding:0 10px;
}

    .toolbaritemred{
        color:red;
    }

    .toolbaritem:hover {
        background-color: darkred;
        cursor: pointer;
    }

    .toolbaritemred:hover {
        background-color: yellow;
        cursor: pointer;
    }

#mybody {
    width: 100%;
    height: auto;
    min-height: 400px;
    background-color: white;
    font-family: fontv;
    padding: 20px;
    box-sizing: border-box;
}

.mybodyitem {
    width: 100%;
    float: right;
    box-sizing: border-box;
    height: auto;
}

.mybodybox {
    width: calc(100%  - 20px);
    height: 256px;
    border: 1px solid silver;
    box-sizing: border-box;
    box-shadow: 5px 5px 8px silver, -5px -5px 8px silver;
    float: right;
    margin: 10px auto;
    border-radius: 5px;
    cursor: default;
    padding: 20px;
    transition: all 0.5s ease-in-out;
    text-align: center;
    font-family: fonty;
    font-weight: 700;
    font-size: 13px;
}

    .mybodybox:hover {
        transition: all 0.5s ease-in-out;
        background-color: orange;
        box-shadow: 15px 15px 0px black;
        cursor:pointer;
    }

#footer {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

#footblue {
    position: absolute;
    top: 0px;
    left: -50%;
    width: 200%;
    height: 100%;
    background-color: darkblue;
    z-index: 3;
    border-radius: 50%;
    color: white;
    padding: 20px 5px;
    font-family: fonty;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}

#footwhite {
    position: absolute;
    top: 0px;
    left: -50%;
    width: 200%;
    height: 900px;
    background-color: white;
    border-radius: 50%;
    margin-top: 125px;
    z-index: 5;
}

@media only screen and (min-width: 481px) {

    .mybodybox {
        width: calc(100% / 2 - 20px);
        margin: 10px;
    }
}

@media only screen and (min-width: 700px) {

    .mybodybox {
        width: calc(100% / 3 - 20px);
        margin: 10px;
    }
}

@media only screen and (min-width: 800px) {

    .mybodyitem {
        width: 100%;
    }

}

@media only screen and (min-width: 905px) {

    .mybodybox {
        width: calc(100% / 4 - 20px);
        margin: 10px;
    }
}