/**
 * Theme Name:  Kuorinka child
 * Theme URI:   https://foxland.fi/downloads/kuorinka
 * Description: Child theme of Kuorinka theme
 * Version:     1.0.0
 * Author:      Sami Keijonen
 * Author URI:  https://foxland.fi
 * Text Domain: kuorinka-child
 * Domain Path: /languages/
 * Tags:        blue, white, light, one-column, two-columns, left-sidebar, right-sidebar, fluid-layout, responsive-layout, accessibility-ready, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
 * License:     GNU General Public License v2.0 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Template:    kuorinka
 */
 
/**
 * Parent theme styles are loaded automatically. So there is no need to use @import rule.
 *
 * I have collected all the fonts, backgrounds, colors and borders at the bottom of Kuorinka theme's `style.css`.
 * The things available to be overwritten are labeled as the "Child theme friendly zone".
 * You can copy and use those as a starting point when creating your custom child theme.
 *
 */
 /*Color Reference

    Main Color: #e11f26;
	Sky Blue: #5b9cd6;
	Border Color: #fd8489;
	Body Text: #5f5f5f;

 */


.row{
	
}
 body{
 	color:#5f5f5f;
 }

  a, a:visited{
  	color:#e11f26;  }

  a:hover, a:active{
  	color:#5b9cd6;
  }
 

 .main_logo img{
	width: 100%;
	margin: 20px 25px 0px 0px;
}

 #menu-primary .wrap {
    background:#e11f26;
}

.site-branding h1{
	font-size:1.5em;
	margin-top:40px;
	margin-bottom: 15px;
	border-bottom: 1px solid #fd8489;
	padding-bottom: 20px;
	
}

.site-branding h2{
	display: block;
	font-size: 1em;
	margin-top:0px;
	display: block;
	
}

/* -- Top News Section */

#topnews{
	background: #fafafa;
	padding:10px 10px 40px 10px;
	border:1px solid #fd8489;
	margin-bottom: 50px;
	
} 

.featured-news {
	padding: 10px 10px 30px 10px;
}

.featured-news h2 {
	margin-bottom: 5px;
	font-size: 1.4em;
}

.featured-news p{
	line-height: 1.4em;
	margin-bottom: 20px;
}

.news-photo{
	position: relative;
	padding:5px;
}

.highlight {
	position: absolute;
	top:5px;
	left: 5px;
	background: #e11f26;
	color:#fff;
	padding: 5px 20px 5px 5px;
	opacity: 0.8;
	max-height: 35px;
	
}

.highlight h2{
	font-size: 1em;
}

.caption {
	font-size: 0.8em;
	line-height: 1.1em;
	margin-top: 5px;

	font-style: italic;
}

.main_button {
	margin: 10px 0px 20px 0px;
	background: #e11f26;	padding: 10px;
	color:#fff !important;
	text-align: center;
}

.main_button a{

}

.main_button:hover{
	background: #8f346d;
	color:#fff;
	text-decoration: none;
}



/*Latest News Homepage */

#latestnews h2{
	font-size: 1.2em;
	text-align: center;
	padding-bottom: 5px;
	border-bottom:1px solid #ccc;
	
	text-transform: uppercase;
}

.news-item img{
	margin-bottom: 20px;
}

.news-item img:hover{
  
     background: #000;
    opacity: 0.8;
    
}

.news-item{
	border-bottom: 1px solid #ccc;
	padding-bottom: 10px;
	margin-bottom: 20px;
}

.news-item:last-of-type{
	border:none;
}

.news-item h3,p{
	font-size: 1em;
	margin-bottom: 10px;

}

.news-item img{
	margin-bottom: 5px;
}

.searchform{
	margin-bottom:25px;
	margin-left:-15px;
	background: #e11f26;	position: relative;
	padding: 10px;
	margin-bottom: 50px;
}
.searchform::after {
    display: inline-block;
    content: "\f002";
    font-family: "FontAwesome", sans-serif;
    position: absolute;
    right: 25px;
    top: 10px;
    font-size: 25px;
    z-index: 0;
}

.home .search-submit {
    width:30px;
    height: 30px;
    right: 25px;
    top: -10px;
    background-color: transparent !important;
    position: absolute; 
	z-index: 999;
	color:transparent !important;
}

.home .search-field{
	height: 20px;
}

 .form-control {
    display: block;
    height: 34px;
}

.tagline {
	padding:20px 20px 5px 30px;
	border-left:5px solid #e11f26;	margin-bottom: 50px;
}

.tagline h2{
	font-family: 'Alegreya', serif;
	font-style: normal;
	font-size: 1.4em;
	line-height: 1.4em;
	border:none;
	text-transform: unset;

}

.features{
  padding: 0px !important;
}

.features-overview{
	margin-bottom: 40px;
	padding-bottom: 10px;
}

.features-overview h3{
	padding-top: 15px;
	font-size: 1.1em;
	text-transform:unset;
	margin-bottom: 5px;
	border-top:1px solid #ccc;
}

.features-overview p{
	font-size: 0.8em;
	line-height: 1.4em;

}
.features-overview i{
	margin-right: 15px;
}

.features-overview a, .features-overview a:visited {
	color:#5f5f5f;
	text-decoration: none;
	
}

.features-overview a:hover{
	color: #e11f26;}

.site-footer{
	
}

.footer-cols{
	background: #fac6c8;
	padding:40px 25px;
	color: #000;
	
}

.footer-menu {

text-align: left;

}
.footer-menu .current-page-ancestor > a {
	background-color: transparent;
	
}
.footer-menu li{
	display: block;
	list-style: none;
	
}

.footer-menu li:last-child{
	border-right:none;
}

.footer-menu i{
	display: none;
}

.footer-menu li a{
	color:#000;
}





.follow-us h3{
	font-size: 1.3em;
	margin-bottom:15px;
	font-weight: bold;
}

.follow-us p{
	font-size: 0.9em;
	
}
.follow-us ul{
	padding: 0;
	margin: 0;
}

.follow-us .follow-us-links li{
	list-style: none;
	display: inline;
	margin-right: 10px;
	font-size: 1.5em;
	
}

.follow-us .follow-us-links li a{
	color:#fff;
}

.follow-us .follow-us-links li a:hover{
	color:#e11f26;}

.site-disclaim{
	background:#474747;
	padding:20px 25px;
}

.site-disclaim p{
	font-size: 0.7em;
	line-height: 1.3em;
	color:#fff;
	margin-bottom: 10px;
}

.site-disclaim i{
	margin-right: 8px;
	font-size:1.2em;
}
.site-copyright{
	background:#373737;
	padding:20px 25px;
	text-align: center;
}

.site-copyright p{
	font-size: 0.7em;
	line-height: 1.3em;
	color:#fff;
	
}


/* Subscribe us */
/* Main Form Container */

/* Label Styling */
#forminator-module-2353 .forminator-label {
    font-weight: bold;
    color: #000;
    font-size: 16px;
    display: block;
}

/* Input Field */
#forminator-module-2353 .forminator-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    color: #333;
    box-sizing: border-box;
}

#forminator-module-2353 .forminator-input:focus {
    border-color: #e11f26; /* primary theme color */
    outline: none;
    box-shadow: 0 0 3px rgba(0, 123, 255, 0.3);
}

/* Error Message Styling */
#forminator-module-2353 .forminator-error-message {
    color: #e11f26;
    font-size: 14px;
    margin-top: 3px;
}

/* Description Text */
#forminator-module-2353 .forminator-description {
    font-size: 13px;
    color: #000;
    margin-top: 8px;
    display: block;
}

/* Button Styling */
#forminator-module-2353 .forminator-button-submit {
    background-color: #e11f26; /* primary theme color */
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

#forminator-module-2353 .forminator-button-submit:hover {
    background-color: #0056b3;
}

/* General Responsive Design */
@media (max-width: 480px) {
    #forminator-module-2353 {
        padding: 15px;
    }

    #forminator-module-2353 .forminator-button-submit {
        font-size: 15px;
        padding: 8px 16px;
    }
}




/*Page Styles */

.entry{
	padding-bottom: 0px;
	margin-bottom: 0px;
}

.entry-content p{
	margin-bottom: 20px;
	text-align: justify;
}

h3.flexi-subheading {
	font-weight: 700;
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #ccc;
	margin-top: 25px;
}

.flexi-text-block p{
 margin-bottom: 20px;
}

.flexi-image{
	padding:10px;
	background: #f1f1f1;
	margin-bottom: 20px;
	margin-top: 10px;
	border:1px solid #e11f26;}

.flexi-image p {
	font-size: 0.8em;
	line-height: 1.1em;
	margin-top: 10px;
	font-style: italic;
}

.flexi-image img{
	width: 100%;
	border:1px solid #000;
}

.flexi-highlight {
	padding:20px 20px 5px 30px;
	border-left:5px solid #e11f26;	margin: 30px 0px;
}

.flexi-highlight p{
	font-family: 'Alegreya', serif;
	font-style: normal;
	font-size: 1.2em;
	border:none;
	text-transform: unset;
}

/*Menu Items */

#menu-primary-items li{
	margin-right: 10px;
}



/*Sub Menus */

.child-pages h2 li{
	list-style: none;
	margin-left: 5px;
	font-size: 0.8em;
	margin-bottom: 5px;
	
}

.child-pages h2{
	margin-bottom: 10px;
	border-bottom:1px solid #fd8489;
}

.current-page-ancestor > a {
	background-color: #303030;
	color: #fff;
}

.child-pages h2 li:hover{
	background:#fd8489;
}
	


.child-pages h2 li a{
	text-decoration: none;
	color:#5f5f5f;
	
	
}
.child-pages h2 li:before{
	content:"\f0a4";
	font-family:'FontAwesome';
	font-size: 1.1em;
	padding: 5px;
	margin-right: 5px;
	
}

.child-pages .current_page_item{
	background: #f1f1f1;
	padding: 10px 5px;
	margin:5px 0px;
}

.child-pages .current_page_item a{
	color:#5f5f5f;
}

.children-pages li a{
	
	color:#e11f26;	text-decoration: none;
	margin-bottom: 10px;
}

.children-pages li a:hover{
	color:#5f5f5f;
	padding:0px 5px;
	text-decoration: none;
}


/*Language */
.wpglobus-selector-box {
	padding:10px;
	margin: 20px 10px;
	background-color:#fafafa;
	border: 1px solid #fd8489;
}

.wpglobus-selector-box h3{
	font-size: 0.8em;
	padding:5px 10px 10px 0px;
	margin:0px 0px 10px 0px;
	border-bottom: 1px solid #ccc;
	
}

.first-language{
	margin-bottom: 10px;
	
}

/*Our Work*/
#ndwa-work{
	background: #fafafa;
	padding:10px;
	border: 2px solid #fd8489;
	margin: 0px 0px 30px 0px;
}

.work-main h2{
	text-align: center;
	margin-top: 20px;
}

.work-main img{
	margin:10px 0px;
}

.work-info{
	margin-bottom: 30px;
}

.work-section h3{
	margin-bottom: 10px;
}


.work-section ul li{
	
	list-style: none;
}
.work-section ul li:before{
	
	content:"\f0a4";
	font-family: 'FontAwesome';
	font-size: 0.8em;
	margin-right: 10px;
	color:#e11f26;}
 ul.work-list{
	margin-left: 0px! important;
	
}

.work-list > a, a:visited {
	color:#e11f26;}

.work-list a:hover {
	color:#5b9cd6;
}

/*Disability Talk */

#disability-talk{
	padding: 10px;
	
}

#disability-talk h2{
	text-align: center;
}

p.dtalk-meta{
	font-size:0.8em !important;
	color:#888888;
	font-style: italic;
}

.dtalk-section p{

	font-size:0.9em;
	line-height: 1.4em;
	margin-bottom: 5px;
	font-style: italic;
}

.dtalk-section {
	border-left: 2px solid #e11f26;	margin-bottom: 30px;
}

/*Board Members*/
#board-members{
	padding-top: 20px;

}

.board-main{
	padding:5px;
	border:1px solid #ccc;
	background-color: #fafafa;
	text-align: center;
	margin-bottom: 20px;
	

}

.board-main:hover{
	background-color: #f1f1f1;	
	
	 
}

.board-main img{
	
	margin-bottom: 15px;

}
.board-main h3{
     font-size: 1em;
     margin:0px 0px 5px 0px;
     
}
.board-main p{
     font-size: 0.9em;
     margin:0px 0px 10px 0px;
     
}

/*Resource Items */
 .resource-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.resource-item {
	width: calc(33.33% - 20px); /* Adjust this value as needed for the number of columns on large devices */
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	border: 1px solid #ccc;
	padding: 20px;
	margin-bottom: 20px;
	box-sizing: border-box;
	margin-right: 20px; /* Add a gap of 20 pixels between the cards */
	box-shadow: 3px 6px 5px -3px rgba(0,0,0,0.23);
-webkit-box-shadow: 3px 6px 5px -3px rgba(0,0,0,0.23);
-moz-box-shadow: 3px 6px 5px -3px rgba(0,0,0,0.23);
}

.resource-cover img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	margin-bottom: 20px;
}

.resource-details h2 {
	font-size:1.1em;

}

.resource-details p{
	font-size:0.9em;
}


.pagination-links {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination-links a {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #000;
    border: 1px solid #ddd;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.pagination-links a:hover {
    background-color: #f5f5f5;
}

.page-numbers.current {
    background-color: #ff0000;
    color: #ffffff;
    padding: 5px 10px;
    margin: 0 5px;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}



/* Site Disclaimers */

.site-disclaim {
	padding: 50px 30px;
}

.site-disclaim p{
	font-size:0.8em;
	line-height: 1.6em;
	margin-bottom: 20px;
	
}

.site-disclaim p:last-of-type{
	margin-bottom: 0px;
	border-bottom: none;
}

p.para_margin{
	margin:20px 0px;
}

p.para_desc{
	margin-bottom:20px;
}

.es_textbox{
	float:left;
	margin-right: 20px;
	
}

.es_textbox .es_textbox_class{
	display: inline;
	padding:0.40em;
}

.entry a.portfolio-item-link, .kuorinka-callout .kuorinka-button, body #infinite-handle span, button, input[type="button"], input[type="reset"], input[type="submit"] {
    background: #e11f26;
}

.es_button{
	padding-top:0;

}
.es_button .entry a.portfolio-item-link, .kuorinka-callout .kuorinka-button, button, input[type="button"], input[type="reset"], input[type="submit"] {

margin-top:0;
}

.footer-menu a{
	color:#e11f26 !important;
}

.fb-connect{
	margin-top:10px;
}

/*Partners */

#partners{
	margin-top:10px;
	padding-top: 25px;
	
	text-align: center;
}

.partners-main{
	margin-bottom: 30px;
	background: #fafafa;
	border:1px solid #ccc;
	min-height: 250px;
	padding:5px;
}

.partners-main:hover{
	border:1px solid #e11f26 ;
}

 .partners-main p{
	font-size: 0.8em;
	line-height: 1.35em;
	padding-top: 20px;
}

/* GBV Banner */
#gbv_banner {
    background-color: purple;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.banner-text {
    font-size: 24px;
    line-height: 1.7em;
    margin-right: 30px;
    margin-top: 25px;
    color: #fff;
}

.banner-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.report-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #fff;
    color: maroon;
    text-decoration: none;
    font-size: 18px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.feedback_text {
    background: purple;
    color: #fff;
    padding: 20px 40px;
    text-align: center;
}



/*Big Screen Mobile */

@media screen and (min-device-width: 768px) and (max-device-width:991px) { 
	
	
	#page{
		margin-top:0;
		margin-bottom: 0;

	}


	.first-language{
		float:left;
		display: block;
		text-align: center;
		margin-left: 40px;
	}

	.wpglobus-selector-box {
		text-align: center;

	}

	.main-navigation li a, button#nav-toggle {
    background: #e11f26;
    
    
	}

	#mobile-language-bar{
		padding:10px;
		text-align: center;
	}
	#mobile-language-bar .second-flag{
		margin-left: 20px;
	}
	.main_logo img{
		width:100%;
		margin:0;
	}

	.site-branding h1{
		font-size: 1.3em;
		margin-top: 0;
		padding-top:5%;
		border-bottom:1px solid #e11f26;
		text-align: left;
		margin-bottom: 0;
		padding-bottom:10px;

	}

	.site-branding h2{
		padding-top: 10px;
		font-size: 1em;
		text-align: left;
		
	}

}


@media screen and (min-device-width: 0px) and (max-device-width: 768px) { 

	#page{
		margin-top:0;
		margin-bottom: 0;

	}

	.main-navigation li a, button#nav-toggle {
    background: #e11f26;
    
    
	}

	#mobile-language-bar{
		padding:10px;
		text-align: center;
	}

	#colophon #menu-social, #colophon .site-info, #content > .wrap, #masthead .site-branding, #sidebar-header, #sidebar-subsidiary .wrap, .breadcrumb-trail .wrap {
    padding-top:15px;
	}
	
	#mobile-language-bar .second-flag{
		margin-left: 20px;
	}
	.main_logo img{
		width:100%;
		margin:0;
	}

	.site-branding h1{
		font-size: 1.1em;
		margin-top: 0;
		padding-top:4%;
		border:none;
		text-align: left;
		margin-bottom: 0;
		padding-bottom:5px;

	}

	.site-branding h2{
		font-size: 0.8em;
		text-align: left;
		margin-top: 0;
		padding-top: 0;
	}

	.first-language{
		float:left;
		display: block;
		text-align: right;
		margin-left: 40px;
	}

	.follow-us {
		margin-bottom: 40px;
	}



	.wpglobus-selector-box {
		text-align: center;

	}

	.breadcrumb-trail .wrap {
		padding: 25px 20px 20px 20px;
	}
	
	.partners-main{
		
		min-height: 200px;
		padding:5px;
	}
	
	.resource-item img{
		margin-bottom:30px;
	}



}	