/*  
Theme Name: PPL theme 2
Theme URI: http://www.distinct.nl
Description: Peace Palace Library theme.
Version: 2.0
Author: Distinct
Author URI: http://www.distinct.nl
*/

body {
	font-family: 'Droid Sans', 'Lucida Grande', Tahoma, sans-serif;
	margin: 0;
	position: relative;
	font-size: 12px;
	line-height: 1.6em;
	min-width: 940px;
	color: #686a6d;
}

* {
	box-sizing: border-box;
}

a {
	color: #225E9B;
	text-decoration: none;
}

a:hover {
	color: #0F457C;
}

#main img {
	max-width: 100%;
	height: auto;
}

ul, ol {
	margin: 0;
	padding: 0;
}

body>header {
	margin-bottom: 34px;
}

body>header h1 {
	padding: 46px 0 6px 15px;
	margin: 0;
}
body>header h1 svg, body>header h1 use, body>header h1 img {
	width: 100%;
	height: 43px;
}

.home>header h1 {
	padding: 55px 0 10px 15px;
}
.home>header h1 svg, .home>header h1 use, .home>header h1 img {
	width: 800px;
	height: 79px;
	max-width: 100%;
}

#home-recent img, #sidebar img {
	max-width: 100%;
	height: auto;
}

a img {
	border: 0;
}

.sized {
	margin: 0 auto;
	width: 940px;
	position: relative;
}

.social {
	position: absolute;
	right: 20px;
	top: 50%;
}

body>footer .social {
	margin-top: -15px;
}

body>header .social {
	top: 118px;
}

#breadcrumbs, #breadcrumbs a {
	font-size: 13px;
}

#breadcrumbs {
	margin-bottom: -34px;
	line-height: 16px;
	padding: 19px 0 19px 5px;
}

#topnav {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	border-bottom: 1px solid #c4b8ae;
	line-height: 34px;
}

#topnav li {
	display: inline-block;
	vertical-align: top;
}

#topnav a, #header_language_list li:first-child:after {
	color: #777;
}

.header_menu {
	float: right;
	margin-right: 13px;
}

.header_menu a {
	margin: 0 7px;
}

#header_language_list {
	padding-left: 10px;
}

#header_language_list li {
	margin-right: 4px;
	text-transform: uppercase;
	color: #000;
	font-size: 13px;
}

#header_language_list li:first-child:after {
	content: " |";
}

body>header ul, body>footer ul, .library-specials>ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

body>header a {
	text-decoration: none;
}

#nav_row.main_nav {
	border: none;
	z-index: 9998;
	position: relative;
}

#mainmenu {
	/*height: 34px;*/
	position: relative;
	line-height: 1.1em;
}

.main_nav li {
	position: static;
}

.main_nav ul li, body>footer li, .social li{
	display: inline-block;
}

#nav_row, #mainmenu>li>div, body>footer .row2 {
	background-color: #1797b7;
}

#nav_row, #mainmenu>li>div {
	border-color: #fff;
}

#mainmenu>li>div {
	position: absolute;
	left: 0;
	top: 100%;
	right: 0;
	border-top: 2px solid #fff;
	display: none;
	padding: 10px;
}

#mainmenu a {
	color: #fff;
}

#mainmenu li a {
	padding: 10px 13px 10px;
	display: block;
	font-weight: normal;
	font-size: 16px;
}

#mainmenu li li a {
	padding: 2px 5px;
	display: block;
	font-size: 12px;
	font-weight: normal;
}

#mainmenu li:hover>a, #mainmenu .depth1>li>a {
	color: #fbe024;
}

#mainmenu>li:hover>div {
	display: block;
}

#mainmenu .researchguides ul.depth1, #researchguidemenu ul.depth1, #mainmenu .normalmenu .depth1>li {
	float: left;
	width: 174px;
	margin: 0 10px 10px 0;
}

ul.depth1>li {
	
}

#mainmenu ul {
	display: block;
}

#mainmenu li li, #mainmenu .depth1 ul {
	display: block;
}

#researchguidemenu {
	background-color: #aed5e6;
	margin-top: 12px;
}

#researchguidemenu>div>* {
	padding: 10px;
}

#researchguidemenu h2 {
	font-size: 16px;
	border-bottom: 2px dotted #278ba6;
}

#researchguidemenu .depth1>a {
	color: #2a2f33;
}

#researchguidemenu a, #researchguidemenu h2 {
	color: #2c7189;
}

.research-guide #main h2 {
	margin: 0 0 15px;
}

#main h3, #itemlist h2, #itemlist h2 a {
	color: #2d9bb9;
}

#main h4 {
	font-size: 12px;
	margin-top: 5px;
	font-style: italic;
}
.headersearchform ul ul a:after  { /*a.more:after*/
	content: ' »';
}

a.more {
	font-weight: bold;
	color: #e2004d;
}

.home .more {
	text-align: right;
	display: block;
}

.home .block .more, .widget .more {
	position: absolute;
	bottom: 1em;
	right: 1em;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	margin: 0;
	padding: 0;
	line-height: 1.2em;
	margin-bottom: .1em;
}

h1 {
	font-size: 21px;
}

#main h3 {
	margin-top: 15px;
}

.screen-reader-text, .hidden {
    display: none;
}

#sitelinks {
	text-align: center;
}

#sitelinks img {
	height: 75px;
	margin: 0 18px;
}

body>footer .row1 {
	background: #ebf4f7;
	padding: 40px 0;
}

body>footer .row2 {
	padding: 28px 0;
}

body>footer .row2 .menu a {
	margin-right: 15px;
	font-size: 17px;
	color: #fff;
}

.block, #sidebar {
	width: 320px;
}

.row {
	margin: 0 0 0 -20px;
	clear: both;
}

#sidebar {
	float: right;
}

#full-sidebar, #sidebar {
	padding-left: 20px;
}

#sidebar .block {
	float: none;
}

#main {
	width: 640px;
}

.bg>h1, #sidebar h1, #sidebar h2, #sidebar header {
	border-bottom: 1px solid #c4b8ae;
	margin: 0 -20px 10px;
	padding: 0 20px 10px;
}

#sidebar header h2 {
	border: none;
	padding-bottom: 30px;
}

#sidebar header h2 + h3 {
	margin-top: -35px;
}

#sidebar h1, #sidebar h2, #sidebar header h2 + h3 {
	font-size: 1.6em !important;
}

#sidebar h1, #sidebar h2 {
	color: #82705e;
}

.library-specials article:last-child, .library-specials h1 {
	border: none;
}

.library-specials h1 {
	margin: 10px 0;
	padding: 0;
}

.library-specials article {
	position: relative;
}

.library-specials img {
	display: block;
}

.library-specials .hover {
	position: absolute;
	right: 30px;
	bottom: 20px;
	padding: 10px 15px;
	background: #606366;
	width: 45%;
	display: none;
}

.library-specials article:hover .hover {
	display: block;
}

.library-special .wp-post-image, #itemlist h2 {
	margin-top: 10px;
}

a.full {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	text-indent: -9999px;
	overflow: hidden;
}

.library-specials .hover * {
	color: #fff;
}

.bg>.content, #sidebar h1 + *, #sidebar h2 + * {
}

.bg>h1 {
	margin-top: -8px;
}

h2 {
	color: #5a5a5a;
}

.bg>h1>span, .library-special .post-title>h1>span {
	display: block;
	color: #e2004d;
}

.library-specials article {
	/*margin: 0;*/
	padding: 20px;
}

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

.bg {
	background: #f0edeb;
	padding: 20px;
	position: relative;
}

.bg, .library-specials {
	margin-bottom: 20px;
}

#main, .block {
	padding: 0 0 0 20px;
	float: left;
}

#main>.bg {
	/*margin-bottom: 0;*/
}

#showcase {
	/*margin-right: 0;*/
	width: 100%;
}

#toggle_comments {
	padding: 20px;
}

#commentform input {
	padding: 5px;
	display: block;
}

#commentform textarea {
	padding: 5px;
	width: 100%;
}

.form-allowed-tags {
    font-size: .85em;
}

.form-allowed-tags code {
	display: block;
}

.post-nav {
	clear: both;
    padding: 5px 10px;
    margin: 0em 0 1.8em;
    font-size: 12px;
    position: relative;
    border-right: 3px solid #E9E9E9;
    border-left: 3px solid #E9E9E9;
}

.post-nav .next a {
    float: right;
    display: block;
    padding-right: 24px;
    text-align: right;
    background: url(./images/post-next.gif) no-repeat right center;
}

.post-nav .previous a {
    float: left;
    display: block;
    padding-left: 24px;
    background: url(./images/post-previous.gif) no-repeat left center;
}

body>footer {
	clear: both;
}

.thumb-popup {
	display: none !important;
	position: absolute;
	bottom: 50%;
	left: 50%;
	z-index: 9999;
	padding: 5px;
	max-width: none;
	box-sizing: content-box;
}

#sidebar .thumb-popup {
	left: auto;
	right: 50%;
}

li:hover>.thumb-popup {
	display: block !important;
}

/* RG */
#tabs {
	margin: -20px -20px 15px -20px !important;
	list-style-type: none;
	padding: 0;
}

#tabs, #frontselected .wrap {
	background-color: rgb(218,208,202);
}

#tabs li {
	float: left;
	font-size: 12px;
	cursor: pointer;
	line-height: 27px;
	color: #252e32;
}

#tabs li:hover, #tabs li.selected, #frontlists, #frontkeys, .single-imagecollection #poster_link {
	background-color: rgb(191, 182, 173);
}

#tabs li span {
	padding: 0 10px 5px;
	margin-bottom: -5px;
	display: block;
}

#tabs li.selected span {
	background: url(images/submenu_arrow_active.png) center bottom no-repeat;
} 

.tabcontent {
	margin-bottom: 20px;
}

/* /RG */

/* SOCIAL */

.social a, .social svg, .social img {
	display: block;
}

.social a, .post-icons a {
	overflow: hidden;
	background-size: contain;
	text-indent: 999px;
}

/* /SOCIAL */

/* RAIL */
#main .rail {
	background: #e6e1dd;
	margin-bottom: 10px;
}

.rail {
	position: relative;
}

#content .rail .items {
	padding: 10px 0 10px 00px;
	margin-right: 20px;
}

.rail ul, .rail-wrapper {
	list-style-type: none;
}

.rail ul>li {
	float: left;
	margin-left: 4px;
}

.rail .items>li, .rail .pagination a {
	display: block;
	padding: 3px;
}

#main .rail .items>li {
	max-width: 12.5%;
	margin: 0;
}

.rail .items>li>a {
	position: relative;
	background: #c6baad;
	display: block;
	padding: 2px;
}

.rail img {
	display: block;
	max-width:100%;
	height:auto;
}

#content .rail ul>li:first-child {
	margin-left: 0;
}

.rail-wrapper .rail {
	position: relative;
}

.rail .pagination {
	padding: 7px 0;
	overflow: hidden;
	clear: both;
}

.rail .pagination .selected a {
	border-color: #000;
}

.rail .pagination a {
	padding-bottom: 0;
	padding-top: 0;
	border: 1px solid transparent;
}

.rail .all {
	position: absolute;
	bottom: 1px;
	right: 5px;
}

.rail.notpaginated>.prev, .rail.notpaginated>.next {
	position: absolute;
	top: 10px;
	height: 56px;
	line-height: 56px;
	left: 10px;
	width: 15px;
	text-align: center;
	font-weight: bold;
}

.rail.notpaginated {
	padding-bottom: 30px;
}

.rail.notpaginated>.next {
	left: auto;
	right: 10px;
}

.rail.notpaginated>.prev:hover, .rail.notpaginated>.next:hover {
	background: #c6baad;
}

.rail.notpaginated>.prev.disabled, .rail.notpaginated>.next.disabled {
	background: transparent;
}

.rail h2 {
	padding: 10px 20px 0;
	margin: 0;
}

/* /RAIL */

/* Poster Search */

.poster_search {
	background: #e2dbd6;
	padding: 10px 20px 0;
}

#main .poster_types .check_item {
	display: block;
}

.poster_search input[type="text"], #describe-item-form input, #describe-item-form textarea {
	border: 1px solid #9a9c9d;
	padding: 4px 5px;
	margin-left: 0;
}

.poster_search input[type="submit"], #describe-item-form input[type="submit"] {
	float: none;
	display: inline;
	background: #2c9bb9;
	color: #fff;
	border: none;
	height: 26px;
	text-transform: none;
	border: 1px solid #9a9c9d;
	text-shadow: none;
}

#main .poster_search .text {
	width: 300px;
}

.poster_search .text, .poster_search .intro, .poster_type_text {
	margin-bottom: 10px;
}

.poster_search .selected_terms {
	margin-top: 10px;
}

.poster_search .selected_terms .header {
	font-weight: bold;
}

#main .poster_search {
	margin-bottom: 20px;
}

#main .poster_search .intro {
	float: left;
	width: 400px;
}

#main .poster_search h3 {
	clear: left;
}

#main .poster_search .poster_types {
	clear: none;
}

#main .poster_search h3.poster_types {
	color: inherit;
	font-size: 13px;
	font-weight: bold;
}

#main .poster_search .poster_types input[type=checkbox] {
	opacity: 0;
	width: 18px;
	margin-left: -20px;
}

.poster_search .search_submit {
	clear: both;
	padding-top: 10px;
}

.poster_search .search_submit label {
	display: block;
}

#main .poster_search .poster_types label {
	margin: 0;
	clear: none;
	padding: 5px 0 4px 24px;
	cursor: pointer;
	background: url("images/checkbox_search.png") left -94px no-repeat;
}

#main .poster_search .poster_types label.selected{
	background: url("images/checkbox_search.png") left -28px no-repeat;
}

#main .poster_search .poster_types label.selected:hover{
	background: url("images/checkbox_search.png") left 5px no-repeat;
}

#main .poster_search .poster_types label:hover{
	background: url("images/checkbox_search.png") left -61px no-repeat;
}

.poster_search .ui-accordion {
	margin: 0 -20px;
	padding-top: 20px;
	clear: both;
	border-bottom: 1px solid #919396;
}

#content .ui-accordion-header {
	margin-top: 0;
	color: #242424;
	border-width: 1px 0 0 0;
}

#content .ui-accordion-content {
	border: none;	
}

#content .ui-widget {
	font-family: inherit;
}

/* POSTER ITEM */

.single-imagecollection #tabs {
	margin: 0 !important;
}

#poster_link {
	overflow: hidden;
}

#poster_link .items {
	/*overflow: hidden;*/
}

.single-imagecollection #poster_link img {
	display: inline;
	vertical-align: top;
}

.single-imagecollection .poster_link {
	padding: 20px 35px;
	display: block;
	text-align: center;
}

.single-imagecollection .tabcontent {
	background: #e6e1dd;
	padding: 10px;
}

/* POSTER SIDEBAR */

#textblock_browse_image_collection {
	background: #f4efec;
}

#textblock_search_our_image_collection {
	padding: 0 !important;
}

#sidebar .ui-accordion-header {
	margin: 0;
}

#textblock_search_our_image_collection h2 {
	margin: 0;
	padding: 5px 10px;
	background-color: #ccbeb2;
}

#textblock_search_our_image_collection .poster_types label {
	padding-left: 15px;
	padding-right: 7px;
	cursor: pointer;
	display: block;
	float: left;
	width: 50%;
}

#textblock_search_our_image_collection .poster_types label {
	background: url("images/checkbox_search_sidebar.png") 0px -88px no-repeat;
}

#textblock_search_our_image_collection .poster_types label:hover {
	background: url("images/checkbox_search_sidebar.png") 0px -58px no-repeat;
}

#textblock_search_our_image_collection .poster_types label.selected {
	background: url("images/checkbox_search_sidebar.png") 0px -28px no-repeat;
}

#textblock_search_our_image_collection .poster_types label.selected:hover {
	background: url("images/checkbox_search_sidebar.png") 0px 2px no-repeat;
}

#textblock_search_our_image_collection .poster_types span.separator {
	display: none;
}

#sidebar .poster_search {
	padding: 10px 10px 0;
}

#sidebar .poster_search .ui-accordion {
	margin: 0 -10px;
}

#sidebar .ui-accordion-header-active {
	color: #bb9779;
}

#sidebar .poster_search .ui-accordion-content {
	padding: 5px 10px 10px;
}

#sidebar .rail.paginated {
	margin: 0 -9px;
}

#sidebar .rail.paginated .items {
	margin: 0;
	padding: 10px 0 0;
}

#sidebar .rail .items>li {
	max-width: 20%;
	padding: 1px;
	margin: 0;
}

.entry_content img {
	height: auto;
}

.image_thumbnail {
	position: relative;
}

#main .poster_search .selected_terms {
	line-height: 15px;
}

.js .poster_search .ui-accordion-content label:hover, .js .poster_search .ui-accordion-content label.selected {
	cursor: pointer;
	background-color: #ccbeb2;
}

.js .poster_search .ui-accordion-content label.selected:hover {
	background-color: #bab1ac;
}

.js #content .poster_search .selected_terms label, .remove_term_list label {
	float: left;
	width: auto;
}

.js #content .poster_search .selected_terms label:after, .remove_term_list label:after {
	content: ':';
	margin-right: 5px;
}

.js #content .poster_search .selected_terms ul {
	margin: 0;
	padding: 0;
}

.js .poster_search .selected_terms .terms_row {
	clear: both;
}

.js .poster_search .selected_terms li, .remove_term_list a {
	padding: 0 0 0 12px;
	margin-right: 4px;
	list-style-type: none;
	cursor: pointer;
}

.js .poster_search .selected_terms li {
	float: left;
}

.remove_term_list a, .js .poster_search .selected_terms li {
	background: url(images/icon-filter2.gif) 0 -28px no-repeat;
}

.remove_term_list a:hover, .js .poster_search .selected_terms li:hover {
	background: url(images/icon-filter2.gif) 0 2px no-repeat;
}

#textblock_describe_poster .text, #textblock_describe_poster p.describe {
	margin-top: 10px;
}

#textblock_describe_poster .align_right {
	margin: 0 10px 0 15px;
}

#textblock_describe_poster .describe a:after {
	content: ' »';
}


.ppl_fields {
	position: relative;
}

.ppl_fields a, .ppl_fields a:hover {
	color: #8f775f;
}

#describe_poster {
	position: absolute;
	top: 0;
	right: 10px;
	width: 130px;
	padding: 5px 50px 5px 15px;
}

#describe_poster {
	position: static;
	float: right;
	margin: 0 10px 10px 10px;
}

#describe_poster, .postertags .add {
	background: #bb9779;
	color: #fff;
}

#describe_poster h3 {
	color: #fff;
	margin: 0 0 5px;
}

#describe_poster a:after {
	color: #fff;
	position: absolute;
	right: 13px;
	top: 33px;
	font-size: 50px;
	content: '»';
}

#describe_poster a {
	color: #000;
	line-height: 18px;
	font-size: 13px;
	display: block;
}

#describe_poster a:hover {
	text-decoration: none;
}

.single-imagecollection #postnav {
	display: none;
}

.postertags {
	margin-top: 25px;
}

.postertags .add {
	display: inline-block;
	padding: 0 5px;
}

.postertags .add:after {
	content: ' »';
}

#poster_overview h2, .poster_search h2, .rail h2 {
	color: #2d9bb9;
}

#poster_overview .posts_per_page {
	float: right;
	padding: 23px 0;
	margin-left: 20px;
}

#poster_overview .posts_per_page label {
	padding-right: 5px;
}

#poster_overview .posts_per_page select {
	font-size: 11px;
}

#poster_overview .navigation {
	overflow: hidden;
}

#poster_link .pager {
	text-align: right;
	padding: 0 20px 10px 0;
	float: right;
	overflow: hidden;
}

#poster_link .pager a {
	overflow: hidden;
	display: block;
	float: left;
	border: 1px solid #a99685;
	width: 0;
	height: 0;
	padding: 15px 15px 0 0;
	margin-left: 5px;
	cursor: pointer;
}

#poster_link .pager a.selected {
	border: 1px solid #7c706f;
	background: #a99685;
}

/* Add a tag */

#add_a_tag_form input[type="text"] {
	border: 1px solid #bb9779;
	padding: 4px 5px;
}

#add_a_tag_form input[type="submit"] {
	float: none;
	display: inline;
	background: #bb9779;
	color: #fff;
	height: 26px;
	text-transform: none;
	border: 1px solid #bb9779;
	text-shadow: none;
	letter-spacing: normal;
}

/* /POSTER */

.wp-paginate {
    text-align: right;
    margin: 25px 0 !important;
}

.widget ul li {
	list-style-type: none;
	padding: .15em 2px;
}

.widget_imagecollection .textblock {
	overflow: hidden;
	clear: both;
	padding-top: 10px;
}

#showcaseitems .info {
	display: none;
}

#showcaseitems li:hover .info {
	display: block;
	margin: 0 -7px;
	padding: 5px 7px;
	background: #e6e1de;
	border-bottom: 10px solid #f4efec;
}

.fix::after {
	content: '.';
	display: block;
	height: 0;
	visibility: hidden;
	clear: both;
}

.post-title-section .post-icons {
	float: right;
	margin-top: 10px;
}

.post-icons a {
	float: left;
}

.post-icons div {
	margin: 0;
}

#print {
	width: 17px;
	height: 16px;
	background: url(images/icon_print.png) no-repeat;
}

.pdf24Plugin-lp a, .post-icons .printfriendly a {
	background: url(images/icon_pdf.png) no-repeat;
}

.post-icons a {
	width: 17px;
	height: 16px;
	display: block;
	margin-left: 5px;
	overflow: hidden;
	text-indent: 9999px;
}

.metabar {
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.metabar a {
	color: #777;
}

.metabar .sword {
	text-transform: lowercase;
	letter-spacing: 0;
}

.widget_imglist>ul>li>a>img {
	max-width: 100%;
	height: auto;
}

.widget_imglist ul {
	margin: 0 -2.5%;
}

.widget_imglist ul li {
	margin: 0;
	padding: 0 2.5%;
	max-width: 33.3%;
	display: inline-block;
	float: none;
}

#full-sidebar .widget_showcase ul {
	border: 1px solid #c4b8ae;
	border-width: 1px 0;
	padding: 10px 0;
	margin: 10px 0;
	text-align: center;
}

#full-sidebar .widget_showcase ul li {
	border-left: 1px solid #c4b8ae;
	max-width: 16.6%;
}

#full-sidebar .widget_showcase ul li:first-child {
	margin-left: 0;
	border: none;
}

#main .showcase-item, #main .poster-item {
	width: 110px;
	height: 168px;
}

#main .poster-item {
	height: auto;
}

li:hover {
    z-index: 9999;
}

#mainmenu>li:hover .toggle {
	display: none;
}

#textblock_newsletter h2 a:after,
#textblock_get_a_librarycard h2 a:after,
#textblock_give_us_feedback h2 a:after,
#textblock_international_law_news_widget h2 a:after {
	position: absolute;
	content: ' ';
	background: url(data:image/svg+xml,%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%20width%3D%225.545px%22%20height%3D%2223.5px%22%20viewBox%3D%220%200%205.545%2023.5%22%20enable-background%3D%22new%200%200%205.545%2023.5%22%20xml%3Aspace%3D%22preserve%22%3E%20%3Cg%3E%20%3Cpath%20fill%3D%22%23F6F0ED%22%20d%3D%22M0%2C23.5c-0.066%2C0-0.133-0.013-0.198-0.041c-0.253-0.11-0.37-0.404-0.26-0.658l4.914-11.343L-0.458%2C0.2%20C-0.569-0.053-0.453-0.348-0.2-0.458C0.054-0.569%2C0.348-0.454%2C0.458-0.2l5.087%2C11.658L0.459%2C23.199C0.377%2C23.387%2C0.193%2C23.5%2C0%2C23.5%20L0%2C23.5z%22%2F%3E%20%3C%2Fg%3E%20%3C%2Fsvg%3E%20) left center no-repeat;
	/*background-size: contain;*/
	top: 0;
	left: 20px;
	bottom: 0;
	width: 50px;
}

#posterlist {
	clear: both;
}

.atm-f {
	box-sizing: content-box;
}

@media screen and (max-width: 940px) {	
	body {
		min-width: 0;
	}
	
	.sized {
		width: auto;
	}
	
	.block, #sidebar {
		width: 33.333%;
		margin-right: 0;
	}
	
	#main {
		width: 66.666%;
	}
	
	#sidebar {
		padding-right: 0;
	}
	
	#content>.row {
		/*margin-right: 0;
		overflow: hidden;*/
	}
	
	body>header h1 {
		padding-right: 15px !important;
	}
}

@media screen and (max-width: 940px) {
	#header_language_list, body>footer ul, #breadcrumbs {
		padding-left: 10px;
	}
}

@media screen and (max-width: 840px) {
	.home .block .more, .widget .more {
		text-align: right;
		display: block;
		position: static;
	}
}

@media screen and (max-width: 800px) {
	.social {
		display: none;
	}
}

@media screen and (max-width: 640px) {
	.row {
		margin-left: 0;
		margin-right: 0;
	}
	
	#main, .block, #sidebar, aside>*, .sized, body>header .sized, #full-sidebar {
		width: auto;
		float: none;
		padding-left: 0;
		padding-right: 0;
	}
	
	.sized {
		padding-left: 10px;
		padding-right: 10px;
	}
	
	#textblock_search_our_image_collection .poster_types label {
		width: 33%;
	}
	
	body>header {
		position: relative;
	}
	
	body>header h1 {
		padding-top: 20px !important;
	}
	
	.home>header h1 svg {
		height: 50px;
	}
	
	.header_menu {
		display: none;
	}
	
	#topnav {
		right: 5px;
		top: 50px;
		left: auto;
		width: auto;
		border: none;
		line-height: normal;
	}
	
	.home #topnav {
		top: 60px;
	}
	
	/*
	.header_menu {
		margin-left: 65px;
	}
	
	#header_language_list {
		margin-right: -60px;
		float: left;
	}
	
	#breadcrumbs {
		padding-top: 50px;
	}
	
	#topnav {
		top: auto;
		bottom: 58px;
		border: none;
		line-height: normal;
	}*/
}

.post-icons a.addthis_button_compact {
	text-indent: 0;
}

#menu-header-menu .webshop a, #menu-header-menu-french .webshop a {
	overflow: hidden;
	text-indent: -9999px;
	display: block;
	width: 18px;
	height: 34px;
	background: url(/wp-content/themes/ppl2/images/icon-cart.png) no-repeat center center;
}

#itemlist img {
	margin: 15px 0 10px 10px;
	float: right;
}

body.archive #itemlist {
	margin-top: 1em !important;
}
