/*
Theme Name: Tuol Sleng
Theme URI: https://tuolsleng.com/
Author: K4 Media
Author URI: https://k4media.com/
Description: Bespoke Wordpress theme for the Tuol Sleng genocide Museum in Phnom Penh, Cambodia
Version: 0.2
Text Domain: tuolsleng
*/
@font-face {
    font-family: 'Siemreap';
    font-style: normal;
    font-weight: 400;
    src: local("Siemreap"), url(fonts/Siemreap.woff) format("woff");
}
html {
  box-sizing: border-box;
  height: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
html, body, #primary-navigation ul, #primary-navigation li, .social ul, .header-main ul, .header-main li {
	margin: 0;
	padding: 0
}
body {
	background-color: #ececec;
	font-family: Khula, sans-serif;
	font-size: 100%;
	font-weight: 400;
	padding-top: 35px;
}
#page {
	background-color: #fff;
	margin: 0 auto;
	max-width: 1200px;
	width: 100%;
}
#masthead, .wrapper {
	max-width: 1200px;
	margin: auto;
	/*overflow: hidden;*/
	position: relative;
}
.wrapper { background-color: #fff; }

h1, h2, h3, h4 {
	font-family: 'Alegreya Sans SC', sans-serif;
	font-weight: 600;
	letter-spacing: 1.25px;
}
a,
a:active { color: #bca37d }

/* topnav */

.wrapper.fixed-header {
	position: fixed;
	top: 0;
	z-index:10000;
	width: 100%;
}

#topbar {
	background-color: #333;
	font-family: 'Alegreya Sans SC', sans-serif;
	font-size: .75em;
	font-weight: 600;
	overflow: hidden;
	padding-right: 32px;
}
#wprmenu_bar,
#wprmenu_bar *,
#wprmenu_menu,
#wprmenu_menu * {
	font-family: 'Alegreya Sans SC', sans-serif !important;	
}
#wprmenu_bar {
	padding-left: 1em !important;
	padding-right: 1em !important;
}
#topbar .home {
	display: inline-block;
	float: left;
	margin: 10px auto 0 auto;
	padding: 0 7px 0 7px;
}
#topbar .home a {
	border: 0;
}
#primary-menu {
	font-size: 0;
}
#primary-menu li,
.header-main li {
	font-size: 12.5px;
	letter-spacing: 1.2px;
}
#primary-navigation {
	float: left;
	width: auto;
}
#primary-navigation a {
	border-left: solid 2px #fff;
	color: #fff;
	padding: 1em 3em 1em .6em;
	text-decoration: none;
	text-transform: uppercase;
}
#primary-navigation .current_page_item a,
#primary-navigation .current-page-ancestor a,
#primary-navigation .current_page_parent a {
	background-color: #fff;
	color: #000;
	border-left: solid 2px #fff;
}
#primary-navigation a:hover,
#secondary-nav a:hover {
	color: #bca37d !important;
	text-decoration: none;
}
#primary-navigation ul {
	float:left
}
#primary-navigation li,
.social li {
	display: inline-block;
	line-height: 36px;
	list-style-type: none;
	margin-right: -2px;
}
ul#nav-language li:last-child a {
	padding-right: 2px;
}
#primary-menu li.nav-home  { display: none; }
.social {
	background-color: #333;
	display: block;
	overflow: visible;
	position: absolute;
	right: 0;
	text-align: right;
}
.social a {
	color: #ccc;
	font-size: 1em;
	padding: 0 1em 0 0;
	text-decoration: none;
}
.social a:hover {
	color: #bca37d;
}
#main-content .social-home a,
#footer .social-home a  {
	color: #cccccc;
	font-size: 2em;	
	display: inline-block;
	margin-right: .35em;
}
#footer p.social-home {
	margin-top: 2em;
	text-align: center;
}
#footer .social-home a {
	color: #666666;
}
#main-content .social-home a:hover {
	color: #999;	
}


#nav-language ul li {
	display: block;
}
#nav-language ul.sub-menu {
	background-color: #333;
	height: auto;
	width: auto;
	padding: 15px;
	position: relative;
	right: -9999em;
}

#nav-language ul.sub-menu.open,
li.menu-item-language-current:hover .sub-menu {
	display: block;
	right: -10px;
}

#nav-language li:first-child:hover .sub-menu {
	display: block;
	right: -10px;
}
.social a .fa-facebook {
	display: inline-block;
	margin-top: 9px  ;	
}
.header-main {
	background-color: #fff;
	height: 160px;
	max-width: 1200px;
	position: relative;
	z-index: 1000;
}
.home .header-main {
	width: 100%;
}
.header-main img {
	display: block;
	margin: 0 auto 0 auto;
	max-height: 100%;
}
.header-main ul {
	font-family: 'Alegreya Sans SC', sans-serif;
	padding: 0 0 1.25em 39px;
	position: absolute;
	bottom: 0;
}
.header-main ul#flag {
	padding: 0;
	text-align: center;
	width: 100%;
}
.header-main li {
	display: inline;
	font-weight: 700;
	list-style-type: none;
	text-transform: uppercase;	
}
.header-main li + li a:before,
.header-main li + li span:before {
	color: #000;
	content: " | ";
	margin: 0 .5em 0 .5em;
}
.header-main .subnav li + li a:before,
.header-main .subnav  li + li span:before {
	color: #999;
}
.header-main li a,
.header-main li span {
	color: #000;
	font-weight: 700;
	text-decoration: none;
}
.header-main li span {
	cursor: pointer;
}
.header-main li.current_page_item a,
.header-main li.current_page_item_parent a,
.header-main li.current_page_item span {
	color: #bca37d;
}
.header-main .subnav.hidden,
.header-main .subnav.hidden li a {
	color: #999;
}
.single .header-main {
	height: 2em;
}
.home .subnav#flag,
.museum .subnav#museum-nav,
.collections .subnav#collections-nav,
.exhibition .subnav#exhibition-nav,
.imprisoned .subnav#secondary-nav {
	display: block;
}
.subnav {
	display: none;
}

/* wp alignments */

.alignleft {
	display: inline-block;
	float: left;
	margin: 0 1em 1em 0;
}
.alignright {
	display: inline-block;
	float: right;
}
.aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}
img.size-full {
	height: auto;
	max-width: 100%;
}

/* slider */

#slider {
	display: block;
	height: 636px;
	left: 0;
	overflow: hidden;
	position: relative;
	width: 100%;
}
#slider #slider-stamp {
	bottom: 0;
	margin: 0 32px 32px 0;
	position: absolute;
	right: 0;
	z-index: 96;
}
#slider .shim {
	height: 100%;
	width: 100%;
}
#slider ul {
	margin: 0;
	padding: 0;
}
#slider li {
	height: 636px;
	position: relative;
}
.bx-wrapper {
	position: relative;
	margin: 0 auto 60px;
	padding: 0;
	*zoom: 1;
}
.bx-wrapper img {
	max-width: 100%;
	display: block;
}

/** SLIDER
===================================*/

.bx-wrapper .bx-viewport {
	/*fix other elements on the page moving (on Chrome)*/
	-webkit-transform: translatez(0);
	-moz-transform: translatez(0);
    -ms-transform: translatez(0);
    -o-transform: translatez(0);
    transform: translatez(0);
}

/* LOADER */

.bx-wrapper .bx-loading {
	min-height: 50px;
	background: url(js/bxslider/images/bx_loader.gif) center center no-repeat #fff;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2000;
}

/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper .bx-prev {
	left: 30px;
	background: url(images/slider-arrow-left1.png) no-repeat 0 0;
	background-size: contain;
}
.bx-wrapper .bx-next {
	right: 30px;
	background: url(images/slider-arrow-right1.png) no-repeat 0 0;
	background-size: contain;
}

.bx-wrapper .bx-controls-direction a {
	position: absolute;
	top: 45%;
	outline: 0;
	width: 33px;
	height: 44px;
	text-indent: -9999px;
	z-index: 9999;
}
.bx-wrapper .bx-controls-direction a.disabled {
	display: none;
}
div.caption {
	color: #fff;
	font-size: 1.35em;
	font-weight: 600;
	line-height: 1.85;
	margin: 2em 0 0 9%;
	position: absolute;
	top: 0;
	width: 33%;
	
}

/* entry content */

#main-content {
	background-color: #fff;
	clear: both;
}
#main-content a {
	color: #bca37d;
	text-decoration: none;
}
#main-content .page-block:last-child {
	padding-bottom: 2em;
}
#main-content.home {
	margin-top: 2em;
}
.entry-content .content,
#content #comments {
	margin: auto;
	width: 80%;
}
.entry-content.subpage .content {}
.contact .entry-content .content {
	padding-bottom: 0;
}
.entry-content h1:first-child {
	color: #666666;
	font-family: cardo;
	font-size: 2em;
	font-weight: 400;
	letter-spacing: 1px;
	margin: 1em 0 1em 0;
	text-transform: uppercase;
}
.entry-content .content p,
.entry-content .content ul {
	font-weight: 300;
	font-size: 1.15em;
	margin: 1em auto 1em 0;

}
.collapseomatic_excerpt,
.collapseomatic_content {
	margin-left: 0 !important;
}

.permanent .entry-content p:first-of-type {
	margin-left: 165px;
}
.permanent .entry-content img:first-child {
	height: auto;
	width: 150px;
}
.entry-content {
	padding: 5em 0 3em 0;
}
.entry-content .content {
	padding-bottom: 3em;
}
.permanent .entry-content .content {
	padding-bottom: 0;
}
.education .entry-content {
	padding: 5em 0 0 0;
}

.entry-content.subpage {
	margin: 0 auto 0 auto ;
	overflow: hidden;
	padding: 2em 0 2em 0;
}
.entry-content.subpage .content.subpage p {
	/*font-size: 1em;*/
	margin: 1em 0 1em 0;
}


.entry-content.subpage .parent-temporary h3,
#main-content .content h3 {
	font-size: 1.75em;
	line-height: 1.15em;
	margin-bottom: .35em;
}
.entry-content.subpage  .exhibit-icon {
	float: left;
	height: 150px;
	margin: 5px 15px 0 0 ;
	width: 150px;
}
.entry-content.subpage .content.subpage .exhibit-icon ~ p {
	margin: 0 0 1em 165px;	
}
.entry-content.subpage .content.subpage .exhibit-icon p {
	margin: 1em 0 1em 165px;
}

.entry-content.subpage  .exhibit-icon + h3 + h4.exhibit-subhead {
	font-weight: normal;
	margin-bottom: 1.2em;
}
.about-us .content {
	padding-bottom: 0;
}
.about-us .content h4 {
	margin-top:6em;
}
.entry-content.subpage .parent-about-us h3.subpage-title {
	display: none;
}
.entry-content.subpage .parent-about-us h4 {
	color: #333;
	font-family: Khula, sans-serif;
	font-size: 1.5em;
	font-weight: 400;
	margin: 2em 0 .25em 0;	
}
.entry-content.subpage .content.parent-about-us h4 + p {
	margin-top: 0;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
	color: #999;
}
.page-id-12 #introduction .content h3 {
	color: #999;
    font-family: 'Alegreya Sans SC', sans-serif;
	font-size: 1.5em;
	font-weight: 600;
    letter-spacing: 1px;
	margin-bottom: 0;
}
.entry-content.subpage .content.parent-special-places,
.entry-content.subpage .content.parent-archive-research,
.permanent .entry-content .content,
.entry-content.subpage .parent-temporary {
	padding: 0 39px 0 39px;
	width: 100%;
}
.entry-content.subpage p:first-child img {
	margin-left: 4em;
}
.entry-content img,
.collapseomatic_content img {
	height: auto;
	max-width: 100%;
}
.entry-content img.image-collage {
	margin-top: 4em;
}
h3.subpage-title,
.entry-content.subpage .parent-about-us h3 {
	color: #999;
	font-size: 1.9em;
	font-weight: 400;
	margin: 0 auto 1em auto;
	text-transform: uppercase;
}

.entry-content.subpage .content .map-places {
	margin-left: 8em;
}
#exhibits {
	clear: both;
	margin: 0 2% 0 2%;
	overflow: hidden;
	width: auto;
}
#exhibits.full {
	margin: 0;	
}
#exhibits article {
	display: block;
	overflow: hidden;
	clear: both;
	margin-bottom: 3em;	
}
#exhibits #exhibit-thumbnail,
#exhibits .exhibit-thumbnail {
	float: left;
	text-align: center;
	width: 250px;
}
#exhibits .exhibit-thumbnail img {
	height: auto;
	margin-top: 2.3em;
	width: 80%;
}
#exhibits article:first-child .exhibit-thumbnail {
	margin-top: -36px;
}
#exhibits .page-block.exhibit.news {
	margin-bottom: 0;	
}
.feature-mobile {
	display: none;	
}
#exhibits .page-block {
	padding: 0;
	width: auto;
}
#exhibits .page-block.exhibit {
	overflow: hidden;
	padding: 0 2em 2em 2em;
}
#exhibits .page-block.news {
	padding: 2em 5em 4em 5em;
}

#exhibits article:last-child .exhibit.news .news  {
	overflow: hidden;
	padding-bottom: 9em !important;
}
.exhibit.news div.news:last-child {
	padding-bottom: 2em;
}
.main-content.home #exhibits article {
	margin-bottom: 0;
}
.main-content h2.section-title {
	color: #bca37d;
	font-family: 'Alegreya Sans SC', sans-serif;
	font-size: 1.65em;
	margin: 1em 39px 70px 39px;
	text-transform: uppercase;
}
#main-content .content h2 {
	color: #999;
	font-weight: 400;
	letter-spacing: 4px;
	margin: 0 0 1.5em ;
	text-transform: uppercase;
}
#main-content .entry-content .content h2 {
	font-size: 1.8em;
	font-weight: 600;
	letter-spacing: .5px;
}
.exhibit-building {
	margin-bottom: 2em;
}
#exhibits .page-block.exhibit.news {
	background-color: #DECFBC;
}
#exhibits .page-block.exhibit block-content {}
#exhibits .page-block.exhibit h3.exhibit-title,
#exhibits .page-block.exhibit h3.exhibit-title a{
	color:#555;
	font-weight: 400;
	text-transform: uppercase;
	text-decoration: none;
}
#exhibits .page-block.exhibit h3.exhibit-title a:hover {
	text-decoration: underline;
}
#exhibits .page-block.exhibit h3.exhibit-title,
#exhibits .page-block.exhibit h3 {
	margin-top: 0;
}

.block-content h2,
.block-content h3 {
	color: #999;
	font-family: 'Alegreya Sans SC', sans-serif;
	margin: 2em 0 .75em 0;
	text-transform: uppercase;	
}
.page-block.content-block-how-to-get-there h2 {
	color: #000;
}
.block-content h2 + p,
.block-content h3 + p {
	margin-top: 0;
}
.block-content a {
	color: #8b5d5b;
}

/*
* page blocks
*/
.page-block {
	padding: 0 ;
	margin: 0 ;
	overflow: hidden;
}
.page-block .stage {
	margin: 2.5em auto 1.5em auto;
	overflow: hidden;
	width: 80%;
}
.education .page-block .stage {
}
#footer .stage {
	margin: 0 auto 1.5em auto;
	overflow: hidden;
	position: relative;
	width: 80%;	
}

.page-block h1, .page-block h4 {
	text-transform: uppercase;	
}
.page-block h4 {
	color: #808080;
	margin-bottom: 0;
}
.page-block h4 + p {
	margin-top: 0;
}
.page-block h1.block-title {
	color: #333333;
	font-size: 1.9em;
	font-weight: 600;
	letter-spacing: 1.5px;
	margin-bottom: 0;
}
.page-block .content-block {
	overflow: hidden;
}
.page-block .content-block img {
	display: inline-block;
}
div.image-block {
	margin: 0 39px 2em 39px;
	text-align: center;
}
div.image-block img {
	display: block;
	width: 100%;
	max-width: 100%;
}
.partner-logos {
	overflow: hidden;
	position: relative;
}
.partner {
	display: inline-block;
	vertical-align: middle;
	width: 25%;
}
.partner img {
	height: auto;
	max-width: 60%;
}
/*
* content blocks
*/
.page-block.content-block-how-to-get-there,
.page-block.content-block-museum,
.page-block.icon-block-museum-program,
.page-block.content-block-the-building {
	background-color: #c1c1c1;
	padding-bottom: 2em;
}
#main-content .content-block-how-to-get-there a,
#main-content .content-block-how-to-get-there a:active,
#main-content .content-block-how-to-get-there a:visited {
	color: #fff;
	text-decoration: none;
}
.page-block.icon-block-visitor-information {
	margin-bottom: 2em;
}
.content-block-how-to-get-there .map-legend {
	background: url(images/tuol-sleng-map-legend-entrance-icon.png) no-repeat;
	background-size: 20px 20px;
	clear: left;
	margin: 1em 0 0 0;
	padding-left: 1.75em;	
}
.content-block-how-to-get-there .map-legend span {
	display: inline-block;
	margin-left: .75em;
}
.content-block-education h1,
.page-block.content-block.content-block-education h1.block-title,
.content-block-education h2,
.content-block-education h3,
.content-block-education h4 {
	color: #999;
	font-family: 'Alegreya Sans SC', sans-serif;
	letter-spacing: 1px;
	text-transform: uppercase;	
}

.content-block-education h2 {
	margin-top: 2em;	
}
.content-block-education h3 {
	margin: 2em 0 .75em 0;	
}

.content-block-education strong {
	color: #999;
	text-transform: uppercase;	
}
.museum-map {
	max-width: 100%;
	height: auto;
	width: auto;	
}
/*
* icon blocks
*/
.icon-block h1.block-title {
	margin-bottom: 1em;
}
.icon-block .section img.icon-block-icon {
	float: left;
}
.icon-block .section-content {
	margin: 0 0 2em 8.5em;
	overflow: hidden;	
}
.icon-block .section h4 {
	color: #808080;
	font-size: 1.25em;
	font-weight: bold;
	margin-top: .5em;
	text-transform: uppercase;	
}
.icon-block .section-content h4 + p {
	margin-top: 0;
}
.icon-block .section-content p {
	/*max-width: 32em;*/
}
.icon-block-museum-program .section-content h4 {
	color: #fff;
}
#nav-subpages {
	margin: 1em 39px 50px 39px;
	overflow: hidden;
}
#nav-subpages a {
	opacity: 1;
	transition: opacity .15s ease-in-out;
	-moz-transition: opacity .15s ease-in-out;
	-webkit-transition: opacity .15s ease-in-out;
}
#nav-subpages a:hover {
	opacity: .5;
}

#subpage-header {
	margin: 0 39px 0 39px;	
}
#subpage-header p{
	margin-top: 0 ;	
}
#subpage-header h3 {
	color: #666;
	font-weight: 400;	
	margin-bottom: 0;
	margin-left: 39px;
}
#nav-subpages .hold {
	float: left;
	margin: 0 1.25% 0 0;
	max-width: 19%;
	overflow: hidden;
	position: relative;
	width: 100%;

}
#nav-subpages a:last-child .hold {
	margin-right: 0;
}

.nav-subpage img {
	display: block;
	max-width: 100%;
	height: auto;
}
#nav-subpages .page-title {
	color: #555555;
	border-left: solid 2px #555;
	display: block;
	color: #555555;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1em;
	margin-top: .5em;
	padding:  2px 0 0 .65em;
	text-decoration: none;
	text-transform: uppercase;
	text-decoration: none;
}
#nav-subpages a.current_page_item img {
	opacity: .7;
}
#nav-subpages a.current_page_item  .page-title {
	border-left: solid 2px #bca37d;
	color: #bca37d;
	opacity: 1;
}
#subpage-header h1 {
	color: #bc9b76;
	margin: 2em 0 1em 0;
	text-indent: 1em;
	text-transform: uppercase;
}
.mobile-feature {
	display: none;	
}
span.collapseomatic {
	background-position: 0 .35em;
	color: #666;
	display: block;
	padding-left: 1.35em;
	font-size: 1.25em !important;
	font-weight: 700;
}
span.collapseomatic:hover {
	text-decoration: none;
	color: #bca37d;
}
/* imprisoned */
#detainees {
	background-color: #aaa;
	overflow: hidden;
	padding: 80px;
	display: none;
}
#detainees .hold {
	cursor: pointer;
	display: inline-block;
	float:left;
	overflow: hidden;
	position: relative;
	width: 10%;
	z-index: 1;
}
.imprisoned .entry-content {
	background-color: #aaa;
	padding: 3em;
}
.imprisoned .entry-content h1 {
	color: #fff;
}
.imprisoned .entry-content p {
	color : #000;
}
.detainees_r {
	background-color: #fff;
	color: #333;
	display: none;
	margin-bottom: 2em;
}
.detainees_r img {
	display: inline;
}
.detainees_r span {
	font-weight: 600;
	text-transform: uppercase;
}
.detainees_r  .content_r {
	padding: 1em;
}
.hold .victim {
	background-color: #fff;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	border: solid 1px #fff;
	cursor: pointer;
	display: inline-block;
	float:left;
	position: relative;
	width: 100%;
	z-index: 1;
	-webkit-filter: grayscale(100%);
	-webkit-transition: .15s ease-in-out;
	-moz-filter: grayscale(100%); 
	-moz-transition: .15s ease-in-out;
	-o-filter: grayscale(100%); 
	-o-transition: .15s ease-in-out;
	-ms-filter: grayscale(100%);
	transition: all .15s ease-in-out;
	filter: grayscale(100%);
}

#detainees .hold.active:hover  {
	-webkit-transform: scale(1.75);
	-ms-transform: scale(1.75);
	-moz-transform: scale(1.75);
	-o-transform: scale(1.75);
	z-index: 2;
}
#detainees .hold.active:hover > .victim {
	-webkit-transform: scale(1.75);
	-ms-transform: scale(1.75);
	-moz-transform: scale(1.75);
	-o-transform: scale(1.75);	
}
#detainees .hold.active:hover .cover {
	background-color: rgba(0, 0, 0, .8);
}
.hold.victim > .details {
	display: none;
	position: absolute;
	z-index: 2;
}
.hold.victim.active:hover > .details {
	display: block;
}
.victim .details {
	color: #fff;
	display: none;
	font-size: 9px;
	line-height: 1.2em;
	padding: .5em;
	position: absolute;
	text-align: center;
    top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	width: 100%;
}
.victim .details .fancy {
	display: block;
	margin-top: 2em;
}
.victim img.spacer {
	height: 150px;
	width: auto;
	max-width: 100%;
}
.victim .cover {
	-webkit-transition: opacity .15s ease-in-out;
	-moz-transition: opacity .15s ease-in-out;
	-ms-transition: opacity .15s ease-in-out;
	-o-transition: opacity .15s ease-in-out;
	transition: all .15s ease-in-out;
	background-color: rgba(0, 0, 0, 0);
}
.victim .detainee-r {
	display: none;
}
.victim.disabled .cover {
	background-color: rgba(255, 255, 255, .8);
}
.victim .content {
	color: #999;
}
.victim .content div {
	margin-bottom: 4px;
}
.victim .content span {
	color: #ececec;
	display: block;
	font-weight: 600;
}
body.detainee {
	height: 600px;
	height: 100%;
	max-height: 100%;
	overflow: hidden;
	padding: 0;
}
#fancbox-frame html {
	padding: 0!important;
}
#main-content.detainee {
	box-sizing: border-box;
	height: 100%;
	width: 100%;
	position: relative;
}
#main-content.detainee div {
	line-height: 1.4em;
}
#main-content.detainee .details {
	color: #555;
	float: left;
	line-height: 1.2em;
	padding: 0 2.5% 0 2.5%;
	position: relative;
	text-align: center;
	top: 50%;
	transform: translateY(-50%);
	width: 40%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
}
#main-content.detainee .details .portrait {
	height: auto;
	width: 40%;
	margin: auto;
	text-align: center;
}
#main-content.detainee .details .portrait img {
	max-width: 100%;
	height: auto;
}
#main-content.detainee .details span {
	clear: right;
	display: block;
	font-weight: 700;
	line-height: .8em;
	margin-top: .5em;
}
#main-content.detainee .detainee_bio {
	background-color: #bca37d;
	float:left;
	max-height: 600px;
	width: 60%;
}
#main-content.detainee .detainee_bio img {
	display: block;
	height: 100%;
	margin: auto;
	max-height:555px;
	width: auto;
}
#fancybox-content {
	overflow: hidden;
}
#fancybox-close {
    right: -30px;
    top: -10px;
}
.sub-title {
	color: #999;
	font-size: 1.5em;	
}
.navigation h2 { display: none }

#commentform label {
	display: block;
}
#commentform textarea {
	width: 66%;
}
/**
 * 11.4 - Comments
 */
.comments-area {
	margin: 0 7.6923% 3.5em;
}

.comment-list + .comment-respond,
.comment-navigation + .comment-respond {
	padding-top: 1.75em;
}

.comments-title,
.comment-reply-title {
	border-top: 2px solid #cdcdcd;
	font-size: 23px;
	font-size: 1.4375rem;
	font-weight: 700;
	line-height: 1.3125;
	padding-top: 1.217391304em;
}
.comments-title {
	margin-bottom: 1.217391304em;
}
.comment-list {
	list-style: none;
	margin: 0;
}
.comment-list article,
.comment-list .pingback,
.comment-list .trackback {
	border-top: 1px solid #d1d1d1;
	padding: 1.75em 0;
}
.comment-list .children {
	list-style: none;
	margin: 0;
}
.comment-list .children > li {
	padding-left: 0.875em;
}
.comment-author {
	color: #1a1a1a;
	margin-bottom: 0.4375em;
}
.comment-author .avatar {
	float: left;
	height: 28px;
	margin-right: 0.875em;
	position: relative;
	width: 28px;
}
.bypostauthor > article .fn:after {
	content: "\f304";
	left: 3px;
	position: relative;
	top: 5px;
}
.comment-metadata,
.pingback .edit-link {
	color: #686868;
	font-size: 13px;
	font-size: 0.8125rem;
	line-height: 1.6153846154;
}
.comment-metadata {
	margin-bottom: 2.1538461538em;
}
.comment-metadata a,
.pingback .comment-edit-link {
	color: #686868;
}
.comment-metadata a:hover,
.comment-metadata a:focus,
.pingback .comment-edit-link:hover,
.pingback .comment-edit-link:focus {
	color: #007acc;
}
.comment-metadata .edit-link,
.pingback .edit-link {
	display: inline-block;
}
.comment-metadata .edit-link:before,
.pingback .edit-link:before {
	content: "\002f";
	display: inline-block;
	opacity: 0.7;
	padding: 0 0.538461538em;
}
.comment-content ul,
.comment-content ol {
	margin: 0 0 1.5em 1.25em;
}
.comment-content li > ul,
.comment-content li > ol {
	margin-bottom: 0;
}
.comment-reply-link {
	border: 1px solid #d1d1d1;
	border-radius: 2px;
	color: #007acc;
	display: inline-block;
	font-size: 13px;
	font-size: 0.8125rem;
	line-height: 1;
	margin-bottom: 2em;
	padding: 0.5384615385em 0.5384615385em 0.4615384615em;
}
.comment-reply-link:hover,
.comment-reply-link:focus {
	border-color: currentColor;
	color: #007acc;
	outline: 0;
}
.comment-form {
	padding-bottom: 2em;
}
.comment-form label {
	color: #686868;
	display: block;
	font-size: 13px;
	font-size: 0.8125rem;
	letter-spacing: 0.076923077em;
	line-height: 1.6153846154;
	margin-bottom: 0.5384615385em;
	text-transform: uppercase;
}
.comment-list .comment-form {
	padding-bottom: 1.75em;
}
.comment-notes,
.comment-awaiting-moderation,
.logged-in-as,
.form-allowed-tags {
	color: #686868;
	font-size: 13px;
	font-size: 0.8125rem;
	line-height: 1.6153846154;
	margin-bottom: 2.1538461538em;
}
.no-comments {
	border-top: 1px solid #d1d1d1;
	font-weight: 700;
	margin: 0;
	padding-top: 1.75em;
}
.comment-navigation + .no-comments {
	border-top: 0;
	padding-top: 0;
}
.form-allowed-tags code {
	font-family: Inconsolata, monospace;
}
.form-submit {
	margin-bottom: 0;
}
.required {
	color: #007acc;
}
.comment-reply-title small {
	font-size: xx-small;
}
.comment-reply-title small a {
	border: 0;
	float: right;
}
.comment-reply-title small a:hover,
.comment-reply-title small a:focus {
	color: #1a1a1a;
}
.page-block.icon-block-museum-program {
	margin-bottom: 0;
}

/* footer */

#footer {
	background-color: #333;
	color: #fff;
	font-weight: 600;
	overflow: hidden;
	padding: 2em 0 2em 0;
	position: relative;
}
#footer span {
	display: block;
}
#footer a {
	color: #808080;
}
#footer .col1 {
	float: left;
	padding: 0 1em 0 0;
	width: 40%	
}
#footer .col2 {
	float: left;
	padding: 0 1em 0 0;
	width: 40%;
}
#footer .col3 {
	float: left;
	width: 20%;
}
#footer h4 {
	color: #808080;
	margin-bottom: 0;
	text-transform: uppercase;
}
#footer .social {
	clear: both;
	display: none;
}
#footer .social a {
	padding: 0;
}
#footer .social ul {
	font-size: 1.75em;
	margin-top: 20px;
	text-align: center;
	clear: both;
	float: none;
	display: block;
}
#footer .social li {
	padding: 0 .25em 0 .25em;
}
#footer #icon {
	position: absolute;
	right: 20px;
}
.col3 .stamp-hold {
	bottom: 0;
	position: absolute;
	width: 20%;
}
#footer #footer-stamp {
	display: block;
	float: right;
	width: 70px;
}
.map-wrapper {
	display: inline-block;
	float: left;
	margin-right: 30px;
	width: 490px; 
}
.wp-image-203 { padding-top: 45px; }
ul#nav-language {
	position: absolute;
	right: 32px;
}
ul#nav-legal {
	margin: 1em 0 0 0 ;
	padding: 0;	
}
#nav-legal li {
	display: inline;
	list-style-type: none;
	margin-right: .5em;
}
#wprmenu_menu .menu-r-languages a {
	color: #bca37d!important;
	display: inline-block;
	width: auto!important;
}
@media screen and (max-width: 1030px) {
	#slider,
	#slider li {
		height: 550px;
	}
	div.caption {
		font-size: 1.15em;
		line-height: 1.65;
		margin: 2em 0 0 7%;
	}
	#primary-menu li,
	 .header-main li,
	 #nav-subpages .page-title {
		font-size: 12px;	
	}
	.entry-content .content, #content #comments,
	.page-block .stage,
	#footer .stage {
		width: 94%;
	}
	#detainees .hold {
		width: 16.6%;
	}
	#main-content.detainee .details .portrait {
		width: 30%;	
	}
	#main-content.detainee .detainee_bio img {
		height: auto;
		max-width: 100%;
	}
	#main-content.detainee .detainee_bio,
	#main-content.detainee .details {
		top: auto;
		transform: none;
		-webkit-transform: none;
		-ms-transform: none;
	}
}


@media screen and (max-width: 980px) {
	body {
		font-size: .9em;
	}
	#primary-navigation a {
		font-size: 11.5px;
		padding: 1em 1.5em 1em 0.5em
	}
	#slider,
	#slider li {
		height: 450px;
	}
	.col3 .stamp-hold {
		padding-top: 12.25em;
	}
	img#slider-stamp {
		height: auto;
		max-width: 120px;	
	}
	.header-main li,
	#nav-subpages .page-title {
		font-size: 11.5px;
	}
}

@media screen and (max-width: 805px) {
	body {
		padding-top: 0;
	}
	#topbar,
	.wrapper.fixed-header { 
		display: none;
	}
	#secondary-nav {
		padding: 1em;
	}
	#secondary-nav,
	.main-content h2.section-title,
	#subpage-header,
	#nav-subpages {
		margin-left: 0;
	}
	.main-content h2.section-title,
	#subpage-header {
		padding-left: 2%;
	}
	#nav-subpages {
		margin-right: 0;
		padding: 0 2% 0 2%;
	}
	#subpage-header .sub-title {
		font-size: 1.35em;
		line-height: 1.1em;
	}
	.entry-content.subpage .content.parent-special-places,
	.entry-content.subpage .parent-temporary,
	.entry-content.subpage .content.parent-archive-research {
		padding: 0 2% 0 2%;
		margin: 0;
	}
	img.museum-map {
		display: block;
		float: none;
	}
	div.image-block {
		margin: 0 2% 2em 2%;
	}
	#exhibits .page-block.news {
		padding: 2em 2.5em 2em 2.5em;
	}
	#footer {
		margin-top: 0;
		max0width: 100%;
	}
	#footer .col1,
	#footer .col2 {
		width: 50%;
	}
	#footer .col3 {
		clear: both;
		overflow: hidden;
		width: 100%;
	}
	.col3 .stamp-hold {
		clear: both;
		float: left;
		margin: 2em 0 0 39px;
		width: auto;
		position: relative;
	}
	#footer #icon {
		float: left;
	}
	#footer .social {
		float: left;
	}
	.col3 .stamp-hold {
		margin-left:0;
		padding-top: 0;
	}

	#footer p.social-home {
		margin-left: 3%;
		text-align: left;
	}
	#footer .social li {
		padding: 0 1em 0 0;
	}
	div.caption {
		font-size: 1em;
		line-height: 1.35;
	}
	#commentform textarea {
		width: 100%;
	}
	.collapseomatic_excerpt ol,
	.collapseomatic_content ol,
	.collapseomatic_excerpt ul,
	.collapseomatic_content ul{
		padding-left: 3em !important;
	}
}
	

@media screen and (max-width: 720px) {
	.map-wrapper {
		clear: both;
		float: none;
		margin-top: 2em;
		width: 100%;
	}
	.map-wrapper img {
		width: 100%;
		max-width: 100%;
	}
	#detainees .hold {
		width: 20%;
	}
}
@media screen and (max-width: 610px) {
	.header-main li {
		display: block;
		line-height: 2em;
	}
	#secondary-nav {
		padding: .6em 0 .6em 1em;
	}
	#slider,
	#slider li {
		height: 300px;
	}
	img#slider-stamp {
		display: none;	
	}
	.entry-content {
		padding: 3em 0;
	}	
	.icon-block .section img.icon-block-icon {
		float: none;
		display: block;
	}
	.icon-block .section-content {
		margin: 0;	
	}
	.icon-block .section-content h4 {
		margin-top: .5em;
	}
	.icon-block .section-content .collapseomatic_content p,
	.collapseomatic_content p {
		text-align: left;
		width: 100%;
	}
	.collapseomatic_content ol {
		padding-left: 0;
	}
	#nav-subpages {
		font-size: .9em;
	}
	#nav-subpages a {
		text-decoration: none;
		display: block;
		float: none;
	}
	.nav-subpage {
		background-color: #bc9b76;
		float: left;
		margin-bottom: 2px;
	}
	#nav-subpages .page-title {
		float: left;
	}
	.current_page_item .nav-subpage .page-title {
		color: #bc9b76;
	}
	.entry-content.subpage .content .map-places {
		margin-left: 1em	
	}
	.icon-block-museum-program ul {
		padding-left: 0;
	}
	.page-block {
		padding: 0 ;
		overflow: hidden;
	}
	.parent-about-us .mobile-feature {
		display: block;	
	}
	.partner {
		float: none;
		width: 100%;
	}
	#exhibits .page-block.exhibit {
		margin: 0 0 1em 0;
	}
	#exhibits .exhibit-thumbnail,
	#exhibits #exhibit-thumbnail{
		display: none;
	}
	.feature-mobile {
		display: block;
	}
	.feature-mobile img {
		display: block;
		max-width: 100%;
	}
	page-block.content.exhibit {}
	div.caption {
		margin:0;
		padding:2em;
		text-align: center;
		text-shadow: 0 0 12px #000;
		width: auto;
	}
	#exhibits .page-block.exhibit.news {
		height: auto;
	}
	#exhibits .page-block.news,
	#exhibits article:last-child .exhibit.news .news {
		padding-bottom: 2em !important;
	}
	#footer .col1,
	#footer .col2 {
		padding-left: 0;
		width: 100%;
	}
	#footer .col3 {
		width: 100%;
	}
	#footer #icon {
		float: none;
		position: relative;	
	}
	#footer .social,
	.stamp-hold {
		margin-left: 0;
	}
	.page-block.content-block-how-to-get-there,
	.page-block.icon-block-museum-program,
	.content-block-education {
		margin-left: 0 !important;
		margin-right: 0 !important;	
	}
	#subpage-header h3.section-title {
		font-size: 1.1em;
		line-height: 1.1em;
		margin-bottom: .5em;
	}
	.imprisoned .entry-content {
		padding: 3em 0 0 0;	
	}
	/*div.victim,*/
	#nav-all,
	#nav-men,
	#nav-women,
	#nav-children,
	#nav-foreigners{
		display: none;
	}
	#detainees {
		visibility: hidden;
	}
	#introduction,
	.detainees_r {
		display: block!important;
		visibility:visible;
	}
	.detainees_r .detainee_r img{
		width: 100%;
		height: auto;
		max-width: 100%:
	}
	#footer p.social-home a {
		margin: 0 .5em 0 0 ;	
	}
	
}
@media screen and (max-width: 500px) {
	.permanent .entry-content img:first-child,
	.entry-content.subpage .exhibit-icon {
		height: auto;
		margin: 1em 0 0 0;
		float: none;
		width: 50%;
	}
	.entry-content.subpage .exhibit-icon ~ h3,
	.entry-content.subpage .exhibit-icon ~ h4,
	.entry-content.subpage .exhibit-icon ~ p,
	.entry-content.subpage .content.subpage .exhibit-icon ~ p {
		margin: 1em 0 1em 0 ;
	}
	.permanent .entry-content p:first-of-type {
		margin-left: 0;	
	}
	#nav-subpages a {
		border-left: solid 4px #555;
		background-color: #999;
		margin-bottom: 1px;
		overflow: hidden;
		width: 100%;
	}
	#nav-subpages a .hold {
		max-width: 100%;
		width: 100%;
	}
	#nav-subpages a .page-title {
		color: #fff;
		padding: 1.2em 0 .75em .5em;
		margin: 0;
	}
	.nav-subpage img {
		display: none;
	}
	#nav-subpages a.current_page_item .page-title {
		color: #000;	
	}
	.bx-wrapper .bx-controls-direction a {
		width: 12%;
		height: auto;
	}
	.bx-wrapper .bx-prev {
		left: 10px;
	}
	.bx-wrapper .bx-next {
		right: -20px;
	}
}
@media screen and (max-width: 400px) {
	body {}
	#slider,
	#slider li {
		height: 250px;
	}
	
	#nav-subpages {
		font-size: .9em;
	}
	div.caption {
		font-size: .85em;
	}
	#footer #icon {
		margin: auto;	
	}
	#footer #footer-stamp {
		display: block;
		float: none;
		clear: both;
	}
}
/*
* language specific stuff, at the bottom so it overrides everything above
*/

body.km,
body.km #topbar,
body.km h1,
body.km h2,
body.km h3,
body.km h4,
body.km h5,
body.km h6,
body.km .header-main ul,
body.km #primary-navigation a,
body.km #main-content .content h3,
body.km #topbar {
	font-family: "Siemreap", sans-serif;
	letter-spacing: 0;
}

body.km #primary-menu li,
body.km #main-content .entry-content .content h2,
.header-main li,
.page-block h1.block-title {
	letter-spacing: 0;	
}
body.km .nav-language {
	background: url('images/flag_of_cambodia.svg');
    background-size: 22px 22px;
    background-repeat: no-repeat;
	background-position: 0px 7px;
}
body.km .nav-language li:first-child span:after {
	content: " | EN";
}
body.km .nav-language .sub-menu li span:after {
	content: "";
}
body.km .entry-content.subpage .exhibit-icon {
	margin: 7px 15px 0 0 ;
}
body.km #nav-subpages .page-title {
	font-size: 100%;
	line-height: 2em;
}
body.km #footer h4 {
	color: #909090;
}
:lang(fr), :lang(de),
:lang(fr) body, :lang(de) body {
    font-family: "Work Sans" !important;
}
:lang(fr) #introduction,
:lang(fr) .block-content,
:lang(fr) .section-content p,
:lang(fr) .section-content li,
:lang(fr) .entry-content .content p,
:lang(fr) .entry-content .content ul,
:lang(de) #introduction,
:lang(de) .block-content,
:lang(de) .section-content p,
:lang(de) .section-content li,
:lang(de) .entry-content .content p,
:lang(de) .entry-content .content ul {
	line-height: 1.6em;
}
:lang(fr) #footer,
:lang(de) #footer,
:lang(km) #footer,
:lang(fr) .caption h5,
:lang(de) .caption h5 {
	font-weight: 400;
}
:lang(fr) .caption h5,
:lang(de) .caption h5 {
	font-size: .8em;	
}

:lang(fr) #footer,
:lang(de) #footer {
	line-height: 1.5em;	
}
:lang(de) .entry-content.subpage .exhibit-icon,
:lang(fr) .entry-content.subpage .exhibit-icon {
	margin: 8px 15px 0 0 ;
}
:lang(fr) body .fa,
:lang(de) body .fa,
:lang(en) body .fa,
body.km body .fa {
	font-family: FontAwesome !important;
}
