


/* ///////////////////////////////////////////////// HEADER /////////////////////////////////////////// */
.roban {
  width: 100%;
  height: 4px;
  background: #871322;
}
header {
  margin-bottom: 1rem;
}
header nav {
  width: 100%;
  height: 3rem;
  /*background: #bcbcbc;*/
}
header nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header nav .slogan {
  margin-right: 15rem;
  width: 300px;
  height: 30px;
  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;
}
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;
  color: white;
  margin-left: 1rem;
}
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;
}


menu {
  height: 4rem;
  /*background: #cdcdcd;*/
  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 {
  color: #000;
  margin-right: 1rem;
}

menu h1 a .logo {
  /*margin-top: -.5rem;*/
  width: 200px;
  height: 100px;
  background: url("../img/primary/logo.png") center/90% 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.3rem;*/
}
menu .menu .categories .item a {
  padding: 0.3rem 0.6rem;
  font-size: .8rem;
  font-weight: normal;
  /*color: #333333;*/
  border-radius: 6px;

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

menu .time {
    font-size: 0.8rem;
}
/* ///////////////////////////////////////////////// END HEADER END /////////////////////////////////////////// */

/* /////////////////////////////////////////////////    content    /////////////////////////////////////////// */
.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;
}

.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: #003366;
  padding: 6px 10px;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  border-top-right-radius: 0;
}
.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: .9rem;
  color: #444;
  font-weight: normal;
}

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

.main-news .content .item .time {
  margin-top: 0.5rem;
  font-size: 0.7rem;
  color: #666;
  display: flex;
  align-items: center;
}

.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;
  transition: 0.3s;
  transition-delay: 0.3s;
}

#footer ul li {
    transition: 0.3s;
    transition-delay: 0.3s;
}
#footer ul li:hover {
  margin-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;
}
.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 {
  display: inline;
  font-size: 0.9rem;
  line-height: 2;
  color: #444;
}

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

.news-details .body .img {
  width: 100%;
  height: auto;
  max-height: min-content;
}

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



/*! /////////////////////////////////////////////////  START  PAGINATION START   /////////////////////////////////////////// */
nav ul.pagination .page-item {
    width: 25px;
    height: 25px;
}
/*! /////////////////////////////////////////////////  END  PAGINATION END   /////////////////////////////////////////// */
