.topnav {
	overflow: hidden;
	padding-right: 50px;
	padding-top: 10px;
	margin-bottom: -15px;
}

/* Style the links inside the navigation bar */
.topnav a {
	float: right;
	display: block;
	color: white;
	text-align: center;
	padding: 14px 10px;
	text-decoration: none;
	font-size: 22px;
}

/* Change the color of links on hover */
.topnav a:hover {
	color: red;
}

/* Add a color to the active/current link */
.topnav a.active {
	background-color: #4CAF50;
	color: white;
}

/*style for menu and sub menu*/
.topnav ul {
	list-style:none;
	z-index: 1;
}

.topnav ul li a {
	float: right;
	display: block;
	color: white;
	text-align: center;
	padding: 5px 18px;
	text-decoration: none;
	font-size: 17px;
}

.topnav ul li a:hover {
	color: red;
	display:block;
	/*background-color: black;*/
}

.topnav ul li:hover ul {
	/*display:block;*/
	display: inline-block;
    width:500px;
    margin-top:0px;
    padding:5px;
    height:auto;
}

.topnav ul ul {
	display:none; 
	list-style:none; 
	position:absolute;
	color: white;
	left:1042px; 
	top:50px; 
	width:190px;
	padding-left:120px!important; 
}

.topnav ul ul li a {
	float:none; 
	display:block; 
	padding-left:10px!important; 
	text-align:left; 
	width:70px;
	color:white;
	background-color:black;
	box-shadow: 2px 2px 2px 0px red;
}

.topnav ul ul li a:hover {
	color:red;
	display:block;
}

/*end style for menu and sub menu*/

#triangle-bottomleft{
	width: 0;
	height: 0;
	border-bottom: 10px solid red;
	border-right: 800px solid transparent;
	float: right;
	margin-top: 20px;
}

@media screen and (max-width: 1300px) {
	#triangle-bottomleft{
		width: 0;
		height: 0;
		border-bottom: 10px solid red;
		border-right: 450px solid transparent;
		float: right;
		margin-bottom: 5px;
	}
}

@media screen and (max-width: 1023px) {
	.topnav a:not(:first-child) {display: none;}
	.topnav a.icon {
		float: right;
		display: block;
	}
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 1023px) {
	.topnav.responsive {position: relative;}
	.topnav.responsive a.icon {
		position: absolute;
		right: 0;
		top: 0;
	}

	.topnav.responsive a {
		float: none;
		display: block;
		text-align: left;
	}
}

.footer{
	width:100%;
	height: 150px;
}

.footer .about{
	float: left;
	width: 50%;
	height: 150px;
	text-align: left;
}

.footer .about h2{
	margin-left: 20px;
	color: white;
}

.footer .search h2{
	margin-left: 20px;
	color: white;
}

.footer .search input{
	margin-left: 20px;
	width: 70%;
}

.footer .about hr{
	width:80%; 
	margin-left: 20px; 
	margin-top: -10px; 
	margin-bottom: 10px;
}

.footer .about font{
	color: white;
}

.footer .about .content{
	margin-left: 20px;
	max-width: 450px;
	margin-bottom: 0px;
}


.footer .search{
	float: right;
	height: 150px;
}

.footer.end{
	width: 100%;
	height: 50px;
	color: white;
}

.footer.end .content{
	width:250px;
	margin: auto;
}

.footer.end hr{
	border: 0;
	height: 1px;
    width: 100%;
	background-image: linear-gradient(to right, rgba(255, 0, 0, 0), rgba(255, 0, 0, 0.75), rgba(255, 0, 0, 0));
}

input[type=text]:focus {
	border: 3px solid #555;
}

.topnav .icon {
	display: none;
}

.social{
	background-color: #282828;
	width:100%;
    padding: 50px;
    margin-top: -5px;
    text-align: center;
}

.social .title{
	width:250px;
	margin: auto;
	color: white;
}

.social .title h2{
	margin: 0px;
    font-weight: bold;
}

.social .icons{
	margin: auto;
}
.social .icons i{
	margin-right: 20px;
}
