﻿.feature:hover {
    border-color: #49adde;
    background: inherit;
    color: inherit;
}

.feature:hover i {
    color: #649964;
}

.feature .listStyleDisc {
    transition: .5s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

.feature {
    transition: all .3s ease-in-out 0s, opacity 0s;
}

.features {
    position: relative;
}

.ghost {
    display: inline-block;
    opacity: 0;
    position: absolute;
    width: calc(50% - 10px);
    transition: all .3s ease-in-out, opacity 0s;
}

.details_check {
    display: none;
}

.details {
    position: absolute;
    cursor: pointer;
    color: #76B37B;
    border-bottom: 2px solid transparent;
    transition: border-color .2s;
    left: calc(50% - 36px);
    width: 72px;
    bottom: 0;
}

.details:hover {
    border-bottom-color: #76B37B;
}

.details:before {
    content: "Details";
}

.details:after {
    position: absolute;
    content: "";
    top: 10px;
    right: -16px;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-bottom: 2px solid #76B37B;
    border-right: 2px solid #76B37B;
    transform: rotate(45deg);
}

.details_check.first:checked ~ .feature.first,
.details_check.second:checked ~ .feature.second {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    z-index: 1;
}

.details_check.first:checked ~ .feature.first .details:after,
.details_check.second:checked ~ .feature.second .details:after {
    transform: rotate(-135deg);
    top: 14px;
}

.details_check.first:checked ~ .feature.first .details:before,
.details_check.second:checked ~ .feature.second .details:before {
    content: "Close";
}

.details_check.first:checked ~ .feature.first .listStyleDisc,
.details_check.second:checked ~ .feature.second .listStyleDisc {
    max-height: 2000px;
    transition: .8s;
    opacity: 1;
    transition-delay: .4s;
}

.details_check.second:checked ~ .ghost.first {
    position: initial;
    width: 0;
    padding: 0;
    margin: 0;
}

.details_check.first:checked ~ .feature.second,
.details_check.second:checked ~ .feature.first {
    position: absolute;
    opacity: 0;
}

@media screen and (max-width: 991px) {
    .body-mobile .feature:hover i {
        color: #649964;
    }

    .details_check.first:checked ~ .feature.second,
    .details_check.second:checked ~ .feature.first {
        position: inherit;
        opacity: 1;
    }

    .details_check.second:checked ~ .ghost.first {
        position: absolute;
    }
}

.x {
    position: absolute;
    width: 20px;
    height: 20px;
    right: 20px;
    top: 20px;
    opacity: 0;
    pointer-events: none;
    transition: .2s;
}

.x:before,
.x:after {
    position: absolute;
    left: 0;
    top: 8px;
    content: "";
    background: #76B37B;
    width: 20px;
    height: 3px;
    border-radius: 8px;
    transition: .3s;
    transform: rotate(-45deg);
}

.x:after {
    transform: rotate(45deg);
}

.details_check.first:checked ~ .feature.first .x,
.details_check.second:checked ~ .feature.second .x {
    opacity: 1;
    cursor: pointer;
    pointer-events: auto;
}

.tile {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    cursor: pointer;
}

.details_check.first:checked ~ .feature.first .tile,
.details_check.second:checked ~ .feature.second .tile {
    pointer-events: none;
}