/*
Theme Name: Port - Synchronic
Theme URI: http://themetrust.com/port
Author: ThemeTrust
Author URI: http://themetrust.com
Description:  A Sleek and Sylish Agency Theme
Template: portthemetrust
Version: 1.1.1
License: GPL 2.0
License URI: license.txt
Tags: portfolio, responsive, blog, clean, minimal, white, two-columns, threaded-comments, translation-ready, custom-menus
*/
html {
	scroll-behavior: smooth;
}
.home #header #logo {
	-o-transition: .5s;
	-ms-transition: .5s;
	-moz-transition: .5s;
	-webkit-transition: .5s;
	transition: .5s;
}

#header .top.solid, #header .top, .has-banner #header .top.solid {
	opacity: 0.9;
}
#content .project.small .title span {
	width: 80%;
}
#header .top.solid #logo {
	opacity: 1;
}

#header .menuToggle{
	display: none;
	background-clip: content-box;
}

#header div.menu {
	display:flex;
	justify-content: flex-end;
	flex-direction: row;

	-o-transition: .5s;
	-ms-transition: .5s;
	-moz-transition: .5s;
	-webkit-transition: .5s;
	transition: .5s;
}

/* Display list items side by side */
#header div.menu li {
	display:inline-block;
    line-height: 100%;
    color:white;
}

/* Add a slash symbol (/) before/behind each list item */
#header div.menu li+li:before {
    padding: 8px;
    color: white;
    content: " | ";
}

/* Add a color to all links inside the list */
#header div.menu li a {
    color: white;
    text-decoration: none;
}

#musicSearch {
	display:inline-block;
	margin-top:-2px;
}

#musicSearch input {
	padding: 5px;
}

#musicSearch .searchText{
	width:150px;
}

#musicSearch .searchButton{
	font-weight:normal;
}

.section-link {
	display:block;
	position: absolute;
	margin-top:-67px;
}

.home #bannerLinks .bannerLeft {
	display:none;
}

#homeBanner #bannerText{
	display: block !important;
}
.homeSection .sectionHead .insideTitle {
    width: auto;
    display: inline-block;
}
.homeSection .sectionHead h3 {
	font-weight: 200;
}

#testimonials .sectionHead p {
	font-size: 1.4em;
}
#bannerText .main {
	background: url(/wp-content/uploads/2014/07/logo5-original.png) no-repeat center center;
	 position: relative;
	width: 642px;
	height: 75px;
	margin-left: auto;
	margin-right: auto;
	-webkit-background-size: 100%;
	-moz-background-size: 100%;
	-o-background-size: 100%;
	background-size: 100%;
}

#bannerText .secondary {
	background: url(/wp-content/uploads/2020/01/synchronic-subhead.png) no-repeat center center;
	position: relative;
	width: 650px;
	height: 1em;
	margin-left: auto;
	margin-right: auto;
	-webkit-background-size: 100%;
	-moz-background-size: 100%;
	-o-background-size: 100%;
	background-size: 100%;
}

#slideNav #mainNav li a {
	color: #fff !important;
}

.widgets .widgetBox ul li {
	font-size: 30px !important;
	padding: 5px !important;
}

#content a {
	-webkit-transition: all 500ms ease !important;
    -moz-transition: all 500ms ease !important;
    -o-transition: all 500ms ease !important;
    transition: all 500ms ease !important;
}

#pageHead h1 {
	line-height: 1.1em !important;
}

#container #pageHead .inside h1 {
	display: block;
}

.single #container #pageHead .inside h1 {
	float: left;
}

.page-template-page-collections-php .homeSection {
	padding: 0;
}

.homeSection .viewAll {
	float: right !important;
	position:  static !important;
}

.homeSection .viewAll .button{
	color: #de5f4d !important;
}

.homeSection .viewAll .button:hover{
	color: #de5f4d !important;
}

#projects.homeSection .sectionHead, #homePosts.homeSection .sectionHead {
	text-align: left;
}
.homeSection .sectionContact p{
	font-size: 1em;
	margin: 0;
	color: #fff;
	display: inline-block;
	width: 100%;
	text-align: center;
}
.homeSection .sectionContact {
	bottom: 0;
	position: absolute;
	width: 100%;
	font-size: 1em;
	font-weight: 700;
	/*position: relative;*/
 }

.sectionContact a {
    display: inline !important;
}
#homeContent.homeSection {
    padding: 120px 0 120px!important;
    position: relative;
}
#featuredPages.full {
    background-position: 30% 50%!important;
    position: relative;
}

.trailerpark_link {
	color: #de5f4d !important;
}

/*Specifics*/
.home #header #logo {
	opacity: 0;
}
.home #header #logo.showLogo {
	opacity: 1;
}
.home #header #logoMask {
	width: 235px;
	height: 77px;
	position: absolute;
	z-index: 9999;
}

.home #bannerLinks {
	bottom: 0;
	position: absolute;
	width: 100%;
	font-size: 1em;
	font-weight: 700;
	display: none;
}

.home #bannerLinks .bannerLeft {
	float: left;
	margin: 7px 25px 7px 7px;
	display: none;
}

.home #bannerLinks .bannerRight {
	float: right;
	margin: 7px 35px 7px 7px;
	display: none;
}

.home #bannerLinks .trailerpark_logo {
	display: inline-block;
	width: 28px;
	height: 21px;
	background: url(/wp-content/uploads/2014/09/trailerpark_logo.png) no-repeat;
	background-size: 30px;
	position: absolute;
	display: none;
}

.play_icon {
	display: inline-block;
	width: 22px;
	height: 19px;
	background: url(/wp-content/uploads/2014/09/video_play.png) no-repeat;
	background-size: 20px;
	position: absolute;
	margin-left: 4px;
}

#projects .wrap {
	margin-left: 0px;
	margin-right: 0px;
}

#projects .tiling {
	display:flex;
	flex-wrap: wrap;
}

#projects .tiling img{
	/* max-height: 200px; */
	object-fit: cover;
	object-position: top;
}

#projects .tile {
	flex-basis:33.33%;
	margin:0px;
}

#content #projects .project.small .inside {
	margin:0px !important;
	background-color: grey;
	overflow: hidden;
}

#projects .tile img{
	width:100% !important;
}

#projects .project .imgCaption {
	bottom: 0;
	position: absolute;
	color: #fff;
	margin: 0;
	padding: 4px 12px 4px;
	font-size: 0.7em!important;
	opacity: 0.6;
}

#homePosts .project .imgCaption {
	display:none;
}

#pageHead .single-project .projectNav {
	display: inline-block !important;
	float: right;
	margin-top: 0 !important;
	position:  static !important;
}

#pageHead p {
	color: inherit !important;
}

#content #projects .project.small a:hover .imgCaption,
#content #projects .project.small a:hover .imgCaption.trailerpark {
	opacity: 1;
}

.admin-bar #header .top {
	top:32px;
}

#header .top.solid, #header .top, .has-banner #header .top.solid {
	/* background-color: #52a3ba; */
	background-color: #4e555b;
}

#featuredPages.hasBackground p{
	color: #fff !important;
}

#homeContent.homeSection p br {
	display: none;
}

/*Specifics for HT_Social_Widget_Display*/
.HT_Social_Widget_Display ul li {
	font-size: 29px!important;
	margin-right: 15px!important;
}

#lightbox {
	display:none;
	position: fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background-color: rgba(0,0,0,.85);
	z-index:1000;
	justify-content: center;
	align-items: center;
}

#lightbox.show {
	display:flex;
}
#lightbox .close-btn {
	position: absolute;
	top:0;
	right:0;
	font-size: 2em;
	padding: 20px;
	margin-right:15px;
	background-color: transparent;
	color:white;
	border:none;
}
#lightbox .inner-wrapper{
	width:85%;
	background-color:black;
	background-color: transparent;

}
#lightbox .inner {
    position: relative;
	width:100%;
    height:0;
    padding:0;
    padding-top: 56.25%;
    overflow: hidden;
}

#lightbox iframe{
	position: absolute;
	top:0;
	left:0;
	background-color:black;
	background-color: transparent;
}

#lightbox .desc{
	margin-top: 25px;
	padding-left:15px;
	padding-right:15px;
	text-align: justify;
}

@media (max-aspect-ratio: 4/3){
	#lightbox .inner-wrapper{
		width:100%;
	}
}

/* separate media query to accomodate search bar */
@media only screen and (max-width: 850px) {
	#header .menuToggle{
		display: block;
	}

	#header .menuToggle.collapse{
		padding-top: 7px;
		height: 10px;
	}
	
	#header div.menu {
		/* opacity:0; */
		position: absolute;
		width:100%;
		justify-content: center;
		text-align: center;
	}

	/* animates the project grid with fade animation when using filter */
	#header div.menu {
		-moz-animation-name: fadeOutAnim;
		-webkit-animation-name: fadeOutAnim;
		-ms-animation-name: fadeOutAnim;
		animation-name: fadeOutAnim;
		-moz-animation-duration: 0.5s;
		-webkit-animation-duration: 0.5s;
		-ms-animation-duration: 0.5s;
		animation-duration: 0.5s;
		-moz-animation-timing-function: ease;
		-webkit-animation-timing-function: ease;
		-ms-animation-timing-function: ease;
		animation-timing-function: ease;
		-moz-animation-fill-mode: forwards;
		-webkit-animation-fill-mode: forwards;
		-ms-animation-fill-mode: forwards;
		animation-fill-mode: forwards;  
	}

	@-moz-keyframes fadeOutAnim { 0% { opacity: 1; } 100% { opacity: 0; visibility:hidden;}}
	@-webkit-keyframes fadeOutAnim { 0% { opacity: 1;} 100% { opacity: 0; visibility:hidden;}}
	@-ms-keyframes fadeOutAnim { 0% { opacity: 1;} 100% { opacity: 0; visibility:hidden;}}
	@-keyframes fadeOutAnim { 0% { opacity: 1;} 100% { opacity: 0; visibility:hidden;}}

	/* animates the project grid with fade animation when using filter */
	#header div.menu.show {
		-moz-animation-name: fadeInAnim;
		-webkit-animation-name: fadeInAnim;
		-ms-animation-name: fadeInAnim;
		animation-name: fadeInAnim; 
	}

	@-moz-keyframes fadeInAnim { 0% { visibility:visible; opacity: 0; } 100% { opacity: 1;}}
	@-webkit-keyframes fadeInAnim { 0% { visibility:visible; opacity: 0;} 100% { opacity: 1;}}
	@-ms-keyframes fadeInAnim { 0% { visibility:visible; opacity: 0;} 100% { opacity: 1;}}
	@-keyframes fadeInAnim { 0% { visibility:visible; opacity: 0;} 100% { opacity: 1;}}
	
	#header div.menu.show {
		opacity:1;
	}
	#header .top.solid #logo.hide, #logo.hide{
		opacity:0;
	}

	

}

@media only screen and (max-width: 735px) {
#header .menuToggle.collapse{
	padding-top: 5px;
	height: 10px;
}

#musicSearch {
	margin-top:-5px;
}

.homeSection .viewAll {
	float: none !important;
}
.home #inner {
    padding: 0 !important;
}
#header .top-spacer{
	position:relative;
	height:49px;
}

#header .top { position: fixed; }

.home.has-banner #header .top {
	background-color: #4e555b;
}

.home #header #logo {
	opacity:1;
}
.home #header #logo.hide {
	opacity:0;
}

.homeSection, #homeBanner {
	background-attachment: fixed !important;
}

#header #homeBanner #bannerText .main {
	margin-top: -100px !important;
	background-size: 100%;
	width:100%;
}
#header #homeBanner #bannerText .secondary {
	background-size:100%;
	width:100%;
}
	.homeSection .sectionHead .insideTitle {
		display: block;
	}
	.homeSection .sectionContact {
		position: relative;
		bottom: 32px;
		margin: 25px 0 0;
		padding: 0;
		height: auto;
	}
	#featuredPages {
		padding: 60px 0 20px 0 !important;
	}

	#content .project.small .inside {
		margin:0px !important;
	}

	#projects .tile {
		flex-basis:50%;
	}

}

/* separate media query to accomodate search bar */
@media only screen and (max-width: 675px) {
	.homeSection, #homeBanner {
		background-attachment: scroll !important;
	}

	#header .menuToggle {
		top:25px;
	}

	#header div.menu {
		position:relative;
		padding-left:20px;
		top:-10px;
		height:0px;
		overflow: hidden;
	}

	#header div.menu.show{
		height:auto;
	}

	#header div.menu li{
		display:block;
	}

	#header div.menu li{
		display:block;
		padding-bottom:20px;
	}
	#header div.menu li:last-of-type{
		padding-bottom:0px;
	}
	#header div.menu li+li:before {
		padding: 0px;
		content: "";
	}

	.section-link {
		margin-top:-49px;
	}
}	

@media screen and (max-width: 480px) {

	.home .flex-caption p {
		font-size: 1em !important;
	}
.home #bannerLinks, .home .sectionContact .servicesLeft {
		font-size: 0.7em;
		display: none;
	}
	.home .sectionContact .play_icon {
				bottom: -2px;

	}

	#content .project.small .inside {
		margin:0px !important;
	}

	#projects .tile {
		flex-basis:100%;
	}
	#lightbox .close-btn {
		margin-right:0px;
	}
}