
@font-face {
    font-family: 'b-yekan';
    src: url("../../fonts/BYekan.woff") format('woff');
    font-weight: normal;

font-style: normal
   
}

@font-face {
    font-family: 'IranNastaliq';
    src: url("../../fonts/IranNastaliq.eot?#") format('eot'), url("../../fonts/IranNastaliq.ttf") format('truetype'), url("../../fonts/IranNastaliq.woff") format('woff');
}
@font-face {
    font-family: 'FontAwesome';
    src: url("../../fonts/fontawesome-webfont.eot");
    src: url("../../fonts/fontawesome-webfont.eot") format('embedded-opentype'), url("../../fonts/fontawesome-webfont.woff2") format('woff2'), url("../../fonts/fontawesome-webfont.woff") format('woff'), url("../../fonts/fontawesome-webfont.ttf") format('truetype'), url("../../fonts/fontawesome-webfont.svg") format('svg');
    font-weight: normal;
    font-style: normal;
}
@media screen and (max-width: 510px) {
    .top-header .logo-img {
       width: 100%;
    height: 59% !important;
    }
}
@media screen and (max-width: 730px) {
    .farhang img {
       display:none !important;
    }
}
@media screen and (min-width: 1350px) {
    .nav-header .navbar-nav {
        margin-right: 100px !important;
    }
}
@media screen and (max-width: 1350px) and (min-width: 1205px) {
    .nav-header .nav-link {
        font-size: 13px !important;
    }
    .top-footer .navbar-nav .nav-item .nav-link {
        font-size: 12px !important;
    }

}
@media screen and (max-width: 1205px) and (min-width: 992px) {
    .top-footer .navbar-nav .nav-item .nav-link {
        font-size: 9px !important;
    }

}
@media screen and (max-width: 1205px) and (min-width: 1200px) {
    .nav-header .nav-link {
        font-size: 11.5px !important;
    }

}
@media screen and (max-width: 1199px) {
    .nav-header .navbar-toggler {
        /* margin-right: 100px !important; */
        margin-top: 8px !important;
    }
    .nav-header .navbar-collapse {
       
     z-index: 111111;
    }
    .nav-header .navbar{
        width: 250px !important;
    }
    .nav-header .navbar-nav {
        width: 200px;
        background: white;
        border-radius: 5px;
        box-shadow: 0 0 15px 0 #00000029;
    }
    .nav-header .nav-link {
        font-size: 13px !important;
    }

    .search span.light-brown {
        font-size: 13px !important;
    }
    .search .search-btn-parent {
        justify-content: center !important;
        display: flex !important;

    }
    .search .search-btn {
        margin-top: 20px;
        width: 35% !important;

    }
    .conferences .conference-item .text span {
        font-size: 13px;
    }

}
@media screen and (max-width: 992px) {
    .title-of-list {
    width:unset !important;
}
    .top-header .title {
        font-size: 35px !important;
        margin-right: 145px !important;
        margin-top: -29px !important;
    }
    .top-header img {
        padding-right: 0 !important;
        padding-left: 5px !important;
    }
    .top-header .farhang {
        margin-left: 0px !important;
    }
    .books .card,
    .news .card {
        margin-top: 20px !important;
    }
    .news .news-item {
        padding-left: 100px !important;
        padding-right: 100px !important;
    }
    .conferences .conference-item .text span {
        font-size: 16px;
    }
    .top-footer {
        background-image: url("../../img/footer-bg1.png") !important;
        /* background-color: #38808e !important; */
    }
    .books .card{
    height:auto !important;
}
 .news .card{
    height:auto !important;
}

}
@media screen and (max-width: 768px) {
    .news .news-item {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .top-header img {
        margin-right: 5px !important;
    }
    .top-header .title {
        font-size: 32px !important;
        margin-right: 95px !important;
    }
    .farhang img {
        margin: 0 auto 10px !important;
    }
    .banner-caption h5 {
        font-size: 17px !important;
    }
    .banner .banner-caption {
        top: 10px !important;
    }
    .trapezoid1 {
        display: none;

    }
    .search .saerch-item {
        margin-top: 10px;
        justify-content: center;
        display: flex;
    }
    .search .dropdown,
    .search .search-name input {
        width: 52vw !important;
    }

    .search .search-name span {
        margin-left: 5px;
    }
    .conferences img {
        margin-top: 10px !important;
    }
    .gallery img {
        margin-top: 10px;
    }
    

}

@media screen and (max-width: 576px) {
    .search .search-btn {
        width: 55% !important;
    }
    .banner-caption h5 {
        font-size: 13px !important;
    }
    .top-header .rasmi {
        font-size: 20px;
    }

    .top-header .farhang span {
        font-size: 14px !important;
    }
    .top-header .title {
        font-size: 27px !important;
    }
    .top-header .farhang {
        margin-left: 10px !important;
    }
    

}

@media screen and (max-width: 400px) {
   
    .banner-caption h5 {
        font-size: 12px !important;
    }
    .top-header .rasmi {
        font-size: 17px;
    }

    .top-header .farhang span {
        font-size: 13px !important;
    }
    .top-header .title {
        font-size: 25px !important;
    }
    .top-header img {
        padding-left: 0px !important;
    }
    

}

body,
html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;

}
body {
    font-family: b-yekan;
    direction: rtl;
    text-align: right;
    font-weight: 100;
    margin: 0 !important;
    left: 0;
    overflow-x: hidden;
    background-image: url("../../img/BG.png");
    font-size: 14px !important;
}
.nastaliq-color {
    font-family: IranNastaliq;
    font-size: 25px;
    color: #a07730;
}
.nastaliq {
    font-family: IranNastaliq;
}
a {
    cursor: pointer;
    color: black;
    text-decoration: none;
}
a:hover {
    cursor: pointer;
    color: black;
    text-decoration: none;
}
strong {
    font-weight: bold;
}
ol,
ul {
    list-style: none;
}

ins {
    text-decoration: none;
}

del {
    color: #ff4c4c;
}
yellow {
    color: #fade00;
}
.light-brown {
    color: #bc9855;
}
.special-blue {
    color: #219bb0;
}
.carousel-control-prev {
    right: unset;
}
.dropdown-item {
    font-size: 13px;
    font-weight: 100;
}
.square::after,
.square::before {
    content: '';
    display: inline-block;
    height: 8px;
    width: 8px;
    background-color: #bc9855a3;
    margin-left: 10px;
    margin-right: 10px;

}
.trapezoid h2,
.trapezoid1 h2,.trapezoid1 span,.trapezoid span {
    height: 40px;
    display: block;
    padding-top: 18px;
    font-size: 21px;
}
/* hover */
.img-hover{
    position: relative;
    width: 50%;
  }
  
  .image {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
  }
  
  .middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
    padding-top: 100px;
  }
  
  .img-hover:hover .image {
    opacity: 0.3;
  }
  
  .img-hover:hover .middle {
    opacity: 0.5;
    background-color: #4e8f8f;
    border-top-left-radius: calc(0.45rem - 1px);
    border-top-right-radius: calc(0.45rem - 1px);
  }
  .text-hover{
    color: white;
    font-size: 16px;
    font-weight: 500;

  }
  
.top-footer form button.submit:hover {
    color:rgb(255, 184, 0) !important;
}
.top-footer  span:hover{
    color: goldenrod !important;
}
.page-item.active .page-link{
    background-color: #05979c !important;
}
.trap-hover:hover{
    border-bottom-color: #f0d85a !important;
}
.special-blue:hover,.title-of-list:hover{
    color: goldenrod !important;
}
.navbar-expand-xl .navbar-nav .nav-link:hover ,.top-footer .navbar-nav .nav-item .nav-link:hover {
    color:#a07730;
}
.form-control:focus ,.search select:focus {
    box-shadow: 0 0 0 0.2rem rgba(236, 221, 49, 0.37);
  outline: 0 !important;
}
.search .search-btn:hover {
    background-color: #05979c;
}
.banner-caption:hover{
    color: goldenrod !important;
}
.cool-link {
    display: inline-block;
    text-decoration: none;
}

.cool-link::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    margin-top: 3px;
    transition: width .5s;
    background: beige;
}

.cool-link:hover::after {
    width: 100%;
    transition: width .3s;
}
.continue:hover{
    color: goldenrod;
}
/*end hover */
/* header */
.top-header {
    width: 100vw;
    height: 220px;
    position: relative;
    /* border-bottom: 2px solid #e1bf20; */
    background-image: url("../../img/header.jpg");
}
.top-header .rasmi {
    font-size: 25px;
    vertical-align: text-bottom;
    text-shadow: 2px 2px 4px #000000eb;
}
.top-header .title {
    font-size: 40px;
    margin-right: 250px;
    margin-top: -35px;
    text-shadow: 2px 2px 4px #000000eb;
}
.top-header .farhang {
       margin-top: 45px;
    margin-left: 135px;
}
.top-header .farhang span {
    font-size: 20px;
    vertical-align: text-bottom;
    text-shadow: 2px 2px 4px #000000eb;
}
/* .top-header:after {
    content: '';
    position: absolute;
    width: 30vw;
    height: 35px;
    background-image: url("../../img/Shape\ 1.png");
    border-bottom-right-radius: 7px;
    top: 100%;
    left: 0;
    border-bottom: 2px solid #e1bf20;
    border-right: 2px solid #e1bf20;
} */
.top-header .date {
    z-index: 100000;
    position: absolute;
    left: 5vw;
    bottom: 13px;
    color: white;
    font-size: 13px !important;
}
.nav-header {
           background: linear-gradient(0deg, rgb(238, 236, 236) 50%, rgb(219, 216, 216) 32%);
    border-top: 2px solid #e2be24;
}
.nav-header .nav-link {
    color: #4f4f4f;
}
.nav-header .nav-link {
    border-left: 1px solid white;
    padding-left: 20px !important;
    padding-right: 20px !important;
    font-size: 14px;
    padding-bottom: 0;
    padding-top: 0;
    margin-top: 6px;
    margin-bottom: 6px;

}
.nav-header .nav-item:focus-within {
    background: linear-gradient(0deg, rgba(240,210,0,1) 4%, rgba(240,215,97,1) 60%);
}
.nav-header .dropdown-menu {
    background: linear-gradient(0deg, rgba(245,225,104,1) 54%, rgba(238,206,1,1) 100%);
    top: 40px;
    width: 100%;
    border: none;
}
.nav-header .dropdown-item {
    border-bottom: 1px solid white;
}
.nav-header .dropdown-item:last-child {
    border-bottom: none;
}
.nav-header .dropdown-item:hover {
    background: linear-gradient(0deg, rgba(252,248,213,1) 18%, rgba(246,229,121,1) 100%);
}
/* end header */
/* carousel */
.carousel-caption {
    right: 15%;
    bottom: unset;
    left: unset;
    top: 45%;
}
.carousel-caption h5 {
    background-color: black;
    opacity: 0.7;
}
/*end carousel */
/* search */
.search .search-name input {
    width: 65%;
    border-color: #e0d2b5;
}
.search select {
    font-size: 13px;
    border: 1px solid #e0d2b5;
    color: #b1a7a7;
}
.search .dropdown-toggle::after {
    margin-right: 25px !important;
}
.search .search-btn {
    background-color: #02cbd2;
    border: 1px solid white;
    transition: all 0.2s ease-in;

}
.search .border-search {
    border: 2px solid #e0d2b5;
    border-radius: 7px;
    box-shadow: 0 0 15px 0 #00000029;

}
.banner img {
    border-radius: 7px;
    /* height: 160px; */
    box-shadow: 0 0 15px 0 #00000029;

}
.banner .banner-caption {
        top: 35px;
    left: 35px;
}

/*end search */
/* news */

.news .trapezoid {
    border-bottom: 50px solid #f0e4a5;
    border-left: 25px solid transparent;
    height: 0;
    width: 165px;
    border-top-right-radius: 3px;
    position: absolute;
    top: -50px;
    right: 0;

}

.news .back-ground {
    background-color: #ffffff;
    border-radius: 5px;
    border-top-right-radius: 0;
    box-shadow: 0 0 15px 0 #00000029;
}
.news .card {
    border: unset;
    box-shadow: 0 0 15px 0 #00000029;
    border-radius: 7px;
}
.news .card-img-top {
    width: 100%;
    border-top-left-radius: calc(0.45rem - 1px);
    border-top-right-radius: calc(0.45rem - 1px);
}
/* end news */

/* books */
.books .trapezoid {
    border-bottom: 50px solid #f0e4a5;
    border-left: 25px solid transparent;
    height: 0;
    width: 265px;
    border-top-right-radius: 3px;
    position: absolute;
    top: -50px;
    right: 0;
}
.books .back-ground {
    background-color: #ffffff;
    border-radius: 5px;
    border-top-right-radius: 0;
    box-shadow: 0 0 15px 0 #00000029;
}
.books .card {
    border: unset;
    box-shadow: 0 0 15px 0 #00000029;
    border-radius: 7px;
}
.books .card-img-top {
    width: 100%;
    border-top-left-radius: calc(0.45rem - 1px);
    border-top-right-radius: calc(0.45rem - 1px);
    /* height: 280px; */
}
/* end book */
/* conferences */
.conferences .trapezoid {
    border-bottom: 50px solid #f0e4a5;
    border-left: 25px solid transparent;
    height: 0;
    width: 265px;
    border-top-right-radius: 3px;
    position: absolute;
    top: -50px;
    right: 0;
}
.conferences .back-ground {
    background-color: #ffffff;
    border-radius: 5px;
    border-top-right-radius: 0;
    box-shadow: 0 0 15px 0 #00000029;
}
.conferences img {
    border: unset;
    box-shadow: 0 0 15px 0 #00000029;
    border-radius: 4px;
    width: 100%;
}
.conferences .conference-item {
    box-shadow: 0 0 15px 0 #00000029;
    border-radius: 4px;
}
/*.conferences .conference-item .text::before {*/
/*    content: '';*/
/*    display: inline-block;*/
/*    height: 100%;*/
/*    width: 3px;*/
/*    background-color: #e7bb7e;*/
/*}*/
.conferences .conference-item:hover, .conferences .conference-item.active  {
    background-color: #f0d000;
    font-weight: bold;
    color: #68655e;
}

.conferences .landscape-img {
    height: 216px;
}

/* end conferences */

/* gallery */
.gallery .trapezoid {
    border-bottom: 50px solid #f0e4a5;
    border-left: 25px solid transparent;
    height: 0;
    width: 265px;
    border-top-right-radius: 3px;
    position: absolute;
    top: -50px;
    right: -15px;
}
.gallery .trapezoid1 {
    border-bottom: 50px solid #f0e4a5;
    border-left: 25px solid transparent;
    height: 0;
    width: 110px;
    border-top-right-radius: 3px;
    position: absolute;
    top: -50px;
    right: 0;

}
.gallery .trapezoid1.one {
    right: 245px;
}
.gallery .trapezoid1.tow {
    right: 350px;
}
.gallery .trapezoid1.tree {
    right: 455px;
}
.gallery .trapezoid1.four {
    right: 560px;
}
.gallery .back-ground {
    background-color: #ffffff;
    border-radius: 5px;
    border-top-right-radius: 0;
    box-shadow: 0 0 15px 0 #00000029;
}
.gallery img {
    border: unset;
    box-shadow: 0 0 15px 0 #00000029;
    border-radius: 4px;
    width: 100%;
}
/* end gallery */

/* footer */
.top-footer {
    background-image: url("../../img/footer-bg.png");
    background-size: 100% 100%;
}
.top-footer .navbar-nav .nav-item .nav-link {
    color: #50696e;
    font-weight: bolder;
}

.top-footer .navbar-nav .nav-item .nav-link::before {
    content: '';
    display: inline-block;
    height: 5px;
    width: 5px;
    background-color: #bc9855a3;
    margin-left: 10px;
    margin-right: 10px;

}
.top-footer .title {
    border-bottom: 1px solid #69dbf1;

}
.top-footer svg {
    color: #69dbf1;
}
.top-footer form input::-webkit-input-placeholder {
    font-size: 13px !important;
}
.top-footer form button.submit {
    background-color: transparent;
    border: none;
    color: #f1c265;
    border-bottom: 1px solid;
    font-size: 13px;
}
/*end footer */
.books .card .card-text p{
    height: 40px;
    overflow: hidden;
}
.news .card{
    height: 100%;
}
.news .card .card-text p{
    height: 65px;
    overflow: hidden;
}
.card-body p{
       color: #808080d1;
    font-size: 13.5px;
}
.myTab{
        height: 315px;
    overflow: auto;
    padding-left: 25px;
        direction: ltr;
}
.text-hover.p-text-hover{
        position: absolute;
    top: 30%;
    right: 40%;
}

.img-hover:hover .middle.new{
        border-radius: calc(0.45rem - 1px);
}
.myTabContent{
        height: 315px;
    overflow: auto;
}
.link-footer{
    color:#69dbf1;
}
.link-footer:hover{
    color:rgb(255, 184, 0) !important;
}

.books .card-text  {
        height: 65px;
    overflow: hidden;
}
.books .card{
    height:100%;
}
.adress-bar .social-network svg{
        color: #329da1;
            font-size: 15px;
    vertical-align: top;
    
}
.tooltip {
  position: relative;
  display: inline-block;
 
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
 
  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
}
/*****************[For Print]*****************/
#section-to-print{
    display: none;
}
/*****************[For Print]*****************/