/* ///////////////////////////////////////// */
/* Animations */
/* ///////////////////////////////////////// */

@keyframes fadeIn {
  0% {
    opacity: 0;
    -webkit-transform: translateY(6px);
    -ms-transform: translateY(6px);
    transform: translateY(6px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}
@keyframes fadeInDelayed {
  0% {
    opacity: 0;
    -webkit-transform: translateY(6px);
    -ms-transform: translateY(6px);
    transform: translateY(6px);
  }

  25% {
    opacity: 0;
    -webkit-transform: translateY(6px);
    -ms-transform: translateY(6px);
    transform: translateY(6px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}
@keyframes pulse {
  0% {
    opacity: 0;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
  }

  10% {
    opacity: 0;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
  }

  100% {
    opacity: 1;
    -webkit-transform: scale(1,1);
    -ms-transform: scale(1,1);
    transform: scale(1,1);
  }
}

/* ///////////////////////////////////////// */
/* General */
/* ///////////////////////////////////////// */

body{
	background: #183359 url('/static/custom_auth/img/bg.jpg') no-repeat center center;
	background-size: cover;
	display: flex;
	align-items: center;
	justify-content: center;
  font-family: 'Roboto', 'Heebo', arial, sans-serif;
}
.panel{
	background-color: #fff;
	position: relative;
	display: flex;
	animation: fadeIn 600ms cubic-bezier(0.4, 0.0, 0.2, 1);
}
.panel:before{
	content: '';
	display: block;
	background: url('/static/logo.png') no-repeat center center;
	background-size: auto 100%;
	width: 100%;
	height: 50px;
	position: absolute;
	left:0;
	top: -80px;
	animation: fadeInDelayed 600ms cubic-bezier(0.1, 0.0, 0.3, 1);
}
.mdl-button--fab{
  animation: pulse 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.mdl-spinner.mdl-spinner--single-color > div{
 border-color: #fff;
}
.custom-button {
  background: transparent;
  border: none;
  border-radius: 2px;
  color: rgb(0,0,0);
  position: relative;
  height: 36px;
  margin: 0;
  min-width: 64px;
  padding: 0 16px;
  display: inline-block;
  font-family: "Roboto", "Heebo", "Helvetica", "Arial", sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0;
  overflow: hidden;
  will-change: box-shadow;
  transition: box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  line-height: 36px;
  vertical-align: middle;
}
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
  background-color: none;
}

/* ///////////////////////////////////////// */
/* Login */
/* ///////////////////////////////////////// */

.login-panel{
	height: 300px;
	width: 444px;
  align-items: center;
  align-content: center;
  justify-content: center;
}
form{
  padding: 0 5em;
}
form .mdl-textfield{
  width: 100%;
}
form .mdl-textfield__input{
  border-bottom: 2px solid rgba(0,0,0,.20);
  color:rgba(0, 0, 0, 0.80); 
}
.mdl-button--fab{
  display: block;
  position: absolute;
  bottom:-32px;
  left: calc(50% - 32px);
}
.mdl-components__warning {
    margin: 0 auto;
    background-color: #ffc4c4;
    padding: 16px;
    border-radius: 2px;
    color: #212121;
}

/* ///////////////////////////////////////// */
/* Agent Panel */
/* ///////////////////////////////////////// */

.agent-panel{
  height: 520px;
  width: 360px;
}
section{
  width:100%;
  height: 100%;
}
div#slider { overflow-x: hidden;width: 100%;}
div#slider > div > section { width: 50%; height: 100%; float: left; }
div#slider > div { 
  position: relative;
  width: 200%;
  left: 0;
  transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  height: 100%;
}
div#slider > div.slide-right{
  left:-100%;
}
div#slider > div.slide-left{
  left:0%;
}
#demo-menu-lower-left{
  padding: 0 12px;
  height: 42px;
}
.status{
  color:#737373;
  line-height: 16px;
  text-transform: capitalize;
}
.status:before{
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color:#737373;
  margin-right:8px;
  position: relative;
  top:3px;
}
.status.green{
  color: #42b649;
}
.status.green:before{
  background-color: #42b649;
}
.status.orange{
  color: #f99c1c;
}
.status.orange:before{
  background-color: #f99c1c;
}
.status.red{
  color: #ff3333;
}
.status.red:before{
  background-color: #ff3333;
}
.mdl-menu__item[disabled] .status,
.mdl-menu__item[data-mdl-disabled] .status{
  color: #bdbdbd;
  background-color: transparent;
  cursor: auto;
}
.mdl-menu__item[disabled] .status:before,
.mdl-menu__item[data-mdl-disabled] .status:before{
  background-color: #bdbdbd;
}
.agent-details p{
  font-size:24px;
  text-align: center;
  margin: 0 0 24px;
}
.agent-details p span{
  display: block;
  font-size:14px;
  color: #757575;
  padding-bottom: 2px;
}
.timer{
  color:#757575;
  font-size: 14px;
  float: right;
  padding: 12px;
}

/* ///////////////////////////////////////// */
/* Dropzone */
/* ///////////////////////////////////////// */

 .agent-photo{
  width:120px;
  height: 120px;
  border-radius:50%;
  overflow: hidden;
  margin: 30px auto 40px;
}
.width-fix{
    margin-left:-50%;
    height:100%;
}
.height-fix{
    margin-top:-50%;
    width:100%;
}

/* ///////////////////////////////////////// */
/* Dialer */
/* ///////////////////////////////////////// */

.dialpad button{
  font-size: 24px;
  font-weight: 400;
  width: calc( 100% / 3 );
  height: auto;
  padding: 10px 16px 30px;
  float:left;
  position: relative;
}
.dialpad button span{
  display: block;
  position: absolute;
  width: 100%;
  left: 0;
  color: #757575;
  font-size: 14px;
  line-height: 16px;
}
#phone-number{
  display: block;
  width: 100%;
  height: 60px;
  margin: 18px 0 32px;
  outline: 0;
  font-family: 'Roboto', 'Heebo', arial, sans-serif;
  font-size: 36px;
  font-weight: 300;
  color: #078bf4;
  text-align: center;
  border:0;
}
#go-back{
  min-width: auto;
  height: auto;
  padding: 6px 10px;
}
#backspace{
  color: rgba(0,0,0,0.4);
  position:absolute;
  right: 6px;
  top: 76px;
  padding: 10px;
  cursor: pointer;
}
#backspace:hover{
  color: rgba(0,0,0,0.6);
  }

/* ///////////////////////////////////////////////////////////// */
/* Confirmation Pop-Up */
/* ///////////////////////////////////////////////////////////// */

.img-replace {
  /* replace text with an image */
  display: inline-block;
  overflow: hidden;
  text-indent: 100%;
  color: transparent;
  white-space: nowrap;
}

/* -------------------------------- 

xpopup 

-------------------------------- */
.cd-popup {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  transition: opacity 0.3s 0s, visibility 0s 0.3s;
}
.cd-popup.is-visible {
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
  transition: opacity 0.3s 0s, visibility 0s 0s;
}

.cd-popup-container {
  position: relative;
  width: 90%;
  max-width: 400px;
  margin: 4em auto;
  background: #FFF;
  border-radius: .25em .25em .4em .4em;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  -webkit-transform: translateY(-40px);
  -moz-transform: translateY(-40px);
  -ms-transform: translateY(-40px);
  -o-transform: translateY(-40px);
  transform: translateY(-40px);
  /* Force Hardware Acceleration in WebKit */
  -webkit-backface-visibility: hidden;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.cd-popup-container p {
  padding: 3em 2em;
}
.cd-popup-container .cd-buttons:after {
  content: "";
  display: table;
  clear: both;
}
.cd-popup ul{
  list-style: none;
  margin: 0;
  padding: 0;
  border: 0;
}
.cd-popup-container .cd-buttons li {
  float: left;
  width: 50%;
}
.cd-popup-container .cd-buttons a {
  display: block;
  height: 60px;
  line-height: 60px;
  text-transform: uppercase;
  color: #FFF;
  -webkit-transition: background-color 0.2s;
  -moz-transition: background-color 0.2s;
  transition: background-color 0.2s;
  text-decoration: none;
}
.cd-popup-container .cd-buttons li:first-child a {
  background: #fc7169;
  border-radius: 0 0 0 .25em;
}
.no-touch .cd-popup-container .cd-buttons li:first-child a:hover {
  background-color: #fc8982;
}
.cd-popup-container .cd-buttons li:last-child a {
  background: #b6bece;
  border-radius: 0 0 .25em 0;
}
.no-touch .cd-popup-container .cd-buttons li:last-child a:hover {
  background-color: #c5ccd8;
}
.cd-popup-container .cd-popup-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
}
.cd-popup-container .cd-popup-close::before, .cd-popup-container .cd-popup-close::after {
  content: '';
  position: absolute;
  top: 12px;
  width: 14px;
  height: 3px;
  background-color: #8f9cb5;
}
.cd-popup-container .cd-popup-close::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  left: 8px;
}
.cd-popup-container .cd-popup-close::after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  right: 8px;
}
.is-visible .cd-popup-container {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}
.cd-popup-container .mdl-switch{
  width:auto;
  float: right;
}

@media only screen and (min-width: 1170px) {
  .cd-popup-container {
    margin: 8em auto;
  }
}

/* ///////////////////////////////////////////////////////////// */
/* Main Navigation */
/* ///////////////////////////////////////////////////////////// */

nav{
  position: absolute;
  top:0;
  right:0;
  padding: 10px;
  background-color: #183359;
}
.logo{
  height: 50px;
  width: 277px;
}
nav > div{
  float: right;
}
nav .mdl-button--icon{
  color:#fff;
  padding: 8px;
  margin: 4px;
}
