* {margin: 0; padding: 0;}

[v-cloak] { display: none; }

.nothing-right-now p { 
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  padding-top: .5em;
  padding-bottom: .5em;
}

.nothing-right-now p em {
  font-weight: 700;
} 


.navbar {
  overflow: hidden;
  background-color: #cbdbff;
  position: fixed;
  top: 0;
  width: 100%;
  margin-top: 0px;
}

.navbar a { float: right; margin-right: 3em;}
.navbar a.left { float: left; margin-left: 3em;}

.content {
  margin-top: 35px;
}

div {
  margin: 20px;
}

ul {
  list-style-type: none;
  width: 100%;
}

h3 {
  font: bold 20px/1.5 Helvetica, Verdana, sans-serif;
}

li img {
  float: left;
  margin: 0 15px 0 0;
  width: 133px;
  height: 200px;
}

/* roboto-300 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('/fonts/roboto-v29-latin-300.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/fonts/roboto-v29-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/fonts/roboto-v29-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('/fonts/roboto-v29-latin-300.woff') format('woff'), /* Modern Browsers */
       url('/fonts/roboto-v29-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/fonts/roboto-v29-latin-300.svg#Roboto') format('svg'); /* Legacy iOS */
}


li p {
  font: 18px/1.25 Roboto;
}

li {
  padding: 10px;
  overflow: auto;
}

li:hover {
  background: #eee;
  cursor: pointer;
}

/* Envelope stuff from https://codepen.io/dannievinther/pen/LzGywm */
/* @import url('https://fonts.googleapis.com/css?family=Asap+Condensed:600i,700'); */

/* asap-condensed-regular - latin */
@font-face {
  font-family: 'Asap Condensed';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/asap-condensed-v8-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/fonts/asap-condensed-v8-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/fonts/asap-condensed-v8-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('/fonts/asap-condensed-v8-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('/fonts/asap-condensed-v8-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/fonts/asap-condensed-v8-latin-regular.svg#AsapCondensed') format('svg'); /* Legacy iOS */
}


.card {
  background-image: url('env1.svg');
  display: flex;
  margin-top: 0px;
  height: 100px;
  background-repeat: no-repeat;
}

.card span {
  text-transform: uppercase;
  font-family: 'Asap Condensed', sans-serif;
  margin-top: 17px;
  margin-left: 17px;
  display: grid;
  width: 50px;
  text-align: center;
  font-size: small;
}

/* montserrat-regular - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/montserrat-v18-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/fonts/montserrat-v18-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/fonts/montserrat-v18-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('/fonts/montserrat-v18-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('/fonts/montserrat-v18-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/fonts/montserrat-v18-latin-regular.svg#Montserrat') format('svg'); /* Legacy iOS */
}

/* montserrat-700 - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/montserrat-v18-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/fonts/montserrat-v18-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/fonts/montserrat-v18-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('/fonts/montserrat-v18-latin-700.woff') format('woff'), /* Modern Browsers */
       url('/fonts/montserrat-v18-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/fonts/montserrat-v18-latin-700.svg#Montserrat') format('svg'); /* Legacy iOS */
}



/* From https://jsfiddle.net/erikasaves/8p1weyud/2/ */
body.Login {
  background: url('/boxes.jpg') no-repeat fixed center center;
  background-size: cover;
  font-family: Montserrat;
}

body.Login > .content > h1 {
  filter: drop-shadow(0 0px 8px rgb(255, 255, 255));
  font-size: 72px;
}

.login-block {
  width: 320px;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  border-top: 5px solid #ff656c;
  margin: 0 auto;
}

.login-block h1 {
  text-align: center;
  color: #000;
  font-size: 18px;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 20px;
}

.login-block input {
  width: 100%;
  height: 42px;
  box-sizing: border-box;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin-bottom: 20px;
  font-size: 14px;
  font-family: Montserrat;
  padding: 0 20px 0 50px;
  outline: none;
}

.login-block input#username {
  background: #fff url('/user_icon.png') 20px top no-repeat;
  background-size: 16px 80px;
}

.login-block input#username:focus {
  background: #fff url('/user_icon.png') 20px bottom no-repeat;
  background-size: 16px 80px;
}

.login-block input#password {
  background: #fff url('/lock_icon.png') 20px top no-repeat;
  background-size: 16px 80px;
}

.login-block input#password:focus {
  background: #fff url('/lock_icon.png') 20px bottom no-repeat;
  background-size: 16px 80px;
}

.login-block input:active, .login-block input:focus {
  border: 1px solid #ff656c;
}

.login-block button {
  width: 100%;
  height: 40px;
  background: #ff656c;
  box-sizing: border-box;
  border-radius: 5px;
  border: 1px solid #e15960;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
  font-family: Montserrat;
  outline: none;
  cursor: pointer;
}

.login-block button:hover {
  background: #ff7b81;
}

  

/* Modal stuff */

/* See https://css-tricks.com/prevent-page-scrolling-when-a-modal-is-open/ */
body.modal-open {
  overflow-y: hidden;
}
body {
  height: 100vh;
  padding-right: 15px; /* Avoid width reflow */
}
 


 /* The Modal (background) */
 .modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 40; /* Sit on top */
  left: 0;
  top: 0;
  margin: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow:hidden; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 0;
  padding: 20px;
  height: 700px;
  width: 100%;
  border: 1px solid #888;
}

.modal_flex { 
  height: 100%;
  display: flex;
  flex-direction: row; 
}

.modal_desc { flex: 35%; margin-right: 0; margin-left: 0;}
.modal_image { flex: 55%; }
.modal_desc p { padding-top: .5em; padding-bottom: .5em;}
.modal_desc h1 { margin: 0; font-size: .85em; }

#aspect_ratio_box {
  flex: 10%;
  margin-left: 0;
  margin-right: 0;
}

#aspect_ratio_box div { margin-left: 0; margin-right: 0; }

#ar_header h1 { margin: 0; font-size: .85em; }


div#crop-cancel { display: inline-flex; }
div#crop-and-cancel-buttons { display: inline-flex; }

/* The Close Button */
div.close { margin: 0; }
div.close span {
  color: #aaa;
  float: right;
  margin-right: 20px;
  font-size: 28px;
  font-weight: bold;
}

div.close span:hover,
div.close span:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
} 

div.pagination {
  margin-top: 100px;
}

#page_back, #page_fwd { display: inline; font-weight: bolder; font-size: larger; cursor: default;}
#page_back:hover, #page_fwd:hover { text-shadow: 0 0 5px #c30de7;}



/* From https://jsfiddle.net/erikasaves/8p1weyud/2/ */
body.Login {
  background: url('/boxes.jpg') no-repeat fixed center center;
  background-size: cover;
  font-family: Montserrat;
}

body.Login > .content > h1 {
  filter: drop-shadow(0 0px 8px rgb(255, 255, 255));
  font-size: xxx-large;
}

.login-block {
  width: 320px;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  border-top: 5px solid #ff656c;
  margin: 0 auto;
}

.login-block h1 {
  text-align: center;
  color: #000;
  font-size: 18px;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 20px;
}

.login-block input {
  width: 100%;
  height: 42px;
  box-sizing: border-box;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin-bottom: 20px;
  font-size: 14px;
  font-family: Montserrat;
  padding: 0 20px 0 50px;
  outline: none;
}

.login-block input#username {
  background: #fff url('/user_icon.png') 20px top no-repeat;
  background-size: 16px 80px;
}

.login-block input#username:focus {
  background: #fff url('/user_icon.png') 20px bottom no-repeat;
  background-size: 16px 80px;
}

.login-block input#password {
  background: #fff url('/lock_icon.png') 20px top no-repeat;
  background-size: 16px 80px;
}

.login-block input#password:focus {
  background: #fff url('/lock_icon.png') 20px bottom no-repeat;
  background-size: 16px 80px;
}

.login-block input:active, .login-block input:focus {
  border: 1px solid #ff656c;
}

.login-block button {
  width: 100%;
  height: 40px;
  background: #ff656c;
  box-sizing: border-box;
  border-radius: 5px;
  border: 1px solid #e15960;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
  font-family: Montserrat;
  outline: none;
  cursor: pointer;
}

.login-block button:hover {
  background: #ff7b81;
}

/* Inspired by http://www.htmldrive.net/items/show/365/a-Dynamic-Stack-of-Index-CardsCSS3 */

li.email_wrapper {
  display: flex;
  flex-direction: row;
}

.card_wrapper {
  flex: 40%;
  margin:0 auto;
  text-align:center;
}

.right_side {
  flex: 60%;
  position: relative;
}

ul#index_cards {
  margin-top:0;
  text-align:center;
}
   
ul#index_cards li {
  height:210px;
  width:140px;
  overflow: hidden;
}

ul#index_cards li, #modal_image {
  background:white;
  display:block;
  float:left;
  border:1px solid #666;
  padding:0;
  position:relative;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-box-shadow: 2px 2px 10px #000;
  -webkit-box-shadow: 2px 2px 10px #000;
  -moz-transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
}

ul#index_cards li.child_img {
  -moz-box-shadow: 2px 2px 10px rgb(0 156 189);
  -webkit-box-shadow: 2px 2px 10px rgb(0 156 189);
}

ul#index_cards li.bad_img {
  -moz-box-shadow: 2px 2px 10px rgb(218, 32, 7);
  -webkit-box-shadow: 2px 2px 10px rgb(218, 32, 7);
}

.card_wrapper li img {
  margin: 5px 4px 4px 4px;
}

#card-0, #card-1, #card-left, #card-right {z-index:1;}


/* Hover States */
ul#index_cards li:hover {
  z-index:10;
}
   
#card-0:hover {
  -moz-transform: scale(1.75) translate(40px, 50px);
     -webkit-transform: scale(1.75) translate(40px, 50px);
}
     
#card-1:hover {
  -moz-transform: scale(1.75) translate(-40px, 50px);
   -webkit-transform: scale(1.75) translate(-40px, 50px);
}
   
#card-left:hover {
  -moz-transform: scale(1.75) translate(40px, -50px);
   -webkit-transform: scale(1.75) translate(40px, -50px);
}
   
#card-right:hover {
  -moz-transform: scale(1.75) translate(-40px, -50px);
   -webkit-transform: scale(1.75) translate(-40px, -50px);
}



/* Loader.  Stolen from https://cssloaders.github.io/ */
#loader {
  z-index: 99;
  width: 0;
  height: 4.8px;
  display: none;
  position: fixed;
  background: rgb(133, 10, 214);
  box-shadow: 0 0 10px rgba(133, 10, 214, 0.5);
  box-sizing: border-box;
  animation: animFw 8s linear infinite;
}
  #loader::after,
  #loader::before {
    content: '';
    width: 10px;
    height: 1px;
    background: rgb(133, 10, 214);
    position: absolute;
    top: 9px;
    right: -2px;
    opacity: 0;
    transform: rotate(-45deg) translateX(0px);
    box-sizing: border-box;
    animation: coli1 0.3s linear infinite;
  }
  #loader::before {
    top: -4px;
    transform: rotate(45deg);
    animation: coli2 0.3s linear infinite;
  }

@keyframes animFw {
    0% { width: 0; }
  100% { width: 90%; }
}

@keyframes coli1 {
    0% { transform: rotate(-45deg) translateX(0px); opacity: 0.7; }
  100% { transform: rotate(-45deg) translateX(-45px); opacity: 0; }
}

@keyframes coli2 {
    0% { transform: rotate(45deg) translateX(0px); opacity: 1; }
  100% {transform: rotate(45deg) translateX(-45px); opacity: 0.7; }
}
  
.action-btn {
  background-repeat: no-repeat;
  background-position: left center;
  background-position-x: 10px;
  background-size: 35px;
  padding-left: 55px;
  padding-right: 10px;
  height: 50px;
  color: white;
}

.action-btn:hover {
  border: 1px solid;
  box-shadow: inset 0 0 20px rgba(50, 2, 65, .5), 0 0 20px rgba(50, 2, 65, .2);
  outline-color: inset 0 0 20px rgba(50, 2, 65, .5), 0 0 20px rgba(50, 2, 65, .2);
  outline-offset: 5px;
  text-shadow: 1px 1px 2px rgb(120, 88, 207); 
}

.mail-btn { 
  background-image: url('/images/envelope-fwd.png');
  background-color: #0070ff;
}

.mail-wait-btn { 
  background-image: url('/images/email-wait-50.png');
  background-color: #0070ff;
}

.print-btn { 
  background-image: url('/images/labelprinter-50.png');
  color: #0070ff;
  background-color: white;  
}

.zebra-btn {
  background: url('/images/tools-50.png') no-repeat left center,
  /*
              repeating-linear-gradient( -45deg, transparent, transparent 10px, #000 10px, #666 20px ), 
              */
              url('/images/zebra.png') no-repeat,
              linear-gradient( to bottom, #eee, #999 );
  color: black;
  text-shadow: 2px 1px white;
  font-weight: bold;
}


.good-btn { 
  background-image: url('/images/thumbs-up.png');
  background-color: #00693E;
  
}

div.bad-btn {
  position: absolute;
  top: -40px;
  right: -20px;
}

div.bad-btn .qtip { border-bottom: none;}

input.bad-btn {
  background-image: url('/images/frown920.png'); 
  background-color: #d6001c;
  border-radius: 50%;
}
