/*
Theme Name: Neve Child
Theme URI: https://wp-themes.com/neve
Author: ChildThemeWP.com
Author URI: https://childthemewp.com
Description: My WordPress Neve child theme.
Template: neve
License: GNU General Public License v3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Version: 1.0.0
Text Domain: neve-child
*/
/*h1 {
*	font-size: 24px;
*	font-size: 2.4rem;
}*/
/* 
* Detta definierar åtta boxar för skrollning, SB1: Höjd 100px - SB7: Höjd 700px, så vi har tillgång
* till några storlekar att välja på. Den högsta, SB55 (höjd 550px) används för nyhetsfältet på startsidan.
*/

 html, .fancy, .says, cite, blockquote, input, textarea {
    font-family: Verdana, Verdana, Geneva, sans-serif;
}

/* p {
	 font-family: "Verdana", sans-serif; 
	font-size: 14px;
	font-size: 1.4rem;
}*/

h1 {
	font-size: 24px;
	font-size: 2.4rem;
}

/* 
* Detta definierar fyra boxar för skrollning. SB1: Höjd 100px, SB2: Höjd 200px, SB3: Höjd 300px och SB4: Höjd 400px.
*/
div.SB1 { border: 1px solid rgba(0, 0, 0, 0.1);
    height: 100px;
	background-color: rgba(85,85,85,1);
	padding: 15px;
overflow-y: scroll;}

div.SB2 { border: 1px solid rgba(0, 0, 0, 0.1);
    height: 200px;
	background-color: rgba(85,85,85,1);
	padding: 15px;
overflow-y: scroll;}

div.SB3 { border: 1px solid rgba(0, 0, 0, 0.1);
    height: 300px;
	background-color: rgba(85,85,85,1);
	padding: 15px;
overflow-y: scroll;}

div.SB4 { border: 1px solid rgba(0, 0, 0, 0.1);
    height: 400px;
	background-color: rgba(85,85,85,1);
	padding: 15px;
overflow-y: scroll;}
/* 
* Detta definierar fyra boxar för skrollning vid behov dvs. när innehållet blir större än vad boxen rymmer. Höjd 100px,200px,Höjd 300px och 400px.
*/
div.ASB1 { border: 1px solid rgba(0, 0, 0, 0.1);
    height: 100px;
	background-color: rgba(85,85,85,1);
	padding: 15px;
overflow-y: auto;}

div.ASB2 { border: 1px solid rgba(0, 0, 0, 0.1);
    height: 200px;
	background-color: rgba(85,85,85,1);
	padding: 15px;
overflow-y: auto;}

div.ASB3 { border: 1px solid rgba(0, 0, 0, 0.1);
    height: 300px;
	background-color: rgba(85,85,85,1);
	padding: 15px;
overflow-y: auto;}

div.ASB4 { border: 1px solid rgba(0, 0, 0, 0.1);
    height: 400px;
	background-color: rgba(85,85,85,1);
	padding: 15px;
overflow-y: auto;}
/* 
* Detta definierar fyra boxar för skrollning vid behov och med rundade hörn, 5px. Höjd 100px,200px,Höjd 300px och 400px.
*/
div.AR5SB1 { border: 1px solid rgba(0, 0, 0, 0.1);
    height: 100px;
	background-color: rgba(85,85,85,1);
	padding: 15px;
overflow-y: auto;}

div.AR5SB2 { border: 1px solid rgba(0, 0, 0, 0.1);
    height: 200px;
	background-color: rgba(85,85,85,1);
	padding: 15px;
overflow-y: auto;}

div.AR5SB3 { border: 1px solid rgba(0, 0, 0, 0.1);
    height: 300px;
	background-color: rgba(85,85,85,1);
	padding: 15px;
overflow-y: auto;}

div.AR5SB4 { border: 1px solid rgba(0, 0, 0, 0.1);
    height: 400px;
	background-color: rgba(85,85,85,1);
	padding: 15px;
overflow-y: auto;}
    
/* 
* Detta definierar ytterligare en box, padding 5px, ej skrollbar, ram som har rundade hörn 5px. Höjd 120px.
* Detta är boxen vi använder längst upp på startsidan.
*/

div.HR5B12 {
    height: 120px;
	padding: 5px;
	border: 1px solid black;
	border-radius: 5px;
    overflow-y: hidden;}
	
/* 
* Jag upptäckte att scrollning inte fungerar fullt ut i iOS. Detta är lösningen, man kan dock inte använda overflow-y: auto.
* oisb1 höjd 100px, - iosb7 höjd 700px. iosb-special är en "specialare" för framtida bruk.
*/

div.iosb1 {
	-webkit-overflow-scrolling: touch;
  	overflow-y: scroll;
	height: 100px;
	background-color: rgba(85,85,85,0.1);
	padding: 5px;
}

.iosb1 iframe {
}

div.iosb2 {
	-webkit-overflow-scrolling: touch;
  	overflow-y: scroll;
	height: 200px;
	background-color: rgba(85,85,85,0.1);
	padding: 5px;
}

.iosb2 iframe {
}

div.iosb3 {
	-webkit-overflow-scrolling: touch;
  	overflow-y: scroll;
	height: 300px;
	background-color: rgba(85,85,85,0.1);
	padding: 5px;
}

.iosb3 iframe {
}

div.iosb4 {
	-webkit-overflow-scrolling: touch;
  	overflow-y: scroll;
	height: 400px;
	background-color: rgba(85,85,85,0.1);
	padding: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;	
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

.iosb4 iframe {
}

div.iosb5 {
	-webkit-overflow-scrolling: touch;
  	overflow-y: scroll;
	height: 400px;
	background-color: rgba(85,85,85,0.1);
	padding: 5px;
}

.iosb5 iframe {
}

div.iosb55 {
	-webkit-overflow-scrolling: touch;
  	overflow-y: scroll;
	height: 550px;
	background-color: rgba(85,85,85,0.1);
	padding: 5px;
}

.iosb55 iframe {
}

div.iosb7 {
	-webkit-overflow-scrolling: touch;
  	overflow-y: scroll;
	height: 700px;
	background-color: rgba(85,85,85,0.1);
	padding: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;	
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

.iosb7 iframe {
}

div.iosb-special{
	-webkit-overflow-scrolling: touch;
  	overflow-y: scroll;
	position: fixed; 
	right: 0; 
	bottom: 0; 
	left: 0;
	top: 0;
}

.iosb-special iframe {
	height: 100%;
	width: 100%
}
/* 
* Detta definierar en "Modal box" som flyter på websidan.
*/
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #RRGGBB;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

/* The Close Button */
.close {
  color: #RRGGBB;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 2px 16px;
  background-color: #000000;
  color: #RRGGBB;
}

.modal-body {
  padding: 2px 16px;
  background-color: #b9bcbf;
  color: #RRGGBB;
}

.modal-footer {
  padding: 2px 16px;
  background-color: #000000;
  color: #RRGGBB;
}
/* Styling av inneållet i nyhetsfältet */
.su-posts-custom-loop .su-post {
  margin-bottom: 8.5em;
  line-height: 1.5;
}

.su-posts-custom-loop .su-post:after {
  content: '';
  display: table;
  clear: both;
}

.su-posts-custom-loop .su-post-thumbnail {
  float: left;
  display: block;
  width: 100px;
  height: 100px;
  margin-right: 1em;
}

.su-posts-custom-loop .su-post-thumbnail img {
  max-width: 100px;
  max-height: 100px;
}

.su-posts-custom-loop h2.su-post-title {
  clear: none;
  margin: 0 0 0.3em;
  font-size: 1.2em;
  font-weight: bold;
}

.su-posts-custom-loop .su-post-meta {
  margin-bottom: 0.7em;
  font-size: 0.8em;
  opacity: 0.6;
  filter: alpha(opacity=60);
}

.su-posts-custom-loop .su-post-excerpt {
  margin-bottom: 0.1em;
}

.su-posts-custom-loop .su-post-excerpt p:last-child {
  margin-bottom: 0;
}

.su-posts-custom-loop .su-post-comments-link {
  font-size: 0.9em;
}
.nyheterna {
  clear: none;
  margin-bottom: 1px;
}
/* 
* Skapa två knappar, en för att ta sig till föregående sida
* och en för att gå till toppen på sidan. Dessa används av mina 
* shortcodes knapp_ett och knapp_två.
*
*/
#minKnapp {
  display: none;
  background-color: black;
  border: 2px;
  color: white;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 5px;
  position: fixed;
  bottom: 50px;
  right: 150px;
  z-index: 99;
	
}

#minKnapp:hover {
	background-color: #555;
}

#minKnapp2 {
  background-color: black;
  border: 5px;
  color: white;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 5px;
  position: relative;
  bottom: 15px;
  left: 485px;
  z-index: 99;
}

#minKnapp2:hover {
	background-color: #555;
}

/*---------------------------------------------------------
 6. Posts (_posts.scss)
-------------------------------------------------------- */

.entry-header {
	margin-bottom: 10px;
	margin-bottom: 1.0rem;
}

.entry-header .entry-thumbnail {
	margin-bottom: 11px;
	margin-bottom: 1.1rem;
	line-height: 1;
	text-align: center;
}

.entry-header .entry-thumbnail.post-header {
	margin-right: 0;
}

.entry-thumbnail-caption {
	margin-top: 5.5px;
	margin-top: 0.55rem;
	text-align: left;
}

.entry-title {
	margin-top: 5.5px;
	margin-top: 0.55rem;
	font-weight: bold;
	word-spacing: -1px;
	word-spacing: -0.1rem;
}

.entry-date,
.site-wrapper div.sharedaddy h3 {
	display: block;
	float: left;
	margin-bottom: 11px;
	margin-bottom: 1.1rem;
	font-size: 12px;
	font-size: 1.2rem;
	font-weight: bold;
	letter-spacing: 1px;
	letter-spacing: 0.1rem;
	text-transform: uppercase;
}

.entry-header .entry-date,
.entry-header .site-wrapper div.sharedaddy h3,
.site-wrapper div.sharedaddy .entry-header h3 {
	line-height: 40px;
}

.entry-footer .entry-date,
.entry-footer .site-wrapper div.sharedaddy h3,
.site-wrapper div.sharedaddy .entry-footer h3 {
	display: inline-block;
	float: none;
	margin-bottom: 22px;
	margin-bottom: 2.2rem;
	font-size: 14px;
	font-size: 1.4rem;
	letter-spacing: 0;
	text-transform: none;
}

.entry-date a,
.site-wrapper div.sharedaddy h3 a {
	color: #171717;
	text-decoration: none;
}

.entry-author {
	float: left;
	clear: both;
	margin: 22px 0 22px;
	margin: 2.2rem 0 2.2rem;
}

.entry-header .entry-author {
	display: inline-block;
	margin-top: 0;
	margin-bottom: 0;
}

.entry-header .entry-author .entry-author-byline {
	display: inline-block;
	margin-right: 8px;
	margin-right: 0.8rem;
}

.entry-footer .entry-author {
	display: block;
	float: none;
	margin: 44px 0 22px;
	margin: 4.4rem 0 2.2rem;
}

.entry-content {
	clear: both;
}

.entry-author-bio {
	margin-top: 11px;
	margin-top: 1.1rem;
	font-size: 13px;
	font-size: 1.3rem;
}

.entry-author-byline {
	font-size: 15px;
	font-size: 1.5rem;
	font-style: italic;
	line-height: 40px;
}

.entry-author-byline a.vcard {
	color: #3070d1;
	font-weight: bold;
	font-style: normal;
}

.entry-comment-count {
	margin-bottom: 11px;
	margin-bottom: 1.1rem;
}

.entry-header .entry-comment-count {
	float: right;
	clear: both;
	line-height: 40px;
}

.entry-footer .entry-comment-count {
	margin-bottom: 22px;
	margin-bottom: 2.2rem;
}

.entry-comment-count a,
.comment-count-icon a {
	color: #b9bcbf;
	font-size: 14px;
	font-size: 1.4rem;
	font-weight: normal;
}

.entry-comment-count a:hover,
.comment-count-icon a:hover {
	color: #3070d1;
}

.comment-count-icon:before {
	float: left;
	position: relative;
	top: 1px;
	top: 0.1rem;
	padding-right: 8px;
	padding-right: 0.8rem;
	color: #b9bcbf;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f075";
}

.entry-footer .comment-count-icon:before {
	top: 0;
}

.entry-author-avatar {
	float: left;
	padding-right: 8px;
	padding-right: 0.8rem;
	line-height: 0;
}

.entry-author-avatar img {
	width: 40px;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
}

.entry-footer {
	font-size: 14px;
	font-size: 1.4rem;
}

.entry-footer a {
	color: #b9bcbf;
	font-weight: 400;
}

.entry-footer a:hover {
	color: #3070d1;
}

.entry-footer .fa {
	float: left;
	position: relative;
	top: 4px;
	top: 0.4rem;
	padding-right: 8px;
	padding-right: 0.8rem;
	color: #b9bcbf;
}

.post {
	margin: 66px 0 88px;
	margin: 6.6rem 0 8.8rem;
	padding-bottom: 10px;
	padding-bottom: 1.0rem;
	border-bottom: 1px solid #eaecee;
}

.post:first-of-type {
	margin-top: 0;
}
