body {
  /*background-color: #f7cb4d; /* Ayrshire Golf Blogspot colour */
  background-color: aliceblue;
  /* Ayrshire Golf Blogspot colour */
}

/* set cursor to pointer on all relevant elements */
a[href],
input[type='submit'],
input[type='image'],
label[for],
select,
button,
.pointer {
  cursor: pointer;
}

.fixright {
  position: fixed;
  top: 90px;
  right: 2px;
  font-size: 18px;
  cursor: pointer;
  /* background-color: lightgrey; */
  z-index: 10;
}

.fixleft {
  position: absolute;
  top: 90px;
  left: 10px;
  font-size: 18px;
  cursor: pointer;
  background-color: lightgrey;
  z-index: 10;
}

.seethru {
  opacity: 0.3;
}

.sidenav {
  height: 100%;
  /* 100% Full-height */
  width: 0;
  /* 0 width - change this with JavaScript */
  position: fixed;
  /* Stay in place */
  z-index: 30;
  /* Stay on top */
  top: 50px;
  /* Stay at the top */
  left: 0;
  max-height: 600px;
  border-color: black;
  border-width: 4px;
  background-color: bisque;
  /* light Blue*/
  overflow-x: hidden;
  /* Disable horizontal scroll */
  padding-top: 40px;
  /* Place content 30px from the top */
  transition: 0.2s;
  /* 0.5 second transition effect to slide in the sidenav */
}

/* The navigation menu links */
.sidenav a {
  padding: 6px 4px 4px 6px;
  text-decoration: none;
  font-size: 20px;
  color: blue;
  display: block;
  transition: 0.3s;
}

.sidenavr {
  height: 100%;
  /* 100% Full-height */
  width: 0;
  /* 0 width - change this with JavaScript */
  position: fixed;
  /* Stay in place */
  z-index: 25;
  /* Stay on top */
  top: 90px;
  /* Stay at the top */
  right: 0px;
  max-height: 300px;
  background-color: aliceblue;
  /* light Blue*/
  overflow-x: hidden;
  /* Disable horizontal scroll */
  padding-top: 40px;
  /* Place content 30px from the top */
  transition: 0.2s;
  /* 0.5 second transition effect to slide in the sidenav */
}

/* The navigation menu links */
.sidenavr a {
  padding: 6px 4px 4px 6px;
  text-decoration: none;
  font-size: 20px;
  color: blue;
  display: block;
  transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: saddlebrown;
  background-color: antiquewhite;
}

/* Position and style the close button (top right corner) */
.sidenav .close-btn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 30px;
  margin-left: 50px;
}

.sidenavr .close-btn {
  position: absolute;
  top: 0;
  left: 25px;
  font-size: 30px;
  margin-right: 50px;
}

.proxypanel {
  width: auto;
  /* 0 width - change this with JavaScript */
  /* Stay in place */
  /* position: fixed; */
  /* Stay on top */
  z-index: 25;
  /* Stay at the top */
  top: 25px;
  /* center align */
  text-align: center;

  opacity: 60%;
}

.proxydisplay {
  font-weight: 700;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidenav {
    padding-top: 15px;
  }

  .sidenav a {
    font-size: 18px;
  }
}

.sidenav hr {
  height: 4px;
  background-color: black !important;
}

/* Style the links inside the pill navigation menu */
.pill-nav a {
  display: inline-block;
  z-index: 25;
  position: fixed;
  /* Stay in place */
  top: 90px;
  color: black;
  text-align: center;
  padding: 6px;
  text-decoration: none;
  font-size: 20px;
  border-radius: 5px;
}

/* Change the color of links on mouse-over */
.pill-nav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add a color to the active/current link */
.pill-nav a.active {
  background-color: dodgerblue;
  color: white;
}

.mr5 {
  margin-right: 5px;
}

.mr10 {
  margin-right: 10px;
}

.mt5 {
  margin-top: 5px;
}

.mt10 {
  margin-top: 10px;
}

.mb5 {
  margin-bottom: 5px;
}

.mb10 {
  margin-bottom: 10px;
}

.ml5 {
  margin-left: 5px;
}

.ml10 {
  margin-left: 10px;
}

.center {
  text-align: center;
}

.info_panel {
  padding: 15px 15px 15px 15px;
  width: 90%;
  background-color: rgba(240, 236, 231, 0.8);
  position: relative;
  margin-left: 5%;
  margin-right: auto;
  border-radius: 10px;
  box-shadow: 0px 1px 5px #999;
  border: 3px solid lightslategrey;
  overflow: visible;
}

.edit_panel {
  margin-top: 10px;
  border: 3px solid lightslategrey;
  width: 60%;
  border-radius: 10px;
  margin-left: 20%;
  margin-right: auto;

}

.edit_panel button {
  margin: 5px;
}

.aadmin_panel {
  /* top: 40%; */
  padding: 5px 15px 15px 15px;
  width: 90%;
  background-color: lightyellow;
  position: relative;
  /* top:60%; */
  /* bottom: 5%; */
  /* display: block; */
  margin-top: 2%;
  margin-left: 5%;
  margin-right: auto;
  border-radius: 10px;
  box-shadow: 0px 1px 5px #999;
  border: 3px solid red;
  overflow: visible;
  /* margin: 10px 0px; */
}

.ccards_panel {
  /* top: 40%; */
  padding: 5px 15px 15px 15px;
  width: 90%;
  background-color: rgba(235, 214, 250, 0.8);
  position: relative;
  /* top:60%; */
  /* bottom: 5%; */
  /* display: block; */
  margin-top: 2%;
  margin-left: 5%;
  margin-right: auto;
  border-radius: 10px;
  box-shadow: 0px 1px 5px #999;
  border: 3px solid lightskyblue;
  overflow: visible;
  /* margin: 10px 0px; */
}


.splash {
  position: fixed;
  top: 50%;
  left: 50%;
  /* top: 0%; */
  /* left: 0%; */
  height: 95%;
  width: 90%;
  transform: translate(-50%, -50%);
  transition: all ease-in-out 600ms;
}

.compscards {
  width: 96%;
  margin-left: 2%;
  margin-right: auto;
}

.pointer {
  cursor: pointer;
}

.cardselected {
  background-color: yellow !important;
}

.w-10 {
  width: 10%;
}

.w-15 {
  width: 15%;
}

.carddate {
  font-size: small;
  font-weight: 300;
}

.cardheader {
  font-weight: 500;
  font-size: medium;
}

.card-btn hr {
  margin: 0rem;
}

.season {
  display: inline-block;
  width: auto;
}

.knav {
  background-color: lightgray;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px;
  /* Set the fixed height of the footer here */
  line-height: 60px;
  /* Vertically center the text there */
  background-color: lightgrey;
  text-align: center;
}

/* ************* CSS for compsmanage form ************* */
.compsmanage .ctitle {
  font-size: large;
  font-weight: 700;
}

.compsmanage input {
  text-align: center;
  font-size: large;
}

.compsmanage .fbig {
  font-size: large;
}

.compsmanage label {
  font-size: large;
}

.compsmanage .boxed {
  border-style: solid;
  border-color: blueviolet;
  border-width: 2px;
}

form .permissions {
  border-style: solid;
  border-color: blueviolet;
  border-width: 2px;
}

.formsub_panel {
  text-align: center;
  padding: 5px 15px 15px 15px;
  width: 90%;
  background-color: rgba(235, 214, 189, 0.8);
  position: relative;
  margin-top: 2%;
  margin-left: 5%;
  margin-right: auto;
  border-radius: 10px;
  box-shadow: 0px 1px 5px #999;
  border: 3px solid lightskyblue;
  overflow: visible;
}


.options_panel {
  padding: 5px 15px 15px 15px;
  width: 90%;
  background-color: rgba(235, 214, 189, 0.8);
  position: relative;
  margin-top: 2%;
  margin-left: 5%;
  margin-right: auto;
  border-radius: 10px;
  box-shadow: 0px 1px 5px #999;
  border: 3px solid lightskyblue;
  overflow: visible;
}

#messagepad {
  width: 90%;
  background-color: rgba(235, 214, 189, 0.8);
  margin-left: 5%;
  margin-right: auto;
}

#loginError {
  z-index: 1999;
}

/* ************* CSS for compsmanage form END ************* */

/* ************* CSS for register form ************* */
/* Full-width input fields NOT */
#fbmreg input[type="text"],
#fbmreg input[type="password"] {
  /* width: 80%; */
  font-size: large;
  padding: 0px;
  margin: 10px 0 10px 0;
  /* display: inline-block; */
  border: none;
  background: #f1f1f1;
}

/* Add a background color when the inputs get focus */
input[type="text"]:focus,
input[type="text"]:focus {
  background-color: #ddd;
  outline: none;
}

input:invalid {
  border: red solid 3px;
}

input:valid {
  border: blue solid 3px;
}

.input4 {
  width: 4em
}

.input5 {
  width: 5em
}

.input6 {
  width: 6em
}

.regevent {
  background-color: chartreuse;
}

/* Set a style for all buttons */
.fbmbutton {
  background-color: #04aa6d;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
  opacity: 0.9;
}

/* Extra styles for the cancel button */
.fbmcancelbtn {
  padding: 14px 20px;
  background-color: #f44336;
}

/* The Close Button (x) */
.fbmclose {
  position: absolute;
  right: 35px;
  top: 15px;
  font-size: 40px;
  font-weight: bold;
  color: #f1f1f1;
}

button:hover {
  opacity: 1;
}


/* Float cancel and signup buttons and add an equal width */
.fbmcancelbtn,
.fbmsignupbtn {
  float: left;
  width: 50%;
}

.fbmclose:hover,
.fbmclose:focus {
  color: #f44336;
  cursor: pointer;
}

/* Style the horizontal ruler */
.fbmhr {
  border: 1px solid #f1f1f1;
  margin-bottom: 25px;
}


/* Modal Content/Box */
.fbmmodal-content {
  background-color: #fefefe;
  margin: 5% auto 15% auto;
  /* 5% from the top, 15% from the bottom and centered */
  border: 1px solid #888;
  width: 80%;
  /* Could be more or less, depending on screen size */
}

/* Add padding to container elements */
.fbmcontainer {
  padding: 16px;
}

/* The Modal (background) */
.fbmmodalbg {
  /*display: none;*/
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: #474e5d;
  padding-top: 50px;
}

/* Clear floats */
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

/* Change styles for cancel button and signup button on extra small screens */
@media screen and (max-width: 300px) {

  .fbmcancelbtn,
  .fbmsignupbtn {
    width: 100%;
  }
}

/* ************* CSS for register form END ************* */

/* ************* CSS for mGolfer form ************* */
.advicenote {
  width: 90%;
  margin-left: 5%;
  background-color: lightcyan;
  border-radius: 3px;
  color: red;
  font-weight: 600;
}

.bolder {
  font-weight: 700;
}

.emphasis {
  font-weight: 700;
  font-size: large;
}

/*
 ********** CSS to support popupmenu component *********
*/
.popupmenu {
  position: absolute;
  z-index: 30;
  background-color: bisque;
  border: none;
  border-radius: 1rem;
}

/* ************* CSS for team pool area ************* */
.poolcols {
  width: 90%;
  margin-top: 10px;
  margin-left: 5%;
  margin-right: auto;
  background-color: beige;
}

.poolside {
  background-color: salmon;
}

.teamside {
  background-color: cadetblue;
}

#matchresults {
  cursor: pointer;
}

#mKtable {
  cursor: pointer;
}

#matchdates {
  cursor: pointer;
}

[name='userinfo'] {
  background-color: aqua;
}

.modalwide {
  width: 800px;
  min-height: 400px;
}

/* Thick red border */
hr.red1 {
  border: 1px solid red;
}

#inputError {
  font-size: large;
  font-weight: 500;
  border-color: black;
  border-width: 5px;
  z-index: 1999;
}

.nop {
  pointer-events: none;
}