section {
    width: 100%;
    display: block;
}


.sar {
    width: 100%;
    height: 80px;
    direction: rtl;
    background-color: #000000;
}

nav ul ul {
    display: none;
}

nav ul li:hover>ul {
    display: block;
}

nav ul {
    background-color: #000000;
    box-shadow: 0px 0px 9px rgba(0, 0, 0, 0.15);
    padding: 0 20px;
    border-radius: 10px;
    list-style: none;
    position: relative;
    display: inline-table;
    direction: rtl;
}

nav ul:after {
    content: "";
    clear: both;
    display: block;
}

nav ul li {
    border-radius: 40%;
    background-color: #d8d8d8;
    margin: 2px;
    float: right;
    position: relative;
    font-weight: bold;
}

nav ul li:hover {
    color: #fff;
    background: #a70101;
    font: bold;
}

nav ul li:hover a {
    color: rgb(255, 255, 255);
    font: bold;
}

nav ul li a {
    display: block;
    padding: 15px 32px;
    color: #4e4e4e;
    text-decoration: none;
}

nav ul ul ul {
    position: absolute;
    right: 100%;
    top: 0;
}

/****پایان استایل های  کانتینر 1********/
.divkol {
    width: 100%;
    display: flex;
}

.divchap {
    width: 70%;
    background-color: #dbdbdb;
}

.divrast {
    width: 30%;
    direction: rtl;
    text-align: center;
    background-color: rgba(234, 234, 234, 0.877);
}

input {
    width: 70%;
    height: 40px;
    text-align: center;
    border-radius: 10px;
    font-size: large;
}

.select2 {
    width: 80%;
    height: 40px;
    border-radius: 10px;
    border: #000000;
    font-size: 25px;

}

option {
    font-family: '', 'Mj_Shafigh Shade';
    color: #000000;
}

.divrast1 {
    padding: 10px;
}

.button1 {
    width: 20%;
    padding: 2em 2em;
    border: none;
    border-radius: 15px;
    font-weight: bold;
  letter-spacing: 1px;
    text-transform: uppercase;
    color: #000000;
    transition: all 1.5;
    font-size: 15px;
    position: relative;
    overflow: hidden;
    outline: 2px solid #2caf72;
}

.button1:hover {
    color: #fff;
    transform: scale(1.1);
    outline: 2px solid #70bdca;
    box-shadow: 4px 5px 17px -4px #268391;
    -webkit-box-reflect: below 15px linear-gradient(transparent, #0008);
}

.button1::before {
    content: "";
    position: absolute;
    left: -50px;
    top: 0;
    width: 0;
    height: 100%;
    background-color: #2c9caf;
    transform: skewX(45deg);
    z-index: -1;
    transition: width 2.5s;
}

.button1:hover::before {
    width: 250%;
}



.button2 {
    width: 20%;
    margin-right: 40px;
    padding: 2em 2em;
    border: none;
    border-radius: 15px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000000;
    transition: all 1.5;
    font-size: 15px;
    position: relative;
    overflow: hidden;
    outline: 2px solid #af392c;
}

.button2:hover {
    color: #fff;
    transform: scale(1.1);
    outline: 2px solid #70bdca;
    box-shadow: 4px 5px 17px -4px #268391;
    -webkit-box-reflect: below 15px linear-gradient(transparent, #0008);
}

.button2:before {
    content: "";
    position: absolute;
    left: -50px;
    top: 0;
    width: 0;
    height: 100%;
    background-color: #2c9caf;
    transform: skewX(45deg);
    z-index: -1;
    transition: width 2.5s;
}

.button2:hover::before {
    width: 250%;
}



/******شروع کد های کانتینر 8*******/
footer.footer8 {
    align-items: center;
    color: rgb(250, 250, 250);
    width: 100%;
    height: 400px;
}

.continer8 {
    direction: rtl;
    display: flex;
    text-align: center;
    align-items: center;
    margin: 0.5%;
    height: 98%;
}

.continer8right {
    font-size: xx-large;
    display: inline;
    text-align: right;
    height: 90%;
    width: 25%;

}

.adrescontiner8 {
    font-size: 110%;
    margin-top: 3%;
    padding-top: 6%;
}

.mtncontiner8right {
    margin-top: 2%;
    padding-top: 4%;
    font-size: 110%;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font: bold;
}

.imgcontiner8 {
    display: flex;
    width: 100%;
    height: 150px;
}



.imglogocontiner8 {
    width: 45%;
    height: 110%;
}

.continer8right2 {
    font-size: xx-large;
    display: inline;
    text-align: right;
    height: 90%;
    width: 15%;
    margin-right: 250px;
}

.mtnettelaat2:before {
    content: "";
    background-color: rgba(255, 255, 255, 0.5);
    height: 100%;
    width: 3em;
    display: block;
    position: absolute;
    top: 0;
    left: -4.5em;
    -webkit-transform: skewX(-45deg) translateX(0);
    transform: skewX(-45deg) translateX(0);
    -webkit-transition: none;
    transition: none;
}

.mtnettelaat2:hover {
    background-color: #2194E0;
    color: #ffffff;
    font-size: 27px;
    border-bottom: 4px solid #1977b5;
}

.mtnettelaat2:hover:before {
    -webkit-transform: skewX(-45deg) translateX(13.5em);
    transform: skewX(-45deg) translateX(13.5em);
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

h6 {
    width: 170px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    border: 2px solid #050607;
    padding: 10px;
    display: inline-block;
    border-radius: 0.3em;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    position: relative;
    overflow: hidden;
    background-color: #6161619a;
    font-size: 25px;
    margin: 0%;
}

.continer8left3 {
    font-size: xx-large;
    display: inline;
    text-align: right;
    height: 90%;
    width: 30%;

}

.continer8left4 {
    font-size: xx-large;
    display: inline;
    text-align: right;
    height: 90%;
    width: 25%;
    margin-right: -200px;
}

.btncontiner8 {
    width: 20%;
    height: 50%;
    background-color: rgb(73, 73, 73);
    color: #fff;
    font-family: 'titr';
    font-size: x-large;
}

/******پایان کد های کانتینر 8*******/
.divboten {
    padding: 25px;
    padding-right: 100px;
    background-color: rgb(216, 216, 216);
}

.divbotenp {
    margin-right: 250px;
    margin-top: -100px;
}



footer.footer8 {
    align-items: center;
    color: rgb(250, 250, 250);
    width: 100%;
}

.continer8 {
    direction: rtl;
    display: flex;
    text-align: center;
    align-items: center;
    margin: 0.5%;
}

.continer8right {
    font-size: 120%;
    font-family: 'mikhak';
    display: inline;
    text-align: right;
    width: 25%;
}

.adrescontiner8 {
    font-size: 110%;
    margin-top: 3%;
    padding-top: 6%;
}

.mtncontiner8right {
    margin-top: 2%;
    padding-top: 4%;
    font-size: 110%;
    font: bold;
}

.imgcontiner8 {
    display: flex;
    width: 60%;
    margin-top: 10%;
}

.imglogocontiner8 {
    width: 45%;
    height: 80%;
}

.continer8right2 {
    font-size: 150%;
    display: inline;
    text-align: right;
    height: 90%;
    width: 15%;
    margin-right: 7%;
}

.mtnettelaat2:before {
    content: "";
    background-color: rgba(255, 255, 255, 0.5);
    height: 100%;
    width: 3em;
    display: block;
    position: absolute;
    top: 0;
    left: -4.5em;
    -webkit-transform: skewX(-45deg) translateX(0);
    transform: skewX(-45deg) translateX(0);
    -webkit-transition: none;
    transition: none;
}

.mtnettelaat2:hover {
    background-color: #2194E0;
    color: #fff;
    font-size: 75%;
    border-bottom: 4px solid #1977b5;
}

.mtnettelaat2:hover:before {
    -webkit-transform: skewX(-45deg) translateX(13.5em);
    transform: skewX(-45deg) translateX(13.5em);
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

h6 {
    width: 170px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    border: 2px solid #050607;
    padding: 10px;
    display: inline-block;
    border-radius: 0.3em;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    position: relative;
    overflow: hidden;
    background-color: #6161619a;
    font-size: 70%;
    margin: 0%;
}

.continer8left3 {
    margin-top: -2%;
    font-size: 150%;
    display: inline;
    text-align: right;
    height: 90%;
    width: 30%;

}

.continer8left4 {
    font-size: 150%;
    display: inline;
    text-align: right;
    height: 90%;
    width: 25%;
    margin-right: -200px;
}

.btncontiner8 {
    width: 20%;
    height: 50%;
    background-color: rgb(73, 73, 73);
    color: #fff;
    font-family: 'titr';
    font-size: x-large;
}

.btncontiner8:hover {
    border: 1px solid;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.2);
    outline-color: rgba(255, 255, 255, 0);
    outline-offset: 15px;
    text-shadow: 1px 1px 2px #427388;
}

/******پایان کد های کانتینر 8*******/
/*سامسونگ s8+*/
@media screen and (max-width:830px) {
    /*** شروع کد های استایل کلاس (سر) **/
    .sar {

        width: 100vw;
        height: 40px;
        left: 10px;
    }

    nav ul {
        margin-left: -180px;
    }

    li.li1 {
        margin-top: -10px;
        height: 30px;
        width: 85px;
    }

    a.a1 {
        color: #000000;
        font-size: 12px;
        padding: 0%;
        padding-top: 7px;
        text-align: center;

    }

    /*** پایان کد های استایل کلاس (سر) **/

    .divboten {
        width: 100vw;
        padding: 0%;
        padding-right: 0px;
        margin-top: 100px;
        margin-bottom: -15px;
    }

    .divbotenp {

        margin-right: 0px;
    }

    button {

        margin-right: 50px;
        width:100px;
        height: 3px;
    }


.button1{
padding-top: 0%;
margin-bottom: 5%;
color: #000000;
font-family: 'mikhak';

}
.button2{
    padding-top: 0%;
    margin-bottom: 5%;
    color: #000000;
    font-family: 'mikhak';
    
}

    .divchap {
        display: none;
    }

    .divrast {

        width: 100vw;
        margin-top: 10px;
    }
input{
    font-size: 100%;
}
   
    
   /*** شروع کد های استایل  (کانتینر8) **/

   .continer8 {
    height: 500px;
    font-size: 10px;
    flex-direction: column;
    display: flex;
    flex-flow: column-reverse;
}

.continer8right {
    direction: rtl;
    text-align: right;
    font-size: 15px;
    margin-top: 40px;
    margin-left: 85px;
    width: 250px;

}

.mtncontiner8right {
    display: none;
}

.imgcontiner8 {
    width: 100px;
}

.imglogocontiner8 {
    padding-top: 40px;
}

.mtnettelaat1 {
    width: 97%;
    direction: rtl;
}

.continer8left3 {
    
    width: 100%;
    height: 100px;
    text-align: right;
    direction: ltr;
    font-size: 15px;
    margin-bottom: 100px;
    margin-left: -20px;
}

h6.mtnettelaat2 {
    width: 25%;
    height: 10px;
    font-size: 12px;

}

h6.mtnettelaat2:hover {
    width: 30%;
    text-align: center;
    height: 20px;
    font-size: 15px;

}

.continer8right2 {
    width: 100%;
    margin-bottom: 10px;
    height: 100px;
    text-align: right;
    direction: ltr;
    font-size: 17px;
    margin-right: 20px;

}

.continer8left4 {
    display: none;
}

.adrescontiner8 {
    display: none;
}

/*** پایان کد های استایل  (کانتینر8) **/
}