

.mark-name-site {
    color:#27ae60;
    font-size: 20px;
}
/** ///////////////////////////////////////////////// PRELOAD /////////////////////////////////////////// */


.preloader-container {
  width: 100%;
  height: 100vh;
  position: fixed;
  background: url('/home/img/primary/bg.jpg') center/cover ;
  animation: priloader-container 180s linear infinite;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  visibility: visible;
  transition: opacity .5s;
  transition-delay: 1s;
}

.preloader {
  position: relative;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .3) url('/home/img/primary/earth.png') center/cover;
  box-shadow: inset -8px 1px 40px 8px rgba(255, 255, 255, .5);
  animation: preloader 120s linear infinite;
  z-index:1000;
}

@media  screen and (max-width:768px) {
  .preloader {
    transform: scale(.7);
  }
}
.preloader span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  border: 2px solid #fff;
  display: block;
  opacity: 0;
  background: transparent;
  animation: preloaderSpan 3s linear infinite;
  animation-delay: calc(1s * var(--delay));
}

@keyframes priloader-container {
  to {
      background-position: 10000px 0;
  }
}

@keyframes preloader {
  to {
      background-position:10000px 0;
  }
}

@keyframes preloaderSpan  {
  0% {
      opacity: 1;
      width: 12rem;
      height: 12rem;
  }

  100% {
      width: 35rem;
      height: 35rem;
      opacity: 0;
  }
}


/*! /////////////////////////////////////////////////  END PRELOAD /////////////////////////////////////////// */
/* ///////////////////////////////////////////////// HEADER /////////////////////////////////////////// */
.roban {
  width: 100%;
  height: 4px;
  background: #871322;
}
header {
  margin-bottom: 1rem;
    /*background: #043E00;*/

}
header .mobile-menu {
    display: none;
}
header nav {
  width: 100%;
  height: 3rem;
  background: #fff;
}
header nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header nav .slogan {
  margin-right: 15rem;
  width: 300px;
  height: 38px;
  background: url("../img/primary/slogan.png") no-repeat center/cover;
  background-color: transparent;
}

header nav .part-2 {
  display: flex;
  align-items: center;
}
header nav .part-2 .search {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 2rem;
    display: none;
}
header nav .part-2 .search input {
  font-family: "Vazir";
  height: 2rem;
  width: 20rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  outline: 0px solid #392e54;
  padding: 0 0.3rem;
  transition: all 0.3s;
}
header nav .part-2 .search input:hover {
  outline: 4px solid #746cbd;
  box-shadow: 0 0 10px #746cbd, 0 0 20px #746cbd;
  transition: all 0.3s;
}

header nav .part-2 .search input + i {
  position: absolute;
  left: 0.5rem;
  font-weight: lighter;
  color: #333333;
  font-size: 1.2rem;
}

header nav .part-2 .time {
  display: none;
}
header nav .part-2 .time span {
  font-size: 0.8rem;
}
header nav .part-2 .time i {
  padding: 0.5rem;
  color: #333333;
  border-radius: 50%;
  background: white;
}

header  .hamburger {
  display: none;
}


/*! TICKER START */
.ticker {
    display: flex;
    align-items: center;
    white-space: nowrap;
    border: 1px solid #ccc;
    overflow: hidden;
    padding: 0 0 0 .5rem;
    position: relative;
}
.ticker .box-break {
    background:#990000;
    color: #fff;
    padding: .5rem;
    z-index: 2;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: -20px 0 18px #fff;
}

.ticker::after {
    /*content: '';*/
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #fff;


}
.ticker .box-news {
    overflow: hidden;
    position: absolute;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: .5rem;

}
.ticker .box-news .item {
    padding: 0 1rem;
    display: inline-block;
    white-space: nowrap;
    font-size: .94rem;

}
.ticker .box-news .item::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #990000;
    margin-left: .5rem;
    transform: rotate(45deg);
}
.ticker .box-news .item a{
    color: #555;
    font-weight: bold;
}

.ticker .search {
    position: absolute;
    left: 0;
    display: flex;
    align-items: center;
    margin-left: 4px;
}
.ticker .search input {
    font-family: "Vazir";
    height: 2rem;
    width: 20rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    outline: 4px solid #fff;
    padding: 0 0.3rem;
    transition: all 0.3s;

}
.ticker .search input:hover {
    outline: 4px solid #746cbd;
    box-shadow: 0 0 10px #746cbd, 0 0 20px #746cbd;
    transition: all 0.3s;
}

.ticker .search input + i {
    position: absolute;
    left: 0.5rem;
    font-weight: lighter;
    color: #333333;
    font-size: 1.2rem;
}
/*! TICKER END */


menu {
  height: 4rem;
  background: #0b6a06;
  box-shadow: 0 2px 2px 0 #a7a9a4;
}

menu > div {
  display: flex;
  align-items: center;
  height: 100%;
}
menu h1 {
  width: 200px;
}
menu h1 a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-weight: 500;
  font-size: 0.8rem;
}

menu h1 a span {
    display: none;
  color: #000;
  margin-right: 2rem;
}

menu h1 a .logo {
    margin-top: -2.5rem;
    width: 180px;
    height: 90px;
    background: url(../img/primary/logo.png) center/100% no-repeat;
}

menu .menu {
  margin-right: 3rem;
}
menu .menu .categories {
  display: flex;
  align-items: center;
  /*justify-content: space-between;*/
}

menu .menu .categories .item {
  /*margin: 0 0.6rem;*/
}
menu .menu .categories .item a {
  padding: 0.3rem 0.6rem;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  border-radius: 6px;

  transition: color, background 0.2s;
}
menu .menu .categories .item a:hover,
menu .menu .categories .item a.active {
  color: #fff;
  background: #990000;
}

menu .time {
    color: #fff;
    font-size: 0.9rem;
    margin-right: auto;
    margin-left: 0.5rem;
}
/* ///////////////////////////////////////////////// END HEADER END /////////////////////////////////////////// */

/* /////////////////////////////////////////////////    content    /////////////////////////////////////////// */
.ads {
    /*display: none;*/
}
.top-ads img {
  width: 100%;
  box-shadow: 1px 1px 4px #89898c, -1px -1px 4px #89898c;
}

.main {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

#single-main {
  grid-template-columns: 3fr 1fr;
}

#single-main .main-content .box-shadow.box.rounded {
  padding: 0.9rem;
}

#single-main .news-details .body {
    /*min-height: 270px;*/
}

.main > .content > *,
.main .left-sidebar > *,
.main .right-sidebar > * {
  border-radius: 4px;
  width: 100%;
  margin-bottom: 1rem;
}

.see-more {
  text-align: center;
  display: block;
  color: #000;
  font-weight: bold;
  border-top: 1px solid #ccc;
  padding: 0.3rem 0;
  transition: 0.3s all;
  border-radius: 4px;
}

.see-more:hover {
  background: #e2e6ea;
}

.label {
  position: relative;
  background: #0b6a06 !important;
  padding: 6px 10px;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  border-top-right-radius: 0;
    padding-bottom: .5rem;
}
.label::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 8px;
  background: #990000;
  bottom: 0;
  right: 0;
  border-bottom-right-radius: 6px;
  border-bottom-left-radius: 6px;

}

.label::before {
  content: "\f038";
  position: absolute;
  font-family: "FontAwesome";
  color: #fff;
  left: 8px;
  width: 16px;
  height: 16px;
  top: 45%;
  transform: translateY(-50%);
}

.type-a,
.type-b,
.type-c,
.type-d,
.type-e,
.type-f {
  margin-bottom: 1rem;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.type-e .content, .type-c .content {
  max-height: 40rem;
  overflow-y: auto;
}

.type-e .see-more {
  margin-top: auto;
}
.type-a .carousel img {
  width: 100%;
  object-fit: cover;
  max-height: 200px;
}

.type-a .carousel p {
  padding: .5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: #444;
}

.ads-right-1 {
  margin: 1rem 0;
}

#mvc {
  padding: 0.8rem;
  background: #fff;
  transition: 0.3s height;
}
#mvc .btn-container {
  cursor: pointer;
  display: flex;
  justify-content: center;
}
#mvc .btn-container label {
  width: 50%;
}

#mvc .btn-container span {
  text-align: center;
  display: inline-block;
  width: 100%;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: bold;
  transition: 0.3s ease all;
  color: #000;
  box-shadow: 0 0 4px #aaa;
}

#mvc .btn-container span:hover {
  background: #003366;
  color: #fff;
}

#mvc .btn-container label:first-child span {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
#mvc .btn-container label:last-child span {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  margin-right: 6px;
}

#mvc .btn-container input {
  display: none;
}

#mvc .btn-container input:checked ~ span {
  color: #fff;
  background: #003366;
}

#mvc .news-container {
  position: relative;
}
#mvc .news-container div {
  margin-top: 1rem;
  position: absolute;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s ease all;
}
#mvc .news-container div.active {
  transition-delay: 0.5s;
  transition: 1s ease all;
  visibility: visible;
  opacity: 1;
}
#mvc .news-container #view-news a,
#mvc .news-container #conversation-news a {
  padding: .5rem 0;
  display: block;
  font-size: 0.8rem;
  color: #444;
}

#mvc .news-container #view-news a::before,
#mvc .news-container #conversation-news a::before {
  /*content: "";*/
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: blue;
  margin-left: 8px;
}

.type-b .item {
  display: block;
  margin-bottom: 1rem;
}
.type-b .item img {
  width: 100%;
  object-fit: fill;
  max-height: 150px;
}

.type-b .item p {
  color: #444;
  font-size: 0.8rem;
}

.type-c .content,
.type-e .content {
  margin: 0 0.5rem;
}
.type-c .content .item,
.type-e .content .item {
  font-size: 0.8rem;
  color: #444;
  display: flex;
  padding: 0.5rem 0;
  vertical-align: middle;
}

.type-c .content .item .time,
.type-e .content .item .time {
  font-size: 0.75rem;
  padding-left: 0.4rem;
  display: inline-block;
  margin-top: 0.2rem;
}

.type-d .content .item {
  padding: 0.5rem 0;
  display: grid;
  grid-template-columns: 70px auto;
  align-items: center;
}

.type-d .content .img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
}

.type-d .content img {
  object-fit: contain;
  width: 100%;
  align-items: center;
}
.type-d .content p {
  display: inline;
  margin-right: 0.5rem;
  color: #444;
  font-size: 0.85rem;
}

.main-content,.left-sidebar,.right-sidebar {
  min-width: 100%;
}
.main-content > * {
  margin-bottom: 1rem;
}

#main-slider {
  display: flex;
  overflow: hidden;
  width: 100%;
    position: relative;
}
.main-slider .slider-item {
  /*position: relative;*/
  width: 100%;
  overflow: hidden;
}
.main-slider .slider-item img {
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: cover;
}

.main-slider .slider-item .content {
  min-height: 6rem;
  width: 100%;
  position: absolute;
  bottom: 0;
  padding: 0.5rem 0.8rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 -10px 1rem 1rem rgba(0, 0, 0, 0.3),
    inset 0 -10px 2rem 1rem rgba(0, 0, 0, 0.5);
  transition: background 0.3s;
}

.main-slider .slider-item .content h2 {
  font-size: 1.1rem;
}

.main-slider .slider-item .content p {
  font-size: 0.9rem;
}

.main-slider .slider-item:hover .content {
  background: rgba(0, 0, 0, 0.4);
}

.main-news .content .item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.main-news .content .item {
  object-fit: cover;
}
.main-news .content .item a {
  font-size: 0.9rem;
  color: #444;
}

.main-news .content .item p {
  font-size: 0.9rem;
  color: #777;
  font-weight: bold;
}

.main-news .content .item .time {
  margin-top: 0.5rem;
  font-size: 0.7rem;
  color: #666;
  display: flex;
  align-items: center;
}
 .time i {
    font-size: .8rem;
    margin-left: .3rem;
}
.type-f .content {
  display: flex;
  flex-direction: column;
}
.type-f .content a {
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  color: #444;
  display: flex;
  align-items: center;
}

.type-f .content a::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 0.5rem;
  background-color: #003366;
}

#media .content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1rem;
}
#media .see-more {
  margin-top: 1rem;
}
#media .content .item:first-child {
  margin-top: auto;
  grid-column: 1/2 span;
  grid-row: 1/ 2 span;
}

#media .content a {
  color: #444;
  font-size: 0.75rem;
}
/* /////////////////////////////////////////////////  END  content END   /////////////////////////////////////////// */
/* /////////////////////////////////////////////////    FOOTER    /////////////////////////////////////////// */
#footer .content {
  background: #333333;
}
#footer h3 {
  font-size: 1rem;
  color: #eee;
}
#footer ul a {
  color: #ccc;
  font-size: 0.9rem;

}

#footer ul li {
    transition: 0.3s;
    transition-delay: 0.3s;
}

#footer ul li:hover {
  padding-right: 1rem;
  color: #fff;
  text-shadow: 0 0 5px rgba(255, 255, 255, 1);
}
#footer .logo {
  width: 12rem;
  height: 10rem;
}
#footer .logo img {
  transition: 0.5s;
}
#footer .logo:hover img {
  filter: drop-shadow(0 0 1px #aaa);
}
#footer .content .menu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 3rem;

}
#footer .copyright {
  background: #222222;
  text-align: center;
  padding: 0.5rem;
}

#footer .copyright p {
  color: #ccc;
  font-size: 0.8rem;
}
#footer .copyright p a {
  font-size: 0.9rem;
  color: #fff;
  text-shadow: 0 0 5px #fff;
  padding: 0.5rem 0;
}
/* /////////////////////////////////////////////////  END  FOOTER END   /////////////////////////////////////////// */
/* /////////////////////////////////////////////////  START  SINGLE-PAGE START   /////////////////////////////////////////// */
.news-info {
  background: #e9ecef;
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1.5rem;
  font-size: 0.8rem;
  color: #345;
  margin-bottom: 1rem;
    flex-wrap: wrap;
}
.news-info > * {
    padding: .2rem .5rem;
}
.news-details h2 {
  width: 100%;
  font-size: 1.5rem;
  font-weight: bold;
  color: #444;
  text-shadow: 0 8px 8px #c8c8c8;
  margin-bottom: 1rem;
}

.news-details .brief {
  background: #e1e2e3;
  padding: 0.8rem 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #222;
}

.news-details .body .img {
  width: 50%;
  /*max-height: 250px;*/
  float: left;
  margin: 0 1rem 2rem 0;
}

.news-details .body .img img {
  width: 100%;
  display: inline-block;
}

.news-details .body .description {
  word-break: break-word;
  display: inline;
  font-size: 0.9rem;
  line-height: 2;
  color: #444;
}

.news-details .body .description img {
  display: block;
  width: auto;
  margin: 1rem auto;
  max-height: 800px;
}

/* /////////////////////////////////////////////////  END  SINGLE-PAGE END   /////////////////////////////////////////// */


/*! /////////////////////////////////////////////////  START  LOGIN-PAGE START   /////////////////////////////////////////// */

#login-page {
    display: flex;
    font-family: 'Vazir';
    align-items: center;
    flex-direction: column;
   padding: 4rem 0;
}
#login-page .h1 {
    font-size: 2rem;
    font-weight: bold;
    color: #444;
    letter-spacing: 2px;
}
#login-page .h2 {
    font-size: 1.2rem;
    padding-top: 1rem;
    color: #444;
    margin-bottom: 2rem;
}
#login-page form {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
}
#login-page form .label-l {
    position: relative;
    display: flex;
    align-items: center;
    width: 400px;
}
#login-page form .label-l span{
    right: 1rem;
    transform: translateY(.9rem);
    position: absolute;
    transition: transform .3s;
    font-size: 1rem;
    color: #444;

}
#login-page form input {
    width: 100%;
    height: 2.5rem;
    margin-top: 2rem;
    border: 2px solid #ccc;
    outline: none;
    padding: 0 1rem;
    border-radius: 4px;
    z-index: 2;
    background: transparent;
    font-family: 'Vazir';
    font-size: 1rem;
}
#login-page form input:focus {
    border: 2px solid #bbb;
}
#login-page form input:focus + span, #login-page form input:valid + span {
    transform: translateY(-1.2rem);
    font-size: 1rem;
}
#login-page form .btn {
    padding: .3rem 1.5rem;
    margin-top: 1rem;
    border-radius: 4px;
    border: 1px solid ;
    background: #991122;
    color:#fff;
    font-size: 1.2rem;
    font-family: 'Vazir';
    cursor: pointer;
    transform: scale(1.1);
    transition: all .3s;
}
#login-page form .btn:hover {
    text-shadow: 1px 1px 2px rgba(255, 255, 255, .5);
    background: #990000;
    letter-spacing: 4px;
}

/*! /////////////////////////////////////////////////  END  LOGIN-PAGE END   /////////////////////////////////////////// */

/*! /////////////////////////////////////////////////  START  PAGINATION START   /////////////////////////////////////////// */

#pagination nav{
    border-top: 1px solid #ccc;
    padding-top: 1rem;
    margin:1rem 0 .5rem 0;
}
nav ul.pagination {
    width: min-content;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    box-shadow: 0 0 4px 1px #ccc;
    padding: .5rem;
    border-radius: 8px;

}
nav ul.pagination .page-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.1rem;
    width: 30px;
    height: 30px;
    border-radius: 4px;
}
nav ul.pagination .page-item.active {
    background: #00a65a;
}
nav ul.pagination .page-item.active span {
    font-size: .8rem;
    color: #fff;
}
nav ul.pagination .page-item:hover {
    background: #00a65a;
}
nav ul.pagination .page-item a {
    padding: 0.3rem;
    color: #444;
    font-size: .8rem;
    display: block;
    width: 100%;
    text-align: center;
    height: 100%;
}

nav ul.pagination .page-item:hover a  {
    color: #fff !important;
}

.comment-box .description{
    display: inline;
    font-size: 0.9rem;
    line-height: 2;
    color: #444;
}
.comment-box .body {
    display: grid;
    margin: 1rem;
}
.comment-box .body input {
    height: 3rem;
    padding: 0 .5rem;
    font-size: 1rem;
    font-family: 'vazir';
    outline: none;
    margin-bottom:1rem;
    border: 2px solid #c8c8c8;
    border-radius: 4px;
    transition: border .3s ease;
}

.comment-box .body textarea {
    padding: .5rem;
    font-size: 1rem;
    font-family: 'vazir';
    outline: none;
    margin-bottom:1rem;
    resize: none;
    border: 2px solid #c8c8c8;
    border-radius: 4px;
    transition: border .3s ease;
}
.comment-box .body input:focus, .comment-box .body textarea:focus{
    border: 2px solid #876;
}

.comment-box .body button {
    max-width: 80px;
    display: block;
    padding:.3rem .9rem;
    font-size:1rem;
    background: #0b6a08;
    color: #fff;
    font-family: 'vazir';
    cursor: pointer;
    border-radius:4px;
    border: 1px solid #23ff1b;
    opacity: .9;
    margin-bottom: .5rem;
    transition: opacity .3s ease;
}

.comment-box .body button:hover {
    opacity: 1
}

.comment-box .comments {
    margin-top: 1.5rem;
}
.comment-box .comments .comment {
    margin-bottom: 1.5rem;
}
.comment-box .comments .header {
    padding: .5rem;
    background:#0b6a08;
    display: flex;
    justify-content: space-between;
    color: #fff;
    border-radius: 4px 4px 0 0;
    align-items: center;
    font-size: .9rem;
}

.comment-box .comments .comment-body {
    font-size: .9rem;
    color: #444;
    padding: 1rem;
    border: 2px solid #cacaca;
    border-top: none;
    border-radius: 4px;
}

.comment-box .body .status {
    margin-bottom: 1.5rem;
    margin-right:.5rem;
}
.comment-box .body .status.fail {
    color: #af0000;
}
.comment-box .body .status.success {
    color: #00af00;
/*! /////////////////////////////////////////////////  END  PAGINATION END   /////////////////////////////////////////// */



