/*------------------------------------*\
GLOBAL
\*------------------------------------*/
body {
  background:url(../images/bg.jpg);
}
body.ovh {
  overflow: hidden;
}
body,
input,
textarea,
select,
button {
  font-size: 14px;
  line-height: 20px;
  font-family: 'Lora', serif;
  color:#000000;
}
a {
  text-decoration:none;
}
h1 {
  font-size: 50px;
  font-weight: normal;
  line-height: 50px;
}
/*------------------------------------*\
$BUTTONS
\*------------------------------------*/
.button {
  display: inline-block;
  vertical-align: middle;
  border: 0;
  margin: 0;
  padding: 0;
  background: none;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
}
/*------------------------------------*\
$HEADER
\*------------------------------------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding-bottom: 50px;
  text-align: center;
  background: url(../images/border.png) repeat-x 0 bottom;
  z-index:2000;
}
#header .back {
  float: left;
  padding:15px 0 15px 80px;
  font-weight: bold;
  font-size: 18px;
  line-height: 30px;
  position: relative;
  color: #fff;
}
#header .back:before {
  content: '';
  display: block;
  position: absolute;
  width: 60px;
  top: 0;
  left: 0;
  height: 60px;
  background: rgba(0,0,0,.3) url(../images/back.png) no-repeat 50% 50%;
  -webkit-background-size: 20px auto;
  background-size: 20px auto;
}
#header #logo {
  display: block;
  position: absolute;
  left: 50%;
  margin: 0 auto;
  height: 52px;
  padding: 12px 0 12px 58px;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  background: url(../images/logo.png) no-repeat 0 0;
  margin-top: 8px;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-background-size: 48px auto;
  background-size: 48px auto;
}
#header .hd-top {
  position: relative;
  background: url(../images/header-bg.png) repeat-x 0 0;
}
#header .fontstyle {
  float: right;
  width: 60px;
  height: 60px;
  background: rgba(0,0,0,.2);
  text-align: center;
  margin-left: 40px;
  font-size: 18px;
  font-weight: bold;
  font-style: italic;
}
#header .fontstyle span {
  padding: 13px 0 17px;
  display: block;
  line-height: 30px;
  background: url(../images/bubble.png) no-repeat 50% 50%;
}
#header .langbar {
  float: right;
}
#header .langbar a {
  float: left;
  padding: 15px 0;
  color: #fff;
  font-size: 18px;
  line-height: 30px;
  margin-left: 90px;
}
#header .langbar a:first-child {
  margin-left: 0;
}
#header .langbar .text {

}
/*------------------------------------*\
$FOOTER
\*------------------------------------*/
#footer {
}
/*------------------------------------*\
$DEFAULT-FORMATTING
\*------------------------------------*/
.def h1 {
  margin-bottom: 50px;
}
.def h2 {
  font-size: 40px;
  line-height: 40px;
  margin: 40px 0 20px;
}
.def h3 {
  font-size: 30px;
  line-height: 30px;
  margin: 30px 0 20px;
}
.def h1 + p:first-letter {
  font-size: 120px;
  line-height: 108px;
  font-style: italic;
  float: left;
  margin-right: 10px;
}
.def {
  font-size: 22px;
  line-height: 36px;
}
.def em {
  font-style:italic;
}
.def strong,
.def b {
  font-weight:bold;
}
.def em strong,
.def em b,
.def strong em,
.def strong b {
  font-style:italic;
  font-weight:bold;
}
.def i {
  font-style:italic;
}
.def p {
  margin:0 0 20px;
}
.def p:last-child {
  margin-bottom: 0;
}
.def a {
  text-decoration:underline;
}
.def ul,
.def ol {
  margin-bottom:20px;
  margin-left:20px;
}
.def ul {
  list-style-type:disc;
  clear:both;
}
.def ol {
  list-style-type:decimal;
  clear:both;
}
* html .def ol {
  margin-left:25px;
}
.def ul ol,
.def ol ol,
.def ul ul,
.def ol ul {
  margin-bottom:0px;
}
.def img {
  margin:20px;
  display:inline;
}
.def blockquote {
  padding:0 0 0 20px;
  margin:0 0 10px;
}
/*------------------------------------*\
$COLUMNS
\*------------------------------------*/
.col {
  float:left;
  min-height:1px;
}
/*------------------------------------*\
$OTHER
\*------------------------------------*/
.hidden {
  display:none;
}
.hidden2 {
  position:absolute;
  top:-2000px;
}
.lfloat {
  float:left;
}
.rfloat {
  float:right;
}
.sidefloat {
  display:table-cell;
  vertical-align:top;
  width:10000px;
  =display:block;
  =zoom:1;
  =width:auto;
}
.aleft {
  text-align:left;
}
.aright {
  text-align:right;
}
.clear {
  clear:both;
  display:block;
  height:0;
  overflow:hidden;
  width:0;
  visibility:hidden;
}
.clearfix:after {
  clear:both;
  content:' ';
  display:block;
  font-size:0;
  height:0;
  line-height:0;
  width:0;
  visibility:hidden;
}
.clearfix {
  display:inline-block;
}
* html .clearfix {
  height:1%;
}
.clearfix {
  display:block;
}
.no-underline {
  text-decoration:none !important;
}
.hidden {
  display:none;
}
/*------------------------------------*\
$CONTENTS
\*------------------------------------*/
#wrap {
  height: auto;
  width:100%;
  max-height:100%;
  padding-top: 110px;
}
.left {
  float: left;
  width: 45%;
  padding: 100px;
  min-height:930px;
}
.left.small {
  width: 40%;
  padding: 90px 100px 100px;
}
.left.wide {
  width: 65%;
  padding-top: 0;
}
.left.wide60 {
  width: 60%;
}
.right {
  float: right;
  width: 55%;
  min-height:930px;
  padding: 90px 100px 100px;
}
.right.wide {
  width: 60%;
}
.right.small {
  width: 35%;
}
.right.small40 {
  width: 40%;
}
.right.cats {
  background: url(../images/shadow.png) no-repeat 0 0;
  padding: 90px 100px 100px;
}
.right.list {
  padding: 90px 100px 80px 0;
}
.cats .item {
  display: block;
  background: #fff;
  font-size: 0;
  color: #000;
  white-space: nowrap;
  margin-top: 40px;
}
.cats .item:first-child {
  margin-top: 0;
}
.cats .item .img {
  display: inline-block;
  vertical-align: middle;
  width: 320px;
  position: relative;
}
.cats .item .img img {
  display: block;
  margin: 0 auto;
  max-width:100%;
}
.cats .item .text {
  font-size: 40px;
  line-height: 50px;
  white-space: normal;
  padding: 30px;
}
.cats .item .img + .text {
  margin-left: -320px;
  padding-left: 380px;
  width: 100%;
  display: inline-block;
  vertical-align: middle;
}
.right.list {
  padding: 90px 100px 80px 0;
}
.list .items {
  font-size: 0;
  margin: 0 0 -5% -5%;
}
.list .item {
  display: inline-block;
  vertical-align: top;
  background: #ffffff;
  color: #000;
  font-size: 36px;
  line-height: 40px;
  margin: 0 0 5% 5%;

  /*width: 28.333333%;*/
  width: 45%;

  text-align: center;
}
.right.small.list .item {
  width: 44%;
}
.list .item .img {
  overflow: hidden;
  width: 100%;
}
.list .item .img img {
  display: block;
  max-width:100%;
}
.list .item .text {
  padding: 30px 20px;
}
.tags {
  font-size: 0;
  margin: -20px 0 0 -20px;
  padding-bottom: 20px;
  z-index:1999;
  background: url(../images/bg.jpg);
}
.tags.fixed {
  margin-top: -20px;
}
.tags a {
  display: inline-block;
  vertical-align: top;
  border: 1px solid #b3ab8c;
  padding: 4px 19px;
  font-size: 24px;
  line-height: 30px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  color: #000;
  background: rgba(255,255,255,.2);
  margin: 20px 0 0 20px;
}
.tags a.active {
  background: #fff;
}
.textpage {
  padding: 100px 100px 0;
  margin: 0 -100px;
  background: url(../images/textpage-shadow.png) no-repeat 0 0;
}
.gallery {
  max-height:calc(100% - 150px);
  overflow: auto;
}
.right .image img {
  display: block;
  max-width:100%;
  margin: 0 auto;
  border: 10px solid #fff;
  cursor: pointer;
}
.elsewhere {
  margin-top: 40px;
}
.elsewhere h2 {
  font-size: 36px;
  line-height: 40px;
  font-weight: normal;
  margin-bottom: 20px;
}
.elsewhere .cycle-slideshow {
  list-style: none;
  font-size: 0;
  margin: -5px 0 0 -5px;
}
.elsewhere .cycle-slideshow a {
  display: inline-block;
  vertical-align: top;
  padding: 5px;
}
.elsewhere .cycle-slideshow a img {
  display: block;
  width:100%;
  border: 10px solid #fff;
}
.dialog {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-height: 100%;
  overflow: auto;
  padding-top: 30px;
  padding-bottom: 20px;
  z-index:2000;
}
.dialog .box {
  width: 1200px;
  margin: 0 auto;
  background: #fff;
  position: relative;
  padding: 100px;
  max-width:100%;
}
.dialog .box .mdl-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: url(../images/mdl-close.png) no-repeat 0 0;
}
.dialog .box .content {
  font-size: 22px;
  line-height: 36px;
}
.dialog .box .content img {
  display: block;
  margin: 0 auto 30px;
  max-width:100%;
}
.dialog .box .content h3 {
  font-size: 40px;
  line-height: 40px;
  margin-bottom: 10px;
  font-weight: normal;
}
.dialog .box .content p {
  margin-bottom: 20px;
}
.dialog .box .content p:last-child {
  margin-bottom: 0;
}
.dialog .box .nav .item {
  position: absolute;
  top: 50%;
  margin-top: -40px;
  width: 80px;
  height: 80px;
  cursor: pointer;
}
.dialog .box .nav .item.previous {
  background: #dddddd url(../images/gal-mdl-prev.png) no-repeat center center;
  left: 0;
}
.dialog .box .nav .item.next {
  background: #dddddd url(../images/gal-mdl-next.png) no-repeat center center;
  right: 0;
}
@media only screen and (width:1920px) and (height:1080px) {
  #wrap {
    min-height: 1080px;
  }
}
@media only screen and (max-width:1700px) {
  h1 {
    font-size: 60px;
    line-height: 60px;
  }
  .cats .item .img {
    width: 240px;
  }
  .cats .item .text {
    padding: 20px;
  }
  .cats .item .img + .text {
    margin-left: -240px;
    padding-left: 280px;
  }
  .cats .item .text {
    font-size: 30px;
    line-height: 40px;
  }
  .left.small {
    width: 40%;
  }
  .right.wide {
    width: 60%;
  }
  .def {
    font-size: 18px;
    line-height: 30px;
  }
  .def h1 + p:first-letter {
    font-size: 98px;
    line-height: 90px;
  }
  .textpage {
    -webkit-background-size: 100% auto;
    background-size: 100% auto;
  }
  .list .item {
    font-size: 24px;
    line-height: 30px;
  }
  .list .item .text {
    padding: 20px;
  }
}
@media only screen and (max-width:1500px) {
  #header .langbar a {
    font-size: 18px;
    margin-left: 40px;
  }
  .cats .item .text {
    font-size: 24px;
    line-height: 30px;
  }
  .left.small {
    width: 45%;
  }
  .right.wide {
    width: 55%;
  }
  .right.small,
  .left.wide {
    padding: 50px;
  }
  .textpage {
    padding: 50px;
    margin: 0 -50px;
  }
  .right.list {
    padding: 50px 50px 50px 0;
  }
  .list .item {
    font-size: 18px;
    line-height: 20px;
  }
}
@media only screen and (max-width:1300px) {
  .cats .item .img {
    width: 180px;
  }
  .cats .item .text {
    padding: 10px 20px;
  }
  .cats .item .img + .text {
    margin-left: -180px;
    padding-left: 200px;
  }
}
@media only screen and (max-width:1200px) {
  .def {
    font-size: 16px;
    line-height: 25px;
  }
  .def h1 + p:first-letter {
    font-size: 75px;
    line-height: 75px;
  }
  .left.small,
  .right.cats {
    padding: 40px 50px 50px;
    min-height:1px;
  }
  .right.cats {
    min-height:465px;
    -webkit-background-size: 50px auto;
    background-size: 50px auto;
  }
  #header .langbar a {
    font-size: 16px;
  }
  #header .back {
    font-size: 20px;
    padding-left: 80px;
  }
  #header .back:before {
    width: 60px;
    -webkit-background-size: 18px auto;
    background-size: 18px auto;
  }
}
@media only screen and (max-width:1024px) {
  #content {
    position:relative;
    top:-35px;
  }
  h1 {
    font-size: 40px;
    line-height: 40px;
  }
  .def {
    font-size: 14px;
    line-height: 20px;
  }
  .def h1 {
    margin-bottom: 20px;
  }
  .def h1 + p:first-letter {
    font-size: 60px;
    line-height: 60px;
  }
  .def h2,
  .elsewhere h2 {
    font-size: 30px;
    line-height: 30px;
    margin: 30px 0 15px;
  }
  .def h3 {
    font-size: 20px;
    line-height: 20px;
    margin: 20px 0 10px;
  }
  #header {
    padding-bottom: 25px;
    -webkit-background-size: auto 25px;
    background-size: auto 25px;
  }
  #header .back {
    text-indent: -99999px;
    overflow: hidden;
    width: 50px;
    padding: 10px 0 10px 50px;
    font-size: 14px;
  }
  #header .back:before {
    width: 50px;
    height: 50px;
    -webkit-background-size: 15px auto;
    background-size: 15px auto;
  }
  #header #logo {
    margin-top: 0;
    height: 50px;
    left: 60px;
    padding: 15px 0 15px 40px;
    -webkit-background-size: 30px auto;
    background-size: 30px auto;
    background-position: 0 50%;
    -webkit-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
  }
  #header .langbar a {
    padding: 10px 0;
    font-size: 14px;
  }
  #header .fontstyle {
    height: 50px;
    width: 50px;
  }
  #header .fontstyle span {
    padding: 8px 0 12px;
    font-size: 14px;
    -webkit-background-size: 30px auto;
    background-size: 30px auto;
  }
  #header .hd-top {
    background-position: 0 bottom;
  }
  .cats .item .text {
    font-size: 16px;
    line-height: 20px;
    padding: 0 20px;
  }
  .cats .item .img {
    width: 120px;
  }
  .cats .item .img + .text {
    margin-left: -120px;
    padding-left: 140px;
  }
  .left,
  .right,
  .left.wide,
  .right.wide,
  .left.small,
  .right.small,
  .right.cats {
    padding: 20px 30px 30px;
  }
  .textpage {
    margin: 0 -30px;
    padding:60px 30px 30px;
  }
  .right.cats {
    min-height:282px;
    -webkit-background-size: 30px auto;
    background-size: 30px auto;
  }
  .tags a {
    font-size: 16px;
  }
  .dialog .box {
    padding: 40px;
  }
  .dialog .box .mdl-close {
    width: 30px;
    height: 30px;
    -webkit-background-size: 100%;
    background-size: 100%;
  }
  .dialog .box .content h3 {
    font-size: 20px;
    line-height: 20px;
  }
  .dialog .box .content {
    font-size: 14px;
    line-height: 20px;
  }
  .list .item {
    width: 45%;
  }
}
@media only screen and (max-width:767px) {
  .left,
  .right,
  .right.small,
  .right.wide,
  .left.small,
  .left.wide,
  .left.wide60 {
    min-height:1px;
    float: none;
    width: auto;
  }
  .right.cats {
    padding-top: 60px;
    background: url(../images/textpage-shadow.png) no-repeat 0 0;
    -webkit-background-size: 100% auto;
    background-size: 100% auto;
  }
  .right.small40 {
    width: auto;
  }
  .elsewhere ul li {
    width: 23%;
  }
  .tags {
    margin: -10px 0 20px -10px;
  }
  .tags a {
    font-size: 14px;
    padding: 0 10px;
    margin: 10px 0 0 10px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
  }
  .elsewhere h2 {
    font-size: 20px;
    line-height: 20px;
  }
  .dialog .box {
    padding: 40px 10px 20px;
  }
}
@media only screen and (max-width:480px) {
  #header .fontstyle {
    margin-left: 20px;
  }
  #header .langbar a {
    margin-left: 20px;
    font-size: 12px;
  }
  .elsewhere ul li {
    width: 48%;
  }
  #header .fontstyle {
    display: none;
  }
  #header .langbar {
    margin-right: 10px;
  }
  .dialog .box .nav .item.next,
  .dialog .box .nav .item.previous {
    width: 30px;
    background-color: rgba(0,0,0,.2);
    -webkit-background-size: 10px auto;
    background-size: 10px auto;
  }
}
@media only screen and (max-width:420px) {
  #header #logo {
    text-indent: -9999px;
    overflow: hidden;
  }
}