html, body {
	font-family: 'Open Sans', sans-serif;
	background-color: #fff;
	font-size: 16px;
	color: #333;
	width: 100%;
}

img {
	width: 100%;
	max-width: 960px;
	margin: auto;
}


section {
	width: 100%;
	padding: 0;
	margin: 0;
}

.container {
	width: 960px;
	max-width: 100%;
	margin: 0 auto;
}


/**********************************************************************************/
/* HEADER */	
/**********************************************************************************/


header section {
	position: fixed;
	top: 0;
	left: 0;
	max-width: 100%;
	background-color: #00ADEF;
	z-index: 1;
	height: auto;
	box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}


.logo-wrapper {
	background-color: #00688F;
	text-align: center;
}
nav {
	width: 100%;
}

.logo-nav {
/*	text-align: center;*/
}

.logo {
	max-width: 300px;
}

.nav-list {
	width: 30%;
	height: auto;
	margin: auto;
	/*	border-radius: 5px;
	border-right: 1px solid rgba(0,0,0,0.3);*/
	float: right;
	padding: 26px 0;
	box-sizing: border-box;
}

.nav-list a {
	display: inline;
	float: left;
}

/*.fa::before {
	display: block;
	font-size: 3em;
	width: 20%;
	max-width: 30px;
	max-height: 30px;
	float: left;
	text-align: right;
	color: #333;
	position: absolute;
	top: 50%;
}
*/


.gallery {
	text-align: center;
}



.gallery-item {
	background-color:  #f1f1f1;
	color: #333333;
	padding: 0 0 20px;
	text-align: center;
	margin: 0 auto;
	margin-bottom: 15px;
	line-height: 1.3;
	width: 100%;
	display: block;
	box-sizing: border-box;

}

.gallery-item h1 {
	font-size: 1.5em;
	font-family: 'Poiret One', cursive;
	margin-top: 10px;
}

/*.gallery-item p {
	color: rgba(255,255,255,0.6);
}*/

/*.nav-list {
	max-width: 100%;
	width: 960px;
	text-align: right;
	background-color: pink;
	margin: 0;
}*/

.gallery-item:hover {
	background-color: #00688F;
	color: #ffffff;
}

#demoreel {
	background-color: #000;
	margin-top: 100px;
	margin-bottom: 15px;
	max-width: 100%;
}

video {
	width: 100%;
}

/*.icons {
	padding: 0 5px;
	background-color: rgba(0,0,0,0.3);
	border-radius: 5px;
}*/

.menu-item {
	padding: 10px;
/*	background-color: rgba(0,0,0,0.3);*/
/*	border-radius: 5px;*/
	margin: 0 2.5px;
	height: 28px;
	line-height: 28px;
	color: white;
}

.icons {
	padding: 10px;
/*	background-color: rgba(0,0,0,0.3);*/
/*	border-radius: 5px;*/
	margin: 0 2.5px;
	height: 28px;
	width: 30px;
	line-height: 28px;
	color: white;
}

/*.icons img {
  -webkit-filter: grayscale(.7);
  filter: grayscale(.7);
  	opacity: 1;
}*/

header section {
    padding: 0 0px;
}

/*edited*/
.logo {
	float: none;
}

ul.nav-list {
	max-width: 280px;
/*	height: 48px;
	text-align: right;
	margin: auto;
	padding: 0;
	padding-top: 30px;*/
	width: 100%;
/*	background-color: blue;*/
/*	line-height: 48px;
	box-sizing: border-box;*/

}





/*.nav-list li {
	float: left;
	height: 40px;
	max-width: 100px;
	margin: 0;
	line-height: 40px;
}*/

.nav-list li a {
	/*height: 40px;
	max-width: 100px;
	margin: 0;
	line-height: 40px;
	text-align: center;*/
/*	-webkit-filter: grayscale(.7);
  	filter: grayscale(.7);*/
  	opacity: 0.6;
}

.nav-list li a:hover,
.nav-list li a:active {
/*	-webkit-filter: grayscale(0);
  	filter: grayscale(0);*/
  opacity: 1;

	
}






/**********************************************************************************/
/* MODAL: RESUME ******************************************************************/	
/**********************************************************************************/

.modal-resume,
.modal-contact {
    position: fixed;
    font-weight: 400;
    color: #333;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    opacity:0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
    overflow: auto;
}



.resume-show,
.contact-show {
    opacity:1;
    pointer-events: auto;
}

.no-scroll {
	overflow: hidden;
}

/* the holder of the resume */
.modal-resume > div,
.modal-contact > div {
    width: 90%;
    max-width: 900px;
    height: auto;
    position: relative;
    margin: 3% auto;
    padding: 5px 20px 53px 20px;
    background: #fff;
    background: -moz-linear-gradient(#fff, #ddd);
    background: -webkit-linear-gradient(#fff, #ddd);
    background: -o-linear-gradient(#fff, #ddd);
}


.close {
    background: url('../asset/icons/close.svg') no-repeat;
    color: #00ADEF;
    line-height: 25px;
    position: absolute;
    right: 22px;
    text-align: center;
    top: 20px;
    width: 40px;
    height: 40px;
    text-decoration: none;
    font-weight: 400;
    -webkit-transition: all 0.1s ease 0;
    -moz-transition: all 0.1s ease 0;
    transition: all 0.1s ease 0;
    transform: scale(0.85);
}

.close:hover {
    transform: scale(1.2);
}



/**********************************************************************************/
/* RESUME */	
/**********************************************************************************/

.resume-header {
  text-align: center;
  height: 100%;
  margin-bottom: 20px;
}

.resume-header h1 {
  font-size: 2.5em;
  padding: 5px;
  margin: 0;
  font-weight: 600;
    margin-bottom: 5px;
    margin-top: 60px;
    font-family: 'Poiret One', cursive;
    letter-spacing: 1px;
}

.resume-header h2 {
  font-size: 16px;
  line-height: 0;
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.5;
  color: #666;
}

ul {
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
}

li {
  list-style: none;
}

.technical-skills li {
  text-align: left;
}



.resume-summary,
.experience-content,
.technical-skills,
.education,
.awards {
  width: 95%;
  max-width: 600px;
  margin: auto;
  line-height: 1.5;
  margin-bottom: 2.5em;
}

.resume-summary h2,
.technical-skills h2,
.experience-content h2,
.education h2 {
  border-bottom: 2px solid #999;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  color: #999;
}

.studio-name p {
	display: block;
}

.years {
	font-weight: 400;
	text-transform: capitalize;
	display: inline;
	float: right;
	margin-top: -34px;
	color: #999;
}

.film,
.commercial,
.tv {
	
	margin: 20px;
	padding-bottom: 15px;
	text-align: center;
}


.studio-list {
	-webkit-columns: 200px 2;
   -moz-columns: 200px 2;
        columns: 200px 2;
}

.film p:nth-child(2n) {
	margin-bottom: 10px;
}

.film h4,
.commercial h4,
.tv h4 {
	width: 100%;
	display: block;
	text-align: center;
	padding-bottom: 5px;
	margin-bottom: 5px;
}

.school-info p {
	float: left;
	display: inline-block;
}

.school-info p:last-child {
	float: right;
}

.awards {
	padding-top: 30px;
	width: 100%;
}

.awards h2 {
	font-size: 14px;
}

.awards-info {
	font-size: 12px;
}

.role-title {
	color: #666;
	font-style: italic;
	font-size: 14px;
	margin-bottom: 16px;
}

.resume-skills {
	/*font-weight: 600;*/
	color: #666666;
	font-size: 14px;
}

.studio-name {
	color: #333;
}


/**********************************************************************************/
/* CONTACT */	
/**********************************************************************************/
#contact {
	color: #555;
	text-align: center;
	line-height: 1.5;
	font-size: 1em;
}

#contact h1 {
	font-size: 2.5em;
	padding: 5px;
	margin: 0;
	font-weight: 600;
	margin-bottom: 15px;
	margin-top: 30px;
	font-family: 'Poiret One', cursive;
	letter-spacing: 1px;
}


/*contact form*/


#form-main {
	width:100%;
	max-width: 700px;
	margin: 20px auto;
	padding: 20px;
	padding-bottom: 60px;
}


.feedback-input {
	color:#3c3c3c;
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-weight:500;
	font-size: 18px;
	border-radius: 0;
	line-height: 22px;
	background-color: #fbfbfb;
	padding: 13px;
	margin-bottom: 10px;
	width:100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	border: 1px solid #eee;
}

.feedback-input:focus{
	background: #fff;
	box-shadow: 0;
	color: #3498db;
	outline: none;
}


textarea {
    width: 100%;
    height: 150px;
    line-height: 1.50;
    resize:vertical;
}

input:hover, textarea:hover,
input:focus, textarea:focus {
	background-color:white;
}

#button-blue{
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
	float:left;
	width: 100%;
	border: 2px solid rgba(0, 173, 239, 1);
	cursor:pointer;
	background-color: rgba(250, 250, 250, 0.5);
	color: rgba(0, 173, 239, 1);
	font-size:24px;
	padding-top:22px;
	padding-bottom:22px;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
  margin-top:-4px;
  font-weight:700;
}

#button-blue:hover{
	background-color: rgba(0, 173, 239, 1);
	color: #fff;
}

footer {
	text-align: center;
	color: #666;
	height: 80px;
	padding-top: 15px;
	font-size: 0.9em;
}
	
@media only screen and (max-width: 580px) {
	#form-div{
		left: 3%;
		margin-right: 3%;
		width: 88%;
		margin-left: 0;
		padding-left: 3%;
		padding-right: 3%;
	}
}



/**********************************************************************************/
/* BACK TO TOP ARROW */	
/**********************************************************************************/

#back-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
}

#back-top a {
	display: block;
	text-align: center;
	font: 11px/100% Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	text-decoration: none;
	color: rgba(0,0,0,0);
	/* background color transition */
	-webkit-transition: 1s;
	-moz-transition: 1s;
	transition: 1s;
}

#back-top a:hover {
	color: rgba(0, 0, 0, 0.6);
}

p#back-top {
	margin: 0;

}

/* arrow icon (span tag) */
#back-top span {
	opacity: 0.5;
	width: 50px;
	height: 50px;
	padding: 5px;
	display: block;
	background: rgba(100, 100, 100, 0.75) url(../asset/icons/arrow-up2.png) no-repeat center center;
	background-size: 50%;

	/* background color transition */
	-webkit-transition: 1s;
	-moz-transition: 1s;
	transition: 1s;
}

#back-top a:hover span {
	opacity: 1;
	/*background-color: rgba(100, 100, 100, 0.95);*/
	background-color: rgba(0, 173, 239, 0.75);
}


.copyrights {
/*	margin: 20px auto 0;*/
	padding: 20px;
}












@media screen and (min-device-width: 768px), screen and (min-width: 768px) {
    /* tablets*/

    /* to clear a float by adding .clearfix class to the parent */
.clearfix:after {
   content: "."; 
   visibility: hidden; 
   display: block; 
   height: 0; 
   clear: both;
}

.logo {
	height: 100px;
	opacity: 0.9;
	float: left;
}

.logo img {
	height: 10px;
	width: 176px;
	max-width: 40%;
	position: absolute;
	top: 55px;
	left: 14px;
}

nav {
	height: auto;
	margin: auto;
	width: 60%;
	float: right;
}





/**********************************************************************************/
/* GALLERY laptop/desktop */	
/**********************************************************************************/
.gallery-item {
	max-width: 31%; /*31.8333333%;*/
	margin:1% 0.75%;
	display: inline-block;
	box-sizing: border-box;
}

.gallery-item h1 {
	font-size: 1em;
}

.gallery-item p {
	font-size: 0.7em;
}



}


/**********************************************************************************/
/* TABLETS */	
/**********************************************************************************/
@media screen and (min-device-width: 481px) and (max-device-width: 767px), screen and (min-width: 481px) and (max-width: 767px) {
    /* tablets*/



    /*to center nav in mobile view*/
header nav {
	width: 100%;
	min-width: 300px;
	margin: auto;
	background-color: #00688F;

}

header .container {
	margin: 0;
}

.logo {
	float: none;
}

.nav-list {
	float: none;
		height: 48px;
	padding: 0;
}

#demoreel {
	margin-top: 148px;
}


.gallery-item {
	max-width: 47%;
	margin:0.75% 0.75% 1.5%;
	display: inline-block;
	box-sizing: border-box;
}


.gallery-item h1 {
	font-size: 1.2em;
}

.gallery-item p {
	font-size: 0.8em;
}


}

/**********************************************************************************/
/* PHONES */	
/**********************************************************************************/
@media screen and (min-device-width: 320px) and (max-device-width: 480px), screen and (min-width: 320px) and (max-width: 480px) {
    /* mobile */


    /*to center nav in mobile view*/
header nav {
	width: 100%;
	min-width: 300px;
	margin: auto;
	background-color: #00688F;

}

.logo {
	float: none;
}

.nav-list {
	float: none;
	height: 48px;
	padding: 0;
}

#demoreel {
	margin-top: 148px;
}


    .gallery-item {
	max-width: 100%;
	margin:0;
	display: block;
}


.gallery-item {
	background-color: #f3f3f3;
	padding: 0 0 20px;
	text-align: center;
	margin: 0 auto;
	margin-bottom: 15px;
	line-height: 1.3;
	width: 100%;
	display: block;
	box-sizing: border-box;

}


.gallery-item h1 {
	font-size: 1.5em;
}

.gallery-item p {
	font-size: 1em;
}




}
