table.cardGeneratorTable {
	border: 0px;
	border-spacing: 5px;
	table-layout: fixed;
	justify-content: center;
	position: relative;
	vertical-align: middle;
}

p {
	margin-left: 20px;
}

.tableHead {
	font-size: 18pt;
	font-weight: bold;
}

#hide-toggle {
  width: 100%;
  padding: 50px 0;
  text-align: center;
  display: none;
}

.right-top {
    float:right;
    position:absolute;
    top:0;
    right:0;
    clear:right
	font-size: 8pt;
}

.title {
	font-size: 24pt;
}

img {
	object-fit: cover;
}

.container {
	position: relative;
}

.numberInfo {
	border-radius: 25px;
	background: #73AD21;
	padding: 12px;
    float:right;
    position:absolute;
    bottom:0;
    right:0;
    clear:right
	font-size: 8pt;
}

* {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;
  font-size: 16px;
}

input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}

label {
  padding: 12px 12px 12px 0;
  display: inline-block;
}

button.print {
  background-color: #4CAF50;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  align-items: center;
}

button.print:hover {
  opacity: 0.75;
}

input.generateCard {
  background-color: #008CBA;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  align-items: center;
}

input.generateCard:hover {
  opacity: 0.75;
}

input.remove {
  background-color: #f44336;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
}

input.remove:hover {
  opacity: 0.75;
}

button.addFolder {
  background-color: #555555;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: left;
}

button.addFolder:hover {
  opacity: 0.75;
}

input.addFolder {
  background-color: #e7e7e7; 
  color: black;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
}

input.addolder:hover {
  opacity: 0.75;
}

input.upload {
  background-color: #555555;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  float: right;
}

input.upload:hover {
  opacity: 0.75;
}

input.chooseFiles {
  background-color: #e7e7e7;
  color: black;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  float: left;
}

input.chooseFiles:hover {
  opacity: 0.75;
}

.col-12-5 {
  float: left;
  width: 12.5%;
  margin-top: 6px;
  text-align: center;
}

.col-20 {
  float: left;
  width: 20%;
  margin-top: 6px;
  text-align: center;
}

.col-25 {
  float: left;
  width: 25%;
  margin-top: 6px;
  text-align: center;
}

.col-33 {
  float: left;
  width: 33.33%;
  margin-top: 6px;
  text-align: center;
}

.col-50 {
  width: 50%;
  float: left;
  align-items: center;
  margin-top: 6px;
  text-align: center;
}

.col-55 {
  width: 55%;
  float: left;
  align-items: center;
  margin-top: 6px;
  text-align: center;
}

.col-75 {
  float: left;
  width: 75%;
  margin-top: 6px;
  text-align: center;
}

.col-100 {
  width: 100%;
  align-items: center;
  margin-top: 6px;
  text-align: center;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .col-12-5, .col-20, .col-25, .col-33, .col-55, .col-75 input[type=submit] {
    width: 100%;
    margin-top: 0;
  }
}

body {
  background-color: #435165;
  margin: 0;
}

.content .media-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  align-content: stretch;
  flex-shrink: 3;
  
}

.media-list a {
  display: block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  margin: 10px;
  height: 200px;
  flex-grow: 10;
}

.media-list img {
  max-height: 100%;
  min-width: 100%;
  object-fit: cover;
  vertical-align: bottom;
}

.content .media-list .description {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: absolute;
  opacity: 0;
  top: 0;
  left: 0;
  color: #fff;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 15px;
  transition: opacity 1s;
}

.media-popup .con h3 {
  margin: 5px 5px 5px 5px;
  font-size: 24px;
  color: white;
}

.media-list a:hover .description {
  opacity: 1;
  transition: opacity 1s;
  font-size: 48px;
  font-weight: bold;
}

.media-list a:nth-child(3n) {
  margin-right: 0;
}

.view img, .view audio, .view video {
  max-width: 100%;
}

.view img, .view video {
  height: auto;
}

.login, .register {
  width: 400px;
  background-color: #ffffff;
  box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  margin: 100px auto;
}

.login h1, .register h1 {
  text-align: center;
  color: #5b6574;
  font-size: 24px;
  padding: 20px 0 20px 0;
  border-bottom: 1px solid #dee0e4;
}

.login .links, .register .links {
  display: flex;
  padding: 0 15px;
}

.login .links a, .register .links a {
  color: #adb2ba;
  text-decoration: none;
  display: inline-flex;
  padding: 0 10px 10px 10px;
  font-weight: bold;
}

.login .links a:hover, .register .links a:hover {
  color: #9da3ac;
}

.login .links a.active, .register .links a.active {
  border-bottom: 3px solid #3274d6;
  color: #3274d6;
}

.login form, .register form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 20px;
}

.login form label, .register form label {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 12%;
  height: 50px;
  background-color: #3274d6;
  color: #ffffff;
}

.login form input[type="password"], .login form input[type="text"], .login form input[type="email"], .register form input[type="password"], .register form input[type="text"], .register form input[type="email"] {
  width: 80%;
  height: 50px;
  border: 1px solid #dee0e4;
  margin-bottom: 20px;
  padding: 0 15px;
}

.login form input[type="submit"], .register form input[type="submit"] {
  width: 100%;
  padding: 15px;
  margin-top: 20px;
  background-color: #3274d6;
  border: 0;
  cursor: pointer;
  font-weight: bold;
  color: #ffffff;
  transition: background-color 0.2s;
  border-radius: 0;
  appearance: none;
}

.login form input[type="submit"]:hover, .register form input[type="submit"]:hover {
  background-color: #2868c7;
  transition: background-color 0.2s;
}

.login form #rememberme, .register form #rememberme {
  width: 100%;
  height: auto;
  padding: 5px 20px;
  background-color: transparent;
  color: #000;
  justify-content: flex-start;
}

.login form #rememberme input, .register form #rememberme input {
  transform: scale(1.3);
  margin-right: 7px;
}

.login form .msg, .register form .msg {
  padding: 0 20px;
  width: 100%;
}

.login form .captcha, .register form .captcha {
  display: flex;
}

.login form > a, .register form > a {
  text-decoration: none;
  color: #5b6574;
  width: 100%;
  padding: 5px 20px;
}

.login form > a:hover, .register form > a:hover {
  color: #394049;
}

/* https://codeshack.io/css3-responsive-menu-example/ */
.menu {
	box-sizing: border-box;
	height: 59px;
	width: 1000px;
	border: 0;
    z-index: 9999;
    position: fixed;
    background-color: #394555;
}
nav {
	display: flex;
	margin: 0 auto;
	width: 1000px;
	height: 100%;
}
.menu h1 {
	box-sizing: border-box;
    margin: 0;
    font-size: 26px;
    display: inline-block;
    float: left;
	line-height: 65px;
    padding: 0 80px 0 20px;
    color: #edf0f3;
}
.menu > ul {
	list-style-type: none;
    padding: 0;
    margin: 0;
    float: right;
}
.menu > ul ul {
	list-style-type: none;
	display: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 100%;
}
.menu > ul > li {
	float: left;
    display: inline-block;
}
.menu > ul li li {
	position: relative;
}
.menu > ul > li:hover > ul {
	display: block;
}
.menu > ul > li > ul li:hover > ul {
	display: block;
    top: 0;
    left: 100%;
}
.menu a {
	display: block;
    padding: 20px 10px 20px 10px;
    background-color: #394555;
    box-sizing: border-box;
    text-decoration: none;
    color: #dadcdf;
    font-weight: bold;
    font-size: 14px;
    min-width: 100px;
	min-height: 20px;
    text-align: center;
}
.menu > ul > li > a {
	border-right: 1px solid #2b3543;
}
.menu > ul > li:first-child > a {
	border-left: 1px solid #2b3543;
}
.menu > ul > li > a:hover {
	background-color: #303a47;
}
.menu > ul ul li a {
	display: block;
    padding: 20px 10px 20px 10px;
	min-height: 20px;
    background-color: #29323d;
    box-sizing: border-box;
}
.menu > ul ul li a:hover {
	background-color: #1b2129;
}
.menu > ul ul ul ~ a::after {
	content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 15px;
    margin: auto;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 6px;
    border-color: transparent transparent transparent rgba(255,255,255,0.3);
}
.menu label,
.menu input {
	display: none;
}
@media screen and (max-width: 700px) {
	.menu ul {
    	display: none;
    }
    .menu label {
    	display: block;
        text-align: center;
        width: 40px;
        border-left: 1px solid #2b3543;
        padding: 15px 25px 15px 25px;
        opacity: 0.8;
    }
    .menu input:checked ~ ul {
    	display: block;
        top: 100%;
        position: absolute;
        width: 100%;
        height: calc(100vh - 100%);
        overflow-y: scroll;
        overflow-x: hidden;
    }
	.menu input:checked ~ ul li,
    .menu input:checked ~ ul ul,
    .menu input:checked ~ ul a {
    	position: static;
        display: block;
        width: 100%;
        top: 0;
        left: 0;
		text-align: left;
    }
    .menu input:checked ~ ul ul ul ~ a::after {
    	border: 0;
    }
    .menu a {
    	background-color: #29323d;
		margin-left: 15px;
    }
}

/* https://stackoverflow.com/questions/6121203/how-to-do-fade-in-and-fade-out-with-javascript-and-css */
#slideSource {
  opacity: 1;
  transition: opacity 1s; 
}

#slideSource.fade {
  opacity: 0;
}

body.loggedin {
  background-color: #f3f4f7;
}

.content {
  width: 1000px;
  margin: 0 auto;
}

.content h2 {
  margin: 60px 0 0 20px;
  padding: 25px 0;
  font-size: 20px;
  border-bottom: 1px solid #e0e0e3;
  color: #4a536e;
}

.content .block {
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
  margin: 25px 0;
  padding: 25px;
  background-color: #fff;
}

.content .block p {
  padding: 5px;
  margin: 0 0 10px 0;
}

.content.profile form label {
  display: block;
  padding: 15px 0 10px 0;
  font-weight: 500;
  font-size: 14px;
  color: #4d4d4d;
}

.content.profile form input[type="text"], .content.profile form input[type="password"], .content.profile form input[type="email"] {
  padding: 10px;
  width: 250px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.content.profile .profile-detail {
  padding: 5px;
}

.content.profile .profile-detail strong {
  display: inline-block;
  color: #777;
  min-width: 120px;
  font-size: 16px;
}

.content.profile .profile-detail i {
  width: 28px;
  color: #aaabad;
}

.content.profile .profile-btn {
  display: inline-block;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  color: #fff;
  background-color: #3274d6;
  margin: 20px 5px 0 0;
  padding: 10px 15px;
  border-radius: 4px;
  appearance: none;
  font-size: 14px;
}

.content.profile .profile-btn:hover {
  background-color: #2868c7;
}

@media screen and (max-width: 400px) {
  .login, .register {
    width: 95%;
  }
}

@media screen and (max-width: 1000px) {
  .menu {
    height: auto;
    padding: 10px;
  }
  .menu ul {
    flex-flow: wrap;
    width: 100%;
  }
  .menu ul h1 {
    display: block;
    flex-basis: 100%;
  }
  .menu ul a {
    padding: 10px 0;
    flex-basis: 50%;
  }
  .content {
    padding: 10px;
    width: 100%;
  }
  .content form input[type="text"], .content form input[type="password"], .content form input[type="email"] {
    width: 100%;
    max-width: 100%;
  }
  .profile-detail strong {
    width: 100%;
  }
  .media-popup .content {
    width: 95%;
    max-height: 90%;
    padding: 10px;
    border-radius: 0;
  }
  .media-popup .content img {
    width: 100%;
    height: auto;
    max-height: auto;
  }
  .media-popup .content video {
    width: 100%;
    height: auto;
  }
}

/* Media Pop-Up */

.media-popup {
  display: none;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 999999;
}

.media-popup .content {
  display: flex;
  position: relative;
  flex-flow: column;
  background-color: #ffffff;
  padding: 25px;
  border-radius: 4px;
}

.media-popup .content h3 {
  margin: 0;
  font-size: 18px;
}

.media-popup .content img {
  object-fit: contain;
  max-width: 100%;
}

.media-popup .content .thumbs-up-down {
  display: flex;
  padding-top: 15px;
}

.media-popup .content .thumbs-up-down a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background-color: #eee;
  color: #777;
  border-radius: 50px;
  width: 40px;
  height: 40px;
}

.media-popup .content .thumbs-up-down a.thumbs-up.active, .media-popup .content .thumbs-up-down a.thumbs-up:hover {
  background-color: #42a567;
  color: #fff;
}

.media-popup .content .thumbs-up-down a.thumbs-down.active, .media-popup .content .thumbs-up-down a.thumbs-down:hover {
  background-color: #a54242;
  color: #fff;
}

.media-popup .content .thumbs-up-down span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 10px;
  color: #777;
}

.media-popup .prev {
  padding: 0 25px;
}

.media-popup .next {
  padding: 0 25px;
}

.media-popup .next, .media-popup .prev {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.2);
}

.media-popup .next:hover, .media-popup .prev:hover {
  color: rgba(255, 255, 255, 0.3);
}


