/*
 Theme Name:     Djurskyddet Child Theme
 Description:    Lokalsajter
 Author:         Formatfabriken
 Author URI:     https://www.formatfabriken.se
 Template:       djurskyddet
 Version:        1.0.0
*/
 
@import url("../djurskyddet/style.css");
 
/* =Theme customization starts here
------------------------------------------------------- */
/* Site background-color */
header .row,
.site-content{	
    background-color: #fff;
	max-width: 1050px;
    padding-right: 25px !important;
    padding-left: 25px !important;
}
.site-content{
/*	-webkit-box-shadow: 5px 5px 10px 0px rgba(238,238,238,1);
-moz-box-shadow: 5px 5px 10px 0px rgba(238,238,238,1);
box-shadow: 5px 5px 10px 0px rgba(238,238,238,1);*/
	}
.site-header{
	overflow: initial;
	max-width: 1050px;
	}
.site-content{
	margin-bottom: 25px;
	border-bottom: 2px solid #f1f1f1;
	}

/* Change from green to blue color */
a:focus,
a:hover, a:active,
.social-media-icons a:hover, .social-media-icons a:active,
.entry-header h1 a:hover,
.header-meta a:hover,
.author-link a:focus,
.author-link a:hover,
.author-link a:active { 
	color: #1991c6;

}


.post-categories a:hover,
.post-tags a:hover,
.page-links a:hover .page-numbers {

	background-color: #1991c6;

	color: #fff;

}

.archive-latest{	
	background-color: #fff;
	padding: 20px !important;
	overflow:auto;
	border: 2px solid #1991c6;
	}
	
	.smallprint a { 

  color: #1991c6;

  font-weight: bold;

}
li a:hover.page-numbers {

	background-color: #1991c6;

	color: #fff;

}
li a:hover.prev,

li a:hover.next {

	background-color: transparent;

	color: #1991c6;

}
.main-navigation li:hover > a {

	color: #333; /* Nav bar link color on hover */

	border-bottom: 3px solid #88d0f0;

}
.main-navigation .current-menu-item > a,

.main-navigation .current_page_item > a,

.main-navigation .current_page_parent > a,

.main-navigation .current-menu-ancestor > a,

.main-navigation .current_page_ancestor > a {

	/*color: #000;  Nav bar link color for current menu item or ancestor */

	border-bottom: 3px solid #88d0f0;

}

.main-navigation .current_page_parent .current-menu-item > a{color: #1991c6; border-bottom: none;}

.main-navigation .sub-menu li a{border-bottom: none;}

ul#menu-huvudmeny ul.sub-menu{padding-top: 0;}

.flex-control-paging li a.flex-active {

  background: #76ad1c;

  border: 2px solid #000;

 /* box-shadow: inset 0 -1px 0 0 rgba(255, 255, 255, 0.5), 0 1px 0 0 rgba(0, 0, 0, 0.25);*/

}

#knapp-overst, #knapp-underst{background-color: #1991c6; height: 20%; }

#knapp-mitten{background-color: #1991c6; height: 60%; /* border-top: 1px solid #fff; border-bottom: 1px solid #fff; ''' */}



.equal_height_col_2:before,

.equal_height_col_4:before{

  border-top: 5px solid #1991c6;

	border-bottom: 5px solid #1991c6;

}

.news_article h4{

	color: #1991c6;

	}
.news_article a:hover{

	color: #1991c6;

	}
	
	#crumbs a{

  color: #1991c6;

}

ul#menu-toppmeny li.current-menu-item a,

.widget-area .current-menu-item a,

.widget-area .current-post-parent a{

  color: #1991c6;

}

.widget-area .current-menu-item ul li a:hover{color: #1991c6;}

.flexible_info_ruta{border: 2px solid #88d0f0;}


.border_bg::first-line{
	font-family: Omnes, sans-serif;
	font-size: 22px;
	margin-bottom: 15px;
	color: #1991c6;
}

.equal_height_col_2,

.equal_height_col_4{

  border-top: 5px solid #1991c6;

}

p a{color: #1991c6; font-weight: bold;}

p a:visited{color: #1991c6; font-weight: bold;}


/* *** LOGO *** */
.site-title img {
    max-width: 250px;
}

/* *** Main navigation *** */
.main-navigation li{
	font-size: 20px;	
	font-size: 1.25rem;
	}
	
/* *** General *** 
.blue_line{
	margin: 16px 0 0 0;
    margin: 1rem 0 0 0;
    border: 1px solid #88d0f0;
	}
	*/
/* *** Front page *** */

.front_page.local .home-sidebar{
	width: 100%;
	}
	

/*.front_page.local .grid_6_of_12 {
    width: 49.2% !important;
}*/
.front_page.local .widget{
	clear:both;
    border: none !important;
    margin-bottom: 1.25rem;
    padding: 0 !important;
	overflow: auto;
	}
.front_page.local h2{text-align: center;}	
h3.widget-title,
.widget h3{
	text-align: center;
	margin-bottom: 6px;
    margin-bottom: 0.375rem;
    line-height: 1.2857;
}
.frontpage_banners{
	min-height: auto;
	margin-bottom: 0;
	}
.frontpage_banners{
	color: #000 !important;
	}	

/* Added before color changes on main template */
#blue_banner{    

	background: #b8e3f6; /* #88d0f0 url(images/feet_left.png) 0 0 no-repeat; */

    padding: 1.5rem;

	}

#blue_banner:hover{    

	background: #88d0f0; /* #85c5e5 url(images/feet_left.png) 0 0 no-repeat; */

}

#green_banner{
	/*background:   #74af27 url(images/feet_right.png) 100% 0 no-repeat ;*/ 	
    padding: 1.5rem;
}
#green_banner h3,
#green_banner p,
#green_banner a{
	color: #fff;
}
#green_banner:hover{  
	/* background: #6fa613 url(images/feet_right.png) 100% 0 no-repeat ;*/
}



#yellow_banner{

    background: #eae34d /*url(images/feet_bottom.png) 0 100% no-repeat; */;

    padding: 1.5rem;
    overflow: auto;

}
/* *** Slider *** */
.slide_text{
	width: 80%;
    margin-left: 10%;
    margin-right: 10%;
	}
.slide_button{
	width: 50%;
    background-color: rgba(0,0,0,0.4);
	}
.slide_button a {
    padding: 8px;
    padding: 0.5rem;
}


.front_page.local .grid_4_of_12 .animal{
	width: 32.33%;
	float: left;
	padding: 0 1% 0 0;
	}
	
.front_page.local .grid_8_of_12 .animal{
	width: 19%;
	float: left;
	padding: 0 1% 0 0;
	}
	
/* *** Facebook Feed *** */
.front_page.local .widget.widget_text,
.front_page.local .widget .widget_padding,
.front_page.local .widget.null-instagram-feed{
/*	background-color: rgba(255,255,255,0.5);
	border: 2px solid #88d0f0 !important;*/
	padding: 20px !important;
	overflow: auto !important;
	}
.front_page.local .gron.ram{border: 2px solid #76ad1c !important;}
.front_page.local .gul.ram {border: 2px solid #eae34d !important;}
.front_page.local .gron.bakgrund{background: #76ad1c; border: none !important; }
.front_page.local .bla.bakgrund{background: #88d0f0; border: none !important; }
.front_page.local .widget.widget_text.gul.bakgrund {background: #eae34d; border: none !important; }
#facebook-feed h2{
	text-align: center;
	}
/* *** Djursidor *** */

.animal{
	width: 16.66%;
	float: left;
	padding: 0 1% 0 0;
	}
	
.animal h3{
	font-size: 1.15rem
	}
	
.animal img{
	margin: 5px 0;
	border: 1px solid #f1f1f1;
	}
.animal a.button,
.single-animal .button{
	color: #000;
    margin: 5px 0;
    padding: 10px;
    border: 1px solid #000;
    display: block;
    border-radius: 3px;
    text-align: center;
	}
.animal a.button:hover,
.single-animal .button:hover{
	color: #1991c6;
    border: 1px solid #1991c6;
	}
.animal span.bokad,
.single-animal span.bokad{
	font-weight: bold;
	position: absolute;
    margin-top: 30px;
    margin-left: 20px;
    background-color: #88d0f0;
    padding: 10px;
    transform: rotate(-15deg);
	-webkit-box-shadow: 0 8px 6px -6px black;
	   -moz-box-shadow: 0 8px 6px -6px black;
	        box-shadow: 0 8px 6px -6px black;	}	
h1.efterlys{
	margin-bottom: 20px;
	background-color: #88d0f0;
	color: #fff;
	padding: 10px;
	text-align: center;
	}
.efterlys.button,
.category-19 .button{
	display: inline-block;
	border: 2px solid #88d0f0;
	padding: 10px;
	margin: 10px 0;
	overflow: auto;
	text-align: center;
	}
.efterlys.button:hover,
.category-19 .button:hover{
	border: 2px solid #000;
	color: #000;
	}
.animal span.hittad,
.single-animal span.hittad{
	font-weight: bold;
	position: absolute;
    margin-top: 30px;
    margin-left: 20px;
    background-color: #76ad1c;
	color: #fff;
    padding: 10px;
    transform: rotate(-15deg);
	-webkit-box-shadow: 0 8px 6px -6px black;
	   -moz-box-shadow: 0 8px 6px -6px black;
	        box-shadow: 0 8px 6px -6px black;	}	
			
.animal span.hittad,
.single-animal span.hittad{
	font-weight: bold;
	position: absolute;
    margin-top: 30px;
    margin-left: 20px;
    background-color: #76ad1c;
	color: #fff;
    padding: 10px;
    transform: rotate(-15deg);
	-webkit-box-shadow: 0 8px 6px -6px black;
	   -moz-box-shadow: 0 8px 6px -6px black;
	        box-shadow: 0 8px 6px -6px black;	}	
			
						
.single-animal .col.grid_12_of_12{margin: 0;}			
.single-animal hr{margin: 1rem 0;}			
a{
	-webkit-transition: border-color 0.5s, color 0.5s;
    transition: border-color 0.5s, color 0.5s;
	}


/* *** Search *** */
#search_form{	
	width: 250px;
	}	
#search_form:before{
	content: "SÖK: ";
	margin-top: 12px;
	margin-top: 0.75rem;
	}
#search_form input {
    width: 80%;
}
/* *** MEDIA QUERIES *** */

@media screen and (max-width: 1024px){
	.animal{
		width: 25%;
		padding: 0 1%;
	}
}
@media screen and (max-width: 800px){
	.front_page.local .grid_6_of_12 {
    	width: 95% !important;
		margin: 24px auto !important;
		margin: 1.5rem auto !important;
		float: none !important;
	}
	.site-header,
	#roof{
		height: 66px;
		}
	#roof img{
		height: 50px !important;
		width: auto !important;
		}
	#responsive_menu_pro_button{
		top: 16px !important;
		}
	#crumbs {
		margin: 32px 16px 0 16px;
		margin: 2rem 1rem 0 1rem;
	}
}
@media screen and (max-width: 650px){
	.animal{
		width: 50%;
		padding: 0 1% 0 0;
	}
}

@media screen and (min-width: 981px) and (max-width: 1130px){
	.article.single-animal{
		padding: 1rem;
	}
	.front_page.local .grid_6_of_12 {
		width: 48% !important;
    	margin: 1rem 1%;
	}
}
@media screen and (min-width: 900px){
	header .row,
	.site-content{	
		border-left: 2px solid #eee;
		border-right: 2px solid #eee;
	}
	.front_page.local .grid_8_of_12 {
    width: 66.13% !important;
	}
	.front_page.local .grid_4_of_12 {
		width: 32.26% !important;
	}
}
@media screen and (min-width: 650px) and (max-width: 980px){
	.article.single-animal .grid_6_of_12{
		width: 96.8%;
		padding: 1rem;
		margin: 0;
	}
}
@media only screen and (max-width: 520px){
	/* Slider */
	.flex-control-nav {
		display: block;
	}
}

/* *** Footer *** */
.site-footer h3,
.site-footer,
.site-footer a,
.site-footer a:visited{
	color: #000;
	text-align: left;
	}
	
.site-footer a:hover{
	color: #fff;
	}

/* CSS specific for Karlskrona site */ 

body.karlskrona-site  {
    font: 14px/1.5 "Verdana", sans-serif !important;
}

.karlskrona-site dt {
    font-family: Verdana, sans-serif;
    font-style: normal;
    font-weight: 700;
}

.karlskrona-site b,
.karlskrona-site strong { 
    font-family: Verdana, sans-serif;
    font-style: normal;
    font-weight: 600;
}

.karlskrona-site em {
    font-family: Verdana, sans-serif;
    font-style: italic;
    font-weight: 400;
}

.karlskrona-site strong em,
.karlskrona-site b em {
    font-family: Verdana, sans-serif;
    font-style: italic;
    font-weight: 700;
}
