/*
Theme Name: The Future of Science and Ethics
Theme URI: 
Author: Nathalie J. Schwitter
Author URI: http://nathalieschwitter.com
Version: 1.0

*/


/*
Required WordPress CSS
*/

body {
    font-size: 18px;
    line-height: 24px;
}

.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.bypostauthor {
}

p { margin: 0; }

/* WordPress gallery */
.gallery-caption {
}
.gallery {
	margin-bottom: 1.6em;
}
.gallery-item {
	display: inline-block;
	padding: 1.79104477%;
	text-align: center;
	vertical-align: top;
	width: 100%;
}
.gallery-columns-2 .gallery-item {
	max-width: 50%;
}
.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}
.gallery-columns-4 .gallery-item {
	max-width: 25%;
}
.gallery-columns-5 .gallery-item {
	max-width: 20%;
}
.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}
.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}
.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}
.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}
.gallery-icon img {
	margin: 0 auto;
}
.gallery-caption {
	color: #707070;
	color: rgba(51, 51, 51, 0.7);
	display: block;
	font-family: "Noto Sans", sans-serif;
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1.5;
	padding: 0.5em 0;
}
.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}


.sticky {
}
.wp-caption {
	border: 1px solid #ccc;
	margin-bottom: 1.5em;
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 1.2% auto 0;
	max-width: 98%;
}
.wp-caption-text {
	text-align: center;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.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. */
}



.navbar-default .navbar-nav > li#menu-item-31.active > a,
.navbar-default .navbar-nav > li#menu-item-31.open > a,
.navbar-default .navbar-nav > li#menu-item-31 > a:hover {
	border-color: #e2ba49;
}

.navbar-default .navbar-nav > li#menu-item-27.active > a,
.navbar-default .navbar-nav > li#menu-item-27.open > a,
.navbar-default .navbar-nav > li#menu-item-27 > a:hover {
	border-color: #b58936;
}

.navbar-default .navbar-nav > li#menu-item-30.active > a,
.navbar-default .navbar-nav > li#menu-item-30.open > a,
.navbar-default .navbar-nav > li#menu-item-30 > a:hover {
	border-color: #75a357;
}

.navbar-default .navbar-nav > li#menu-item-25.active > a,
.navbar-default .navbar-nav > li#menu-item-25.open > a,
.navbar-default .navbar-nav > li#menu-item-25 > a:hover {
	border-color: #4c6992;
}

.navbar-default .navbar-nav > li#menu-item-29.active > a,
.navbar-default .navbar-nav > li#menu-item-29.open > a,
.navbar-default .navbar-nav > li#menu-item-29 > a:hover {
	border-color: #bd2132;
}

.navbar-default .navbar-nav > li#menu-item-26.active > a,
.navbar-default .navbar-nav > li#menu-item-26.open > a,
.navbar-default .navbar-nav > li#menu-item-26 > a:hover {
	border-color: #e0835c;
}



.navbar-default .navbar-nav > li#menu-item-31 > a {
	color: #e2ba49;
}

.navbar-default .navbar-nav > li#menu-item-27 > a {
	color: #b58936;
}

.navbar-default .navbar-nav > li#menu-item-30 > a {
	color: #75a357;
}

.navbar-default .navbar-nav > li#menu-item-25 > a {
	color: #4c6992;
}

.navbar-default .navbar-nav > li#menu-item-29 > a {
	color: #bd2132;
}

.navbar-default .navbar-nav > li#menu-item-26 > a {
	color: #e0835c;
}





body.page-id-5 .entry-header h1 {
	color: #e2ba49;
	border-bottom: 3px solid #e2ba49;
}


body.page-id-7 .entry-header h1 {
	color: #b58936;
	border-bottom: 3px solid #b58936;
}

body.page-id-9 .entry-header h1 {
	color: #75a357;
	border-bottom: 3px solid #75a357;
}

body.page-id-11 .entry-header h1 {
	color: #4c6992;
	border-bottom: 3px solid #4c6992;
}

body.page-id-13 .entry-header h1 {
	color: #BD2133;
	border-bottom: 3px solid #BD2133;
}

body.page-id-15 .entry-header h1 {
	color: #e0835c;
	border-bottom: 3px solid #e0835c;
}


.menu-secondary-container #menu-secondary li#menu-item-32 a {
    color: #0068b4;
}

.menu-secondary-container #menu-secondary li#menu-item-54 a {
    color: #FF0066;
}

.menu-secondary-container #menu-secondary li#menu-item-46 a {
    color: #00CDAC;
}

.social-menu {
  display:block;
  float: left;
  vertical-align: middle; }

.social-menu ul {
  list-stlye: none;
  margin: 0;
  padding: 0;
}

.social-menu ul li {
  display: inline-block;
  margin-right: 5px;
}

.footer-right ul.social li a {
  font-size: 0;
  content: '';
  display: block;
  width:30px;
  height: 30px;
  border: 2px solid #ddd;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
}

.footer-right ul.social li.facebook a {
  background: url('http://scienceandethics.fondazioneveronesi.it/wp-content/uploads/2016/05/facebook.png') no-repeat center center;
  background-size: 24px auto;
}

.footer-right ul.social li.facebook a:hover {
  border-color: #507bbe;
}

.footer-right ul.social li.twitter a {
  background: url('http://scienceandethics.fondazioneveronesi.it/wp-content/uploads/2016/05/twitter.png') no-repeat center center;
  background-size: 24px auto;
}

.footer-right ul.social li.twitter a:hover {
  border-color: #64ccef;
}




body.page-id-44 .entry-header h1 {
    color: #00CDAC;
    border-bottom: 3px solid #00CDAC;
}

.yikes-mailchimp-container {
	margin: 20px 0;
}

.yikes-mailchimp-container label.LNAME-label,
.yikes-mailchimp-container label.FNAME-label {
    float: left;
    width: 47%;
    margin-right: 3%;
}

.yikes-mailchimp-container label.EMAIL-label {
    float: none;
    width: 97%;
    margin: 10px 0;
}

.yikes-mailchimp-container label input {
    border: 1px solid #ddd !important;
    font-size: 14px !important;
    font-weight: normal !important;
}

.yikes-easy-mc-form .yikes-easy-mc-submit-button {
    float: right;
    display: inline-block !important;
    width: auto !important;
    background: #a2bcd4 !important;
    border-radius: 0px !important;
    border: none !important;
    padding: 5px 25px !important;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 13px;
    margin-right: 3%;
}

.yikes-easy-mc-form .yikes-easy-mc-submit-button:hover {
   background: #4c6992 !important;
}


@media (max-width: 640px) {

	.yikes-mailchimp-container label.EMAIL-label,
	.yikes-mailchimp-container label.LNAME-label,
	.yikes-mailchimp-container label.FNAME-label {
		float: none !important;
		width: auto !important;
		display: block !important;
		margin: 10px 0 !important
	}
	.yikes-easy-mc-form .yikes-easy-mc-submit-button {
		margin-right: 0 !important;
	}

	.yikes-mailchimp-container label input {
    		font-size: 16px !important;
	}

}