html, body {
    margin: 0;
    padding: 0;
    background-color: #ECEAE3;
    width: 100%;
    font-family: "Lato", sans-serif;
}

.topnav {
    background-color: #157A6E;
    overflow: hidden;
    padding-right: 8%;
    padding-left: 8%;
}

.topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 20px 20px;
    text-decoration: none;
    font-size: 18px;
}

/* logo */

.topnav #logo {
    font-size: 30px;
    text-decoration: underline
}

.topnav button {
    background-color: #157A6E;
    color: white;
    border: 2px solid white;
}

.topnav button:hover {
    background-color: white;
    color: #157A6E;
}

/* Header 1 h1 size at index page */

.logo {
    font-size: 50px;
}

.right {
    float: right;
}

.index-decor {
    background-color: #ECEAE3;
    height: 500px;
    background-position: center;
    /* background-repeat: no-repeat; */
    /* background-size: cover; */
    position: relative;
}

.index-text {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #157A6E;
}

button {
    background-color: #157A6E;
    border: none;
    color: white;
    padding: 16px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
}

.button-outline {
    background-color: white;
    color: black;
    border: 2px solid #157A6E;
}

.button-outline:hover {
    background-color: #157A6E;
    color: white;
}

/* ################## Login & SIgnup ################################ */
.button-login{
    background-color: #157A6E;
    border: none;
    color: white;
    padding: 16px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
}

.container {
    /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
    margin: auto;
    width: 50%;
    margin-top: 8%;
    /* border-radius: 25px; */
    background-color: white;
    text-align: center;
    font-size: 18px;
    color: #157A6E;
}

.container form {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

label{
    color: red; 
    font-size: 15px;
}

.form_label{
    color: black !important;
}

.container input[type="text"], .container input[type="password"], .container input[type="email"] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* ################## sign up ################################ */

.signup {
    /* overwrite some styles in container class */
    margin-top: 2%;
    font-size: 18px !important;
    text-align: center
}

.signup input[type="text"], .signup input[type="email"], .signup input[type="password"] {
    padding: 10px 10px;
    min-width: 300px;
}

/* ################## create flag################################ */

.formcontainer {
    width: 60%;
    /* border: 3px solid #73AD21; */
    /* padding: 10px; */
    margin: auto;
}

.formcontainer input[type=text], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
}

.col-25 {
    float: left;
    width: 25%;
    margin-top: 6px;
}

.col-75 {
    float: left;
    width: 75%;
    margin-top: 6px;
}

/* sdfghjkl;; */

.formclass li {
    padding: 0;
    display: block;
    list-style: none;
    margin: 10px 0 0 0;
}

.formclass label {
    margin: 0 0 3px 0;
    padding: 0px;
    display: block;
    font-weight: bold;
}

.formclass input[type=text], .formclass input[type=date], .formclass input[type=datetime], .formclass input[type=number], .formclass input[type=search], .formclass input[type=time], .formclass input[type=url], .formclass input[type=email], textarea, select {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    border: 1px solid #BEBEBE;
    padding: 7px;
    margin: 0px;
    -webkit-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    -ms-transition: all 0.30s ease-in-out;
    -o-transition: all 0.30s ease-in-out;
    outline: none;
}

.formclass input[type=text]:focus, .formclass input[type=date]:focus, .formclass input[type=datetime]:focus, .formclass input[type=number]:focus, .formclass input[type=search]:focus, .formclass input[type=time]:focus, .formclass input[type=url]:focus, .formclass input[type=email]:focus, .formclass textarea:focus, .formclass select:focus {
    -moz-box-shadow: 0 0 8px #88D5E9;
    -webkit-box-shadow: 0 0 8px #88D5E9;
    box-shadow: 0 0 8px #88D5E9;
    border: 1px solid #88D5E9;
}

.formclass .flags-inputs {
    width: 100%;
}

.formclass .field-select {
    width: 100%;
    min-width: 100px;;
}

.formclass .field-textarea {
    height: 100px;
}

.formclass input[type=submit], .formclass input[type=button] {
    background: #4B99AD;
    padding: 8px 15px 8px 15px;
    border: none;
    color: #fff;
}

.formclass input[type=submit]:hover, .formclass input[type=button]:hover {
    background: #4691A4;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

/* .formclass .required{
	color:red;
} */

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: rgb(202, 202, 202);
    color: black;
    text-align: center;
}

/* ######################user home page################## */

.homeh3andcontainer {
    margin-left: 20%;
    margin-right: 20%;
    margin-bottom: 200px;
}

.grid-container {
    margin-top: 50px;
    display: grid;
    grid-template-columns: auto auto auto auto;
}

.grid-item {
    margin: 2px;
    min-height: 200px;
    /* font-size: 20px; */
    text-align: center;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin: 0 5px;
}

/* ############### list table##################### */

.tablesection {
    border-collapse: collapse;
    /* width: 100%; */
    margin: 0 auto;
}

td, th {
    /* border: 1px solid #dddddd; */
    text-align: left;
    padding: 8px;
}

td button {
    padding: 5px;
}

tr:nth-child(even) {
    background-color: #dddddd;
}

#searchflag {
    width: 90%;
    /* font-size: 16px; */
    padding: 8px 20px 8px 40px;
    border: 1px solid #ddd;
    /* margin-bottom: 12px; */
  }

  .statuschange{
      width: 100px;
  }
  .widdencell{
      width: 170px;
  }

  .image{
      width: 200px;
  }
  .image #profile{
    border-radius: 50%;
  }

  /* modal */
  /* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 60%;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.pointer_cursor{
    cursor: pointer;
}

#map {
    height: 400px;
    width: 500px;
  }
