body {
	margin: 0;
	padding: 0;
	font-family: "Montserrat", sans-serif;
	font-size: 22px;
	font-weight: 400;
	line-height: 1.8;
}

/* ======== nav ========== */
nav {
	width: 100%;
	background: #4C91FF;
	height: 100px;
}

.left-nav{
	text-align: right;

}

.right-nav{
    text-align: left;
}

[class*=-nav]{
	font-size: 1em;
    float: left;
    width: calc(50% - 100px);
	color: white;
	position: relative;
    line-height: 100px;
	
}
ul{
	margin: 0;
	padding: 0;
}
ul li {
	display: inline;
	list-style-type: none;
	font-family: 'Montserrat', sans-serif;
	text-transform: uppercase;
	font-size: 20px;
	padding: 0 25px 0 50px;
    color: white;
    text-decoration: none;
}

a {
    text-decoration: none;
    color: white;
}

#logo {
    margin-top: -45px;
    float: left;
}
/* ======== nav ========== */


#wrapper {
	text-align: center;
	max-width: 800px;
	padding: 50px;
	margin: 0 auto;
}

h1 {
	font-weight: 700;
	font-size: 2em;
	color: #D53232;
	text-transform: uppercase;
}

h2 {
	margin: 0;
	font-weight: 700;
	font-size: 1.5em;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.left { 
	max-width: 30%;
	float: left; }
.left_bigger { 
	float: left;
	max-width: 50%; }

.right { 
	max-width: 70%;
	float: right; }

.icon {
	margin: 0;
	max-width: 90%;
	margin-right: 1.2em;
}

p {
	color: #333;
	margin: 0;
	text-align: left;
}

.red {
	color: #D53232;
}

.blue {
	color: #4C91FF;
}

.position img {
	height: 110px;
	border: 5px solid white;
	margin: 0 5px;
}

a.position {
	display: inline-block;
	text-decoration: none;
	width: 40%;
	padding: 3% 3%;
	margin: 1%;
	transition: background 1s ease, color .5s ease;
}

a.blue {
	background-color: #4C91FF;
	color: #fff;
}

a.red {
	background-color: #D53232;
	color: #fff;
}

a.position:hover {
	color: #333;
	background: #eee;
}



.sup {
	padding: 0 2px;
	text-decoration: none;
	background: #eee;
	transition: background 1s ease, color .5s ease;
}
.sup:hover {
	color: #333;
	background: #eee;
}

.emphasis-red {
	text-decoration: none;
	font-weight: 700;
	color: #D53232;
	padding-bottom: 3px;
	border-bottom: 2px solid #D53232;
}

.emphasis-blue {
	text-decoration: none;
	font-weight: 700;
	color: #4C91FF;
	padding-bottom: 3px;
	border-bottom: 2px solid #4C91FF;
	
}

.emphasis-red:hover, .emphasis-blue:hover {
	color: #333;
}

.clear {
	clear: both;
}

footer {
	min-height: 90px;
	background-color: #4C91FF;
}

footer p {
	color: #fff;
	font-size: .9em;
	text-align: center;
	padding: 20px 0;
}

footer a {
	color: #fff;
	font-weight: bold;
	text-decoration: none;
	padding-bottom: 3px;
	border-bottom: 2px solid #fff;
}
footer a:hover {
	color: #eee;
	border-color: #eee; }


/*========nav=========*/
@media all and (max-width: 1000px) {

ul li{
	display: block;
}

[class*=-nav]{
	line-height: 50px;
	text-align: center;
  margin: 0;

}

.right-ul{
  text-align: right;
  padding: 0;
  margin: 0;
padding: 0 .25em 0 0 ;
}

.left-ul{
  text-align: left;
  padding: 0;
padding: 0 0 0 .25em;
}

[class*=-ul] li{
  margin: 0;
}

.left-ul li{
padding: 0;
}

.right-ul li{
padding: 0;
}

}

@media all and (max-width: 560px) {
  ul li{
  	font-size: 14px;
  }

  nav img{
    width: 100px;
    height: auto;
  }
  #logo{
    margin-top: 45px;
  }

  [class*=-nav] {
    width: calc(50% - 50px);
  }
}





@media all and (max-width: 800px) {
	body {
		font-size: 18px;
	}
	.icon {
		max-height: 200px;
	}
}


@media all and (max-width: 630px) {
	body {
		font-size: 16px;
	}
	.left, .right, .left_bigger {
		float: none;
		max-width: 100%;
	}
	.icon {
		margin: 0;
	}
	a.position {
		display: block;
		width: 70%;
		padding: 4%;
		margin: 5% auto;
		}
}
@media all and (max-width: 530px) {
#wrapper {
	padding: 30px;
}

.position img {
	height: 100px;
	}
}