/*
Author: David S. Newby
Company: David Newby Associates
Purpose: Style sheet for full screen web application
*/
@import url('https://fonts.googleapis.com/css?family=Lato:300,300i,400,400i|Montserrat:300,300i,400,400i&display=swap');

@font-face {
  font-family: segoe;
  src: url(assets/font/SegMDL2.ttf);
}

html, body {
  height: 100%;
  margin: 0;
  font-family:Montserrat,Arial,Helvetica,sans-serif;
  font-size: 1.0rem;
} 

body, dwmscontainer {
    overflow-x: hidden; 
    overflow-y: hidden;
}

dwmsmain, dwmsheader, dwmsfooter {
        padding: 0.25em;
}

td {
	vertical-align: middle;
}

/* application top level dwms.php */

.dwmsbody {
  height: 100%;
  margin: 0;
  font-family:Montserrat,Arial,Helvetica,sans-serif;
  font-size: 0.8rem;
}

.dwms-content {
    order: 3;
    flex: 1 100vw;
    background-color: #F5F5F5;
}

.nav-section {
	display: flex;
	flex-direction: column;
}

.contentgroup {
	display: flex;
	flex-direction: column;
	background-color: #ffffff;
	justify-content: stretch;
	align-items: stretch;
	height: 99.9%;
}

.flex-container {
  display: flex;
  justify-content: center;
  background-color: #fefefe;
}
.flex-container > icondiv {
  background-color: #808080;
  width: 30px;
  padding-top: 2px;
  text-align: center;
  vertical-align: middle;
  line-height: 30px;
  text-decoration: none;
  font-family: Segoe MDL2 Assets;
  font-size: 20px;
  border-radius: 5px 0px 0px 5px;
}
.flex-container > inputdiv {
  background-color: white;
  color: #808080;
  width: 300px;
  text-align: center;
  line-height: 30px;
  font-size: 30px;
  border: 1px solid #808080;
  border-radius: 0px 5px 5px 0px;
}

.charindex {
	display: inline-block;
	text-align: center;
	font-size: 1.0em;
	border: 1px solid #808080;
    color: #ffffff;
    background-color: #808080;
	border-radius: 5px 0px 0px 5px;
    /* padding: 8px 8px; */
    margin: 0px;
}
.singlechar {
	display: inline-block;
	border: 1px solid #808080;
    color: #404040;
    background-color: #ffffff;
    border-radius: 0px 5px 5px 0px;
    margin: 0px;
}

.button1 {
    background-color: #D3D3D3;
    border: none;
    color: #808080;
    padding: 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: Segoe MDL2 Assets;
    font-size: 30px;
}
    
.button1:hover {
    background-color: #808080;
    color: white;
}
    
.iconButtonLarge {
    background-color: #D3D3D3;
    border: none;
    color: #808080;
    padding: 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: Segoe MDL2 Assets;
    font-size: 30px;
}
    
.iconButtonLarge:hover {
    background-color: #808080;
    color: white;
}
    
.iconButtonSmall {
    background-color: #D3D3D3;
    border: none;
    color: #808080;
    padding: 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: Segoe MDL2 Assets;
    font-size: 30px;
}
    
.iconButtonSmall:hover {
    background-color: #808080;
    color: white;
}
    
.button2 {
    background-color: #D3D3D3;
    border: none;
    color: #808080;
    padding: 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: Segoe UI Symbol;
    font-size: 30px;
}
    
.button2:hover {
    background-color: #808080;
    color: white;
}

.buttonimg {
    display: inline-block;
    border: none;
    width: 0px;
    height: 0px;
}

.buttonimg:hover {
    width: 40px;
    height: 40px;
}

.imageButtonLarge {
    display: inline-block;
    width: 40px;
    height: 40px;
}

.imageButtonMedium {
    display: inline-block;
    width: 32px;
    height: 32px;
}

.imgButton {
    display: inline-block;
    width: 40px;
    height: 40px;
}
    
.langButton {
    background-color: grey;
    border: none;
    color: white;
    padding: 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
}

.active {
    color: grey;
    padding: 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
}

.active, .langButton:hover {
	border: 1px solid white;
	border-radius: 3px;
}

.container {
  order: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
  margin: 0;
  border: 0;
  padding: 0;
  background-color: #D3D3D3;
}

dwmscontainer {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100%;
    margin: 0;
    border: 0;
    padding: 0;
    background-color: #D3D3D3;
  }
  
dwmsheader {
  flex: none;
  height: 24px;
  padding: 5px 10px 0px 10px;
  font-size: 14px;
  background-color: #808080;
  color: #FFFFFF;
}

dwmsmain {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  overflow-x: auto; 
  overflow-y: auto;
}

dwmsfooter {
    flex: none;
    height: 22px;
    padding: 3px 10px 0px 10px;
    background-color: #808080;
    color: #FFFFFF;
    font-size: 12px;
}
  
  icondiv { 
      float: left;
      font-family: Segoe MDL2 Assets;
      font-size: 30px;
  }
  
  inputdiv {
      float:right;
  }
  
  copydiv {
      float: left;
      width: 25%;
  }
  
  langdiv {
      float: left;
      width: 25%;
  }
  
  statusdiv {
      float: right;
      width: 50%;
      text-align: right;
  }
  
  hiddendiv {
      display: none;
  }
  
  titleleftdiv {
      float: left;
      padding: 0px 5px;
  }
  
  titlerightdiv {
      float: right;
      padding: 0px 5px;
  }

dwms-button-sm {
    background-color: transparent;
    border: none;
    border-radius: 2px;
    color: white;
    text-align: center;
    text-decoration: none;
    padding: 0px 3px;
    display: inline-block;
	margin: auto;
    cursor: pointer;
}

dwms-button-sm:hover {
    background-color: white;
	color: #808080;
}

.dwms-button-m {
    font-size: 1.5em;
}

.dwms-button-l {
    font-size: 2em;
}

.dwms-button-xl {
    font-size: 3em;
}

.dwms-button-xxl {
    font-size: 5em;
}

.content {
  order: 3;
  flex: 1 100vw;
  background-color: #F5F5F5;
}
    
.navbar {
  order: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  min-width: 45px;
  max-width: 45px;
  font-family: Segoe MDL2 Assets;
  font-size: 30px;
  background-color: #D3D3D3;
}

.menubar {
  order: 1;
  flex: 1;
  overflow-y: auto;
  width: 25;
}

.caption {
	background-color: beige;
	border: 0px;
}

.field {
	border: 0px;
	background-color: #f2f2f2;
}

.fullwidth {
	border: 1px;
}

.button0 {
    background-color: #D3D3D3;
    border: none;
    border-radius: 6px;
    color: #808080;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
	margin: auto;
}

.button0:hover {
    background-color: #808080;
	color: white;
}

.button1 .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: grey;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    top: -10%;
    left: 0%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 1s;
}

.button1 .tooltiptext::after {
    content: " ";
    position: absolute;
    top: 50%;
    right: 100%; /* To the left of the tooltip */
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent grey transparent transparent;
}

.button1:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.frmbutton {
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: 1px solid #4CAF50;
	border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

.frmbutton:hover {
    opacity: 0.8;
}

/* Extra styles for the cancel button */
.cancelbtn {
    background-color: #f44336;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: 1px solid #f44336;
	border-radius: 4px;
    cursor: pointer;
    width: auto;
}

/* Center the image and position the close button */
.imgcontainer {
    text-align: center;
    /* margin: 10px 0 10px 0; */
    position: relative;
}

img.avatar {
    width: 40%;
    border-radius: 5%;
}

.frmcontainer {
    padding: 16px;
}

.frmcontainerspace {
    padding: 6px;
}

.closecontainer {
    /* padding: 5px; */
    text-align: right;
	margin-right: 10px;
}

span.psw {
    float: right;
    padding-top: 16px;
}

/* The Modal (background) */
.dwms-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: none; /* Enable scroll if needed */
}

.dwms-modal-shaded {
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.1); /* Black w/ opacity */
}

/* Modal Content/Box */
.dwms-modal-content {
    background-color: #fefefe;
    margin: auto;
    border: 1px solid #888;
    width: 50vw; /* Could be more or less, depending on screen size */
    min-width: 350px;
    max-width: 450px;
}

.dwms-modal-content-centered {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);  
    text-align: center;
}

/* The logout timer */
.dwms-timer {
    background-color: white;
    opacity: 0.9;
    border-radius: 5%;
    width:20%;
}

.dwms-logout {
	height: 124px;
	width: 124px;
    padding: 20px;
    border-radius: 5%;
	display: inline-block;
	vertical-align: middle;
	line-height: 124px;
	text-align: center;
	font-size: 30px;
	color: grey;
	background-image: url('/images/loading.gif');
	background-repeat: no-repeat;
	background-position: center;
	opacity: 0.3;
}

/* The Close Button */
 .close {
    /* Position it in the top right corner outside of the modal */
    /* position: absolute; */
    right: 30px;
    top: 10px; 
    color: #808080;
    font-size: 35px;
    font-weight: bold;
}

/* Close button on hover */
.close:hover,
.close:focus {
    color: red;
    cursor: pointer;
}

/* Add Zoom Animation */
 .animate {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
    from {-webkit-transform: scale(0)} 
    to {-webkit-transform: scale(1)}
}

@keyframes animatezoom {
    from {transform: scale(0)} 
    to {transform: scale(1)}
}

