@font-face {
    font-family: "iransans";
    src: url("fonts/eot/IRANSans(FaNum)_Medium.eot ");
    src: url("fonts/ttf/IRANSansWeb(FaNum).ttf");
    src: url("fonts/woff/IRANSansWeb(FaNum).woff");
    src: url("fonts/woff2/IRANSansWeb(FaNum).woff2");
}

body {

    background-size: 100% 100%;
    background-attachment: fixed;
    height: 200px;
    width: 100%;
    font-family: "AP Yekan";

}

.dropbtn {
    background-color: lightgray;
    color: black;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    font-family: IRANYekan;
}

.dropdown {
    position: relative;
    display: inline-block;
    font-family: IRANYekan;
    direction: rtl;

}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #f9f9f9;
    min-width: 250px;

    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;

}

.dropdown-content a:hover {
    background-color: darkgray;
    color: black
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: white;
}

.w3-modal {
    z-index: 3;
    display: none;
    padding-top: 100px;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    font-family: IRANYekan;

}

.w3-modal-content {
    margin: auto;
    background-color: #fff;
    position: relative;
    padding: 0;
    outline: 0;
    width: 600px
}

.w3-card-4, .w3-hover-shadow:hover {
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2), 0 4px 20px 0 rgba(0, 0, 0, 0.19)
}

.w3-animate-top {
    position: relative;
    animation: animatetop 0.4s
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}

@media (max-width: 600px) {
    .w3-modal-content {
        margin: 0 10px;
        width: auto !important
    }

    .w3-modal {
        padding-top: 30px
    }

    .w3-dropdown-hover.w3-mobile .w3-dropdown-content, .w3-dropdown-click.w3-mobile .w3-dropdown-content {
        position: relative
    }

    .w3-hide-small {
        display: none !important
    }

    .w3-mobile {
        display: block;
        width: 100% !important
    }

    .w3-bar-item.w3-mobile, .w3-dropdown-hover.w3-mobile, .w3-dropdown-click.w3-mobile {
        text-align: center
    }

    .w3-dropdown-hover.w3-mobile, .w3-dropdown-hover.w3-mobile .w3-btn, .w3-dropdown-hover.w3-mobile .w3-button, .w3-dropdown-click.w3-mobile, .w3-dropdown-click.w3-mobile .w3-btn, .w3-dropdown-click.w3-mobile .w3-button {
        width: 100%
    }
}

@media (max-width: 768px) {
    .w3-modal-content {
        width: 500px
    }

    .w3-modal {
        padding-top: 50px
    }
}

@media (min-width: 993px) {
    .w3-modal-content {
        width: 900px
    }

    .w3-hide-large {
        display: none !important
    }

    .w3-sidebar.w3-collapse {
        display: block !important
    }
}
.w3-teal,.w3-hover-teal:hover{color:black!important;background-color:lightblue!important}
.w3-display-topright{position:absolute;right:0;top:0}
.w3-container, .w3-panel {
    padding: 1em 20px
}

.w3-btn, .w3-button {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.w3-disabled, .w3-btn:disabled, .w3-button:disabled {
    cursor: not-allowed;
    opacity: 0.3
}

.w3-dropdown-hover:hover > .w3-button:first-child, .w3-dropdown-click:hover > .w3-button:first-child {
    background-color: #ccc;
    color: #000
}

.w3-bar-block .w3-dropdown-hover .w3-button, .w3-bar-block .w3-dropdown-click .w3-button {
    width: 100%;
    text-align: left;
    padding: 8px 16px
}

.w3-bar .w3-button {
    white-space: normal
}

.w3-dropdown-hover.w3-mobile, .w3-dropdown-hover.w3-mobile .w3-btn, .w3-dropdown-hover.w3-mobile .w3-button, .w3-dropdown-click.w3-mobile, .w3-dropdown-click.w3-mobile .w3-btn, .w3-dropdown-click.w3-mobile .w3-button {
    width: 100%
}


.welcome {
    background-color: lightgrey;
    width: 100%;
    color: black;
    font-size: 20px;
    height: auto;
}

.searchPardakht {
    background-color: lightgrey;
    width: 100%;
    color: black;
    font-size: 20px;
    height: auto;
}

.dashboard {
    padding: 30px;
    width: 500px;
    height: auto;
    position: absolute;
    background-color: lightgrey;
    left: calc(50% - 270px);
    top: calc(50% - 200px);
    border-radius: 10px;
    color: black;
    font-size: 16px;
    font-family: IRANYekan;
}

.portal-exit {
    font-size: 50px;
    color: black;
}

.customerName {
    font-size: 20px;
    font-family: IRANYekan;
}

.rtl {
    direction: rtl;
}

/* define a fixed width for the entire menu */
.navigation {
    width: 300px !important;
}

/* reset our lists to remove bullet points and padding */
.mainmenu, .submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right !important;
    font-size: 16px;
    font-family: IRANYekan;
}

/* make ALL links (main and submenu) have padding and background color */
.mainmenu a {
    display: block;
    background-color: lightgrey;
    text-decoration: none;
    padding: 10px;
    color: black;
    text-align: right;
}

/* add hover behaviour */
.mainmenu a:hover {
    background-color: white;
    color: black;
}


/* when hovering over a .mainmenu item,
  display the submenu inside it.
  we're changing the submenu's max-height from 0 to 200px;
*/

.mainmenu li:hover .submenu {
    display: block;
    max-height: 200px;
    text-align: right;
}

/*
  we now overwrite the background-color for .submenu links only.
  CSS reads down the page, so code at the bottom will overwrite the code at the top.
*/

.submenu a {
    background-color: darkgray;
    text-align: right;
}

/* hover behaviour for links inside .submenu */
.submenu a:hover {
    background-color: white;

}

/* this is the initial state of all submenus.
  we set it to max-height: 0, and hide the overflowed content.
*/
.submenu {
    overflow: hidden;
    max-height: 0;
    -webkit-transition: all 0.5s ease-out;
}

.admin {
    width: 100%;
    box-sizing: border-box;
    background-color: whitesmoke;
    color: white;

}

.admin .menu {
    width: 100%;
}

.borderinput {
    border: 2px inset lightgrey;
}

.btn-block {
    display: block;
    width: 100%;

}

.test_hint span.title {
    color: red;
    font: 12px tahoma !important;
}

/* The Modal (background) */
.modal_us {
    direction: rtl;
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(20, 19, 19, 0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content_us {
    direction: rtl;
    background-color: black;
    color: black;
    margin: 10% auto; /* 15% from the top and centered */
    padding: 30px;
    border: 1px inset #888;
    width: 50%; /* Could be more or less, depending on screen size */
    font-size: 20px;
}

/* The Close Button */
.close_us {
    color: deeppink;
    float: left;
    font-size: 30px;
    font-weight: bold;
}

.close_us:hover,
.close_us:focus {
    color: lightgrey;
    text-decoration: none;
    cursor: pointer;
}

.mt-10 {
    margin-top: 120px !important;
}

.modal-page {
    padding: 50px !important;
    width: 600px !important;
    height: 300px;
    position: absolute;
    background-color: lightgrey;
    left: calc(50% - 300px);
    top: calc(50% - 300px);
    border-radius: 10px;
}

.resetPass {
    padding: 30px;
    width: 500px;
    height: auto;
    position: absolute;
    background-color: lightgrey;
    left: calc(50% - 250px);
    top: calc(50% - 160px);
    border-radius: 10px;
    font-family: IRANYekan;
    font-size: 16px;
}

.login {

    padding: 30px;
    width: 500px;
    height: auto;
    position: absolute;
    background-color: lightgrey;
    left: calc(50% - 250px);
    top: calc(50% - 200px);
    border-radius: 10px;
}

.register {

    padding: 30px;
    width: 500px;
    height: 300px;
    position: absolute;
    background-color: lightgrey;
    left: calc(50% - 250px);
    top: calc(50% - 150px);
    border-radius: 10px;
}

.btn-block {
    display: block;
    width: 100%;

}

.verify {

    padding: 30px;
    width: 500px;
    height: auto;
    position: absolute;
    background-color: lightgrey;
    left: calc(50% - 250px);
    top: calc(50% - 225px);
    border-radius: 10px;
}

.register_first {

    padding: 30px;
    width: 500px;
    height: 550px;
    position: absolute;
    background-color: lightgrey;
    left: calc(50% - 250px);
    top: calc(50% - 275px);
    border-radius: 10px;
}

.enterData {

    padding: 30px;
    width: 600px;
    height: auto;
    position: absolute;
    background-color: lightgrey;
    left: calc(50% - 400px);
    top: calc(50% - 220px);
    border-radius: 10px;
}

.description {
    resize: none;
    height: 100px;
}
