@import url("fonts/fonts.css");

body {
  background-color: #ffffff;
  padding: 0px;
  margin: 0px;
  font-family: "BSF";
  font-size: 18px;
}

img {
  border: none;
}

a {
  text-decoration: none;
  color: #0070c0;
}

a:hover {
  color: #e97132;
}

.h {
  display: none;
}

.pg {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
}

.pg .mg {
  position: relative;
  top: 0px;
  width: 1000px;
  margin: 0px auto 0px auto;
  background-color: #ffffff;
}

#logo {
  left: 10px;
  top: 10px;
  position: absolute;
  display: block;
  width: 300px;
  height: 92px;
  background-image: url("img/logo.png");
  background-repeat: no-repeat;
}

.top-strip {
  position: relative;
  width: 100%;
  margin: 0px;
  /*padding: 10px 0px 130px 0px;*/
  padding: 10px 0px 0px 0px;
 background-color: #ffffff;
}

.top-strip #undermenu {
  background-image: url("img/petrov2b.png");
  background-repeat: no-repeat;
  background-position: right bottom;
  margin-top: 40px;
  padding: 30px 0px 0px 30px;
  height: 220px;
  background-color: #0070c0;
 }

 .top-strip #undermenu>.padding {
   display: none;
 }

.top-strip #undermenu>.caption {
  font-size: 24px;
  width: 720px;
  text-transform: uppercase;
}

.top-strip #undermenu>.caption.title {
  font-family: "BSF";
  color: #ffffff;
  text-shadow: 0px 0px 10px #50c0ff;
}

.top-strip #undermenu>.caption.date {
  font-family: "BSF";
  font-weight: bold;
  color: #ffffff;
  text-shadow: 0px 0px 7px #50c0ff;
}

.top-strip #topmenu-padding {
  width: 350px;
  border-top: 2px solid #0070c0;
  position: absolute;
  top: -2px;
}

.top-strip #topmenu {
  /*background-color: #e0e0e0;*/
  margin-top: 30px;
  position: relative;
  padding-bottom: 10px;
}

.top-strip #topmenu .button {
  display: none;
  width 26px;
  height: 26px;
  background-repeat: no-repeat;
  background-image: url("img/menu-button.png");
}

.top-strip #topmenu .menu-content {
  margin: 0px 0px 0px 320px;
  /*background-color: #e0e0e0;*/
}

.top-strip #topmenu a {
  white-space: nowrap;
}

.top-strip #topmenu .submenu.l0 {
  display: block;
  float: left;
  margin: 0px 0px 0px 0px;
  padding: 0px;
  font-size: 20px;
  position: relative;
  z-index: 14;
}

.top-strip #topmenu .submenu.l0>a,
.top-strip #topmenu .submenu.l0>.item {
  color: #0070c0;
  padding: 5px 10px 10px 10px;
}

.top-strip #topmenu .submenu.l0:hover {
  background-color: #0070c0;
}

.top-strip #topmenu .submenu.l0:hover>a,
.top-strip #topmenu .submenu.l0:hover>.item {
  color: #ffffff;
  background-color: #0070c0;
}

.top-strip #topmenu .submenu.l0 .submenu.l1 {
  position: absolute;
  display: none;
  margin: 8px 0px 0px 0px;
  background-color: #ffffff;
  left: 0px;
  padding: 5px 8px 0px 8px;
  border: 2px solid #0070c0;
  /*width: 250px;*/
}

.top-strip #topmenu .submenu.l0:hover .submenu.l1,
.top-strip #topmenu .submenu.l0.active .submenu.l1 {
  display: block;
}

.top-strip #topmenu .submenu.l0 .submenu.l1>.item-wrap>a.item {
  display: block;
  background: none;
  margin-bottom: 10px;
}

.top-strip #topmenu .submenu.l0 .submenu.l1>.item-wrap>a.item:hover {
}

.top-strip #topmenu .submenu.l0 .submenu.l1 .item-wrap {
  position: relative;
}

.anchor {
  clear: both;
}

.content {
  margin: 15px 0px 0px 0px;
  /*border: 2px solid #0070c0;*/
  padding: 10px;
}

.content h1 {
  font-size: 40px;
  margin: 5px 0px 15px 0px;
  padding: 0px 5px 0px 5px;
  text-align: center;
}
  
.content h1, .content h2, .content h3 {
  color: #e97132;
}

.content .quote {
  margin: 5px 25% 5px 25%;
  text-align: center;
}

.content .mid-caption {
  margin: 5px 0px 5px 0px;
  font-weight: bold;
  font-size: 120%;
  text-align: center;
}

.content .sub-caption {
  margin: 5px 0px 5px 0px;
  font-size: 120%;
  text-align: center;
}

.content .gallery {
  text-align: center;
}

.content .gallery img {
  max-width: 100%;
}

.content table.timeline {
}

.content table.timeline tr {
  height: 30px;
}

.content table.timeline td.col1 {
  width: 250px;
}

.content table.committee {
}

.content table.committee th {
  text-align: left;
}

.content table.committee th.col1 {
  width: 250px;
}

.content table.registration {
}

.content table.registration th {
  text-align: left;
  width: 120px;
}

.content ul {
  list-style: none;
}

.content ul li:before,
.content ol li:before {
  color: #0070c0;
}

.content ul li:before {
  content: "●";
}

.content ol {
  list-style: none;
  counter-reset: item;
}


.content ol li {
  counter-increment: item;
}

.content ul li,
.content ol li {
  position: relative;
  padding-left: 1.5em;
}

.content ul li:before,
.content ol li:before {
  position: absolute;
  left: 0px;
  top: 0px;
}

.content ol li:before {
  font-weight: bold;
  content: counter(item) ".";
}

.content .messagebox {
}

.content .messagebox button {
  margin-left: 5px;
  margin-right: 5px;
  padding: 5px 15px 5px 15px;
  background-color: #e97132;
  color: #ffffff;
  font-weight: bold;
  border: none;
}

.content .signatures {
  clear: both;
}

.content .signatures .sig1,
.content .signatures .sig2 {
}

.content .signatures .sig1 {
  float: left;
  width: 200px;
  text-align: center;
}

.content .signatures .sig2 {
  float: right;
  width: 300px;
  text-align: center;
}


@media (max-width: 950px) {
  .pg .mg {
    transform: scale(0.90);
    transform-origin: 0 0;
  }
}

@media (max-width: 900px) {
  .pg .mg {
    transform: scale(0.85);
    transform-origin: 0 0;
  }
}

@media (max-width: 850px) {
  .pg .mg {
    transform: scale(0.80);
    transform-origin: 0 0;
  }
}

@media (max-width: 800px) {
  .pg .mg {
    transform: scale(0.75);
    transform-origin: 0 0;
  }
}

/* fine-tuning for narrow viewports */
@media (max-width: 770px) {
  .pg {
    background-image: none;
   }

  .pg .mg {
    width: 360px;
    transform: scale(1.00);
    transform-origin: 0 0;
  }

  #logo {
    width: 225px;
    height: 69px;
    background-size: 100% 100%;
  }

  .top-strip #topmenu {
    position: absolute;
    top: 0px;
    height: unset;
    left: 304px;
    right: 28px;
    padding: 0px;
    z-index: 10;
  }

  .top-strip #topmenu .button {
    display: block;
  }
  
  .top-strip #topmenu .menu-content {
    display: none;
    position: relative;
    left: -218px;
    width: 240px;
    background-color: #ffffff;
    padding: 15px;
    margin: 20px 0px 0px 0px;
    border: 2px solid #0070c0;
  }

  .top-strip #topmenu.active .menu-content {
    display: block;
  }

  .top-strip #topmenu .submenu.l0 {
    float: none;
  }
  
  .top-strip #topmenu .submenu.l0> .submenu.l1 {
    position: relative;
  }

  .top-strip #topmenu .submenu.l0>.item,
  .top-strip #topmenu .submenu.l0> .submenu.l1>.item-wrap>.item {
    text-align: right;
    display: block;
  }


  .top-strip #undermenu {
    background-image: url("img/petrov2b_ii.png");
    background-size: 100%;
    height: 230px;
    margin-top: 80px;
    padding: 15px 0px 0px 15px;
  }

  .top-strip #undermenu>.padding {
    position: relative;
    display: block;
    float: right;
    width: 100%;
    height: 90%;
    shape-outside: polygon(80% 0%, 80% 20%, 60% 40%, 50% 60%, 100% 60%, 100% 0%);
  }

  .top-strip #undermenu>.caption {
    font-size: 18px;
    width: 75%;
  }
}

#map-view {
  height: 500px;
  z-index: 0;
}
