@font-face {
  font-family: boszicht;
  font-weight: normal;
  font-style: normal;
  src: url('/styles/fonts/boszicht.eot?1525884');
  src: url('/styles/fonts/boszicht.eot?1525884#iefix') format('embedded-opentype'),
  url('/styles/fonts/boszicht.woff2?1525884') format('woff2'),
  url('/styles/fonts/boszicht.svg?1525884#boszicht') format('svg'),
  url('/styles/fonts/boszicht.otf?1525884') format('opentype'),
  url('/styles/fonts/boszicht.ttf?1525884') format('truetype'),
  url('/styles/fonts/boszicht.woff?1525884') format('woff');
}
html, body {
  background: #f6edbc;
  color: #3e270f;
  margin:0;
  font-size: 16px;
  font-family: 'Comfortaa';
}
main {
  width:100%;
}
section {
    padding: 25px calc(50% - 600px);
}
section > div {
  width:100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}
.lg
{
  background: #fcf9e9;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Lobster Two' !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  margin:0;
  padding:0;
}
h1 {
  color: #4e2a14;
  font-size: 2.5rem;
  margin: 25px 0 10px 0;
  text-align: center;
}
h1#pt {
  color: white;
  text-shadow: 2px 2px #222222;
}
h2 {
  font-size: 2rem;
  color: #4e2a14;
  margin-bottom: 20px;
}
h3 {
  font-size:1.5rem;
}
p {
  text-align:justify;
  line-height: 20px;
}
button, input[type=submit] {
    background:#4e2a14;
    padding: 6px;
    border-radius: 7px;
    border: none;
    color: white;
    cursor:pointer;
}
a, a:hover, a:active, a:visited {
  color: #004c8e;
  text-decoration:none;
}
a:hover {
  text-decoration: underline;
}
.cf:after {
  clear: both;
  content: "";
  display: block;
}
.center { text-align: center; }
.table { display: table; }
.row { display: table-row; }
.cell { display: table-cell; }
.table, .row, .cell { vertical-align: top; }
#top {
  display:none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: rgba(0,0,0,0.3);
  color: white;
  cursor: pointer;
  border-radius: 25px;
  width:50px;
  height:50px;
}

body > header {
  position: relative;
}

#nv {
  color: #fff;
  text-align:center;
  width:100%;
  height: 70px;
  line-height: 70px;
  z-index:2147483646;
  position: fixed;
  top:0;
  background: url('/images/rep.png');
}
#nv_ct {
  margin:auto;
  width:100%;
  max-width:936px;
}
#nv_lg {
  background: url('/images/logo/64.png');
  background-size: contain;
  display: inline-block !important;
  height: 57px;
  width: 57px;
  margin-top: 6px;
  margin-left: 5px;
  padding:0 !important;
}
#nv a {
  display:block;
  padding: 0 10px;
  box-sizing:border-box;
}
#nv a, #nv a:visited, #nv a:hover, #nv a:active {
  color: #fff;
  text-decoration:none;
}
#nv_ct > ul {
  vertical-align: top;
  display:inline-block;
}
#nv ul, #nv li {
  list-style: none;
  margin:0;
  padding:0;
  background: url('/images/rep.png') repeat-x !important;
}
#nv_ct > ul > li {
  display:inline-block;
  vertical-align: top;
}
#nv ul li a:hover, #nv ul li a:active, #nv_ct > ul > li.active > a {
  background: url('/images/rep_lg.png'); /* #fcf9e9;
  color: #4e2a14 !important;*/
}

#nv_ct > ul > .nv_pr:hover > a:after {
  content: '\e800';
}

.nv_pr > a:after {
  content: '\e801';
  font-family: 'boszicht';
  margin-left: 10px;
  vertical-align: top;
  display:inline-block;
}
#nv_mb {
  display:none;
  border:none;
  color:white;
  font-family: "Verdana";
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  padding-right:15px;
}
/* dropdown */
#nv_ct > ul > li > ul {
  max-height:0px;
  overflow:hidden;
  transition:max-height 0.25s ease-out;
  text-align:left;
  background: url('/images/rep.png');
  line-height:45px;
}
#nv_ct > ul > li > ul > li {
  border-top: 1px solid #fcf9e9;
}

#slides-main {
    position: relative;
    list-style: none;
    width: 100%;
    padding: 0;
    margin:0;
}

#slides-main li {
    -webkit-transition: opacity 1000ms linear;
    position: absolute;
    display: block;
    width: 100%;
    left: 0;
    top: 0;
    opacity:0;
    height: inherit;
}

#slides-main li.active {
    opacity: 1;
}

@media screen and (max-width: 600px) {
    #slides-main  { height: 215px; }
    #slides-main li[data-id="0"] { background-image: url("/images/slides/main/1/600x215.jpg"); }
    #slides-main li[data-id="1"] { background-image: url("/images/slides/main/2/600x215.jpg"); }
}

@media screen and (max-width: 900px) and (min-width: 601px) {
    #slides-main  { height: 275px; }
    #slides-main li[data-id="0"] { background-image: url("/images/slides/main/1/900x275.jpg"); }
    #slides-main li[data-id="1"] { background-image: url("/images/slides/main/2/900x275.jpg"); }
}

@media screen and (max-width: 1200px) and (min-width: 901px) {
    #slides-main  { height: 325px; }
    #slides-main li[data-id="0"] { background-image: url("/images/slides/main/1/1200x325.jpg"); }
    #slides-main li[data-id="1"] { background-image: url("/images/slides/main/2/1200x325.jpg"); }
}

@media screen and (max-width: 1800px) and (min-width: 1201px) {
    #slides-main  { height: 400px; }
    #slides-main li[data-id="0"] { background-image: url("/images/slides/main/1/1800x400.jpg"); }
    #slides-main li[data-id="1"] { background-image: url("/images/slides/main/2/1800x400.jpg"); }
}

@media screen and (min-width: 1801px) {
    #slides-main  { height: 500px; }
    #slides-main li[data-id="0"] { background-image: url("/images/slides/main/1/2400x500.jpg"); }
    #slides-main li[data-id="1"] { background-image: url("/images/slides/main/2/2400x500.jpg"); }
}

#slsh {
  position: relative;
  list-style: none;
  width: 100%;
  padding: 0;
  margin:0;
  margin: 70px 0 0 0;
}
#slsh li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  opacity:0;
}
#slsh img {
  display: block;
  height: auto;
  width: 100%;
}

#pt {
  position: absolute;
  top: -16px;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  margin: auto;
  font-size: 60px;
  padding:0 25px;
  z-index: 2;
}
@media screen and (max-width:1024px) {
  #pt {
    font-size: 50px;
    top: -25px;
  }
}
@media screen and (max-width:768px) {
  #pt {
    font-size: 40px;
    top: -20px;
  }
}
@media screen and (max-width:600px) {
  #pt {
    font-size: 32px;
    top: -16px;
  }
}
#mftr {
  background:#4e2a14;
  width:100%;
  color:#fff;
  font-size: 0.9rem;
}
#mftr > #footer1 {
  padding:15px;
}
#mftr a, #mftr a:visited, #mftr a:active, #mftr a:hover {
  color:#fff;
}
#mftr a:hover {
  text-decoration: underline;
}
#mftr > #footer1 > #address {
  line-height:22px;
}
#mftr > #footer1 > #address,
#mftr > #footer1 > #tel,
#mftr > #footer1 > #mail {
  margin-bottom: 20px;
}
#mftr > #footer1 > #address:before,
#mftr > #footer1 > #tel:before,
#mftr > #footer1 > #mail:before {
  font-family: 'boszicht';
  font-size: 22px;
  float: left;
  padding-right: 12px;
  width:25px;
  text-align: center;
}
#mftr > #footer1 > #tel > a,
#mftr > #footer1 > #mail > a {
  display:inline-block;
  margin-top:5px;
}
#mftr > #footer1 > #address:before {
  content: '\e807';
  padding-top: 11px;
}
#mftr > #footer1 > #tel:before {
  content: '\e808';
}
#mftr > #footer1 > #mail:before {
  content: '\e809';
}
#mftr > #footer2 {
  padding:15px;
  background: #261409;
}
#mftr > #footer2 a {
  padding:5px 10px;
}
#cpr {
  font-size:12px;
  float:right;
  line-height:17px;
}

@media screen and (max-width:468px) {
  #rgl a { display: block; }
}

@media screen and (max-width:688px) {
  #cpr {
    float:left;
    margin-top:20px;
  }
}

@media screen and (max-width:909px) {
  #slsh {
    margin-top:0;
  }
  #nv {
    position: relative;
    height:54px;
    line-height: 54px;
  }
  #nv_lg {
    background: url('/images/logo/48.png');
    background-size: contain;
    height: 46px;
    width: 46px;
    margin-top: 4px;
    margin-left:4px;
    float:left;
  }
  #nv_ct > ul {
    width:100%;
  }
  #nv_mb {
    display: block;
    float:right;
  }
  #nv_hs {
    display:none;
  }
  h2 {
    font-size: 1.5rem;
  }
  .nv_pr > a {
    margin-left:51px;
  }
  .nv_pr > a:after {
    display:none;
  }
  .nv_ar:after {
    content: '\e801';
    font-family: 'boszicht';
    vertical-align: top;
  }
  .nv_ar.up:after {
    content: '\e800';
  }
  .nv_ar {
    cursor:pointer;
    float:left;
    width:50px;
    text-align:center;
    border-right:1px solid #fcf9e9;
  }
  .nv_ar.hover {
    background: #738F9B;
  }
  #nv_ct > ul {
    line-height:50px;
    overflow:hidden;
    max-height:0px;
    transition:max-height 0.5s ease-out;
    text-align:left;
  }
  #nv_ct > ul > li {
    width:100%;
    border-top: 1px solid #fcf9e9;
  }
  #nv_ct > ul > li > ul {
    max-height:0px;
    overflow:hidden;
    transition:max-height 0.5s ease-out;
    width:100%;
  }
  #nv_ct > ul > li > ul > li > a {
    padding-left:66px;
  }
}

@media screen and (max-width:1210px) {
  section {
    padding-left: 10px;
    padding-right:  10px;
  }
}
