*{
  box-sizing: border-box;
  margin: 0;
}

.pagination>.active>span{
  background-color: #00b4cc;
  border-color: #00b4cc;
}
.pagination {
  float: right;
}

.header-card{
  color: #1a1a1a;
  font-family: 'Merriweather', serif;
  font-size: 25px;
  margin-bottom: -30px;
  margin-top: 30px
}

.in-card {
  min-height: 480px !important;
  margin-top: 4.5%;
  margin-left: 0px;
  float: left;
  text-align: center;
  display: none ;
}

.in-card p,
.in-card span {
  text-align: justify !important;
  font-family: 'Merriweather', serif !important;
  font-size: 15px !important;
  color: #4c4c4c !important;
  line-height: 20px !important;
  font-weight: 300 !important;
}

.in-card a {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-decoration: none;
  font-family: 'Oswald', sans-serif !important;
  font-weight: 400;
  line-height: 27px;
  color: #1a1a1a;
  font-size: 21px;
  font-style: normal;
  min-height: 25px;
}

.in-card a:hover {
  color: #00b4cc;
  transition: 0.3s;
  text-decoration: none;
}

.in-card.göster {
  display: block;
}

.name {
  float: left;
  text-decoration: none;
  font-family: 'Oswald', sans-serif !important;
  font-weight: 400 !important;
  line-height: 18px !important;
  color: #4c4c4c !important;
  font-size: 10px !important;
  font-style: normal;
  margin-right: 20px;
}

.name:hover {
  color: #00b4cc !important;
}

.read-more-dropdown {
  width: 120px;
  height: 40px;
  border: 1px solid rgba(0, 0, 0, 0.152);
  float: left;
  padding-top: 7px;
  margin-top: 5px;
}

.read-more-dropdown a {
  font-size: 12px !important;
  text-align: center !important;
  color: #1a1a1a !important;
  font-family: 'Oswald', sans-serif;
  font-weight: 400 !important;
  line-height: 22px !important;
}

.read-more-dropdown a:hover {
  color: #00b4cc !important;
  transition: 0.5s !important;
}

p.margin-bottom {
  margin-bottom: 0;
  overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}

.demo {
  display: none;
  padding: 10px;
  margin: 35px 0;
}

.demo.class {
  display: block;
}

.read-more-dropdown {
  width: 120px;
  height: 40px;
  border: 1px solid rgba(0, 0, 0, 0.152);
  float: left;
  padding-top: 7px;
}

.read-more-dropdown a {
  font-size: 12px !important;
  text-align: center !important;
  color: #1a1a1a !important;
  font-family: 'Oswald', sans-serif;
  font-weight: 400 !important;
  line-height: 22px !important;
}

.read-more-dropdown a:hover {
  color: #00b4cc !important;
  transition: 0.5s !important;
}

/*next to openbtn*/

.bottom-bar-2 {
  width: 100%;
  color: #ffffff !important;
  display: inline-block;
  text-align: center;
  font-size: 25px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(2, 2, 2, 0.6)), url(../images/ahmede-xane-1.jpeg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center; 
  background-size: cover;
  margin-top: 4%;
}

.hr {
  opacity: 0.7;
  width: 78%;
  height: 0.05px;
  text-align: center;
  margin-bottom: 0%;
  color: rgb(255, 255, 255) !important;
  background-color: #4c4c4c;
  margin-left: 115px;
}

.img-card {
  height: 180px ;
}

/* Alphabet */

.letter-box {
  margin-top: 15px;
  margin-right: 22px;
  text-decoration: none;
  float: left;
}


.letter-box a {
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 23px;
}

.letter-box a:hover {
  text-decoration: none;
  color: #00b4cc;
  transition: 0.5s;
}

.search-text-slideup{
  margin: 7% 25% 2% 25%;
}

.fa-clock{
  margin-top: 3px;
  font-size: 12px;
  float: left;
  color: #4c4c4c;
}

.fa-clock::before{
  margin-right: 5px;
}

.name-clock {
  margin: 10 0 15px 0px;
}



@media only screen and (min-width:1400px) {

  .margin-bottom {
    text-align: justify;
    padding-bottom: 0px;
    font-family: 'Merriweather', serif;
    font-size: 12px;
    color: #4c4c4c;
    width: 260px;
    margin-left: 0px;
    line-height: 20px;
    font-weight: 300;
    margin-top: -30px;
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
  }

  p.margin-bottom {
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
  }

  .search-mobile{
    display: none;
  }

  .hr {
    width: 63% !important;
    margin-left: 280px !important;
  }

}

/* Ekstra büyük cihazlar (büyük dizüstü bilgisayarlar ve masaüstü bilgisayarlar, 1200 piksel ve üstü) */
@media only screen and (min-width: 1200px) {

  .col-md-12.col-lg-12.alphabet {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
}
  
  .margin-bottom {
    text-align: justify;
    padding-bottom: 0px;
    font-family: 'Merriweather', serif;
    font-size: 12px;
    color: #4c4c4c;
    width: 260px;
    margin-left: 0px;
    line-height: 20px;
    font-weight: 300;
    margin-top: -30px;
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
  }

  p.margin-bottom {
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
  }

  .search-mobile{
    display: none;
  }

  .bottom-bar-2 {
    margin-bottom: 3%;
    width: 100% !important;
  }

  .img-card {
    padding: 0px 10px;
    height: 150px !important;
    width: fit-content;
  }

  .margin-bottom {
    margin-top: -20px !important;
  }

  .title-card {
    margin-top: 100px;
    text-align: center;
    font-size: 30px !important;
    line-height: 36px !important;
    font-weight: 600 !important;
    color: #737373 !important;
    font-family: 'Oswald', sans-serif;
  }

  .search-button {
    display: none;
  }
  
}


@media only screen and (min-width: 769px) {

  .search-button{
    display: none;
  }

  .margin-bottom {
    text-align: justify;
    padding-bottom: 0px;
    font-family: 'Merriweather', serif;
    font-size: 15px;
    color: #4c4c4c;    
    margin-left: 0px;
    line-height: 27px;
    font-weight: 400;
    margin-top: -30px;
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
  }

  .card-p {
    text-align: justify;
    font-family: 'Merriweather', serif;
    font-size: 12px;
    color: #4c4c4c;    
    margin-left: 0px;
    line-height: 20px;
    font-weight: 300;
  }

  .open {
    display: none;
  }

  .in-card p {
    padding-bottom: 25px;
    padding-top: 10px;  
  }

}

 @media only screen and (max-width: 992px) {

  .bottom-bar-2 {
    margin-top: 57px;
  }
 
  .letter-box {
    margin-top: 5px;
    margin-right: 15px;
    text-decoration: none;
    float: left;
  }
 }

/* Extra küçük cihazlar (telefonlar, 768px ve altı) */
@media only screen and (max-width: 768px) {

  .header-card{
    font-family: 'Merriweather', serif;
    font-size: 25px;
    color: #1a1a1a;
    margin: 10px 20px 0 20px
  }

  .margin-bottom {
    text-align: justify;
    padding-bottom: 0px;
    font-family: 'Merriweather', serif;
    font-size: 13px;
    color: #4c4c4c;    
    margin-left: 0px;
    line-height: 20px;
    font-weight: 300;
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
  }

  .card-p {
    text-align: justify;
    font-family: 'Merriweather', serif;
    color: #4c4c4c;    
    margin-left: 0px;
    line-height: 20px;
    font-weight: 300;
  }
  
  .read-more-dropdown {
    width: 120px;
    height: 40px;
    border: 1px solid rgba(0, 0, 0, 0.152);
    float: left;
    margin-right: 50%;
    padding-top: 7px;
  }

  .img-card {
    width: 100%;
    height: auto;
  }

  .in-card {
     float: left;
    text-align: center;
  }

  .in-card a {
    font-size: 18px;
  }

  .in-card p {
    font-size: 10px;
    padding-top: 10px;
  }

  .read-more-dropdown {
    float: left;
    margin-top: 5px;
  }

  .read-more-dropdown a {
    font-size: 10px;
  }

  .alphabet {
    height: 50;
    width: 100%;
    overflow: scroll;
  }

  .letters, .alphabet, .up {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .letter-box a {
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 23px;
    margin-right: 9px;
  }

  .bottom-bar-2 {
    margin: 57px 0 5% 0;
    background-position-x: 50%;
  }

  .hr {
    width: 100%;
    margin-left: 0px;
  }

  .search-text-slideup {
    margin-left: 25px;
    margin-bottom: -20px;
    margin-top: 40px;
  }

  .search-text-slideup{
    margin: 80px 10% 2% 10%;
    font-size: 14px;
  }

}

@media only screen and (max-width:376px) {

  .bottom-bar-2{
    margin: 80px 0 10px 0;
  }

  .alphabet {
    height: 50;
    width: 100%;
    overflow: scroll;
  }

  .letter-box a {
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 23px;
    margin-right: 9px;
  }

  .read-more-dropdown {
    width: 120px;
    height: 40px;
    border: 1px solid rgba(0, 0, 0, 0.152);
    float: left;
    margin-right: 50%;
    padding-top: 7px;
  }

  .letter-box {
    margin-right: 1%;
  }

  .img-card {
    width: 100% !important;
  }

  .in-card p {
    padding: 0 !important;
    padding-top: 10px !important;
  }

}

@media only screen and (max-width:320px) {

  .alphabet {
    height: 50;
    width: 100%;
    overflow: scroll;
  }

  .letter-box a {
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 23px;
    margin-right: 9px;
  }

  .letter-box {
    margin-right: 1%;
    margin-top: 5px;
  }

  .read-more-dropdown {
    width: 120px;
    height: 40px;
    border: 1px solid rgba(0, 0, 0, 0.152);
    float: left;
    margin-right: 50%;
    margin-top: 20px;
    padding-top: 7px;
  }

  .bottom-bar-2 {
    height: 327px;
    margin-top: 55px;
  }

  .in-card p {
    font-size: 10px !important;
  }

}
