/* override the bootstrap styles */

.row {
	margin-right: 0;
	margin-left: 0;
}

/*.col, .col-sm, .col-md {
	padding-right:0px;
	padding-left:0px; 
}
*/
.row img {
	width: 100%; /* To make the image scale with the column size. */
}

.navbar-expand-md .navbar-nav .nav-link {
	padding: 0px;
}

.navbar-expand-lg .navbar-nav .nav-link {
	padding: 0px;
}

.navbar-dark .navbar-toggler {
	color: rgba(255, 255, 255, 0.5);
	border-color: rgba(255, 255, 255, 0.4);
}

.navbar-dark .navbar-toggler:focus { 
	outline: none !important;
}

.embed-responsive-1by1 {
  width: 56.6%;
}

.embed-responsive-9by5 {
  width: 45%;
}

.embed-responsive-9by5::before {
  padding-top: 100%;
}

.modal-body {
	padding: 0;
}

.modal-content {
	border: none;
}

.navbar-brand {
	padding: 0;
}


/* begin custom css */

body {
	font-family: 'Montserrat', sans-serif;
	position: relative;
}

a, a:visited, a:hover, a:link {
	text-decoration: none;
	display: inline-block;
}
a:hover {
	text-decoration: none;
	display: inline-block;
}
.link:hover {
	border-bottom: 2px solid #d0021b; /* orig 3px */
	padding-bottom: 4px; /* orig 12px */
}


.companies:hover {
	opacity: 1;
}


#container {
	background-color: #f7f7f7;
}

#header {
	position: relative;
	padding-left: auto;
	padding-right: auto;
	width: 100%;
	background-color: #1F8F9D;
}

#navContainer {
	/* height: 160px; /*224*/
	padding: 32px 0 32px 0;
	background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0));
	/*z-index: 1;*/
}

#navigation {
	max-width: 1248px;
	padding: 0 96px 0 96px;
	margin-right: auto;
	margin-left: auto;
}


.navName {
}

.navName .link {
	font-weight: 900;
	font-size: 2.25rem; /*48px in designs. 36px coded.*/
	/* line-height: 160px; /*224*/
	text-transform: uppercase;
	text-align: center; 
	color: #fff;
}

.navLinks {
}

.navLinks .link {
	font-weight: 400; /*300*/
	font-size: 1.125rem; /*24px in designs. 18px coded.*/
	line-height: 1.33; /*224px in designs. 24px coded.*/
	text-transform: uppercase;
	text-align: center; 
	margin-left: 24px;
	color: #fff;
}

.navLinks .nav-item {
	padding-top: 8px; /* orig 4px */
	padding-bottom: 4px; /* orig 8px */
}

#slideshow {
	/* position: relative; */
	margin: 0px auto 0px auto;
	width: 100%;
	max-height: 960px; /* need to specify that this this will be 160px tall at the smallest width */
	background-color: #333333;
	z-index: 0;
}

#flexsliderCarousel img {
	width: 100%;
	height: 700px;
	object-fit: cover;
}

.flexslider {
	border: none;
	height: 240px;
	background-color: inherit;
	max-width: 960px;
	margin: 0 auto;
	overflow: hidden;
}

.slides {
	border: none;
	width: 960px;
	height: 240px;
	position: absolute;
	left: 50%;
	margin-left: -480px;
}

.flex-control-nav {
	bottom: 15px;
	z-index: 100;
}

.carousel-indicators li {
	width: 44px;
	height: 4px;
	margin-right: 6px;
	margin-left: 6px;
}

#body {
	position: relative;
	padding: 80px;
	max-width: 1248px;
}

.divider {
	margin-top: 64px;
	border-bottom: 2px solid #E00707;
	margin-bottom: 64px;
	margin-left: 16px;
	margin-right: 16px;
}

#about .spacer {
	width: 32px;
}

#aboutText {
	padding-left: 16px;
	padding-top: 24px;
	padding-right: 16px;
}

.headshot1 {
	padding: 16px;
}

.pSpace {
	padding-top: 32px;
}

.titleText {
	font-size: 1.125rem; /* 18px coded */
	line-height: 1.33; /*24px coded */
	margin-bottom: 16px;
	font-weight: 600;
	/*color: #E00707;*/
	/*font-style: italic;*/
}

.bodyText {
	font-size: 1rem; /*14px coded --> 16px coded*/
	line-height: 1.375; /*18px coded --> 22px coded*/
	margin-bottom: 12px; /*8px originally*/
}

.videoText {
	font-size: 1rem; /*14px coded --> 16px coded*/
	line-height: 1.375; /*18px coded --> 22px coded*/
	padding-top: 0px;
	margin-bottom: 0px;
}

#gallery {
	padding: 14px;
}

.gallery-image {
	padding: 2px;
	height: 100%;		
}

#videos {
	-webkit-overflow-scrolling: touch;
	overflow-x: auto;
	margin-left: calc(50% - 50vw);
	width: 100vw;
	padding-left: calc(50vw - 540px);
    padding-top: 16px;
    padding-bottom: 16px;
}

#videos::-webkit-scrollbar { 
    display: none; 
}


#videos .row {
	width: 175%; /* Updated by Javascript */
}

#videos .col {
	padding: 0 12px 0 12px;
}

#videos p.titleText {
	margin-top: 24px;
}

#resume {
	padding: 0 16px 0 16px;
}

#performances {
	padding: 16px 0 16px 0;
}

#instruction {
	padding: 16px 0 16px 0;
}

#footer {
	padding: 96px;
	background-color: #333;
	position: relative;
	bottom: 0;
}

#contact .col {
	padding: 32px; /*16px*/
	max-width: 192px; /*160px image + 16px padding on each side*/
	text-align: center;
}

/* Style all font awesome icons */
.fa {
  font-size: 32px;
  width: 64px;
  height: 64px;
  line-height: 64px;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
}

/* Add a hover effect if you want */
.fa:hover {
	color: #333;
	background: rgba(255,255,255,1.0);
}

/* Set a specific color for each brand */

/* Facebook */
.fa-facebook {
  background: rgba(255,255,255,0.4);
  color: #333;
}

/* Instagram */
.fa-instagram {
  background: rgba(255,255,255,0.4);
  color: #333;
}

/* E-Mail */
.fa-envelope {
  background: rgba(255,255,255,0.4);
  color: #333;
}

.companies {
	/*width: 160px;*/
	opacity: 0.4;  /* orig 0.3*/
	/*margin: 48px 64px;*/
}


/** Responsive modifications **/

@media (max-width: 1248px) {
	#videos {
		padding-left: 80px; 
	}
}

@media (max-width: 1080px) {
	.link:hover {
		border-bottom: none;
		padding-bottom: 0px;
	}

	.navLinks .link {
		margin-left: calc(4px + 20 * ((100vw - 600px) / (480)));
		font-size: calc(10px + 8 * ((100vw - 600px) / (480)));
		color: #fff;
	}

	.navName .link {
		font-size: calc(16px + 22 * ((100vw - 600px) / (480)));
	}

	#about .spacer {
		width: 0px;
	}
}

@media (max-width: 800px) {
	.navName .link {
		font-size: 30px;
	}

	#contact .col {
		padding: 16px;
	}	
}


@media (max-width: 600px) {

	#navContainer {
		/* height: 160px; /*224*/
		padding: 14px 0 14px 0;
		background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0));
		/*z-index: 1;*/
	}

	.navName .link {
		font-size: calc(24px + 22 * ((100vw - 320px) / 600));
	}

	.navLinks .link {
		margin-left: 8px;
		margin-right: 8px;
		font-size: 16px;
		color: #fff;
	}

	#flexsliderCarousel img {
		height: calc(100vw);
	}
	#navigation {
		padding-right: 16px;
		padding-left: 16px;
	}
	#body {
		padding-left: 0px;
		padding-right: 0px;
		padding-top: 8px;
		padding-bottom: 8px;
	}

	#body .row {
		padding-left: 8px;
		padding-right: 8px;
	}

	#videos {
		margin-left: -0px;
		margin-right: -0px;
		padding-left: 0px;
		padding-right: 0px;
	}
	#footer {
		padding: 16px;
	}
	.divider {
	    margin-top: 24px;
	    margin-bottom: 24px;
	}

	.fa {
		font-size: 24px;
		width: 48px;
		height: 48px;
		line-height: 48px;
	}

}



