@font-face{
Font-family: body;
src: url('fonts/BookAntiquaFont.ttf') format('truetype');
}


body{
	background-color:#fff;
	Font-family: body;
	line-height:1.6em;
	  margin: 1rem;
}

h2{
Font-family: body;
	color:#008000;
}

h4{
Font-family: body;
padding:8px;
color: rgb(0, 0, 0);
}

p{
Font-family: body;
	padding:8px;
	text-shadow: 1px 2px #E5E5E5;
}

hr{
	color:#BFBFBF;
	text-shadow: 1px 2px #D8D5D5;
}



.container{
	width:98%;
	margin:auto;
	overflow:hidden;
}

#main-header{
	background-color:#002f6c;
	text-align: center;
    font-size: 22px;

}

#navbar{
	
}

#navbar ul{
	padding: 0.1em;
	list-style: none;
}

#navbar li{
	display:inline;
}

#navbar a{
	color:#000;
	text-decoration: none;
	text-transform: uppercase;
	font-size:14px;
	padding-right:15px;
}

#showcase{
	background-image:url('src/ch.png');
	 background-repeat: no-repeat;
        background-size: cover;
        background-position: top;
	
	min-height:100%;
	text-align: center;
	overflow:hidden;
}

#log{
	background-position:center right;
	text-align: center;
	overflow:hidden;
}

#showcase h1{
	font-size:50px;
	line-height: 1.6em;
	padding-top:30px;
}

img{
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 88%;
	border-left: 3px solid blue;
	border-right: 3px solid green;

}

#main{
	float:left;
	width:49%;
	padding:0 10px;
	box-sizing: border-box;
	background-color:#F0F0F0;

}

#sidebar{
	float:right;
	width:49%;
	padding:0 10px;
	box-sizing: border-box;
	background-color:#F0F0F0;
}

#mainmen{
	float:left;
	width:49%;
	padding:0 10px;
	box-sizing: border-box;
}

#sidebarmen{
	float:right;
	width:49%;
	padding:0 10px;
	box-sizing: border-box;
}

#mainbook{
	float:left;
	width:29%;
	padding:0 10px;
	box-sizing: border-box;

}

#sidebarbook{
	float:right;
	width:69%;
	padding:0 10px;
	box-sizing: border-box;
}

#main-darkfill{
	background-color: rgba(224, 224, 224, 0.2);
	padding:0 10px;
	box-sizing: border-box;
	border-radius: 50px;

}

#main-whitefill{
	background-color: rgba(255, 255, 255, 0.2);
	color:#000;
	padding:0 10px;
	box-sizing: border-box;
	
		
}

#main-footer{
	background-color:#076237;
	color: rgb(255, 255, 255);
	text-align: center;
	padding:20px;
	margin-top:40px;
}

.tbl-qa{

width: 100%;
font-size:0.9em;
background-color: #f5f5f5;
}

.tbl-qa th.table-header {
padding: 5px;
text-align: left;
padding:10px;
}

.tbl-qa .table-row td {
padding:10px;
background-color: #FDFDFD;
vertical-align:top;
}

.button_link {
color:#FFF;
text-decoration:none;
 background-color:#428a8e;
 padding:10px;
 }

#keyword{
border: #CCC 1px solid;
 border-radius: 4px;
  padding: 7px;
  background:url("demo-search-icon.png") no-repeat center right 7px;
  }

.btn-page{
margin-right:10px;
padding:5px 10px;
 border: #CCC 1px solid;
  background:#FFF;
   border-radius:4px;
   cursor:pointer;
   }

.btn-page:hover{
background:#F0F0F0;
}

.btn-page.current{
background:#F0F0F0;
}

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.grid > div {
  height: 100%;
  background: #EDEDED;
}

/* The drop up Modal (background) */
.modal {
    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: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    -webkit-animation-name: fadeIn; /* Fade in the background */
    -webkit-animation-duration: 0.4s;
    animation-name: fadeIn;
    animation-duration: 0.4s
}

/* Modal Content */
.modal-content {
    position: fixed;
    bottom: 0;
    background-color: #fefefe;
    width: 100%;
    -webkit-animation-name: slideIn;
    -webkit-animation-duration: 0.4s;
    animation-name: slideIn;
    animation-duration: 0.4s
}

button
{
	    background-color: #7A7A7A;
	    color: #E5E5E5;
	    border-radius: 50px; 

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

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

.modal-header {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;

}

.modal-body {padding: 2px 16px;}

.modal-footer {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}

/* Add Animation */
@-webkit-keyframes slideIn {
    from {bottom: -300px; opacity: 0}
    to {bottom: 0; opacity: 1}
}

@keyframes slideIn {
    from {bottom: -300px; opacity: 0}
    to {bottom: 0; opacity: 1}
}

@-webkit-keyframes fadeIn {
    from {opacity: 0}
    to {opacity: 1}
}

@keyframes fadeIn {
    from {opacity: 0}
    to {opacity: 1}
}



@media(max-width:600px){


#navbar a{
	color:#000;
	text-decoration: none;
	text-transform: uppercase;
	font-size:9px;
	padding-right:15px;
}

	#main-header{
	background-color:#002f6c;
	font-size: 9px;
    }
	
	#main{
		width:100%;
		float:none;
	}

	#sidebar{
		width:100%;
		float:none;
	}
	
	#mainbook{
	float:left;
	width:100%;

}

#sidebarbook{
	float:right;
	width:100%;

}
}
