/*-----------------------------------------------*/
/*Set Global styles*/
body {
  font: 15px/1.5 Arial, Helvetica, sans-serif;
  padding: 0;
  margin: 0;
  background-color: #f4f4f4;
}

/*Subscription*/
.container {
  width: 80%;
  margin: auto;
  overflow: hidden;
}

ul {
  margin: 0;
  padding: 0;
}

.button_1 {
  height: 38px;
  background: #e8491d;
  border: 0;
  padding-left: 20px;
  padding-right: 20px;
  color: #ffffff;
}

.dark {
  padding: 15px;
  background: #35424a;
  color: #ffffff;
  margin-top: 10px;
  margin-bottom: 10px;
}


/*-----------------------------------------------*/
/* Set styles for Header section **/
header {
  background:#35424a;
  color:#ffffff;
  padding-top:30px;
  min-height:70px;
  border-bottom:#e8491d 3px solid;
}

header a {
  color:#ffffff;
  text-decoration:none;
  text-transform: uppercase;
  font-size:16px;
}

header li {
  float:left;
  display:inline;
  padding: 0 20px 0 20px;
}

header #web_title {
  float:left;
}

header #web_title h1 {
  margin:0;
}


/*--------------------------*/
/*CURTAIN MENU*/
/*Nav Bar Styles*/
.menu-area {
  background:white;
  color:#ffffff;
  padding-top:3px;
  min-height:70px;
  border-bottom:#e8491d 3px solid;
}

nav {
	 min-height: 5vh;
	 background:white;
	
	/*Centralization*/
	display: flex;
	justify-content: left;
	align-items: center;
}

nav ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: visible;
	
	display: inline-block;
}

nav ul li {
	display: inline-block;
	font-family: 'Oswald', sans-serif;
	font-size: 18px;

	/*dropdown menu*/
	position: relative;
}

nav ul li a {
	display: block;
	color: black;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;  
	
	text-transform: uppercase;
	font-weight: bold;
}

.active {
	background: #e8491d;
}

nav ul li a:hover:not(.active) {
	background-color: gray;
}

/*Curtain Menu*/

.curtain-icon {
	font-size:30px; 
	cursor:pointer; 
	margin-right: 30px; 
	padding: 10px; 
	background: #e8491d;"
}


.overlay {
  height: 100%;
  width: 100%;
  display: none;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0, 0.9);
  
  overflow-x: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
  color: #f1f1f1;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

.overlay a {
	font-size: 20px
}
.overlay .closebtn {
	font-size: 40px;
	top: 15px;
	right: 35px;
}






/*-----------------------------------------------*/
/* Set styles for Showcase section */
#showcase {
  min-height:400px;
  background:url('../img/showcase.jpg') no-repeat 0 -400px;
  text-align:center;
  color:#ffffff;
}

#showcase h1 {
  margin-top:100px;
  font-size:55px;
  margin-bottom:10px;
}

#showcase p {
  font-size:20px;
}


/*-----------------------------------------------*/
/* Set styles for Newsletter */
#newsletter {
  padding:15px;
  color:#ffffff;
  background:#35424a
}

#newsletter h1 {
  float:left;
}

#newsletter form {
  float:right;
  margin-top:15px;
}

#newsletter input[type="email"] {
  padding:4px;
  height:25px;
  width:250px;
}


/*-----------------------------------------------*/
/*Set styles for Boxes */
#boxes {
  margin-top: 20px;
}

#boxes .box {
  float: left;
  text-align: center;
  width:30%;
  padding:10px;
}

#boxes .box img {
  width: 80%;/*90px*/
  /*height: 300px;*/
}


/*-----------------------------------------------*/
/*Set styles for Sidebar */
aside #sidebar {
  float: right;
  width: 30%;
  margin-top: 10px;
}

aside #sidebar .send_question input, aside#sidebar .send_question textarea {
  width:90%;
  padding:5px;
}


/*-----------------------------------------------*/
/*Set styles for main-col of article area */
article #main-col {
  float:left;
  width:65%;
}

/*-----------------------------------------------*/
/*Set styles for topics */
ul #topics li{
  list-style: none;
  padding:20px;
  border: #cccccc solid 1px;
  margin-bottom:5px;
  background:#e6e6e6;
}



/*-----------------------------------------------*/
/*Set styles for table */
table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

td, th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

tr:nth-child(even) {
  background-color: #dddddd;
}





/*-------------------------------------------------*/
/*BLOG PAGE*/
/*main area: 3 articles*/
.blog-page-main {
	float: left; 
	width: 65%; 
}

.blog-article-style {
	background: #d8ddd1;
}

.blog-page-main .my-blog {
	margin-left: 16px;
}

.blog-page-main .my-blog article {
	padding: 8px;
	margin-top: 16px;
}

.blog-page-main .my-blog article h2 {
	text-align: left;
}

.blog-page-main .my-blog article small {
	font-size: 1.0em;
	font-style: italic;
}

.blog-page-main .my-blog article p {
	text-justify: center;
	margin-top: 8px;
}

.blog-page-main .my-blog article ul, main .my-blog article ol {
	text-justify: center;
	margin-left: 48px;
}

.blog-page-main .my-blog article blockquote {
	margin-left: 36px;
	border-left: 2px solid #327800; 
	padding-left: 10px; 
}

/*------*/
/*Sidebar style*/
#blog-sidebar {
	float: right; 
	width: 25%; 
	background: #d8ddd1;
	padding: 25px 3%; 
}

#blog-sidebar .sidebar-section {
	margin-bottom: 32px;	
}

#blog-sidebar .sidebar-section p {
	font-size: 1.0em; 
	color: #00008B;
	padding-left: 16px;
}

#blog-sidebar .sidebar-section a {
	font-size: 1.0em; 
	color: #0000FF;
}

#blog-sidebar .sidebar-section ul {
	padding-left: 32px;
}










/*-----------------------------------------------*/
/*Set styles for footer section */
footer {
  padding:20px;
  margin-top:20px;
  color:#ffffff;
  background-color:#e8491d;
  text-align: center;
}


/*-----------------------------------------------*/
/* Set the front-end responsive: Media Queries */
@media(max-width: 768px){
  header #web_title,
  header nav,
  header nav li,
  #newsletter h1,
  #newsletter form,
  #boxes .box,
  article #main-col,
  aside #sidebar {
    float: none;
    text-align: center;
    width: 100%;
  }

  header{
    padding-bottom: 20px;
  }

  #showcase h1{
    margin-top: 40px;
  }

  #newsletter button, .send_question button{
    display: block;
    width: 100%;
  }

  #newsletter form input[type="email"], .send_question input, .send_question textarea {
    width: 100%;
    margin-bottom: 5px;
  }
  
    /*Blog page: Make the sidebar sit beneath the main section*/
	.blog-page-main {
		display: block;
		width: 95%; 
	} 

	#blog-sidebar {
		display: block;
		width: 95%; 
		background: #d8ddd1;
		padding: 25px 3%; 
		margin-top: 1em;
	}
  
  /*HIDE HORIZONTAL MENU ON SMALL SCREEN*/
	nav ul {
		display: none;
	}
  
}
