html {
	height:100%;
}

body {
	margin: 5%; padding: 0; 
	height:100%;
	background: #f1f1f1 url(../images/bodybg.gif) fixed top center;
	font-family: 'travelingtypewriter';
	font-size: 14px;
	color: #333;
}

.wrapper {
	max-width: 1200px;
    margin: 30px auto;
	border-radius: 30px 30px 0 0;
	box-shadow: 0px 20px 40px -10px rgba(0, 0, 0, 0.4);
	background: #f1f1f1 url(../images/paperbg.jpg);
}
a { 
	color: #a52a2a; 
	text-decoration: none;
}
a:hover { 
	color: #333; 
} 

p {	
	margin: 5px 10px 15px 0;
	line-height:140%;  
}

h1, h2, h3, h4, h5 {
	color: #a52a2a;
}

h1 {
	font-size: 22px;
	margin: 10px 0 10px 0;
}

h2 {	
	font-size: 20px;
	margin: 10px 0 10px 0;
}


h3 { 
	font-size: 18px;
	margin: 10px 0 10px 0;
}

h4 { 
	font-size: 16px;
	margin: 10px 0 10px 0;
}
h5 { 
	font-size: 14px; 
	margin: 10px 0 10px 0;
}

hr{
	border-top: 1px dashed #a8a6a3; 
}

.header { 
	width: 100%; 
	padding:5% 0 5% 0; 
	text-align:center; 
	font-size: 30px;
	font-weight: bold;
} 	
.header	a { 
	color: #333; 
	text-decoration: none;
}
.header a:hover { 
	color: #333; 

}
.header img  {
	max-width:90%; 
	opacity:0.3;
}
.header .header-logo {
	padding-bottom:10px;
	line-height:30px;  
}

input , textarea { 
	border: 1px solid #a8a6a3; 
	background: #fff; 
	color: #444; 
	font-family: 'travelingtypewriter';
	padding:2px; 
	width:auto; 
}

.grid {
  display: grid;
  gap: 10px;
	grid-template-columns: 70% 30%;
}
.main {
	padding: 0 15px 0 0;
}
.side {
	padding: 0 10px 0 25px;
	border-left: 1px dashed #a8a6a3;
}
.main,
.side {
  /*nix*/
}

@media(max-width: 800px){
  .grid {
	  grid-template-columns: 100%; 
  }
	.side {
	border-left: none;
		border-top: 1px dashed #a8a6a3;
		padding: 20px 0 0 0;
  }
	.main {
	padding: 0 0 10px 0;
  }
}

/* Back to Top */
#backtotop {
  display: inline-block;
  background-color: #909090;
  width: 30px;
  height: 30px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 5px;
  right: 5px;
  transition: background-color .5s, 
  opacity .5s, visibility .5s;
  opacity: 0.4;
  visibility: hidden;
  z-index: 1000;
}
#backtotop::after {
  content: "\f176";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 15px;
  line-height: 30px;
  color: #ffffff;
}
#backtotop:hover {
  cursor: pointer;
  background-color: #606060;
}
#backtotop:active {
  background-color: #909090;
}
#backtotop.show {
	opacity: 0.4;
  visibility: visible;
}
	
.footer { 
	width: 100%; 
	padding:10px 0 10px 0; 
	text-align:center; 
	line-height:120%; 
}

.footer img  {
	max-width:30%; 
	opacity:0.3;
}

.thrfooter {
    margin: 0 0 0 0;
	padding: 10px 0 10px 0;
	text-align: center;
	font-size:14px;
    border-top: 1px dashed #a8a6a3;
}

.copyright {
    margin: 0px 0 0 0;
	padding: 0 0 0 0;
	text-align: center;
	font-size:11px;
}

.menubox {
	height: 80px;
}

.contentbox {

	margin: 0 5% 0 5%;
}

.contentwide {
	width:100%; 
	float:none; 
}

/*Show and Hide Responsive*/
.hideOnDesktops {
	display: none;
}
body .showOnDesktops {
	display: block;
}	

/* Small devices (tablets, up to 768px) */
@media (max-width: 768px) {
	
	/*Show and Hide Responsive*/
	body .hideOnTablets {
		display: none;
	}
	.hideOnDesktops {
		display: block;
	}
	body div .showOnTablets {
		display: block;
	}
}

/* Small devices (Smartphone, up to <440px) */
@media (max-width: 440px) {
	
	/*Show and Hide Responsive*/
	.hideOnMobiles {
		display: none;
	}
	body .hideOnTablets {
		display: block;
	}
	body .hideOnDesktops {
		display: block;
	}
	body div .showOnMobiles {
		display: block;
	}
}