/*
 * webrtc to sip gateway integration v2.7
 *
 * halukunal/emsal
 *
 * 30.08.2015
 * 03.08.2016
 */

* {
  font-size: 12px;
  font-family: sans-serif;
}

body {
margin: 0;
padding: 0;
}

/***************** phone ***************/
/*******************************************/

#phone-page {
	width:386px;
	height:597px;
background-image: url("images/backgr.png");

}

#phone {
  position: relative;
  float: left;
	width:229px;
	height:343px;
  top:75px;
  left:82px;
  display:none;
}


#phone .line-separator {
  clear: both;
  height: 1px;
  background: url("images/dialpad-buttons-horizontal-separator.png") no-repeat;
}

#phone .line-separator-black {
  clear: both;
  height: 1px;
  background: url("images/dialpad-buttons-horizontal-separator-black.png") no-repeat;
}


/* controls */
#phone .controls {
  position: relative;
  margin-top: 20px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  background: url("images/transparent-black-75-bg.png") repeat;
}


/* dialbox */

#phone .dialbox {
  position: relative;
  font-family: monospace;
}

#phone .dialbox input.destination {
  display: block;
  position: relative;
  width: 187px;
  left: 20px;
  top: 9px;
  height: 43px;
  line-height: 43px;
  border: 1px solid #666;
  margin: 0;
  outline: none; /* Remove the border when has the focus */
  font-family: inherit;
  font-size: 20px;
  font-weight: bold;
  color: #FFF;
  text-align: right;
  letter-spacing: 1px;
  background: center url("images/dialed-number.png") repeat-x;
  opacity: 0.9;
  border-radius: 5px;
}
#phone .dialbox input.destination:hover {
  border-color: #EEE;
}
#phone .dialbox input.destination:focus {
  border-color: #EEE;
  opacity: 1;
}

#phone .dialbox .to {
  position: absolute;
  z-index: 10;
  top: 2px;
  padding-left: 8px;
  height: 40px;
  line-height: 40px;
  font-size: 150%;
  color: #FFF;
  font-family: inherit;
  opacity: 0.5;
}

#phone .dialbox .dial-buttons {
 position: relative;
 margin-top: 10px;
}

#phone .dialbox .dial-buttons .button {
  height: 50px;
  line-height: 50px;
  font-size: 25px;
  font-weight: bold;
  cursor: pointer;
  color: #FFF;
  opacity: 0.8;
  letter-spacing: 10px;
  text-align: center;
  user-select: none;
}
#phone .dialbox .dial-buttons .button:hover {
  color: #FFF;
  opacity: 1;
  text-shadow: #FFF 0px 0px 5px;
}
#phone .dialbox .dial-buttons .button:active {
  color: #00FF00;
}


/* dialpad */

#phone .dialpad {
  position: relative;
  margin-top: 10px;
  user-select: none;
}

#phone .dialpad .line {
  height: 50px;
  user-select: none;
}

#phone .dialpad .button {
  float: left;
  height: 50px;
  width: 76px;
  color: #FFF;
  opacity: 0.8;
  font-size: 30px;
  font-weight: bold;
  line-height: 50px;
  text-align: center;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
}

#phone .dialpad .button:hover {
  color: #FFF;
  opacity: 1;
  text-shadow: #FFF 0px 0px 5px;
}

#phone .dialpad .button:active {
  color: #00FF00;
}

#callimg {
margin-top:5px;
	  background-size: 40px 40px;
	  background-position: center;
    background-repeat: no-repeat;
}

#clist {
margin-top:5px;
	background: url("images/rehber.png");
	  background-size: 31px 40px;
	  background-position: center;
    background-repeat: no-repeat;
}

.redcall {
      background: url("images/red.png");
}

.greencall {
      background: url("images/green.png");
}

/***************** webcam **************/
/***************************************/
#webcam {
  position: absolute;
  top: 60px;
  left: 400;
  width: 400px;
  height: 300px;
  padding: 6px;
  background: url("images/transparent-black-25-bg.png") repeat;
  border-radius: 10px;
  border: 2px solid #EEE;
  display: none;
}

#webcam #remoteView {
  width: 400px;
  height: 300px;
  background-color: #000;
}

#webcam #selfView {
  position: absolute;
  bottom: 6px;
  left: 6px;
  width: 133px;
  height: 100px;
  background-color: #111;
  border-top: 2px solid #CCC;
  border-right: 2px solid #CCC;

  -moz-transform: scaleX(-1);
  -ms-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
}

/***************** uncate **************/
/***************************************/

#hinfo {
  position: relative;
  padding:5px;
  color: #000;
  font-size: 13px;
  text-align:center;
}

#hehore {
  position: relative;
  top:95px;
  left:82px;
	width:229px;
	height:343px;
	background-color: #ded;
background-repeat: no-repeat;
/*background-position:0px 40px;*/
background-position:center;
background-size: 90%;
}

#hehore #statore{
  position: absolute;
width:219px;
background: #faab63;
margin-top:273px;
padding:5px;
text-align: center;
color: #0c2d1b;
font-size: 23px;
background-image: url("images/ararkene.gif");
background-repeat: no-repeat;
background-position:16px;
}


#emsal{
  position: relative;
  top:-111px;
  left:172px;
	width:49px;
	height:15px;
background-image: url("images/emsalm.png");
background-repeat: no-repeat;
  opacity: 0.5;
}


#rlist {
    display:none;
	height:190px;
	width:292px;
}

#rlist ul{
padding-top:10px;
    list-style-image: url("images/sagok25.png");
}

#rlist li{
color: #fff;
    font-size: 23px;
	padding:3px
}

#rlist li:hover, #emsal:hover{
 cursor:pointer;
   opacity: 1;
  text-shadow: #FFF 0px 0px 5px;
}


