  html {
    height: 100%;
  }
  body {
    background: #E2E4E7;
    padding: 0;
    text-align: center;
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 200;
    position: relative;
    margin: 0;
    height: 100%;
    -webkit-font-smoothing: antialiased;
  }
  
  .wrapper {
  	height: 100% !important;
  	height: 100%;
  	margin: 0 auto; 
  	overflow: hidden;
  }
  
  a {
    text-decoration: none;
  }
  
  .page_container {
      overflow: hidden;
  }

  h1, h2 {
    width: 100%;
    float: left;
  }
  h1 {
    margin-top: 100px;
    color: #000;
    margin-bottom: 5px;
    font-size: 70px;
    letter-spacing:
    font-weight: 100;
    font-family: 'Sacramento', cursive;
  }
  h1 span {
    font-size: 26px;
    margin: 0 5px;
    text-transform: capitalize;
    background: rgba(0,0,0,0.85);
    display: inline-block;
    color: #6D461D;
    border-radius: 5px 5px;
    -webkit-border-radius: 5px 5px;
    -moz-border-radius: 5px 5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
    padding: 3px 10px;
  }
	h1 small {
		font-size: 35px;
	}
  h2 {
    font-weight: 200;
    margin-top: 0;
    margin-bottom: 10px;
  }
  
  .pointer {
    color: #9b59b6;
    font-family: 'Pacifico', cursive;
    font-size: 30px;
    margin-top: 15px;
  }

  .main {
    float: left;
    width: 100%;
    margin: 0 auto;
  }
  
  .main h1 {
    padding:150px 50px;
    float: left;
    width: 100%;
    font-size: 45px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    font-weight: 100;
    color: white;
    margin: 0;
  }
 
  .main h1.demo1 {
    background: #1ABC9C;
  }
  
  .reload.bell {
    font-size: 12px;
    padding: 20px;
    width: 45px;
    text-align: center;
    height: 47px;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
  }
  
  .reload.bell #notification {
    font-size: 25px;
    line-height: 140%;
  }
  
  .reload, .btn{
    display: inline-block;
    border: 4px solid #A2261E;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    background: #CC3126;
    display: inline-block;
    line-height: 100%;
    padding: 0.7em;
    text-decoration: none;
    color: #fff;
    width: 100px;
    line-height: 140%;
    font-size: 17px;
    font-family: open sans;
    font-weight: bold;
  }
  .reload:hover{
    background: #444;
  }
  .btn {
    width: 200px;
    color: rgb(255, 255, 255);
    border: 4px solid rgb(0, 0, 0);
    background: rgba(3, 3, 3, 0.75);
  }
  .clear {
    width: auto;
  }
  .btn:hover, .btn:hover {
    background: #444;
  }
  .btns {
    width: 410px;
    margin: 50px auto;
  }
  .credit {
    text-align: center;
    color: rgba(0,0,0,0.5);
    padding: 10px;
    width: 410px;
    clear: both;
  }
  .credit a {
    color: rgba(0,0,0,0.85);
    text-decoration: none;
    font-weight: bold;
    text-align: center;
  }
  
  .back {
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    display: block;
    padding: 7px;
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    background: rgba(255, 255, 255, 0.25);
    font-weight: bold;
    font-size: 13px;
    color: #000;
    -webkit-transition: all 500ms ease-in-out;
    -moz-transition: all 500ms ease-in-out;
    -o-transition: all 500ms ease-in-out;
    transition: all 500ms ease-in-out;
  }
  .back:hover {
    color: black;
    background: rgba(255, 255, 255, 0.5);
  }
  
  header {
    position: relative;
    z-index: 10;
  }
  .main section .page_container {
    position: relative;
    top: 25%;
    margin: 0 auto 0;
    max-width: 950px;
    z-index: 3;
  }
  .main section  {
    overflow: hidden;
  }
  
  .main section > img {
    position: absolute;
    max-width: 100%;
    z-index: 1;
  }
  
  .main section.page1 {
    background:#FFEBF1;
  }
  .main section.page1 h1 {
    text-align: center;
    padding: 0;
    margin-bottom: 15px;
    font-size: 70px;
    color: #E487A3;
  }
  .main section.page1 h2 {
    text-align: center;
    line-height: 160%;
	  color: black;
  }
	.main section.page1 img {
		margin-top: 30px;
	}
	.main section.page1 .headline {
		width: 435px;
	}

  .main section.page2 {
    background-image: url('../img/knizka.jpg');
    background-size: cover;
  }
  .main section.page2 .page_container {
      top: 5%;
      float:right;
      margin-right:15px; 
      overflow: hidden;
      color: rgba(255,245,242,0.85);
      font-size: 19px;
      text-align: justify;
  }
  .viewing-page-2 .back{
    background: rgba(0, 0, 0, 0.25);
    color: #FFF;
    }


  .main section.page3 {
    background-image: url('../img/bg3_new.jpg');
    background-size:cover;
    background-position: center bottom;
    color: white;
    text-shadow: 0 0 5px rgba(0,0,13,1.0);
  }
  .main section.page3 .page_container {
    overflow: hidden;
    width: 500px;
    right: -285px;
  }
  .main section.page3 h1 {
    text-align: left;
    padding: 0;
    margin-bottom: 0;
    font-size: 70px;
    letter-spacing: -1px;
  }
  .main section.page3 h2 {
    text-align: left;
    line-height: 160%;
  }

	.main section.page3 a {
		color: white;
		text-decoration: underline;
	}

	.main section.page4 .page_container {
		top: 10px;
	}
	.main section.page4 {
		background:#221133;
		background-image: url('../img/bg4.jpg');
		background-size:cover;
		background-position: center bottom;
		color: white;
	}

	.main section.page4 img{
		width:80%;
		max-width: 300px;
	}

	.main section.page4 h1 {
		text-align: left;
		padding: 0;
		margin-bottom: 15px;
		font-size: 70px;
		color: #E487A3;
	}
	.main section.page4 h2 {
		text-align: center;
		width: 435px;
		line-height: 160%;
		color: #E487A3;
	}

	.main section.page4 h1 {
		color: white;
	}


	body.disabled-onepage-scroll .onepage-wrapper  section {
    min-height: 100%;
    height: auto;
  }
  
  body.disabled-onepage-scroll .main section .page_container, body.disabled-onepage-scroll .main section.page3 .page_container  {
    padding: 20px;
    margin-top: 25px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  
  body.disabled-onepage-scroll  section .page_container h1{
    text-align: center;
    font-size: 50px;
  }
  body.disabled-onepage-scroll section .page_container h2, body.disabled-onepage-scroll section .page_container .credit, body.disabled-onepage-scroll section .page_container .btns{
    text-align: center;
    width: 100%;
  }
  
  body.disabled-onepage-scroll .main section.page1 > img {
    position: absolute;
    width: 80%;
    left: 10%;
  }
  
  body.disabled-onepage-scroll .main section > img {
    position: relative;
    max-width: 80%;
    bottom: 0;
  }
  body.disabled-onepage-scroll code {
    width: 95%;
    margin: 0 auto 25px;
    float: none;
    overflow: hidden;
  }
  
  body.disabled-onepage-scroll .main section.page3 .page_container {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    right: 0;
  }
  .social {
      position: fixed;
      right: 6px;
      top: 6px;
  }
  .social img {
      width: 30px;
  }

	@media (min-width: 769px) {
		.mobile-only {
			display: none;
		}
	}
	@media (max-width: 768px) {
		.desktop-only {
			display: none;
		}
		h1 small {
			font-size: 29px;
		}
		.main section.page1 img {
			margin-top: 0px;
		}
		.main section.page1 .headline {
			width: auto;
		}
	}

	  .button {
		  background: #DDDDDD;
		  border-top: 2px solid white;
		  border-bottom: 2px solid #AAAAAA;
		  border-left: 2px solid #CCCCCC;
		  border-right: 2px solid #CCCCCC;
		  font-weight: 800;
		  cursor: pointer;
		  box-shadow: 0 2px 2px rgba(50,50,70,0.5);
		  color: #333;
		  text-shadow: 0 -1px 0px rgba(255,255,255,0.5), 0px 1px 0px rgba(50,50,55,0.2);
	  }
	  .button:hover {
		  border-top: 2px solid #AAAAAA;
		  border-bottom: 2px solid white;
		  box-shadow: 0px 2px 2px rgba(50,50,70,0.5) inset;
		  color: black;
	  }
	  .circle {
		  border-radius: 100%;
		  width: 40px;
		  height: 40px;
		  text-align: center;
		  box-sizing: border-box;
		  padding-top: 4px;
		  font-size: 20px
	  }
      .btn-primary {
          text-transform: uppercase;
          background-color: royalblue;
          color: white;
          border: 1px solid darkblue;
          font-weight: bold;
          padding: 5px 10px;
          margin-bottom: 5px;
          margin-top: 5px;
      }
      .btn-primary:hover {
          cursor: pointer;
          box-shadow: 0 0 3px rgba(0,0,0,0.4);
      }



	.calendar-events {
		outline: 11px solid rgba(0,0,30,0.3);
		background: rgba(255,243,248,0.65);
		display: block;
		flex-flow: row wrap;
		justify-content: space-around;
		margin: 30px 30px 30px 30px;
		top: 0px;
	}
	.page2 {
		text-align: center;
	}

	.calendar-events {
		padding: 20px 20px 20px 20px;
		max-width: 1200px;
		height: 85%;
		-webkit-column-count: 3; /* Chrome, Safari, Opera */
		-moz-column-count: 3; /* Firefox */
		column-count: 3;
		overflow: auto;
		display: inline-block;
	}

	.calendar-event {
		text-align: left;
		border-top: 5px double rgba(0,0,0,0.5);
		width: 100%;
		display: inline-flex;
		font-size: small;
		line-height: 140%;
		font-weight: 400;

		padding: 3px 3px;
		margin-bottom: 13px;
		border-radius: 0 0 3px 3px;
		box-shadow: 0 1px 1px rgba(123,140,160,0.2);
	}
	.calendar-event:nth-child(4n+0) {  background-color: rgba(255,255,200,0.2);  }
	.calendar-event:nth-child(4n+1) {  background-color: rgba(255,200,200,0.2);  }
	.calendar-event:nth-child(4n+2) {  background-color: rgba(200,255,200,0.2);  }
	.calendar-event:nth-child(4n+3) {  background-color: rgba(200,255,255,0.2);  }

	.calendar-event .date {
		color: rgba(0,0,0,1);
		display: block;
		font-weight: 600;
		font-size: smaller;
	}

	.calendar-event p {
		margin: 0 0 0 7px;
		display: inline;
	}

	@media (max-width: 1250px) {
		.calendar-events {
			padding: 20px 20px 20px 20px;
			width: 750px;
			-webkit-column-count: 2; /* Chrome, Safari, Opera */
			-moz-column-count: 2; /* Firefox */
			column-count: 2;
		}
	}

	@media (max-width: 768px) {
		.page2 {
			overflow: auto;
		}
		.page2 > div {
			display: block;
			width: 74%;
			margin: 30px auto 30px auto;
			position: static;

		}

		.calendar-events {
			display: block;
			flex: none;
			max-height: 90vh !important;
			width: 100%;
			-webkit-column-count: 1; /* Chrome, Safari, Opera */
			-moz-column-count: 1; /* Firefox */
			column-count: 1;
		}

		.calendar-event {
			display: block;
			width: 100%;
		}
	}

