﻿/* 

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;
	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 li {
	margin: 0 0 0 5px;
	display: inline-block;
	border-bottom: 0px!important;
}

.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: 25px;
}

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

/* Top Bar */

#top-bar {
    display: table;
    width: 100%;
    max-width: 1500px;
    line-height: 175%;
    margin: 0 auto .5%;
    padding: 0 auto .8%;
}

.welcome,
.the-outset {
    display: table-cell;
    width: 48.33%;
    padding: 0px;
    font-size: .90em;
}

.welcome {    
    vertical-align: middle;
    padding-right: 2.33%;
    text-align: center;
    border-top: 0px;
    border-left: 0px;
    border-bottom: 0px;
}

.welcome i {
    color: #1c1a1b;
}

.the-outset {
    padding-left: 2.33%;
    vertical-align: text-bottom;
    font-family: "Tahoma", sans-serif;
}  

.the-outset u {
    color: #c19882;
    font-style: italic;
    padding: 1px;
    text-decoration: none;
    font-family: "Noto Serif", serif;
    font-weight: 400;
    font-size: 1.45em;
}

.the-outset i {
    color: #253c42;
}

.the-outset .img img {
    float: left; 
    margin: 0 7px 0 0;
}

.the-outset img {
    height: auto;
    padding: 0!important;
	width: 380px;
}

.the-outset p {
	background: #cfcfcf;
	padding: 5px;
	margin-top: 14px!important;
}

.the-outset .link {
    text-align: right;
    text-transform: uppercase;
	padding: 15px 15px 0 0!important;
}

.link a {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 6px;
    display: inline-block;
    font-size: .65em;
    font-weight: 400!important;
    line-height: 20px;
    list-style: none;
    padding: 3px 8px;
    position: relative;
    transition: background-color 0.2s cubic-bezier(0.3, 0, 0.5, 1);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: middle;
    white-space: nowrap;
    word-wrap: break-word;
	letter-spacing: 1px;
}

.link a:hover {
    background-color: #a6a56d;
	color: #fff!important;
    border: 1px solid transparent;
    text-decoration: none;
    transition-duration: 0.1s;
}

.link a:focus {
    outline: 1px transparent;
}

.link a:before,
.link a:-webkit-details-marker {
  display: none;
}

/* news content */

#news_all{
	float: left;
	width: 69.33%;
	margin-top: 15px;
	background: #fff;
}

#news{
	margin-bottom: 3px;
}

.news {
	line-height: 21px;
	margin:0px; 
	z-index: -1!important;
	margin-bottom: 60px;
}

.news-content {
	padding: 12px; 
}

.comments {
	line-height: 175%;
	padding: 12px; 
}

.title {
    font-family: "Caveat", cursive;
    font-size: 1.85em;
    color: #191919;
    margin: 15px 0 8px 0;
    font-weight: 400;
    line-height: 19px;
	text-align: center;
}

.title a,
.title a:hover {
    color: #191919!important;
    font-weight: 400!important;
    text-decoration: none;
}

.category {
	margin: 8px auto 5px;
	padding: 3px auto;
	display: block;
	color: #919191;
	text-align: center;
	font-size: .75em;
	text-transform: uppercase;
    font-family: "Tahoma", sans-serif;
}

.category a {
    font-weight: 400!important;
    display: inline!important;
    margin-right: 3px!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;
}

.category a::before {
    content: '\23';
	color: #dacabb;
	font: var(--fa-font-solid);
    margin-right: 3px;
    margin-left: 8px;
}

.category span {
	opacity: .5;
	text-transform: capitalize!important;
}

.category span a::before {
	content: '';
    margin-left: 0px;
}

/* -- Sidebar -- */

#sidebar-mobile {
	display: none;
}

#sidebar_all{
	float: right;
	width: 29.66%;
	margin-top: 1%;
}

.sidebar {
	line-height: 175%;
}

.sidebar-content {
	margin: 0 0 50px 0;
	padding: 12px; 
	background: #fff;
	font-size: 12px;
}

.sidebar-title {
	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;
}
	
.widgettitle {display: none;}

/* -- Images -- */

.news img, 
.news a img, 
.sidebar-content img, 
.sidebar-content a img  {
	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;
}

.news a img:hover, 
.news img:hover,
.sidebar-content a img:hover, 
.sidebar-content img:hover {
    filter: grayscale(100%) brightness(1.1);
}

.news img.wp-smiley { 
	border:none; 
	padding: 0px; 
	margin: 0px;
}

a img {
	border: 0px;
}

/* links */

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: #55888b; 
	text-decoration: none;
}

/* -- blockquote & input area -- */

blockquote {
    display: block;
    width:80%;
    margin:50px auto;
    color: #555555;
    padding:1.2em 30px;
    position: relative;
    font-style: italic;
}
blockquote:before {
    content: "\201C";
    color:#899d9c;
    font-size:4em;
    position: absolute;
    left: 10px;
    top:-10px;
}
blockquote:after,
.sidebar-content blockquote:before,
.sidebar-content blockquote:after {
    content: "";
}

input, select, textarea {
	border: 1px solid #ddd;
	background: #eaeaea;
	padding: 10px;
	color: #565656;
	width: 95%;
    margin: 0 auto;
}

#submit {
	width: auto;
}

/* -- 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;
}

/* -- Featured Images -- */

#featured {
	margin: 0 auto;
	padding: 0;
}

#featured-archive {
	float: left;
	margin-right: 8px!important;
    padding-right: 5px;
	width: 20%;
}

#featured img,
#featured img:hover {
	border: 0px; 
	box-shadow: none; 
	background: none; 
	padding: 0;
	margin: 0 auto;
	width: 100%!important;
	max-width:100%!important;
	height: 350px!important;
	object-fit: cover!important;
	display: block!important;
	filter: grayscale(0%)!important;
}

#featured-archive img,
#featured-archive img:hover {
	border: 0px; 
	box-shadow: none; 
	background: none; 
	padding: 0;
	max-width: 100%!important;
	width: 100%!important;
	height: 130px!important;
	object-fit: cover!important;
	filter: grayscale(100%) brightness(1.1)!important;
}

#featured-archive img.placeholder {
	opacity: .5;
}

/* -- Pagination -- */

.pagination {
	margin: 0 0 60px 0;
}

.pagination li a,
.pagination li a:hover,
.pagination li.active a,
.pagination li.disabled {
    color: #fff;
    text-decoration:none;
}
 
.pagination li {
    display: inline;
	border-bottom: 0px!important;
}
 
.pagination li a,
.pagination li.disabled {
	color: #535353;
	border: 1px solid #e1e1e1!important;
	background: #fff;
    padding: 12px;
    padding: 0.75rem;
  -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;
}
 
.pagination li.active a,
.pagination li.active a:hover {
	color: #929292!important;
	background-color: #eaeaea;
	border: 1px solid #eaeaea!important;
}
 
.pagination li a:hover {
	color: #fff!important;
	background-color: #b07f71;
	border: 1px solid #b07f71!important;
}

/* post gallery links */

.gal-links {
    margin: 0 5px;
    padding: 55px 10px 20px 50px;
    background-image: url(images/gallink.png);
    background-repeat: no-repeat;
    line-height: 18px;  
}

.gal-links a { 
    font-weight: 700;
}

.gal-links a:hover {
    text-decoration: none;	
    color: #a8757a;
}

/* search form */

#searchform {
	margin: 10px 0; 
	position: relative; 
	text-align: center; 
	max-width: 94%;
}
	
#searchform #s {
    margin:0;
    padding: 10px 10px 10px 35px!important; 
	width:94%;
    background: #eaeaea url('images/search.png') 10px center no-repeat;
    font:13px;
    font-style:italic;
    text-align: left;
    outline: none;
    border:1px solid #ddd;
}

/* Formats & styles coding */

.more-link {
	text-align: right;
	width: 100%;
    text-transform: uppercase;
    font-size: .80em;
	font-family: 'Tahoma', sans-serif;
}

.more-link a {
    font-weight: 400!important;
}

.more-link span {
	padding: 8px 0 8px 2px;
}

.more-link span::after {
    content: ' ...';
    color: #868265;
}

.news b, .news strong { 
	color: #344d4a;
}

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


h1 {
	margin: 0 0 12px 0;
	font-size: 18px;
}


h2 {
	margin: 0px;
	font-size: 19px;
}


h3 {
	margin: 0px;
	font-size: 17px;
	font-weight: 700; 
	font-style: italic;
}

h4 {
	margin: 0px;
	font-size: 15px;
}

ul  {
	margin: 5px;
	padding: 5px;
}

li {
	list-style: none;
	padding:8px;
}

/* DO NOT EDIT ANYTHING BELOW HERE */

/* PC SCREEN */

@media (max-width : 1366px), (max-width : 1200px) {
    
    #wrapper,
    #content,
	.container {
        max-width: 1200px!important;
    }
    
    #header {
        min-width: 1366px!important;
    }
    
    #news_all{
        width: 68.33%;
    }
    
    #sidebar_all{
        width: 30%;
    }
    
    .news img,
    .news a img,
    .sidebar-content img,
    .sidebar-content a img {
        width: 10.5vw;
        height: auto;
    }
	
	.the-outset img {
		width: 12.5vw;
}
	
	.the-outset .link {
		text-align: center;
		padding: 15px auto!important;
}
}

/* DEVICES SCREEN */

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

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;
	}
	
	.menu li:after {
        content: " ";
        margin-left: 0;
	}	
}

@media only screen and (max-width: 1024px), only screen and (max-device-width: 966px) {
	
body {
	font-size: 100%!important;
}
	
body,
#wrapper,
#content,
#footer,
.head {
	overflow-x: hidden!important;
}
	
#wrapper {
	width: 100%!important; 
	margin: 0px!important;
}

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

#news_all { 
	padding: 0px auto;  
	width: 95%!important; 
    float: none!important;
	margin: .5% auto 0!important;
}

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

#sidebar-mobile {
	display: block!important;
	clear: both;
	width: 95%!important; 
	margin: 0 auto!important;
    float: none!important;
}

.news img {
	max-width:15vw!important; 
	height: auto;
}

#sidebar_all,
#header {
	display: none!important;
}

embed,
iframe,
object,
video,
input,
textarea,
select {
	width: 100%;
}
	
.pagination {
	padding-bottom: 5%;
}

.footer {
	width: 90%!important;
	padding: 20px 0;
	text-align: center;
}

#top-bar {
    display: block!important;
    max-width: 90%!important;
    margin: 0 auto .9%!important;
}

.the-outset {
    display: block!important;
    width: 90%!important;
    font-size: .65em;
}
    
.the-outset img {
    width: 23.8vw;
}
	
.the-outset .link {
    text-align: center!important;
}
    
.welcome {    
    display: none;
}
}

@media only screen and (max-width: 529px), only screen and (max-device-width: 200px) {
	#top-bar {
		display: none!important;
	}
}