/* Globals */
html {
  font-size: 36%;
  height: 100%;
}
p {
  font-size: 14pt;
}
a {
  text-decoration: none;
}
body {
  background-color: #82A1B7;
}
.center-vertically {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}
.unjustify {
  display: inline-block;
  width: 100%;
}
.light-font-color {
  color: #dadada !important;
}
/* Newsletter front page stuff */
.newsletter-article-body {
  background-color: white;
}
#newsletter-header {
  background-color: #D4D3D0;
  color: #003255;
  padding-left: 25px;
  padding-top: 20px;
  padding-bottom: 30px;
}
#newsletter-header h2 {
  position: relative;
  left: 26px;
}
#newsletter-header img {
  width: 130px;
}
.newsletter-item {
  position: relative;
  height: 270px;
  padding-left: 25px;
  padding-top: 20px;
  margin-top: 35px;
}
@media (min-width: 550px) {
  .newsletter-item {
    box-shadow: 19px 20px 16px -8px rgba(0, 0, 0, 0.31);
  }
}
.newsletter-item h3 {
  font-style: italic;
}
.newsletter-item h1,
.newsletter-item h2,
.newsletter-item h3 {
  margin-bottom: 0px;
}
.common-padding {
  padding-bottom: 6px;
  padding-top: 7px;
  padding-left: 11px;
  padding-right: 11px;
}
/* Article 1 */
.article1-background {
  background-color: #ebebeb;
  background-color: rgba(235, 235, 235, 0.8);
  padding-bottom: 6px;
  padding-top: 7px;
  padding-left: 11px;
  padding-right: 11px;
}
#article1 {
  color: #000;
  background-color: #c0c5bf;
  background-image: url("../images/randall-stone.jpg");
  background-position-x: -147px;
  background-position-y: -35px;
  background-position: -5px -6px;
  background-size: 110%;
}
#article1 h1 {
  margin-top: 4px;
}
#article1 h1,
#article1 h2,
#article1 h3 {
  background-color: #ebebeb;
  background-color: rgba(235, 235, 235, 0.8);
  padding-bottom: 6px;
  padding-top: 7px;
  padding-left: 11px;
  padding-right: 11px;
}
#article1 h1 {
  background-color: rgba(235, 235, 235, 0.8);
}
#article1 h3 {
  display: inline-block;
  margin-top: 113px;
  background-color: rgba(235, 235, 235, 0.8);
}
@media (min-width: 550px) {
  #article1 h3 {
    padding-bottom: 2px;
  }
}
/* Article 2 */
#article2 {
  background-image: url("../images/klodkowski-map.jpg");
  background-position: 0px 0px;
  background-size: 95%;
}
#article2 h1,
#article2 h2,
#article2 h3 {
  background-color: #ebebeb;
  background-color: rgba(235, 235, 235, 0.8);
  padding-bottom: 6px;
  padding-top: 7px;
  padding-left: 11px;
  padding-right: 11px;
}
#article2 h3 {
  display: inline-block;
}
/* Article 3 */
#article3 {
  background-color: #49729e;
  background-image: url("../images/jason-vogel.jpg");
  background-position: -38px -11px;
  background-size: 100%;
}
#article3 h1 {
  margin-top: 3px;
}
#article3 h1,
#article3 h2,
#article3 h3 {
  background-color: #ebebeb;
  background-color: rgba(235, 235, 235, 0.8);
  padding-bottom: 6px;
  padding-top: 7px;
  padding-left: 11px;
  padding-right: 11px;
}
#article3 h3 {
  display: inline-block;
}
/* Article 4 */
#article4 {
  background-color: #cd621c;
  background-image: url("../images/slovakia.png");
  background-position: 0px -1px;
  background-size: 100%;
}
#article4 h1,
#article4 h2,
#article4 h3 {
  background-color: #ebebeb;
  background-color: rgba(235, 235, 235, 0.8);
  padding-bottom: 6px;
  padding-top: 7px;
  padding-left: 11px;
  padding-right: 11px;
}
#article4 h3 {
  display: inline-block;
}
.button {
  position: absolute;
  border-radius: 0px;
  line-height: 31px;
  padding: 0 18px;
  bottom: -12px;
  right: -5px;
  height: 31px;
}
.tri {
  position: absolute;
  width: 0;
  top: -9px;
  left: 81px;
  height: 0;
  border-style: solid;
  border-width: 8px 0 0 8px;
  border-color: transparent transparent transparent #3D93EE;
  z-index: -10;
}
/* Common newsletter things */
#newsletter-article-header {
  background-color: #D4D3D0;
  color: #003255;
  padding-left: 25px;
  padding-top: 15px;
  padding-bottom: 5px;
  margin-bottom: 20px;
}
#newsletter-article {
  font-size: 14pt;
}
#newsletter-nav {
  position: relative;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 16pt;
}
.newsletter-prev-issues {
  font-size: 12pt;
}
.caption {
  font-size: 12pt;
}
.inset {
  text-align: center;
}
.footnote {
  font-size: 9pt;
  float: left;
}
hr {
  color: #000;
  margin-bottom: 5px;
  background: #000;
  width: 50%;
  height: 2px;
  float: left;
}
sup {
  color: blue;
}
.footer-common {
  position: relative;
  margin-top: 35px;
  background-color: #D4D3D0;
  height: 100px;
}
/* FB icon */
#newsletter-fb {
  position: relative;
  margin-top: 35px;
  background-color: #D4D3D0;
  height: 100px;
}
#newsletter-fb h3 {
  margin-left: 100px;
}
#newsletter-fb a {
  color: #003255;
}
#newsletter-fb img {
  position: absolute;
  left: 20px;
  top: 20px;
}
/* Prev icon */
#newsletter-prev {
  position: relative;
  margin-top: 35px;
  background-color: #D4D3D0;
  height: 100px;
  text-align: center;
}
#newsletter-prev a {
  color: #003255;
}
/* Skalny website new header */
.header {
  background: #1e327e;
  /* Old browsers */
  background: -moz-linear-gradient(top, #1e327e 0%, #2477a9 100%);
  /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #1e327e), color-stop(100%, #2477a9));
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #1e327e 0%, #2477a9 100%);
  /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #1e327e 0%, #2477a9 100%);
  /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #1e327e 0%, #2477a9 100%);
  /* IE10+ */
  background: linear-gradient(to bottom, #1e327e 0%, #2477a9 100%);
  /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2477A9', endColorstr='#1E327E', GradientType=0);
  /* IE6-9 */
  height: 110px;
}
.ribbon {
  font-size: 12pt;
  background-color: white;
  -webkit-box-shadow: 1px 0px 14px 7px rgba(0, 0, 0, 0.41);
  -moz-box-shadow: 1px 0px 14px 7px rgba(0, 0, 0, 0.41);
  box-shadow: 1px 0px 14px 7px rgba(0, 0, 0, 0.41);
}
.navbar-list {
  list-style: none;
  margin-bottom: 0;
  padding-top: 16px;
  margin-right: auto;
  display: inline-block;
  margin: 0 auto;
}
.navbar-item {
  position: relative;
  float: left;
}
.navbar-link {
  margin-right: 37px;
  text-transform: uppercase;
}
#newsletter-container {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
@media (min-width: 550px) {
  #newsletter-container {
    margin-top: 37px;
    width: 80%;
  }
}
@media (min-width: 400px) {
  #newsletter-container {
    width: 85%;
    padding: 0;
  }
}
/* For the drop down menu */
.navbar .container {
  text-align: center;
}
.navbar ul ul {
  z-index: 20;
  display: none;
  margin: 0;
}
@media (min-width: 550px) {
  .navbar ul ul {
    top: 23px;
    box-shadow: -4px 14px 19px rgba(0, 0, 0, 0.41);
    position: absolute;
    padding-left: 15px;
    padding-top: 14px;
    background-color: #fff;
  }
  .navbar ul ul li {
    float: none;
    width: 200px;
    line-height: 25px;
  }
}
.navbar ul li:hover > ul {
  display: block;
}
.navbar li:hover {
  text-decoration: underline;
}
.navbar li {
  height: 100%;
  text-align: left;
  cursor: pointer;
}
@media (min-width: 550px) {
  #logo {
    width: 278px;
    float: left;
    margin-top: 31px;
    position: relative;
    z-index: 10;
    margin-left: 33px;
  }
}
#poland {
  float: left;
  width: 185px;
  position: relative;
  margin-left: -104px;
}
#skalny {
  width: 512px;
  top: 14px;
  float: left;
  position: relative;
  text-align: center;
  font-variant: small-caps;
  color: #e5eef6;
  display: inline-block;
  z-index: 10;
}
@media (min-width: 550px) {
  #skalny {
    text-shadow: 2px 3px 7px rgba(0, 0, 0, 0.66);
    margin-left: 21%;
    text-align: left;
  }
}
#skalny h1 {
  margin-bottom: 0px;
  letter-spacing: 0.3rem;
}
#skalny h2 {
  letter-spacing: 0.05rem;
}
@media (min-width: 550px) {
  #skalny h2 {
    margin-left: 15px;
  }
}
.content {
  background-color: #F3F0E8;
  z-index: -1;
}
@media (min-width: 500px) {
  .content p {
    margin-left: 30px;
  }
}
.footer {
  background-color: #F3F0E8;
  text-align: center;
  border-top-color: #818155;
  border-top-width: 1px;
  border-top-style: solid;
}
.footer p {
  color: #848483;
  margin: 0;
  padding-top: 7px;
  padding-bottom: 7px;
}
.ribbon {
  position: relative;
}
.ribbon a {
  color: #000;
}
