/** these MUST stay **/
a {text-decoration:none; white-space:nowrap}
a:hover {text-decoration:underline}
a.button {text-decoration:none}
h1,h2,h3,h4,h5,h6 {margin:0.5em 0 0.25em 0; display:block;}
h1 {font-size:3.00em
	margin: 0 0 30px 0;
	text-align: center;
}
h2 {font-size:3.00em}
h3 {font-size:2.00em}
h4 {font-size:1.50em}
h5 {font-size:1.25em}
h6 {font-size:1.12em}
th,label {font-weight:bold; white-space:nowrap;}
td,th {text-align:left; padding:2px 5px 2px 5px}
th {vertical-align:middle; }
td {vertical-align:top}
form table tr td label {text-align:left}
p,table,ol,ul {padding:0; margin: 0.75em 0}
p {text-align:justify}
ol, ul {list-style-position:outside; margin-left:2em}
li {margin-bottom:0.5em}
span,input,select,textarea,button,label,a {display:inline}
img {border:0}
blockquote,blockquote p,p blockquote {
  font-style:italic; margin:0.5em 30px 0.5em 30px; font-size:0.9em}
i,em {font-style:italic}
strong {font-weight:bold}
small {font-size:0.8em}
code {font-family:Courier}
textarea {width:100%}
video {width:400px}
audio {width:200px}
[type="text"], [type="password"], select {
  margin-right: 5px; width: 300px;
}
.hidden {display:none;visibility:visible}
.right {float:right; text-align:right}
.left {float:left; text-align:left}
.center {width:100%; text-align:center; vertical-align:middle}
/** end **/

/* Sticky footer begin */

.main {
  padding:20px 0 50px 0;
}

.footer,.push {
  height:6em;
  padding:1em 0;
  clear:both;
}

.footer-content {position:relative; bottom:-4em; width:100%}

.auth_navbar {
    white-space:nowrap;
}

/* Sticky footer end */

.footer {
    border-top:1px #DEDEDE solid;
}
.header {
	/* background:<fill here for header image>; */
}


fieldset {padding:16px; border-top:1px #DEDEDE solid}
fieldset legend {text-transform:uppercase; font-weight:bold; padding:4px 16px 4px 16px; background:#f1f1f1}

/* fix ie problem with menu */

td.w2p_fw {padding-bottom:1px}
td.w2p_fl,td.w2p_fw,td.w2p_fc {vertical-align:top}
td.w2p_fl {text-align:left}
td.w2p_fl, td.w2p_fw {padding-right:7px}
td.w2p_fl,td.w2p_fc {padding-top:4px}
div.w2p_export_menu {margin:5px 0}
div.w2p_export_menu a, div.w2p_wiki_tags a, div.w2p_cloud a {margin-left:5px; padding:2px 5px; background-color:#f1f1f1; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px;}

/* tr#submit_record__row {border-top:1px solid #E5E5E5} */
#submit_record__row td {padding-top:.5em}

/* Fix */
#auth_user_remember__row label {display:inline}
#web2py_user_form td {vertical-align:top}

/*********** web2py specific ***********/
div.flash {
    font-weight:bold;
    display:none;
    position:fixed;
    padding:10px;
    top:48px;
    right:250px;
    min-width:280px;
    opacity:0.95;
    margin:0px 0px 10px 10px;
    vertical-align:middle;
    cursor:pointer;
    color:#fff;
    background-color:#000;
    border:2px solid #fff;
    border-radius:8px;
    -o-border-radius: 8px;
    -moz-border-radius:8px;
    -webkit-border-radius:8px;
    background-image: -webkit-linear-gradient(top,#222,#000);
    background-image: -o-linear-gradient(top,#222,#000);
    background-image: -moz-linear-gradient(90deg, #222, #000);
    background-image: linear-gradient(top,#222,#000);
    background-repeat: repeat-x;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    z-index:2000;
}

div.flash #closeflash{color:inherit; float:right; margin-left:15px;}
.ie-lte7  div.flash #closeflash
{color:expression(this.parentNode.currentStyle['color']);float:none;position:absolute;right:4px;}

div.flash:hover { opacity:0.25; }

div.error_wrapper {display:block}
div.error {
    width: 298px;
    background:red;
    border: 2px solid #d00;
    color:white;
    padding:5px;
    display:inline-block;
    background-image: -webkit-linear-gradient(left,#f00,#fdd);
    background-image: -o-linear-gradient(left,#f00,#fdd);
    background-image: -moz-linear-gradient(0deg, #f00, #fdd);
    background-image: linear-gradient(left,#f00,#fdd);
    background-repeat: repeat-y;
}

.topbar {
    padding:10px 0;
    width:100%;
    color:#959595;
    vertical-align:middle;
    padding:auto;
    background-image:-khtml-gradient(linear,left top,left bottom,from(#333333),to(#222222));
    background-image:-moz-linear-gradient(top,#333333,#222222);
    background-image:-ms-linear-gradient(top,#333333,#222222);
    background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#333333),color-stop(100%,#222222));
    background-image:-webkit-linear-gradient(top,#333333,#222222);
    background-image:-o-linear-gradient(top,#333333,#222222);
    background-image:linear-gradient(top,#333333,#222222);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333',endColorstr='#222222',GradientType=0);
    -webkit-box-shadow:0 1px 3px rgba(0,0,0,0.25),inset 0 -1px 0 rgba(0,0,0,0.1);
    -moz-box-shadow:0 1px 3px rgba(0,0,0,0.25),inset 0 -1px 0 rgba(0,0,0,0.1);
    box-shadow:0 1px 3px rgba(0,0,0,0.25),inset 0 -1px 0 rgba(0,0,0,0.1);
}

.topbar a {
    color:#e1e1e1;
}

#navbar {float:right; padding:5px; /* same as superfish */}

.statusbar {
    background-color:#F5F5F5;
    margin-top:1em;
    margin-bottom:1em;
    padding:.5em 1em;
    border:1px solid #ddd;
    border-radius:5px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
}

.breadcrumbs {float:left}

.copyright {float:left}
#poweredBy {float:right}

/* #MEDIA QUERIES SECTION */

/*
*Grid
*
* The default style for SQLFORM.grid even using jquery-iu or another ui framework
* will look better with the declarations below
* if needed to remove base.css consider keeping these following lines in some css file.
*/
/* .web2py_table {border:1px solid #ccc} */
.web2py_paginator {}
.web2py_grid {width:100%}
.web2py_grid table {width:100%}
.web2py_grid tbody td {padding:2px 5px 2px 5px; vertical-align: middle;}
.web2py_grid .web2py_form td {vertical-align: top;}

.web2py_grid thead th,.web2py_grid tfoot td {
    background-color:#EAEAEA;
    padding:10px 5px 10px 5px;
}

.web2py_grid tr.odd {background-color:#F9F9F9}
.web2py_grid tr:hover {background-color:#F5F5F5}

/*
.web2py_breadcrumbs a {
    line-height:20px; margin-right:5px; display:inline-block;
    padding:3px 5px 3px 5px;
    font-family:'lucida grande',tahoma,verdana,arial,sans-serif;
    color:#3C3C3D;
    text-shadow:1px 1px 0 #FFFFFF;
    white-space:nowrap; overflow:visible; cursor:pointer;
    background:#ECECEC;
    border:1px solid #CACACA;
    -webkit-border-radius:2px; -moz-border-radius:2px;
    -webkit-background-clip:padding-box; border-radius:2px;
    outline:none; position:relative; zoom:1; *display:inline;
}
*/

.web2py_console form {
    width: 100%;
    display: inline;
    vertical-align: middle;
    margin: 0 0 0 5px;
}

.web2py_console form select {
    margin:0;
}

.web2py_search_actions {
    float:left;
    text-align:left;
}

.web2py_grid .row_buttons {
    min-height:25px;
    vertical-align:middle;
}
.web2py_grid .row_buttons a {
    margin:3px;
}

.web2py_search_actions {
    width:100%;
}

.web2py_grid .row_buttons a,
.web2py_paginator ul li a,
.web2py_search_actions a,
.web2py_console input[type=submit],
.web2py_console input[type=button],
.web2py_console button {
    line-height:20px;
    margin-right:2px; display:inline-block;
    padding:3px 5px 3px 5px;
}

.web2py_counter {
    margin-top:5px;
    margin-right:2px;
    width:35%;
    float:right;
    text-align:right;
}

/*Fix firefox problem*/
.web2py_table {clear:both; display:block}

.web2py_paginator {
    padding:5px;
    text-align:right;
    background-color:#f2f2f2;

}
.web2py_paginator ul {
    list-style-type:none;
    margin:0px;
    padding:0px;
}

.web2py_paginator ul li {
    display:inline;
}

.web2py_paginator .current {
    font-weight:bold;
}

.web2py_breadcrumbs ul {
    list-style:none;
    margin-bottom:18px;
}

li.w2p_grid_breadcrumb_elem {
    display:inline-block;
}

.web2py_console form { vertical-align: middle; }
.web2py_console input, .web2py_console select,
.web2py_console a { margin: 2px; }


#wiki_page_body {
   width: 600px;
   height: auto;
   min-height: 400px;
}

/* fix some IE problems */

.ie-lte7 .topbar .container {z-index:2}
.ie-lte8 div.flash{ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#222222', endColorstr='#000000', GradientType=0 ); }
.ie-lte8 div.flash:hover {filter:alpha(opacity=25);}
.ie9 #w2p_query_panel {padding-bottom:2px}

/* kevins classes start here*/
body{
	display: flex;
    flex-direction:row;
	flex-wrap: wrap;
    justify-content:center;
    align-items:stretch;
	align-content:center;
    height:100%;
	height:100vh;
	width:100vw;
    background:grey;
	overflow:hidden;
	-ms-overflow-style: none;
	font-family: Verdana, Geneva,sans-serif;
	font-weight: 300;
	color:#384047;
	margin:0px;

}
input, textarea {
 -webkit-appearance: none;
  -webkit-border-radius: 0;
}
.insidebody{
	display:inline;
	display: flex;
    flex-direction:column;
    justify-content:space-between;
    align-items:center;
    height:100%;
	height:100vh;
	width:100vw;
	max-width:800px;
	min-width:300px;
    background:white;
	/*background-image: url("/Time/static/tower.png");*/
	background-position: bottom;
	background-repeat: no-repeat;
	background-size:100%;
	flex: 1 0px;
}
::-webkit-scrollbar {
    display: none;
}
.thebody{
	display:block;
	margin: auto;
    flex-direction:column;
    justify-content:flex-start;
    align-items:center;
	height:100%;
	width:100%;
	overflow:scroll;
	overflow-x: hidden;
}
.sideways{
	padding:0;
	display: flex;
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
	align-content:center;
	width:100%;
	height:5vh;
	min-height:40px;
	background:lightgrey;
	background:rgba(211,211,211,0.8);
	flex-wrap: nowrap
	margin:0;
}

.sideways img{
	max-height:4.5vh;
	min-height:40px;
	max-width:25%;
	margin:0;
	padding:0;
}
.sideways h1{
	font-family: "Nunito",sans-serif;
	font-weight: 300;
	font-size:25px;
	margin-left:5px;
	max-height:30px;
	min-width:58px;
	margin-top:2px;
}
.sideway{
	margin-left:2.5%;
	display: flex;
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
	width:95%;
}
.sideway img{
	height:99%;
	max-height:5vh;
	width: auto;
	max-width:7vh;
}
.sideway h1{
	font-size:25px;
	margin-left:10px;
}
.thediv{
	display: flex;
    flex-direction:column;
    justify-content:space-between;
    align-items:center;
	width:90%;
}
.filldiv{
	display: flex;
    flex-direction:column;
    justify-content:space-between;
    align-items:center;
	width:98%;
	height:auto;
	flex-basis: auto;
	 align-self: auto;
	max-width:100%;
	margin-left: auto;
    margin-right: auto;

}
.filldiv table{
	max-width:100%;

	border: none;
    margin-left: auto;
    margin-right: auto;
	padding:0
	border-width:0px;
	border-collapse: collapse;
    border-spacing: 0;

}
.filldiv td{
	background:rgba(0,0,0,0.05);
	border-width:0px;
	margin:-2px;
}
.filldiv .firstrow td{
	background:rgba(0,0,0,0.1);
}
.filldiv table{
	max-width:100%;
}

.fill{
	width:98%;
	height:auto;
}
.tab{
	display: flex;
    flex-direction:row;
    justify-content:space-between;
    align-items:stretch;
	height:5vh;
	min-height:40px;
	width:100%;
	margin-top:-0vh;
	margin-left:0vw;
}

.logo img{
	height:60px;
}
form{
	width:100%;
	min-width:100%;
	margin-left:1vw;
}
input[type="text"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
textarea,
select {
  background: rgba(255,255,255,0.1);
  border: none;
  font-size: 16px;
  height: auto;
	min-height:20px;
  margin: 0;
  outline: 0;
  padding: 15px;
  width: 90%;
	min-width:50px;
  background-color: #e8eeef;
  color: #8a97a0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.03) inset;
  margin-bottom: 10px;
}

input[type="radio"],
input[type="checkbox"] {
  margin: 0 4px 8px 0;

}
input[type="radio"],
input[type="checkbox"] {
   margin: 0 4px 8px 0;
    padding-left:5px;
    padding-right:5px;

    -webkit-appearance:button;

    border: double 2px #00F;

    background-color:white;
    color:#FFF;
    white-space: nowrap;
    overflow:hidden;

    width:15px;
    height:15px;

}
input[type=radio]:checked,
input[type="checkbox"]:checked{
    background-color:#000;
    border-left-color:#06F;
    border-right-color:#06F;
}

input[type=radio]:hover input[type="checkbox"]:hover,{
    box-shadow:0px 0px 10px #1300ff;
}
select {
  padding: 6px;
  height: 32px;
  border-radius: 2px;
}

button,input[type="submit"] {
  padding: 15px;
  color: #FFF;
  background-color: rgb(58,111,255);
  font-size: 16px;
  text-align: center;
  font-style: normal;
  width: 90%;
  border: none;
  box-shadow: 0 -1px 0 rgba(255,255,255,0.1) inset;
  margin-bottom: 10px;
	min-height:20px;
	 margin-left: auto;
    margin-right: auto;
}

fieldset {
  margin-bottom: 30px;
  border: none;
}

legend {
  font-size: 1.4em;
  margin-bottom: 10px;
}

label {
  display: block;
  margin-bottom: 8px;
}

label.light {
  font-weight: 300;
  display: inline;
}

.number {
  background-color: #5fcf80;
  color: #fff;
  height: 30px;
  width: 30px;
  display: inline-block;
  font-size: 0.8em;
  margin-right: 4px;
  line-height: 30px;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255,255,255,0.2);
  border-radius: 100%;
}
#showwhenwide{
	display:none;
}
#kevtable{
	font-size:2vw;
}
@media screen and (min-width: 600px) {

  form {
    max-width: 480px;
  }
	#kevtable{
		font-size:15px;
	}

}










.cats{
	border-style: solid;
    border-color: #B5C7BC;
    border-width:2px;
	width:98%;
	width:95vw;
	height:20%;
	height:20vh;
	margin-left:auto;
	margin-right:auto;
	text-align:center;

}
.narrow_row{
	width:100%;
	width:100vw;
	height:5vh;
	position :absolute;
	display: flex;
    flex-direction:row;
    justify-content:flex-start;
    align-items:center;
	background:white;
	margin-left:-1px;
	padding:0px;
}
.narrow_row img{
	margin-left:1vw;
	height:4vh;
	margin-top:1vh;
}
.float_bottom{
	 position:absolute;
	 bottom: 5vh;
	right:5vh;
}
.float_bottom img{
	height:10vh;
}
@media print {
	body{
		width:100%;
		margin:0;
			}
	.insidebody{
	display: flex;
    flex-direction:column;
    justify-content:space-between;
    align-items:center;
    height:600px;
	width:100%;
	max-width:100%;
	min-width:300px;
    background:white;
	background-image: url("/Time/static/tower.png");
	background-position: bottom;
	background-repeat: no-repeat;
	background-size:100%;
}
.thebody{
	display: flex;
    flex-direction:column;
    justify-content:flex-start;
    align-items:center;
	height:100%;
	width:100%;
	overflow:hidden;

}
	#filldiv{
		display:none;
		visibility: hidden;
	}
	#kevtable{
		font-size:15px;
	}



}
@page {size: landscape}
.rowflex{
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	flex-wrap:wrap;
}
.hoverabovechoice{
	position: absolute;
	left: 50%;
	top:0%;
	display:none;
}
.hoveraboveinside{
	min-width:250px;
	background-color: white;
	position: relative;
	left: -50%;
	max-height: 100vh;
	overflow-x: auto;
	padding:10px;
	max-width: 95vw;
}
.hoverbut{
	color:black;
	text-align:left;
	background-color:white;
	height:40px;
}
.hoverbut1{
	color:black;
	text-align:center;
	background-color:white;
	height:40px;
	width:auto;
	max-width: 200px;
}
.blackcover{
	position: absolute;
	top: -80vh;
	left: -80vw;
	width: 200vw;
	height: 200vh;
	background-color: black;
	-moz-opacity: 0.8;
	opacity:.80;
	filter: alpha(opacity=80);
}
.element {
	 animation: pulse 2s infinite;
	}

	@keyframes pulse {
	 0% {
		 background-color: lightgrey;
	 }
	 100% {
		 background-color: grey;
	 }
	}
	.error {
		 animation: pulses 1s infinite;
		}

		@keyframes pulses {
		 0% {
			 background-color: red;
		 }
		 100% {
			 background-color: white;
		 }
		}
	.titlemain{
			padding-top:0;
			padding-bottom:0;
			padding-left:1%;
			padding-right:1%;
			width: 98%;
	    font-size: 0.9em;
	    /* padding: 10px; */
	    border-bottom: 1px solid lightgrey;
	    margin: 0;
	    display: flex;
	    flex-direction: row;
	    justify-content: space-between;
	    background-color: rgba(240,240,240,1);
	    font-family: 'Pathway Gothic One',Arial;
		}
.titlemain p{
	    margin: 10px 0;
}
.subhead{
	margin-left: 0px;
	border-bottom:solid thin lightgrey;
	display: flex;
	justify-content: space-between;
	padding-right: 15px;
}
.subhead b{
	margin-left: 5px;
}
.subhead a{
	color:black;
}
.tags {
	background-color: lightgrey;
	border-radius: 12.5px;
	height: 25px;
	padding: 5px;
	padding-bottom: 0px;
	padding-left: 10px;
	padding-right: 10px;
	margin-right: 10px;
	margin-top: 3px;
	display: flex;
  flex-direction: row;
  flex-wrap: inherit;
  justify-content: space-between;
}
.tags a {
    background-color: white;
    border-radius: 7.5px;
    height: 15px;
    width: 5px;
    padding-left: 5px;
    padding-right: 5px;
    margin-left: 3px;
		vertical-align: middle;
}
.thefilterdiv{
	border-bottom:thin solid lightgrey;
	width:100%;
	display:flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: baseline;
}
.thefilterdiv select{
	max-width: 150px;
	background-color: white;
	margin: 0;
	padding: 0;
	height: 25px;
}
.thefilterdiv input[type=checkbox],.thefilterdiv input[type=radio]{
	margin:0;
	margin-bottom: 4px;
}
.photoedit {
    position: absolute;
    top: 5vh;
    width: 100%;
    max-width: 800px;
    height: 95vh;
    background-color: white;
		overflow: scroll;
}
