﻿.adv-container {
    display: flex;
    flex-flow: space-evenly;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin: 0px;
    padding: 0px;
}

.adv-element {
    margin: 1% 1%;
    width: 48%;
    height: fit-content;
    border-radius: 10px;
    background-color: #2a2a2a;
    background-size: 110%;
    padding: 15px 20px;
    color: white;
    border: solid 1px #3a3a3a;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(89,108,120,0.9);
    -moz-box-shadow: 0px 0px 5px 0px rgba(89,108,120,0.9);
    box-shadow: 0px 0px 5px 0px rgba(89,108,120,0.9);
    transition: 0.5s;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.adv-element {
    background-image: url("../diag-bg.png") !important;
}

    .adv-element:hover {
        -webkit-box-shadow: 0px 0px 20px 0px rgba(168,220,255,0.9);
        -moz-box-shadow: 0px 0px 20px 0px rgba(168,220,255,0.9);
        box-shadow: 0px 0px 20px 0px rgba(168,220,255,0.9);
        transition: 0.5s;
    }

.adv-element-refresh {
    -webkit-box-shadow: 0px 0px 7px 0px rgba(80, 220, 132, 0.9);
    -moz-box-shadow: 0px 0px 7px 0px rgba(80, 220, 132, 0.9);
    box-shadow: 0px 0px 7px 0px rgba(80, 220, 132, 0.9);
    transition: 0.5s;
}

.adv-element h4 {
    margin-left: 0px;
    text-align: left;
    color: white;
    width: fit-content;
    border-bottom: 1px solid #0083e0;
}

.adv-element-list-container {
}

.adv-element-list {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-start;
    padding: 15px 15px 0px 15px;
    border-bottom: solid 1px #666;
}

.adv-element-list:last-child {
    border-bottom: solid 0px #666;
}

.adv-element-list-part1 {
    width: 50%;
    vertical-align: middle;
}

.adv-element-list-part2 {
    margin-top: 0px;
    width: 50%;
}


@media screen and (max-width: 1500px) {
    .adv-element {
        margin: 1% 1%;
        width: 98%;
        height: max(fit-content, 920px);
    }
}


@media screen and (max-width: 1000px) {
    .adv-element {
        margin: 2% 1%;
        height: fit-content;
    }
}


@media screen and (max-width: 641px) {
    .adv-element {
        margin: 3% 1%;
        height: fit-content;
    }

}





/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    /* 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: 26px;
        width: 26px;
        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(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }