/*---- go to https://fonts.google.com/ -----*/
@import url('https://fonts.googleapis.com/css?family=Berkshire+Swash');/*--- Heading Font --*/
@import url('https://fonts.googleapis.com/css?family=Quicksand');/*--- Nav Font and body --*/

html, body {
	margin: 0;
	padding: 0;
	height:100%;
	width: 100%;
}
.clearfix {
	clear: both;
	background-color: #FAB009;
	background-image: url(img/ELC_5547.jpg);
	height: 70px;
	opacity: .5;
	/*---tutorial on creating your own tile http://eloine.com/blog/archives/2251----*/
}

h2 {
	font-family: 'berkshire-swash', serif;
	font-size: 200%;
	font-weight: 700;
	color: #1E4556;
	text-align: center;
}

/*---we have been putting a lot of links in now it's time to style the hook check out this site for some examples http://www.rapidtables.com/web/html/link/html-link-color.htm also contains examples of other ways to style a mailto tag---*/

a {
	text-decoration: none;
	color: rgba(34,90,134,1.00);
	font-weight: 900;
	font-size: larger;
}
a:hover {
	color: rgba(134,1,3,1.00);
	font-size: larger;
}

a:visited {
text-decoration: none;
	color: rgba(34,90,134,1.00);
	font-weight: 900;
	font-size: larger;
}
a:active {
text-decoration: none;
	color: rgba(34,90,134,1.00);
	font-weight: 900;
	font-size: larger;
}


/*----aligns image in the center of the the column and takes the whole width----*/
img {
	text-align: center;
	max-width: 100%;
	height: auto;
	width: auto;
	border-radius: 29px;	
}

.intro {
	height: 100%;
	width: 100%;
	margin: auto;
	background: url(http://eloine.com/images/hank.jpg) no-repeat 50% 50%;
	background-size: cover;
	display: table;
	top: 0;
	
}
.intro .inner {
display: table-cell;
vertical-align: middle;
width: 100%;
max-width: none;
}



p {
	font-family: 'Quicksand', sans-serif;
color:#2c2c2c;
font-size: 140%;
line-height: 180%;
font-weight: 300;
}
.content p {
	font-size: 100%;
	color: rgba(255,255,255,0.64);
	text-align: center;
	margin-top: -70px;
	letter-spacing: 8px;
}


.content {
	max-width: 629px;
	margin-top: 36%;
	margin-right: auto;
	margin-bottom: auto;
	margin-left: -51px;
	background-color: rgba(5,94,165,0.70);
	border-radius: 72px;
}



h1 {
	font-family: 'berkshire-swash', serif;
	font-size: 200%;
	font-weight: 400;
	color: #fff;
	text-align: center;
	padding: 2%;
	text-shadow: 0px 0px 63px #1E395D;
	font-style: normal;
}
	
	
 /*position:    absolute;
    bottom:      50px;
    font-family: 'museo_slab500';
    font-size:   150%;
    color:       #fff;
    padding:     0 20px;
    width:       40%;
    line-height: 150%;
}
*/




.inner {max-width: 600px;
margin: auto;
font-size: 170%;
line-height: 1.6;
padding:10px;}

/*--- 59:29 ----*/

/*---start navigation menu---*/

nav {
	float: left;
	padding: 5% 5% 0 0;
	height: 50px;
	
}

nav ul {
	list-style: none;
	float: left;
	background-color: rgba(5,94,165,0.70);
	border-radius: 10px;
}

nav ul li {
	font-family: 'Quicksand', sans-serif;
	font-size: 120%;
}

nav ul li a {
	text-decoration: none;
	color: #fff;
}
nav ul li a:hover {
	color: #CCCCCC;
	font-weight: bolder;
}

nav ul li a:visited {
	color: #CCCCCC;
	font-weight: bolder;
}


nav ul, nav:active ul {
	display: none;
	left: 45px;
	top: 61px;
	padding: 8px 0;
	width: 15%;
	z-index: 1000;
}

nav li {
	width: 100%;
	padding: 8px 0 10px 7px;
	margin: 0;
}

nav:hover ul {
	display: block;
	position: absolute;
}
#menu-icon {
	width: 30px;
	height: 26px;
	background: url(img/nav-icon.png) center;
	display: inline-block;
	margin: 50px 0 0 50px;
}

/*---- end nav---*/
.left-col {
	width: 55%;
	float: left;
	margin: 2.5%;
}

.sidebar {
	/*---good opportunity to exlain that margin one number equals that sum of both sides---*/
	width: 35%;
	float: left;
	margin: 2.5%;
}

.one-third-port {
	width: 29.333333%;
	padding: 2%;
	float: left;
}
.one-third-port img:hover {
	opacity: .6;
}
.contact p {
	text-align:center;
	letter-spacing: 5px;
}
.contact a {
	text-decoration: none;
	color: rgba(34,90,134,1.00);
	font-weight: 900;
	font-size: larger;
}
/*----display inline except for when the screen is small and then stack-----*/
.break {
	display: none;
}

.parallax {
	background: url("http://eloine.com/cathome/images/cat-for-mockupELC_6370.jpg") repeat fixed 100%;
	opacity: .5; /*----"https://static.pexels.com/photos/30161/pexels-photo-30161.jpg"makes the paralax image slightly see through so the white shows throuhg 50%----*/
}
.parallax-inner {
	padding-top: 17%;
}

.social {
	list-style-type: none;
	text-align: center;
}
.social li {
	display: inline;
}
.social i {
	font-size: 270%;
	margin: 1% 5% 7% 4%;
	color: #2c2c2c;
		/*-----top, right, bottom, left----*/
}
.social i:hover {
	color: #606060;
}
/*----note that you must not have a space between the HTML tag and the child class but you have a space between a class and the following HTML class.------*/
footer.second {
	background: #2c2c2c;
}
footer.second p {
	color:#fff;
	text-align: center;
	padding: 5%;
}

@media screen and (max-width: 768px){
	#menu-icon: {
		margin: 26px 0 0 26px;
	}
	nav ul, nav:active ul {
	padding-top: 34px;
	padding-right: 0;
	padding-left: 0;
	padding-bottom: 8px;
	left: 42px;
	top: 34px;
	width: 50%;
	}
	
	.intro {
	height: 100%;
	width: 100%;
	margin: auto;
	background: url(img/frankie.jpg)no-repeat 50% 50%;
	background-size: cover;
	display: table;
	top: 0;
}
	
	/*-----slogan text-----*/
	.inner {
		font-size: 120%;
	}
	.content {
	border-radius: 15px;		/*--width: 100%;--*/
	max-width: 239px;
	margin-top: 159px;
	}
	.content h1 {
	font-size: 144%;
	text-align: center;
	}
	.content p {
	font-size: 100%;
	text-align: center;
	margin-top: -18px;
	padding-bottom: 23px;
	}
	
		.nonemobile {
	display: none;
}
	
	h2 {font-size: 160%;}
	.left-col {
		width: 96%;
		margin: 0 0 3% 0; /*---- overrides the inherent margin from desktop----*/
		padding: 0 2%;
	}
	

	.sidebar {
	width: 96%;
	margin: 0 auto;
	text-align: center;
	}
	img {
	padding: 2%;
	width: auto;
	text-align: center;
	}
	.one-third-port {
	width: 96%;
	margin: 0 auto;
	padding: 0;
	text-align: center;
	}
	.break {
		display: block;
	}
	.parallax {
		display: none;
	}
	.clearfixnone {
		display: none;
	}
	.social i {
		font-size: 170%;
	}
}
/*----- Apparently order matters love hate analogy to remeber the below order of link styling
a:link 
  color: blue;
}
a:visited {
  color: purple;
}
a:hover {
  color: green;
}
a:active {
  color: red;
}*/ 

@media (max-width: 555px){
.intro .inner .content {
	margin-top: 310px;
}
}
