/*
 Theme Name:   Boat Studios Theme - Divi Child
 Theme URI:    http://www.boststudios.uk
 Description:  A child theme adding specific styles for Boat Studios
 Author:       Think Digitally
 Author URI:   http://www.thinkdigitally.com
 Template:     Divi
 Version:      1.0.0
 Text Domain:  divi-boatstudios-child
*/



@font-face {
	font-family: 'Miller Display';
	src: url('/wp-content/themes/Divi-ThinkDigitally/fonts/Miller-Display.eot');
	src: url('/wp-content/themes/Divi-ThinkDigitally/fonts/Miller-Display.eot?#iefix') format('embedded-opentype'),
		url('/wp-content/themes/Divi-ThinkDigitally/fonts/Miller-Display.woff2') format('woff2'),
		url('/wp-content/themes/Divi-ThinkDigitally/fonts/Miller-Display.woff') format('woff'),
		url('/wp-content/themes/Divi-ThinkDigitally/fonts/Miller-Display.ttf') format('truetype'),
		url('/wp-content/themes/Divi-ThinkDigitally/fonts/Miller-Display.svg#Miller-Display') format('svg');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'MillerDisplay';
	src: url('/wp-content/themes/Divi-ThinkDigitally/fonts/MillerDisplay-Bold.eot');
	src: url('/wp-content/themes/Divi-ThinkDigitally/fonts/MillerDisplay-Bold.eot?#iefix') format('embedded-opentype'),
		url('/wp-content/themes/Divi-ThinkDigitally/fonts/MillerDisplay-Bold.woff2') format('woff2'),
		url('/wp-content/themes/Divi-ThinkDigitally/fonts/MillerDisplay-Bold.woff') format('woff'),
		url('/wp-content/themes/Divi-ThinkDigitally/fonts/MillerDisplay-Bold.ttf') format('truetype'),
		url('/wp-content/themes/Divi-ThinkDigitally/fonts/MillerDisplay-Bold.svg#MillerDisplay-Bold') format('svg');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}

h1, h2, h3, h4, h5, h6, p, .et_pb_button {
	font-family: 'Miller Display';
}

#et-top-navigation nav>ul>li>a {
		font-family: 'Miller Display';
	font-weight:100;
}

.home #main-header{
opacity:0;
}

.home #main-header .logo_container {
	display:none;
}

.home #main-header.et-fixed-header {
	opacity:1;
}

.home #main-header.et-fixed-header .logo_container {
	display:block;
}

/**** TEAM MODULE ****/
.teamMin .et_pb_team_member {
	position:relative;
	overflow:hidden;
}
.teamMin .et_pb_team_member_description {
	position:absolute;
	top:0px; left:0px;
	width:100%;
	height:100%;
	padding:20px;
	background-color:rgba(255,255,255,0.9);
	color:black;
	opacity:0;
	transform:translateY(100%);
			-webkit-transform:translateY(100%); -moz-transform:translateY(100%); -ms-transform:translateY(100%);
	transition:0.4s ease-out;
			-webkit-transition:0.4s ease-out; -moz-transition:0.4s ease-out; -ms-transition:0.4s ease-out; -o-transition:0.4s ease-out;
}
.teamMin .et_pb_team_member:hover .et_pb_team_member_description {
	opacity:1;
	transform:translateY(0%);
			-webkit-transform:translateY(0%); -moz-transform:translateY(0%); -ms-transform:translateY(0%);
}
.teamMin .et_pb_team_member_image {
	margin-bottom:0px;
}

.teamMin .et_pb_team_member img {
	width:100%;
}

.teamMin h4 {
	color:black !important;
}
.teamMin p.et_pb_member_position {
	color:#aaa;
}

.teamMin .et_pb_team_member_description {
    overflow: auto;
    }