@charset "utf-8";
/* CSS Document */

* {
	margin: 0px;
	padding: 0px;
}

a {
  text-decoration: none;
}
.wrapper-m {
  margin: 5px;
	display: grid;
	grid-gap: .5em;
  grid-template-areas: "header" "nav" "main" "foot";
  grid-template-column: 1fr;
}

/* Header Formating */
header {
  grid-area: header;
  background-image:url(../images/template%20images/header-img.jpg);
  background-repeat: no-repeat;
  background-position: right;
  height: 150px;
  float: none;
  border-radius: 5px;
}
.headertext {
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 2.5em;
	font-weight: bolder;
	color: rgb(206,17,39);
	text-align: left;
	vertical-align: middle;
	margin-top: 50px;
	width: 90%;
	float: right;
	text-shadow: 5px 10px 8px #333333;
}
.headertext1 {
	font-size: 0.75em;
	font-style: italic;
	color: #FFFFFF;
}

/* NAV Formating */
nav {
  grid-area: nav;
  font-family: Montserrat, sans-serif;
  background-color: #37A8AE; /* menu bar background color */
  border-radius: 5px;
  width: 100%;
  height: 60px;
}
.nav-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

/* formating for the back button */
.nav-back {
  padding-left: 10px;
}
.nav-back a {
  display: block;
  width: 120px;
  height: 35px;
  padding-left:0;
  margin-top: 15px;
  text-align: center;
  font-size: 14px;
  background-color: #EEC591;
  color: black;
  border-radius: 5px;
  cursor: pointer;
}
.nav-back a:hover {
  background-color: #ccc;
}
/* NAV - Signin Form - Formating */
.nav-login {
}
.nav-login  form {
   float: left;
   padding-top: 15px;
}
.nav-login  form input {
    float: left;
    width: 140px;
    height: 30px;
    padding: 0px 10px;
    margin-right: 10px;
    border: none;
    background-color: #ccc;
    font-style: arial;
    font-size: 14px;
    color: #111;
    line-height: 30px;
}
.nav-login form button {
    float: left;
    width: 60px;
    height: 30px;
    margin-right: 10px;
    border: none;
    background-color: #EEC591;
    font-style: arial;
    font-size: 14px;
    color: black;
    border-radius: 5px;
    cursor: pointer;
}
.nav-login  form button:hover {
    background-color: #ccc;
}
.err {
	float: left;
	width: 140px;
	height: 30px;
	padding: 0px 10px;
	margin-right: 10px;
	margin-top: 15px;
	border: none;
	background-color: #fff;
	font-size: 14px;
	color: red;
	line-height: 30px;

}

/* NAV - Signup - Formating */
.nav-signup {

}
.nav-signup a {
    display: block;
    width: 120px;
    height: 30px;
    margin: 15px;
    border: none;
    float: left;
    background-color: #EEC591;
    text-align: center;
    font-style: arial;
    font-size: 16px;
    color: black;
    border-radius: 5px;
    line-height: 30px;
    cursor: pointer;
}
.nav-signup a:hover {
    background-color: #ccc;
}
/* mobile Layout: less than 481px */

@media only screen and (max-width: 480px) {
  nav {
    height: 120px;
  }
  .nav-wrapper {
      flex-direction: row;
      flex-wrap: wrap;
      padding-left: 10px;
  }

  .nav-back {
    padding-left: 5px;
    order: 1;
  }
  .nav-back a {
    display: block;
    width: 75px;
    height: 35px;
    font-size: 12px;
  }
  .nav-login {
    order: 2;
  }
  .nav-login  form input {
      float: left;
      width: 75px;
      margin-right: 10px;
      font-size: 12px;
  }
  .nav-login form button {
      width: 40px;
      height: 30px;
      margin-right: 10px;
      font-size: 12px;
      color: black;
      border-radius: 5px;
      cursor: pointer;
  }
  .nav-signup {
    order: 3;
  }
  .nav-signup a {
      width: 75px;
      height: 30px;
      margin: 15px;
      font-style: arial;
      font-size: 12px;
      line-height: 30px;
  }

}

/* Text on page before login */
	.ban {
		margin-top: 20px;
		margin-left: 20px;
	}

/* Tablet Layout: 481px to 768px. Inherits styles from: Mobile Layout. */

@media only screen and (min-width: 481px) and (max-width: 768px) {
  .nav-back {
    padding-left: 5px;
  }
  .nav-back a {
    display: block;
    width: 100px;
    height: 35px;
    font-size: 12px;
  }
  .nav-login  form input {
      float: left;
      width: 100px;
      margin-right: 10px;
      font-size: 12px;
  }
  .nav-login form button {
      width: 40px;
      height: 30px;
      margin-right: 10px;
      font-size: 12px;
      color: black;
      border-radius: 5px;
      cursor: pointer;
  }
  .nav-signup a {
      width: 100px;
      height: 30px;
      margin: 15px;
      font-style: arial;
      font-size: 12px;
      line-height: 30px;
  }

}

/* Main Area Formating */

.main-container {
  grid-area: main;
  background-color: lightblue;
	border-radius: 10px;
}
.main-container h2 {
    font-style: arial;
    font-size: 40px;
    color: #111;
    line-height: 50px;
    text-align: center;
}

/* Notice-Create - Table */
.notice-form {
	width: 100%;
}
.notice-table {
	width: 100%;
  margin: 15px;
	margin-left: 10%;
  padding-top: 0;
}
.notice-table table {
	width: 80%;
	border: 2px solid red;
	padding: 5px;
}
.notice-table table thead {
	background-color: tan;
	border-radius: 5px;
	box-shadow: 7px 7px #999;
}
.notice-table table thead p {
	margin-bottom: 15px;
	font-size: 20px;
}
.notice-table input {
    width: 80%;
		font-size: 16px;
    float: right;
		padding-top: 10px;
		padding-bottom: 10px;
		margin-top: 10px;
		margin-bottom: 10px;
}
.notice-table select {
    width: 80%;
		font-size: 16px;
    float: right;
		padding-top: 10px;
		padding-bottom: 10px;
		margin-top: 10px;
		margin-bottom: 10px;
}
.p-select {
		margin-left: 10px;
		background-color: #EEE9BF;
		text-align: left;
		width: 80%;
		font-size: 16px;
    float: right;
		padding: 10px 0 10px 0;
		margin-top: 10px;
		margin-bottom: 10px;
}
.notice-table textarea {
  width: 80%;
	font-size: 16px;
  float: right;
	padding: 5px 5px 5px 0;
  margin-bottom: 25px;
}
.rec-nav {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
}
.rec-nav-b0 {
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	background-color: tan;
}
.rec-nav-b1 {
	display: inline-block;
	padding: 5px 5px;
}
.rec-nav-b {
	margin: 5px;
	text-align: center;
}
.rec-nav-b1 p {
	display: inline-block;
  padding: 10px 10px;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  outline: none;
  color: #fff;
  background-color: #4CAF50;
  border: 1px solid black;
  border-radius: 5px;
  box-shadow: 7px 7px #999;
	cursor: pointer;
}
.rec-nav-b1 p:hover {background-color: #3e8e41;}

.rec-nav-b1 p:active {
  background-color: #3e8e41;
  box-shadow: 5px 5px #666;
  transform: translateY(4px);
}


/* Notice-Create - Form */

.notice-form {
  width: 75%;
  margin: 15px;
  padding-top: 0;
}

.notice-form fieldset {
    border: 2px solid black;
    padding: 15px;
    margin: 15px;
}
.notice-form legend {
    font-size: 20px;
    text-align: center;
}
.notice-form label {
    width: 20%;
    text-align: left;
    height: 30px;
    border: none;
    font-size: 16px;
    color: black;
}

.notice-form input {
    width: 80%;
    float: right;
}

.notice-form select {
    width: 80%;
    float: right;
}
.notice-form fieldset p {
    clear: both;
    padding: 5px;
}
.notice-form fieldset button {
    float: right;
    margin-bottom: 25px;
}
.notice-form textarea {
  width: 80%;
  float: right;
  margin-bottom: 25px;
}
/* mobile Layout: less than 481px */

@media only screen and (max-width: 480px) {
  .notice-form {
    width: 98%;
    margin: 5px;
    padding-top: 0;
  }
  .notice-form fieldset {
      border: 2px solid black;
  }
  .main-container h2 {
      font-size: 20px;
      line-height: 25px;
}
.main-container h3 {
    font-size: 16px;
    line-height: 20px;
}
}
/* Tablet Layout: 481px to 768px. Inherits styles from: Mobile Layout. */

@media only screen and (min-width: 481px) and (max-width: 768px) {
  .notice-form {
    width: 95%;
    margin: 5px;
    padding-top: 0;
  }
  .notice-form fieldset {
      padding: 10px;
      margin: 10px;
  }
  .notice-form input {
      width: 50%;
      height: 20px;
      margin-bottom: 4px;
      padding: 0px 5%;
      font-size: 12px;
  }
  .main-container h2 {
      font-size: 25px;
      line-height: 30px;
}
  .main-container h3 {
    font-size: 16px;
    line-height: 20px;
}

}

/* Signup.php */

.signup-form {
    width: 75%;
    margin: 15px;
    padding-top: 0;
  }
.signup-form fieldset {
    padding: 15px;
    margin: 15px;
}
.signup-form legend {
    font-weight: bold;
}
.signup-form p {
    margin: 10px 20px;
}
.signup-form label {
    width: 20%;
    text-align: left;
    height: 30px;
    border: none;
    font-size: 16px;
    color: black;
}
.signup-form input {
    width: 60%;
    float: right;
    height: 25px;
    margin-bottom: 4px;
    padding: 0px 5%;
    border: none;
    background-color: #fff;
    font-style: arial;
    font-size: 16px;
    color: #111;
    }
 .signup-form button {
    display: block;
    float: right;
    margin: 20px 30px 20px 0;
    width: 30%;
    height: 20px;
    border: none;
    background-color: #EEC591;
    font-size: 14px;
    color: black;
    border-radius: 5px;
    cursor: pointer;
  }
  .signup-form button:hover {
    background-color: #ccc;
  }
	.err1 p {
		float: left;
		width: 300px;
		height: 30px;
		padding: 0px 10px;
		margin-right: 10px;
		margin-top: 15px;
		border: none;
		background-color: #fff;
		font-size: 14px;
		color: red;
		line-height: 30px;
	}

  /* mobile Layout: less than 481px */
  @media only screen and (max-width: 480px) {
    .main-container h2 {
        font-size: 20px;
        line-height: 25px;
    }
    .signup-form {
        width: 98%;
        margin: 5px;
      }
    .signup-form fieldset {
        padding: 5px;
        margin: 5px;
    }
    .signup-form p {
      margin-right: 5px;
      margin-left: 5px;
    }
    .signup-form input {
        width: 50%;
        height: 16px;
        margin-bottom: 4px;
        padding: 0px 2%;
        font-size: 12px;
        }

  }

  /* Tablet Layout: 481px to 768px. Inherits styles from: Mobile Layout. */
  @media only screen and (min-width: 481px) and (max-width: 768px) {
    .main-container h2 {
        font-size: 25px;
        line-height: 30px;
    }
    .signup-form {
        width: 95%;
        margin: 5px;
      }
    .signup-form fieldset {
        padding: 10px;
        margin: 10px;
    }
    .signup-form input {
        width: 50%;
        height: 20px;
        margin-bottom: 4px;
        padding: 0px 5%;
        font-size: 12px;
        }
  }

	/* FOOTER - Formating*/

	footer {
		display: block;
		background-color: #68A8D2;
		color: #ffc;
		font-size: 90%;
		background-image: url(../images/template%20images/background.png);
		background-repeat: repeat-x;
		height: 4em;
	  border-radius: 10px;
	}
	footer p {
		grid-area: foot;
		padding-left: 25px;
	  padding-top: 15px;
	}
