@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

/*CSS File For Scouts Management System */
html {
  position: relative;
  min-height: 100%;
}
body {
/*  font-size: 0.795em; */
  font-family: "Arial Narrow", Arial, Gadget, sans-serif;
  text-align: center;
  margin: 20px 0 25px; /* footer height */
	background-image: url('../resource/gumtree.gif');
	background-attachment: fixed;

}
header {
  background-color:#2CA500;
  position: fixed;
  margin:0 auto;
  left:0;
  top:-15px;
  height:45px;
  width:100%;
  z-index:2000;
}
input:disabled {
    background-color:beige;
	color:black;
}
textarea:disabled {
    background-color:beige;
	color:black;
}
select:disabled {
	opacity:1;
    background-color:beige;
	color:black;
}
.mainmenu {
  position: fixed;
  margin:0 auto;
  left:0;
  top:30px;
  height:20px;
  width:100%;
  z-index:2000;
}
.footer {
  background-color:gray;
  background-repeat:repeat;
  background-attachment:scroll;
  background-postition:0% 0%;
  position: fixed;
  left:0;
  bottom:0;
  height:30px;
  width:100%;
}
.footer_contents {
height:30px;
width:100%;
margin:auto;
}

nav {
    background-color:#3939a9;
    padding:2px 0;
}
nav ul {
    list-style-type:none;
    margin:0;
    padding:0;

}
nav ul li {
    display:inline-block;
    position:relative;
}
nav li ul {
    background-color:blue;
    position:absolute;
    left:0;
    top:30px; /* make this equal to the line-height of the links (specified below) */
    width:200px;

}
nav li li {
    position:relative;
    margin:0;
    display:block;

}
nav li li ul {
    position:absolute;
    top:0;
    left:200px; /* make this equal to the width of the sub nav above */
    margin:0;

}
nav a {
    line-height:30px;
    padding:0 12px;
    margin:0 12px;
    color:#fff;
    text-decoration:none;
    display:block;

}
nav a:hover,
nav a:focus,
nav a:active {
    color:rgb(50,50,50);
    background-color:#f9f9f9;
}

/* style sub level links */
nav li li a {
/*     border-bottom:solid 1px rgb(200,50,50); */
    margin:0 10px;
    padding:0;

}
nav li li:last-child a {
    border-bottom:none;

}
nav li.dropdown > a {
    background-image:url('../resource/images/arrow-down.png');
    background-position:right 20px;
    background-repeat:no-repeat;

}
nav li li.dropdown > a {
    background-image:url('../resource/images/arrow-right.png');
    background-position:right 16px;
    background-repeat:no-repeat;

}
/* hide sub menu links */
ul.sub-menu {
    display:none;
    z-index:1500;
}

#tabs {
  z-index: 0;
}

#PgTitle {
background-color: white;
font-weight:bold;
}
#PrintTitle {
background-color: white;
  width:100%;
font-weight:bold;
  position: fixed;
  top:0px;
}
#buttdiv {
  display:inline-block;
  margin:0 auto;
}
#button{
border-radius:20px;
width:100px;
height:40px;
background:#b2f2f9;
font-weight:bold;
font-size:20px
}
#formBody{
	background-color: #fff;
	width: 300px;
	margin: 50px auto;
    padding: 5px 10px;
	border: 2px solid #07839f;
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 5px;

}
th.rotate {
  /* Something you can count on */
  height: 140px;
  white-space: nowrap;
}

th.rotate > div {
  -ms-transform:
    /* Magic Numbers */
    translate(5px, 55px)
    /* 45 is really 360 - 45 */
    rotate(270deg);
  transform:
    /* Magic Numbers */
    translate(5px, 55px)
    /* 45 is really 360 - 45 */
    rotate(270deg);
  width: 30px;
}
th.rotate > div > span {
  border-bottom: 1px solid #ccc;
  padding: 5px 10px;
}


.formField{
    padding: 5px 10px;
    font-size: 1.0em;
    line-height: 1.5;
	border: 2px solid #ccc;
    border-radius: 5px;
}

.patrol_table{
margin:auto;
border:3px solid #a1a1a1;
padding:10px 15px;
background:#e0cfb6;
/* background:#22cc22; */
width:330px;
border-radius:20px;
box-shadow: 7px 7px 6px 0;
}
.fees_table{
margin:auto;
border:3px solid #a1a1a1;
padding:9px 35px;
background:#22cc22;
width:900px;
border-radius:20px;
box-shadow: 7px 7px 6px 0;
}
.groupfees_table{
margin:auto;
border:3px solid #a1a1a1;
padding:9px 15px;
background:#22cc22;
width:880px;
border-radius:20px;
box-shadow: 7px 7px 6px 0;
}
.buttons {
  border: 2px solid #07839f;
  color: #fff; background-color: #0483a0;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#31b2c3), to(#0483a0));
	background-image: -webkit-linear-gradient(top, #31b2c3, #0483a0);
	background-image: -moz-linear-gradient(top, #31b2c3, #0483a0);
	background-image: -ms-linear-gradient(top, #31b2c3, #0483a0);
	background-image: -o-linear-gradient(top, #31b2c3, #0483a0);
	background-image: linear-gradient(top, #31b2c3, #0483a0);
  display: inline-block;
  float: left;
  width: 80px;
  margin-left: 10px;
  padding: 5px 10px;
  text-decoration: none;
  text-shadow: 1px 1px #000;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  border-radius: 10px;
}
.buttons:hover {
  border-color: #31b2c3; background:#31b2c3;
}
.centered_form {
/*	position:inline-block;*/
  padding:10px;
  margin: 0px auto;
  text-align: left;
  width: 800px;
  background-color: #dad4d4;
}
.health_form {
  background-color: #dad4d4;
	position:inline-block;
  padding:10px;
  margin: 0px auto;
  text-align: left;
  width: 610px;
}
.navigation {
   border:1px solid black;
 background-color: #dad4d4;
	position:inline-block;
  padding:0px;
	margin: 0px auto;
  text-align:left;
  width: 820px;
  bottom:0px;
  border-radius:20px;
  box-shadow: 7px 7px 6px 0;
}
.table_line {
  background-color: #dad4d4;
	position:inline-block;
  top:0px;
  margin:0px auto;
  text-align: center;
  border:0px;
  padding:0px;
  width:897px;
}
.centered_table {
  background-color: #3CA4FF;
	position:inline-block;
	top:180px;
  margin: 10px auto;
  text-align: left;
/*	border: 1px solid #07839f;*/
  width: 800px;
}
.panel {
  border:1px solid black;
  background-color: #dad4d4;
  width: 820px;
  margin: 0px auto;
  text-align: left;
  border-radius:20px;
  box-shadow: 7px 7px 6px 0;
  padding:5px;
}
.invoice_panel {
  background-color: #FFFFFF;
  width: 820px;
  margin: 0px auto;
  text-align: left;
}

.labela {
	color: #2020e0;
    font-size: 15px;
    width:70px;
    height:21px;
	display: inline-block;
	text-align:right;
}
.labelb {
	color: #2020e0;
    font-size: 15px;
    width:80px;
    height:21px;
	display: inline-block;
	text-align:right;
}
.labelc {
	color: #2020e0;
    font-size: 15px;
    width:45px;
    height:21px;
	display: inline-block;
	text-align:right;
}
.labeld {
	color: #2020e0;
    font-size: 15px;
    width:90px;
    height:21px;
	display: inline-block;
	text-align:right;
}
.labele {
	color: #2020e0;
    font-size: 15px;
    width:110px;
    height:21px;
	display: inline-block;
	text-align:right;
}
.labelf {
	color: #2020e0;
    font-size: 15px;
    height:21px;
	display: inline-block;
}
.labelg {
	color: #2020e0;
    font-size: 15px;
    width:130px;
    height:21px;
	display: inline-block;
	text-align:right;
}
.labelh {
	color: #2020e0;
    font-size: 15px;
    width:150px;
    height:21px;
	display: inline-block;
	text-align:right;
}

input.input {
    font-size: 12px;
     height:18px;
     line-height: 15px;
     padding:0px;
	display: inline-block;
}
textarea {
	font-family: Arial;
    font-size: 13.33px;
	display: inline-block;
}
.select {
    font-size: 12px;
     height:22px;
     line-height: 15px;
     padding:0px;
	display: inline-block;
}
.labelj {
  background-color: #f59d56;
    width:125px;
	color: #2020e0;
    font-size: 15px;
    height:21px;
	display: inline-block;
	text-align:center;
}
.labelk {
  background-color: #fff200;
    width:125px;
	color: #2020e0;
    font-size: 15px;
    height:21px;
	display: inline-block;
	text-align:center;
}
.labell {
  background-color: #a7da4e;
    width:125px;
	color: #2020e0;
    font-size: 15px;
    height:21px;
	display: inline-block;
	text-align:center;
}
.labelm {
  background-color: #c0504d;
    width:125px;
	color: #2020e0;
    font-size: 15px;
    height:21px;
	display: inline-block;
	text-align:center;
}
.labeln {
  background-color: #ed1c24;
    width:125px;
	color: #2020e0;
    font-size: 15px;
    height:21px;
	display: inline-block;
	text-align:center;
}
.labelp {
	color: #2020e0;
    font-size: 15px;
    width:270px;
    height:21px;
	display: inline-block;
	text-align:right;
}
.uppercase {
	text-transform: uppercase;
}
.scroll_table {
  position: -webkit-sticky;
  position: sticky;
  display:block;
  max-height:700px;
/*  height:auto; */
	overflow:auto;
  border-collapse;
  collapse;
  border-spacing: 0;
}
.scroll_table td,th {
  border: 1px solid transparent; /* No more visible border */
  height: 20px;
  transition: all 0.2s; /* Simple transition for hover effect */
}
.scroll_table th {
  background: #BFBFBF; /* Darken header a bit */
  font-weight: bold;
/*  position:fixed; */
}
.scroll_table td {
  background: #FAFAFA;
}
.scroll_table tr:nth-child(even) td { background: #E1E1E1; }
.scroll_table tr:nth-child(odd) td { background: #FEFEFE; }
.scroll_table tr:hover td {
  cursor: pointer;
  background: #BCBCBC;
  color: #00F;
/*  transform:scale(1.10);
  padding-left:10px;  */
}

.kids_table{
	display:block;
	max-height:60px;
    font-size: 12px;
	overflow:auto;
	border-collapse;
}
.kids_table tr:nth-child(even) td { background: #E1E1E1; }
.kids_table tr:nth-child(odd) td { background: #FEFEFE; }
.kids_table tr:hover td {
  cursor: pointer;
  background: #BCBCBC;
  color: #00F;
}
.clickrow {
  cursor: pointer;
  color: #00F;
}
.invoice_table{
  background: #BCBCBC;
	display:block;
	overflow:auto;
	border-collapse;
}
.invoice_table td,th {
  border: 0px solid transparent; /* No more visible border */
  height: 20px;
}
.invoice_table tr:nth-child(even) td { background: #E1E1E1; }
.invoice_table tr:nth-child(odd) td { background: #FEFEFE; }
.training_table{
	display:block;
	max-height:230px;
	overflow:auto;
	border-collapse;
}
.training_table tr:nth-child(even) td { background: #E1E1E1; }
.training_table tr:nth-child(odd) td { background: #FEFEFE; }
.tabtype{
	width:300px;
    font-size: 12px;
}
.tabcomplete{
	width:40px;
    font-size: 12px;
}
.tabexempt{
	width:20px;
    font-size: 12px;
}
#ttable, #rtable{
  display:block;
  max-height: 150px;
  overflow-y: scroll;

}
.scroll_table_mini {
  display:block;
  max-height:140px;
/*  height:auto; */
	overflow:auto;
}
.attendance {
  display:block;
  max-height:800px;
/*  height:auto; */
	overflow:auto;
  border-collapse;
  collapse;
  border-spacing: 0;
}
.attendance td,th {
  border-left: 1px;
  height: 20px;
}
.attendance th {
  background: #BFBFBF; /* Darken header a bit */
  border-left: 1px solid;
  font-weight: bold;
/*  position:fixed; */
}
.attendance td {
  background: #FAFAFA;
  border-bottom: 1px;
}
.attendance tr:nth-child(even) td { background: #E1E1E1; }
.attendance tr:nth-child(odd) td { background: #FEFEFE; }
.attendance tr:hover td {
  cursor: pointer;
  background: #BCBCBC;
  color: #00F;
}
.attendprint {
  display:block;
/*  height:auto; */
	overflow:auto;
  border-collapse;
  collapse;
  border-spacing: 0;
}
.attendprint td,th {
  border-left: 1px;
}
.attendprint th {
  background: #BFBFBF; /* Darken header a bit */
  border-left: 1px solid;
     font-size: 12px;
  font-weight: bold;
/*  position:fixed; */
}
.attendprint td {
  background: #FAFAFA;
     font-size: 10px;
  height: 25px;
 border-bottom: 0px;
}
.attendprint tr:nth-child(even) td { background: #F1F1F1; }
.attendprint tr:nth-child(odd) td { background: #FEFEFE; }
.tabsign {width:250px;}
.tabtime {width:75px;}
.tabselect {width:50px;}
.tabstreet {width:330px;}
.tabcity {width:200px;}
.tabfirst {
	width:90px;
	text-align:left;
}
.tabsurname{
	width:120px;
	text-align:left;
}
.tabphone {width:100px;}
.tabmember {width:70px;}
.tabdob {width:80px;}
.tabpatrol {width:80px;}
.tabweek {width:50px;}
.tabamount {width:60px;}
.tabinvoice {width:60px;}
.tabpaid {width:60px;}
.tabtotal {width:60px;}
.tablink {width:80px;}
.tabage {
	width:45px;
	text-align:left;
	padding:2px;
}
.tabname {
	width:400px;
    font-size: 12px;
}
.tabsection {
	width:160px;
    font-size: 12px;
}
.tabstatus {
	width:100px;
    font-size: 12px;
}
.user_help {
  position:absolute;
  background-color:#ededed;
  top:150px;
  left:40%;
  width:500px;
  z-index:1000;
  margin:5px auto;
  text-align:left;
  border:1px solid black;
  display:none;
}

/* Sortable tables */

/* Added by Matt */
.user_dets {
  position:absolute;
  background-color:#ededed;
  top:150px;
  left:40%;
  width:350px;
  z-index:1000;
  margin:5px auto;
  text-align:left;
  border:1px solid black;
  display:none;
}
.user_dels {
  position:absolute;
  background-color:#ededed;
  top:150px;
  left:40%;
  width:250px;
  z-index:1000;
  margin:5px auto;
  text-align:left;
  border:1px solid black;
  display:none;
}
.user_table {
  position:relative;
  background-color: #dad4d4;
  border:3px solid black;
	padding:10px;

  left:auto;
  max-height:700px;
	overflow:auto;
	z-index:100;
  margin: 10px auto;
  text-align: left;
  width: 650px;
  color:black;
  border-radius:20px;
  box-shadow: 7px 7px 6px;
}
.user_table td,th {
  border: 1px solid transparent; /* No more visible border */
  height: 20px;
  transition: all 0.2s; /* Simple transition for hover effect */
}
.user_table th {
  background: #BFBFBF; /* Darken header a bit */
  font-weight: bold;
/*  position:fixed; */
}
.user_table td {
  background: #FAFAFA;
}
.user_table tr:nth-child(even) td { background: #E1E1E1; }
.user_table tr:nth-child(odd) td { background: #FEFEFE; }
.user_table tr:hover td {
  cursor: pointer;
  background: #BCBCBC;
  color: #00F;
/*  transform:scale(1.10);
  padding-left:10px;  */
}

.close {
	background: #606061;
	color: #FFFFFF;
	line-height: 25px;
  z-index:9999;
/* 	position: absolute; */
	text-align: center;
	top: -20px;
  left:-12px;
	width: 24px;
	text-decoration: none;
	font-weight: bold;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	-moz-box-shadow: 1px 1px 3px #000;
	-webkit-box-shadow: 1px 1px 3px #000;
	box-shadow: 1px 1px 3px #000;
}
.close:hover { background: #00d9ff; }
.tabicon {width:35px;}
.tabuid {width:135px;}
.tabfname {width:160px;}

ul.tabyouth {
    list-style-type: none;
    display:inline-block;
    margin: 0;
    padding: 0;
/*     overflow: hidden; */
    border: 0px solid #68c;
	  background-color: #f1f1f1;
}

/* Float the list items side by side */
ul.tabyouth li {float: left;}

/* Style the links inside the list items */
ul.tabyouth li a {
    display: inline-block;
    color: black;
    text-align: center;
    padding: 8px 28px 5px 28px;
    text-decoration: none;
    transition: 0.3s;
    font-size: 15px;
    border: 1px solid #68c;
	border-bottom: 1px;
    border-radius: 10px 10px 0px 0px;
		width:100px;

}

/* Change background color of links on hover */
ul.tabyouth li a:hover {
  background-color: #68c;
  box-shadow: 7px 7px 6px 0;
}

/* Create an active/current tablink class */
ul.tabyouth li a:focus, .active {
  background-color: #cfd2f1;
/*  box-shadow: 7px 7px 6px 0; */
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 3px 3px;
    border: 1px solid #ccc;
    border-top: none;
  background-color: #cfd2f1;
}
.spacer {
    float:right;
    border: 1px solid #68c;
    width: 100%;

}
button.accordian {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 4px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
}
button.accordian.active, button.accordian:hover {
    background-color: #ddd;
}
.accpanel {
    display: none;
    clear:left;
}

.resize-container {
    position: relative;
    display: inline-block;
    cursor: move;
    margin: 0 auto;
}

.resize-container img {
    display: block
}

.resize-container:hover img,
.resize-container:active img {
    outline: 2px dashed rgba(222,60,80,.9);
}
.resize-handle-ne,
.resize-handle-ne,
.resize-handle-se,
.resize-handle-nw,
.resize-handle-sw {
    position: absolute;
    display: block;
    width: 10px;
    height: 10px;
    background: rgba(222,60,80,.9);
    z-index: 999;
}

.resize-handle-nw {
    top: -5px;
    left: -5px;
    cursor: nw-resize;
}

.resize-handle-sw {
    bottom: -5px;
    left: -5px;
    cursor: sw-resize;
}

.resize-handle-ne {
    top: -5px;
    right: -5px;
    cursor: ne-resize;
}

.resize-handle-se {
    bottom: -5px;
    right: -5px;
    cursor: se-resize;
}
.content {
  display:none;
  position:absolute;
  z-index:998;
  top:80px;
  margin: 0 auto;
  text-align: center;
  width: 800px;
  background-color: #dad4d4;
  outline:1px solid #191970;
  -moz-box-shadow: 10px 10px 5px #888;
  -webkit-box-shadow: 10px 10px 5px #888;
  box-shadow: 10px 10px 5px #888;
}
.component {
  position:relative;
  background:url(../images/gridme.png) repeat center center;
  padding:4em;
  height:500px;
  border:3px solid #49708A;
  max-width:901px;
  overflow:hidden;
  margin:0 auto;
}
.overlay {
  position:absolute;
  left:50%;
  top:50%;
  margin-left:-100px;
  margin-top: -100px;
  z-index:1010;
  width:150px;
  height:160px;
  border:solid 2px rgba(222,60,80,.9);
  box-sizing:content-box;
  pointer-events:none;
}
.btn-crop {
  position:absolute;
  vertical-align:bottom;
  right:5px;
  bottom:5px;
  padding:6px 10px;
  z-index:1010;
  background-color: rgb(222,60,80);
  border:none;
  border-radius:5px;
  color:#fff;
}
.btn-canc {
  position:absolute;
  vertical-align:bottom;
  left:5px;
  bottom:5px;
  padding:6px 10px;
  z-index:1010;
  background-color: rgb(222,60,80);
  border:none;
  border-radius:5px;
  color:#fff;
}

#feedback { font-size: 1.4em; }
#selectable .ui-selecting { background: #FECA40;background-size:cover; }
#selectable .ui-selected { background: orange; background-size:85px 100px;  background-repeat: no-repeat; margin: 2px; padding: 2px; border-style:ridge; border-width:1px; border-color:red;color: white; }
#selectable { list-style-type: none; cursor:pointer; margin: 0; padding: 0; width: 800px; }
#selectable li { position:relative; margin: 3px; padding: 2px; float: left; background-size:95px 102px; background-repeat: no-repeat; width: 115px; height: 115px; font-size: 0.6em; line-height:1.7em;color:blue; text-align: center; border-width:0px; }
#selectable li span {background: rgb(150, 150, 150); background: rgba(150, 150, 150, 0.7); padding: 3px;  }
#selectable .picon {
  background-color:transparent;
  line-height:1px;
  float: right;
  margin-bottom:-10px;
}
#selectable .a img{
  top:20px;
  left:90px;
  z-index:10;
  position:absolute;
}
#selectable .b img{        // patrol / six
  top:45px;
  left:90px;
  z-index:20;
  position:absolute;
}
#selectable .c img{        // birthday
  top:70px;
  left:90px;
  z-index:30;
  position:absolute;
}
#selectable .d img{        // going up arrow
  top:95px;
  left:90px;
  z-index:40;
  position:absolute;
}
#selectable .e img{        // going up arrow
  top:120px;
  left:90px;
  z-index:50;
  position:absolute;
}
#selectable .f{        // current age
  top:100px;
  left:70px;
  z-index:50;
  position:absolute;
}


#selectable .picon img {
/*   height:21px;  */
  width:21px;
}
#selectable .Cubs {margin: 2px; padding: 1px; border-style:solid; border-width:2px; border-color:yellow;}
#selectable .Joeys {margin: 2px; padding: 1px; border-style:solid; border-width:2px; border-color:brown;}
#selectable .Scouts {margin: 2px; padding: 1px; border-style:solid; border-width:2px; border-color:green;}
#selectable .Venturers {margin: 2px; padding: 1px; border-style:solid; border-width:2px; border-color:maroon;}
#selectable .Rovers {margin: 2px; padding: 1px; border-style:solid; border-width:2px; border-color:darkred;}

#Bselectable .ui-selecting { background: #FECA40;background-size:cover; }
#Bselectable .ui-selected { background: orange; background-size:85px 100px;  background-repeat: no-repeat; margin: 2px; padding: 2px; border-style:ridge; border-width:1px; border-color:red;color: white; }
#Bselectable { list-style-type: none; cursor:pointer; margin: 0; padding: 0; width: 800px; }
#Bselectable li { margin: 3px; padding: 2px; float: left; background-size:95px 102px; background-repeat: no-repeat; width: 95px; height: 105px; font-size: 0.6em; line-height:1.7em;color:blue; text-align: center; border-width:0px; }
#Bselectable li span {background: rgb(150, 150, 150); background: rgba(150, 150, 150, 0.7); padding: 3px;  }
#Bselectable .nul {margin: 2px; border-style:solid; border-width:1px; border-color:grey;}
#Bselectable .dayz {margin: 2px; border-style:solid; border-width:1px; border-color:grey;}
#Bselectable .Cubs {margin: 2px; padding: 1px; border-style:solid; border-width:2px; border-color:yellow;}
#Bselectable .Joeys {margin: 2px; padding: 1px; border-style:solid; border-width:2px; border-color:brown;}
#Bselectable .Scouts {margin: 2px; padding: 1px; border-style:solid; border-width:2px; border-color:green;}
#Bselectable .Venturers {margin: 2px; padding: 1px; border-style:solid; border-width:2px; border-color:maroon;}
#Bselectable .Rovers {margin: 2px; padding: 1px; border-style:solid; border-width:2px; border-color:darkred;}

.webcam {
  max-width: 800px;
    position:absolute;
    background-color: #dad4d4;
    border:2px solid black;
    width:100%;
    padding:10px;
    top:110px;
    left:20%;
    z-index:1000;
    margin: 10px auto;
    text-align: left;
    color:black;
    border-radius:20px;
    box-shadow: 7px 7px 6px;
}
.webcam video#camera-stream{
    display: none;
    width: 100%;
}
.webcam img#snap{
    position: absolute;
    top: 35px;
    left: 10px;
    width: 97%;
    z-index: 10;
    display: none;
}

.webcam #error-message{
    width: 100%;
    background-color: #ccc;
    color: #9b9b9b;
    font-size: 28px;
    padding: 200px 100px;
    text-align: center;
    display: none;
}

.webcam .controls{
    position: absolute;
    top: 0;
    left: 0;
    width: 95%;
    height: 95%;
    z-index: 20;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 30px;
    display: none;
}

.webcam .controls a{
    border-radius: 50%;
    color: #fff;
    background-color: #111;
    text-decoration: none;
    padding: 15px;
    line-height: 0;
    opacity: 0.7;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.webcam .controls a:hover{opacity: 1;}
.webcam .controls a.disabled{
    background-color: #555;
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}
.webcam .controls a.disabled:hover{opacity: 0.5;}
.webcam .controls a i{font-size: 18px;}
.webcam .controls #take-photo i{font-size: 32px;}
.webcam canvas{display: none;}
.webcam video#camera-stream.visible,
.webcam img#snap.visible,
.webcam #error-message.visible {display: block;}
.webcam .controls.visible{display: flex;}

@media(max-width: 900px){
    .container{margin: 40px;}
    .webcam #start-camera.visible{display: block;}
    .webcam .controls a i{font-size: 16px;}
    .webcam .controls #take-photo i{font-size: 24px;}
}

@media(max-width: 600px){
    .container{margin: 10px;}
    .webcam #error-message{
        padding: 80px 50px;
        font-size: 18px;
    }
    .webcam .controls a i{font-size: 12px;}
    .webcam .controls #take-photo i{font-size: 18px;}
}
.BAge {color:darkred;font-size:15px;}
.BMonth {color:brightblue;font-size:15px;}
#patroltable {}

.awards{
  width:900px;
  margin:auto;
}

.award_main {
  text-align: justify;
  text-justify: inter-word;
  float:right;
  width:78%;
  border:1px solid red;
  padding:5px;
}
.award_common {
  text-align: justify;
  text-justify: inter-word;
  float:right;
  width:79%;
  border:1px solid blue;
}

.side_bar {
/*    border: 1px solid #07839f;  */
  height:100%;
  width:20%;
  float:left;
  padding:5px 2px;
}
.badge_menu, .cub_achieve, .scout_target, .vent_award {
  list-style: none;
  padding: 0;
  margin: 0;
}
.badge_menu a{
  display: block;
  background-color: #CCC;
  text-decoration: none;
  padding: 10px;
  color: #000;
}
.badge_menu a:hover {
  background-color: #b5a5b5;
}
.badge_menu li:hover .cub_achieve {
  display: block;
  max-height: 200px;
}
.badge_menu li:hover .scout_target {
  display: block;
  max-height: 200px;
}
.badge_menu li:hover .vent_award {
  display: block;
  max-height: 200px;
}
.joey_badge a{
   background-color:red;
}
.joey_badge a:hover{
   background-color: #666;
}
.cub_achieve a {
   background-color: yellow;
}
.cub_achieve a:hover {
  background-color: #666;
}
.cub_achieve1 a {
  font-size:0.8em;
  color:white;
   background-color: #63600b;
}
.cub_achieve1 a:hover {
  background-color: #444;
}
.scout_target a {
   background-color: green;
}
.scout_target a:hover {
  background-color: #666;
}
.scout_target1 a {
  font-size:0.8em;
  color:white;
   background-color: #294925;
}
.scout_target1 a:hover {
  background-color: #444;
}
.vent_award a {
   background-color: DarkOrchid;
}
.vent_award a:hover {
  background-color: #666;
}
.vent_award1 a {
  font-size:0.8em;
   background-color: #401356;
   color:white;
}
.vent_award1 a:hover {
  background-color: #444;
}
.rover_award a {
   background-color: darkred;
}
.rover_award a:hover {
  background-color: #666;
}
.badge_group {
  float:left;
  margin-left:5px;
  text-align:center;
}
.badge_group2 {
  margin:8px;
  float:left;
  text-align:center;
}
.badge_group3 {
  margin:6px;
  float:left;
  font-size: smaller;
  text-align:center;
}
.centered_form2 {
	border:3px solid black;
	padding:10px;
	margin: 10px auto 10px auto;
	width: 600px;
	text-align: left;
	left:25%;
	color:black;
	border-radius:20px;
	box-shadow: 7px 7px 6px 0;
	position:fixed;
	background-color: #dad4d4;
	z-index:1500;
	padding:10px;
	top:120px;
	display:none;
}
/* Center the loader */
#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* Add animation to "page content" */
.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s
}

@-webkit-keyframes animatebottom {
  from { bottom:-100px; opacity:0 } 
  to { bottom:0px; opacity:1 }
}

@keyframes animatebottom { 
  from{ bottom:-100px; opacity:0 } 
  to{ bottom:0; opacity:1 }
}

#myDiv {
  display: none;
  text-align: center;
}
.charge_table{
	margin:auto;
	border:3px solid #a1a1a1;
	padding:9px 35px;
	background:#22cc22;
	width: fit-content;
	max-width: 95%;
	border-radius:20px;
	box-shadow: 7px 7px 6px 0;
	position: relative;
}
