/*
Theme Name: Caglar Bostanci Templates
Theme URI: https://caglarbostanci.com.tr
Author: Caglar Bostanci
Author URI: https://caglarbostanci.com.tr
Description: Outhor Caglar Bostanci
Tags: Caglar Bostanci
Version: 1.0
License: GNU General Public License v2 or later
License URI: caglarbostanci.com.tr
Text Domain: caglarbostanci.com.tr
Contact
Phone : 05439571508
e-mail: info@caglarbostanci.com.tr
*/

:root{
    --link-soft:#7f8690;
    --link-light:#fcfcfc;
    --link-dark:#333;
    --color-one: rgba(218,41,28,1);
    --primary : rgba(218,41,28,1);
    --secondary : #333;
}


ul#nav-top-left{
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    list-style: none;
}
ul#nav-top-left li{
    margin-right: .5rem;
}
ul#nav-top-left li:after{
    content: "/";
    font-weight: bold;
    color:var(--link-soft);
    margin-left: .5rem;
    font-size:12px;
}
ul#nav-top-left li a{
    color:var(--link-soft);
    text-decoration: none;
    font-size: 12px;
}
ul#nav-top-left li a:hover{
    color:var(--link-dark);
    text-decoration: underline;
}

@media (max-width:990px) {
    ul#nav-top-left{
        display: none;
    }
}

ul#nav-top-right{
    margin: 0;
    margin-right:10rem;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    list-style: none;

}
ul#nav-top-right li{        
    margin-left: .5rem;
}

ul#nav-top-right li a{
    color:var(--link-soft);
    text-decoration: none;
    font-size: 18px;
    line-height: 18px;
}
ul#nav-top-right li a:hover{
    color:var(--link-dark);
    text-decoration: underline;
}   
#header-top{
    background-size: auto 100%;
    background-position: right;
    background-repeat: no-repeat;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;

}
.logo-2{
    display:flex;
    flex-direction:row;
    align-items:center;
}   
@media (max-width:990px) {
    ul#nav-top-right{
        margin-right:0;
        width:100%;
        justify-content: flex-start;
    }
    #header-top-row > div:first-child{
        display:none !important;
    }
    #header-top-row > div:last-child{
        width:100%;
        height:100%  !important;
        text-align: left;
        min-height: 50px;
    }
    .header-top{
        height: auto;
        min-height: auto;
    }
    .logo-2{
        display:none;
    }
}
#header{
    background-color:rgba(255,255,255,.8)  ;
    border-bottom:1px solid var(--meb-one);
}

.header-row-nav{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.header-row-nav > div:nth-child(1){
    flex: 0 0 auto;
}
.header-row-nav > div:nth-child(2){
    flex-basis: 100%;
    justify-content:flex-end;
}       
.header-row-nav > div:nth-child(3){
}
#header .header-nav .nav > li{
    border-top: 1px solid transparent;
;
}
#header .header-nav .nav > li > a.menu-item{
    /* background-color: red; */
}
#header .header-nav .nav > li:hover{
    border-color: var(--primary);
    background-color: var(--link-light);
}


.custom-slider-text-1{
    font-size: 2rem;
}

.custom-slider-el-1{
    max-width:40%;
}
.slideImage{
    /* position: absolute !important;
    top: 0;
    right: 10%;
    bottom: 0; */


}
.slider-container{
    /* position: relative; */
    /* background-color: rgb(90, 13, 214); */
    border: 1px solid red;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center !important;
    align-items: center;    
    align-content: center;

}
.slider-container > div{
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100%;
}
.slider-container > div:first-child{
    order: 1;
    /* background-color:green; */
    padding: 1rem;
    flex-basis: 50%;
    justify-content: flex-start;
    
}
.slider-container > div:first-child{
}
.slider-container > div:first-child a{
    display:flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: red;
    width:85%;;
    height:30rem;
    overflow: hidden;
}
.slider-container > div:first-child img{
    
}
.slider-container > div:last-child{
    /* background-color: yellow; */
    flex-basis: 20%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}
.slider-container > div:last-child h2:nth-child(1){
    font-weight: bold !important;
    color: var(--secondary);
    font-size: 2rem;
}
.slider-container > div:last-child h2:nth-child(2){
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--link-soft);
}
 .btn-slider{
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    padding: .8rem 1.5rem;
    text-decoration: none;
    transition: all .5s ease;
    display: inline-block;
 }


.btn-slider:hover{
    text-decoration:none !important;
    background-color: var(--secondary);
    color:white;
 }
 .slider-image-container{
 }
@media (max-width:990px) {
 .slider-container{
    flex-direction: column;
    justify-content: center !important;
    
 }
 .slider-container > div:first-child a{
    width:100%;
    height: 15rem;
    overflow: hidden;
 }
 
 .slider-container > div:first-child img{
     height: 15rem !important; 
    /* height:auto !important; */
 }
 .slider-container > div:last-child{
    position: absolute;
    bottom: .5rem !important;
    left: 5%;
    width: 90%;
    line-height: 1rem !important;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding:.5rem !important;
    box-sizing: border-box;
 }
 .slider-container > div:last-child h2{
    padding: .2rem;
    box-sizing: border-box;
    margin: 0 !important;
    color:white !important; 
    background-color: rgba(0,0,0,.5);

 }
 .slider-container > div:last-child h2:nth-child(1){
    font-size: 1rem !important;
    line-height:1.3rem !important;
 }
 .slider-container > div:last-child h2:nth-child(2){
    font-size: 1rem !important;
    margin-bottom: .5rem !important;
    line-height:1.3rem !important;
 }
  .btn-slider{
    font-size: 1rem;
    padding: .5rem 1rem;
  }

}

#sm-button .owl-prev:before,#sm-button .owl-next:before{
    padding: 1rem;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
}
@media (max-width:990px) {
    #sm-button .owl-prev:before,#sm-button .owl-next:before{
        padding: .5rem !important;
    }
}


.du-ha{
}
.du-ha-kutu{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap:.5rem;
    flex-wrap: wrap;
    
}

.du-ha-kutu > .kutu-icerik{
    flex-basis: 49%;
    border:1px solid var(--link-soft);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-radius: .5rem;
    box-sizing: border-box;
    padding: .5rem .8rem;
    
}
.du-ha-kutu > .kutu-icerik > div{
}
.du-ha-kutu > .kutu-icerik > div:first-child{
    width: 20%;
    height: 6.6rem;
    border-right: 1px solid var(--link-light);
    padding: .5rem;
    font-weight: 500;
    background-image: url('img/takvim-back.png');
    background-repeat: no-repeat;
    background-size:100% 100% !important;
    background-position: center center;
    display: flex;
    align-items: center;
    line-height: 1rem;
    box-sizing: border-box;
    text-align: center !important;
    font-size: 1rem;

   
}

.du-ha-kutu > .kutu-icerik > div:last-child{
    width: 80%;
    min-height: 6.6rem;
    max-height: 6.6rem;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-content: flex-start;
    align-items: center;
}

.du-ha-kutu > .kutu-icerik > div:last-child h4{
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    margin: 0;
    padding: 0 0 0 .5rem ;

}
.du-ha-kutu > .kutu-icerik > div:last-child a{
    text-decoration: none;
}
.du-ha-kutu > .kutu-icerik > div:last-child h4 a{
    font-weight: bolder;
    color: var(--link-soft);
}
.du-ha-kutu > .kutu-icerik > div:last-child p a{
    font-weight: 500;
    color: var(--link-soft);
}
.du-ha-kutu > .kutu-icerik > div:last-child p{
    margin: 0;
    padding: 0 0 0 .5rem;
    text-align: left;
}


@media (max-width:990px) {
    .du-ha-kutu > .kutu-icerik > div:first-child{
        width:18%;
        font-size: 12px !important;
        line-height: 14px !important;
        /* background:red; */
        height: 6rem !important;
        background-image: url('img/takvim-back.png');
        background-repeat: no-repeat;
        background-size: 100% 100% !important;
        background-position: center center;
        text-align: center !important;
    }
    .du-ha-kutu > .kutu-icerik > div:last-child h4 a{
        font-size: 12px !important;
        line-height: 13px !important;
    }
}


.btn-primar{
    background-color: var(--primary);
    color: white;
}
.btn-primar:hover{
    background-color: var(--link-dark);
}

@media (max-width:990px){
    .du-ha-kutu{
        flex-direction: column;
    }
    .du-ha-kutu > .kutu-icerik{
        flex-basis: 100%;
        padding: .3rem .3rem;
    }
    
}

.sayfa-icerik p{
    text-align: justify;
}

.text-dark{
    color: var(--link-dark);
    text-decoration: none;
    
}


.wp-element-button{
    margin-bottom:1rem;
}

.post-image{
    width:100%;
    height:400px;
    display: flex;
    flex-direction: row;
    justify-self: unset;
    align-items: center;
    align-content: center;
    overflow: hidden;
    margin-bottom: 3rem;
}   

.btn-secondary{
    border-color: var(--link-soft)  !important;
}
.btn-secondary:hover{
    background-color: var(--link-soft) !important;
    color:white;
    border-color: white !important;
}

.pswp__img {
    width: 1000px !important;
    max-height: auto !important;
    object-fit: contain;
    text-align: center !important;
}
.pswp__item{
    text-align: center !important;
    left: calc(calc(100% - 1000px ) / 2) !important;
} 