/*=======================================================================
*** PORTO_SUB STYLE SHEET***
========================================================================*/



body,
html {
	color: #333333;
	font-size: 18px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	color: #0874bb
}
p {
	color: #333333;
	line-height: 1.5em;
	margin: 0 0 11px;
}

h1,
h2 {
	font-size: 34px;
}
img,
video {
	max-width: 100%;
	height: auto;
}

h1 {
	margin-bottom: 20px;
}
h1.main-header-bold {
   font-weight: bold;
   font-size: 2.6em;
}
.btn-group-lg>.btn,
.btn-lg {
	padding-top: 16px;
	padding-bottom: 16px;
}
.row.align-bottom {
   align-items: flex-end;

}
div.centered-announcement {
	text-align: center;
}
div.centered-announcement p {
     margin-bottom: 6px;
}
div.footer-lower ul.menu {
	margin-left: 0px;
	margin-top: 12px;
}
div.footer-lower li.menu-item a {
    padding: 5px 10px;
    border: 1px solid white;
}
@media screen and (min-width:401px) {
  div.footer-logos {
	display: flex;
	justify-content: flex-end;
  }
   div.footer-logos img:not(:last-child) {
	margin-right: 16px;
   }
}

/* mobile footer */
@media screen and (min-width:401px) and (max-width: 988px) {
  #footer .row.align.align-bottom {
	justify-content: center;
  }
  #footer .row.align {
	display: flex;
	flex-wrap: wrap;
  }
  .row.align-bottom {
  	  display: flex;
  	  flex-wrap: wrap;
      justify-content: space-around;
  }
  div.footer-logos {
 	justify-content: center;

  }
  #footer div.col-md-6 {
  	width: 100%;
  }
}
@media screen and (max-width:440px) {
	#footer p {
		text-align: center;
	}
	#footer .col-md-6 {
		width: 100%;
	}
	div.footer-logos {
		width: 100%;
	}
	div.footer-logos img {
		margin: 0px auto 16px auto;
		display: block;
		float: none;

	}

}


/* Citation Field*/
.field--name-field-citation {
	padding-top: 20px;
}
.field--name-field-citation {
	font-weight: bold;
}

/* Captcha */
.captcha {
        clear: both;
        overflow: hidden;
        background: #F2F2F2;
        margin-bottom: 20px;
        max-width: 100%;
        height: auto;
        position: relative;
}

/* This centers the textbox in the Captcha box */
 .captcha .form-text{
	margin-left:auto;
		margin-right:auto;
}


/* news view styles */

/* start italy style change */

.views-field-field-news-title-1 {
	margin-top: -50px;
	padding-bottom: 40px;
	font-size: 25px;
	background-color: #fff;
}

.views-field-field-news-title-1 a {
	margin-top: -40px;
	padding-top: 50px;
	padding-right: 20px;
	padding-bottom: 50px;

}

.floatRight, .floatLeft, .floatRight img, .floatLeft img
{
        width: 100%;
}

@media (min-width: 768px)
{
        .floatRight
        {
                float: right;
                width: 40%;
                margin-left: 2em;
        }

        .floatLeft
        {
                float: left;
                width: 40%;
                margin-right: 2em;
        }
}
/* end italy style change */

/* custom text, float */





/* borders */


.borders{
	border: solid 1px #C0C0C0;
}

.leftborder{
	border-left: solid 2px #C0C0C0;


}

.rightborder{
	border-right: solid 2px #C0C0C0;

}

.topborder{
	border-top: solid 2px #C0C0C0;

}
.bottomborder{
	border-bottom: solid 2px #C0C0C0;

}
/* padding & margins*/

.margintop{
	margin-top:20px;
}
.margintopmedium{
	margin-top:40px;
}

.margintoplarge{
	margin-top:75px;
}

.marginrightauto{
	margin-right:auto;
}
.marginleftauto{
	margin-left:auto;
}

.padding{
	padding: 20px;

}

.paddingmedium{
	padding: 40px;

}

.paddinglarge{
	padding: 80px;

}

.paddingtop{
	padding-top: 20px;
}

.paddingtoplarge {
		padding-top: 80px;

}
.paddingright{
	padding-right: 20px;

}

.paddingrightmedium{
	padding-right: 40px;

}
.paddingrightlarge{
	padding-right: 80px;

}


.paddingleft{
	padding-left: 20px;

}

.paddingleftmedium{
	padding-left: 40px;

}
.paddingleftlarge{
	padding-left: 80px;

}

.bodypaddingtop{
	padding-top: 20px;
	padding-left: 0px !important;
}

.nopadding{
	padding: 0px !important;
}

.paddingbottom{
	padding-bottom: 20px;
}



/* Contact Form fields*/

.form-item, .form-actions {
	padding-left: 20px;
}

body.context-contact p.form-note {
   font-style: italic;
}
body.context-contact aside.sidebar a {
	word-wrap: break-word;
}

/* Figure/Image Caption */

.caption > figcaption{
	font-style: italic;
	text-align: center;
	padding-bottom: 15px;
	color: #3f8bc8;
	font-size: 14px;
}

.icon-floatleft > .field--name-field-caption{
	width: 220px;
}



/*Quotation Mark for Quote on the news page, and other pages */

.quoteexcerpt {
  float:left;
  font-size:60px;
  font-style:normal;
  font-weight:bold;
  margin-left:10px;
  margin-top: 10px;
  max-height:0.4em;
  color: #0874bb;
  background-color: transparent;
}


/*Quote style for the quote itself*/

.quote1{
font-style:italic;
	position: relative;
	font-size: 25px;
	z-index: 20;
	text-align: center;
	border-left:5px solid #eee;
	color: #0874bb;
	margin-top:10px;
	line-height: 45px;
}

/*Quote style for the author line*/
.quote2::before {
 content:"-";
}


.quote2{
	font-size: 20px;
	margin: auto;
	padding: 10px;
	max-width: 85%;
	position: relative;
	color: #0874bb;}

.field--name-field-author-of-quote{
	padding-bottom: 20px;
	text-align: center;
	padding-top: 2px;
	color: #0874bb;
}


/* Divider Lines */

/* Regular Divider Line */

.dividerline
{
	margin: 5px auto 18px auto;
	width: 100%;
	border-bottom: 1px solid #ccc;
}

/* Search page Divider Line (blue) */
.search-divider{
  margin:5px auto 18px auto; width: 100%;
  border-bottom: 8px solid #3f8bc8;
}

/* Image Styles*/
.image-style-news-top {
width: 100%;
  height: auto;
}


/* Image Style - Medium*/
.image-style-medium {
	padding-left: 20px;
	padding-right:20px;
}

/* Image Style - Large*/
.image-style-large-body-image{
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.image-style-large{
	padding-top: 10px;
	max-width: 100%;
	height: auto;
	}


/* Start France styles */

.captionblk{
    color: black;
	padding-top: 10px;
    font-style: italic;
    /* limiting the width.*/
    max-width: 500px;
padding-bottom: 20px;
	text-align: center;
	font-size: 16px !important;

}

.date-header{
	background-color: #05215c;
	color: white;
    font-size: 24px;
    font-weight: bold;
	width: 100px;
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 10px;
	padding-bottom: 10px;
	text-align: center;
	text-transform: uppercase;
}

.date-digits{
	color: black;
    font-size: 24px;
    font-weight: bold;
	width: 100px;
	padding: 15px 5px 15px 5px;
	text-align: center;
	text-transform: uppercase;
	border: solid thin gray;
}


/* France Team Page Cards */

.card {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
	padding: 16px;
	text-align: center;
	background-color: #ffffff;
	height: 900px;
}

/* France - Training Page - Card gallery*/

div.gallery {
  margin: 5px;
  border: 3px solid #ccc;
  float: left;
  width: 275px;
}

div.gallery:hover {
  border: 3px solid #777;
}

div.gallery img {
  width: 100%;
  height: auto;
}

div.desc {
  padding: 5px;
  text-align: center;
  height: 95px;
}

div.text {
    margin-top: -50px;
    margin-right: 10px;
    margin-bottom: 0px;
    margin-left: 5px;
    float: left;
    height: 95px;

}

/* France - Material Page */
.column {
  float: left;
  width: 25%;
  padding: 5px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}


/* Clearfix (clear floats) */
.row::after {
  content: "";
  clear: both;
  display: table;
}

/* Event Listing View Calendar*/

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

/* Event Listing View */
.block-views-block-event-listing-block-1{
	padding-left: 40px;
}

.layout--threecol-33-34-33 {
	background-color:#F0EDED;
	padding: 20px;
}
  .layout--threecol-25-50-25 > .layout__region--second {
flex: 40%;
}

.layout--threecol-25-50-25 > .layout__region--third {

flex: 20%;
}


.layout--threecol-25-50-25 {
	background-color:#F0EDEDAB;
	padding: 15px;
	/* Turning the Hyphens off */
	/*	-ms-hyphens:auto;
	-moz-hyphens: auto;
	hyphens: auto;                      */
	margin-top: 20px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


/* colored backgrounds styles */

.whitelayout{
	background-color:#ffffff;
	padding: 15px;
	/* Turning the Hyphens off */
	/*-ms-hyphens:auto;
	-moz-hyphens: auto;
	hyphens: auto;       */
	margin-top: 20px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
/* colored backgrounds styles */

.graylayout{
	background-color:#F0EDED;
	padding: 15px;
	/* Turning the Hyphens off */
	/*-ms-hyphens:auto;
	-moz-hyphens: auto;
	hyphens: auto;       */
	margin-top: 20px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.bluebackground {
		background-color: #0874bb;

}

.blueheader {
		background-color: #0874bb;
color:white;
	width: 100%;
	padding: 10px;

}


.resource-header {
  background-color: #0874bb;
  padding: 14px;
  text-align: center;
	color:white;
}

.resource-header a:hover{
  color: white;

}
.resource-header a{
  color: white;
}

.resource-header p{
  color: white;
}


.backgroundcolorgrey{
	background-color: #F0EDED;
}


/* Hiding the hyphenations*/
    /*.field--type-text-with-summary{
	padding-left: 20px;
	hyphens: auto;
	}*/


/* Hiding the padding style on dates/location fields. Apply different padding style on view*/
/*

.field--name-field-dates
{
	padding-left: 20px;
}


.field--name-field-location {
	padding-left: 20px;
}
*/

.col-md-6{
	width:50%;
}

.view-view-slideshow1 {

	width: 100%;
	height: calc(100vh - 15vmin - 4vw);
	position: relative;
	box-sizing: border-box;
	overflow-y: hidden;
	overflow-x: hidden;
	background: url(../files/background.svg),  #A6E3EF;
	background-repeat: repeat;
	background-size: auto calc(50vh - 11.5vmin);
	background-position: left 0 top 0;

}


/* Fixing block editor text hover color from clear to black */

.contextual-region .contextual .contextual-links a{
	color: black !important;

}

/* Views Slideshow Controls*/

/* Next and Previous Button*/

.views-slideshow-controls-text-resume-processed a,
  .views-slideshow-controls-text-pause-processed a,
 .views-slideshow-controls-text-next-processed a,
 .views-slideshow-controls-text-previous-processed a {
    color: white;
    background-color: #3f8bc8;
	padding: 5px;
	width: 130px;
	display: block;
	text-align: center;
	text-decoration: none;
 }
   .views-slideshow-controls-text-resume-processed a:focus,
 .views-slideshow-controls-text-pause-processed a:focus,
 .views-slideshow-controls-text-next-processed a:focus,
 .views-slideshow-controls-text-previous-processed a:focus,
  .views-slideshow-controls-text-resume-processed a:hover,
 .views-slideshow-controls-text-pause-processed a:hover,
 .views-slideshow-controls-text-next-processed a:hover,
 .views-slideshow-controls-text-previous-processed a:hover {
    color: white;
    background-color: dodgerblue;
    text-decoration: none;
 }

 .views_slideshow_controls_text {
 	display: flex;
 	justify-content: space-between;
 }
 /* slides */
 .views_slideshow_cycle_slide {
 	max-width: 100% !important;
 	transition: 0.2s ease;
 }
 .views_slideshow_cycle_teaser_section {
 	max-width: 100% !important;
 	width: 100% !important;
 	transition: 0.2s ease;
 }
 .views_slideshow_cycle_teaser_section div.row {
 	display: flex;
 }

 .views_slideshow_cycle_teaser_section div.row div.layout__region--first {
 		max-width: 480px !important;
 		margin-bottom: 20px;
 }
 @media screen and (max-width: 991px) {
 	.views_slideshow_cycle_teaser_section div.row {
 		flex-direction: column;
 		align-items: center;
 	}
 	.views_slideshow_cycle_teaser_section div.row .col-md-6 {
 		width: 100%;
 	}
 	h1#pageTitle {
		text-align: center;
	}
 }
.path-bloglist .views_slideshow_cycle_slide img {
	width: 100%;
}
/* Button area/space*/
.views-slideshow-controls-top {
    text-align: right;
	padding-bottom: 15px;

}
/* Button Text*/

.views-slideshow-controls-top a {
color: white;


	/* Button hover/focus */
}
.views-slideshow-controls-top a:hover {
  background-color: #62BDBD;
	color: white;
}


.views-slideshow-controls-top a:focus {
	color: white;


}
/* custom text, float  */

.grn-text {
  color: #4CAF50;}

.font22 {
  font-size: 22px;
}

.grnfont22 a,
.grnfont22 a:visited,
.grnfont22 a:hover {
  color: #4CAF50;
  font-size: 22px;
}

.fltrightbld {
  float: right;
  font-weight: bold;
}

.fltright {
  float: right;
}
/* Caption Field Text - Slideshow, Event On the actual content page*/

.field--name-field-caption {
	/* black text so it is not mistaken for a link.*/
    color: black;
	padding-top: 10px;
    font-style: italic;
    /* limiting the width.*/
    max-width: 500px;
    /* adding some margin at the bottom. */
    margin: 0px auto 20px auto;
	font-size: 14px !important;
}

/* Caption Field Text - Slideshow, Event On the view*/
.views-field-field-caption {
	font-style: italic;
	font-weight: bold;
	font-size: 11px;
	float:left;
}


.video-container{
	display: flex;
		float: right;
		flex-wrap: wrap;
		margin: 0 auto;
}

.float-right {
	float: right;
  width: 200px;
padding-bottom: 40px;
  padding-top: 40px;
	font-size:18px;
	font-weight: bold;
}

.field--name-field-button-text{
  color: white;

}

/* this is the green button on the basic page */
div.resource-grid-item a,
.field--name-field-button-text-link {
   background-color: #4CAF50;
  /* you had this on width: auto; but that makes the button too big. Adding max-width to make it less wide */
   max-width: 200px;
   color: white;
   padding: 8px;
   text-align: center;
   text-decoration: none;
   display: block;
   font-size: 18px;
   /* hiding the margin */
   /* margin: 0px 0px 20px 0px; */
	cursor: pointer;
}

.field--name-field-button-text-link:hover{
	background-color:#50C04D;
}

div.faq h4 {
	color: #4CAF50;
}
div.faq h5 {
	margin-top: 28px;
	margin-bottom: 8px;
}
div.resource-grid3-item a,
div.resource-grid-item a {
	margin: 0px auto 10px auto;
	transition: 0.2s ease;
}
div.resource-grid-item a:hover {
	background-color: #62D666;
	transition: 0.2s ease;
}



.button-link {
   background-color: #4CAF50;
  /* you had this on width: auto; but that makes the button too big. Adding max-width to make it less wide */
   max-width: 200px;
   color: white;
   padding: 8px;
   text-align: center;
   text-decoration: none;
   display: block;
   font-size: 16px;
   margin-bottom: 20px;
   margin-left:auto;
   margin-right:auto;
   cursor: pointer;
}


.button-link a {
  color: white;

}

.button-link a:hover{
	color: white;
	/* text-decoration: underline;*/
}

/* Basic Page - Subheader/Page Title*/

.field--name-field-page-title {
	color: #0874bb;
	padding-left: 20px;
	padding-bottom: 30px;
	font-size: 24px;
	font-weight: bold;
}

/* Basic Page - Green Button's Text */

.field--name-field-button-text-link a{
	color: white;
	text-decoration: none;
}

/* Basic Page - Green Button's Hover Text */

.field--name-field-button-text-link a:hover{
	color: white;
	/*text-decoration: underline;*/
}

/* Generic Green Button Text */

.green-button-text a{
	color: white;
	text-decoration: none;
}

.green-button-text a:hover{
	color: white;
	/*text-decoration: underline;*/
}

.green-button-text {
   background-color: #4CAF50;
  /* you had this on width: auto; but that makes the button too big. Adding max-width to make it less wide */
   max-width: 200px;
   padding: 8px;
   text-align: center;
   text-decoration: none;
   display: block;
   font-size: 16px;
   margin-bottom: 20px;
   cursor: pointer;

}


.green-button-text:hover{
   background-color: #46d44c;


}


/* Generic Blue Button */

.blue-button-text a{
	color: white;
	text-decoration: none;
}

.blue-button-text a:hover{
	color: white;
	/*text-decoration: underline;*/
}

.blue-button-text {
   background-color: #0874bb;
  /* you had this on width: auto; but that makes the button too big. Adding max-width to make it less wide */
   max-width: 200px;
   padding: 8px;
   text-align: center;
   text-decoration: none;
   display: block;
   font-size: 16px;
   margin-bottom: 20px;
   cursor: pointer;

}
.blue-button-text:hover{
   background-color: #009fcc;


}


/* Basic Page - Description Text under the Green Button */

.field--name-field-button-description-text {
	word-wrap: anywhere;
}

/* 2 column stacked display suite - changing right column to 20%*/

.ds-2col-stacked > .group-right {
	float: right;
	width: 20%;
}

/* I tried to add an @media but i don think it works.*/

@media (min-width:600px) {
	.group-right {
		float: right;
	width: 5%;
		padding-right: 20px;

	}
}


/* 2 column stacked display suite - changing left column to 75%*/
.ds-2col-stacked > .group-left{
	float:left;
	width: 75%;

}

/* End Melody Styles*/


.form-actions {
	display: inline-block;
	padding-top: 24px;
}

.form--inline {
	display: flex;
	margin-right: 10px;
}

table {
	width: 100%;
}
.view-resource-s table th:first-child,
.view-resource-s table td.views-field-title {
	padding-right: 16px;
	width: 30%;
}
.view-resource-s table tbody tr {
   border-bottom: #666666 1px solid;
}
.view-resource-s .form--inline div.js-form-item:first-child {
  min-width: 160px;
}

body.path-search form#views-exposed-form-search-page #edit-actions {
	margin-top: 22px;
	padding-left: 3px;
}
body.path-search div#block-porto-sub-content {
	margin-left: 20px;
}

/* responsive styling for searchable resources */
@media screen and (max-width:768px) {
	.view-resource-s table tbody tr {
		margin-bottom: 10px;
		display: block;
	}
	.view-resource-s table th,
	.view-resource-s table td,
	.view-resource-s table td.views-field-title {
		width: 100%;
		display: block;
	}
	select#edit-field-abe-curric-target-id {
		max-width: 100%;
	}
	.view-resource-s table tr div.flex-container {
       display: flex;
	}
	.view-resource-s div.resource-body,
	.view-resource-s div.resource-container div:nth-child(3) {
      display: inline-block;
      margin-bottom: 5px;
	}
	div.resource-title2 {
		margin-bottom: 10px;

	}
	thead {
		margin-bottom: 20px;
	}
	thead th:first-child {
		display: none;
	}
	.form--inline {
		flex-direction: column;
	}
	 div.form-item.js-form-item {
		min-width: 100%;
		margin-right: 0px;
		margin-left: 0px;
		padding-left: 0px;
		padding-right: 0px;
		float: none;
	}
}
form label {
	font-weight: bold;
}

.pager li {
	font-weight: bold;
	padding-right: 10px;
	padding-top: 3px;
}

.resource-title {
	background-color: #C9CCDB;
	padding: 5px;
}

.icon-floatleft {
	float: left;
	padding: 20px 20px 10px 0px;
}

.resource-container {

	background-color: #FFFFFF;
}



.resource-containertop {
	border-top: #143C97 2px double;
	border-bottom: #143C97 2px double;
	background-color: white;
	padding-top: 5px;
	padding-bottom: 5px;
	background-color: #E1E1E1;
}

.resource-body {
	padding-bottom: 20px;

}

.resource-title2 {
	padding-top: 20px;
}

@media(min-width:768px) {
	.row.gutter-5 {
		margin-left: -5px;
		margin-right: -5px;
	}
	.row.gutter-5>[class*='col-'] {
		padding-right: 5px;
		padding-left: 5px;
	}
}

.path-frontpage {}

.path-frontpage .views-element-container:not(.block-views-blockpage-banner-block-*) {
	border-top: #ddd 1px solid;
	margin-top: 50px;
	padding-top: 50px;
}


.view-home-announcements-eng .item-list > ul,
.view-home-announcements .item-list>ul {
	margin: 35px 0 0;
	padding: 0
}

.view-home-announcements-eng .item-list > ul > li,
.view-home-announcements .item-list>ul>li {
	list-style: none;
	margin: 1px 0 0;
	;
	padding: 0;
	background: #0874bb;
	color: #fff;
	text-align: center;
	font-size: 18px;
	font-weight: 300;
}
.view-home-announcements-eng .item-list > ul > li a,
.view-home-announcements .item-list>ul>li a {
	color: inherit;
	display: block;
	padding: 20px;
}

.view-home-announcements-eng .item-list > ul > li a:hover,
.view-home-announcements .item-list>ul>li a:hover {
	text-decoration: none;
}

.view-home-announcements-eng .item-list > ul > li img,
.view-home-announcements .item-list>ul>li img {
	display: inline-block;
	margin: 0 0 5px;
	max-height: 70px;
	width: auto;
}

@media (min-width:768px) {
	.view-home-announcements-eng .item-list > ul,
	.view-home-announcements .item-list>ul {
		display: flex;
		justify-content: center
	}
	.view-home-announcements-eng .item-list > ul > li,
	.view-home-announcements .item-list>ul>li {
		margin: 0 2px;
		width: 231px;
		display: flex;
		align-items: center;
		justify-content: center;
	}
}

#block-views-block-home-distribution-centers-block-1 h2 {
   text-align: center;
}
.view-home-distribution-centers {}

.view-home-distribution-centers .item-list>ul {
	margin: 35px 0 0;
	padding: 0;
	position: relative
}

.view-home-distribution-centers .item-list>ul>li {
	list-style: none;
	margin: 0;
	padding: 0;
	height: 146px;
	background: #0874bb;
	color: #fff;
	text-align: center;
	font-size: 18px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
}

.view-home-distribution-centers .item-list>ul>li a {
	color: inherit;
	display: block;
	padding: 20px;
}

.view-home-distribution-centers .item-list>ul>li a:hover {
	text-decoration: none;
}

.view-home-distribution-centers .item-list>ul>li img {
	display: inline-block;
	margin: 0 0 5px;
	max-height: 70px;
}

.view-home-distribution-centers .item-list>ul:not(.double)>li:nth-child(4n-7) {
	background-color: #2f8e2f
}

.view-home-distribution-centers .item-list>ul:not(.double)>li:nth-child(4n-8) {
	background-color: #0874bb
}

.view-home-distribution-centers .item-list>ul:not(.double)>li:nth-child(4n-9) {
	background-color: #e2780e
}

.view-home-distribution-centers .item-list>ul:not(.double)>li:nth-child(4n-10) {
	background-color: #009fcc
}

.view-home-distribution-centers .item-list>ul.double>li:nth-child(8n+1),
.view-home-distribution-centers .item-list>ul.double>li:nth-child(8n+3) {
	background-color: #2f8e2f
}

.view-home-distribution-centers .item-list>ul.double>li:nth-child(8n+5),
.view-home-distribution-centers .item-list>ul.double>li:nth-child(8n+7) {
	background-color: #e2780e
}

.view-home-distribution-centers .item-list>ul.double>li:nth-child(8n+6),
.view-home-distribution-centers .item-list>ul.double>li:nth-child(8n+8) {
	background-color: #009fcc
}

@media (min-width:768px) {
	.view-home-distribution-centers .item-list>ul {
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
		margin: 0 auto;
	}
	.view-home-distribution-centers .item-list>ul>li {
		width: 285px;
		flex-grow: 1;
	}
	.view-home-distribution-centers .item-list>ul>li:nth-child(2):after {
		content: "";
		width: 105px;
		height: 105px;
		display: block;
		background: url("img/icon-distribution-center.png") no-repeat center;
		background-size: contain;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%)
	}
}

.block-views-blockstaff-profiles-block-1>h2 {
	margin: 0 0 5px
}

.block-views-blockstaff-profiles-block-1 {
	padding-top: 50px;
}

.view-staff-profiles>.view-header h3 {
	background: #1c9700;
	color: #fff;
	margin: 0;
	font-weight: bold;
	padding: 7px;
	font-size: 22px;
	line-height: 1;
}

.view-staff-profiles .views-row .field-content {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px #eee solid;
}

.view-staff-profiles img {
	display: block;
	margin: 0 auto 20px;
}

.view-staff-profiles h3.name-title {
	text-transform: none;
	font-size: 1.1em;
	margin: 0;
}

.view-staff-profiles h3.name-title .name {
	font-weight: bold;
}

.view-staff-profiles h3.name-title .title {
	font-style: italic
}

.view-staff-profiles .bio {
	font-size: 15px;
}

@media (min-width:768px) {
	.view-staff-profiles img {
		margin: 0
	}
	.view-staff-profiles .views-row .field-content>.row {
		display: flex;
		align-items: center;
	}
}

.view-resource-categories {}

.view-resource-categories .resource-top-category {
	padding-bottom: 10px;
	border-bottom: #666666 1px solid;
	margin-bottom: 10px;
}

.view-resource-categories .resource-top-category:hover {
	cursor: pointer;
}

.view-resource-categories .resource-top-category:after {
	content: "";
	display: table;
	clear: both;
}

@media (min-width:768px) {
	.view-resource-categories .resource-top-category {
		display: flex;
		align-items: center;
	}
}

.view-resource-categories .resource-top-category .resource-icon,
.view-resource-categories .resource-top-category .resource-category-title {
	float: left;
}

.view-resource-categories .resource-top-category .resource-icon {
	width: 99px;
	margin-right: 7px;
}

.view-resource-categories .resource-top-category .resource-icon img {
	display: block;
	margin: 0 auto;
}

.view-resource-categories .resource-category-title {
	font-weight: bold;
	color: #0874bb;
}

.view-resource-categories .view-grouping+.view-grouping {
	margin-top: 20px;
}

.view-resource-categories h3 {
	text-transform: normal;
	margin-left: 18px;
	margin-bottom: 16px;
	font-size: 18px;
	font-weight: 600;
	transition: color 0.2s ease;
	cursor: pointer;
}

.view-resource-categories .item-list h3.open {
	margin-bottom: 6px;
}

div.resource-category-title {
	transition: color 0.2s ease;
}

div.resource-category-title:hover,
.view-resource-categories .item-list h3:hover {
	color: dodgerblue;
	transition: color 0.2s ease;
}

.view-resource-categories .item-list ul.hide {
	display: none;
}

.view-category-resources {
	margin-bottom: 24px;
}

@media (min-width:768px) {
	.view-resource-categories .item-list ul,
	.view-resource-categories .item-list ul * {
		break-inside: avoid-column;
	}
}

.view-resource-categories .item-list ul {
	margin: 0;
	padding: 0 0 10px;
	column-span: none;
}

.view-resource-categories .item-list li {
	margin: 0;
	padding: 10px 0;
	list-style: none;
}

.view-resource-categories .item-list li img {
	width: auto;
	max-height: 25px;
}

.view-resource-categories .resource-item {
	font-size: 18px;
	display: flex
}

.view-resource-categories .resource-item:after {
	content: "";
	display: table;
	clear: both;
}

.view-resource-categories .resource-item-icon,
.view-resource-categories .resource-item-title {}

.view-resource-categories .resource-item-icon {
	width: 57px;
	text-align: center;
}

.view-resource-categories .resource-item-icon img {
	display: inline-block;
}

.view-resource-categories .resource-item-title {
	flex-grow: 2
}

.view-resource-categories .resource-item-title a {
	display: block;
}

.distribution-center-details {
	max-width: 800px;
	margin: 0 auto;
	color: #fff;
	background: #4ca4d5;
	background: -moz-linear-gradient(left, #4ca4d5 81%, #007dc3 100%);
	background: -webkit-linear-gradient(left, #4ca4d5 81%, #007dc3 100%);
	background: linear-gradient(to right, #4ca4d5 81%, #007dc3 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4ca4d5', endColorstr='#007dc3', GradientType=1);
}

.node--type-distribution-center .field--name-field-address {
	padding: 15px;
	padding-right: 0
}

.node--type-distribution-center .field--name-field-organization {
	padding: 35px 60px 25px 25px
}

.node--type-distribution-center .field--name-field-address p,
.node--type-distribution-center .field--name-field-organization p {
	color: #fff;
	margin: 0;
}

.node--type-distribution-center .field--name-field-center-coordinator .field__label {}

.node--type-distribution-center .paragraph--type--center-coordinator {
	padding: 15px;
	padding-left: 0
}

.node--type-distribution-center .field--name-field-center-coordinator .field--name-field-photo {}

.node--type-distribution-center .field--name-field-center-coordinator .field--name-field-photo img {
	max-width: 100%;
	height: auto;
}

.node--type-distribution-center .field--name-field-center-coordinator .field--name-field-coordinator-title {
	color: #fff;
	font-size: 26px;
	font-weight: 600;
	padding: 0px 0 10px;
	border-bottom: #fff 1px solid;
	margin: 0 0 10px;
}

.node--type-distribution-center .field--name-field-center-coordinator .field--name-field-full-name {
	color: #fff;
	font-weight: bold;
	font-size: 22px;
	margin: 0 0 10px;
}

.node--type-distribution-center .field--name-field-center-coordinator .field--name-field-position {
	font-style: italic;
	color: #fff;
	font-size: 22px;
	line-height: 1.3
}

.node--type-distribution-center .field--name-field-center-coordinator .field--name-field-email,
.node--type-distribution-center .field--name-field-center-coordinator .field--name-field-phone-number  {
	margin-top: 12px;
	font-weight: bold;
	color: #fff;
}
.node--type-distribution-center .field--name-field-center-coordinator .field--name-field-phone-number .field__label,
.node--type-distribution-center .field--name-field-center-coordinator .field--name-field-email .field__label {
	font-weight: normal;
	color: #fff;
}

.node--type-distribution-center .field--name-field-center-coordinator .field--name-field-email a {
	color: inherit;
}

.node--type-distribution-center .field--name-field-resources {
	margin: 0px -15px 0;
}

.node--type-distribution-center .field--name-field-resources:after {
	content: "";
	display: table;
	clear: both;
}

.node--type-distribution-center .field--name-field-resources>.field__item {
	padding: 0 15px;
	text-align: center;
	text-transform: uppercase;
	color: #333;
	font-weight: 600;
	margin-top: 25px;
}

.node--type-distribution-center .field--name-field-resources>.field__item a {
	display: block;
	margin: 0 0 15px;
	color: inherit
}

.node--type-distribution-center .field--name-field-resources>.field__item img {
	margin: 0 auto 40px;
}

.node--type-distribution-center .field--name-field-address .field__label,
.node--type-distribution-center .field--name-field-organization .field__label {
	font-size: 26px;
	font-weight: 600;
	border-bottom: 1px #fff solid;
	padding-bottom: 10px;
	margin-bottom: 5px;
}

@media (min-width:768px) {
	.node--type-distribution-center .field--name-field-resources {
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
		align-content: stretch;
	}
	.node--type-distribution-center .field--name-field-resources>.field__item {
		width: 33.3%;
		float: left;
		margin-top: 65px;
	}
}

.node--type-event .event-dates {
	margin: 0 0 20px
}

.node--type-event .event-dates>div {
	display: inline-block;
}

.node--type-event .event-dates>div+div {
	margin-left: 20px;
}

.node--type-event .field--name-field-date {}

.node--type-event .field--name-field-end-date {}

.node--type-event .field--name-field-dates {
	display: none
}

.node--type-event .field__label {
	color: #187ec0
}

#header .header-nav-main {
	margin: 0
}

#header,
#header .header-body {
	min-height: initial !important;
}

/*navigation tweaks */

.region-primary-menu {
	display: none;
}

@media (min-width: 992px) {
	/* needed so that menu doesn't jump when dropdown opens */
	#header .header-nav-main nav>ul>li.dropdown.open>a,
    #header .header-nav-main nav>ul>li.dropdown:hover>a {
            padding-bottom: 13px;
    }
	/* adjusting line-height to make spacing more even */
	 #header .header-nav-main-effect-1 nav  ul.menu-level-1 li a,
	 #header .header-nav-main-effect-1 nav  ul.menu-level-2 li a {
		line-height: 1.43;
	}
	/* adding border between 3rd-level menu items */
    #header .header-nav-main-effect-1 nav  ul.menu-level-2 li {
	  border-top: 1px solid #f4f4f4;
    }
	 #header .header-nav-main-effect-1 nav  ul.menu-level-2 li a {
    /* even out spacing on 3rd-level menus */
    display: block;
		 padding: 0px 0px
   }
   #header .header-nav-main-effect-1 nav > ul > li.dropdown .dropdown-menu li a:hover,
   #header .header-nav-main-effect-1 nav > ul > li.dropdown .dropdown-mega-sub-nav li a:hover {
    /* even out spacing on 3rd-level menus */
    text-decoration: none;
    background-color: #f5f5f5
   }
}

#header .header-nav-main nav ul.menu {
	margin: 0;
	padding: 0
}

.dropdown-menu>.active>a,
.dropdown-menu>.active>a:focus,
.dropdown-menu>.active>a:hover {
	background: #fff
}

.page-banner {
	background-repeat: no-repeat;
	background-size: cover;
	height: 150px;
	background-color: #133255;
}

.page-banner-text {
	position: absolute;
	color: #fff;
	z-index: 99;
	right: 50px;
	top: 50%;
	transform: translateY(-50%);
	padding-left: 15px;
}

.page-header h1 {
	display: none;
}

.page-header .page-banner-text h1 {
	border-bottom: none;
	display: block;
	font-size: 32px;
	font-weight: 500;
   line-height: 1.2;
	margin: 0;
	padding: 0;
}


/* Black Opaque Banner Overlay for Page Banne Image*/

.views-row.text-bottom {
	position: relative;
}
.views-row.text-bottom .page-banner-text {
 position: absolute;

  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5);
  color: #f1f1f1;
  width: 100%;
 /*Hiding the padding for now oer a request*/
  padding: 8px 12px;
  left: 0px;
  top: auto;
  bottom: 0px;
  height: auto;
  margin-bottom: 0px;
  transform: translateY(0);

}

.views-row.text-bottom .page-banner-text h1 {
	text-align: right;
	font-size: 40px;
	color: #fff;
}
.views-row.line-bottom {
	border-bottom: 1px solid #2c2b2b;
}
@media screen and (max-width: 667px) {
   .views-row.text-bottom .page-banner-text h1 {
	text-align: right;
	font-size: 30px;
   }
}

@media (min-width:768px) {
	.page-banner {
		height: 380px;
	}
	body:not(.path-frontpage) .views-row.short-banner-interior div.page-banner,
	.views-row.short-banner div.page-banner {
       height: 190px;
	}
	/* hiding this for now - Melody*/
	/*.page-banner-text {
		right: 125px;
	}*/
	.page-header .page-banner-text h1 {
		font-size: 52px;
	}

}

/* shrinking the header space by adding min-height & margin - Melody*/
.page-header {
	background-color: #fff;
	border-bottom: 0 solid #fff;
	border-top: 0 solid #fff;
	padding: 0;
	min-height: 5px;
	margin: 0 0 35 0;
}

.page-header>.container {
	width: 100%;
	padding: 0;
}

.page-header img {
	width: 100%;
	height: auto;
}

#header .header-nav-main nav>ul>li>a:hover,
#header .header-nav-main nav>ul>li>span {
	text-decoration: none;
}

@media (min-width: 992px) {
	#header .header-nav-main nav>ul>li>a,
	#header .header-nav-main nav>ul>li>span {
		display: block;
		padding: 13px 13px;
	}
	#header .header-nav-bar {
		padding: 0;
	}
	#header .header-nav-main {
		min-height: 0;
	}
}

@media (min-width: 992px) {
	#header .header-nav-main nav>ul>li>span {
		border-radius: 4px;
		font-size: 12px;
		font-style: normal;
		font-weight: 700;
		line-height: 20px;
		padding: 10px 13px;
		text-transform: uppercase;
	}
}

@media (min-width: 992px) {
	#header .header-nav-main nav>ul>li>span {
		font-size: 17px;
		font-weight: 600;
		color: #fff;
		border-radius: 0px;
		-moz-border-radius: 0px;
		-ms-border-radius: 0px;
		-webkit-border-radius: 0px;
		-o-border-radius: 0px;
	}
}

@media (min-width: 992px) {
	#header .header-nav-main nav>ul>li>a,
	#header .header-nav-main nav>ul>li>span {
		display: block;
		padding: 13px 13px;
	}
}

@media (min-width: 992px) {
	#header .header-nav-main nav>ul>li>span {
		font-size: 17px;
		font-weight: 600;
		color: #fff;
		border-radius: 0px;
		-moz-border-radius: 0px;
		-ms-border-radius: 0px;
		-webkit-border-radius: 0px;
		-o-border-radius: 0px;
	}
}

#header {
	z-index: 101;
}
#header .header-search {
	padding: 0;
	position: fixed;
	margin: 0;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.8);
	z-index: 200;
	display: none;
}

#header .header-search .region.region-search {
	width: 450px;
	max-width: 100%;
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	margin: 0 auto;

}

#header .header-search .region.region-search .form-item label {
	display: none;
}

#header .header-search .region.region-search .form-item {
	float: none;
	margin: 0;
	width: 81%;
}

#header .header-search .region.region-search .form-actions {
	padding: 0;
	margin: 0;
}

#header .header-search .region.region-search input[type="submit"] {
	/*position: absolute;
	top: 0;
	right: 0;*/
	position: relative;
}

body input {
	border-radius: 0 !important;
	-moz-border-radius: 0 !important;
	-ms-border-radius: 0 !important;
	-webkit-border-radius: 0 !important;
	-o-border-radius: 0 !important;
}

body button[type="submit"],
body input[type="submit"] {
	background: #3f8bc8;
	color: #fff;
	text-transform: uppercase;
	border-radius: 0;
	padding: 7px 15px;
	border-width: 0px;
}

body button[type="submit"]:hover,
body input[type="submit"]:hover,
.header-nav-top ul.menu > li > a:hover {
	background: #009fcc;
	color: #fff;
	text-decoration: none;
}

.header-nav-top ul.menu > li > a {
	background: #3f8bc8;
	color: #fff;
	text-transform: uppercase;
	padding: 9px 17px;
}

#block-sociallinkssearch {
	float: right;
}

#block-sociallinkssearch ul {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
	top: -5px;
}

#block-sociallinkssearch ul li {
	display: inline-block;
	margin: 2px 6px;
}

#block-sociallinkssearch ul li a {
	opacity: 0.6;
	-moz-opacity: 0.6;
	-ms-opacity: 0.6;
	-webkit-opacity: 0.6;
	-o-opacity: 0.6;
}

#block-sociallinkssearch ul li a:hover {
	opacity: 1;
	-moz-opacity: 1;
	-ms-opacity: 1;
	-webkit-opacity: 1;
	-o-opacity: 1;
}

.header-nav-top ul.menu>li>a {
	font-size: 11px;
}

#block-sociallinkssearch img {
	width: 19px;
	height: auto;
}

@media (min-width:768px) {
	.header-nav-top ul.menu>li>a {
		font-size: 16px;
	}
	#block-sociallinkssearch img {
		width: auto;
	}
}

.form-email,
.form-text {
	height: 36px;
}
.region-nav-top #block-useraccountmenu,
.region-nav-top #block-porto-sub-account-menu {
	float: right;
}

#footer p {
	margin: 0;
	padding: 0;
}

#footer {
	background: #187ec0;
	border-top: 4px solid #187ec0;
	font-size: 0.9em;
	margin-top: 50px;
	padding: 70px 0 0;
	position: relative;
	clear: both;

}

#footer.short {
	padding-top: 45px;
}

#footer.short .footer-copyright {
	background: #0e6fae;
	padding: 20px 0;
}

#footer.short .footer-copyright:after {
	content: "";
	display: block;
	height: 0;
	line-height: 0;
	clear: both;
}

#footer.short .footer-copyright>.container>.row>.region {
	padding: 0 15px;
}

#footer *,
#footer .footer-copyright *,
#footer .footer-copyright p {
	color: #fff;
}

.footer-lower {
	border-top: 2px solid #62a7d4;
	padding-top: 20px;
	padding-bottom: 30px;
}

#footer .footer-copyright p {
	font-size: 14px;
	float: left;
	line-height: 14px;
}

#footer .footer-copyright ul {
	margin: 0;
	padding: 0;
	list-style: none;
	float: right;
}

#footer .footer-copyright ul li {
	float: left;
	padding-left: 15px;
	padding-right: 15px;
	border-right: 1px solid #fff;
	line-height: 14px;
}

#footer .footer-copyright ul li a {
	font-size: 14px;
	line-height: 14px;
}

#footer .footer-copyright ul li:last-child {
	border-right: none;
	padding-right: 0;
}

#footer .region-footer-11 img {
	max-width: 220px;
}

@media (min-width: 992px) {
	#header .header-nav-bar .header-nav-main {
		float: right;
	}
}

@media (min-width: 992px) {
	#header .header-nav-bar {
		background: #2c2b2b;
	}
	#header .header-nav-main nav>ul>li>a {
		font-size: 17px;
		font-weight: 600;
		color: #fff;
		border-radius: 0px;
		-moz-border-radius: 0px;
		-ms-border-radius: 0px;
		-webkit-border-radius: 0px;
		-o-border-radius: 0px;
	}
	#header .header-nav-main nav>ul>li.active>a,
	#header .header-nav-main nav>ul>li>a:hover,
	#header .header-nav-main nav>ul>li:hover>a,
	#header .header-nav-main nav>ul>li.active>span,
	#header .header-nav-main nav>ul>li>span:hover,
	#header .header-nav-main nav>ul>li:hover>span {
		background: #3f8bc8 !important;
		background-color: #3f8bc8 !important;
	}
	#header .header-nav-main nav>ul>li.active>span,
	#header .header-nav-main nav>ul>li>span:hover,
	#header .header-nav-main nav>ul>li:hover>span {
		cursor: default
	}
}

@media (min-width: 992px) {
	ul.nav>li.dropdown>a:after,
	ul.nav>li.dropdown>span:after {
		border-color: #CCC transparent transparent transparent;
		border-style: solid;
		border-width: 4px;
		content: " ";
		float: right;
		margin-top: 7px;
		margin-left: 4px;
	}
	#header .header-nav-main nav>ul>li.dropdown>a:after,
	#header .header-nav-main nav>ul>li.dropdown>span:after {
		border-color: #0088cc transparent transparent transparent;
	}
	#header .header-nav-main nav>ul>li.dropdown>a:after,
	#header .header-nav-main nav>ul>li.dropdown>span:after {
		border-color: #0088cc transparent transparent transparent;
	}
}

#header .header-nav-main nav>ul>li.dropdown.active>span:after,
#header .header-nav-main nav>ul>li.dropdown:hover>span:after {
	border-color: #ffffff transparent transparent transparent
}

.nav>li>span {
	position: relative;
	display: block;
	padding: 10px 15px;
}

.nav-pills>li>span {
	border-radius: 4px;
}
/*
@media (max-width: 991px) {
	#header .header-nav-main nav>ul li span {
		font-size: 13px;
		font-style: normal;
		line-height: 20px;
		padding: 7px 8px;
		margin: 1px 0;
		border-radius: 4px;
		color: #0088cc;
	}
	#header .header-nav-main nav>ul>li>span {
		text-transform: uppercase;
		font-weight: 700;
		margin-top: 1px;
		margin-bottom: 1px;
	}
	#header .header-nav-main nav>ul>li>span,
	#header .header-nav-main nav>ul>li>span:focus,
	#header .header-nav-main nav>ul>li>span:hover {
		color: #0088cc;
	}
	#header .header-nav-main nav>ul>li>span,
	#header .header-nav-main nav>ul>li>span:focus,
	#header .header-nav-main nav>ul>li>span:hover {
		color: #0088cc;
	}
	#header .header-nav-main nav>ul>li.active>span,
	#header .header-nav-main nav>ul>li.active>span:focus,
	#header .header-nav-main nav>ul>li.active>span:hover {
		color: #FFF;
	}
	#header .header-nav-main nav>ul>li.active>span,
	#header .header-nav-main nav>ul>li.active>a:focus,
	#header .header-nav-main nav>ul>li.active>span:hover {
		background-color: #0088cc;
	}

	#header .header-nav-main nav > ul li a .fa-caret-down,
	#header .header-nav-main nav > ul li span .fa-caret-down {
		line-height: 35px;
		min-height: 38px;
		min-width: 30px;
		position: absolute;
		right: 5px;
		text-align: center;
		top: 0;
		font-size: 1rem;
	}
}*/

@media (min-width: 992px) {
	#header .header-nav-main nav>ul>li>span .fa-caret-down {
		display: none;
	}
}
/* language switcher */

div[id^='block-languageswitcher'] {
	float: left;
	position: relative;
	top: -10px;
	margin-right: 18px;
}
div[id^='block-languageswitcher'] ul.links {
	display: flex;
	padding: 5px;
    font-family: Muli, sans-serif;
    font-weight: bold;
    text-align: center;
    border: 2px solid #3f8bc8;
    border-radius: 10px;
    justify-content: center;

}
div[id^='block-languageswitcher'] ul.links li {
   width: 36px;
   text-transform: uppercase;
   padding: 4px 4px;

   background-color: #3f8bc8;
   color: white;
   overflow: hidden;
   border-radius: 5px;
   line-height: 25px;


   display: flex;
   align-items: center;
   justify-content: center;


}
div[id^='block-languageswitcher'] ul.links li:not(.is-active) {
	background-color: white;

}
div[id^='block-languageswitcher'] ul.links li:not(.is-active) a {
	color: #3f8bc8;
}
div[id^='block-languageswitcher'] ul.links li:not(.is-active) a:hover {
	opacity: 0.8;
	text-decoration: none;
}
div[id^='block-languageswitcher'] ul.links li a {
   display: inline-block;
   width: 25px;
   overflow: hidden;
   white-space: nowrap;
   text-align: center;
}
div[id^='block-languageswitcher'] ul.links li.is-active a {
   color: white;
   pointer-events: none;
}
div[id^='block-languageswitcher'] ul.links li[hreflang="it"] {
   width: 36px;
}
div[id^='block-languageswitcher'] ul.links li[hreflang="it"] a {
   width: 16px;
}


div[id^='block-languageswitcher'] button.trigger {
	position: absolute;
	top: -10px;
}

/* melody's changes from the week of 12/4 */


#footer.short .footer-copyright:after {
	content: "";
	display: block;
	height: 0;
	line-height: 0;
	clear: both;
}

#footer.short .footer-copyright>.container>.row>.region {
	padding: 0 15px;
}

#footer *,
#footer .footer-copyright *,
#footer .footer-copyright p {
	color: #fff;
}

.footer-lower {
	border-top: 2px solid #62a7d4;
	padding-top: 20px;
	padding-bottom: 30px;
}

#footer .footer-copyright p {
	font-size: 14px;
	float: left;
	line-height: 14px;
}

#footer .footer-copyright ul {
	margin: 0;
	padding: 0;
	list-style: none;
	float: right;
}

#footer .footer-copyright ul li {
	float: left;
	padding-left: 15px;
	padding-right: 15px;
	border-right: 1px solid #fff;
	line-height: 14px;
}

#footer .footer-copyright ul li a {
	font-size: 14px;
	line-height: 14px;
}

#footer .footer-copyright ul li:last-child {
	border-right: none;
	padding-right: 0;
}

#footer .region-footer-11 img {
	max-width: 220px;
}

@media (min-width: 992px) {
	#header .header-nav-bar .header-nav-main {
		float: right;
	}
}

@media (min-width: 992px) {
	#header .header-nav-bar {
		background: #2c2b2b;
	}

	#header .header-nav-main nav>ul>li>a {
		font-size: 17px;
		font-weight: 600;
		color: #fff;
		border-radius: 0px;
		-moz-border-radius: 0px;
		-ms-border-radius: 0px;
		-webkit-border-radius: 0px;
		-o-border-radius: 0px;
	}
	#header .header-nav-main nav>ul>li.active>a,
	#header .header-nav-main nav>ul>li>a:hover,
	#header .header-nav-main nav>ul>li:hover>a,
	#header .header-nav-main nav>ul>li.active>span,
	#header .header-nav-main nav>ul>li>span:hover,
	#header .header-nav-main nav>ul>li:hover>span {
		background: #3f8bc8 !important;
		background-color: #3f8bc8 !important;
	}
	#header .header-nav-main nav>ul>li.active>span,
	#header .header-nav-main nav>ul>li>span:hover,
	#header .header-nav-main nav>ul>li:hover>span {
		cursor: default
	}
}

@media (min-width: 992px) {
	ul.nav>li.dropdown>a:after,
	ul.nav>li.dropdown>span:after {
		border-color: #CCC transparent transparent transparent;
		border-style: solid;
		border-width: 4px;
		content: " ";
		float: right;
		margin-left: 0.4rem;
        margin-top: 0.5rem;
	}
	#header .header-nav-main nav>ul>li.dropdown>a:after,
	#header .header-nav-main nav>ul>li.dropdown>span:after {
		border-color: #0088cc transparent transparent transparent;
	}
	#header .header-nav-main nav>ul>li.dropdown>a:after,
	#header .header-nav-main nav>ul>li.dropdown>span:after {
		border-color: #0088cc transparent transparent transparent;
	}
}

#header .header-nav-main nav>ul>li.dropdown.active>span:after,
#header .header-nav-main nav>ul>li.dropdown:hover>span:after {
	border-color: #ffffff transparent transparent transparent
}

.nav>li>span {
	position: relative;
	display: block;
	padding: 10px 15px;
}

.nav-pills>li>span {
	border-radius: 4px;
}

@media (max-width: 991px) {
	#header .header-nav-main nav > ul li  {
		user-select: none;

	
	}
	/* hide caret on dropdowns since we'll just show them */
	#header .header-nav-main nav ul.menu-level-1 li a .fa-caret-down {
		display: none;
	}
	/* styling for 3rd level menus (aka sub-sub-menus) */
	#header .header-nav-main nav ul.menu-level-2 li {
		padding: 7px 0px;
	}
	#header .header-nav-main nav  ul.menu-level-2 li a {
		margin-left: 16px;
	}
	#header .header-nav-main nav>ul li span {
		font-size: 13px;
		font-style: normal;
		line-height: 20px;
		padding: 7px 8px;
		margin: 1px 0;
		border-radius: 4px;
		/* for submenu links */
		color: #0088cc;
	}
	#header .header-nav-main nav>ul>li>span {
		text-transform: uppercase;
		font-weight: 700;
		margin-top: 1px;
		margin-bottom: 1px;
	}
	#header .header-nav-main nav>ul>li>span,
	#header .header-nav-main nav>ul>li>span:focus,
	#header .header-nav-main nav>ul>li>span:hover {
		color: #0088cc;
	}
	#header .header-nav-main nav>ul>li>span,
	#header .header-nav-main nav>ul>li>span:focus,
	#header .header-nav-main nav>ul>li>span:hover {
		color: #0088cc;
	}
	#header .header-nav-main nav>ul>li.active>span,
	#header .header-nav-main nav>ul>li.active>span:focus,
	#header .header-nav-main nav>ul>li.active>span:hover {
		color: #FFF;
	}
	#header .header-nav-main nav>ul>li.active>span,
	#header .header-nav-main nav>ul>li.active>a:focus,
	#header .header-nav-main nav>ul>li.active>span:hover {
		background-color: #0088cc;
	}
    #header .header-nav-main nav > ul li a .fa-caret-down,
	#header .header-nav-main nav > ul li span .fa-caret-down {
		line-height: 35px;
		min-height: 38px;
		min-width: 30px;
		position: absolute;
		right: 5px;
		text-align: center;
		top: 0;
		font-size: 1rem;
	}
	.header-container.header-nav-bar .container {
		margin-left: 0px;
		margin-right: 0px;
		width: 100%;
	}
	#header .header-container.header-nav-bar .header-nav-main {
		margin-left: -15px;
		margin-right: -15px;
	}
	div.header-container.container {
		width: 100%;
		margin-left: 0px;
		margin-right: 0px;
	}
	#header .header-nav-main nav > ul li ul li:first-child {
		border-top: 1px solid #e8e8e8;
	}
	#header .header-nav-main nav > ul li ul li a {
		color: #0088cc;
	}
}

@media (min-width: 992px) {
	#header .header-nav-main nav>ul>li>span .fa-caret-down {
		display: none;
	}
}
@media (max-width:991px) {
  ul.menu li.dropdown i.fa-caret-down {
	cursor: pointer;
  }
  ul.menu li.dropdown i.fa-caret-down.upside-down {
	transform: rotate(-180deg) translateY(6px);
  }
}
@media (max-width: 767px) {
  .header-search.hidden-xs.show {
    display: block !important;
  }

}
 .views-row.italy-video .page-banner {
	background-image: url("http://dev.amgenbiotechexperience.net/it/sites/amgenbiotechexperience.net.it/files/2019-12/elica_0.svg"), url("http://dev.amgenbiotechexperience.net/it/sites/amgenbiotechexperience.net.it/files/2019-12/background.svg"), none !important;
    background-color: rgb(24, 126, 192);
    background-position: right -20px top -20px, left 0px top 0px;
    background-repeat: no-repeat, repeat;
    background-attachment: scroll, scroll, scroll;
    background-size: auto 520px, auto 100%;
    background-origin: padding-box, padding-box, padding-box;
    background-clip: border-box, border-box, border-box;
 }
/* giorgio's search results and menu css */

.header-no-border-bottom {
	z-index: 200;
}
.search-row {
	margin-bottom: 50px;
}
.search-row>div, .search-row>article
{
        margin-bottom: 1em !important;
        padding-bottom: 1em !important;
        border-bottom: 1px solid #c0c0c0;
}

.search-row img,
.search-row video,
.search-row div.clearfix h1,
.search-row div.clearfix h2,
.search-row .layout--twocol {
        display: none;
}



.search-row div.clearfix
{
     max-height: 10em;
     overflow: hidden;
}


.search-row .field--name-field-news-title
{
        font-size: 34px;
        font-weight: lighter;
        line-height: normal;
}
article.align-right {
	margin-left: 20px;
}
/* ireland resources, singapore events, probably others */
@media screen and (max-width:1001px) {
	.layout--twocol .col-md-6 {
	  width: 100%;
      max-width: 640px;
      margin: 0px auto;
    }
    article.align-right {
    	float: none;
    	margin-left: 0px;
    }
    img.image-style-large {
    	display: block;
    	margin: 0px auto 10px auto;
    }
}
/* video buttons */
.layout--twocol .col-md-6 .field--name-field-button-text-link {
   margin: 10px auto;
}

div#block-porto-sub-content .layout__region:nth-child(2n) .padding p[data-type="video"] {
  margin-left: -20px;
  margin-right: -18px;
}
div#block-porto-sub-content .layout__region:nth-child(2n+1) .padding p[data-type="video"] {
  margin-left: -18px;
  margin-right: -20px;
}
/* single column view */
@media screen and (max-width:639px) {
  div#block-porto-sub-content .layout__region:nth-child(2n) .padding p[data-type="video"] {
    margin-right: -20px;
    margin-bottom: -18px;
  }
  div#block-porto-sub-content .layout__region:nth-child(2n+1) .padding p[data-type="video"] {
    margin-left: -20px;
    margin-bottom: -18px;
  }
}
div#block-porto-sub-content .layout__region .padding p[data-type="video"] {
	position: relative;
    padding: 0% 0% 56.25% 0%;
    margin-bottom: -20px;
    margin-top: -20px;
}
.layout--twocol-bricks iframe {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	display: block;

}
/*  contact page */

.contact-address {
	padding: 0px;
	margin-bottom: 20px;
	border-radius: 2px;
	text-align: center;
}
.contact-address h6 {
	margin-top: 16px;
	font-weight: bold;
	color: black;
	margin-bottom: 4px;
	line-height: 22px;
}
.contact-address p.position {
	margin-bottom: 0px;
}
.footnote {
	margin-top: 30px;
}
div.image-container {
	text-align: center;
}
img.image-border {
	border: 1px solid #000000;
}
.contact-address img {
	width: 100%;
	max-width: 240px;
	margin-top: 24px;
}

div#block-views-block-meet-our-team-block-1 h2 {
	font-weight: bold;
}
div.meet-our-team p.name {
	font-weight: bold;
	text-align: center;
	margin-top: 5px;
}

/* australia team grid */
@media screen and (min-width: 601px) {
  div.meet-our-team span.field-content,
  div.team-grid {
	 display: grid;
	 grid-template-columns: 20% 80%;
	 grid-column-gap: 20px;
	 grid-row-gap: 20px
    }
    div.meet-our-team span.field-content h2,
    div.meet-our-team span.field-content h3,
    div.meet-our-team span.field-content h4,
	div.team-grid h2,
    div.team-grid h3,
    div.team-grid h4 {
	  grid-column: 1 / 3;
    }
    div.pic-name img {
	   width: 100%;
    }
}
div.pic-name {
	text-align: center;
}
@media screen and (max-width:600px) {
	div.meet-our-team span.field-content h2,
	div.meet-our-team span.field-content h4,
	div.team-grid h2,
	div.team-grid h4 {
		text-align: center;
	}
}
/* singapore news */
.news-item h2 {
	font-size: 24px;
    line-height: 30px;
    padding: 0px;
    margin: 16px 0px;
}

/* singapore faq accordion */

.ui-accordion .ui-state-active,
html .ui-accordion  a.btn.btn-primary[data-toggle="collapse"] {
	background-color: #0874bb;
	border: 1px solid #0874bb;
}
html .ui-accordion  a.btn.btn-primary[data-toggle="collapse"] {
	width: 100%;
	text-align: left;
}
html .ui-accordion  a.btn.btn-primary.collapsed[data-toggle="collapse"] {
	border: 1px solid #c5c5c5;
    background: #f6f6f6;
    color: #454545;
}
.ui-accordion .collapse div.card-body {
   margin-bottom: 16px;
   transition: 0.1s linear;
}

/* 3 column grid */


div.resources-grid3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 20px;
}
div.resource-grid3-item article {
	margin-bottom: 10px;
}
@media screen and (min-width: 668px) and (max-width:990px) {
	div.resources-grid3 h4 {
		min-height: 52px;
        display: flex;
        align-content: center;
	}
}
@media screen and (max-width: 800px) {
	div.resources-grid3 {
		grid-template-columns: 1fr;
		grid-column-gap: 0px;
		grid-row-gap: 20px;
	}
	div.partners-grid3 h2 {
		text-align: center;
	}
	div.partners-grid3 img {
		display: block;
		margin: 0px auto;
	}
}



/* ireland resource grid */

div.partners-grid,
div.resources-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}
div.resource-grid3-item a,
div.resource-grid-item article {
	margin-bottom: 10px;
}
@media screen and (min-width: 668px) and (max-width:990px) {
	div.resources-grid h4 {
		min-height: 52px;
        display: flex;
        align-items: center;
	}
}
@media screen and (max-width: 667px) {
	div.partners-grid,
	div.resources-grid {
		grid-template-columns: 1fr;
		grid-column-gap: 0px;
		grid-row-gap: 20px;
	}
	div.partners-grid h2 {
		text-align: center;
	}
	div.partners-grid img {
		display: block;
		margin: 0px auto;
	}
}
.partners-grid-item h2 {
	margin-bottom: 10px;
}
#block-twitterfeed {
	max-width: 400px;
	margin: 0px auto;
	padding: 16px;
}
ol.no-indent,
ul.no-indent {
  padding-left: 20px;
}

ol.double-spaced li,
ul.double-spaced li {
	margin-bottom: 12px;
}
p.new-section {
	margin-top: 20px;
}
@media screen and (max-width:768px) {
	.instagram_gallery {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		margin: 0px auto;
		width: 95%;
		grid-gap: 4px;
	}
	.instagram_gallery a img {
		width: 100% !important;
	}
}
@media screen and (max-width:580px) {
	.instagram_gallery {
		grid-template-columns: 1fr 1fr;
	}
}
@media screen and (max-width:440px) {
	.instagram_gallery {
       grid-template-columns: 1fr;
	}
}
/* italy styles */
.boxHeader
{
    width: 100%;
}
.box
{
    border: 1px solid #3f8bc8;
}
.box p, .box h4
{
    margin-left: 1rem;
    margin-right: 1rem;
}
.box h4
{
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}
.box .labXchangeLogo
{
    display: block;
    float: right;
    margin: 1rem;
    width: 30%;
}
#hub-lists {
	margin: 30px auto;
    max-width: 620px;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
}
#hub-lists .list:first-child {
    margin-right: 120px;
}
#hub-list .list {
	margin-bottom: 40px;
}

#hub-lists .list ul {
	padding-left: 0px;
	margin-left: 0px;
	list-style-type: none;
}




/* Adjusting the dropdown width in the main menu - This is a global change.  */

@media (min-width: 992px) {
  #header .header-nav-main nav > ul > li.dropdown .dropdown-menu {
    min-width: unset;
    width: auto !important;
    max-width: 500px; /* adjust as needed */
    white-space: nowrap;
  }

  #header .header-nav-main nav > ul > li.dropdown .dropdown-menu > li > a {
    white-space: nowrap;
  }
}

/* Add a dash before indented dropdown items */
@media (min-width: 992px) {
  #header .header-nav-main nav ul.menu .menu-level-2 > li > a::before {
    content: "- ";
    display: inline-block;
    margin-right: 4px;
    color: inherit; /* Optional: match the text color */
  }
#header .header-nav-main nav ul.menu .menu-level-2 > li > a::hover {
    background-color: #F4F4F4;
	text-decoration: none;
  }
  
  /* Hide the caret icon for dropdowns on larger screens */
  #header .header-nav-main nav ul li.dropdown .fa-caret-down {
    display: none;
  }
}




