.k_y {
    float: right;
    width: 98%;
    height: 25px;
    background-color: #ddc5f5;
    color: red;
    margin-right: 2px;
    margin-top:1px;
    margin-bottom:3px;
    border-radius: 0;
    border: solid 2px #9b64d0;
    outline: none;
    text-align: right;
    direction: rtl;
}

.cls_span_tedaad {

    border: solid red 1px;
    border-radius: 5px;
    padding: 0 3px 0 3px;
    color: #1518e9;
    font-size: 14px;
    background-color: yellow;
}

* {
    font-family: "B Nazanin";
}

*:focus {
    color: blue;
    background-color: #ffff99;
}

button {
    /*margin-right: 5px;*/
    outline: none;
    float: right;
    height: 24px;
    background-color: #f5cc78cc;
    border-width: 0.5px;
    border-color: #f5cc78cc;
    outline-color: blue;
    padding: 1px 2px;
    font-size: 14px;
    font-weight: bold;
}

button:hover {
    background-color: #f378f5eb;
}

input {
    /*color: red;*/
    border: none;
    width: 50px;
    font-size: 14px;
    font-weight: bold;
    height: 22px;
    text-align: right;
    padding-right: 5px;
    border-radius: 5px;
}

textarea {
    /*color: red;*/
}

input:hover {
    background-color: lawngreen;
}

body {
    margin: 0;
}

div {
    float: right;
    border: solid;
    border-width: 1px;
    border-color: #08c9f7;
    box-sizing: border-box;
}

/*شروع زیر منو*/
.dropbtn {
    border-top-left-radius: 9px;
    border-bottom-left-radius: 9px;
    /*border: none;*/
    cursor: pointer;
    /*margin: 2px*/
}

.dropdown {
    /*height: 100%;*/
    /*z-index: 20;*/
    position: relative;
    display: inline-block;
}

.dropdown-content {
    text-align: right;
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: max-content;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    /*float: right;*/
    background-color: #f5cc78cc;
    border-width: 0.5px;
    border-color: #f5cc78cc;
    /*outline-color: blue;*/
    font-size: 14px;
    font-weight: bold;
    font-family: "B Nazanin";
    color: black;
    padding: 5px 5px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f378f5eb
}

/*.dropdown:hover .dropdown-content {*/
/*    display: block;*/
/*}*/

.dropdown:hover .dropbtn {
    background-color: #f378f5eb;
}

/*پایان زیرمنو*/

.none-radius {
    border-radius: 0px;
    padding: 1px 5px;
    min-width: 20px;
}
.both-radius1 {
    margin-right: 2px;
    padding: 1px 5px;
    background-color: #e29c0ccc;
    border-radius: 7px;
    border:solid 1px red;
    min-width: 20px;
}


.both-radius {
    color: #ffffff;
    margin-right: 2px;
    background-color: #4CAF50;
    border-radius: 7px;
    border-color: #059119;
    padding: 1px 5px;
    min-width: 20px;
}

.right-radius {
    margin-right: 2px;
    border-top-right-radius: 9px;
    border-bottom-right-radius: 9px;
    min-width: 20px;
}

.left-radius {
    border-top-left-radius: 9px;
    border-bottom-left-radius: 9px;
    min-width: 20px;
}

#fxnav {
    padding-top: 2px;
    padding-bottom: 2px;
    background-color: #0c2ef9ba;
    z-index: 2;
    width: 100%;
    height: auto;
    display: block;
    /*position: fixed;*/
}

#fxnav_m {
    padding-top: 2px;
    padding-bottom: 2px;
    background-color: #0c2ef9ba;
    z-index: 2;
    width: 100%;
    height: 10%;
    display: block;
    /*position: fixed;*/
}

#fxnav button {
    /*margin: 2px 0;*/
}

#hrtnav {
    /*height: 30px;*/
    background-color: #8495f7ba;
    width: 100%;
    display: block;
    /*top:26px;*/
    /*position: fixed;*/
    -webkit-animation-name: fadeIn; /* Fade in the background */
    -webkit-animation-duration: 0.6s;
    animation-name: fadeIn;
    animation-duration: 0.6s
}

#hrtnav button {
    margin: 0;
}

#vrtnav {
    /*position: fixed;*/
    z-index: 10;
    background-color: #8495f7ba;
    width: 70px;
    height: 590px;
    display: none;
    right: 0;
    top: 30px;
    padding: 2px;
    border-top-width: 0;
    -webkit-animation-name: fadeIn; /* Fade in the background */
    -webkit-animation-duration: 0.6s;
    animation-name: fadeIn;
    animation-duration: 0.6s
}

#vrtnav button {
    margin-top: 3px;
    width: 100%;
    display: inline-block;
}

#divbody {
    /*position: absolute;*/
    margin: 0;
    overflow-x: auto;
    /*background-color: #0c2ef9ba;*/
    height: 90%;
    /*height: 565px;*/
    display: block;
    padding: 7px;
    color: #000000;
    float: right;
    direction: rtl;
    /*min-height: 95%;*/
    text-align: justify;
    /*max-width: 600px;*/
    /*width: 1360px;*/
    width: 99%;
    /*width: 700px%;*/
    /*transition-duration: 2s;*/
}

#opndbdy {
    width: 190px;
    margin-left: 3px;
    margin-right: 3px;
    border-width: 2px;
    border-radius: 5px;
    border-color: blue;
    background-color: yellow;
    color: red;
}
#opndbdy_m {
    padding: 0;
    /*font-size: 18px;*/
    width: 60%;
    height: 100%;
    /*margin-left: 3px;*/
    /*margin-right: 3px;*/
    border-width: 2px;
    /*border-radius: 5px;*/
    border-color: blue;
    background-color: yellow;
    color: red;
}

/*کادر پائین صفحه - شروع*/
.modal {
    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(0,0,0,0.4); /* Black w/ opacity */
    -webkit-animation-name: fadeIn; /* Fade in the background */
    -webkit-animation-duration: 0.4s;
    animation-name: fadeIn;
    animation-duration: 0.4s
}

/* Modal Content */
.modal-content {
    width: 100%;
}

.modal-content-tree {
    height: 100%;
    width: 80%;
}

.mdl-animation {
    position: fixed;
    bottom: 0;
    background-color: #fefefe;
    -webkit-animation-name: slideIn;
    -webkit-animation-duration: 0.6s;
    animation-name: slideIn;
    animation-duration: 0.6s
}

/* The Close Button */
.close {
    color: black;
    float: right;
    font-size: 40px;
    font-weight: bolder;
}

.close:hover,
.close:focus {
    color: red;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    width: 100%;
    height: 30px;
    text-align: right;
    direction: rtl;
    padding: 2px 16px;
    background-color: #dfcde2;
    color: black;
}

.modal-body {
    overflow: scroll;
    width: 100%;
    height: 100%;
    text-align: right;
    direction: rtl;
    padding: 5px 5px;
    background-color: #85eff3;
    font-weight: bolder;
}

.modal-footer {
    text-align: right;
    direction: rtl;
    padding: 2px 16px;
    background-color: #f3c51e;
    color: white;
}

/*Add Animation */
@-webkit-keyframes slideIn {
    from {left: -300px; opacity: 0}
    to {left: 0; opacity: 1}
}

@keyframes slideIn {
    from {left: -300px; opacity: 0}
    to {left: 0; opacity: 1}
}

@-webkit-keyframes fadeIn {
    from {opacity: 0}
    to {opacity: 1}
}

@keyframes fadeIn {
    from {opacity: 0}
    to {opacity: 1}
}
/*کادر پائین صفحه - پایان*/

.ka {/*kaartable aamaar*/
    padding: 0.5px;
    border: solid;
    border-width: 1px;
    text-align: center;
    width: 30px;
    font-family: 'B Titr';
    font-size: 14px;
    font-weight: bolder;
    color: #1111f6 ;
}

.cls_clp {
    position: absolute;
    clip: rect(0px,200px,180px,0px);
}
