html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.clickable {
    cursor: pointer;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

.App {
    height: calc(100vh);
    display: flex;
    flex-direction: column;
    justify-content: center;
    resize: vertical;
}

.App-main {
    position: relative;
    width: 100vw;
    height: 100vh;
    /*height: calc(75vw * .6);*/
    /*margin: 10px auto;*/
    /*border: 1px solid lightblue;*/
}

.App-control-container {
    position: absolute;
    /*display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: top;*/
    height: 90px; /*added by mak*/
    display: block; /*added by mak*/
    z-index: 1000;
    bottom: 0px;
    left: 50%;
    transform: translate(-50%, -5%);
    background: #000000;
    border-radius: 20px;
    min-width: 360px;
    width: auto;
}

.App-control-container.operator {
    min-width: 270px !important;
}

.App-control-container.leave-call-controls {
    min-width: fit-content !important;
    min-width: -moz-fit-content !important;
}

.circle {
    float: left;
}

.circle > p {
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    color: #ffffff;
    margin-top: 62px;
    line-height: 0px;
    width: 100%;
}

.circle.video > p {
    width: 55px;
    position: relative;
    margin-left: -2px;
}

.App-control-container.hidden {
    display: none;
}

.App-control-container .ots-video-control {
    width: 50px;
    height: 50px;
    margin: 12px 20px 20px !important; /*added by mak*/
    /*margin: 20px 20px !important;
    border: 2px solid white;*/
    border-radius: 50%;
    background-position: center;
    background-color: #eb7404;
    background-repeat: no-repeat;
    cursor: pointer;
}

.hangup {
    background-image: url(../images/hang-up.svg);
    background-position: 10px 16px !important;
}

.invite {
    background-image: url(../images/add.svg);
}

.switch-camera {
    background-image: url(../images/switch-camera.svg);
}

.audio {
    background-image: url("../images/mic.svg");
    background-position: 15px 13px !important;
}

.audio:hover,
.audio.muted {
    background-image: url(../images/mic-muted.svg);
    background-position: 11px 9px !important;
}

.video {
    background-image: url(../images/video-icon.svg);
    background-position: 16px 19px !important;

    background-size: 21px 15px !important;
}

.video:hover,
.video.muted {
    background-image: url(../images/no_video.svg);
    background-position: 11px 12px !important;
    background-size: 28px 28px !important;
}

.archiving {
    background-image: url("../images/archive.svg");
    display: none;
}

.archiving.hidden {
    display: none;
}

.starting-archive {
    background-image: url("../images/ajax-loader.gif");
}
.recording {
    background-image: url("../images/recording.svg");
    background-color: #ffffff !important;
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0.5;
    }
}

.App-video-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.App-mask {
    width: 100%;
    height: 100%;
    position: relative;
    color: white;
    /*background: rgba(27, 134, 144, 0.4);*/
    display: flex;
    justify-content: center;
    align-items: center;
}

.App-mask.hidden {
    display: none;
}

.App-mask .react-spinner {
    position: absolute;
}

.App-mask .message {
    font-weight: 200;
}

.App-mask .message.with-spinner {
    position: absolute;
    top: 55%;
    color: #eb7404;
}

/*.App-mask .message.button {*/
/*border: 1px solid white;*/
/*padding: 20px 40px;*/
/*border-radius: 6px;*/
/*}*/

.App-video-container .video-container {
    height: calc(100vh);
    width: calc(100vw);
    display: flex;
}

.App-video-container .video-container.small {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 160px;
    height: 96px;
    /*border: 1px solid #fcba00;*/
    z-index: 2;
}

.App-video-container .video-container.small.left {
    left: 20px;
    border: 1px solid #00fcc2;
}

.App-video-container .video-container.hidden {
    display: none;
}

.App-video-container .video-container.active-2 .OT_subscriber {
    width: 50%;
}

.App-video-container .video-container.active-3 .OT_subscriber {
    width: calc(100% / 3) !important;
}

.App-video-container .video-container.active-4 {
    flex-wrap: wrap;
}

.App-video-container .video-container.active-4 .OT_subscriber {
    width: 50% !important;
    height: 50% !important;
}

progress-spinner {
    display: inline-block;
    width: 1em;
    height: 1em;
    border: 1px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    -webkit-animation: rotate 800ms linear infinite;
    animation: rotate 800ms linear infinite;
}

progress-spinner[dark] {
    border-top-color: #eb7404;
}

progress-spinner[dotted] {
    border-width: 0;
    border-style: dotted;
    border-top-width: 2px;
}

@-webkit-keyframes rotate {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotate {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.OT_mirrored > .OT_widget-container > .OT_video-element {
    border-radius: 12px;
}

.OT_widget-container {
    background-color: transparent !important;
}

.OT_video-poster {
    background-image: url("../images/user.svg") !important;
    background-color: black;
}

.input {
    border: 1px solid #333;
    padding: 10px;
    width: 100%;
    margin-bottom: 10px;
    border-radius: 5px;
    padding-left: 41px;
}

.usertext {
    font-size: 13px;
    text-align: center;
    padding-bottom: 15px;
    display: block;
}

.headerText {
    text-align: center;
    color: #0c2d42;
    padding-bottom: 20px;
}

.w100p {
    width: 100%;
    background-color: #eb7404;
    color: white;
    padding: 10px !important;
    margin: 0px !important;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.18s cubic-bezier(0.64, 0.2, 0.02, 0.35) 0s;
}

#userDemographicsContentinner {
    width: 100%;
}
#userDemographicsContentinnerwdth {
    width: 320px;
}
#userDemographicsContentinnerwdth label.switchText {
    display: inline-block;
}
#userDemographicsContentinnerwdth .videoless {
    padding-bottom: 10px;
    position: relative;
}
/* The switch - the box around the slider */
.switch {
    display: block;
    position: relative;
    padding-left: 0px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide default HTML checkbox */
.switch input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.switch .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #ffffff;
    border: 2px solid rgba(151, 151, 151, 0.7);
    border-radius: 4px;
}

.switch input:checked ~ .checkmark {
    background-color: #eb7404;
}

.switch .checkmark:after {
    left: 4px;
    top: 0px;
    width: 8px;
    height: 13px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.switch .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.switch input:checked ~ .checkmark:after {
    display: block;
}

#userDemographicsContentinnerwdth .videoless .option-label {
    color: #5c5858;
    font-size: 13px;
    margin-left: 30px;
    display: block;
    vertical-align: text-top;
}
