main {
	width: 90vw;
    display: block;
  	position: relative;
    background-color: #eeeeee;
    border: 1px solid #aaaaaa;
  	border-radius: 10px 10px 10px 10px;
    /*padding: 15px 15px 15px 15px;*/
    padding: 10px 10px 10px 10px;
    margin: auto;
    margin-top: 15px;
        margin-bottom: 32px;
    text-align: center;
    font-family: "Ariel", sans-serif;
}
main a {
	display: block;
    margin: 1em;
    padding: 16px;
  	text-decoration: none;
  	font-size: 1.9vh;
	font-family: "Ariel", sans-serif;
    font-weight: bold;
  	color: #000000;
  	background-color: #FFFFFF;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  	border-radius: 10px 10px 10px 10px;
	text-align: center;
	cursor: pointer;
}
main input {
	border-style: none;
}
main button {
	border-style: none;
}
main #userpage {
    height: auto;
    overflow: auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
main #userpage a {
    display: inline-block;
	float: left;
	height: 256px;
    width: 256px;
    margin-right: 1em;
  	text-decoration: none;
  	font-size: 1.9vh;
	font-family: "Ariel", sans-serif;
    font-weight: bold;
  	color: #000000;
  	background-color: #FFFFFF;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  	border-radius: 10px 10px 10px 10px;
	text-align: center;
    overflow: auto;
    padding: 1vh 1vw 1vh 1vw;
}
main #userpage div {
    display: inline-block;
    margin: auto;
    padding-top: 10px;
    position: relative;
    height: 200px;
    width: 200px;
    -o-object-fit: contain;
    object-fit: contain;
}
main #userpage span {
    position: relative;
    height: 200px;
    width: 200px;
    font-size: 200px;
}

input[type="text"] {
    cursor: text;
}
input[type="password"] {
    cursor: text;
}

#message {
    width: 80%;
    padding: 16px;
  	text-decoration: none;
  	font-size: 1.9vh;
	font-family: "Ariel", sans-serif;
    font-weight: bold;
  	color: #000000;
  	background-color: #FFFFFF;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    border-style: none;
  	border-radius: 10px 10px 10px 10px;
}
#qrbutton {
    width: 83%;
    margin-top: 22px;
    padding: 16px;
  	text-decoration: none;
  	font-size: 1.9vh;
	font-family: "Ariel", sans-serif;
    font-weight: bold;
  	color: #000000;
  	background-color: #FFFFFF;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  	border-radius: 10px 10px 10px 10px;
	text-align: center;
	cursor: pointer;
}
#qrcode {
    display: none;
  	background-color: #FFFFFF;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  	border-radius: 10px 10px 10px 10px;
	text-align: center;
    overflow: auto;
    padding: 15px 15px 15px 15px;
    margin: 0%;
    overflow: hidden;
}
.small_qr{
    position: relative;
    height: 256px;
    width: 256px;
	cursor: pointer;
}
.large_qr { 
    position: fixed;
    top: 0; 
    left: 0;
    right: 0;
    bottom: 0 ;
    z-index: 100;
    text-align: center;
	cursor: pointer;
}
.large_qr > img {
    max-width: 100%;
    max-height: 100%;
    bottom: 0;
    left: 0;
    margin: auto;
    overflow: auto;
    position: fixed;
    right: 0;
    top: 0;
    -o-object-fit: contain;
    object-fit: contain;
} 
.qr_img {
    width: 100%;
    height: 100%;
}

.posty-board {
    height: auto;
    overflow: auto;
}
.board-img {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
	float: left;
    margin: 1em;
    height: 256px;
    width: 256px;
  	font-size: 18px;
	font-family: "Ariel", sans-serif;
    font-weight: bold;
  	color: #000000;
  	background-color: #FFFFFF;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  	border-radius: 10px 10px 10px 10px;
    overflow: hidden;
    padding: 1vh 1vw 1vh 1vw;
    cursor: pointer;
    word-wrap: break-word;
}
.board-img img {
    margin: auto;
    max-width: 80%;
    max-height: 80%;
    min-width: 25%;
    min-height: 25%;
    object-fit: contain;
}
.board-img p {
}
.board-img a {
    display: none;
}
.full-img {
    position: fixed;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: auto;
    height: 96vh;
    width: 96vw;
    top: 1vh;
    left: 1vw;
  	background-color: #FFFFFF;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  	border-radius: 10px 10px 10px 10px;
    overflow: hidden;
    padding: 1vh 1vw 1vh 1vw;
    cursor: pointer;
    z-index: 100;
}
.full-img a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    z-index: 101;
}
.full-img p {
    display: none;
}
.full-img img {
    max-width: 100%;
    max-height: 100%;
    min-width: 25%;
    min-height: 25%;
}
.select-img {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
	float: left;
    margin: 1em;
    height: 256px;
    width: 256px;
  	font-size: 18px;
	font-family: "Ariel", sans-serif;
    font-weight: bold;
  	color: #000000;
  	background-color: #CCCCCC;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  	border-radius: 10px 10px 10px 10px;
    overflow: hidden;
    padding: 1vh 1vw 1vh 1vw;
    cursor: pointer;
    word-wrap: break-word;
}
.select-img img {
    margin: auto;
    max-width: 80%;
    max-height: 80%;
    min-width: 25%;
    min-height: 25%;
    object-fit: contain;
}
.select-img a {
    display: none;
}


.signup-form {	
	overflow: auto;
}
.signup-form a {
	display: block;
    margin: 1em;
    padding: 16px;
  	text-decoration: none;
  	font-size: 1.9vh;
	font-family: "Ariel", sans-serif;
    font-weight: bold;
  	color: #000000;
  	background-color: #FFFFFF;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  	border-radius: 10px 10px 10px 10px;
	text-align: center;
}
.signup-form input {
    margin-top: 1em;
    width: 320px;
    max-width : 80vw;
	display: inline-block;
	background-color: #ffffff;
	padding: 16px;
	text-decoration: none;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  	border-radius: 10px 10px 10px 10px;
}
.signup-form label {
}
.signup-form input[type="checkbox"] {
	margin: 0px;
	padding: 0px;
	width: 60px;
}
.signup-form button {
	display: inline-block;
    margin: 1em;
    width: 354px;
    max-width : 80vw;
    padding: 16px;
  	font-size: 1.9vh;
	font-family: "Ariel", sans-serif;
    font-weight: bold;
  	color: #000000;
  	background-color: #FFFFFF;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  	border-radius: 10px 10px 10px 10px;
	text-align: center;
    cursor: pointer;
}

.button1 {
	display: inline-block;
    margin: 1em;
    width: 354px;
    max-width : 80vw;
    padding: 16px;
  	font-size: 1.9vh;
	font-family: "Ariel", sans-serif;
    font-weight: bold;
  	color: #000000;
  	background-color: #FFFFFF;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  	border-radius: 10px 10px 10px 10px;
	text-align: center;
    cursor: pointer;
}


footer {
	height: 22px;
	width: 100%;
	position: fixed; /* Stay in place */
	z-index: 2; /* Stay on top */
	bottom: 0;
	left: 0;
	background-color: #FFFFFF;
	overflow-x: hidden; /* Disable horizontal scroll */
	border-top: 1px solid #aaaaaa;
	padding-top: 3px;
	color: #999999;
	font-family: "Ariel", sans-serif;
	font-size: 16px;
	text-align: right;
}

.hidden {
	display:none;
}
.shown {
	display:block;
}

.hidden-input {
	display:none;
}

.hidden-input-checkbox:checked ~ .hidden-input {
	display:block;
}


.posty-maker {
    display: flex;
    justify-content: center;
}
.posty-maker div {
    display: flex;
    margin: 10px;
  	text-decoration: none;
  	font-size: 90%;
	font-family: "Ariel", sans-serif;
    font-weight: bold;
  	color: #000000;
  	background-color: #FFFFFF;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  	border-radius: 10px 10px 10px 10px;
  	padding: 10px 10px 10px 10px;
	text-align: center;
    overflow: auto;
    user-select: none;
}
#authenticate {
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
#authenticate div {
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
#authenticate input[type="text"] {
    margin: 0 5px;
    width: 10em;
    height: auto;
    background-color: #FFFFFF;
    box-shadow: none;
    border-style: none none solid;
    border-width: 2px;
  	border-radius: 0px;
  	padding: 0px;
  	cursor: text;
}
#postyCanvas {
    justify-content: center;
    align-items: center;
}
#drawCanvas {
    cursor: crosshair;
    max-width: 76vw;
}
#postyMenu {
    justify-content: center;
    flex-wrap: wrap;
}
#postyMenu #IMGfile {
    display: none;
    height: 0px;
}
.controls{
    margin: 10px;
    height: 80px;
    width: 80px;
  	text-decoration: none;
  	font-size: 80%;
	font-family: "Ariel", sans-serif;
    font-weight: bold;
  	color: #000000;
  	background-color: #EEEEEE;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  	border-radius: 10px 10px 10px 10px;
  	padding: 10px 10px 10px 10px;
	text-align: center;
    overflow: auto;
    cursor: pointer;
    user-select: none;
}
label.controls{
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.controls span{
  	font-size: 3em;
}


#mainMenu {
	margin: auto;
	margin-top: 20px;
    margin-bottom: 32px;
	max-width: 65vw;
    height: auto;
	border: 1px solid silver;
	padding: 10px 30px 10px 30px;
	background-color: #EEEEEE;
  	border-radius: 10px 10px 10px 10px;
	text-align: center;
}

#mainMenu #logo {width: 66%;padding-right: 4%;margin: auto;}

#mainMenu a {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	margin-bottom: 20px;
  	text-decoration: none;
  	font-size: min(7vw, 2rem);
  	/*font-size: 2rem;*/
	font-family: "Ariel", sans-serif;
  	color: #000000;
  	background-color: #FFFFFF;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
	padding-left: 10px;
	padding-top: 20px;
	padding-bottom: 20px;
  	border-radius: 10px 10px 10px 10px;
	text-align: center;
    vertical-align:middle;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
}
#mainMenu a span {
  	font-size: 1em;
  	color: #000000;
    position: relative;
    top: 8px;
    vertical-align: 3px;
    /*vertical-align:baseline;*/
}
#mainMenu a img {
    width: 60%;
	display: block;
    padding-left: 10px;
    padding-top: 10%;
    padding-bottom: 10%;
}

#flatMenu {
	margin: auto;
	width: 90vw;
    height: auto;
	border: 1px solid silver;
	padding: 10px 10px 10px 10px;
	background-color: #EEEEEE;
  	border-radius: 10px 10px 10px 10px;
    overflow: auto;
}
#flatMenu a {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
	float: left;
    height: 70px;
    width: 70px;
    margin: 6px;
  	text-decoration: none;
  	font-size: 80%;
	font-family: "Ariel", sans-serif;
    font-weight: bold;
  	color: #000000;
  	background-color: #FFFFFF;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  	border-radius: 10px 10px 10px 10px;
  	padding: 10px 10px 10px 10px;
	text-align: center;
    overflow: auto;
    cursor: pointer;
    user-select: none;
}
#flatMenu a img {
    height: 96%;
    /*padding: 1vh 1vw 0vh 1vw;*/
}
#flatMenu a span {
  	font-size: 3.0em;
  	color: #000000;
}
#flatMenu #flatMenuExtra {
    display: none;
	float: right;
}

.pageMenu {
    position: fixed !important;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 60vh;
    height: auto;
    width: 60vw !important;
    top: 10vh;
    left: 19vw !important;
    margin: 0;
  	background-color: #EEEEEE !important;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
	border: 1px solid silver;
  	border-radius: 10px 10px 10px 10px;
    overflow: auto;
    padding: 1vh 1vw 1vh 1vw;
    z-index: 100;
}
.pageMenu a {
    height: 112px;
    width: 256px;
    max-width: 84%;
  	text-decoration: none;
  	font-size: 1.9vh;
	font-family: "Ariel", sans-serif;
    font-weight: bold;
  	color: #000000;
  	background-color: #FFFFFF;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  	border-radius: 10px 10px 10px 10px;
	text-align: center;
    overflow: auto;
    padding: 1vh 1vw 0vh 1vw;
    cursor: pointer;
    user-select: none;
}
.pageMenu a span {
  	font-size: 4.0em;
  	color: #000000;
    position: relative;
    top: 0.0vh;
}
.pageMenu input {
    height: 42px;
    width: 256px;
    max-width: 84%;
  	text-decoration: none;
  	font-size: 1.9vh;
	font-family: "Ariel", sans-serif;
    font-weight: bold;
  	color: #000000;
  	background-color: #FFFFFF !important;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  	border-radius: 10px 10px 10px 10px;
	text-align: center;
    overflow: auto;
    margin: 1vh 1vw 3vh 1vw;
    padding: 1vh 1vw 0vh 1vw;
}
.pageMenu label {
    height: 42px;
    width: 256px;
  	text-decoration: none;
  	font-size: 1.9vh;
	font-family: "Ariel", sans-serif;
    font-weight: bold;
  	color: #000000;
	text-align: center;
    overflow: auto;
    margin: 1vh 1vw 3vh 1vw;
    padding: 1vh 1vw 0vh 1vw;
}
.pageMenu p {
    position: relative;
  	font-size: 4vh;
	font-family: "Ariel", sans-serif;
    font-weight: bold;
  	color: #000000;
  	text-align: center;
}

.fullMenu {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    height: 96vh;
    width: 96vw;
    top: 1vh;
    left: 1vw;
  	background-color: #FFFFFF;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  	border-radius: 10px 10px 10px 10px;
    overflow: hidden;
    padding: 1vh 1vw 1vh 1vw;
    cursor: pointer;
    z-index: 100;
}

.editOFF {
}
.editON {
    background-color: #aaffaa;
}


@media only screen and (min-width: 600px) {
  /* For tablets: */
  main {
	width: 80vw;
  }
  
  main #userpage {
    height: auto;
    overflow: auto;
    display: block;
  }
  main #userpage a {
    display: inline-block;
	float: left;
	height: 320px;
    width: 320px;
    margin-right: 1em;
  	text-decoration: none;
  	font-size: 1.9vh;
	font-family: "Ariel", sans-serif;
    font-weight: bold;
  	color: #000000;
  	background-color: #FFFFFF;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  	border-radius: 10px 10px 10px 10px;
	text-align: center;
    overflow: auto;
    padding: 1vh 1vw 1vh 1vw;
}
main #userpage div {
    margin: auto;
    padding-top: 10px;
    position: relative;
    height: 256px;
    width: 256px;
}
main #userpage span {
    position: relative;
    height: 256px;
    width: 256px;
    font-size: 256px;
}

.pageMenu {
    top: 19vh;
    left: 19vw;
  }
  
  #mainMenu {
	width: 50%;
  }
  #flatMenu {
	margin: auto;
	width: 80vw;
  }
  #flatMenu a {
    height: 80px;
    width: 80px;
    margin: 8px;
    font-size: 90%;
  }
}
@media only screen and (min-width: 768px) {
  /* For desktop: */
   #mainMenu {
	width: 38%;
   }
   #flatMenu a {
    height: 100px;
    width: 100px;
    margin: 10px;
    font-size: 110%;
  }
}
@media only screen and (min-width: 1024px) {
  /* For desktop: */
   #mainMenu {
	width: 30%;
   }  
}
@media only screen and (min-width: 1280px) {
  /* For desktop: */
   #mainMenu {
	width: 25%;
   }  
}
@media only screen and (min-width: 1440px) {
  /* For desktop: */
   #mainMenu {
	width: 20%;
   }  
}
@media only screen and (min-width: 2048px) {
  /* For desktop: */
   #mainMenu {
	width: 15%;
   }  
}
