@font-face {
  font-family: "Vazir";
  src: url("../fonts/Vazir.eot");
  /* IE9 Compat Modes */
  src: url("../fonts/Vazir.eot?#iefix") format("embedded-opentype"),
    url("../fonts/Vazir.woff2") format("woff2"),
    url("../fonts/Vazir.woff") format("woff"),
    url("../fonts/Vazir.ttf") format("truetype");
  /* Safari, Android, iOS */
}

pre {
  white-space: pre-line;
  width: 100%;
  text-align: justify;
  font-family: "Vazir";
}

/* Utility */
:root {
  --primery-color: #282f33;
}

.bg-dark {
  background-color: rgb(53, 53, 53);
  color: white;
}

.bg-light {
  background-color: rgb(124, 124, 124);
  color: black;
}

.btn-green {
  padding: 0.3rem 0.7rem;
  background-color: rgb(4, 90, 4);
  color: white;
  border: none;
  box-shadow: 0 0 4px rgb(148, 146, 146);
  font-size: 0.85rem;
  font-family: "Vazir";
  cursor: pointer;
}
.btn-green:hover {
  background-color: rgb(5, 119, 5);
}

.btn-blue {
  padding: 0.3rem 0.7rem;
  background-color: rgb(13, 77, 121);
  color: white;
  border: none;
  box-shadow: 0 0 4px rgb(148, 146, 146);
  font-size: 0.85rem;
  font-family: "Vazir";
  cursor: pointer;
}
.btn-blue:hover {
  background-color: rgb(16, 94, 146);
}

table {
  width: 98%;
  border: solid 1px rgb(121, 121, 121);
  margin: 10px auto;
  text-align: center;
}
table tr td {
  padding: 5px;
  border-bottom: solid 1px rgb(231, 231, 231);
}
table thead {
  background-color: #282f33;
  color: white;
}
table thead tr td {
  padding: 10px 5px;
}

#msg_banner {
  position: fixed;
  top: 15%;
  right: 0;
  left: 0;
  width: auto;
  max-width: 50%;
  margin: 0 auto;
  z-index: 999999999;
  display: flex;
  flex-direction: column;
  text-align: center;
}
#msg_banner > div {
  flex: 1;
  padding: 15px;
  border-radius: 7px;
  margin-bottom: 3px;
  cursor: pointer;
}
.msg_green {
  background-color: green;
  color: white;
  border: solid 1px greenyellow;
}
.msg_blue {
  background-color: blue;
  color: white;
  border: solid 1px rgb(83, 83, 213);
}
.msg_red {
  background-color: red;
  color: white;
  border: solid 1px rgb(250, 101, 101);
}

input[type="text"] {
  width: 90%;
  padding: 0.3rem 0.7rem;
  border: none;
  box-shadow: 0 0 4px rgb(148, 146, 146);
  font-size: 0.85rem;
  font-family: "Vazir";
}
select {
  width: 90%;
  padding: 0.3rem 0.7rem;
  border: none;
  box-shadow: 0 0 4px rgb(148, 146, 146);
  font-size: 0.85rem;
  font-family: "Vazir";
}
textarea {
  width: 90%;
  padding: 0.3rem 0.7rem;
  border: none;
  box-shadow: 0 0 4px rgb(148, 146, 146);
  font-size: 0.85rem;
  font-family: "Vazir";
}

.flex {
  display: flex;
}
.flex-row {
  flex-direction: row;
}
.flex-column {
  flex-direction: column;
}
.flex-between {
  justify-content: space-between;
}
.flex-around {
  justify-content: space-around;
}

.flex-1 {
  flex: 1;
}
.flex-2 {
  flex: 2;
}
.flex-3 {
  flex: 3;
}
.flex-4 {
  flex: 4;
}
.flex-5 {
  flex: 5;
}
.flex-6 {
  flex: 6;
}
.flex-7 {
  flex: 7;
}
.flex-8 {
  flex: 8;
}
.flex-9 {
  flex: 9;
}

.shadow {
  box-shadow: 0 0 2px rgb(148, 146, 146);
}

.radius-1 {
  border-radius: 0.1rem;
}
.radius-2 {
  border-radius: 0.25rem;
}
.radius-3 {
  border-radius: 0.5rem;
}
.radius-4 {
  border-radius: 0.75rem;
}

.margin-top-20 {
  margin-top: 20px;
}
.margin-bottom-20 {
  margin-bottom: 20px;
}
.margin-right-20 {
  margin-right: 20px;
}
.margin-left-20 {
  margin-left: 20px;
}

/* End Utility */

body {
  direction: rtl;
  text-align: right !important;
  font-family: "Vazir" !important;
  line-height: 1.6;
  background: #fff;
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
  color: rgb(70, 70, 70);
}
a:hover {
  color: rgb(136, 135, 135);
}

ul {
  padding: 0;
  margin: 0;
}
li {
  padding: 0;
  margin: 0;
  list-style: none;
}

.container {
  /* max-width: 1100px; */
  max-width: 90%;
  margin: auto;
  padding: 0 2rem;
}

#section-nav {
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 10;
}

#section-nav .container div {
  margin: 0 0.25rem;
}

#section-nav .container .logo img {
  width: 100%;
  transition: all 1s;
}

#section-nav .container .logo:hover {
  transform: rotateY(360deg);
  transition: all 1s;
}

#section-nav .container .navbar {
  display: flex;
  align-items: center;
}

#section-nav .container .navbar ul {
  display: flex;
  margin: auto;
  justify-content: center;
}

#section-nav .container .navbar > ul > li > a {
  margin: 0 0.45rem;
  padding: 0 0.45rem;
  transition: all ease-in 0.1s;
  font-size: 0.85rem;
}

#section-nav .container .navbar > ul > li > a:hover {
  background-color: rgb(218, 39, 39);
  color: #fff;
  padding: 0.15rem 0.45rem;
  transition: all ease-in 0.1s;
}

#section-nav .container .navbar ul li {
  position: relative;
  padding-bottom: 10px;
  margin-top: 10px;
}

#section-nav .container .navbar ul li ul {
  display: none;
  position: absolute;
  top: 35px;
  right: 8px;
  background-color: #fff;
  box-shadow: 0 1px 3px rgb(148, 146, 146);
  width: 400px;
}

#section-nav .container .navbar ul li:hover ul {
  display: flex;
  justify-content: space-between;
}

#section-nav .container .navbar ul li ul li {
  display: flex;
}

#section-nav .container .navbar ul li ul li div:first-child {
  flex: 1;
  transition: all 1s;
}

#section-nav .container .navbar ul li ul li div:first-child:hover {
  flex: 2;
  transition: all 1s;
}

#section-nav .container .navbar ul li ul li div a {
  font-size: 0.85rem;
  display: block;
  padding: 0.15rem 0.85rem;
  color: rgb(92, 91, 91);
  background-color: white;
}

#section-nav .container .navbar ul li ul li div a:hover {
  background-color: rgb(218, 39, 39);
  color: #fff;
  transition: all 0.5s;
}

#section-nav .container .navbar ul li ul li div:last-child {
  flex: 1;
  align-self: flex-end;
  justify-self: flex-end;
}

#section-nav .container .navbar ul li ul li div img {
  width: 100%;
}

#section-nav .container .navbar ul li ul li div h4 {
  color: #5973be;
  margin: 0;
  padding: 0.15rem;
  text-align: center;
}

#section-nav .container .navbar ul li ul li div hr {
  color: #5973be;
}

.activeli a {
  background-color: rgb(218, 39, 39);
  color: #fff;
  padding: 0.15rem 0.45rem;
  transition: all ease-in 0.1s;
}

#section-banner .banner img {
  width: 100%;
  max-height: 65vh;
}

#section-icons {
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 11;
}

#section-icons .container {
  display: flex;
  justify-content: flex-start;
}

#section-icons .container .icons {
  flex: 1;
  text-align: center;
  margin-top: 10px;
}

#section-icons .container .icons .icons-img i {
  transition: all 0.5s;
  color: rgb(70, 70, 70);
  font-size: 3rem;
}

#section-icons .container .icons:hover .icons-img i {
  color: red;
  transform: scale(1.1);
  transition: all 0.5s;
}

#section-details {
  display: none;
}

#section-details .container {
  border: solid 1px rgb(179, 178, 178);
}

.actived-icons-i {
  color: #5973be !important;
  transform: scale(1.1);
  transition: all 0.5s;
}

#section-news {
  margin: 30px 0;
  background-color: #fff;
}

#section-news .container:hover .title {
  background-color: rgb(202, 199, 199);
  color: #282f33;
}

#section-news .container {
  border: solid 1px rgb(233, 231, 231);
}

#section-news .container:hover {
  border: solid 1px rgb(202, 199, 199);
}

#section-news .container .items {
  display: flex;
  margin: 1rem 0;
}

#section-news .container .items .item {
  flex: 1;
  margin: 0 0.5rem;
}

#section-news .container .items .item:hover {
  background-color: rgb(202, 199, 199);
}

#section-news .container .items .item:hover img {
  transform: scale(0.9);
  transition: all 0.5s;
}

#section-news .container .items .item:first-child {
  margin-right: 0;
}

#section-news .container .items .item:last-child {
  margin-left: 0;
}

#section-news .container .items .item img {
  width: 100%;
  transition: all 0.5s;
}

#section-news .container .title h3 {
  text-align: center;
  margin: 0;
  padding: 0.45rem 0;
}

#section-footer {
  background-color: #282f33;
  color: rgb(202, 199, 199);
  padding-top: 1rem;
}

#section-footer footer {
  display: flex;
  text-align: center;
}

#section-footer > div {
  text-align: center;
  font-size: 0.75rem;
  background-color: #3a4449;
  padding: 0.3rem 0;
}

#section-footer footer h4 {
  text-align: center;
  border: solid 1px white;
  padding: 0.35rem 0;
  margin: 0;
  margin-bottom: 0.35rem;
}

#section-footer footer .item:hover h4 {
  background-color: rgb(202, 199, 199);
  color: #3a4449;
}

#section-footer footer .item {
  flex: 1;
  margin: 0 2.75rem;
}

#section-footer footer .item a {
  display: block;
  color: rgb(196, 192, 192);
  text-align: right;
  padding: 0.3rem;
  font-size: 0.85rem;
}

#section-footer footer .item a:hover {
  background-color: #3a4449;
  color: white;
}

#section-footer footer .item:first-child img {
  width: 50%;
}

#section-footer footer .item:first-child p {
  font-size: 0.95rem;
  transition: all 0.5s;
  text-align: justify;
}

#section-footer footer .item:first-child:hover img {
  transform: rotateY(360deg);
  transition: all 1s;
}

#section-footer footer .item:first-child:hover p {
  transform: scale(1.1);
  transition: all 0.5s;
}

#section-footer footer input[type="text"] {
  width: 80%;
}

#section-banner .banner-page {
  display: flex;
}

#section-banner .banner-page img {
  width: 100%;
  max-height: 35vh;
  background-size: cover;
}

#section-page {
  background-color: #f5f5f5;
  padding: 2rem 0;
  min-height: 500px;
}

#section-page .container {
  display: flex;
  align-items: flex-start;
}

#section-page .container > div:first-child {
  margin-left: 0.1rem;
  background-color: white;
  flex: 1;
  position: sticky;
  top: 100px;
  z-index: 1;
}

#section-page .container > div:first-child ul li {
  display: flex;
  align-items: center;
}

#section-page .container > div:first-child ul li a {
  display: block;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #f5f5f5;
  font-size: 0.85rem;
  flex: 6;
}

#section-page .container > div:first-child ul li a:hover {
  border-left: 2px solid #4441d3;
}

#section-page .container > div:first-child ul li i {
  padding-right: 1rem;
  font-size: 1.4rem;
  color: #a19d9d;
  flex: 1;
}

#section-page .container > div:first-child ul li:hover i {
  color: #4441d3;
}

#section-page .container > div:last-child {
  margin-right: 0.1rem;
  background-color: white;
  flex: 3;
  padding: 1rem;
}

#section-page .container > div:last-child h1 {
  color: #282f33;
  text-align: center;
}

#section-page .container > div:last-child hr {
  width: 90%;
  color: rgb(241, 240, 240);
  transition: all 0.5s;
}

#section-page .container > div:last-child:hover hr {
  width: 50%;
  transition: all 0.5s;
}
#section-page .container h4 {
  text-align: center;
  background-color: rgb(136, 136, 136);
  color: white;
  margin: 0;
  padding: 0.5rem 0;
}

#section-page .container .page {
  margin: 0;
  padding-top: 0 !important;
  flex: 3;
  background-color: white;
}

#section-page .container .sidebar ul ul {
  display: none;
  background-color: #f1f0f0;
}

#section-page .container .sidebar ul ul li {
  margin-right: 15%;
}

#section-page .container > div:first-child ul li a {
  cursor: pointer;
}
#alert_banner {
  display: none;
}

#price_body {
  display: flex;
  width: 100%;
  flex-direction: column;
  margin-top: 20px;
}
#price_body .main .top {
  display: flex;
  width: 30%;
  flex-direction: row;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
}
#price_body .main .top .item {
  display: flex;
  flex: 1;
  flex-direction: row;
  justify-content: center;
  background-color: white;
  padding: 10px;
  border: solid 1px #a7a7a7;
  overflow: hidden;
  cursor: pointer;
}
#price_body .main .top .item:first-child {
  border-radius: 0 40px 40px 0;
}
#price_body .main .top .item:last-child {
  border-radius: 40px 0 0 40px;
}
.select_active {
  background-color: #4229b6 !important;
  color: white;
}

#price_body .main .center {
  display: none;
  width: 60%;
  flex-direction: row;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
  margin-top: 20px;
}
#price_body .main .center .item {
  display: flex;
  flex: 1;
  flex-direction: row;
  justify-content: center;
  background-color: white;
  padding: 10px;
  border: solid 1px #a7a7a7;
  overflow: hidden;
  cursor: pointer;
}
#price_body .main .center .item:first-child {
  border-radius: 0 40px 40px 0;
}
#price_body .main .center .item:last-child {
  border-radius: 40px 0 0 40px;
}
.select_active {
  background-color: #4229b6 !important;
  color: white;
}

#price_body .main .bottom {
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: space-around;
  text-align: center;
  margin: 0 auto;
  margin: 50px 0;
  flex-wrap: wrap;
}
#price_body .main .bottom .item {
  display: flex;
  flex-direction: column;
  border: solid 1px #4229b6;
  border-radius: 20px;
  padding: 5px;
  position: relative;
  min-width: 20%;
  min-height: 200px;
  justify-content: center;
  margin: 40px 0;
}

#price_body .main .bottom .item .up {
  position: absolute;
  top: -20px;
  right: 0;
  left: 0;
  margin: 0 auto;
  background-color: red;
  border-radius: 20px;
  padding: 5px;
  width: 50%;
  color: white;
}

#price_body .main .bottom .item .body {
  display: flex;
  flex-direction: column;
  margin: 10px 0;
  text-align: center;
}

#price_body .main .bottom .item .body span:first-child {
  color: blue;
  font-size: 25px;
  font-weight: bold;
}

#price_body .main .bottom .item .body span:last-child {
  color: black;
  font-size: 25px;
  font-weight: bold;
}
#price_body .main .bottom .item .body {
  margin: 35px 0;
}

#price_body .main .bottom .item .down {
  position: absolute;
  bottom: -20px;
  right: 0;
  left: 0;
  margin: 0 auto;
  background-color: red;
  border-radius: 20px;
  padding: 5px;
  width: 50%;
  color: white;
}
#price_body .main .sectionmain {
  display: none;
}
#price_body .main .sectionmain section {
  display: none;
}
/* #articles_main{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
#articles_main .right{
  display: flex;
  flex-direction: column;
  flex: 1;
}
#articles_main .left{
  display: flex;
  flex-direction: column;
  flex: 4;
}
#articles_main .right .menu{
  display: flex;
  flex-direction: column;
} */

#articles {
  display: flex;
  flex-direction: column;
}
#articles .header {
  width: 100%;
  /* position: sticky;
  top:72px;
  right:0;
  z-index:-9; */
}
#articles .header img {
  width: 100%;
  height: 270px;
}
#articles .main {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 20px;
}
#articles .main .body {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex: 1;
  width: 95%;
  margin: 0 auto;
}
#articles .main .body .right {
  flex: 1;
  display: flex;
  flex-direction: column;
}
#articles .main .body .right .item_menu {
  display: flex;
  flex-direction: column;

  position: sticky;
  top: 90px;
  right: 0;
  margin-bottom: 20px;
}
#articles .main .body .right .item_menu .item_item {
  display: flex;
  flex-direction: column;
  border: solid 1px #0d4d79;
  margin-bottom: 20px;
}
#articles .main .body .right .item_menu .title {
  text-align: right;
  border-bottom: 1px solid #d2d1d1;
  padding: 5px 10px;
  padding-right: 20px;
  font-size: 18px;
  color: white;
  background-color: #0d4d79;
}
#articles .main .body .right .item_menu .item {
  display: flex;
  flex-direction: column;
  padding: 5px;
}
#articles .main .body .right .item_menu .item a {
  margin: 5px 3px;
  margin-right: 10px;
  font-size: 15px;
}
#articles .main .body .left {
  flex: 3;
  margin: 0 auto;
  margin-right: 20px;
}
#articles .main .body .left .item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border: solid 1px #0d4d79;
  padding: 10px;
  min-height: 200px;
  margin-bottom: 30px;
  padding-right: 15px;
}
#articles .main .body .left .item .pic {
  flex: 1;
}
#articles .main .body .left .item .pic img {
  width: 100%;
}
#articles .main .body .left .item .bdy {
  flex: 2;
  display: flex;
  flex-direction: column;
  margin: 0 20px;
}
#articles .main .body .left .item .bdy .title a {
  color: #454545;
}
#articles .main .body .left .item .bdy .title h3 {
  margin-bottom: 0px;
  font-size: 20px;
}
#articles .main .body .left .item .bdy .details {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  color: #a8abbe;
  margin-bottom: 10px;
}
#articles .main .body .left .item .bdy .details .right {
  flex: 1;
}
#articles .main .body .left .item .bdy .details .left {
  flex: 1;
  text-align: left;
}
#articles .main .body .left .item .bdy .desc {
  width: 100%;
  text-align: justify;
  line-height: 30px;
  max-height: 100px;
  overflow-y: hidden;
}
#articles .main .body .left .item .bdy .btn {
  margin: 20px 0;
  text-align: left;
}

#articles .main .body .left .item_info {
  display: flex;
  flex-direction: column;
}
#articles .main .body .left .item_info .bdy {
  display: flex;
  flex-direction: column;
  width: 95%;
}
#articles .main .body .left .item_info .pic {
  width: 30%;
  margin: 0 auto;
}
#articles .main .body .left .item_info .bdy .desc {
  width: 100%;
  text-align: justify;
  line-height: 45px;
  max-height: 100% !important;
}
.admin .tab {
  display: flex;
  flex-direction: row;
  margin-top: 20px;
}
.admin .tab .item {
  background-color: #d6d6db;
  margin-left: 10px;
  padding: 10px 20px;
  border-radius: 10px 10px 0 0;
  cursor: pointer;
}
.admin .tab .item:hover {
  background-color: #cacacc;
}
#contactus {
  width: 100%;
  background-image: linear-gradient(red, blue);
  filter: blur(10);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
#contactus .right {
  flex: 1;
  padding: 40px;
  padding-left: 0;
  display: flex;
  flex-direction: column;
}
#contactus .right .body {
  flex: 1;
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0.8;
}
#contactus .right .body .frm {
  width: 80%;
  display: flex;
  flex-direction: column;
}
#contactus .right .body .frm .item {
  margin: 20px 0;
}
#contactus .right .body .frm .item input[type="text"] {
  border-bottom: 1px solid black;
  box-shadow: none;
}
#contactus .right .body .frm .item textarea {
  border-bottom: 1px solid black;
  box-shadow: none;
}
#contactus .left {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#contactus .left .item {
  display: flex;
  flex-direction: row;
  width: 60%;
  border: solid 1px white;
  text-align: center;
  direction: ltr;
  padding: 10px;
  margin: 20px 0;
}
#contactus .left .item .icon {
  flex: 1;
  font-size: 25px;
  background-color: white;
  color: black;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
}
#contactus .left .item .desc {
  flex: 3;
  font-size: 25px;
  color: white;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
#contactus .left .item:first-child {
  width: 90%;
  border: none;
}
#contactus .left .item:first-child .desc {
  font-size: 15px;
  direction: rtl;
  line-height: 30px;
}
#contactus .left .item:last-child .desc {
  font-size: 15px;
}
#login {
  background-image: linear-gradient(red, blue);
  width: 100%;
  height: 85.5vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#login .body {
  background-color: white;
  width: 25%;
  padding: 50px;
  border-radius: 30px;
  opacity: 0.8;
}
#login .body .item {
  margin: 30px 0;
}
#login .body .item:last-child {
  text-align: center;
}
#login .body .item:first-child {
  text-align: center;
  font-size: 23px;
}
#login .body input[type="text"] {
  border-bottom: 1px solid black;
  box-shadow: none;
}
#login .body input[type="password"] {
  border: none;
  border-bottom: 1px solid black;
  box-shadow: none;
  width: 95%;
}
#icon_menu{
  display: none;
}
