@keyframes colorchanger {
    from {background-color: rgb(255, 255, 255);}
    to {background-color: rgb(0, 185, 154);}
  }
  
  .btnchangercolor {
    /*background-color: rgb(255, 242, 147);*/

    animation: colorchanger 2s infinite;
  }

#menubar a.nav-item {
    color: rgb(255, 242, 147);
    font-size: large;
    text-decoration-line: none;
}

#menubar li a.nav-item:hover {
    text-decoration-line: underline;
}

.dropdown-menu a.dropdown-item{
    direction:rtl;
    text-align:right;
    font-size: large;
}

#slidepic {
    position: static;
}

.nav-item {
    padding-right:10px;
    font-size: large;
    color:yellow;
}

body {
    background-image: url('../logo/backgroundtheme.png');
    background-size: 200px 200px;
    background-repeat: repeat-x-y;
}

.partformat {
    font-family: BROYA_0, Tahoma, Geneva, sans-serif;
    direction: rtl;
    text-align: justify;
    text-justify: inter-word;
}

.titleformat {
    font-family: BROYA_0, Tahoma, Geneva, sans-serif;
    direction: rtl;
    text-align: center;
    text-justify: inter-word;
    font-size: large;
}

@font-face {
    font-family: 'BROYA_0';
    src: url('font/BROYA_0.eot') format('embedded-opentype'),url('font/BROYA_0.svg#BROYA_0') format('svg'), url('BROYA_0.eot?#iefix') format('embedded-opentype'), url('../font/BROYA_0.otf') format('opentype'), url('../font/BROYA_0.TTF') format('truetype'), url('../font/BROYA_0.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.titletext {
    font-family:"nastaliq";
    direction: rtl;
    text-justify: inter-word;
    margin-top: 0px;
    margin-bottom: 0px;
    color: rgb(255, 255, 255);
    /*text-shadow: 2px 2px 5px rgb(190, 229, 255);*/
}

.titelbackground{
    z-index:10;
    background-image: url('../logo/kashi.jpg');
    background-size: 30px 30px;
    background-repeat: repeat-x-y;
}

.jumbotron {
    background-image: url('../logo/footertheme.png');
    background-size: 200px 200px;
    background-repeat: repeat-x-y;
}

@font-face {
    font-family: 'nastaliq';
    src: url('font/IRANNASTALIQ1.eot') format('embedded-opentype'),url('font/IRANNASTALIQ1.svg#BROYA_0') format('svg'), url('IRANNASTALIQ1.eot?#iefix') format('embedded-opentype'), url('../font/IRANNASTALIQ1.otf') format('opentype'), url('../font/IRANNASTALIQ_1.TTF') format('truetype'), url('../font/IRANNASTALIQ1.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.carsolimageclass {
    border-radius: 0px;
    width: 33%;
    margin-top: 0px;
    margin-bottom: 0px;

}
@media (max-width: 767px) {
    .carsolimageclass {
        width: 70%;
    }
}
/*-----------------*/
.containerclass {
    position: relative;
}
  
.imageclass {
    display: block;
    width: 100%;
    padding-bottom: 47%;
}
  
.overlayclass {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgb(1, 2, 75);
    opacity: 0.85;
    overflow: hidden;
    width: 100%;
    height: 50%;
    transition: .5s ease;
}
  
.containerclass:hover .overlayclass {
    height: 100%;
}
  
.textclass {
    white-space: normal;
    width: 100%;
    text-align: center;
    font-size:medium;
    color: rgb(255, 255, 0);
    position: relative;
    overflow: hidden;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.errortext {
    font-family: BROYA_0 , Tahoma, Geneva, sans-serif;
}

#logoshahrdari{
    -webkit-mask-image: linear-gradient(to left, black 25%, transparent);
    mask-image: linear-gradient(to left, black 25%, transparent);
}

.hovercolor, .colcard{
    font-size: 20px;
}

.hovercolor:hover {
    color:rgb(41, 62, 255);
    cursor: pointer;
}