body {
    color: #414141;
}

.hero .bg-image::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/grid.png') repeat;
}

.hero .bg-image {
    opacity: .55;
}

.hero.bg-dark {
    background-color: #000 !important;
}

.hero h1 {
    position: relative;
    padding-left: 76px;
}

.hero h1::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 56px;
    height: 100%;
    background-image: var(--effect);
    background-repeat: repeat-y;
}

.bg-image {
    background-position: center center;
    background-size: cover;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.navbar-nav .nav-link span{
    display: block;
    margin-top: 6px;
    font-weight: 600;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1.2rem;
    padding-left: 1.2rem;
}

.z-index-1 {
    z-index: 1;
}

.line {
    display: block;
    width: 100%;
    padding: 3px 0;
    border-bottom: 1px dashed #414141;
}

.calendar .small {
    font-size: 92% !important;
}

.cursor-pointer {
    cursor: pointer;
}

.carousel-item-next, .carousel-item-prev, .carousel-item.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.card-effect {
    position: relative;
    z-index: 2;
}

.card-effect span{
    z-index: 3;
}

.card-effect::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgb(255,72,72);
    background: linear-gradient(90deg, rgba(255,72,72,1) 0%, rgba(238,59,51,1) 100%);
    z-index: -1;
    
}

.card-effect::after{
    content: "";
    position: absolute;
    width: 100px;
    height: 42px;
    background-image: var(--rino);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    filter: brightness(0) invert(1);
    transform: rotate(-15deg) translateX(-50%);
    top: 6px;
    left: 50%;
    opacity: .1;
}

h1, .h1 {
    font-weight: 700;
}

.header {
    text-transform: uppercase;
    position: relative;
    border-bottom: 1px dashed #414141;
    padding-bottom: .8rem;
}

.header::before {
    content: "";
    position: absolute;
    bottom: -2px;
    width: 6%;
    min-width: 30px;
    height: 3px;
    background: #ee3b33;
}

.sell .header {
    border-bottom-color: #aaa;
}

.sell .header::before, .bg-green {
    background: #6eb006;
}

.text-green{
    color: #6eb006;
}

.text-danger, a {
    color: #ee3b33;
}

a:hover {
    color: #af2c25;
}

.bg-danger {
    background-color: #ee3b33;
}

.news-image {
    position: relative;
    max-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 1.2rem;
    background-color: #efefef;
    min-height: 150px;
}

.news-image::before, .bg-linear::before{
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 56px;
    height: 100%;
    background-image: var(--effect);
    background-repeat: repeat-y;
    opacity: .2;
    filter: brightness(0) invert(1);
}

.img-service {
    filter: drop-shadow(0 0 .4rem #414141);
}

.divider {
    width: 100%;
    height: 56px;
    background-image: var(--effect);
    background-repeat: repeat-x;
    opacity: .1;
    filter: grayscale(1);
}

.news-time {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
.news-time::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: rgb(255,72,72);
    background: linear-gradient(90deg, rgba(255,72,72,1) 0%, rgba(238,59,51,1) 100%);
}

.news-content {
    position: relative;
}

.news-content a{
    position: absolute;
    top: 0;
    right: 0;
}

.news-content::before {
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    margin-bottom: .6rem;
    background: rgb(255,72,72);
    background: linear-gradient(90deg, rgba(255,72,72,1) 0%, rgba(238,59,51,1) 100%);
}

.news-content h3 {
    padding-right: 125px;
}

.img-holder {
    display: flex;
    min-height: 160px;
    height: 100%;
    overflow: hidden;
    justify-content: center;
}
.img-holder > img{
    width: 100%;
    height: 100%;
    display: block;
}

.sell.bg-dark {
    background-color: #3a3a3a !important;
}

.sell .bg-dark{
    background-color: #2f2f2f !important;
}

.custom-check {
    display:none;
}

.custom-check + label:before {
    font-family: 'Font Awesome\ 5 Free';
    font-weight: 400;
    display: inline-block;
    font-size: 160%;
    margin-right: 10px;
}

.custom-check + label:before { content: "\f0c8";  letter-spacing: 10px; float: left; } 
.custom-check:checked + label:before { content: "\f14a"; letter-spacing: 10px; float: left; }

.form-control {
    border: 1px solid #959595;
    border-radius: 0;
}

.form-control:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 .2rem rgba(220, 53, 69, .3);
}

.btn {
    border-radius: 0;
}

.btn-light{
    background-color: #efefef;
    color: #dc3545;
}

.bg-linear {
    position: relative;
    background: rgb(255,72,72);
    background: linear-gradient(90deg, rgba(255,72,72,1) 0%, rgba(238,59,51,1) 100%);
}

.project {
    max-height: 48px;
    filter: grayscale(1);
}

@keyframes move {
    from {transform: translate(100vw,0);}
    to {transform: translate(-100%,0);}
}

@media (max-width: 575.98px) {
    .projects-holder {
        display: inline-flex;
        flex-wrap: nowrap;
        animation: move 24s linear infinite;
    }
    h1 {
        font-size: 1.5rem;
    }
    .hero h1::before{
        width: 30px;
    }
    .hero h1 {
        padding-left: 44px;
    }
}

@media (max-width: 991.98px) {
    #carouselHeader .carousel-inner {
        min-height: 58vh;
    }
    .hero h1::before{
        width: 40px;
    }
    .hero h1 {
        padding-left: 54px;
    }
    .nav-item {
        border-top: 1px dashed #000;
        justify-content: center !important;
        padding: 5px;
    }
}
@media (min-width: 992px) {
    .nav-number {
        position: relative;
        padding-left: 30px !important;
    }
    .nav-number::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 24px;
        background: #ffffff;
        transform: skewX(-18deg) translateX(-12px);
        z-index: 0;
    }
    .navbar-nav .nav-item {
        position: relative;
    }
    .navbar-nav .nav-item::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 6px;
        background: rgb(255,72,72);
        background: linear-gradient(90deg, rgba(255,72,72,1) 0%, rgba(238,59,51,1) 100%);
        transform: skewX(-18deg);
        z-index: 0;
    }
}

.nav-number {
    background: rgb(255,72,72);
    background: linear-gradient(90deg, rgba(255,72,72,1) 0%, rgba(238,59,51,1) 100%);
}


@supports (clip-path: polygon(0 0, 0 0, 0 0, 0 0)) or (-webkit-clip-path: polygon(0 0, 0 0, 0 0, 0 0)) {
    .cards .card-holder:nth-child(1) .card-effect::before {
        -webkit-clip-path: polygon(0 0, 100% 0%, calc(100% - 32px) 100%, 0% 100%);
        clip-path: polygon(0 0, 100% 0%, calc(100% - 32px) 100%, 0% 100%);
        margin-right: -24px;
    }

    .cards .card-holder:nth-child(2) .card-effect::before, .col-effect {
        -webkit-clip-path: polygon(32px 0, 100% 0%, calc(100% - 32px) 100%, 0% 100%);
        clip-path: polygon(32px 0, 100% 0%, calc(100% - 32px) 100%, 0% 100%);
    }

    .cards .card-holder:nth-child(2) .card-effect::before {
        margin-right: -24px;
        margin-left: -24px;
    }

    .cards .card-holder:nth-child(3) .card-effect::before {
        -webkit-clip-path: polygon(32px 0, 100% 0%, 100% 100%, 0% 100%);
        clip-path: polygon(32px 0, 100% 0%, 100% 100%, 0% 100%);
        margin-left: -24px;
    }

    .news-time::before {
        -webkit-clip-path: polygon(0 0, 100% 0%, calc(100% - 32px) 100%, 0% 100%);
        clip-path: polygon(0 0, 100% 0%, calc(100% - 32px) 100%, 0% 100%);
    }

    .col-effect {
        margin-right: -16px;
        margin-left: -17px;
    }
}