/* 

Theme Name: SJorg
Site URI: www.s-johansson.org
Author: Never Enough Design
Design URI: https://neverenoughdesign.com

============================================================

THIS THEME WAS CREATED EXCLUSIVELY FOR S-JOHANSSON.ORG
DO NOT REPLICATE OR REDISTRIBUTE AS YOURS

============================================================

*/


/* body */

p:empty:before {
    content: none!important;
}

body {
	background-color: #ebebeb;
	margin: 0px;
	padding: 0px;
	font-family: 'Noto Serif', serif;
	font-size: 14px;
	line-height: 185%;
	font-weight: 400;
	color: #4e4e4e;
	overflow-x:hidden!important;
	word-wrap: break-word;    
}

#wrapper {
	margin: 0 auto;	
	width: 100%;
	max-width: 1500px;
	position: relative;
}

#content {
	width: 100%;
	max-width: 1500px;
	margin: 0 auto;
}

/* header */
#header {
	max-width: 100%;
	min-width: 1700px;
	height: 500px;
	background-image:url('images/header.jpg'); 
	background-repeat: no-repeat; 
	background-position:center center;
	margin: 0 auto;
}

.head {
	display: none;
}

/* menu */

#navigation {
	margin: 0 auto;
    padding: .7% auto;
    font-family: "Tahoma", sans-serif;
    font-weight: 400;
}

.navi {
	padding: 0;
}

.container {
	padding: 15px 0;
	margin: 0 auto;
	width: 1500px;
	position: relative;
	text-align: center;
	background: #1c1b20;
}

.navi ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.navi li {
	display: inline-block;
	border-bottom: 0px!important;
}

.menu {
	line-height: 14px;
	font-size: 15px;
}

.menu a {
    color: #fff!important;
  -webkit-transition: opacity 0.4s linear;
  -webkit-transition: all 0.4s ease-out; 
  -moz-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
  font-weight: 400!important;
	margin-right: 15px;
}

.menu a:hover {
    color: #a5a476!important;
}

/* gallery */

#gallery {
	width: 100%;
	margin: 0 auto;
	background: #fff;
}

.menutop {
	padding: 8px!important;
	width: 70%;
	margin: 5px;
	line-height: 32px;
}

.menutop a {
	color: #757575;    
    background-color: #eaeaea;
    border: 1px solid #ddd;
    border-radius: 1px;
	margin: 3px;
	font-size: 10px;
	text-align: right;
	font-family: 'Tahoma';
	padding: 5px!important;
  -webkit-transition: opacity 0.4s linear;
  -webkit-transition: all 0.4s ease-out; 
  -moz-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

.menutop a:hover {
	padding: 8px;
	color: #fff!important;
	text-decoration: none!important;
	background-color: #589091;
    border: 1px solid #589091;
}

.textinput, .listbox, .button, .radio, .checkbox, input, select, textarea {
	border: 1px solid #ddd!important;
	background: #eaeaea!important;
	padding: 10px;
	margin: 7px;
	color: #747474!important;
	-moz-box-sizing: border-box; 
	-webkit-box-sizing: border-box; 
	box-sizing: border-box;
}

a, a:link, a:visited, a:active {
	font-weight: 700; 
	text-decoration:none; 
	color: #919191;
  -webkit-transition: opacity 0.4s linear;
  -webkit-transition: all 0.4s ease-out; 
  -moz-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

a:hover {
	color: #dc3656; 
	text-decoration: none;
}

.maintable {
	margin: 0 auto 1.5%; 
	padding: 10px 25px;
	font-size: .95em; 
	line-height: 175%;
	font-family: "Tahoma", sans-serif;
}

.tableh1 {
	font-size: .85em;
	padding: 3px 8px;
	text-align: center;
	color: #fff;
	margin: 0 auto;
	font-family: "Tahoma", sans-serif;
	background: #a6a76d;
	letter-spacing: 2px; 
	text-transform: uppercase;
}

.tableh1 h2 {
	font-weight: 700!important;
	font-family: 'Noto Serif', serif;
    font-size: 14px;
	text-transform: capitalize;
	color: #fff;
	letter-spacing: 0px; 
}

.sortorder_options {
	padding: 0px;
	margin: 0px;
	font-weight: 400;
	font-size: 10px;
	white-space: nowrap;
}

.tableh2 {
	margin: 0 auto;
	font-size: 12px;
	text-transform: uppercase; 
	padding: 3px;
	line-height: 1.7em;
	font-family: "Tahoma", sans-serif;
}

.tableh2 a {
    background: #dacabb;
	color: #fff!important;
	padding: 3px 8px;
    font-weight: 400;
  -webkit-transition: opacity 0.4s linear;
  -webkit-transition: all 0.4s ease-out; 
  -moz-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

.tableh2 a:hover {
    background: #55888b;
}

.catrow, .catrow_noalb, .catrow_noalb:hover, .catrow:hover {
	padding: 1.5%;
}

.catrow_noalb .count {
    line-height: 105%;
    font-size: .85em;
    font-weight: 400!important;
    color: #919191;
    display: block;
    opacity: .5;
    text-transform: uppercase;
}

.catrow .counts {
    line-height: 105%;
    font-size: .85em;
    font-weight: 400!important;
    color: #919191;
    display: block;
    opacity: 1!important;
    text-transform: uppercase;
}

.counts .fa-solid {
	color: #dacabb;
	font: var(--fa-font-solid);
}

td.thumbnails {
	border-top: 0px;
	padding: 12px 5px;
}

/* pseudo-classes for image links */
a:link .image, a:visited .image, a:focus .image, a:active .image {
	margin: 8px;
    padding: 0;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.4);
    -webkit-transition: opacity 0.4s linear;
    -webkit-transition: all 0.4s ease-out;
    -moz-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
}

a:hover .image {
    filter: grayscale(100%) brightness(1.1);
}

.image,
.image:hover,
.imageborder {
	padding: 1px;
}

.display_media {
	border: 0px;
	padding-top: 3px;
	padding-right: 10px;
	padding-bottom: 3px;
	padding-left: 10px;
}

.display_media .image {
max-width: 70vw!important;
height: auto!important;
margin: 0 auto!important;
}

.statlink {
    font-size: 14px;
	font-weight: 400;
	margin: 12px!important;
	padding: 10px;
	color: #757575;
}

.statlink .stats {
    font-size: 0.90em; 
	padding: 6px;
    margin: 8px auto;
}

.statlink .stats strong {
	color: #868265;
    font-family: 'Caveat', cursive;
    letter-spacing: 0px;
	font-weight: 400!important;
    font-size: 1.65em;
}

.statlink a {
    font-size: .95em!important;
	padding: 5px 0;
    font-weight: 400!important;
	text-transform: capitalize!important;
}

.alblink {
    font-weight:bold;
	text-shadow: none;
}

.catlink {
    display: block;
	font-size: 1.75em;
	padding: 8px auto;
	text-transform: capitalize!important;
	margin: 0;
	font-weight: 400;
    font-family: "Caveat", cursive;
    font-size: 1.85em;
}

.catlink a {
    color: #55888b!important;
	font-weight: 400!important;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    margin: 0 auto;
  -webkit-transition: opacity 0.4s linear;
  -webkit-transition: all 0.4s ease-out; 
  -moz-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

.catlink a:hover {
    color: #344d4a!important;
}

.thumb_filename,
.thumb_title,
.thumb_caption {
	font-size: 0.90em;
	padding: 4px!important;
	margin: 5px 1px;
	font-weight: 400;
	background: #fbeee5;
}

.thumb_title {
  display: inline-block;
}

.thumb_caption {
	display: block!important;
	text-transform: uppercase;
	background: #fff;
	border-bottom: 1px solid #fbeee5;
	width: 55%;
}


hr {
	background-color: #bdbcbc;
	color: #bdbcbc;
	border: 0;
	width: 92%;
	height: 1px;
	opacity: .15;
}

/* -- footer -- */

#footer {
	padding: 10px;
	clear: both;
	overflow-x:hidden!important;
	font-weight: 400!important;
	line-height: 21px;
	font-size: 11px;
    font-family: 'Tahoma', sans-serif;
	letter-spacing: 1px;
	background: #19191b;
	color: #939393;
	text-transform: uppercase;
}

.footer {
	margin: 0 auto;
	padding: 12px;
	width: 1200px;
}

.footer a {
    color: #b1cbcc!important;
	text-decoration: none;
	font-weight: 400!important;
}

.footer a:hover {
    color: #d9c2b2!important;
	text-decoration: none!important;
}

.footer .disclaimer {
	font-size: 14px!important;
	font-weight: 400!important;
	text-align: left!important;
	letter-spacing: 0px!important;
    padding: 8px;
    font-family: 'Noto Serif', serif;
	text-transform: none!important;
	width: 84.33%;
	margin-left: 2.33%;
}

.footer .fa-brands {
    color: #c19e88;
    font-size: 12px;
}

a.socials {
    margin-left: 5%;
}

.footer u {
	text-decoration: none;
	border-top:  1px solid #c19e88;
}

/** PC SCREEN **/

@media (max-width : 1366px), (max-width : 1200px) {
	
	#wrapper,
	#content {
		width: 100%;
		max-width: 1200px;
	}
	
	#header {
		min-width: 1366px;
		margin: 0 auto;
	}
    
    a:link .image, a:visited .image, a:focus .image, a:active .image{
        width: 10.5vw;
        height: auto;
}	
}

/** MOBILE DEVICES **/
.show-menu,
.menu input[type=checkbox] {
	display: none;
}

.menu input[type=checkbox]:checked ~ .rpv-menu {
	display: block;
}

@media (max-width : 1024px), (max-width : 959px) {
	
	#navigation {
        overflow: hidden!important;
        margin: 0;
        display: block!important;
	}

	.navi {
		margin: 0;
	}

	.navi .container {
		padding: 20px 2px;
	}	
	
	.navi ul {
		position: static;
		display: none;
	}

	.navi ul li,
    .navi li a {
		width: 100%;
	}

	.show-menu {
		font-size: 14px;
		display: block;
		text-transform: none;
        padding: 12px;
        font-weight: 400;
	}
	
	.show-menu .fa-solid {		
		color: #95b4b7;
		padding: 8px;
	}

	.navi .container {
		padding: 0;
	}

	.menu {
		display: block;
		text-align: left!important;
		width: 100%;
	}
	
	.menu li:first-child {
		margin-top: 7px;
	}

	.menu li {
		margin: 0;
	}

	.menu a {
		display: block;
		padding: 8px;
	}
}
 
@media only screen and (max-width: 1024px), only screen and (max-device-width: 966px) {
	
body {
	font-size: 100%!important;
}

body,
#wrapper,
#content,
.maintable,
#footer,
.head {
	overflow-x: hidden!important;
}

#wrapper {
	width: 100%!important; 
}

#content {
	width: 100%; 
	padding: 0px; 
	margin: 0px!important;
}

img.head {
	width: 100%!important;
	height: auto;
	margin: 0!important;
	padding: 0!important;
	display: block!important;
}

.maintable {
	max-width: 90%!important;
	margin: 0 auto 1.5%!important; 
	padding: 10px!important;
	font-size: .95em; 
	line-height: 175%;
	font-family: "Tahoma", sans-serif;
}

.navmenu {
	font-size: 100%;
}

#gallery { 
	margin: 0 0 20px 0;
	padding: 0px; 
	max-width: 95%;
}
	
#gallery .menutop {
	max-width: 65vw!important;
}

#header,
.sortorder_cell { 
	display: none;
 }

embed,
iframe,
object,
video {
	max-width: 100%;
}

.footer {
	max-width: 90%;
    margin: 0 auto!important;
}

.navmenu {
	padding:2px!important; 
}

.navmenu img {
	margin: 0px!important;
}

.thumb_filename,
.thumb_title,
.thumb_caption {
	display: block!important;
	font-size: 0.60em;
	padding: 4px!important;
	margin: 5px 1px!important;
	width: 40%!important;
}
	
.tableh1 {
	width: 100%!important;
}
	
td.thumbnails {
	margin:0!important; 
	padding:12px 0px!important; 
	width: 0.1vw!important;
}

.thumbnails .image, 
.thumbnails .thumbnail {
	height: auto; 
	display:inline; 
	max-width:5vw;
}

}