.repeat-item.ng-enter,
.repeat-item.ng-leave {
  -webkit-transition:0.5s linear all;
  transition:0.5s linear all;
}

.repeat-item.ng-enter,
.repeat-item.ng-leave.ng-leave-active {
  opacity:0;
}
.repeat-item.ng-leave,
.repeat-item.ng-enter.ng-enter-active {
  opacity:1;
}

body{
	font-family: arial, helvetica;
}

/**************************/
#wrapper{
	width: 90%;
	margin: 0 auto;
	max-width:1020px;
	min-height: 550px;
	background: #F0F0F0;
}

.container:before,
.container:after {
  content:"";
  display:table;
}
.container:after {
  clear:both;
}
.container {
  zoom:1;
}

#main{
	width: 100%;
	padding-top:122px;
}

/********** HEADER *************/
header{
	background-color: #3F413C;
	width: 100%;
	height: auto;
	float: left;
}

#logo{
	padding: 18px;
	float: left;
}

header h1{
	font-size: 1.6em;
	color: #EFD037;
}
header h2{
	color: white;
	font-size: 1em;
	border: 1px #EFD037 solid;
	display: inline-block;
	padding: 4px;
	margin-top:2px;
}

header .menu{
	float: right;
	padding: 58px 8px 0px 0px;
	margin-right: 44px;
		max-width:1020px;
}

header .menu div{
	display: inline-block;
	color: white;
	padding-right: 22px;
	padding-left: 22px;
	cursor: pointer;
	border: 1px #EFD037 solid;	
}

a:link, a:visited{
	text-decoration: none;
	color: white;
}

#menu-button {
	background-image: url('../img/menu-button.png');
	background-repeat: no-repeat;
	background-size: 35px 35px;
	width: 35px;
	height: 35px;
	display: none;
	margin-right: 4%;
	margin-top: 42px;
	float: right;
	cursor: pointer;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

#menu-button p {
	margin-left: -10000px;
	display: none;
}

#menu-mobile {
	float: left;
	margin-top: 0px;
	margin-right: 2.8%;
	background-color: #3F413C;
	clear: both;
	width: 100%;
	margin-bottom: 10px;
	display: none;
}

#menu-mobile ul li {
	display: none;
	font-size: 1.03em;
	padding-left: 0px;
	height: 38px;
	border-bottom: 1px solid rgb(255, 255, 255);
}
#menu-mobile p {
	margin-left: 2.8%;
	line-height: 38px;
}

/********* FOOTER **********/

footer {
	background: #3F413C;
	color: #A7A3A2;
	width: 100%;
	padding-bottom: 1em;
	float: left;

}

footer h1{
	color: #EFD037;
	padding: 18px;
	font-weight: bold;
	padding-top: 24px;
}
footer h1 span{
	color: white;
	font-weight: normal;
}

/******* PORTFOLIO PAGE *********/
.item{
	width: 31%;
	height: auto;
	background-color: #3F413C;
	color: white;
	margin: 1%;
	display: inline-block;
}

.item img{
	max-width: 100%;
	display: block;
	margin: 0 auto;

}

.item h1, p{
	padding: 4px;
}

.item h1{
	font-size: 1em;
	font-weight: bold;
}
.item p{
	font-size: 1em;
}
/************** PROJECT PAGE *************/
#col_large{
	width: 60%;
	float: left;
	margin-left: 2%;
}

#col_small{
	width: 35%;
	float: right;
}

.items{
	width: 100%;
}

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
	margin-bottom: 12px;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#col_large img{
	width: 100%;
	max-width: 100%;
	display: block;
	margin: 0 auto;
}


#col_large .items{
	margin-bottom: 10px;

}

.project_text{
	border-bottom: 1px #3F413C solid;
	margin: 0px 12px 8px 12px;
	padding: 0px 4px 4px 4px;

}

#col_small h1{
	font-size: 1.6em;
	font-weight: bold;
	color: #3F413C;
	padding: 0px 2px 2px 2px;

}

#col_small p{
	padding: 2px;
	color: #7A7A7A;
	font-size: 0.9em;
	margin-bottom: 2px;
}

.project_text a{
	text-decoration: none;
	color: #EFD037;
	font-weight: bold;
	letter-spacing:0.3px;
	font-size: 1.1em;
}

.hidevideo{
	color: red;
}
.ng-invalid { border: 1px solid red; }

/***********ABOUT PAGE************/

#about{
	width: 90%;
	padding: 0 5% 2% 5%;
}

#about h1{
	font-size: 1.6em;
	font-weight: bold;
	padding: 4px;
}

.skills
{
	padding: 0 5% 2% 0%;
}

.skills h2{
	font-size: 1.1em;
	font-weight: bold;
	margin-top: 6px;
}

.skills h3{
	font-size: 1em;
	font-weight: bold;
	margin-top: 6px;
}

.skills ul li{
	display: inline-block;
	padding: 0.5%;

}

/***********MEDIA QUERIES************/

@media screen and (max-width:880px){
.item{
	width: 29%;
	margin: 2.1%;
}
	
}

@media screen and (max-width:760px){
.item{
	width: 43%;
	margin: 3.5%;
}

#col_large{
	width: 90%;
	margin-left: 5%;
	float: left;
}

#col_small{
	width: 100%;
	float: left;
}
}

@media screen and (max-width:595px){
header .menu{
	display: none;
}
	#menu-button {
		display: block;
	}
	#menu-mobile {
		display: table-caption;
	}
}

@media screen and (max-width:540px){
.item{
	width: 90%;
	margin-left: 5%;
}

#col_large{
	margin-left: 5%;
}	
}
