/*
 * custom css - ILGA
 */
 
html {
	font-size: 100px;
}
 
/* frontpage */
body {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

/* rainbow top */
div.rainbow-header {
	background-image: url('../img/rainbow_large.jpg');
	background-size: 100%;
	height: 5px;
	width: 100%;
	position: relative;
	z-index: 1090;
}


/* 
 * slogan - background - overlay background - extra buttons
 */ 

div#section-subtitle {
	position: relative;
	background-image: url('../img/ILGA_homepage_low.jpg');
	background-size: 100%;
	background-position: top center;
	background-repeat: no-repeat;
	width: 100%;
	height: auto;
	min-height: 350px;
}

div#section-subtitle::after {
	position: absolute;
	content: "";
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0.5;
	background-color: black;
	z-index: 0;
}

div#section-subtitle.frontpage {
	background-image: none;
}

div#section-subtitle.frontpage::after {
	background-color: white;
	opacity: 1;
}
	
div#section-subtitle div.slogan-header {
	clear: both;
	margin: 0 auto 0;
	max-width: 100%;
	text-align: center;
	font-family: Nanami, Arial, sans-serif;
	color:  white;
	text-transform: uppercase;
	font-size: 0.36rem;
	font-weight: bold;
	line-height: 0.60rem;
	position: relative;
	top: 130px;
	z-index: 1090;
}

div#section-subtitle div.slogan-header.frontpage {
	position: absolute;
	top: 25%;
	color: white;
	padding-bottom: 20px;
	text-shadow: 2px 2px #000000;
}

div#section-subtitle div.header-extra-buttons {
	display:inline-block;
	width:100%;
	text-align:center;
	position:relative;
	top:-100px;
	z-index: 1090;
}

div#section-subtitle h2.header-title {
	color: #f1f1f1;
	margin-top: 80px;
}

/*
 * header navigation
 */
header#header {
	/* background-image: url('../img/ILGA_homepage_low.jpg'); */
	background-size: 100%;
	background-position: top center;
	background-repeat: no-repeat;
	width: 100%;
	height: 120px;
	background-color: white;
}
header#header + #section-subtitle {
	color: #777;
}

header#header div.nav-socials {
	float: right;
	padding-top: 5px;
	font-size: 0.24rem;
}

header#header div.navbar-header {
	float: none;
	height: auto;
}

header#header div.navbar-logo div.header-slogan {
	float:left;
	padding-top: 50px;
}

header#header div.navbar-logo span.ilga_logo {
	float: left;
	display: inline-block;
	background-image: url('../img/ilga_logo.png');
	background-size: 100% 100%;
	width: 85px;
	height: 120px;
	margin-right: 50px;
}

header#header div.region-languages {
	float: left;
	z-index: 20;
}

header#header div.region-languages a {
	color: black;
	font-size: 0.14rem;
}

body.page-civicrm div.crm-not-you-message {
	background-color: #f0f0f0;
	border: 1px solid black;
	text-align: center;
	padding-top: 10px;
	padding-bottom: 10px;
}


header#header #navigation {
	position: relative;
	background-image: none;
}


#header.header-transparent #navigation.affix .navbar {
	background-image: url('../img/rainbow_large.jpg');
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: 100% 2px;
}


#header.header-transparent #navigation.affix .navbar {
	background-color: rgba(255,255,255,1);
}

#header.header-transparent #navigation.affix .navbar .container {
	position: relative;
}

#header.header-transparent #navigation.affix div.navtop {
	background-color: rgba(255,255,255,1);
}

#header.header-transparent #navigation.affix .nav > li > a, #header.header-transparent #navigation.affix div.nav-socials a, #header.header-transparent #navigation.affix ul.language-switcher-locale-url * {
	color: black;
}

header#header div.nav-socials a.header-top-become-member-button {
	position: relative;
	display:inline-block;
	top:-3px;
	padding: 3px 20px;
	background-color: #703cee;
	color: white !important;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 0.12rem;
	border-radius: 5px;
}

header#header div.nav-socials a.header-top-donate-button {
	position: relative;
	display:inline-block;
	top:-3px;
	padding: 3px 20px;
	background-color: #22b82b;
	color: white !important;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 0.12rem;
	border-radius: 5px;
}


/**
 * search
 */ 
#navigation .navbar-secondary, #navigation.affix .navbar-secondary {
	padding: 5px 0px;
}

#navigation .navbar-secondary form {
	padding: 5px;
	bottom: auto;
	z-index: 10;
}

#navigation .navbar-secondary form button {
	top: 27px;
	right: 10px;
}

#navigation .navbar-secondary form input {
	font-size: 0.16rem;
}

header#header #navigation .navbar {
	position: relative;
}

header#header #navigation .navbar .container {
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;
}

/**
 * menu
 */
header#header #navigation .navbar * {
	color: white;
}

header#header .navbar form#search-block-form * {
	color: black;
}

header#header #navigation div.region-languages a, header#header #navigation div.region-languages span {
	color: black;
}

header#header #navigation div.navbar-secondary a * {
	color: black;
}

header#header #navigation div.nav-socials * {
	color: black;
}

header#header #navigation .navbar-logo {
	height: 120px;
}

header#header.header-transparent #navigation.affix .navbar-logo {
	height: 40px;
}

header#header #navigation .navbar-logo img.logo-primary {
	height: 120px;
}

header div.slogan-header {
	clear: both;
	margin: 150px auto 0;
	padding-bottom: 200px;
	max-width: 475px;
	text-align: center;
	font-family: Nanami, Arial, sans-serif;
	color:  white;
	text-transform: uppercase;
	font-size: 0.36rem;
	font-weight: bold;
	line-height: 0.60rem;
	position: relative;
	z-index: 1090;
}

header div.header-extra-buttons {
	display:inline-block;
	width:100%;
	text-align:center;
	position:relative;
	top:-100px;
	z-index: 1090;
}

div#subtitle {
	height: auto;
	position: relative;
	min-height: 300px;
	color: #303030;
	background-image: url('../img/rainbow_thin.jpg');
	background-repeat: no-repeat;
	background-size: 85% 3px;
	background-position: bottom center;
}


div.container-world-bg {
	position: relative;
	width: 100%;
	height: auto;
}

div.content-world-bg {
	background-image: url('../img/subtitle_bg.jpg');
	background-repeat: no-repeat;
	background-size: 80%;
	background-position: center center;
	opacity: 0.11;
	height: 90%;
	width: 100%;
	top: 40px;
	left: 10px;
	position: absolute;
	z-index:10;
	margin-left: auto;
	margin-right: auto;
	
}

div#subtitle div.background-container {
	background-image: url('../img/subtitle_bg.jpg');
	background-repeat: no-repeat;
	background-size: 80%;
	background-position: center center;
	opacity: 0.1;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	z-index:10;
	margin-left: auto;
	margin-right: auto;
}

div#subtitle div.container div.post-heading-center {
	z-index: 20;
	color: #303030;
}

div#subtitle div.container div.post-heading-center p {
	color: #303030;
}

div#subtitle span.highlighted {
	color: #78429a;
	font-weight: bold;
}

/* 
 * main menu
 */
ul.nav li.leaf, ul.nav li.expanded {
	list-style-image: none;
	list-style-type: none;
}

ul.nav ul.sub-menu li:hover {
	text-decoration: underline;
}

/* 
 * language bar
 */
div.region-languages ul {
	list-style-type: none;
	padding-left: 5px;
}

div.region-languages ul li {
	display: inline-block;
	padding: 5px 10px;
	text-transform: uppercase;
}

div.region-languages ul li img {
	width: 20px;
	height: 14px;
	margin-right: 5px;
}

div.region-languages span.locale-untranslated {
	text-decoration: none;
}


/* news */
div#blog .carousel-slider figure {
	height: 200px;
	overflow: hidden;
}

div#blog .carousel-slider img {
	height: auto;
	margin-left: auto;
	margin-right: auto;
}

div#blog div.slick-slide div.entry-content {
	height: 175px;
}

.carousel-slider.carousel-dots {
	padding-bottom: 20px;
}

div.region-region-news div.bg-grey {
	background-color: white;
}

div#block-views-front-news-block div a.see_more, div#block-views-front-news-block-1 div a.see_more, div#block-views-front-news-block-2 div a.see_more, div a.see_more {
	display: inline-block;
	background-image: url('../img/rainbow_thin.jpg');
	background-repeat: no-repeat;
	background-position: bottom center;
	background-size: 100% 1px;
	font-family: Nanami, Arial, sans-serif;
	font-size: 0.14rem;
	line-height: 0.20rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	padding-bottom: 10px;
	color: #303030;
}

div#block-views-front-news-block-1 div.bg-grey, div#block-views-front-news-block-2 div.bg-grey {
	background-color:white;
}

/* default layout */
nav#navigation div.navtop {
	background-color: transparent;
}

body.node-type-page nav#navigation .navbar {
	box-shadow: none;
}

#header .sub-header2 {
	position: relative;
	z-index: 1090;
}

#header .sub-header2 .sub-header-overlay {
	padding-top: 210px;
}

div#content div.region-content div.content ul.links {
	float: right;
}

div#content div.region-content div.content h2, div#content div.container div.row h2, div.region-tabs-engagement h2 {
	display: inline-block;
	font-size: 0.20rem;
	background-image: url('../img/rainbow_thin.jpg');
	background-repeat: no-repeat;
	background-position: bottom center;
	background-size: 100% 1px;
}

/* 
 * about us
 */
div#features div.icon {
	height: 100px;
	width: 120px;
	margin-left: auto;
	margin-right: auto;
	background-position: top center;
	background-repeat: no-repeat;
}

div#features div.aboutus_icon {
	background-image: url('../img/aboutus_icon.png');
}

div#features div.whatwedo_icon {
	background-image: url('../img/whatwedo_icon.png');
}

div#features div.whatyoucando_icon {
	background-image: url('../img/whatyoucando_icon.png');
}

div#features div.affa-feature-icon p {
	padding-bottom: 30px;
	background-image: url('../img/rainbow_thin.jpg');
	background-repeat: no-repeat;
	background-size: 40% 3px;
	background-position: bottom center;
}

div#features div.affa-feature-icon a {
	color: #303030;
}

/** 
 * calendar
 */
div#block-views-calendars-block div.container, div.block-calandar-container {
	background-image: url('../img/calendar_bg.jpg');
}

div.block-calandar-container div.post-heading-center h2 {
	margin-top: 50px;
	color: white;
	font-size: 0.36rem !important;
	line-height: 0.44rem;	
	text-transform: uppercase;
	letter-spacing: 1px;
	background-image: none !important;
}

div.block-calandar-container table {
	background-color: transparent;
	border-collapse: collapse;
	border-spacing: 1px;
}	

div.block-calandar-container table tr {
	border: 1px solid transparent;
}

div.block-calandar-container table tr td {
	border-bottom: 1px solid black;
	padding: 25px;
}

div.block-calandar-container table tr td h4 {
	line-height: 0.20rem;
	margin-bottom:0px;
}


/** 
 * supporters network
 */
div#block-views-ilga-s-network-block div.affa-client-logo {
	height: 120px;
	margin: 10px 0px;
}
 
div#block-views-ilga-s-network-block div.affa-client-logo img {
	max-width: 120px !important;
	max-height: 120px !important; 
}

div#block-views-ilga-s-network-block div.post-item-txt {
	text-align: center;
	padding-bottom: 25px;
}

/**
.bg-grey .affa-client-logo::after, .affa-client-logo::after {
	background-color: transparent;
}

*/

/** 
 * newsletter - purple join us - bar
 */
 
div.region-newsletter-mailchimp form.mailchimp-signup-subscribe-form label {
	color: white;
}

div.region-newsletter-mailchimp form.mailchimp-signup-subscribe-form input {
	width: 50%;
}

div.region-newsletter-mailchimp form.mailchimp-signup-subscribe-form div.form-type-checkbox {
	text-align:left;
	margin-left: 25%;
}

div.region-newsletter-mailchimp form.mailchimp-signup-subscribe-form input[type="checkbox"] {
	width: 30px;
}

div.region-newsletter-mailchimp form.mailchimp-signup-subscribe-form input[type="submit"] {
	text-align: center;
}

div#join-purple-container {
	position: absolute;
	background-image: url('../img/newsletter_bg.png');
	background-size: 100% 100%;
	background-repeat: no-repeat;
	left: 0;
	width: 100%;
}

div#content div.region-content div.content div#join-purple-container h2 {
	background-image: none;
}

div#join-purple-container a.become-member-button {
	position: relative;
	display:inline-block;
	top:-3px;
	padding: 3px 20px;
	background-color: #22b82b;
	color: white !important;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 0.15rem;
	border-radius: 5px;
}

div#newsletter-container {
	background-image: url('../img/newsletter_bg.png');
	background-size: cover; 
	background-repeat: no-repeat;
	position: relative;
}
 
div#newsletter-container div.background-container, div#join-purple-container div.background-container {
	background-color: #8843e7;
	opacity: 0.6;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index:100;
}

div#newsletter-container div.container, div#join-purple-container div.container {
	position: relative;
	z-index:200;
}

div#newsletter-container div.container div.post-heading-center h2, div#join-purple-container div.container div.post-heading-center h2 {
	color: white;
}

div#newsletter-container div.container div.post-heading-center p, div#join-purple-container div.container div.post-heading-center p {
	color: white;	
}

div#newsletter-container div.container .affa-form-subscribe input[type="submit"] {
	background-color: #22b82b;
	border: 0;
}

/** 
 * footer
 */ 
footer#footer {
	background-color: #555555;
}


/** 
 *  steering committee pages titles
 */ 
body.page-node-85845 div.region-content div.block-views h2 { margin-bottom: 1em; }
body.page-node-85850 div.region-content div.block-views h2 { margin-bottom: 1em; }
body.page-node-85851 div.region-content div.block-views h2 { margin-bottom: 1em; }


/** 
 * news page/node
 */
input#edit-date-filter-value-date {
	width: 200px;
}

input#edit-submit-news-filter {
	margin-top: 2.2em;
}
body.node-type-news div.field-name-field-news-photo {
	margin-bottom: 25px;
}

body.node-type-news div.field-name-field-news-date {
	font-style: italic;
}

/** 
 * FAQ - Contact us
 */
div.region-calendar div.block-views:nth-child(even) { clear: both; }
 
div#faq_contact-us { width: 44%; float: left; padding-left: 0; margin-right: 50px; }
div#faq_contact-us div.container { padding-left: 0px; }

div#faq_contact-us h2 {
	display: inline-block;
	font-size: 0.20rem;
	background-image: url('../img/rainbow_thin.jpg');
	background-repeat: no-repeat;
	background-position: bottom center;
	background-size: 100% 1px;
}


/** 
 * Board/staff member page
 */
div.node-board-member div.field-name-field-board-member-image,
div.node-staff-member div.field-name-field-staff-member-image,
div.node-committee-member div.field-name-field-committee-member-image {
	float: left;
	max-width: 25%;
}

div.node-board-member div.field-name-body,
div.node-staff-member div.field-name-body,
div.node-committee-member div.field-name-body {
	float: right;
	width: 70%;
}


/** 
 * Resource detailpage
 */
div.node-resource div.field-name-field-resource-image {
	width: 95%;
	margin-left: auto;
	margin-right: auto;
}

div.node-resource div.field-name-field-resource-image img {
	margin-left: auto;
	margin-right: auto;
	display: block;
}


/** 
 * Social share
 */
div#block-social-share-social-share ul li {
	list-style-type: none;
	display: inline-block;
	float: right;
	margin: 5px;
}
 

/**
 * webforms 
 */
div#content div.region-content div.block-webform h2 {
	display: inline-block;
	font-size: 0.20rem;
	background-image: url('../img/rainbow_thin.jpg');
	background-repeat: no-repeat;
	background-position: bottom center;
	background-size: 100% 1px;
}

div#content div.region-content div.block-webform label {
	display: inline-block;
	width: 250px;
}

div#content div.region-content div.block-webform div.description {
	padding-bottom: 20px;
}

div#content div.region-content div.block-webform div.form-item-submitted-event-time-ampm {
	margin-left: 20px;
}

div#content div.region-content div.block-webform div.form-item-submitted-event-time-ampm label {
	display: inline-block;
	width: 20px;
	padding: 0px 10px;
}

/* accordion */
div[id='40_years_container'],
div[id='40_ans_container'], 
div[id='40_anos_container'] {
	font-size: 0.16rem;
	font-family: roboto;
}

div[id='40_years_container'] div.ui-accordion-content,
div[id='40_ans_container']  div.ui-accordion-content, 
div[id='40_anos_container'] div.ui-accordion-content {
	height: auto !important;
}


div[id='40_years_container'] a, div[id='40_ans_container'] a, div[id='40_anos_container'] a {
	color: #00d27f;
}

div[id='40_years_container'] div.webform-component--40-years-container--share-your-story--text-after,
div[id='40_ans_container'] div.webform-component--40-ans-container--share-your-story--text-after,
div[id='40_anos_container'] div.webform-component--40-anos-container--share-your-photo-video--text-after {
	font-size: 0.60em;
}

div[id='40_years_container'] input[type="file"], div[id='40_ans_container'] input[type="file"], div[id='40_anos_container'] input[type="file"] {
	display: inline-block;
}
 
div#content div.region-content div.block-webform div[id='40_years_container'] label.option,
div#content div.region-content div.block-webform div[id='40_ans_container'] label.option
div#content div.region-content div.block-webform div[id='40_anos_container'] label.option {
	width: 75%;
	font-size: 0.85em;
}

/**
 * forms 
 */ 
body.page-civicrm form {
	line-height: 0.36rem;
}

body.page-civicrm form label {
	color: #777 !important;
	line-height: 0.36rem;
	padding-left: 12px;
	padding-right: 12px;
	white-space: nowrap;
}

body.page-civicrm form fieldset {
	border-top: 0;
}

body.page-civicrm form legend {
	font-size: 0.18rem;
	text-transform: uppercase;
	margin-top: 30px;
	margin-bottom: 0px;
}

body.page-civicrm form a.select2-choice {
	height: 40px;
}

body.page-civicrm form a.select2-choice abbr.select2-search-choice-close {
	top: 12px;
}

body.page-civicrm div#crm-container form div.crm-section div.label {
	width: auto;
	min-width: 17%;
    white-space: nowrap;
	color: #777 !important;
}


/* header title - mobile */
@media (max-width: 767px) {	
	#header .sub-header2 .sub-header-overlay {
		padding-top: 25px;
	}
	
	#header .sub-header2 h1.header-title {
		font-size: 0.18rem;
		line-height: 0.26rem;
	}
	
	header#header {
		/* background-image: url('../img/ILGA_homepage_low.jpg'); */
		background-size: 175%;
		background-position: top center;
		background-repeat: no-repeat;
		height: 175px;
		width: 100%;
	}

	header#header div.nav-socials {
		font-size: 0.16rem;
		position: relative;
		top: -30px;
	}
	
	header#header div.nav-socials a.header-top-become-member-button,
	header#header div.nav-socials a.header-top-donate-button {
		float: right;
		margin-right: 10px;
	}

	div#section-subtitle {
		background-size: auto 100%;
	}
	
	div#section-subtitle div.slogan-header {
		font-size: 0.18rem !important;
		line-height: 0.26rem !important;
		padding-top: 20px !important;
		padding-bottom: 20px !important;
		margin-top: 20px !important;
	}

	div#section-subtitle div.header-extra-buttons {
		top:0px;
	}

	
	header#header div.region-languages, header#header div.nav-txt  {
		float: right;
	}
	
	/* supporters */
	div.region-supporters div#block-views-ilga-s-network-block div.affa-client-logo img {
		max-width: 90% !important;
	}

	div#block-views-ilga-s-network-block div.affa-client-logo {
		height: auto;
	}
	
	div.region-supporters div#block-views-ilga-s-network-block div.post-item-txt {
		font-size: 0.10rem;
	}
	
}

@media (max-width: 991px) {
	div#faq_contact-us {
      width: 100%;
  	}
	div.nav-socials {
		display: inline-block;
		width: 100%
	}

	header#header div.region-languages, header#header div.nav-txt  {
		float: right;
	}
	
	div.nav-socials a {
		color: black;
		font-size: 2em;
	}
	
	div.nav-socials a:hover {
		color: black;
		text-decoration: underline;
	}

	header#header {
		/* background-image: url('../img/ILGA_homepage_low.jpg'); */
		background-size: 150%;
	}
	
	header#header div.slogan-header {
		padding-bottom:40px;
	}
	
	header div.header-extra-buttons {
		top: -3px;
	}
	
	div#newsletter-container {
		background-size: auto 100%;
	}


}

@media (min-width: 991px) {
	div#newsletter-container {
		background-size: auto 100%;
	}
}
	
@media (min-width: 1850px) {
	div#newsletter-container {
		background-size: 100% auto;
	}
}	

.parallax {

    /* Full height */
    height: 100%;

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

div#blog .carousel-slider figure {
	height: 100%;
}

.slick-track {
	display: flex;
}
div#blog .carousel-slider figure,
.slick-track .slick-slide {
	height: auto;
}
.slick-track .slick-slide > .affa-post {
	display: flex;
	flex-wrap: wrap;
	height: 100%;
	flex-direction: column;
}
.slick-track .slick-slide > .affa-post > .post-item-txt {
	flex: 1;
	display: flex;
	flex-wrap: wrap;
	padding-left: 0;
	padding-right: 0;
}
.slick-track .slick-slide > .affa-post > .post-item-txt > .post-item-title,
.slick-track .slick-slide > .affa-post > .post-item-txt > .post-item-content {
	padding: 0 25px;
}
.slick-track .slick-slide > .affa-post > .post-item-txt > .post-item-meta {
	width: 100%;
	align-self: flex-end;
}

/* custom style for removing background */
body.page-node-31 .bg-grey { background-color: white; }


/* body.page-node-86701 #block-system-main { float: right; width: 75%; } */

.search-form .captcha legend,
#search-block-form .captcha legend {
	display: none;
}
.search-form .captcha .fieldset-description,
#search-block-form .captcha .fieldset-description {
	display: none;
}