@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600,700);
@import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);

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

body{
    display: flex;
    flex-direction: ;
    justify-content: center;
}

body-conteiner{ 
width: 1000px;
}

.hbr-dty .hbr{
  width: 100%;
}

.hbr-dty .hbr img{
  width: 100%;
}


.hbr {
    font-family: 'Open Sans', Arial, sans-serif;
    position: relative;
    overflow: hidden;
    margin: 10px 0;
    background-color: #ffffff;
    color: #000000;
    text-align: left;
    font-size: 16px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    display: inline-flex;
    flex-direction: column;
    width: 49.5%;
}

.hbr * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.hbr:after {
  position: absolute;
  top: 12px;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 25px 0 25px 25px;
  border-color: transparent transparent transparent #d2652d;
  content: '';
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.hbr img {
  width: 100%;
  vertical-align: top;
  position: relative;
}

.hbr figcaption {
  padding: 20px 20px 30px;
  background-color: #ffffff;
}

.hbr .date {
  background-color: #d2652d;
  top: 15px;
  color: #fff;
  right: 15px;
  min-height: 48px;
  min-width: 48px;
  position: absolute;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50%;
  padding: 10px 0;
}

.hbr .date span {
  display: block;
  line-height: 14px;
}

.hbr .date .month {
  font-size: 11px;
}

.hbr h3,
.hbr p {
  margin: 0;
  padding: 0;
}

.hbr .baslik {
  margin-bottom: 10px;
  display: inline-block;
  font-weight: 700;
}

.hbr p {
  font-size: 0.8em;
  margin-bottom: 20px;
  line-height: 1.6em;
}

.hbr footer {
  padding: 0 25px;
  color: #999999;
  font-size: 0.8em;
  line-height: 50px;
  text-align: left;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

.hbr footer > div {
  display: inline-block;
  margin-right: 15px;
}

.hbr footer i {
  margin-right: 5px;
  font-size: 1.2em;
}

.hbr a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}

.hbr:hover:after,
.hbr.hover:after {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
}


/* Slide Css */

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination-bullet {
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    color: #000;
    opacity: 1;
    background: rgba(0, 0, 0, 0.2);
}

.swiper-pagination-bullet-active {
    color: #fff;
    background: #007aff;
}

.swiper-slide .slide-title{
    position: absolute;
    left: 0;
    width: 100%;
    bottom: 30px;
    z-index: 30;
    background-color: rgba(48, 48, 48, 0.9);
    padding: 10px;
    color: #fff;
    text-shadow: 1px 1px 2px rgb(0 0 0 / 80%);
    font-size: 26px;
    text-align: left;
    font-weight: 700;
}

.slider .swiper-pagination {
    background: #fff;
    justify-content: flex-start;
    display: flex;
    bottom: 0;
}

.slider .swiper-pagination-bullet {
    width: 100%;
    height: 30px;
    border: solid 2px #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 0;
    background-color: #fff;
    font-weight: 700;
    color: #464646;
    font-size: 15px;
    margin:0 !important;
}

.slider .swiper-pagination-bullet-active {
    background-color: #d5151c;
    border-color: #d5151c;
    opacity: 1;
    color: #fff;
}


nav{
    display: flex;
    flex-direction: column;
}

div.nav{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    margin: 10px;
   
}

nav div.logo{
  
    height: 80px;
    width: 250px;
    margin-right: 20px;
    overflow: hidden;
}

nav div.rklm {
    border: 2px solid black;
    height: 80px;
    flex-grow: 1;
    overflow: hidden;
}

nav div.iller {
    margin: 0px 10px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    max-width: 1200px;
    flex-wrap: wrap;
    margin-top: 10px;
}

nav div.iller a{
    display: flex;
    border: 4px solid black;
    border-radius: 5px;
    text-decoration: none;
    color:black;
    font-size: 25px;
    height: 40px;
    text-align: center;
    margin: 0 3px 10px 3px;
    flex: 1;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding:2px;
   
}

main{
    display: flex;
    flex-direction: row;
    margin: 10px ;
}


main div.slider{
    height: 400px;
    width: 74%;
    border: 2px solid black;
    margin-right: 10px;
}



main div.rklm{
   height: 400px;
   width: 26%; 
   border: 2px solid black;
   overflow: hidden;
}

main{
    display: flex;
    flex-direction: row;
    margin: 10px ;
}

main div.slider2{
   
    width: 74%;
  
    margin-right: 10px;
}
main div.slider2 div.conteiner div.rklm{
  
    border:2px solid black;
    height: 200px;
    width:100%;
    overflow: hidden;
}

main div.slider2 div.conteiner div.conteiner-hbr{
    display: flex;
    flex-direction: row;
  
}

main div.slider2 div.conteiner div.hbr{

    height: 400px;
    width:100%;
    display: flex;
    flex-direction: row;
      justify-content: center;
}

main div.slider2 div.conteiner div.hbr div.conteiner-hbr{
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 100%;
  
     border-right:2px solid black;
      border-bottom:2px solid black;
      border-left:2px solid black;
}

main div.slider2 div.conteiner div.hbr div.conteiner-hbr:nth-child(1){
   border-right: none; 
}

main div.slider2 div.conteiner  div.hbr div.conteiner-hbr div.box{
    border:2px solid black;
    max-width: 100%;
    height: 80%;
        box-sizing: border-box;
    margin: 10px;
   
   
}



main div.slider2 div.conteiner  div.hbr div.conteiner-hbr div.baslik{
    border:2px solid black;
    max-width: 100%;
    height: 20%;
  margin:10px;
  
}


main div.rklm2{
   height: 800px;
   width: 26%; 
   border: 2px solid black;
   overflow: hidden;
   display: block;
}


@media (max-width: 968px){

    .swiper-slide .slide-title {
    font-size: 16px;
}


    body-conteiner{
        width:100%;
    }

    
    nav div.rklm{
        display: none;
    }
    
    nav div.logo{
      width: 100%;
        margin: 0px;
    }

 nav div.iller{
   

    
}
   
    main div.slider{
    height: 400px;
    width: 75%;
    border: 2px solid black;
    margin-right: 10px;
}
    main div.rklm{
   height: 300px;
    width: 25%; 
     border: 2px solid black;
}
    main div.slider2{
   
    width: 75%;
  
    margin-right: 10px;
}
    main div.rklm2{
        width: 100%; 
         border-right: 2px solid black;
        border-bottom: 2px solid black;
        border-left: 2px solid black;
            
    }
}


@media (max-width: 600px){

    .hbr {
        width: 100%;
    }

    main {
    display: flex;
    flex-direction: column;
    margin: 10px;
}

main div.rklm{
    width: 100%;
    margin-top: 10px;
}

main div.rklm img{
    width: 100%;
    height: 100%
}

    div.nav {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        margin: 10px;
    }

    nav div.rklm{
        display: block;
    }

    nav div.logo {
        width: 100%;
        margin: 0px;
        display: flex;
        justify-content: center;
        border: 0;
    }

    nav div.rklm img{
        width: 100%;
        height: 100%;
    }

    main div.slider {
        height: 400px;
        width: 100%;
        border: 2px solid black;
        margin-right: 10px;
    }


    main div.slider2{
        width: 100%
    }

    main div.rklm2 {
    width: 100%;
    border-right: 2px solid black;
    border-bottom: 2px solid black;
    border-left: 2px solid black;
    height: auto;
}

    main div.rklm2 img {
        width: 49%;
    }


}



