/*!//################################################################################
// Custom css Charlie Edition
//################################################################################


*/


.gparent {
  overflow: scroll;
  height: 30em;
  border: solid black;
}
#act nav {
  white-space: nowrap;
  background: #37474F;
}
#act .sticky-nav {
  position: sticky;
  position: -webkit-sticky;
  top: 0em;
  border: solid yellow;
}
#act nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#act nav ul {
  position: sticky;
  top:0;
}

#act nav ul li a {
  display: block;
  padding: 0.5rem 1rem;
  color: white;
  text-decoration: none;
}

#act nav ul li a.current {
  background: black;
}

/* 
#act main {
  padding-bottom: 40rem;
}

#act section {
  padding: 2rem;
  margin: 0 0 2rem 0;
} */
#activities .col-xs-3 {
  padding: 0;
}
#activities .col-xs-9 {
  padding: 0 0 0 0.2em;
}
#activities.row {
  padding: 0 !important;
}
#activities .tab-content {
  overflow-y: auto;
  height: 100%;
  border: solid #ddd;
  padding: 1em;
  background: ghostwhite;
}

#activities.row {
  height: 45.8em;
}
.tabs-left, .tabs-right {
  border-bottom: none;
  padding-top: 2px;
}
.tabs-left {
  border: 0.2em solid #ddd;
  padding: 0.4em 0 0 0.4em;
  border-radius: 4px 0 0 0;
  position: -webkit-sticky;
  position: sticky;
  top: 0px;
}
.tabs-right {
  border-left: 1px solid #ddd;
}
.tabs-left>li, .tabs-right>li {
  float: none;
  margin-bottom: 2px;
}
.tabs-left>li {
  margin-right: -1px;
}
.tabs-right>li {
  margin-left: -1px;
}
.tabs-left>li.active>a,
.tabs-left>li.active>a:hover,
.tabs-left>li.active>a:focus {
  border-bottom-color: #ddd;
  border-right-color: transparent;
  
}

.tabs-right>li.active>a,
.tabs-right>li.active>a:hover,
.tabs-right>li.active>a:focus {
  border-bottom: 1px solid #ddd;
  border-left-color: transparent;
}
.tabs-left>li>a {
  border-radius: 4px 0 0 4px;
  margin-right: 0;
  display:block;
  background-color: #f4f0e0;
}
.tabs-right>li>a {
  border-radius: 0 4px 4px 0;
  margin-right: 0;
}
.vertical-text {
  margin-top:50px;
  border: none;
  position: relative;
}
.vertical-text>li {
  height: 20px;
  width: 120px;
  margin-bottom: 100px;
}
.vertical-text>li>a {
  border-bottom: 1px solid #ddd;
  border-right-color: transparent;
  text-align: center;
  border-radius: 4px 4px 0px 0px;
}
.vertical-text>li.active>a,
.vertical-text>li.active>a:hover,
.vertical-text>li.active>a:focus {
  border-bottom-color: transparent;
  border-right-color: #ddd;
  border-left-color: #ddd;
}
.vertical-text.tabs-left {
  left: -50px;
}
.vertical-text.tabs-right {
  right: -50px;
}
.vertical-text.tabs-right>li {
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
}
.vertical-text.tabs-left>li {
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  transform: rotate(-90deg);
}
//cop26 styles

/* Create two equal columns that floats next to each other */
.cop-col {
  float: left;
  width: 50%;
  padding: 10px;
  height: 300px; /* Should be removed. Only for demonstration */
}

/* Clear floats after the columns */
.cop-row:after {
  content: "";
  display: table;
  clear: both;
}


////////////////////
table#gef_logos {
  width: 100%;

}

.node__content {
  padding: 0;
}
#SM-button > p > button {
  background-color: #0375B4;
  border-radius: 2px;
  border: 2px solid #5be0e0;
  margin: 0.2em;
  color: white;
}

#SM-button > p > button:hover {
  background-color: #5be0e0; /* Green */
  color: white;
}

#SM-button > p > button:focus {
  background-color: #5be0e0;
}
.SM-tab .nav-tabs > li.active > a {
  background-color: #5be0e0 !important;
}

.SM-tab .nav-tabs > li > a  {
  border: 1px solid lightgray;
}

.SM-container {
  position: relative;
}

.flags img{display:inline-block; margin: 0.3em; }

.flags {
  text-align: justify;
}

.sm-centered {
  position: absolute;
  background-color: rgba(25, 25, 25, 0.5);
  width: 100%;
  color: white;
}
.sm-centered > p {
  color: white;
  margin: 0.6rem;
  line-height: 0.6;
}

@media only screen and (max-width: 815px) {
  .sm-centered {
    display: none;
  }
  .nav-tabs > li {
    width: 100%;
  }

  h2 {
    font-size: 1.1em;
  }

  #banner .page-title {
    font-size: 1.5em;
  }
  h4 {
    font-size: 1em;
  }
}

.ckeditor-accordion-container > dl dt > a {
  background-color: #0375B4;
}
table#gef_logos td {
  font-weight: bold;
  width: 33%;
  text-align: center;
  vertical-align: middle;
}

table#gef_logos tr td, table#gef_logos tr {
  border: none;
}

//#gef_logos td img {
//  width: 140px;
//  height: 72px;
//}


.carousel slide {
  width: 100%;
}

.carousel-inner .item img {
  width: 100%;
  height: 500px
}

//PCCC Page
table#pccct1 {
  width: 100%;
}

table#pccct1 td {
  width: 33%;
}

table#pccct1 td img {
  background-color: #cfd3d4;

  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 5px;

  width: 120px;
  height: 170px;

  transition: transform .4s, filter .1s ease-in-out;
}

table#pccct1 td img:hover {
  transform: scale(1.1);
  background-color: lightblue;
}


.pccct2 {
  width: 100%;
}

.pccct2 td {
  width: 33%;
}

.pccct2 td img {
  width: 100%;
  height: 190px;
  padding: 4px;
  //transition: transform .4s, filter .1s ease-in-out;
}

table#pccct1 td img:hover {
  transform: scale(1.1);
  background-color: lightblue;
}


//29 SPREP Meeting
.SM29T1 {
  width: 100%;
}

.SM29T1 tr:first-child td {
  color: white;
  background-color: grey;

  border-radius: 5px;

  font-weight: bold;
  text-align: center;
  vertical-align: middle;
}

.SM29T1 td:nth-child(1) {
  width: 20%;
  text-align: right;
  font-weight: bold;
}

.SM29T1 td:nth-child(2) {
  text-align: center;
  font-weight: bold;
}


//################################################################################
//################################################################################

// Custom css by Billy Chan-Ting
section {
  display: block;
}
section.in-focus .inner {
   max-width: 980px;
   margin: 0 auto;
   z-index: 3;
   //padding-top: 50px;
   padding-bottom: 50px;
   text-align: center;
   position: relative;
}
section.in-focus ul {
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
}
section.in-focus ul li {
  display: inline-block;
  width: 235px;
}
section.in-focus .inner img {
  width: 180px;
  -webkit-transition: -webkit-transform .6s ease-in-out;
          transition:         transform .6s ease-in-out;
}
section.in-focus .inner img.focus_image:hover {
  box-shadow .25s ease,transform .25s ease
  //transform: scale(1.4);
}
section.in-focus .inner .focus a {
  color:white;
  font-weight: 100;
}
section.in-focus .inner .focus a:link {
  color:white;
}
section.in-focus .inner .focus a:visited{
  color:white;
}
section.in-focus .inner .focus a:active{
  color:white;
}
section.in-focus .inner .focus a:hover{
  color:white;
}

.team-member img {
  width: 100%;
  height: auto;
}
.team-member .team-country img {
  width: 32px;
}
.team-member .team-title {
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 600;
  color: #2e5797;
  line-height: 28px;
}
.team-member .team-position {
  margin-bottom: 20px;
  font-style: italic;
  font-size: 12px;
}
.team-member .description {
  margin-bottom: 5px;
}
.team-member .team {
  font-size:12px;
  color: #fff;
}
.team-member .team-country {
  font-size:12px;
}
.team-member .readmore a {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  position: relative;
  background: none;
  color: #333;
  -webkit-transition: all 0.3s easa-out;
  -moz-transition: all 0.3s easa-out;
  -o-transition: all 0.3s easa-out;
  -ms-transition: all 0.3s easa-out;
  transition: all 0.3s easa-out;
}
.team-member .readmore a:hover {
  color: #5a5a5a;
}
.team-member .readmore a i {
  position: relative;
  top: 2px;
  margin-left: 9px;
  font-size: 20px;
}
.team-member .team-flip {
  position: relative;
  width: 100%;
  height: 300px;
  -webkit-perspective: 400px;
  -moz-perspective: 400px;
  -o-perspective: 400px;
  perspective: 400px;
}
.team-member.team-flip .inner {
  position: relative;
  width: 100%;
  height: 100%;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.team-member.team-flip .inner .front,
.team-member.team-flip .inner .back {
  background: #fff;
  border: 1px solid #f1eff0;
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -o-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: hidden;
  -webkit-transform: translateZ(0);
  -moz-transition: -moz-transition 700ms ease;
  -webkit-transition: -webkit-transition 700ms ease;
  -o-transition: -o-transition 700ms ease;
  transition: transform 700ms ease;
  -webkit-border-radius: 3px 3px 3px 3px;
  -moz-border-radius: 3px 3px 3px 3px;
  border-radius: 3px 3px 3px 3px;
}
.team-member.team-flip .inner .front {
  text-align: center;
  height: inherit;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  -webkit-transform: rotateX(0deg) rotateY(0deg);
  -moz-transform: rotateX(0deg) rotateY(0deg);
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}
.team-member.team-flip .inner .front img {
  padding: 3px;
}
.team-member.team-flip .inner .back {
  background: linear-gradient(145deg,#4772d9,#5be0e0); //#2e5797;
  color: #fff;
  padding: 20px;
  height: inherit;
  position: absolute;
  top: 0;
  -webkit-transform: rotateY(-180deg);
  -moz-transform: rotateY(-180deg);
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  width: 100%;
  height: 100%;
}
.team-member.team-flip .inner .back .team-title {
  color: #fff;
  margin-top: 0;
}
.team-member.team-flip .inner .back .inv-social-icon {
  font-size: 14px;
  color: #FFF;
  padding-right: 10px;
}
.team-member.team-flip .inner .back .inv-social-icon:hover {
  color: #fde428;
}
.team-member.team-flip .inner .back .readmore a {
  color: #FFF;
}
.team-member.team-flip .inner .back .readmore a:hover {
  color: #fde428;
}
.team-member.team-flip .inner:hover .front {
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
}
.team-member.team-flip .inner:hover .back {
  -webkit-transform: rotateX(0deg) rotateY(0deg);
  -moz-transform: rotateX(0deg) rotateY(0deg);
}
.inv-grid-item {
  width:272px;
}
article.team-member.team-flip {
  position: relative;
  width: 100%;
  height: 300px;
  -webkit-perspective: 400px;
  -moz-perspective: 400px;
  -o-perspective: 400px;
  perspective: 400px;
}
div.inv-grid-inner.shuffle {
  width: 900px;
}
div.inv-grid-item.shuffle-item.filtered {
}
div.field.field--name-name.field--type-string.field--label-hidden.field--item {
  visibility:hidden;
  display:none;
}
article.team-member.team-flip {
  height: 320px;
}

.team-heading {
  background-color:lightseagreen;
  padding: 15px;
  color: white;
}
.sub-team-heading {
  background-color:lightblue;
  padding: 15px;
  color: white;
}
.site-branding__logo img {
  width: 140px;
  height: 64px;
}
.not-front #header .site-branding__logo:before {
  background-size: 140px 64px;
}
.not-front .site-branding__logo:before {
  width: 140px;
  height: 64px;
}

.sidebar nav ul.menu li a:before {
  content:none;
  font-weight:300px;
  padding: 0 0px;

}
ul.menu.menu--events---vacancies---circul.nav {
  font-size: 12px;
  font-weight:300px;
  padding: 0 0px;
}

/* PIELA landing page */

.piela h2.sub-title {
  text-align: center;
}

.piela .node__title {
  display: none;
}

.piela-french, .piela-english {
  text-align: right;
}

.return-btn {
  padding-left: 15px;
}

.page-node-type-page .return-btn {
  padding-left: 0;
  margin-bottom: 0;
}

.return-btn .return-bto-piela {
  color: #dc6939;
  font-weight: 500;
  text-transform: uppercase;
  padding: 5px;
}

.return-btn .return-bto-piela:hover {
  color: black;
}

@media only screen and (max-width: 767px) {
  .return-btn, .piela-french, .piela-english {
    text-align: center;
  }

  .page-node-type-page .return-btn {
    padding-left: 15px;
  }
}

.piela-french .french-version, .piela-english .english-version {
  color: #dc6939;
  font-weight: 500;
  font-size: 1.2em;
  border: solid 3px #dc6939;
  text-transform: uppercase;
  padding: 5px;
}
.piela-french .french-version:hover, .piela-english .english-version:hover {
  background-color: #dc6939;
  color: #ffffff;
}

@media only screen and (min-width: 769px) {
  .piela .button-section {
    display: block;
    height: 7em;
    padding-top: 2em;
  }

  .piela .button-section .col-sm-4 {
    text-align: center;
  }

  .piela .button-section .winner {
    text-align: right;
  }

  .piela .button-section .prev-winner {
    text-align: left;
  }
}

.piela .button-section .col-sm-4 a {
  color: #dc6939;
  padding: 15px;
  font-weight: 600;
  font-size: 1.4em;
  border: solid 5px #dc6939;
  text-transform: uppercase;
}

@media only screen and (max-width: 1024px) {
  .piela .button-section .col-sm-4 a {
    font-size: unset;
  }
}

@media only screen and (max-width: 768px) {
  .piela .button-section {
    text-align: center;
  }

  .piela .button-section .col-sm-4 {
    float: none;
    width: 100%;
    padding: 15px;
  }
}

.piela .button-section .col-sm-4 a:hover {
  background-color: #dc6939;
  color: #ffffff;
}

.piela section#main, .piela-site, .path-piela-2020, .path-piela-2020 section#main, .node-winner, .path-fr, .path-fr section#main {
  background: #f3eeba;
}

.piela-site #menu-group, .piela-2020 #menu-group, .node-winner #menu-group {
  border-bottom: 2px solid #dc6939;
}

.piela-site #footer-columns, .piela-2020 #footer-columns, .node-winner #footer-columns {
  border-top: 2px solid #dc6939;
}

.piela section#main .row {
  background-image: none;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 30px;
}

.piela section#main .row:before, .piela section#main .row:after, .piela-2020 section#main .row:after, .piela-2020 section#main .row:before, .path-fr section#main .row:before {
  background: unset;
}

.piela section#main .row #content:before, .piela-2020 section#main .row #content:before, .path-fr section#main .row #content:before {
  content: "";
  width: 100%;
  z-index: 0;
  background: url(../images/piela/copy-of-beetle.png) 0 0 no-repeat;
  background-position: center;
  background-size: 500px;
  display: inline-block;
  height: 700px;
  /*top: 0;*/
  left: 0;
  position: fixed;
  opacity: 0.05;
}

.piela #banner .breadcrumb li a, .piela #banner .breadcrumb li, .piela-2020 #banner .breadcrumb li a, .piela-2020 #banner .breadcrumb li, .path-fr #banner .breadcrumb li a, .path-fr #banner .breadcrumb li {
  color: grey;
}

/*PIELA trophics page*/
.piela .field--type-image .field--item {
  margin: auto;
}

.piela .field--name-field-image-slider .field--item img:hover {
  transition: transform .4s;
  transform: scale(1.08);
  opacity: .8;
}

@media only screen and (min-width: 768px) {
  .piela .field--type-image {
    display: flex;
  }
}

/*PIELA leadership award winner*/
.winner-info .left-content, .winner-info .right-content {
  margin-bottom: 2rem;
}

.winner-info .right-content .winner-country {
  margin-top: 1rem;
}

.leadership-award-individual-page h3{
  font-size: 24px;
}

.leadership-award-individual-page .views-row a {
  text-decoration: underline;
  font-weight: normal;
  font-size: 16px;
}

.leadership-award-individual-page .views-row a:hover {
  color: #dc6939;
  text-decoration: none;
}

/*PIELA leadership award landing page*/
.leadership-award-landing-page .views-view-grid .views-col, .path-fr .views-view-grid .views-col {
  margin-bottom: 0;
}

.leadership-award-landing-page .views-view-grid .views-field-title, .path-fr .views-view-grid .views-field-title {
  font-size: unset;
  font-weight: normal;
}

.leadership-award-landing-page .leadership-award-winners-section, .path-fr .leadership-award-winners-section {
  margin-bottom: 2rem;
}

.leadership-award-landing-page .leadership-award-winners-section .winners-section, .path-fr .leadership-award-winners-section .winners-section {
  border: 1px solid lightgrey;
  height: 100%;
  min-height: 275px;
}

.path-fr .leadership-award-winners-section .winners-section {
  min-height: 306px;
}

.leadership-award-landing-page .leadership-award-winners-section .winners-section h3, .path-fr .leadership-award-winners-section .winners-section h3 {
  padding: 1rem;
  background-color: #dc6939;
  border-bottom: 5px solid #653e14;
  color: white;
  min-height: 95px;
}

.path-fr .leadership-award-winners-section .winners-section h3 {
  min-height: 122px;
}

.leadership-award-landing-page .leadership-award-winners-section .winners-section .views-view-grid:before, .path-fr .leadership-award-winners-section .winners-section .views-view-grid:before {
  content: 'Winner(s)';
  margin-bottom: 1rem;
  margin-left: 1rem;
  font-weight: bold;
}

.leadership-award-landing-page .leadership-award-winners-section .winners-section .views-view-grid .views-field-title a, .path-fr .leadership-award-winners-section .winners-section .views-view-grid .views-field-title a {
  display: list-item;
  margin-left: 2rem;
  text-decoration: underline;
}

.leadership-award-landing-page .leadership-award-winners-section .winners-section .views-view-grid .views-field-title a:hover, .path-fr .leadership-award-winners-section .winners-section .views-view-grid .views-field-title a:hover {
  color: #dc6939;
  text-decoration: none;
}

.piela .node--type-page, #block-views-block-leadership-award-category-list-block  {
  z-index: 3;
  position: relative;
}

