﻿html, body
{
  width: 100%;
  height: 100%;
  padding: 0px;
  margin: 0px;
  font-family: Verdana;
  font-size: 16px;
  font-weight: normal;
  color: #333333;
   -moz-user-select:-moz-none;
  -webkit-user-select: none;
  user-select:none;
  background-color:black;
  
}

.debugHide
{
    display:none;
    
}

.audioOnlyContainer {
    display: none;
    position: absolute;
    top: 80px;
    left: 20px;
    right: 20px;
    height: 300px;
    background-color: rgb(175,175,175);
    color: white;
    z-index: 10;
}

 

.isAudioOnly .chatIframeContainer {
   display:none !important;
}
 

.isAudioOnly .rightBarWithChat {
    background-color: rgb(0,0,0) !important;
}

.AudioCalling {
    display: none;
}

.AudioAnswered
{
    display:none;
}

.AudioCounter
{
    display:none;
}

.AudioSpeakerChangeButton {
 
    margin-top:10px;
    z-index: 2;
 
    display:none;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 10px;
    padding-top: 10px;
    background-color: rgb(21,188,235);
    color: white;
    cursor: pointer;
}

.logoDefaultStyle {
    margin-top: 10px;
    margin-left: 10px;
    width: 100px;
}

.testButton {
    position: absolute;
    z-index: 3;
    top: 80px;
    left: 20px;
    display: block;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 10px;
    padding-top: 10px;
    background-color: rgb(21,188,235);
    color: white;
    cursor: pointer;
    display:none;

 
}

.clickToStart {
    position: absolute;
    z-index: 2;
    top: 20px;
    left: 20px;
    display: block;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 10px;
    padding-top: 10px;
    background-color: rgb(21,188,235);
    color: white;
    cursor: pointer;
}

.greyOut {
    position: fixed;
    display: none;
    z-index: 9;
    top: 0px;
    bottom: 0px;
    right: 0px;
    left: 0px;
    background-color: rgba(0,0,0,0.5);
}

.noCamAttached
{
    position:fixed;
       display:none;
     z-index:10;
    left:0px;
    right:0px;
    top:100px;
    
     background-color:rgb(21,188,235);
    color:white;
    padding:50px;
    line-heightx:20px;
}

.noCam
{
    visibility:hidden;
    z-index:55;
    position:fixed;
    top:10px;
    background-color:rgb(21,188,235);
    color:white;
    padding:10px;
    max-width:350px;
    border-radius:6px;
}

.noCamFirefoxDesktop {
    top: 20px;
    left: 50px;
}

.noCamChromeDesktop {
    top: 20px;
    right: 20px;
   
}

.noCamEdgeDesktop {
    top: 20px;
    right: 20px;
}

.noCamSafariDesktop {
    top: 20px;
    right: 20px;
}

.noCamIPhoneSafari {
    left: 10px;
}

.noCamIPhoneChrome {
    left: 10px;
}

.noCamAndroidFirefox {
    left: 10px;
}

.noCamAndroidChrome {
    left: 10px;
}

.reloadButton {
    background-color: white;
    color: black;
    display: inline-flex;
    justify-content:center;
    margin-top:10px;
    padding-right:20px;
    padding-left:20px;
    padding-bottom:5px;
    padding-top:5px;
    cursor:pointer;

}


.pageContainerOuter {
    width: 100%;
    height: 100%;
}


.pageContainerInner
{
   margin-left:auto;
     margin-right:auto;
     height:100%;
     width:100%;
   
     min-width:200px; /* f.x. nokia n2 240 x 320 pixels* iphone 320*480*/
     max-width:2900px; /* f.x. samsung galaxy 480 bred. 480 er også ori tuba bredde */
     /* 450 er normal height */
     min-height:230px;
     max-height:3620px;
 
     position:relative;
  
      background-color:white;
     box-sizing:border-box;
 
  
}

.endButton
{
    position:absolute;
    top:20px;
    right:20px;
   
     cursor:pointer;
 
  color:rgba(255,255,255,1);
  text-align:center;
 
 
  background-color:rgb(21,188,235);

  font-weight:normal;
  font-size:14px;
  min-width:100px;
  padding-right:15px;
  padding-left:15px;
  height:30px;
  line-height:30px;
 
  display:inline-block;

  box-sizing:border-box;
  z-index:50;
   

}

.skemaButtonAgent {
    display: none;
    right: 130px;
}


.pausebutton {
    z-index: 8;
    position: absolute;
    left: 10px;
    bottom: 10px;
    cursor: pointer;
    border-style: solid;
    border-width: 1px;
    color: rgba(255,255,255,1);
    text-align: center;
    border-color: white;
    background-color: rgb(21,188,235);
    font-weight: normal;
    font-size: 14px;
    width: 120px;
    height: 34px;
    line-height: 34px;
    display: inline-block;
    box-sizing: border-box;
}

 .pausebuttonhidden
 {
     opacity:0;
 }

 .pausebuttonvisible
{
     opacity:1;
 } 

.pageContainer
{
  background-color:transparent;
   position: absolute;
  border: 0px solid #29fe21;
  overflow:hidden;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  
}

.rightBarWithChat
{
    background-color:white;
    position:absolute;
    top:0px;
    bottom:0px;
    right:0px;
    /*left sættes dynamisk i js*/

}

.connectLog {
    position: absolute;
    z-index: 56;
    top: 0px;
    right: 0px;
    background-color: rgba(0,0,0,1);
    color: rgba(255,255,255,0.6);
    padding: 5px;
    width: 200px;
    height: 80px;
    overflow: auto;
    font-size: 14px;
    font-family: monospace;
    white-space: pre;
    overflow:hidden;
    user-select: text;


    display:none !important;
   
}

    .connectLog:empty
    {
        display:none;
    }

    .red {
        margin-top:14px;
        color: red;
    }

.connectLog:hover {
    width: 800px;
    height: 600px;
    border: 2px solid rgb(21,188,235);
    color: white;
    
    padding: 20px;
    background-color: rgba(0,0,0,1);
    color: rgba(255,255,255,1);
    overflow: auto;
}

    .chatIframeContainer {
        position: absolute;
        bottom: 10px;
        left: 10px;
        right: 10px;
        top: 180px;
        heightx: 600px;
     
    }

.chatiframe
{
  width:100%;
  height:100%;
  overflow:hidden;
  border-width:0px;
  
}

.infodiv
{
  position:absolute;
  top:10px;
  left:10px;
  height:100px;
  width:300px;
  color:rgb(33,33,33);
  font-weightx:bold;
  
    
}

.infolink
{
  color:rgb(33,33,33);
}

.videoCon1
{
  box-sizing:border-box;
  position:absolute;
  

}

.videoCon1One
{
  top:0px;
  bottom:0px;
   background-color:black;
  width:200px;/*sættes dynamisk i js*/
  
}

.videoCon1Two
{
}




.videoConSelf {
    position: absolute;
    bottom: 10px;
    right: 10px;
/*    width: 160px;
    height: 120px;*/
    
    width: 110px;
    height: 80px;
    border: 0px solid rgba(255,255,255,0.2);
    box-sizing: border-box;
}

.agentBorderMarker {
    display: none;
}

.isAgentBodyMark .agentBorderMarker {
    position: absolute;
    border-top: 12px solid rgba(0,0,0,0.5);
    border-bottom: 5px solid rgba(0,0,0,0.5);
    border-left: 35px solid rgba(0,0,0,0.5);
    border-right: 35px solid rgba(0,0,0,0.5);

    border-top: 8px solid rgba(0,0,0,0.5);
    border-bottom: 3px solid rgba(0,0,0,0.5);
    border-left: 24px solid rgba(0,0,0,0.5);
    border-right: 24px solid rgba(0,0,0,0.5);
    width: 100%;
    height: 100%;
    z-index: 5;
    box-sizing: border-box;
    display: block;
}

.videoSelf {
    width: 100%;
    height: 100%;
 
}

.frame
{
    border:solid 0px #333333;
   position:absolute;
   top:400px;
   left:622px;
}

.videoConSelfOne
{

}

.disabledGrey
{
  position:absolute;
  background-color:rgba(0,0,0,0.8);
  width:100%;
  height:100%; 
  z-index:5;
  display:none;
}


.video {
    box-sizing: border-box;
    background-color: transparent;
    width: 100%;
    height: 100%;
    -webkit-filter: brightness(1.2);
 
}


.button {
  font: 18px sans-serif;
  padding: 8px;
}
        .spot
        {
            display:inline-block;
            border:0px solid red;
            width:600px;
             height:600px;
             overflow:hidden;
        }

        .peerstate
        {
           
              display:inline;
        }
        .userstatus
        {
          display:inline;
        }

        .userid
        {
            display:inline;
        }

        .log
        {
            border:solid 1px #333333;
            overflow-y:scroll;
            overflow-x:hidden;
            width:560px;
            height:120px;
        }

 
       /* lille skærm  
           også var bool = window.matchMedia i InitAndWindow.ts 
           ikke længere.
       */
@media all  and (min-width:0px) and (max-width:800px), all  and (min-height:0px) and (max-height: 500px) {

    .clickToStart {
        top: 10px;
        left: 10px;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 10px;
   
    }

    .endButton {
        position: absolute;
        top: unset;
        right: unset;
        bottom:0px;
        left:0px;
    
    }
        .rightBarWithChat {
        display: none;
    }

    .videoCon1One {
        top: 0px;
        bottom: 0px;
        left: 0px;
        right: 0px;
        width: auto !important;
    }

    .video {
        height: auto;
    }

    .videoConSelf {
         bottom: 0px;
        right: 0px;
        /*    width: 160px;
    height: 120px;*/

        width: 69px;
        height: 54px;
    }
}



@media all and (orientation: portrait) and (min-width: 0px) and (max-width:600px) and (min-height: 0px) and (max-height: 900px) {
    .videoCon1 {
        border: 0px solid red;
    }

    .video {
        margin-left: -40%;
        margin-right: -40%;
        width: 180%;
    }
}

@media all and (orientation: landscape) and (min-width: 0px) and (max-width:900px) and (min-height: 0px) and (max-height: 420px) {
    .videoCon1 {
        border: 0px solid red;
    }

    .video {
        height: 120%;
        margin-top: -10vh;
        margin-bottom: -10vh;
    }
}

.fullScreenInfoText {
    margin-left: 10px;
    font-family: Verdana;
    font-size: 14px;
    color: #333333;
}

.infoStyle {
    z-index: 10;
    position: fixed;
    top: 0px;
    left: 0px;
    height: 30px;
    width: 100px;
    line-height: 30px;
    background-color: blue;
    color: white;
    padding: 10px;
    visibility: hidden;
    display:none;
}

.noCamMicDisplayNone
{
    display:none;
}