/* SETTINGS
==============================================*/
@viewport {
  zoom: 1.0;
  width: extend-to-zoom;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video,
input, button, textarea {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.24;
  font-family: sans-serif;
}
nav ol,
nav ul,
.menu ol,
.menu ul,
.submenu ol,
.submenu ul {
  list-style: none;
}
nav li,
.menu li,
.submenu li {
  display: inline-block;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
b,strong {
  font-weight: bold;
}
img {
  display: block;
}
img, embed, object, video {
  max-width: 100%;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}
button,
input,
textarea {
  -webkit-appearance: none;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}
a,
button,
input,
textarea,
img {
  outline: none;
}
textarea {
  resize: none;
  padding: 5px;
}

.clear:after {clear: both;content: '';display: block;font-size: 0;line-height: 0;visibility: hidden;width: 0;height: 0}
/* SETTINGS
==============================================*/

/* UNIVERSAL
==============================================*/
body {
  background: url('../img/footer_1.png') repeat-x fixed center bottom, url('../img/header.png') no-repeat fixed 80% 100%, url('../img/footer_2.png') repeat-x fixed center 98%, url('../img/header_2.png') no-repeat fixed 10% 98%, url('../img/footer_3.png') repeat-x fixed center 97%;
  background-size: 350px auto;
}
p {
  margin: 10px 0;
}
p:before {
  content: "";
  padding: 0 0 0 20px;
}

a:link,
a:visited {
  color: #000;
  font-weight: bold;
  text-decoration: none;
}
a:hover,
a:active {
  color: #000;
  text-decoration: underline;
}

button {
  background: #7db9e8;
  background: -moz-linear-gradient(top,  #7db9e8 0%, #207cca 49%, #2989d8 50%, #1e5799 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7db9e8), color-stop(49%,#207cca), color-stop(50%,#2989d8), color-stop(100%,#1e5799));
  background: -webkit-linear-gradient(top,  #7db9e8 0%,#207cca 49%,#2989d8 50%,#1e5799 100%);
  background: -o-linear-gradient(top,  #7db9e8 0%,#207cca 49%,#2989d8 50%,#1e5799 100%);
  background: -ms-linear-gradient(top,  #7db9e8 0%,#207cca 49%,#2989d8 50%,#1e5799 100%);
  background: linear-gradient(to bottom,  #7db9e8 0%,#207cca 49%,#2989d8 50%,#1e5799 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7db9e8', endColorstr='#1e5799',GradientType=0 );
  color: #fff;
  font-weight: bold;
  border: 1px solid #000;
  border-radius: 6px;
  padding: 3px 10px;
  cursor: pointer;
}
button:hover {
  background: #1e5799;
  background: -moz-linear-gradient(bottom,  #7db9e8 0%, #207cca 49%, #2989d8 50%, #1e5799 100%);
  background: -webkit-gradient(linear, left bottom, left top, color-stop(0%,#7db9e8), color-stop(49%,#207cca), color-stop(50%,#2989d8), color-stop(100%,#1e5799));
  background: -webkit-linear-gradient(bottom,  #7db9e8 0%,#207cca 49%,#2989d8 50%,#1e5799 100%);
  background: -o-linear-gradient(bottom,  #7db9e8 0%,#207cca 49%,#2989d8 50%,#1e5799 100%);
  background: -ms-linear-gradient(bottom,  #7db9e8 0%,#207cca 49%,#2989d8 50%,#1e5799 100%);
  background: linear-gradient(to top,  #7db9e8 0%,#207cca 49%,#2989d8 50%,#1e5799 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=0 );
}
button:disabled {
  color: #000;
  cursor: auto;
  background: #7db9e8;
  background: -moz-linear-gradient(top,  #7db9e8 0%, #207cca 49%, #2989d8 50%, #1e5799 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7db9e8), color-stop(49%,#207cca), color-stop(50%,#2989d8), color-stop(100%,#1e5799));
  background: -webkit-linear-gradient(top,  #7db9e8 0%,#207cca 49%,#2989d8 50%,#1e5799 100%);
  background: -o-linear-gradient(top,  #7db9e8 0%,#207cca 49%,#2989d8 50%,#1e5799 100%);
  background: -ms-linear-gradient(top,  #7db9e8 0%,#207cca 49%,#2989d8 50%,#1e5799 100%);
  background: linear-gradient(to bottom,  #7db9e8 0%,#207cca 49%,#2989d8 50%,#1e5799 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7db9e8', endColorstr='#1e5799',GradientType=0 );
}

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

.none {
  display: none;
  position: absolute;
  left: -9999999px;
  bottom: -9999999px;
}

.count_1 {
  width: 100%;
}
.count_2 {
  width: 50%;
}
.count_3 {
  width: 34%;
}
.count_3:first-child,
.count_3:last-child {
  width: 33%;
}
.count_4,
.count_8 {
  width: 25%;
}
.count_5 {
  width: 20%;
}
.count_6 {
  width: 16.5%;
}
.count_7 {
  width: 14.28571%;
}
.count_7:first-child,
.count_7:last-child {
  width: 14.288%;
}
/* UNIVERSAL
==============================================*/

/* LOADING
==============================================*/
#imloading {
  position: fixed;
  top:0;
  left:0;
  z-index: 1000;
  height: 100%;
  width: 100%;
}
.loadingTop,
.loadingBottom {
  background-color: #807878;
  background-repeat: repeat;
  background-image: url('../img/all.jpg');
  height: 50%;
}
.loadingTop {
  background-position: center bottom;
}
.loadingBottom {
  width: 100%;
  background-position: center top;
  position:absolute;
  bottom: 0;
}
#imloading .nowLoading {
  position: absolute;
  top:0;
  left:0;
  display: table;
  height: 100%;
  width: 100%;
}
#imloading .textcontainer {
  text-align: center;
  vertical-align: middle;
  display: table-cell;
  height: 100%;
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
}
#imloading .textblob {
  display: inline-block;
  background: rgb(0,0,0);
  background: rgba(0,0,0, .9);
  width: 50%;
  overflow: hidden;
  position: relative;
  line-height: 2.5;
  border: 10px solid rgb(122,122,122);
  border: 10px solid rgba(122,122,122, .5);
  border-radius: 25px;
}
#imloading .textOne,
#imloading .textTwo {
  color: #fff;
  font-size: 300%;
  font-weight: bold;
}
#imloading .textTwo {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 1%;
  right: 1%;
}
/* LOADING
==============================================*/


/* HEADER
==============================================*/
.scrollImg {
  display: block;
  width: 100%;
  height: 500px;
  background:#fff url('../img/header.png') no-repeat fixed 80% -10px;
}
/* HEADER
==============================================*/



/* MENU
==============================================*/
.menuContainer {
  position: absolute;
  top: 0;
  z-index: 10;
  display: block;
  width: 100%;
  text-align: center;
}
.menu {
  display: block;
  width: 800px;
  margin: 0 auto;
}
.menu li a {
  display: block;
  line-height: 2.5;
  font-size: 125%;
  text-align: center;
  text-transform: uppercase;
  position: relative;
  background: #000;
  color: #fff;
}
.menu li a:hover {
  background: #800;
  text-decoration: none;
}
.menu li a:after,
.menu li a.selected:after {
/*  content: '';
  height: 0;
  width: 0;
  line-height: 0;
  display: block;
  margin: 0 auto;
  position: absolute;
  right: 0;
  left: 0;*/
}
.menu li a:after {
/*  content: '';
  height: 0;
  width: 0;
  line-height: 0;
  display: block;
  border-top: none;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #fff;
  border-left: 8px solid transparent;
  bottom: 0;*/
}

.menu li a.selected {
  background: #f00;
  cursor: default;
}
.menu li a.selected:after {
  border-top: 8px solid #f00;
  border-right: 8px solid transparent;
  border-bottom: none;
  border-left: 8px solid transparent;
  bottom: -8px;
}
.menuContainer.active {
  position: fixed;
}

.submenu {
  width: 100%;
  display: block;
  margin-top: -10px;
}
.submenu li {
  text-align: center;
  background: #f00;
}
.submenu li a {
  display: block;
  line-height: 1.75;
  font-size: 110%;
}
.submenu li a:hover {
  background: #f88;
}
.submenu li a.selected {
  background: #000;
  cursor: default;
  color: #fff;
}
/* MENU
==============================================*/



/* MAIN CONTENT
==============================================*/
/* INTRO ===================== */
.introAside {
  font-size: 75%;
  color: #888;
}
/* INTRO ===================== */

.content {
  background: rgb(255,255,255);
  margin: 0;
  position: relative;
}
.content.withMenu  {
  min-height: 600px
}
.content.withMenu section {
  padding: 60px 0 0 0;
}
section {
  width: 800px;
  margin: 0 auto;
  display: block;
  overflow: hidden;
}
section.intro {
  width: 600px;
  text-align: justify;
}

/* HOME ===================== */
.newsContainer {
  list-style: none;
}
.newsContainer img {
  display: inline-block;
}
.date,
.news {
  border-style: solid;
  border-color: #000;
}
.date {
  border-width: 0 0 2px 2px;
  padding: 0 5px;
  margin-left: 5px;
  font-size: 75%;
}
.news {
  padding: 5px;
  margin-bottom: 20px;
  border-width: 0 2px 2px 0;
}

.paginationContainer {
  text-align: center;
}
.pagination {
  display: inline-block;
}
.pagination button,
.pagination .pageNum {
  line-height: 2em;
  display: block;
  padding: 0;
  font-weight: bold;
  padding: 0 5px;
}
.pagination button:first-child {
  border-radius: 6px 0 0 6px;
  border-right: none;
}
.pagination button:last-child {
  border-radius: 0 6px 6px 0;
  border-left: none;
}
.pagination .pageNum {
  background: #7db9e8;
  background: -moz-linear-gradient(top,  #7db9e8 0%, #207cca 49%, #2989d8 50%, #1e5799 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7db9e8), color-stop(49%,#207cca), color-stop(50%,#2989d8), color-stop(100%,#1e5799));
  background: -webkit-linear-gradient(top,  #7db9e8 0%,#207cca 49%,#2989d8 50%,#1e5799 100%);
  background: -o-linear-gradient(top,  #7db9e8 0%,#207cca 49%,#2989d8 50%,#1e5799 100%);
  background: -ms-linear-gradient(top,  #7db9e8 0%,#207cca 49%,#2989d8 50%,#1e5799 100%);
  background: linear-gradient(to bottom,  #7db9e8 0%,#207cca 49%,#2989d8 50%,#1e5799 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7db9e8', endColorstr='#1e5799',GradientType=0 );
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  border-left: none;
  border-right: none;
  border-radius: 0;
  cursor: pointer;
  color: #fff;
  text-align: center;
  padding: 0;
  width: 1.25em;
}
.pagination .pageNum:hover,
.pagination .pageNum.active {
  background: #1e5799;
  background: -moz-linear-gradient(bottom,  #7db9e8 0%, #207cca 49%, #2989d8 50%, #1e5799 100%);
  background: -webkit-gradient(linear, left bottom, left top, color-stop(0%,#7db9e8), color-stop(49%,#207cca), color-stop(50%,#2989d8), color-stop(100%,#1e5799));
  background: -webkit-linear-gradient(bottom,  #7db9e8 0%,#207cca 49%,#2989d8 50%,#1e5799 100%);
  background: -o-linear-gradient(bottom,  #7db9e8 0%,#207cca 49%,#2989d8 50%,#1e5799 100%);
  background: -ms-linear-gradient(bottom,  #7db9e8 0%,#207cca 49%,#2989d8 50%,#1e5799 100%);
  background: linear-gradient(to top,  #7db9e8 0%,#207cca 49%,#2989d8 50%,#1e5799 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=0 );
  box-shadow: inset 0 0 3px rgba(8,8,255,.5);
}
.pagination .pageNum.active {
  color: #000;
  cursor: auto;
}

/* HOME ===================== */

/* IMAGE ===================== */
.images {
  width: 100%;
  text-align: center;
}
.images img {
  margin: 0 auto;
}

/* IMAGE ===================== */

.bottom {
  display: block;
  height: 500px
}
/* MAIN CONTENT
==============================================*/


/* MEDIA QUERIES
==============================================*/

@media screen and (max-width: 810px) {
  body {
    background-size: 200px auto;
  }
  .scrollImg {
    background-size: 400px auto;
  }
  .scrollImg,
  .bottom {
    height: 333px;
  }
  .menu,
  section {
    width: 600px;
  }
  section.intro {
    width: 400px;
  }
  .menu li a {
    font-size: 100%;
  }
  .content.withMenu  {
    min-height: 400px;
  }
}
@media screen and (max-width: 610px) {
  button {
    background: #7db9e8;
  }
  button:hover {
    background: #1e5799;
  }
  button:disabled {
    color: #000;
    background: #7db9e8;
  }
  body {
    background-size: 140px auto;
  }
  .scrollImg {
    background-size: 300px auto;
  }
  .scrollImg,
  .bottom {
    height: 222px;
  }
  #imloading .textblob {
    width: 75%;
  }
  #imloading .textOne,
  #imloading .textTwo {
    font-size: 200%;
  }
  .menu,
  section {
    width: 400px;
  }
  section.intro {
    width: 400px;
  }
  .content.withMenu  {
    min-height: 200px;
  }
  .menu li a {
    font-size: 90%;
    line-height: 2;
  }
  .menu li a:after {
    border-right: 4px solid transparent;
    border-bottom: 4px solid #fff;
    border-left: 4px solid transparent;
  }
  .menu li a.selected:after {
    border-top: 4px solid #f00;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    bottom: -4px;
  }

  .pagination {
    width: 100%;
    display: block;
  }
  .pagination .pageNum {
    background: #7db9e8;
  }
  .pagination .pageNum:hover,
  .pagination .pageNum.active {
    background: #1e5799;
  }
  .pagination button {
    width: 50%;
    border: none;
  }
  .pagination .pageNum {
    display: none;
  }
}
@media screen and (max-width: 410px) {
  body {
    background: url('../img/footer_1.png') repeat-x fixed center bottom, url('../img/header.png') no-repeat fixed 80% 100%, url('../img/footer_2.png') repeat-x fixed center 99%, url('../img/header_2.png') no-repeat fixed 10% 99%, url('../img/footer_3.png') repeat-x fixed center 98%;
    background-size: 60px auto;
  }
  .scrollImg {
    background-size: 150px auto;
  }
  .scrollImg,
  .bottom {
    height: 111px;
  }
  .loadingTop,
  .loadingBottom {
    background: #08f none;
  }
  #imloading .textblob {
    width: 100%;
    border-radius: 0;
    border-right: none;
    border-left: none;
  }
  #imloading .textOne,
  #imloading .textTwo {
    font-size: 150%;
  }
  .menu,
  section,
  section.intro {
    width: 90%;
  }
  .content.withMenu  {
    min-height: 0;
  }
  .count_1,
  .count_2,
  .count_3,
  .count_3:first-child,
  .count_3:last-child,
  .count_4,
  .count_5,
  .count_6,
  .count_7,
  .count_7:first-child,
  .count_7:last-child,
  .count_8 {
    width: 100%;
  }
  .menu li a {
    font-size: 100%;
    line-height: 2;
  }
  .menu li a:after,
  .menu li a.selected:after {
    display: none;
  }
  .content.withMenu section {
    padding: 106px 0 0 0;
  }
}


/* MEDIA QUERIES
==============================================*/