﻿.tile-item-tint {
    background: rgba(0,0,0,0.03);
    position: absolute;
    z-index: -999;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 10px;
}

.bg-img2 {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom center;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    border-radius: 5px;
    width: 100%;
    height: 140px;
    z-index: 1;
}

    .bg-img2:before {
        content: '';
        position: absolute;
        opacity: 0;
        -webkit-transition-duration: 0.3s;
        transition-duration: 0.3s;
        -webkit-transition-property: opacity;
        transition-property: opacity;
        border-radius: 10px;
        z-index: 2;
    }

    .bg-img2:hover:before, .bg-img2:focus:before, .bg-img2:active:before {
        opacity: 1;
        /*border-radius: 5px;*/
        border: 2px solid #ffdc73;
        top: 2px;
        left: 2px;
        right: 2px;
        bottom: 2px;
        z-index: 2;
    }

@media (min-width: 577px) {
    .bg-img2:hover h2 {
        background: rgba(0,0,0,0.4);
        z-index: -999;
        -webkit-transition-duration: 0.3s;
        transition-duration: 0.3s;
        opacity: 1;
    }
}

@media (max-width: 576px) {
    .bg-img2:hover h2 {
        -webkit-transition-duration: 0.3s;
        transition-duration: 0.3s;
        opacity: 1;
        z-index: -999;
    }
}

@media (max-width: 576px) {
    .bg-img2 {
        height: calc(90px + 1vw);
    }
}

.bg-img2 .image-bg {
    opacity: 0;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 33px;
    height: 21px;
}

    /* Hide default HTML checkbox */
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 13px;
        width: 13px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(13px);
    -ms-transform: translateX(13px);
    transform: translateX(13px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }
