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


header#header {
	background-image: url('../img/ILGA_homepage_low.jpg');
	background-size: 100%;
	background-position: top center;
	background-repeat: no-repeat;
	width: 100%;
	height: auto;
}

header#header div.rainbow-header {
	background-image: url('../img/rainbow_large.jpg');
	background-size: 100%;
	height: 8px;
	width: 100%;
}

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: white;
	font-size: 14px;
}

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 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: #7B3F95;
	color: white !important;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 12px;
	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: #A5C728;
	color: white !important;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 12px;
	border-radius: 5px;
}


/**
 * search
 */ 
#navigation .navbar-secondary, #navigation.affix .navbar-secondary {
	padding: 7px 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: 16px;
}

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


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

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: Montserrat, Arial, sans-serif;
	color:  white;
	text-transform: uppercase;
	font-size: 36px;
	font-weight: bold;
	line-height: 60px;
}

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

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 img {
	height: 200px;
	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: Montserrat, Arial, sans-serif;
	font-size: 14px;
	line-height: 20px;
	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 .sub-header-overlay {
	padding-top: 100px;
}

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: 20px;
	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: 36px !important;
	line-height: 44px;	
	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: 20px;
	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: #A5C728;
	color: white !important;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 15px;
	border-radius: 5px;
}

div#newsletter-container {
	background-image: url('../img/newsletter_bg.png');
	background-size: 100% 100%;
	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: #a5c728;
	border: 0;
}

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

/** 
 * 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#faq_contact-us div.container {
	padding-left: 0px;
}


/** 
 * 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 {
	float: left;
	max-width: 25%;
}

div.node-board-member div.field-name-body, div.node-staff-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: 20px;
	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: 16px;
	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: 36px;
}

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

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

body.page-civicrm form legend {
	font-size: 18px;
	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: 18px;
		line-height: 26px;
	}
	
	header#header {
		background-image: url('../img/ILGA_homepage_low.jpg');
		background-size: 175%;
		background-position: top center;
		background-repeat: no-repeat;
		height: auto;
		width: 100%;
	}

	header#header div.slogan-header {
		font-size: 18px !important;
		line-height: 26px !important;
		padding-top: 20px !important;
		padding-bottom: 20px !important;
		margin-top: 60px !important;
	}

	/* 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: 10px;
	}
	
}

@media (max-width: 991px) {
	div.nav-socials {
		display: block;
		clear:both;
		margin-left: 1em;
	}
	
	div.nav-socials a {
		color: white;
	}
	
	div.nav-socials a:hover {
		color: white;
		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;
	}

}


.parallax {

    /* Full height */
    height: 100%;

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