/*RESET*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0; padding:0; border:0; outline:0; font-size:100%; vertical-align:baseline; background:transparent;} body {line-height: 1;}ol, ul{list-style:none;} blockquote, q{quotes:none;} blockquote:before, blockquote:after, q:before, q:after{content:'';content:none;} :focus{outline:0;} ins{text-decoration:none;} del{text-decoration:line-through;} table{border-collapse:collapse; border-spacing:0;}

/*MAIN*/
body { 
	font-size: 1.05em;
	line-height: 1.25em;
	font-family: Helvetica Neue, Helvetica, Arial;
	background: #f9f9f9;
	color: #555;
}

a {

	color: #2262ad;
	text-decoration: none;
	font-weight: bold;

}

a:hover {

	color: #4C9CF1;

}

img {

	width: 100%;

}

header {

	background: #fff;
	width: 100%;
	height: 76px;
	position: fixed;
	top: 0;
	left: 0;
	border-bottom: 2px solid #4C9CF1;
	z-index: 100;

}

#logo{

	margin: 5px;
	float: none;
	width: 300px;
	height: 40px;
	background: url(../img/logo.png) no-repeat left;
	display: flex;

}

nav {

	float: right;
	padding: 10px;	
	
}

#menu-icon {

	display: none;
	width: 40px;
	height: 40px;
	background: #4C8FEC url(../img/menu-icon.png) center;

}

a:hover#menu-icon {

	background-color: #444;
	border-radius: 4px 4px 0 0;

}

ul {

	list-style: none;

}

li {

	display: inline-block;
	float: left;
	padding: 10px

}

.current {

	color: #2262AD;

}

section {

	margin: 80px auto 40px;
	/*max-width: 980px;*/
	position: relative;
	padding: 20px

}

h1 {

	font-size: 2em;
	color: #2262AD;
	line-height: 1.15em;
	margin: 20px 0 ;

}

#hl li
{
background-image: url(../img/tic.gif);
background-repeat: no-repeat;
background-position: 0px 13px;
padding-left: 14px;
}


p {

	line-height: 1.45em;
	margin-bottom: 20px;

}
.container {
    position: relative;
    text-align: center;
    color: #FFFFFF;
}

.centered {
    position: absolute;
    top: 26%;
    left: 50%;
    transform: translate(-50%, -50%);
}

footer{
  border-top: 2px solid #4C9CF1;
   text-align: center;
font-style: italic;
font-weight: bold;
}




[class^="flex"]{
  
  display: flex;
  flex-wrap: wrap;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border-radius: 25px;

}

.flex-container2 {
  flex-direction: row-reverse;
}

[class^="flex"] > div {
  width: 49%;
  margin: 0.5%;
  text-align: center;
 
}
.Header1{
text-align:center;
}


.CaddisFly-News{
padding-left: 9%;
}



.footer-social-icons {
    width: 150px;

    display:block;
    margin: 0 auto;


}
.social-icon {
    color: #fff;

}
ul.social-icons {
    margin-top: 10px;
}
.social-icons li {
    vertical-align: top;
    display: inline;
    height: 100px;
}
.social-icons a {
    color: #fff;
    text-decoration: none;
}

.fa-twitter {
    padding:10px 12px;
    -o-transition:.5s;
    -ms-transition:.5s;
    -moz-transition:.5s;
    -webkit-transition:.5s;
    transition: .5s;
    background-color: #322f30;
}
.fa-twitter:hover {
    background-color: #00aced;
}

.fa-youtube {
    padding:10px 14px;
    -o-transition:.5s;
    -ms-transition:.5s;
    -moz-transition:.5s;
    -webkit-transition:.5s;
    transition: .5s;
    background-color: #322f30;
}
.fa-youtube:hover {
    background-color: #e64a41;
}


/*MEDIA QUERY*/
@media only screen and (max-width : 640px) {



.CaddisFly-News{
padding-left: 33%;
}

[class^="flex"] > div {
 width: 99%;
 
}

	header {

		position: fixed;

	}

	#menu-icon {

		display:inline-block;

	}

	nav ul, nav:active ul { 

		display: none;
		position: absolute;
		padding: 20px;
		background: #fff;
		border: 5px solid #444;
		right: 20px;
		top: 60px;
		width: 50%;
		border-radius: 4px 0 4px 4px;

	}

	nav li {

		text-align: center;
		width: 100%;
		padding: 10px 0;
		margin: 0;

	}

	nav:hover ul {

		display: block;

	}
}