/*
 Theme Name:     320 Bootstrap Hovslatts Missionskyrka
 Author:         Peter Rydetorp, Leif Stålhammar
 Template:       wordpress-bootstrap-master
 Version:        1.0.0
*/

@import url("../wordpress-bootstrap-master/style.css");
@import url("editor-bar-style.css");

/* 
-------------------------------------------------------------- */
/***GENERAL**************************/
body {
    padding-top: 0px !important;
    word-wrap: break-word;
    background-color: #dbdbd8;
    font-family: "Poppins", sans-serif!important;
}
h1,h2,h3,h4,h5,h6{
    font-family: "Poppins", sans-serif!important;
}
h1 
{ 
    text-transform: uppercase; 
    margin-top: 0px;
    margin-bottom: 20px;
    line-height: 30px;
    font-size: 34px;
}

h2 
{
    font-size: 26px;
}

h3 
{ 
    text-transform: uppercase; 
    font-size: 14px;
    line-height: 1.4em;
}
h4
{  
    line-height: 1.4em;
}
hr
{ 
    height: 1px;
    border: 0; 
    border-top: 1px solid #ccc;
}
#content
{
	padding:0;
}
.navbar-fixed-top
{
    position: static!important;
}
.searchresult > p> a {
    display: none;
}

a:hover,a:visited,a:link,a {

   text-decoration: none;
   color: inherit;
   outline: none;
}
article a:hover
{
   /* color: #F5BD00!important;*/
  /*  border-bottom: 2px solid #F5BD00;
    box-shadow: inset 0 0 0 #F5BD00,inset 0 -3px 0 #F5BD00;*/
}
article a
{
    color: #A1243F!important;
    text-decoration: underline!important;
    /*border-bottom: 2px solid #AAAAAA;
    box-shadow: inset 0 0 0 #AAAAAA,inset 0 -3px 0 #AAAAAA;*/
}
#pagewrapper {
    background-color: white;
  
}
.btn, .ppw-pwd-submit-btn
{
    display: inline-block;
    font-weight: 400;
    line-height: 1;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;  
    border: 1px solid transparent;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    border-radius: 0;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    color: #a1243f;
    border-color: #a1243f;
    background-color: #fff!important;
    background-image: none;
    background: #fff!important; 
}
.ppw-ppf-field-container input[type='submit']
{
    background-color: #fff!important;    
    background: #fff!important; 
}
.btn:focus, .ppw-pwd-submit-btn:focus{
    outline:none;
    color: #a1243f!important;
}
.btn:hover, .ppw-pwd-submit-btn:hover{
	 

    color: #a1243f!important;
}
/************************************************/

/*****************NAVIGATION*********************/
.navbar .btn
{

    border: 1px solid #a1243f;
	background: #a1243f !important;
	text-decoration:none !important;
    color: #ffffff !important;
    line-height: 1;
    margin-right: 0.5rem;     
    font-weight: 500;
	padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 0.3rem
}
.navbar, .container,.container-fluid,body,header
{   
    margin: 0px;  
    padding: 0px;      
}
.navbar, .container-fluid,header {

    max-width: 1200px;
}
.hidden-desktop.navbar-inner {
    padding:0px!important;
}


.hidden-desktop .btn-navbar {
    margin-top:10px;
    margin-right:10px;
}
.hidden-phone .btn-navbar {
    float: left!important;
}
#mobileMenuTitle
{
    
   text-transform: uppercase;
   position:relative;
   top: 10px;
  
   margin-left: 50px;
   font-weight: 700; 
}
#searchform
{    
    margin-right: 6px;
}
.navbar-search input, #s
{
    
    border-radius: 4px!important;
    -moz-border-radius: 4px!important;
    -webkit-border-radius: 4px!important;
    margin-bottom: auto;
    margin-top: auto;
}
#footer
{
    margin: 20px;
    margin-left: 0px;
    padding: 0px;
    padding-top: 20px;
    padding-bottom: 0px;
    font-family: "Poppins", sans-serif!important;
    
}
#footerrow {
    padding: 0px;
}
#footer-menu
{
   padding-left: 20px;
   margin-bottom: 20px;
   
}

.footer-links{
	float:left;
	margin-bottom: 18px;
}


.footer-links .menu li{
	float: left;
	margin-left: 0px;
}

.footer-links .menu li{
    text-transform:uppercase; 
}
.footer-links .sub-menu {
    font-size: x-small; 
}
.footer-links .sub-menu li{

	margin-left: 0px;    
    list-style: none;
    text-align:left;
    width: 100%
}
.footer-links .sub-menu {

	margin-left: 0px;
}
#menu-top-menu, #menu-navigering-1,#menu-navigering{
    text-transform: uppercase; 
    padding-top:0px;
    padding-bottom: 0px;
}

#top-navigation .open > .dropdown-toggle, #top-navigation .current_page_parent >.dropdown-toggle, #top-navigation .current_page_item >a, #top-navigation .open
{
    background-color:#F5BD00 !important;
}
#top-navigation .open > .dropdown-toggle
{
    background-color:transparent !important;
    color: white;
    border:0;
}
#top-navigation a:hover {
     color: white;
     border: 0;
}


#top-navigation .menu-item-object-page> a:hover {
    background: #F5BD00!important;   
}

#top-navigation
{
    margin: 0px !important;
    background-color: #3E3E3D;
    
}
.navbar .nav li a {
    float: none;
    text-shadow: none;
}
.navbar .nav > li > a 
{
    color: white;
}

.dagensbibelord, .ch_pos {

    padding: 15px;
    padding-left: 0px;
    display: none;
    font-style: italic;    
}
.dagensbibelord p {

   max-height:150px;
   overflow:hidden;
   margin-bottom: .2rem;
}

.brand img
{    
    width: 100%;
    max-width: 550px;
    padding-left: 15px;
}
.caret
{
    display: none;
}
/*******************************************/

/**********LISTA PÅGÅNG***************/
ul.list-pagang li
{
    padding-left:1.5em;
    margin-bottom: 0.5em;
    position: relative;
}
ul.list-pagang {
	list-style: none;
	padding-left: 0;
}
ul.list-pagang li::before {
    content: '';
	position: absolute;
	left: 0;
	top: 1px;
	width: 2em;
	height: 2em;
	background-repeat: no-repeat;
	background-image: url("data:image/svg+xml;utf8,<?xml version='1.0' encoding='utf-8'?><svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-download' viewBox='0 0 16 16'><path d='M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5'/> <path d='M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708z'/></svg>");
}


/****LJUDWIDGETEN***/

.shvBox a, .shvBox a:hover
{
text-decoration:none;
border:none;
box-shadow:none;
}
.shvBox .header
{
display:none;
}

.shvBox .icon-au
{
    display: none;
}
.shvBox h6
{
    margin-top:1.5rem;
    margin-bottom:0;
}
.shvBox .navigation
{
    margin-top:2rem;
    margin-bottom:1rem;
}
/****************FIRST PAGE BANNER**************/
.firstpagebanner
{
    display: flex;
    flex-direction: row;      
    margin-right:auto;
    margin-left:auto;
    margin-bottom:2rem;
 
}
.firstpagebanner-prev, .firstpagebanner-next
{
    align-self: center;
    text-align: center;
    margin-top:auto;
    margin-bottom:auto;
    width:20%;
}

.firstpagebanner-text p
{
    font-style: italic;
    max-width: 72ch;
    display: none;
}
.firstpagebanner-carousel
{
   aspect-ratio: 4/3;
   display: flex;
   flex-direction: column;
}

.firstpagebanner-mobile-controls
{
    padding-top:0.8rem;
    padding-bottom:0.8rem;
    display: none;
    flex-direction: row;
    justify-content: space-evenly;
    background: rgba(245,189,0, 0.50);    
}

.firstpagebanner-indicator
{
   text-decoration: none!important;   
   font-size:40px;
   color: #A1243F !important;  
}

#main_carousel img {
    margin-bottom: 0px;
    margin-left:auto;
    margin-right:auto; 
    width:100%;
    object-fit: cover;
    height: 100%!important;
}
#main_carousel .carousel ol li
{
    background-color:rgba(43,46,112,0.8);
}
#main_carousel .carousel ol li.active
{
    background-color:rgba(229,35,27,0.8);
}
.carousel
{
    margin: 0px;
    height: 100%;
}
.carousel .item
{    
    height: 100%;
}
.carousel .carousel-control
{    
    display:none;
}
.carousel-inner
{    
    height: 100%;
}
/****************MISC************************/
.noshadow
{
	box-shadow: none !important;
	-moz-box-shadow:none !important;
    -webkit-box-shadow: none !important;
    border: none !important;
}

.pagecontent img, .firstpagepagecontent img
{        
        box-sizing: border-box;
        -webkit-box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
        -moz-box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
       /* box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;*/
        /*border: 5px solid #fff;*/
	   box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
        margin-bottom: 20px;
}
#main
{
    
    padding: 5px;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0px;
}
#main article,.page-header
{
    border-bottom: 0px;
}
#pagewrapper 
{
    margin-left: auto;
    margin-right: auto;
}

#siteheader
{
    background-color: #fff;
    margin: 0px;
    
}


.autoHeight
{
    height: auto!important;
}
.search-main .page-header
{
    margin-top: 0px;
}
.searched-article
{
    margin-right: 20px;
    padding: 20px !important;
    display: none;
}
.search-main footer
{
    margin-left:-25px;
    margin-bottom:-5px;
}
div#footer.container-fluid             
{
    background-color: #3E3E3D;
    color: white;
    margin: 0px;
    font-family: Helvetica, Arial,Sans-serif;
}
div#footer h4     
{
         font-weight: normal;
         font-size: 14px;
	 text-transform: uppercase;
         color: white;
         display: block;
         -webkit-margin-before: 0em;
         -webkit-margin-after: 0em;
}
#pagang-list li i
{
    padding-right:10px;
}
/*** Bildhantering ***/
.alignright {
	float: right;
	margin-left: 1.5em;
}
.alignleft {
	float: left;
	margin-right: 1.5em;
}
.searchedPhrase {
    background: #F5BD00;
    font-weight: 900;
}
/*****************************************/



/*****************WIDGETS*****************/
#news
{    
	margin-top:10px;
    padding-left: 15px;
    padding-right: 15px;
}
.newsitemswrapper 
{
	display:flex;
}
.newswidget 
{
   border-left:2px solid #A1243F;
    padding-left: 20px;
	padding-right: 20px;
    width:30%   
}


.widgettitle { 
    text-transform: uppercase; 
    font-size: 0.9em;
}
.textwidget img {
	max-width:100%;
	max-height:100%;
	float: right;
}
.newswidget a
{
	color: #A1243F!important;
    text-decoration: underline!important;
}

.newswidget .textwidget img 
{
	max-width:115px;
}

.footerwidget
{
    border-left: 1px solid #ccc;
    padding-left: 20px;
    margin-left: 0px!important;
    margin-right: 10px;
}
.footerwidget hr
{
    margin-right: 20px;
}
.rhsWidgetBorderTop,.rhsWidgetBorderBottom
{
    background: transparent url('img/rightwidgettop.png') repeat-x;
    margin: 0px;
    padding: 0px;
    margin-left: 0px !important;
    height: 10px!important;
    min-height: 10px!important;
   
}
.rhsWidgetBorderBottom
{  
    background:  transparent url('img/rightwidgetbottom.png') repeat-x;       
    margin-bottom: 10px;
}
.rhsWidgetBorderBottom:last-child
{  
    margin-bottom: 100px;
}
.FacebookLike
{
    padding-top: 10px;
}
.sidebar 
{
    margin-left: 0px !important;    
    background-color: rgb(246, 246, 246);
}
.sidebar .widget
{
    margin:1rem!important;
    padding:1rem!important;

    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 0 solid rgba(0, 0, 0, 0.125);
    border-radius: .25rem;
    -webkit-box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px!important;
    -moz-box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px!important;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px!important;
}
#main .sidebar img, #main .sidebar2 img
{        
	box-sizing: inherit;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	border: 0;
	max-width:70px;
	height:auto;
	margin:0;

}

/*********************RESOLUTION SPECIFIC****************/
/* desktop */
@media (min-width: 980px) {  
    
     #pagewrapper {
        -webkit-box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px!important;
        -moz-box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px!important;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px!important;
	    border: 1px solid #808080;
        margin-left: auto;
        margin-right: auto;
        max-width: 1200px;
        margin-bottom: 20px;
    }
    .navbar, .container-fluid, header {
    
        width: 1200px;
    }

  
    #main {

    margin-left: 10px;
    margin-right: 0px;
    padding-right: 30px;
   
    }
    .gce-page-list ul, .gce-page-list lI
    {
        margin-left: 10px;
    }
    .firstpagebanner-prev .firstpagebanner-indicator, .firstpagebanner-next .firstpagebanner-indicator
    {    
		    filter: drop-shadow(2px 2px 2px #ccc);
            background-color:rgba(245,189,0, 0.8);
            width: 50px;
            height: 50px;    
            border-radius: 100%;
            display:inline-block;
    }
    .firstpagebanner-prev .firstpagebanner-indicator:hover, .firstpagebanner-next .firstpagebanner-indicator:hover
    {
        background-color:rgba(245,189,0, 1);
    }
    .firstpagebanner-prev .bi-chevron-left::before
    {
        margin-right:5px;
        margin-top:5px;
    }
    .firstpagebanner-next .bi-chevron-right::before
    {
        margin-left:5px;
        margin-top:5px;
    }
	.firstpagebanner-carousel
    {
		filter: drop-shadow(2px 2px 2px #ccc);
    }
	
	#footer-menu
	{
		columns: 2;
  		-webkit-columns: 2;
  		-moz-columns: 2;
	}

}



/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
    #main_carousel {
        padding: 0px;
    }
    .firstpagebanner
    {
        width: 100%;      
    }     
    .firstpagebanner-prev, .firstpagebanner-next
    {
        display: none;
    } 
    
    .firstpagebanner-mobile-controls
    {
        display: flex;
    }
    .firstpagebanner-mobile-controls .firstpagebanner-prev, .firstpagebanner-mobile-controls .firstpagebanner-next
    {
        display: block;
    } 

    body, #pagewrapper {
        max-width: 979px;
        margin-left: 0px;
        margin-right: 0px;
    }
    body
    {
        background-color: #3E3E3D;
    }

   
    .gce-page-list ul, .gce-page-list lI
    {
        margin-left: 10px;
    }
    #top-navigation,.navbar-inner
    {
        margin: 0px !important;
        background-color: transparent;
        box-shadow: none;
        -webkit-box-shadow: none;
        border: 0;
        background-image: none;
    } 
    .navbar .nav > li > a 
    {
        color: #777777;
    }
   #top-navigation .open > .dropdown-toggle
    {
        color: #777777;
    }

    #menu-navigering li a:hover, #menu-navigering li a:visited, #menu-navigering li a:link
    {
        color:  #777777;
        background: none;
    }
    #menu-navigering li ul li a:hover,#menu-navigering li ul li a:visited,#menu-navigering li ul li a:link
    {
        color: #777777;
    }
	#top-navigation .menu-item-object-page> a:hover,#top-navigation .open,#top-navigation .open  #top-navigation .active,#top-navigation .current_page_item >a{
    	background: #A1243F!important;  
		background-color: #A1243F!important;
	}
    .dagensbibelord {    
        padding-left: 20px;    
    }
	#footer-menu
	{
		columns: 2;
  		-webkit-columns: 2;
  		-moz-columns: 2;
	}
}


/* Landscape phone to portrait tablet */
@media (max-width: 767px) {

   
    .firstpagebanner
    {
        width: 100%;      
    }    
    
    .firstpagebanner-prev, .firstpagebanner-next
    {
        display: none;
    }
    .firstpagebanner-mobile-controls
    {        
        display: flex;
    }
    .firstpagebanner-mobile-controls .firstpagebanner-prev, .firstpagebanner-mobile-controls .firstpagebanner-next
    {
        display: block;
    }  
    
    #main
    {
        padding-left: 0px;
        padding-right: 0px;
    }
    #main_carousel {
		padding:0;
    	box-sizing:unset;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        border:none;       
		width:100vw;	
		
    }
	 #main_carousel .item img
	{
		border: 0;
		
	}
	.firstpagecontent, .pagecontent
	{
		padding:20px;
	}
	.page-template-page-homepage #main
	{
		padding:0;
	}
	
	#news
	{
		margin-top:0px;
		margin-bottom:20px;
		overflow-x:auto;
		overflow-y:hidden;
		background-color:#F1F1F1;
		padding:0;
	}
	.newsitemswrapper 
	{
		gap: 10px 10px;		
		
	}
	.newswidget
	{
		width:70vw !important;
		overflow:hidden;
		flex: 0 0 auto;
		margin-top:10px;
		margin-bottom:10px;			
        background-color:white;
        -webkit-box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px!important;
        -moz-box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px!important;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px!important;
		
	}
	.newswidget:last-of-type {
  		border-right:10px solid #F1F1F1;
	}
	.newswidget:first-of-type {
  		margin-left:10px;
	}
	
    .footerwidget {       
        border-left: 0px;      
    }
	.epyt-gallery-allthumbs.epyt-cols-2 .epyt-gallery-thumb
	{
		width:50% !important;
	}
    #footerrow {
        padding:0px; 
                
    }

    div#footer.container-fluid
    {
        padding: 20px;
        padding-left: 0px;
        padding-right: 0px;
    }


    body, #pagewrapper
    {
        max-width: 767px;
        margin-left: 0px;
        margin-right: 0px;   
    }
    body
    {
        background-color: #3E3E3D;
    }
    
   
    .gce-page-list ul, .gce-page-list li
    {
        margin: 0px;
    }    
    #top-navigation,.navbar-inner
    {
        margin: 0px !important;
        background-color: transparent;
        box-shadow: none;
        -webkit-box-shadow: none;
        border: 0;
        background-image: none;
    } 
    .navbar .nav > li > a 
    {
        color: #777777;
    }
   #top-navigation .open > .dropdown-toggle
    {
        color: #777777;
    }
    #menu-navigering li a:hover, #menu-navigering li a:visited, #menu-navigering li a:link 
    {
        color:  #777777;
        background: none;
    }
    #menu-navigering li ul li a:hover,#menu-navigering li ul li a:visited,#menu-navigering li ul li a:link
    {
        color: #777777;
    }
	#top-navigation .menu-item-object-page> a:hover,
	#top-navigation .open > .dropdown-toggle, 
	#top-navigation .current_page_parent >.dropdown-toggle, 
	#top-navigation .current_page_item >a, 
	#top-navigation .open{
    	background: #A1243F!important;  
		background-color: #A1243F!important;
	}
    .dagensbibelord {    
        padding-left: 20px;    
    }
    .brand img
    {    
        max-width: 250px   
    }
}
 
/* Landscape phones and down */
@media (max-width: 480px) {


    body, #pagewrapper {
        max-width: 480px;
        margin-left: 0px;
        margin-right: 0px;
    }
    .navbar .nav > li > a 
    {
        color: #777777;
    }
   #top-navigation .open > .dropdown-toggle
    {
        color: #777777;
    }
    .sidebar {
        margin-top: 20px;
    }
	#top-navigation .menu-item-object-page> a:hover,
	#top-navigation .open > .dropdown-toggle, 
	#top-navigation .current_page_parent >.dropdown-toggle, 
	#top-navigation .current_page_item >a, 
	#top-navigation .open{
    	background: #A1243F!important;  
		background-color: #A1243F!important;
	}
    
    
}  