* {
	/* With these codes padding and border does not increase it's width and gives intuitive style.*/
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body {
	margin:0;
	padding:0;
	font-family: 'Roboto',Helvetica,Arial,Lucida,sans-serif;
	font-size: 14px;
    color: #666;
    background-color: #fff;
    font-weight: 500;
}

div#envelope{
	/*width: 70%;*/
	margin: 1% 12.5% 180px 12.5%;
	padding:1% 0;
}

form{
	margin: 5%;
}

header{
	background-color: #4180C5;
	text-align: center;
	padding-top: 12px;
	padding-bottom: 8px;
	margin-top: -11px;
	margin-bottom: -8px;
	border-radius: 10px 10px 0 0;
}

hr{
	width: 10%;
    border-width: 0;
    height: 2px;
	background-color: #e2214b!important;
}

h2{
	font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    color: #333;
}


label{
	font-size: 15px;
    color: #666;
    font-weight: 600;
}

/* Makes responsive fields. Sets size and field alignment.*/
input, select{
	background-color: #eee!important;
    border: none!important;
    width: 100%!important;
    font-size: 14px;
    color: #333!important;
    padding: 16px!important;
	margin-bottom: 1%;
}

input[type=submit]{
	color: #FFF!important;
	background: #e2214b!important;
	border: none!important;
	width: 100%;
	text-transform: uppercase;
    font-size: 20px;
    padding: 10px 20px;
    -webkit-font-smoothing: antialiased;
    transition: all 0.2s;
}

#submit:hover{
}

textarea{
	width:100%;
	padding: 15px;
	margin-top: 10px;
	border:1px solid #7ac9b7;
	border-radius:5px;
	margin-bottom: 20px;
	resize:none;
}
input[type=text]:focus,textarea:focus {
	border-color: #fff;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th, td {
  text-align: left;
  padding: 8px;
}

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

th {
  background-color: #4CAF50;
  color: white;
}

div#table_container{
	display: grid;  
	text-align: center;
	display: grid;
	grid-gap: 2%;
	grid-template-columns: repeat(auto-fit, 48%);
	grid-template-rows: repeat(2, auto-fit);
}

div#table_pacemakers{
}

div#table_staff{
}

.alert {
  padding: 1%;
  background-color: #ff9800;
  color: white;
  font-size:16px;
  top: 0;
  position: absolute;
  width: 100%;
}

.closebtn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.closebtn:hover {
  color: black;
}

/*__________FOOTER____________*/

div#envelope_footer{
	margin: 0 12.5% 0 12.5%;
	/*padding:5px 0;*/
}

div#table_container_footer{
	height: 90px;
	display: grid;  
	text-align: center;
	display: grid;
	grid-template-columns: repeat(auto-fit, 33%);
	grid-template-rows: repeat(2, auto);
}

div#grid_item{
	position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer {
   position: fixed;
   left: 0;
   bottom: 0;
   height: 90px;
   width: 100%;
   background-color: #eee;
   color: #000;
   text-align: center;
}

#logo_footer{
	width: auto;
    height: 40px;
}

h5{
    text-align: center;
    color: #666;
	font-size: 10px;
	font-weight: 400;
}
