﻿#overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.0);
    z-index: 555;
    cursor: pointer;
}

  

#overlaysync {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.0);
    z-index: 556;
    cursor: pointer;
}

#overlaytextWrapper {
    width: 200px;
    height: 180px;
    border: 3px #F02020 solid;
    position: relative;
}

#overlaytext {
    position: absolute;
    right: 0px;
    bottom: 0px;
    color: #000005;
    font-size: 23px;
    margin-right: 10px;
    background-color: #FFCB08;
    padding-left: 15px;
    padding-right: 15px;
}

#overlaytextClass {
    opacity: 0.5;
    color: BLACK;
    padding-right: 2px;
}

/*tablet*/
@media screen and (max-width: 1024px) {
    #overlaytext {
        position: absolute;
        right: 0px;
        bottom: 0px;
        color: #000005;
        font-size: 18px;
        margin-right: 10px;
        background-color: #FFCB08;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/*tablet*/
@media screen and (max-width: 1024px) and (orientation: landscape) {
    #overlaytext {
        position: absolute;
        right: 0px;
        bottom: 0px;
        color: #000005;
        font-size: 15px;
        margin-right: 10px;
        background-color: #FFCB08;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media screen and (max-width: 960px) {

    .modal-content {
        width: 100% !important;
    }


    .modal-dialog {
      
        padding: 0px !important;
        width: 100% !important;
    }

    #videoRoomNavBar > app-room-config > div > div > .modal-dialog {
        width: 94% !important; 
    }

    video {
        /*height: 258px !important;*/ /* normal screen modda js ile setlicez height: 100%) !important;*/ /*!!!!!!!!!!!!!!!!!!!*/
        /*height: calc(100% - 51px) !important; 
        object-fit: contain !important;*/
    }

    #headerLeft {
        display: none !important;
    }

    #headerRight {
        display: none !important;
    }

    #overlaytext {
        position: absolute;
        right: 0px;
        bottom: 0px;
        color: #000005;
        font-size: 13px;
        margin-right: 10px;
        background-color: #FFCB08;
        padding-left: 15px;
        padding-right: 15px;
    }

}


@media (max-width: 767px) {
    video {
        height: 100% !important; 
        object-fit: contain !important;
    }

    #roomConfig > div > .modal-dialog {
        height: calc(100% - 44px) !important;
        padding: 0 !important;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
    }
}


@media (max-width: 399px) {
    #navMicrophoneButton {
        color: black !important;
        margin-left: -45px !important;
    }


    #pinModalButton {
        color: black !important;
        position: absolute !important;
        right: 0 !important;
        margin-right: 47px !important;
    }

    #minimizeModalButton {
        color: black !important;
        position: absolute !important;
        right: 0 !important;
        margin-right: 21px !important;
        top: -7px !important;
    }
}



@media (max-width: 370px) {
    #navMicrophoneButton {
        color: black !important;
        margin-left: -115px !important;
    }


    #pinModalButton {
        color: black !important;
        position: absolute !important;
        right: 0 !important;
        margin-right: 73px !important;
    }

    #minimizeModalButton {
        color: black !important;
        position: absolute !important;
        right: 0 !important;
        margin-right: 45px !important;
        top: -7px !important;
    }
}


@media (max-width: 346px) {

    #navMicrophoneButton {
        color: black !important;
        margin-left: -115px !important;
    }

    .mat-icon-button {
        width: 34px !important;
    }

    #pinModalButton {
        color: black !important;
        position: absolute !important;
        right: 0 !important;
        margin-right: 100px !important;
    }

    #minimizeModalButton {
        color: black !important;
        position: absolute !important;
        right: 0 !important;
        margin-right: 72px !important;
        top: -7px !important;
    }
}
 