/* @override 
	http://tomi.hmgdev.com/css/style.css
	http://rowing.hmgdev.com/css/style.css */


/* @group Reset */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}
html {
  height: 100%;
}
body {
  line-height: 1.38em;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

nav ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

/* change colours to suit your needs */

ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

/* change colours to suit your needs */

mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title], dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* change border colour to suit your needs */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

input, select {
  vertical-align: middle;
}

/* @end */

/* @group General */

body {
  position: relative;
  margin: 0;
  padding: 0;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 38.3%, #fefefe 88.7%) bottom / cover fixed, url('../img/header.jpg') center center / cover fixed;
  display: flex;
  flex-direction: column;
}

.content {
  position: relative;
  width: 100%;
  max-width: 1220px;
  flex: 1 0 auto;
  margin: auto;
}

h1 {
  font-family:"Big Shoulders Display";
  font-weight:700;
  font-size: 55px;
  text-align: center;
  line-height: 1.38em;
  margin: .5em 0;
  padding: 0;
}
h2 {
  font: 40px/1.38em "Big Shoulders Display";
  font-weight: normal;
  text-align: center;
 
  margin: 0;
  margin-bottom: 1em;
  padding: 0;
}
h3 {
  font-family: Oswald;
  font-weight: normal;
 
  text-align: center;
  margin: 5px 0;
  padding: 0;
  z-index: 1;
  position: relative;
  line-height: 1.38em;
}
p {
  line-height: 1.38em;
  
  margin: 1em 0;
}
ul {
  
  margin-left: 2em;
  margin-top: .5em;
  margin-bottom: .5em;
}
ul li {
  line-height: 1.38em;
}
.center {
  margin: 0 auto;
}
#preamble {
}
.logo-top,
.logo-bottom{
  display: block;
  width: 100px;
  margin-top: 2em;
}
.logo-bottom {
  margin-top: 0;
  margin-bottom: 2em;
}

.left {
  float: left;
}
.right {
  float: right;
}

.text-blocks {
  display: flex;
  margin-top: 8em;
  position: relative;
  width: 100%;
  clear: both;
  overflow: auto;
  font-family: "Big Shoulders Text";
  font-weight: 200;
  font-size: 1.1em;
}
.text-blocks #croatian {
  width: 100%;
}

.text-blocks a {
  color: #333;
}
.cut-left {
  position: absolute;
  box-sizing: border-box;
  background-color: rgba(255,255,255,.86);
  padding-left: 1em;
  width: 58%;
  height: 420px;
  clip-path: polygon(0 0, 96% 0, 63% 100%, 0% 100%);
}
.cut-left:before {
  min-height: 100%;
  height: 100%;
  width: 100%;
  float: right;
  content: " ";
  shape-outside: polygon(90% 0, 62% 108%, 100% 100%);
  shape-margin: 1em; 
}

.cut-right {
  float: right;
  text-align: right;
  box-sizing: border-box;
  background-color: rgba(255,255,255,.9);
  padding-right: 1em;
  width: 58%;
  height: 420px;
  clip-path: polygon(33% 0, 100% 0, 100% 100%, 0% 100%);
}
.cut-right:before {
  height: 100%;
  width: 100%;
  float: left;
  content: " ";
  shape-outside: polygon(33% 0%, 0% 0%, 0% 100%);
  shape-margin: 1em;
}

/* @end */

/* @end */

/* @group Video */
#video {
   margin-top: 5em;
  margin-bottom: 0em;
  text-align: center;
}
#video video {
  width: 100%;
  max-width: 960px;
  margin: auto;
  display: block;
  border: 1px solid #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}

/* @end */

/* @group Gallery */
#images {
  text-align: center;
  margin-top: 8em;
  margin-bottom: 8em;
}
#images ul {
  max-width: 1200px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
#images ul li {
  list-style: none;
  margin: 1em;
}
#images a {
  display: block;
  border: 5px solid #fff;
  box-shadow: -6px 5px 5px rgba(0, 0, 0, 0.43);
}
#images a img {
  display: block;
}


/* @end */
#post {
border-top: 8px solid #fff;
min-height: 400px;
height: 400px;
background: url('../img/I-rowed-in-croatia-will-you-silhouettes.jpg') center center no-repeat scroll;
background-size: cover;

}
#post h1 {
  color: #fff;
  text-shadow: 0 0 11px black;
}
/* @group Footer */
footer {
  flex-shrink: 0;
  color: #fff;
  font-family:"Wellfleet";
  background-color: rgb(33, 64, 125);
  padding: 25px 100px;
}
footer p {
    font-size: .65em;
}
#address {
  float: left;
  width: 50%;
  text-align: left;
}
#copyright {
  clear: both;
  text-align: right;
}
#copyright a {
  text-decoration: none;
  color: #fff;
}
.links {
  float: right;
  width: 50%;
  text-align: right;
}
.links a {
  display: block;
  color: #fff;
}
/* @end */
@media screen and (max-width : 1120px) {
  .text-blocks {
    display: flex;
    margin: auto;
  }
  .cut-left {
    clip-path: polygon(0 0, 94% 0, 62% 100%, 0% 100%);
  }
  .cut-left:before {
    shape-outside: polygon(90% 0, 62% 108%, 100% 100%);
  }
  
  .cut-right {
    clip-path: polygon(33% 0, 100% 0, 100% 100%, 0% 100%);
  }
  .cut-right:before {
    shape-outside: polygon(33% 0%, 0% 0%, 0% 100%);
   }
}
@media screen and (max-width : 900px) {
   .cut-left {
     height: 500px;
   }
   .cut-right {
     height: 500px;
   }
}
@media screen and (max-width : 768px) {
  body {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 38.3%, #fefefe 88.7%) bottom / cover fixed, url('../img/header.jpg') center center / cover fixed;

  }
  
  /* @group Text Blocks */
  
  .text-blocks {
     margin-top: 2em;
     flex-direction: column;
   }
  .text-blocks #english {
    order: 2;
  }
  .text-blocks #croatian {
    order: 1;
  }
   .cut-left {
   display: block;
   position: relative;
   box-sizing: border-box;
   background-color: rgba(255,255,255,.86);
   padding-left: 1em;
   padding-top: 1em;
   padding-bottom: 1em;
   width: 100%;
   height: auto;
   clip-path: polygon(0 0, 100% 10%, 100% 100%, 0% 100%);
   }
   .cut-left:before {
    display: none;
   }
    .cut-left h1{
      text-align: left;
   }
   .cut-right {
     box-sizing: border-box;
     float: none;
     text-align: right;
     box-sizing: border-box;
     background-color: rgba(255,255,255,.9);
     padding-right: 1em;
     padding-bottom: 1em;
     width: 100%;
     height: auto;
     clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 90%);
   }
   .cut-right:before {
     display: none;
   }
   .cut-right h1 {
     text-align: right;
     padding-top: .25em;
   }
  
  /* @group Images */
  #images a {
    border: 3px solid #fff;
  }
    #images a img {
    max-width: 75px;
  }
  
  /* @end */
  
  /* @group Footer */
  footer {
    display: flex;
    flex-direction: column;
  }
  #address {
    width: 100%;
   text-align: center;
  }
  .links {
    margin-top: 2em;
    width: 100%;
    text-align: center;
  }
  #copyright {
    margin-top: 2em;
   text-align: center;
  }
  /* @end */
  
  /* @end */
}