@import "back-to-top.css";
@import "dark-mode.css";
@import "back-to-top.css";
@import "long-cards.css";
@import "box-cards.css";

html, * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    scroll-behavior: smooth;
}

.home-section-title {
    font-weight: bold;
    display: flex;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
    text-transform: uppercase;
}

.home-section-title::after {
    content: '';
    flex: 1;
    margin-left: 1rem;
    height: 1px;
    background-color: darkgray;
}

.carousel-caption.d-none.d-md-block {
    background-color: rgba(33, 37, 41, 0.35);
    border-radius: 8px;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

nav.navbar.sticky-top::before {
    content: "";
    position: absolute;
    border-radius: 8px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(7px);
    z-index: -1;
}

nav.navbar.sticky-top {
    background-color: rgba(14, 14, 19, 0.9) !important;
    border-bottom: none !important;
    -webkit-backdrop-filter: blur(7px);
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
    z-index: 1001;
}

.dropdown-menu {
    border:none;
    background-color: rgba(14, 14, 19, 0.9);
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

.dropdown-menu::after {
    content: "";
    position: absolute;
    border-radius: 8px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(7px)!important;
    z-index: -1;
}

.dropdown-item {
    border-radius: 3px;
    text-wrap: pretty;
}

.navbar-search {
    position: relative;
}

.search-list {
    display: none;
    position: absolute;
    min-width: 250px;
    max-width: 250px;
    text-wrap: pretty;
    word-wrap: break-word;
    top: 100%;
    left: 0;
    margin-top: 8px;
    z-index: 1000;
}

/*.navbar-search:focus-within .search-list {
    display: block;
}*/

.sonuclar{
    position: absolute;
}
.sonuclar ul {
    display: block!important;
}

img.featured-image {
    width: inherit;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

img.tinymce-max-width-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}


.swiper {
    width: 100%;
    padding-left: 12px!important;
    padding-right: 12px!important;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.top-left {
    position: absolute;
    color: lightgrey;
    top: 10px;
    left: 20px;
    padding: 10px;
    background-color: rgba(6, 12, 12, 0.9);
    border-radius: 7px;
    backdrop-filter: blur(5px);
}

.navbar-toggler {
    border: none;
    outline: none;
}

iframe {
    width: 100%;
    aspect-ratio: 16/9 !important;
    border-radius: 8px;
}

.category-posts{
    height: 300px;
    overflow-y: auto;
}
.category-posts::-webkit-scrollbar-track
{
    background-color: #333;
    border-radius: 5px;
}
.category-posts::-webkit-scrollbar
{
    width: 10px;
    background-color: #333;
    display: block;
    border-radius: 5px;
}

.category-posts::-webkit-scrollbar-thumb
{
    background-color: #c6303e;
    border-radius: 5px;
}


.spinner-container {
    position: relative;
}

/* Loading Spinner */
.spinner-border {
    position: absolute;
    top: 18%;
    right: 45px;
    zoom: 0.75;
}

pre.language-markup {
    padding: 20px;
    border-radius: 10px;
    background-color: #343a40;
    color: #fff;
}

.hljs {
    background: #343a40 !important;
    border-radius: 10px;
}

blockquote{
    font-size: 1.4em;
    width:100%;
    margin:40px auto;
    font-family: Open Sans, serif;
    font-style:italic;
    color: rgba(39, 39, 39, 0.9);
    padding:1.2em 15px 15px 55px;
    border-left:8px solid #dc3545 ;
    line-height:1.6;
    position: relative;
    background: #e0e2e5;
    border-radius: 10px;
}

blockquote::before{
    content: "\201C";
    color:#dc3545;
    font-size:4em;
    position: absolute;
    left: 5px;
    top:-10px;
}

.form-control:focus {
    border-color: #dc3545;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 0, 0, 0.6);
}


