/*-----------------------------------------FONTS--------*/

@font-face {
	font-family: 'regularFont';
	src:  url('../fonts/myFont_reg.woff') format('woff');     
}

@font-face {
	font-family: 'lightFont';
	src:  url('../fonts/myFont_light.woff') format('woff');
}

@font-face {
	font-family: 'boldFont';
	src:  url('../fonts/myFont_bold.woff') format('woff');
}

/*-----------------------------------------TYPOGRAPHY--------*/
video {
}

a {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}


.featureText {
	font-family: 'boldFont', sans-serif;
	font-size: 20px;
	color: #fd4f57;
}

p {
	font-family: 'regularFont', sans-serif;
	font-size: 16px;
	line-height: 30px;
	color: #5D6E7F;
	margin-top: 20px;
	cursor: default;
}

.thegroup {
	font-size: 20px;
}

.thedesign {
	font-size: 20px;
	font-family: 'boldFont', sans-serif;
	color: #fd4f57;
}

.box {
	margin-bottom: 20px;
}

.speel {
	height: auto;
}

.contactSpeel {
	margin-top: 60px;
	height: auto;
}

#email {
	font-size: 18px;
	font-family: 'boldFont', sans-serif;
	color: #5D6E7F;
	text-decoration: none;
}

a {
	text-decoration: none;
}

#email:hover {
	color: #fd4f57;
	cursor: pointer;
	text-decoration: none;
}

#phone {
	font-size: 18px;
	font-family: 'boldFont', sans-serif;
	color: #5D6E7F;
}


/*-----------------------------------------PAGE LAYOUT BEGINS--------*/

*, html, body {
	height: 100;
}

body {
	padding: 0 10px 0 10px;
	background-color: white;
}

#overlay1 {
	pointer-events: none;
	background: url("../images/tdg_logo.svg") no-repeat;
	background-position: center;
	background-size: 75%;
	position: absolute;
	opacity:1;
	background-color:#fff; 
	width:100%; 
	height:100%; 
	z-index:1;
	top:0; 
	left:0; 
}

#mainContainer {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	text-align: center;
	height: 100vh;
	max-width: 700px;
	margin: auto;
}


#foot {
	height: 20px;
}


/*-----------------------------------------PORTFOLIO PAGE ADJUSTMENTS--------*/


#footPortfolioPage {
	height: 30px;
}



/*-----------------------------------------MAIN NAV--------*/

nav {
	/*-background-color: pink;-*/
	font-size: 20px;
	margin-top: 25px;
	margin-bottom: 25px;
	color: #fd4f57;
	white-space: nowrap;
}


nav a {
	font-family: 'regularFont', sans-serif;
	text-decoration: none;
	color: #5D6E7F;
}


nav a:hover {
	color: #fd4f57; 
}


nav a:active {
	font-family: 'boldFont', sans-serif;
	text-decoration: none;
	color: #fd4f57; 
}

.currentLink {
	font-family: 'boldFont', sans-serif;
	color: #fd4f57 !important;
}


/*-----------------------------------------   SUB NAV  --------*/

#subNav {
	/*-background-color: blue;-*/
	font-family: 'regularFont', sans-serif;
	color: #fd4f57;
}

#subNav a {
	color: #5D6E7F;
	text-decoration: none;
}


#subNav a:hover {
	color: #fd4f57; 
}


#foot {
	margin-top: 100px;
}

/*-----------------------------------------   : DEVIDERS :   --------*/

nav a:after, #subNav a:after {
	font-family: 'boldFont', sans-serif;
	content: "\00a0\00a0:\00a0";
	display: inline;
	position: relative;
	top: -3px;
	color: #dc5057;
}

nav a:last-child:after, #subNav a:last-child:after {
	content: "";
}



/*-----------------------------------------PORTFOLIO GRID--------*/

#gridHolder {
	max-width: 550px;
	opacity: 0;
}

.grid > div{
	display: flex;
}
.grid > div > div{
	flex: 1;
	position: relative;
}
.grid > div > div::before{
	content: '';
	display: block;
	padding-bottom: 100%;
}
.grid > div > div > div{
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.content{
	font-family: 'boldFont', sans-serif;
	text-decoration: none;
	color: #ffffff;
	display: inline-block;
/*-----------------------------------------POSITION BACKROUND IMAGES--------*/
	overflow: hidden;
	background-size: cover;
	background-position: center;
}



/*-----------------------------------------PORTFOLIO BROWSING--------*/


#portfolioContainer {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#description  {
	min-height: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
}


#description p  {
	width: 80%;
	line-height: 28px;
	height: 30px;
	margin: 0px;
}

#description p:before {content:"\A"; white-space:pre;}


#pImage {
	display: block;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	opacity: 0;
	align-self: center;
}


#previousArrow {
	min-width: 30px;
	min-height: 30px;
	background-image: url("../images/interface/previous_arrow.gif");
	background-repeat: no-repeat;
	cursor: pointer;
	background-size: cover;
	background-position: center;
}

#nextArrow {
	min-width: 30px;
	min-height: 30px;
	background-image: url("../images/interface/next_arrow.gif");
	background-repeat: no-repeat;
	cursor: pointer;
	background-size: cover;
	background-position: center;
}

#dig1 {
width: 300px;
height: 250px;
background-image: url("../images/portfolio/digital-1.gif");
background-size: 300px 250px;
background-repeat: no-repeat;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
}



.content::before{
	content: '';
}

/*-----------------------------------------MREC HOLDER--------*/

#mrecHolder {
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: -1;
}


#mrec {
}

/*-----------------------------------------HOVER TINTS--------*/
.tint {
	display: flex;
	justify-content: center;
	flex-direction: column;
	text-align: center;
	height: 100%;
	width: 100%;
	opacity: 0;
	transition: .3s ease;
	background-color: rgba(0, 0, 0, 0.8);
}

.content:hover .tint {
	cursor: pointer;
	opacity: 1;
}




/*-----------------------------------------LOGO--------*/

#tdgLogo {
	display: block;
	width: 210px;
	margin-top: 18px;
	margin-left: auto;
	margin-right: auto;
	
}



/*-------------------------------------------------------------------MEDIA QUERIES--------*/
/*----------IF WIDTH ABOVE 1380--------*/

@media only screen and (max-width:1380px){
	
	#tdgLogo {
		position: relative;
		width: 220px  !important;
		height: 38px !important;
		right: 350px;
		top: 52px;
		margin-top: 5px;
	}
	
	#subNav {
		font-size: 16px;
		display: block;
		position: relative;
		white-space: nowrap;
		right: 35px;
	}
	
	#pImage {
		width: 400px;
		height: 400px;
	}
	
	#mrecHolder {
		height: 400px;
		width: 400px;
	}
	

}

/*----------IF BELOW 1380--------*/

@media only screen and (min-width:1380px){
	
	#tdgLogo {
		position: relative;
		width: 240px  !important;
		height: 42px !important;
		right: 500px;
		top: 52px;
	}
		
	#subNav {
		display: block;
		position: relative;
		white-space: nowrap;
		right: 35px;
	}
	
	#pImage {
		width: 500px;
		height: 500px;
	}
	
	#mrecHolder {
		height: 500px;
		width: 500px;
	}
	

	.content {font-size: 18px;}
	
}

/*----------BELOW 980--------*/

@media only screen and (max-width:980px){
	
	#tdgLogo {
		text-align: center;
		position: static;
		width: 200px  !important;
		height: 35px  !important;
		right: 0px;
		top: 0px;
		margin-top: 20px;
	}
	
	nav {
		display: inline-block;
		position: static;
		white-space: wrap;
	}
	
	#subNav {
		line-height: 24px;
		margin-top: 0px;
		margin-bottom:; 20px;
		display: inline-block;
		position: static;
		white-space: wrap;
	}
	
	#subNav a {font-size: 17px;}
	#subNav a:nth-child(2):after {content:"\A"; white-space:pre;}
	
	.grid {margin-top: 0px;}
	
	#pImage {
		width: 400px;
		height: 400px;
	}
	
	#mrecHolder {
		height: 400px;
		width: 400px;
	}

	nav {font-size: 20px;}
	
}

/*----------BELOW 600--------*/

@media only screen and (max-width:600px){
	.container {width: 480px;}
	
	#subNav a:nth-child(2):after, #subNav a:nth-child(3):after  {content:"\A"; white-space:pre;}
	
	#pImage {
		width: 400px;
		height: 400px;
	}
	
	#mrecHolder {
		height: 400px;
		width: 400px;
	}
}

/*----------BELOW 500--------*/

@media only screen and (max-width:500px){
	.container {width: 380px;}
	nav {font-size: 18px;}
	#subNav a {font-size: 16px;}
	
	.featureText br {
		display: none;
	}

	.speel p br {
		display: none;
	}
	
	.content {
		font-size: 14px;
	}
	
	#pImage {
		width: 350px;
		height: 350px;
	}
	
	#mrecHolder {
		height: 350px;
		width: 350px;
	}
	
	#description p br {
		display: none;
	}
}



/*----------BELOW 400--------*/

@media only screen and (max-width:400px){
	#tdgLogo {width: 180px  !important;}
	nav {font-size: 18px;}
	#subNav a {font-size: 15px;}
	#pImage {
		width: 300px;
		height: 300px;
	}
	#mrecHolder {
		height: 300px;
		width: 300px;
	}
	
	#dig1 {
	width: 240px;
	height: 200px;
	background-image: url("../images/portfolio/digital-1.gif");
	background-size: cover;
	background-size: contain;
	background-size: 240px 200px;
	background-repeat: no-repeat;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	}
	
}

/*----------iPhone se - 320 x 460--------*/
/*----------iPhone 6 - 375 x 667--------*/
/*----------iPad - 768 x 1024--------*/
