@media screen and (max-width: 767px) {
    #contentBox{ border-radius: 10px;
    border: 0px solid #330033;
    padding: 0px 8px 10px 3px;
    margin-bottom: 15px;
    box-shadow: 0px 5px 16px 0px rgba(0,0,0,0.4);
    width: 96%;}
    #rightbox { display:none } 
    #background{padding:0%;height: max-content}
    #container{height: 98%;border-radius: 0px;}
    #header{margin-top: 0px;width: 100%;border-top-left-radius: 0px;}
    #footersign{display:none}
    #button-footer-right{border-top-left-radius: 10px;
                         border-top-right-radius: 10px;
                         border-bottom-left-radius: 30px;
                         padding-bottom: 5px;
                         padding-top: 5px;}
    #button-footer-left{border-top-left-radius: 8px;
                        border-top-right-radius: 8px;
                        border-bottom-left-radius: 0px;
                        border-bottom-right-radius: 30px;
                        padding-bottom: 5px;
                        padding-top: 5px;}
    #button-footer-center{border-top-left-radius: 10px;
                          border-top-right-radius: 10px;
                          border-bottom-left-radius: 0px;
                          padding-bottom: 5px;
                          padding-top: 5px;}
    #leftbox{display: flex;
             flex-direction: column;
             flex-wrap: nowrap;
             justify-content: flex-start;
             align-items: stretch;
             align-content: stretch;}
    #box-in-menu{display: none}
    #calender{display: none}

}
@media screen and (min-width: 767px){
    #mobilemain{display:none}
    #iframe-mobile{display:none}
    #mobile-footer{display:none}
    #dropdown{display: none;}
}

.row1mobilemain{
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    align-content: stretch;
    font-size: 15px;
}

.mobilemain{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    align-content: stretch;
    width: 100%;
}
.iframe-mobile{
    width: 100%;
    height: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}
.mobile-footer{
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    align-content: stretch;
    width: 100%;
    margin-bottom: 5px;
    position: fixed; bottom: -5px; left: 0px; background-color: #660066; padding-bottom: 6px; padding-top: 5px;

    
}


.background{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    align-content: flex-end;
    padding: 1%;
    background: #9053c7;
    background: -webkit-linear-gradient(-135deg, #c850c0, #4158d0);
    background: -o-linear-gradient(-135deg, #c850c0, #4158d0);
    background: -moz-linear-gradient(-135deg, #c850c0, #4158d0);
    background: linear-gradient(-135deg, #c850c0, #4158d0);    font-family: yekan;
    font-size: 13px;
    height: max-content;
    
}

.header{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    align-content: stretch;
    height: 50px;
    width: 99%;
    background: #e8e8ed;
    margin-top: 5px;
    border-top-left-radius: 10px;
    font-family: yekan;
    font-size: 13px;
}

.logininfo{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    align-content: stretch;
}

.container{
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    align-content: flex-end;
    border-radius: 10px;
    border-width: 1px;
    border-color: black;
    background:white;
}

.rightbox{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    align-content: stretch;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    background: #e8e8ed;
    margin-top: 5px;
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 10px;
    font-family: yekan;;
    width: 19%;
    font-size: 13px;
}
.menu{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;

}

.leftbox{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-end;
    align-content: stretch;
    width: 100%;
}

.content2{
    padding: 2%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: stretch;
    direction: rtl;
    width: 96%;

}

.contentBox{
    border-radius: 10px;
    border: 0px solid #330033;
    padding: 0px 25px 15px 25px;
    margin-bottom: 15px;
    box-shadow: 0px 5px 16px 0px rgba(0,0,0,0.6);
    width: 95%;

}
.columnbox{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    align-content: stretch; 
}

.button {  
    background-color:#57b846; /* Green */
    border: none;
    color: white;
    padding: 0px 10px;
    margin-top: 2px;
    text-decoration: none;
    display: inline-block;
    font-family: Yekan;
    font-size: 14px;
    transition-duration: 0.4s;
    cursor: pointer;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.button1 {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    align-content: stretch;
    background-color: white; 
    color: black; 
    border: 1px solid #330033;
}

.button1:hover {
    background-color: #46d246;
    color: white;
}
.buttonpage{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    align-content: stretch;
    background-color: #2db92d;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    color: white;
    border: 1px solid #330033;
}

.sendbutton{
    font-family: yekan ;
    font-size: 15px;
    line-height: 1.5;
    color: white;
    text-transform: uppercase;
    border-width: 0px;
    height: 35px;
    border-radius: 25px;
    border: 1px solid #330033;
    background: #2db92d;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 25px;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;  
    box-shadow: 0px 4px 16px 0px rgba(0,0,0,0.1);

}

.mobilebuttonmenu{
    background-color:#57b846; /* Green */
    border: none;
    color: white;
    text-decoration: none;
    display: inline-block;
    font-family: Yekan;
    font-size: 14px;
    transition-duration: 0.4s;
    cursor: pointer;
    border: 2px solid #990099;
    border-radius: 100px;
    padding: 15px 15px;
    margin-top: 20px;
    width: 80px;
    height: 80px;
    max-width: 30%;
}

.mobilebuttonmenu1 {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: stretch;
    background: #e8e8ed;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    color: black; 
}

.form-element{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    align-content: stretch;
    direction: rtl;
}
.twocolform{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: baseline;
    align-content: stretch;
   
}
.form-button{
    direction: ltr;
}

.form-element2{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    align-content: stretch;
    direction: rtl;
}

.input{
    border-width: 0px;
    font-family: Yekan;
    font-size: 13px;
    background: #e6e6e6;
    border-radius: 25px;
    border: 1px solid #330033;
    padding: 0 20px 0 20px;
    margin-bottom: 10px;
}

.numberpage{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    align-content: stretch;
}

.lable1{
    font-weight: bold;
    font-size: 20;
    direction: rtl;
}

@font-face {
    font-family: 'Yekan';
    src: url('fonts/Yekan.eot?#') format('eot'),  
        url('fonts/Yekan.woff') format('woff'),
        url('fonts/Yekan.ttf') format('truetype');
    font-style:normal;
    font-weight:normal;
}

table, th, td , tr{
    direction : rtl;
    border: 1px solid gray;
    border-collapse: collapse;
    font-size: 12px;
}


td {
    padding: 3px 5px;
    
}

table th{
    padding: 5px;
    background-color: #660066;
    color: white;
}

/* Style The Dropdown Button */
.dropbtn {
    background-color: #4CAF50; 
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    /*  background-color: #e8e8ed; */
    background-color: #330033; 
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    right: 0px;
    top: 45px;
    height: 500px;
    direction: rtl;
    font-size: 16px;
    border-radius: 5px;
    border: 2px solid #330033;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-bottom: 0.5px solid #ccccff;

}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #f1f1f1;
                           color: black}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    background-color: #3e8e41;

}