﻿.br-half-em {
    border-radius: .5em;
}

.clamp-text {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

@media only screen and (min-width: 768px) {
    .slider-item-card {
        padding: 0 2em;
        border-left: 0.5px solid lightgray;
        border-right: 0.5px solid lightgray;
    }

    .slider-item-img {
        height: 150px;
    }

    .tns-nav {
        display: none !important;
    }

    .slider-border-hider {
        pointer-events: none;
        position: absolute;
        left: 57px;
        width: calc(100% - 114px);
        z-index: 1;
        border-left: 3px solid white;
        border-right: 3px solid white;
    }
}

@media only screen and (max-width: 768px) {
    .tns-nav {
        text-align: center;
    }

    .slider-item-img {
        height: 192px;
    }

    .controls {
        display: none !important;
    }

    .tns-nav>[aria-controls] {
        background-image: initial;
        background-color: rgb(43, 47, 49);
        border-color: initial;
    }

    .tns-nav>.tns-nav-active {
        background: #999;
    }

    .tns-nav>[aria-controls] {
        width: 9px;
        height: 9px;
        padding: 0;
        margin: 0 5px;
        border-radius: 50%;
        background: #ddd;
        border: 0;
    }

    .tns-outer [aria-controls],
    .tns-outer [data-action] {
        cursor: pointer;
    }

    .tns-nav>.tns-nav-active {
        background-image: initial;
        background-color: rgb(82, 88, 92);
    }

    .slider-border-hider {
        display: none;
    }
}

.slider-item-img {
    object-fit: cover;
}

.slider-item-content {
    margin: 0 .4em;
}

.category-badge {
    /*font-size: 1.1em;
    margin: 0.9375em 0;
    background: rgba(33, 150, 243, 0.12);
    color: #2196f3;
    font-weight: normal;
    border-radius: 0.3em;*/
    /*margin: 0.9375em 0;*/
    margin-top: 25px;
    font-weight: normal;
    border-radius: 0.3em;
}

.content-date {
    color: #9A9A9A;
    margin-bottom: .4em;
}

.controls {
    pointer-events: none;
    z-index: 1;
    margin: 0;
    padding: 0;
    list-style: none;
    position: absolute;
    left: 2em;
    width: calc(100% - 4em);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.controls li {
    pointer-events: auto;
}

.controls:focus {
    outline: none;
}

.controls li:hover {
    cursor: pointer;
}

.slider-nav-button {
    border-radius: 10em;
    height: 2.5em;
    width: 2.5em;
    box-shadow: 1px 1px 4px 1px lightgray;
}

.slider-nav-arrow {
    font-size: 2.125rem;
    color: #989898;
    position: relative;
    top: 8%;
}

.sna-right {
    left: 27%;
}

.sna-left {
    left: 24%;
}

.color-initial {
    color: initial;
}