/*-----------------------------------------------------------------------------------

   Theme Name: ICOMOS_CMS_24
   Description:A custom made wordpress theme created for ICOMOS.CH
   Author: BOLD | concept design shape
   Author URI: http://www.whatsbold.com
   License: GNU General Public License version 3.0
   License URI: http://www.gnu.org/licenses/gpl-3.0.html
   Version: 2.0 
   All PHP code is released under the GNU General Public Licence version 3.0

-----------------------------------------------------------------------------------*/
html {
  font-size: 10px;
}

h1, h2, h3, h4, h5, p, ul, ol, li {
  color: #000000;
  font-family: "Open Sans", sans-serif;
  font-size: 1em;
  font-style: normal;
  font-weight: 400;
  line-height: 1em;
  margin: 0 29px 2.5em 29px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

h1 {
  color: #ffffff;
  font-size: 4.5em;
  -moz-text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
  -webkit-text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
  margin-bottom: 0;
  letter-spacing: -0.08em;
  text-align: center;
}
h1.single {
  color: #bfbfbf;
  font-size: 4.5em;
  -moz-text-shadow: none;
  -webkit-text-shadow: none;
  text-shadow: none;
  margin-bottom: 0;
  letter-spacing: -0.08em;
  text-align: center;
  padding-top: 180px;
}

h2 {
  color: #aaaaaa;
  font-size: 4.5em;
  font-weight: 300;
  padding-top: 30px;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
  text-align: center;
  margin-top: 10rem;
  width: 100%;
}
h2:before {
  content: "";
  width: 100px;
  height: 10px;
  display: block;
  background: #CCCCCC;
  position: relative;
  top: -30px;
  margin: 0 auto;
}

h3 {
  color: #000000;
  font-size: 3em;
  margin-bottom: 0.8em;
  letter-spacing: 0.03em;
  margin-top: 2em;
  word-wrap: break-word;
  min-height: 30px;
}
h3.boxLink, h3.boxLinkSmall {
  margin: 0;
  height: 120px;
  display: table;
  position: relative;
  width: 100%;
  text-align: center;
}
h3.boxLink a, h3.boxLinkSmall a {
  background: none;
  font-style: normal;
  font-weight: 400;
  border: 3px solid #dddddd;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  font-size: 1em;
  top: 0px;
  bottom: 0px;
  padding: 0;
  height: 100%;
  color: #000000;
}
h3.boxLink a:hover, h3.boxLinkSmall a:hover {
  background: #888888;
  border: 3px solid #888888;
  color: #ffffff;
}
h3.boxLinkSmall {
  height: 90px;
  font-size: 2em;
  margin-bottom: 0.5em;
}

h4 {
  font-size: 2.5em;
  line-height: 1em;
  margin: 0 29px 29px 29px;
}

h5 {
  font-size: 2em;
  margin-bottom: 0.5em;
}

p {
  font-size: 1.5em;
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.6em;
  margin-bottom: 1.6em;
}
p.small {
  font-size: 1.2em;
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.33em;
  margin-bottom: 0.833em;
}
p.strong {
  font-weight: 400;
}
p a {
  font-size: 1em;
}

a {
  color: #000000;
  font-size: 1.5em;
  font-style: italic;
  font-weight: 600;
  text-decoration: none !important;
}
a:hover {
  color: #888888;
  background-position: right -12px;
}
a.more {
  background: url("img/icons-graphic.jpg") no-repeat;
  padding-right: 24px;
  background-position: right 7px;
}

ul, ol {
  margin: 0 0 0 0;
  padding: 0;
  list-style: none;
}
ul li, ol li {
  font-size: 1em;
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.6em;
  margin-bottom: 1.6em;
}
ul li a, ol li a {
  background: url("img/icons-graphic.jpg") no-repeat;
  padding-right: 24px;
  background-position: right 7px;
}

/* BREAKPOINT: 768px */
@media screen and (min-width: 720px) and (max-width: 959px) {
  h3 {
    overflow-wrap: break-word;
    word-wrap: break-word;
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
  }
}
/* BREAKPOINT: 320px */
@media screen and (min-width: 320px) and (max-width: 719px) {
  h3 {
    overflow-wrap: break-word;
    word-wrap: break-word;
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
  }
  h3.boxLink {
    margin-bottom: 1px;
  }
}
/* GRID SYSTEM: 24 Columns */
.theGrid960 {
  position: relative;
  margin: 0 auto;
  max-width: 960px;
}

.theGrid {
  position: relative;
  margin: 0 auto;
  width: 100%;
}
.theGrid .geBasic {
  float: left;
}
.theGrid .geBasic .innerBox {
  margin: 0 1px;
  position: relative;
}
.theGrid .geBasic .innerBox.noMargin {
  margin: 0;
}
.theGrid .geBasic .innerBox h3:first-child {
  margin-top: 0;
}
.theGrid .ge1 {
  width: 4.166%;
}
.theGrid .ge2 {
  width: 8.333%;
}
.theGrid .ge3 {
  width: 12.5%;
}
.theGrid .ge4 {
  width: 16.666%;
}
.theGrid .ge5 {
  width: 20.833%;
}
.theGrid .ge6 {
  width: 25%;
}
.theGrid .ge7 {
  width: 29.166%;
}
.theGrid .ge8 {
  width: 33.333%;
}
.theGrid .ge9 {
  width: 37.5%;
}
.theGrid .ge10 {
  width: 41.666%;
}
.theGrid .ge11 {
  width: 45.833%;
}
.theGrid .ge12 {
  width: 50%;
}
.theGrid .ge13 {
  width: 54.166%;
}
.theGrid .ge14 {
  width: 58.333%;
}
.theGrid .ge15 {
  width: 62.5%;
}
.theGrid .ge16 {
  width: 66.666%;
}
.theGrid .ge17 {
  width: 70.833%;
}
.theGrid .ge18 {
  width: 75%;
}
.theGrid .ge19 {
  width: 79.166%;
}
.theGrid .ge20 {
  width: 73.333%;
}
.theGrid .ge21 {
  width: 77.5%;
}
.theGrid .ge22 {
  width: 91.666%;
}
.theGrid .ge23 {
  width: 95.833%;
}
.theGrid .ge24 {
  width: 100%;
}

.clearfix {
  zoom: 1;
}
.clearfix:before, .clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}

/* BREAKPOINT: 768px */
@media screen and (min-width: 720px) and (max-width: 959px) {
  .theGrid .ge8 {
    width: 50%;
  }
}
/* BREAKPOINT: 320px */
@media screen and (min-width: 320px) and (max-width: 719px) {
  .theGrid .geBasic {
    width: 100%;
  }
}
/* CONTACT FORM */
form.contactForm input[type=text] {
  border: none;
  border-bottom: 1px solid #dddddd;
  font-family: "Open Sans", sans-serif;
  font-size: 1.5em;
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.6em;
  outline: none;
  color: #000000;
  width: 94%;
  padding: 0.7% 3%;
  margin-bottom: 30px;
}
form.contactForm input[type=text]:focus {
  border-bottom: 1px solid #666666;
}
form.contactForm input[type=submit] {
  background: #909090;
  border: none;
  font-family: "Open Sans", sans-serif;
  font-size: 1.5em;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.6em;
  outline: none;
  color: #ffffff;
  width: 100%;
  text-align: center;
  padding: 2.5% 0;
}
form.contactForm input[type=submit]:hover {
  background: #555555;
}
form.contactForm textarea {
  border: 1px solid #dddddd;
  font-family: "Open Sans", sans-serif;
  font-size: 1.5em;
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.6em;
  outline: none;
  color: #000000;
  width: 94%;
  padding: 0.7% 3%;
  margin-bottom: 30px;
  min-height: 240px;
}
form.contactForm textarea:focus {
  border: 1px solid #666666;
}
form.contactForm p.contactError {
  display: none;
}

/* HEADER */
header {
  position: absolute;
  background: #ffffff;
  height: 150px;
  z-index: 100;
  width: 100%;
  transition-timing-function: ease-out;
  transition: height 0.6s, box-shadow 0.6s;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
}
header .headerBox {
  margin: 0 auto;
  max-width: 960px;
  position: relative;
  width: 100%;
  height: 100%;
}
header.scrolling {
  position: fixed;
  top: 0;
  height: 70px;
  transition-timing-function: ease-out;
  transition: height 0.6s, box-shadow 0.6s;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2);
}
header #quicksearch {
  margin-left: 10px;
  margin-top: 5px;
  display: inline-block;
  vertical-align: top;
}
header #quicksearch .quicksearchField {
  display: none;
}
header #quicksearch input[type=text] {
  border: none;
  border-bottom: 1px solid #dddddd;
  outline: none;
}
header #quicksearch input[type=text]:focus {
  border-bottom: 1px solid #666666;
}
header #quicksearch input[type=submit] {
  border: none;
  color: #000000;
  font-size: 1.5em;
  font-style: italic;
  font-weight: 600;
  text-decoration: none;
  background: url("img/icons-graphic.jpg") no-repeat;
  padding-right: 18px;
  background-position: right 8px;
  text-indent: -999em;
}
header #quicksearch.showSearch .quicksearchField {
  display: inline-block;
  vertical-align: top;
}
header #quicksearch a.search-icon {
  background: url("img/icons-graphic.jpg") no-repeat;
  width: 15px;
  height: 15px;
  display: inline-block;
  vertical-align: top;
  text-indent: -999em;
  background-position: 0px -95px;
  padding-right: 0;
  padding-top: 5px;
}
header #quicksearch a.search-icon:hover {
  background-position: 0px -75px;
}
header #quicklogin {
  margin-left: 20px;
  margin-top: 5px;
  display: inline-block;
  vertical-align: top;
}
header #quicklogin #quickloginField {
  display: none;
}
header #quicklogin.showLogin #quickloginField {
  display: inline-block;
  vertical-align: top;
}
header #quicklogin p.logout {
  font-size: 11px;
  margin-left: 0px;
  margin-top: 3px;
}
header #quicklogin p.logout a {
  padding-right: 0px;
  background: none;
}
header #quicklogin a.login-icon {
  background: url("img/icons-graphic.jpg") no-repeat;
  width: 15px;
  height: 15px;
  display: inline-block;
  vertical-align: top;
  text-indent: -999em;
  background-position: 0px -135px;
  padding-right: 0;
  padding-top: 5px;
}
header #quicklogin a.login-icon:hover {
  background-position: 0px -115px;
}
header #quicklogin input[type=text],
header #quicklogin input[type=password] {
  border: none;
  border-bottom: 1px solid #dddddd;
  outline: none;
}
header #quicklogin input[type=text]:focus,
header #quicklogin input[type=password]:focus {
  border-bottom: 1px solid #666666;
}
header #quicklogin input[type=submit] {
  border: none;
  color: #000000;
  font-size: 1.5em;
  font-style: italic;
  font-weight: 600;
  text-decoration: none;
  background: url("img/icons-graphic.jpg") no-repeat;
  padding-right: 18px;
  background-position: right 8px;
  text-indent: -999em;
}
header #languageMenu {
  display: inline-block;
  margin-left: 30px;
  margin-top: 8px;
  vertical-align: top;
}
header #languageMenu:hover ul li:first-child a {
  color: #000000;
}
header #languageMenu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 20px;
}
header #languageMenu ul li {
  margin: 0 0 5px 0;
  padding: 0;
  display: inline;
}
header #languageMenu ul li a {
  background: none;
  font-size: 1.2em;
  letter-spacing: 0.05em;
  line-height: 1.33em;
  margin-bottom: 0.833em;
  color: #888888;
  font-style: normal;
  padding-right: 12px;
}
header #languageMenu ul li a:hover {
  color: #000000;
}
header #languageMenu ul li.selected a {
  color: #000000;
}
header #icomos-logo {
  position: absolute;
  right: 30px;
  bottom: 25px;
  width: 170px;
  transition-timing-function: ease-out;
  transition: width 0.6s, bottom 0.6s;
}
header #icomos-logo a {
  background: none;
  padding: 0;
  margin: 0;
}
header #icomos-logo img {
  width: 100%;
  height: auto;
}
header.scrolling #icomos-logo {
  width: 110px;
  bottom: 11px;
  transition-timing-function: ease-out;
  transition: width 0.6s, bottom 0.6s;
}
header.scrolling nav.menu-main {
  bottom: 13px;
  transition-timing-function: ease-out;
  transition: bottom 0.6s;
}

/* BREAKPOINT: 768px */
@media screen and (min-width: 720px) and (max-width: 959px) {
  #icomos-logo {
    width: 140px;
  }
}
/* BREAKPOINT: 320px */
@media screen and (min-width: 320px) and (max-width: 719px) {
  header {
    position: fixed;
    top: 0;
    height: 70px;
    transition-timing-function: ease-out;
    transition: height 0.6s, box-shadow 0.6s;
  }
  header #icomos-logo {
    width: 110px;
    bottom: 11px;
    transition-timing-function: ease-out;
    transition: width 0.6s, bottom 0.6s;
  }
}
/* FOOTER */
footer {
  background: #595959;
  margin-top: 100px;
  z-index: 50;
  position: relative;
  padding-top: 30px;
  padding-bottom: 30px;
}
footer p {
  color: #c8c8c8;
  font-size: 1.2em;
  line-height: 1.25em;
}
footer p a {
  color: #c8c8c8;
  font-size: 1em;
  line-height: 1.25em;
  background: none;
}
footer p a:hover {
  color: #ffffff;
}
footer h5 {
  color: #c8c8c8;
  font-size: 1.5em;
  line-height: 1.33em;
  margin-bottom: 1em;
}

/* MENU: Main Navigation */
nav.menu-main {
  width: 100%;
  position: absolute;
  bottom: 30px;
  transition-timing-function: ease-out;
  transition: bottom 0.6s;
}
nav.menu-main #menu-main-anchor {
  display: none;
  background: none;
}
nav.menu-main ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav.menu-main ul li {
  display: inline-block;
  margin: 0 0 0 30px;
  padding: 0;
  height: 12px;
  overflow: visible;
  vertical-align: top;
  position: relative;
}
nav.menu-main ul li a {
  font-weight: 300;
  background: none;
  text-transform: lowercase;
  padding-right: 0;
}
nav.menu-main ul li.menu-item-has-children > a {
  background: url("img/icons-graphic.jpg") no-repeat top right;
  background-position: 110% -52px;
  overflow: visible;
  padding-right: 15px;
}
nav.menu-main ul li.menu-item-has-children:hover > a {
  background-position: 110% -32px;
}
nav.menu-main ul li.current-menu-item a {
  font-weight: 400;
}
nav.menu-main ul > li > ul.sub-menu {
  display: none;
  padding: 0;
  left: -15px;
  padding-top: 5px;
  position: absolute;
  background: #ffffff;
  min-width: 100%;
}
nav.menu-main ul > li:hover > ul.sub-menu {
  display: block;
}
nav.menu-main ul > li > ul.sub-menu li {
  padding: 10px 15px;
  margin: 0;
  height: auto;
  background: #ffffff;
  min-width: 80%;
}
nav.menu-main ul > li > ul.sub-menu li a {
  display: block;
  line-height: 1em;
  font-size: 1.3em;
  background: #ffffff;
}

/* BREAKPOINT: 768px */
@media screen and (min-width: 720px) and (max-width: 959px) {
  nav.menu-main ul li {
    display: inline-block;
    margin: 0 0 0 15px;
    padding: 0;
  }
  nav.menu-main ul li:first-child {
    margin: 0 0 0 30px;
  }
}
/* BREAKPOINT: 320px */
@media screen and (min-width: 320px) and (max-width: 719px) {
  nav.menu-main {
    top: 12px;
    transition: top 0.6s;
    bottom: auto;
    position: relative;
  }
  nav.menu-main #menu-main-anchor {
    display: block;
    margin-left: 30px;
  }
  nav.menu-main ul {
    display: none;
    padding-top: 20px;
    padding-left: 30px;
    background: #ffffff;
  }
  nav.menu-main ul li {
    display: block;
    margin: 0;
    min-height: 30px;
    height: auto;
  }
  nav.menu-main ul li a {
    padding: 5px 0;
    margin: 0;
  }
  nav.menu-main ul li.menu-item-has-children:hover > a {
    background-position: 110% -28px;
  }
  nav.menu-main ul li.menu-item-has-children > a {
    background-position: 110% -48px;
  }
  nav.menu-main ul > li > ul.sub-menu {
    display: block;
    position: relative;
    left: auto;
    padding: 0;
    margin-top: 5px;
    background: #ffffff;
    min-width: 100%;
    margin-bottom: 15px;
  }
  nav.menu-main ul > li:hover > ul.sub-menu {
    display: block;
  }
  nav.menu-main ul > li > ul.sub-menu li {
    padding: 0px 15px;
    min-width: auto;
    width: auto;
    height: auto;
    min-height: auto;
    margin: 0;
    background: #ffffff;
  }
  nav.menu-main ul > li > ul.sub-menu li a {
    display: block;
    line-height: 1em;
    font-size: 1.3em;
    background: #ffffff;
  }
  nav.menu-main.showMenu ul {
    display: block;
  }
}
/* MENU: Footer Navigation */
nav.menu-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: right;
  margin-bottom: 25px;
}
nav.menu-footer ul li {
  margin: 0;
  padding: 0;
}
nav.menu-footer ul li a {
  font-weight: 400;
  background: none;
  color: #c8c8c8;
  font-size: 1.2em;
  line-height: 1.25em;
  padding: 0.33em 30px;
  display: block;
}
nav.menu-footer ul li a:hover {
  color: #ffffff;
}
nav.menu-footer ul li.current-menu-item a {
  font-weight: 400;
}

body {
  width: 100%;
  margin: 0;
  padding: 0;
}

#languageInfo {
  position: fixed;
  bottom: 0;
  background: #595959;
  width: 100%;
  z-index: 999;
  padding: 10px;
  border-top: solid 1px #777;
}
#languageInfo.hidden {
  display: none;
}
#languageInfo p {
  text-align: center;
  padding: 0px;
  margin: 0px;
  color: white;
}
#languageInfo p a:hover {
  color: white;
}

/* HEADER: Slider / Image */
#imageSlider {
  padding-top: 150px;
  transition: padding-top ease-out 0.6s;
}
#imageSlider.scrolling {
  padding-top: 70px;
  transition: padding-top ease-out 0.6s;
}
#imageSlider .innerBox {
  margin: 0;
}

.headerImage {
  background: #CCCCCC center center no-repeat;
  background-size: cover;
  min-height: 480px;
}

.headerTitle {
  position: absolute;
  bottom: 100px;
  left: 0;
  right: 0;
}
.headerTitle h1 {
  margin: 0;
  max-width: 100%;
}

/* CONTENT */
#content {
  z-index: 1;
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}
#content > *:first-child {
  margin-top: 100px;
}
#content > * {
  max-width: 100%;
}
#content section.icomosNetwork .ge4 .innerBox {
  padding-top: 100%;
}
#content section.icomosNetwork p {
  width: 100%;
  display: block;
  top: 50%;
  transform: translate(0, -50%);
  position: absolute;
  margin: 0 auto;
}
#content section.icomosNetwork p img {
  width: 80%;
  height: auto;
  display: block;
  left: auto;
  margin: 0 auto;
}
#content section h2:before {
  content: "";
  width: 100px;
  height: 10px;
  display: block;
  background: #CCCCCC;
  position: relative;
  top: -30px;
  margin: 0 auto;
}
#content p img {
  left: -30px;
  position: relative;
}
#content .ge24 p img {
  left: auto;
  position: relative;
}

.articleImage_1to1 {
  padding-top: 100%;
  background: #CCCCCC;
  margin-bottom: 45px;
  position: relative;
}
.articleImage_1to1 img {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.articleImage_3to2 {
  padding-top: 66.66%;
  background: #CCCCCC;
  margin-bottom: 45px;
  position: relative;
  overflow: hidden;
}
.articleImage_3to2 img {
  display: block;
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, 0);
}

.galleryThumbnail .innerBox img {
  width: 100%;
  height: auto;
}

/* NEWS */
.addNewsBox {
  margin-bottom: 60px;
}

.eventBox .eventDate {
  padding-top: 37.5%;
  height: 0;
  position: relative;
}
.eventBox .eventDate .innerBox {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  display: table;
}
.eventBox .eventDate .innerBox h4 {
  display: table-cell;
  width: 60%;
  height: 100%;
  vertical-align: middle;
  padding: 0 20%;
  color: #ffffff;
  background: #bfbfbf;
}
.eventBox .eventDate .eventTeaser .innerBox {
  padding-top: 12%;
}

.boxLink h3 {
  display: block;
  width: 60%;
  height: 100%;
  vertical-align: middle;
  padding: 0 20%;
  color: #ffffff;
}

/* BREAKPOINT: 320px */
@media screen and (min-width: 320px) and (max-width: 719px) {
  #imageSlider {
    padding-top: 70px;
    transition: padding-top ease-out 0.6s;
  }
}
.wp-block-latest-posts {
  max-width: 960px;
  margin: 0 auto;
}
.wp-block-latest-posts li .wp-block-latest-posts__post-title {
  color: #000000;
  font-family: var(--wp--preset--font-family--open-sans);
  font-size: var(--wp--preset--font-size--large);
  font-weight: 500;
  line-height: 1em;
  letter-spacing: 0.03em;
  font-style: normal;
  margin: 2em auto 0.8em auto;
  word-wrap: break-word;
  display: block;
  background: transparent;
  padding-right: 0;
}
.wp-block-latest-posts li .wp-block-latest-posts__post-excerpt {
  font-size: 1.5em;
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.6em;
  color: #000000;
  font-family: var(--wp--preset--font-family--open-sans);
  font-style: normal;
  margin: 0 auto 1.6em auto;
}
.wp-block-latest-posts li .wp-block-latest-posts__read-more {
  display: inline-block;
  margin-top: 1.6em;
  font-size: 1em;
  background-position: right 9px;
}