/* The switch - the box around the slider */

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 30px;
    margin-top: 8.6px;
    margin-bottom: 8.6px;
    margin-left: 25.6px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


/* Hide default HTML checkbox */

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* Quiz navbar */

.quiz-final-navbar {
    display: flex;
    align-items: center;
    justify-content: space-around;
}


/* 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: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #3bb5f2;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}


/* Rounded sliders */

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    margin: auto;
    width: 70%;
    height: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.messagePart {
    background-color: white;
    border: 0.3px solid grey;
    border-radius: 15px;
    width: 100%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.close {
    margin: 5%;
    color: #aaaaaa;
    float: left;
    width: 5%;
}

.audioImg {
    position: relative;
    display: block;
    margin: auto;
    padding-top: 5%;
    padding-bottom: 5%;
    padding-right: 10%;
    width: 15vw;
}

.audio {
    width: 100%;
    margin-top: -10px;
    display: inline-flex;
    float: left;
    margin-left: auto;
    margin-right: auto;
}

.audioPlay {
    margin-right: -5px;
    margin-left: 5px;
    width: 20px;
}

.audioTrack {
    right: 7px;
    height: 50%;
    width: 70%;
    margin-top: auto;
    margin-bottom: auto;
    position: relative;
}

.trackerPoint {
    position: relative;
    height: unset;
    margin-left: 5px;
    width: 6%;
    height: 6%;
    margin-bottom: auto;
    margin-top: auto;
}

.audioTime {
    font-size: 3.5vw;
    margin-right: 5px;
    margin-top: auto;
    margin-bottom: auto;
}

.border {
    background-color: grey;
    padding: 0.5px;
    opacity: 0.3;
    width: 100%;
    margin-top: 7%;
}

.wroteMessage {
    text-align: right;
    direction: rtl;
    font-weight: bold;
    font-size: 4vw;
    font-family: Heebo, Helvetica, sans-serif;
    padding: 7%;
    margin: auto;
    color: #37474f;
}

.sendPost {
    background-color: #3bb5f2;
    margin-top: 3%;
    border: 0.5px solid grey;
    border-radius: 15px;
    width: 100%;
    display: inline-flex;
    float: left;
    display: flex;
    align-items: center;
}

.camera {
    height: 8vw;
    margin: 3%;
    margin-left: 2%;
}

.sendMessage {
    color: white;
    text-align: right;
    direction: rtl;
    font-size: 3.5vw;
    font-family: Heebo, Helvetica, sans-serif;
    text-decoration: none;
}


/* Desktop mode handler */

@media only screen and (min-width: 600px) {
    #myModal {
        z-index: 99999999;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Audio Popup */
    .modal-content {
        width: 400px;
        height: auto;
        margin: 0;
    }

    .modal-content {
        margin-top: 0;
    }

    .messagePart {
        margin-top: 0;
    }
    
    .wroteMessage {
        font-size: 1em;
    }

    .sendMessage {
        font-size: 1em;
    }

    .camera {
        height: auto;
        display: block;
    }

    .sendPost {
        display: flex;
        align-items: center;
    }
    
    .audioTime {
        font-size: 1em;
    }

    .audioPlay {
        object-fit: contain;
    }

    .trackerPoint {
        width: auto; 
        height: auto;
    }

    .audio {
        display: flex;
        justify-content: center;
    }

    .close {
        width: auto;
    }

    .audioImg {
        width: auto;
    }

}

.macLinkShare{
    position: absolute;
    width: fit-content;
    height: fit-content;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000000;
    display: none;
}

.macLinkShare p {
    background-color: hsla(0, 1%, 74%, 0.7);
    color:rgb(0, 0, 0);
    border-radius: 10px;
    padding: 6px;
    font-size: 13px;
    
}
