@import 'includes/css/main.css';
/* HIDING THE VASAGEL FORM FROM THE BOTTOM OF SOME SUBPAGES */

/* HIDING THE VASAGEL FORM FROM THE BOTTOM OF SOME SUBPAGES */

body[class*="par_projects-vasalgel"] .ctct-embed-signup .ctct-custom-form input, body[class*="par_projects-vasalgel"] .ctct-embed-signup .ctct-custom-form button, body[class*="par_projects-vasalgel"] .ctct-embed-signup .ctct-custom-form span,

.par_projects-clean-sheets-pill .ctct-embed-signup .ctct-custom-form input, .par_projects-clean-sheets-pill .ctct-embed-signup .ctct-custom-form button, .par_projects-clean-sheets-pill .ctct-embed-signup .ctct-custom-form span,

.page-media-resources .ctct-embed-signup .ctct-custom-form input, .page-media-resources .ctct-embed-signup .ctct-custom-form button, .page-media-resources .ctct-embed-signup .ctct-custom-form span,

.par_projects-ultrasound .ctct-embed-signup .ctct-custom-form input, .par_projects-ultrasound .ctct-embed-signup .ctct-custom-form button, .par_projects-ultrasound .ctct-embed-signup .ctct-custom-form span,

.par_projects-other-contraceptive-research .ctct-embed-signup .ctct-custom-form input, .par_projects-other-contraceptive-research .ctct-embed-signup .ctct-custom-form button, .par_projects-other-contraceptive-research .ctct-embed-signup .ctct-custom-form span {
  display: inline-block;
  visibility: visible;
}

.ctct-embed-signup .ctct-custom-form input,
.ctct-embed-signup .ctct-custom-form button {
  display: none;
}

.ctct-embed-signup .ctct-custom-form span {
  visibility: hidden;
}

.news-feed .nav li a {
  margin-top:0;
  line-height:1.2em;
}

.footer-meta p {
  font-size: .75em;
  margin-bottom:0;
}

.footer-meta li a {
  font-size: 12px;
}

.inpage_menu {
 text-align: left;
}

a.inpage_item_title {
 font-size: 13px;
 margin-right: 12px;
 display: inline-block;
}

.inpage_item_title:after {
    padding: 0px !important;
    margin-left: 7px;
    position: absolute;
}

/* Donation page template */

.page-template-page-donations header {
  border-bottom: 2px solid #ff8403;
}

.page-template-page-donations .utility-band {
	height: 58px;
	background-color: #1a426f;
}

.page-template-page-donations .page-title {
  text-transform: none;
  margin-top: 20px;
  margin-bottom: 20px;
}

.page-template-page-donations .sidebar-donations {
  line-height: 1.4em;
  background-color: #1a426f;
  padding: 20px 10px 30px;
  text-align: center;
  border-bottom-left-radius: 1em;
  border-bottom-right-radius: 1em;
  color: #fff;
}

#rev_slider_1_1_wrapper {
  margin-bottom: 30px !important;
}

@media screen and (max-width: 650px) {
 a.inpage_item_title {
   display: inline;
 }
}


/** Newsletter */
.newsletter *,
.newsletter *::before,
.newsletter *::after{
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

.newsletter{
	position: relative;
}

.newsletter #mc_embed_signup form{
	padding: 15px;
}


.newsletter #mc_embed_signup .mc-field-group{
	display: flex;
	flex-wrap: wrap;
	padding: 0;
	width: 100%;
}

.newsletter #mc_embed_signup .mc-field-group label{
	margin-bottom: 10px;
	width: 100%;
	font: 18px/1 "Oswald", sans-serif;
}

.newsletter #mc_embed_signup .mc-field-group input{
	display: block;
	margin: 0;
	padding: 0 15px;
	width: calc( 100% - 45px );
	height: 46px;
	font-size: 18px;
	line-height: 46px;
	color: #1A426F;
	border: 2px solid transparent;
	border-radius: 25px;
}

.newsletter #mc_embed_signup .button{
	position: absolute;
	bottom: 25px;
	right: 15px;
	margin: 0;
	padding: 0;
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	color: #1A426F;
	background: #EDB205;
	border-radius: 30px;
}

.newsletter #mc_embed_signup .button:hover,
.newsletter #mc_embed_signup .button:focus{
	background: #47A5FF;
}

.newsletter #mc_embed_signup div.mce_inline_error{
	position: absolute;
	bottom: -45px;
	margin: 0 !important;
	left: 0;
	width: 100%;
	text-align: center;
	color: #FFF !important;
	background: #E85C41 !important;
}

@media( min-width: 768px ) {
	.newsletter #mc_embed_signup .mc-field-group{
		align-items: center;
	}

	.newsletter #mc_embed_signup .mc-field-group input{
		margin: 0 10px;
		width: 250px;
		height: 38px;
		font-size: 20px;
		line-height: 38px;
	}

	.newsletter #mc_embed_signup .mc-field-group label{
		margin: 0 10px 0 0;
		width: auto;
		font-size: 20px;
	}

	.newsletter #mc_embed_signup .button{
		position: relative;
		bottom: auto;
		right: auto;
	}
	
	.newsletter #mc_embed_signup_scroll{
		display: flex;
		justify-content: center;
	}
	
	.newsletter #mc_embed_signup_scroll > *{
		display: flex;
		justify-content: center;
		align-items: center;
		width: auto !important;
	}
	
	.newsletter #mce-responses{
		z-index: 9999;
		display: block;
		position: absolute;
		right: 0;
		bottom: -20px;
		left: 0;
		top: auto !important;
		padding: 0 !important;
		background: red;
	}

	.newsletter #mc_embed_signup #mce-responses div.response{
		margin: 0 !important;
		padding: 3px 6px !important;
		width: 100%;
		border-radius: 6px;
		text-align: center;
	}
}

/** Newsletter Sidebar */
.sidebar .newsletter #mc_embed_signup .mc-field-group label{
	display: none;
}

@media( min-width: 992px ) {
	.sidebar .newsletter #mc_embed_signup .mc-field-group input{
		padding: 0 5px;
		width: 140px;
	}
}

@media( min-width: 1366px ) {
	.sidebar .newsletter #mc_embed_signup .mc-field-group input{
		width: 180px;
	}	
}

.newsletter-cta{
	margin: 0 -15px;
	padding: 30px;
	text-align: center;
	background: #1A426F;
}

.newsletter-cta h2{
	margin: 0 0 20px;
	line-height: 1.4;
	color: #FFF;
	text-align: center;
	text-transform: uppercase;
	text-shadow: 2px 2px #666;
}

.newsletter-cta a{
	padding: 8px 16px;
	font: 700 20px/1 "Oswald";
	color: #1A426F;
	text-transform: uppercase;
	background: #FEBF05;
	border-radius: 8px;
}

.newsletter-cta a:hover,
.newsletter-cta a:focus{
	color: #FFF;
	text-decoration: none;
	background: #47A5FF;
}

.sidebar .newsletter-cta{
	margin: 0 -20px;
	border-radius: 1em;
}

.sidebar .newsletter-cta a{
	font-size: 15px;
}

@media( min-width: 1024px) {
	footer .newsletter-cta{
		display: flex;
		justify-content: center;
		align-items: center;
	}

	footer .newsletter-cta > *{
		margin: 0 10px;
	}

	footer .newsletter-cta a{
		display: block;
		padding: 10px 20px !important;
		line-height: 1;
		padding: 0;
	}
}
