/*
Theme Name: SCC
Theme URI: http://iterdve.lt
Author: http://iterdve.lt
Author URI: http://iterdve.lt
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: scc
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

SCC is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
.carousel-inner > .item.patrons > a > img {
    height: 110px;
    width: auto;
	margin:0 auto;
}
.search-btn{
	background-color: #00568b;
    padding: 7px 9px;
    font-weight: 500;
    font-size: 12px;
    border: 0;
    color: #fff;
  }
  .member-title{
	  width:80%;
  }
  .search-title{
	  display:inline-block;
	  width:50%;
  }
  @media(max-width:676px){
	  .search-title{
		  display:block;
		  width:100%;
		  margin-bottom:30px
	  }
  }
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

.home-container{
	margin-top: 50px;
}

.other-container{
	margin-top: 100px;
}

.member-loop h2{
	font-size: 18px;
}



.privacy-agree input[type="checkbox"]{
	width:initial;
}
.privacy-agree span.wpcf7-list-item {
    display: inline-block;
    margin: 0;
}
.row.partners-logos:before,
.row.partners-logos:after{
display:none;
}
.partners-logos,
.partner-wrapper{
	display: -ms-flexbox;
    display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}
.partners-logos [class^=col-]{
	-ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
}
.partners-logos .col-md-6{
	-ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}
.partner-wrapper{
	height:100%;
	-ms-flex-align: center!important;
	align-items: center!important;
	-ms-flex-pack: center!important;
	justify-content: center!important;
	/* border:1px solid #dfdfdf; */
	padding: 30px 15px;
}
.partner-wrapper p{
	padding: 12px 5px;
	color:#999;
	text-transform:uppercase;
	text-align:center;
}
.no-gutters>.col, .no-gutters>[class*=col-] {
    padding:1px;
}
@media(max-width:468px){
	.partners-logos .col-md-6{
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}
}
.board-loop .entry-title{
	min-height:78px;
}
.newsletter-archive{
	padding-left:0;
}
.newsletter-archive li a{
	text-decoration: none;
}
.newsletter-archive li a:hover .newsletter-title{
	color:#29719e;
}
.newsletter-archive li{
	margin-bottom:20px;
}
.newsletter-archive .newsletter-date{
	background-color: #fe9000;
	color:#fff;
	padding:1px 3px;
}
.newsletter-archive .newsletter-title{
	font-size:16px;
}
.events-wrapper{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 30px;
  margin-bottom:60px;
}
.events-wrapper .event-loop{
	height: 100%;
	margin-bottom:0;
	display: flex;
	flex-direction: column;
}
.button-f{
	margin-top:auto;
}
@media(max-width:575px){
	.events-wrapper{
		grid-template-columns: 1fr;
	}
}

body {
    font-size: 15px !important;
    font-family: 'Open sans', Helvetica, serif;
    color: #000 !important;
}
#media_image-2 img{
	margin:20px auto;
	display:block;
}
.navbar-scc .navbar-nav > li > a{
	font-size:14px !important;
}
.gallery.gallery-columns-3{
	display:grid;
	grid-template-columns: repeat(6,minmax(0,1fr));
	gap:15px;
}
.mailerlite-form .mailerlite-form-field > label{
	display:none;
}
input[name="form_fields[email]"]{
	width:100% !important;
}
.mailerlite-subscribe-submit{
	background-color: #fe9000;
	padding: 7px 9px;
	font-weight: 500;
	font-size: 12px;
	border: 0;
	color: #fff;
	width: 100%;

}
@media(max-width:991px){
	.gallery.gallery-columns-3{
		display:grid;
		grid-template-columns: repeat(4,minmax(0,1fr));
		gap:15px;
	}
}
@media(max-width:768px){
	.gallery.gallery-columns-3{
		display:grid;
		grid-template-columns: repeat(2,minmax(0,1fr));
		gap:15px;
	}
}

/* Fix: keep gallery thumbnails inside the content column (was overflowing into the sidebar) */
.gallery .gallery-item img{
	max-width:100%;
	height:auto;
	display:block;
}
