/*
Theme Name: Chung
Author: Studio Faculty
Author URI: http://studiofaculty.com/
Text Domain: chung
*/

/* GENERAL------------------------------------------------------------ */

html, body { background: #F5F1E9; padding: 0; margin: 0; }
body { color: #222222; font: 17px "Tiempos Regular", Times New Roman, serif !important; line-height: 1.6 !important; color: #37362E !important; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;}
img { max-width: 100%; height: auto; }
a, a:hover, a:visited { color: #222222; text-decoration: none; transition: all 0.3s ease-in-out; }
ul { padding: 0; margin: 0; }
h1, h2, h3 { font-weight: normal; font-size: 19px; }

li { list-style: none; }

::selection { background: transparent; color: #999999; }
input:focus, select:focus, textarea:focus, button:focus { outline: none; }
input:focus::-webkit-input-placeholder { color:transparent; transition: all 0.3s ease-in-out; }
input:focus:-moz-placeholder { color:transparent; transition: all 0.3s ease-in-out; }

div.hidden { position: fixed; z-index: 10; background: #F5F1E9; top: 0; bottom: 0; left: 0; right: 0; width: 100%; height: 100%; }


/* NAVIGATION------------------------------------------------------------ */

.logo { display: inline-block; padding: 16px 0 0 0px; }
.logo h1 { font-family: "Tiempos Headline Light", Times New Roman, serif; letter-spacing: 0.01em; font-size: 21px; margin: 0; }
#access { float: right; display: inline-block; padding: 20px 0px 0px 0; }
#access li { font-family: "Tiempos Headline Light", Times New Roman, serif; letter-spacing: 0.01em; font-size: 21px; padding: 0px; margin: 0 8px; display: inline-block; }

.mobile-menu { display: none; }

.current-menu-item {
  border-bottom: 1px solid #333333; padding-bottom: 4px;
}

.menu-secondary-container .current-menu-item,
.menu-footer-links-container .current-menu-item {
	border-bottom: none; padding-bottom: 0px;
}

#access li a:hover { color: #777 !important; }

#page { max-width: 1640px; margin: auto; }

  .nav-up { top: -68px !important; transition: all 0.3s ease-in-out !important; }
  .nav-down { top: 0px; z-index: 1 !important; border-bottom: 1px solid #666666; transition: all 0.3s ease-in-out;}
  .chung-menu {
      opacity: 1;
	  position: fixed;
      top: 0px; left: 0px;
      display: table;
      padding: 0 25px;
      height: 68px;
      width: calc(100% - 50px);
      background: #F5F1E9;
      z-index: 1;
      margin: 0;
	  transition: all 0.3s ease-in-out;
  }

	.chung-inner {
		max-width: 1588px;
		margin: auto;
	}

.info { opacity: 0; display: inline-block; padding: 20px 0 0 20px; transition: all 0.3s ease-in-out; }
.info li { list-style: none; font-family: "Tiempos Headline Light", "Times New Roman", serif; letter-spacing: 0.01em; font-size: 21px; display: inline-block; padding: 0 8px; }
.info li a { color: #999999; }
.info li a:hover { color: #333333; }

.mobile-info.menu-main-menu-container { display: none; }

.search { transition: all 0.3s ease-in-out; }
.search a { color: #999999; position: relative; z-index: 11; }

.search-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(32, 26, 13, 0.8);
	z-index: 10;
	cursor: crosshair;
}

.search-overlay .post-tags { letter-spacing: 0.01em; font-family: "Tiempos Headline Light", "Times New Roman", serif; padding: 0px 34px 0; }
.search-overlay li { width: auto; text-align: right; font-size: 21px; }
.search-overlay li a { color: #FFFFFF; opacity: 1; }
.search-overlay li a:hover { opacity: 0.5; }
.search-overlay li.close { cursor: pointer; color: #FFFFFF; padding: 20px 0 33px; }
.post-tags .count { font-size: 11px; vertical-align: super }
.secondary li { font-size: 18px; }


/* HOMEPAGE-------------------------------------------------------------- */

.home-featured { font-family: "Tiempos Headline Light", "Times New Roman", serif; padding: 20px 25px 100px; }
.home-featured img { width: 100%; transition: all 0.3s ease-in-out; backface-visibility: hidden; }

.tags { font-size: 13px; font-family: "Times New Roman", serif; font-style: italic; }
.tags a { color: #555; }

	/* Hover */
	.home-featured a:hover,
	.work-post a:hover { opacity: 0.8 !important; transition: all 0.3s ease-in-out; }

.featured-1 { display: flex; align-items: center; }
.f-1-l { width: calc(50% - 3px); display: inline-block; padding-right: 50px; }
.f-1-p { width: calc(50% - 3px); display: inline-block; text-align: center; }
  .f-1-p .inner { padding: 120px; }
.featured-title {  letter-spacing: 0.01em; padding: 10px 0 30px; }

.f-1-2-l { width: calc(50% - 3px); display: inline-block; padding-left: 50px; }

.f-2-l { padding: 20px 0; clear: both; display: block; text-align: right; }
  .f-2-l .inner { width: 60%; display: inline-block; }
  .f-2-l .inner .featured-title { text-align: left; }

.f-3-1 { width: 100%; }



/* ALBUM ----------------------------------------------------------------- */

.album {
  display: flex;
  justify-content: flex-start;
	flex-wrap: wrap;
  flex-direction: row;
  padding: 170px 12px;
  align-items: center;
}

.album li {
  width: 12%;
  padding: 0 13px 35px;
}

.album img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}



/* WORK ----------------------------------------------------------------- */

.recent-work {
	border-top: 1px solid #666666;
	padding: 10px 25px 25px;
}

.archive .recent-work,
.page-template-projects-page .recent-work,
.page-template-personal-page .recent-work { padding: 160px 25px; }
#content { padding: 160px 25px 40px }

.filter { color: #999999; }
.page-title-filter { border-bottom: 1px solid #CCC; padding-bottom: 10px; margin-bottom: 20px; }

.recent-work .inner {
	display: flex;
  	justify-content: center;
	flex-wrap: wrap;
	transition: all 0.3s ease-in-out;
}

.recent-work .inner .work-box { display: inherit; align-items: flex-end; }

.work-post { margin: 15px 15px 40px 15px; }

.work-post img {
	max-width: 370px;
	max-height: 330px;
	width: auto;
	height: auto;
	object-fit: contain;
	object-position: left;
	transition: all 0.3s ease-in-out;
}

.work-title { margin-top: 5px; font-size: 17px; display: block; }

.work-thumb-view {
  display: flex;
  justify-content: flex-start;
	flex-wrap: wrap;
  flex-direction: row;
  padding: 0px 12px 130px;
  align-items: center;
}
.work-thumb-view li {
  width: 9%;
  padding: 0 13px 35px;
}

.work-thumb-view img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.project-text { color: #777; max-width: 40%; font-size: 14px; margin: 150px 0 60px; padding: 0 0 0 25px; }
.project-text h1 { font-size: 21px; margin: 0; }
.project-text p a { color: #777; text-decoration: underline; }

#nav-single { padding: 30px 25px; }
#nav-single a { color: #777; }
#nav-single a:hover { color: #222; }


/* Information ----------------------------------------------------------------- */

body.page-template-information { background: #222222; }
.page-template-information .chung-menu { background: #222222; }
.page-template-information .chung-menu a,
.page-template-information .info li a:hover, 
.playlist a:hover { color: #FFFFFF; }
.page-template-information .info li a { color: #999999; }
.page-template-information .nav-down { border-color: #444444; }
.page-template-information #content { padding-top: 200px; }
.page-template-information #content { color: #FFFFFF; display: flex; }
.page-template-information #colophon { color: #FFFFFF; }
.page-template-information #content a,
.page-template-information #colophon a { color: #FFFFFF; }
.playlist, .playlist a { color: #999999; }

.page-template-information .mobile-menu { color: #FFFFFF; }

.info-intro { font-size: 19px; width: 60%; padding-right: 8%; }
.info-contact { width: 50%; }
.clients, .press, .playlist {
  border-top: 1px solid #333333;
  padding: 10px 25px 50px 25px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  font-size: 17px;
}
  .clients div, .press div { width: calc(50% - 20px); padding-right: 20px; }
  .clients li, .press li { list-style: none; display: inline-block; }
  .clients li::after, .press li::after { content: " / " }

  .press ul:last-child { margin-top: -1em; }
  .press em { font-size: 13px; }

  .playlist div { width: 20%; padding-right: 20px; display: block; clear: both; }



/* Journal -------------------------------------------------------------- */

.journal-area .inner { 
	padding: 150px 20px 0;
	display: flex;
  	justify-content: flex-start;
	flex-wrap: wrap;
	transition: all 0.3s ease-in-out;	
}

.journal-area .footer { 
	padding: 30px 20px 0;
	display: flex;
  	justify-content: flex-start;
	flex-wrap: wrap;
	transition: all 0.3s ease-in-out;	
}

.journal-area .work-box {
	width: 25%;
}

.journal-area .journal.work-box {
	width: 25%;
	border-bottom: none;
}

.journal-area .work-post {
	margin: 25px 4px 30px 4px;
}

.journal-area .work-post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: left;
    transition: all 0.3s ease-in-out;
}

.journal-excerpt {
	color: #777;
	font-size: 13px; font-family: "Times New Roman", serif;
	width: 90%;
}

.journal-excerpt a { color: #777; }

.journal-thumb-view {
	display: flex;
  	justify-content: flex-start;
	flex-wrap: wrap;
  	flex-direction: row;
  	padding: 0px 0px 130px;
  	align-items: center;
}
.journal-thumb-view li { 
	width: 21%;
	margin: 25px;
}

.journal-thumb-view .caption { position: absolute; color: #777; font-size: 13px; margin-top: 3px; }

.journal-thumb-view img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.journal-text { color: #777; max-width: 30%; font-size: 14px; margin: 150px 0 60px; padding: 0 0 0 25px; }
.journal-text h1 { font-size: 19px; margin: 0; }
.journal-text p { margin: 2px 0; }


/* FOOTER --------------------------------------------------------------- */


#colophon {
  font-family: "Tiempos Headline Light", "Times New Roman", serif;
  letter-spacing: 0.01em;
  padding: 15% 0px 20px;
}

#colophon a { color: #37362E; }

#supplementary { display: flex; }
#supplementary div { justify-content: space-between; }
#first { display: inline-block; width: 15%; padding-left: 25px; }
#second { display: inline-block; width: 50%; text-align: center; margin: auto; }
#third { display: inline-block; width: 14%; padding-right: 25px; text-align: right; }
.widget-area ul { margin: 0; }
.widget-area li { display: inline-block; }
.widget-area li:first-child:before { content: ""; padding: 0px; }
.widget-area li:before { padding: 0 3px 0 0px; content: "/" }
.widget-area .textwidget p { margin: 0; }


/* RESPONSIVE------------------------------------------------------------ */

/* 1160px */
@media screen and (max-width : 1160px) {
	.album li {
		width: 13.5%;
	}
	#first { width: 17%; }
	#second { width: 55%; }
	#third { width: 17%; }
}
	
/* 980px */
@media screen and (max-width : 980px) {
	.logo h1,
	#access li,
	.info li,
	.project-text h1 {
		font-size: 19px;
	}
}

/* Tablet */
@media screen and (max-width : 900px) {
	
	/* Navigation */
	.info { display: none; }
	.mobile-menu { cursor: pointer; display: inline-block; float: right; font-size: 26px; width: 16px; vertical-align: top; margin-top: 12px; }
	.menu-main-menu-container { display: none; }
	.menu-main-menu-container:first-child { margin-top: 30px; }

	.mobile-info { display: block; margin-bottom: 40px; }

	.chung-menu { height: 66px; }
	#access { float: none; width: 100%; display: inline; }
	#access li { 
		display: block;
		padding: 5px 0;
		border-bottom: 1px solid #CCC;
		margin: 0;
	}
	#access li.current-menu-item { border-bottom: 1px solid #222222; }
	#menu-main-menu a { display: block; }	
	
}

/* Mobile */
@media screen and (max-width : 509px) {
	
	.logo h1,
	#access li,
	.info li { font-size: 18px; }
	

	/* Homepage */
	.featured-1 { display: block; }
		.f-1-l, .f-1-p, .f-1-2-l, .f-3-l { width: 100%; padding: 0 0 20px; text-align: left; }
		.f-1-p .inner { padding: 0; }
		.f-2-l .inner { width: 100%; }

	.recent-work .inner { justify-content: space-between; }
	.work-box { width: 46%; margin: 15px 0px 40px 0px; }
	.work-post { margin: 15px 0px 40px 0px; }
	.work-post img { max-width: 100%; max-height: 100%; }


	/* Overview */
	.album { justify-content: space-between; }
	.album li { width: 42%; transition: all 0.3s ease-in-out; }

	/* Single */
	.project-text { max-width: 70%; }
	.work-thumb-view li { width: 42%; }
	
	/* Information */
	.page-template-information #content { display: block; }
	.page-template-information #access li { border-bottom: 1px solid #444444; }
	.page-template-information #access li.current-menu-item { border-bottom: 1px solid #FFFFFF; }
	
	.info-intro { width: 90%; }
	.clients div, .press div, .playlist div, .maps div { 
		width: 100%; padding-right: 0px; padding-bottom: 50px;
	}	
	
	/* Journal */
	.journal-area .work-box,
	.journal-area .journal.work-box { width: 100%; }
	.journal-text { max-width: 80%; }
	.journal-thumb-view li { width: 100%; }

    /* Footer */
    #supplementary { display: block; }
    #first, #second, #third { text-align: center; display: block; width: auto; padding: 20px; }

}
