* {
    margin: 0;
    padding: 0;
    color: #F1E6B3;
    border-radius: 0;
    font-family: Arial, sans-serif;
}

li {
    list-style-type: none;
    text-align: justify;
}

body {
    width: 320px;
    margin: 0 auto;
    background: #56B8D4;
    background: -moz-linear-gradient(top, #56B8D4 0%, #47708E 100%);
    background: -webkit-linear-gradient(top, #56B8D4 0%, #47708E 100%);
    background: -o-linear-gradient(top, #56B8D4 0%, #47708E 100%);
    background: -ms-linear-gradient(top, #56B8D4 0%, #47708E 100%);
    background: linear-gradient(top, #56B8D4 0%, #47708E 100%);
}

article {
    display: inline-block;
}

.c1 {
    background-color: #324159;
}

.c2 {
    background-color: #F1E6B3;
}

.c3 {
    background-color: #A4685A;
}

.c4 {
    background-color: #324159;
}

.c5 {
    background-color: #F1E6B3;
}

.c6 {
    background-color: #A4685A;
}

.c7 {
    background-color: #324159;
}

.c8 {
    background-color: #324159;
}

h1 {
    margin: auto;
    bottom: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    height: 76px;
    word-wrap: break-word;
    width: 200px;
    color: #F1E6B3;
}

.content div, .menu div {
    margin: 2px;
    float: left;
    overflow: hidden;
}

.content .index-content-item {
    height: 160px;
    margin: 0;
    overflow: hidden;
}

.content div.tag-item, .content div.page-item {
    height: 76px;
    width: 316px;
}

.content div.image-item {
    height: 316px;
    width: 316px;
    position: relative;
}

.content div.image-item div.img-bg {
    background-color: #324159;
    position: absolute;
    -webkit-animation-direction: normal;
    -webkit-animation-duration: 16s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
}
.content div.image-item img {
    height: 100%;
    width: 100%;
    opacity: 0.85;
}

.content div.image-item:hover img {
    opacity: 1;
}

.content div.image-item:hover div.img-bg.animated {
    -webkit-animation-name: 'img-hover';
}

.content div.image-item:hover span.desc {
    -webkit-animation-name: 'img-desc-hover';
    top: 0;
}

.content div.image-item span.desc {
    position: absolute;
    padding: 1px 4px;
    font-size: 12px;
    top: -16px;
    left: 0;
    display: block;
    background-color: #324159;
    opacity: 0.7;
    -webkit-animation-direction: normal;
    -webkit-animation-duration: 6s;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-timing-function: ease-out;
}

.content div.image-item h5,.content div.image-item:before {
    position: absolute;
    width: 100%;
    height: 16px;
    padding: 2px;
    bottom: 0;
    text-align: center;
    display: block;
    z-index: 2;
}

.content div.image-item:before {
    z-index: 1;
    content: "";
    background-color: #324159;
    opacity: 0.5;
}
.content div.image-item:hover:before {
    opacity: 0.7;
}

.content div.tag-item:hover, .content div.page-item:hover {
    background-color: #B4786A;
}

.content div.tag-item h3, .content div.page-item h4 {
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    width: 316px;
    height: 76px;
    padding: 16px;
}

.content:after {
    content: "";
    clear: both;
}

.menu div {
    width: 156px;
    height: 76px;
}

.menu > a > div > .bg, menu > a > div > .animated {
    margin: 0;
    position: relative;
    opacity: 0.2;
}

.menu > a > div:hover > .bg {
    opacity: 0.5;
}

.menu > a > div:hover > .animated {
    opacity: 0.5;
    -webkit-animation-direction: normal;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
}

.menu div.feedback .bg {
    background: url("/img/bg-feedback.jpg") no-repeat;
    width: 766px;
}

.menu div.tags .bg {
    background: url("/img/bg-tags.jpg") no-repeat;
    width: 336px;
    height: 121px;
}

.menu div.search .bg {
    background: url("/img/bg-search.jpg") no-repeat;
    width: 316px;
    height: 76px;
}

.menu div.search .animated {
    opacity: 0.3;
    background: url("/img/search-icon.png") no-repeat;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 5%;
    left: 5%;
}

.menu div.links .animated {
    opacity: 0.2;
    background: url("/img/random-icon.png") repeat-x ;
    width: 400px;
    height: 42px;
    position: absolute;
    top: 17px;
}

.menu div.about .bg {
    background: url("/img/bg-about.jpg") no-repeat;
    width: 316px;
    height: 513px;
}


.menu div.feedback:hover .animated {
    -webkit-animation-name: 'menu-feedback';
    -webkit-animation-duration: 25s;
}

.menu div.tags:hover .animated {
    -webkit-animation-name: 'menu-tags';
    -webkit-animation-duration: 15s;
}

.menu div.search:hover .animated {
    opacity: 0.7;
    -webkit-animation-name: 'menu-search';
    -webkit-animation-duration: 6s;
}

.menu div.links:hover .animated {
    opacity: 0.4;
    -webkit-animation-name: 'menu-links';
    -webkit-animation-duration: 4s;
}

.menu div.about:hover .animated {
    -webkit-animation-name: 'menu-about';
    -webkit-animation-duration: 7s;
}

.content .paginate, .content .subcaption {
    height: 40px;
    width: 100%;
    margin: 0;
    text-align: center;
}

.content .subcaption > div {
    height: 36px;
    text-align: center;
    background-color: #324159;
    float: none;
}

.content .subcaption > div > h3 {
    padding: 0;
    margin: 7px;
}

.content .paginate .paginate-content-left, .content .paginate .paginate-content-right {
    margin: 0;
    height: 100%;
    float: left;
    display: inline-block;
    width: 320px;
}

.content .paginate .paginate-content-right {
    float: right;
}

.content .paginate .page-num {
    height: 36px;
    width: 36px;
    margin: 2px;
    background-color: #324159;
}

.content .paginate .page-num, .content .paginate .prev-page, .content .paginate .next-page {
    opacity: 0.8
}

.content .paginate .page-num:hover, .content .paginate .prev-page:hover, .content .paginate .next-page:hover {
    opacity: 1;
}

.content .paginate .page-num.current, .content .paginate .page-num.current:hover {
    background: transparent;
}

.content .paginate .page-num.current span, .content .paginate .page-num.current:hover span {
    color: #324159;
}

.content .paginate .paginate-content-left .page-num {
    float: right;
}

.content .paginate .page-num span {
    width: 100%;
    text-align: center;
    display: block;
    margin-top: 8px;
    font-size: 19px;
}
.content .paginate .page-num span.small {
    font-size: 14px;
    margin-top: 10px;
}

.content .paginate .prev-page, .content .paginate .next-page {
    width: 316px;
    height: 36px;
    background-color: #324159;
}

.content .paginate .next-page {
    float: right;
}

.content .paginate .prev-page span, .content .paginate .next-page span {
    margin-top: 9px;
    display: block;
}

div.head {
    display: block;
    height: 156px;
    margin: 4px 2px 2px 322px;
    overflow: hidden;
}

div.head .wrapper_slider  {
    width: 1276px;
    height: 156px;
    position: relative;
    overflow: hidden;
    left: 50%;
    margin-left: -638px;
}
div.head .inner_slider {
    display: -webkit-box;
    -webkit-box-orient: horizontal;
    -webkit-box-align: center;
    -webkit-user-select: none;
    height: 156px;
    width: 8400px;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-animation-name: 'scroll';
    -webkit-animation-direction: normal;
    -webkit-animation-duration: 80s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
}
div.head a > div {
    display: inline-block;
    width: 1400px;
    height: 156px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

div.head a:nth-child(1) > div {
    background-image: url('/img/bg1.jpg');
}
div.head a:nth-child(2) > div {
    background-image: url('/img/bg2.jpg');
}
div.head a:nth-child(3) > div {
    background-image: url('/img/bg3.jpg');
}
div.head a:nth-child(4) > div {
    background-image: url('/img/bg4.jpg');
}
div.head a:nth-child(5) > div {
    background-image: url('/img/bg5.jpg');
}
div.head a:nth-child(6) > div {
    background-image: url('/img/bg6.jpg');
}

div.logo {
    height: 156px;
    width: 316px;
    float: left;
    margin: 0 2px 2px 2px;
    position: relative;
}

div.menu {
    display: inline-block;
    text-align: center;
}

div.menu > a > div {
    position: relative;
}

div.menu h2 {
    margin: auto;
    bottom: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 27px;
}

div.left-col {
    margin: 2px;
    width: 316px;
    min-height: 676px;
    float:left;
}

.chapter-search div.left-col, .chapter-feedback div.left-col, .chapter-index div.left-col {
    display: none;
}

div.left-col h2, div.left-col h3, div.left-col h4 {
    font-size: 1.2em;
    padding: 8px;
    text-align: center;
}

div.left-col h6 {
    font-size: 1em;
}

div.left-col p {
    font-size: 0.85em;
}
div.left-col p, div.left-col ul {
    margin: 2px 8px;
}

div.left-col h6 {
    margin: 8px 8px 2px 8px;
}

div.left-col ul > li {
    font-size: 0.85em;
}

div.left-col .share-buttons {
    width: 120px;
    margin: 8px;
}

div.left-col .share-buttons > div {
    line-height: 0;
    margin: 5px auto;
    padding: 0;
}

.left-col .about-content li {
    margin-left: 16px;
}


div.x2hor, div.x2 {
    width: 316px;
}

div.x2ver, div.x2 {
    height: 316px;
}

div.metro-item > p.metro-desc, .metro-content div > p.metro-desc {
    display: none;
    position: absolute;
    text-align: center;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    opacity: 0.3;
    padding: 0 10%;
    -webkit-animation-direction: normal;
    -webkit-animation-duration: 0.5s;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-timing-function: ease-out;

}

div.metro-item:hover > p.metro-desc, .metro-content div:hover > p.metro-desc {
    display: block;
    -webkit-animation-name: 'metro-desc';
}

.metro-content p, .metro-content h3, .metro-content h4,
.metro-content ul, .metro-content ol {
    padding: 4px 18px;
}

.metro-content p {
    text-align: justify;
    text-indent: 16px;
}
.metro-content h3 {
    margin-top: 16px;
    text-align: center;
}

.metro-content h4 {
    text-indent: 16px;
}

div.x2.metro-container > div:first-child {
    margin-top: 0;
    margin-left: 0;
}

div.x2.metro-container > div:last-child {
    margin-left: 0;
}

div.x2hor.metro-container > div:first-child {
    margin-top: 0;
    margin-left: 0;
}

div.x2hor.metro-container > div:last-child {
    margin-top: 0;
    margin-right: 0;
}
.content option {
    color: #47708E;
}

.content .search-content, .content .feedback-content {
    height: 316px;
    float: none;
    display: block;
    background-color: #324159;
}

.content .feedback-content {
    height: 416px;
}

.content .feedback-content h2 {
    text-align: center;
    margin-top: 32px;
}
.content .search-content .search-form, .content .feedback-content .feedback-form {
    width: 312px;
    display: block;
    float: none;
    position: relative;
}
.content .search-content .search-form {
    margin: 100px auto;
}

.content .feedback-content .feedback-form {
    margin: 16px auto;
    text-align: right;
}

.content .search-content input, .content .feedback-content input, .content .feedback-content select, .content .feedback-content textarea {
    height: 36px;
    margin: 0;
    color: #000000;
    padding: 4px;
    font-size: 24px;
    border: none;
}

.content .search-content .search-form input[type=text] {
    display: block;
    width: 308px;
}

.content .feedback-content .feedback-form div {
    float: none;
    width: 312px;
    height: 40px;
    margin: 0;
}
.content .feedback-content .feedback-form label {
    margin-top: 10px;
    float: right;
}

.content .feedback-content .feedback-form input[type=text],.content .feedback-content .feedback-form input[type=email], .content .feedback-content .feedback-form select, .content .feedback-content .feedback-form textarea {
    width: 216px;
    margin-left: 16px;
    float: right;
}

.content .feedback-content .feedback-form input[type=text][name=captcha] {
    width: 60px;
}
.content .search-content .search-form input[type=submit]
{
    position: absolute;
    right: 7px;
    top: 3px;
    width: 30px;
    height: 30px;
    background: #324159 url(/img/search-icon.png) no-repeat center;
    cursor: pointer;
    opacity: 0.8;
}

.content .search-content .search-form input[type=submit]:hover
{
   opacity: 1;
}

.content .feedback-content .feedback-form img
{
    width: 86px;
    float: right;
    margin-left: 4px;
    height: 36px;
}

.content .feedback-content .feedback-form input[type=submit]
{
    width: 62px;
    float: right;
    margin-left: 4px;
}

.content .feedback-content .feedback-form input[type=submit], .content .feedback-content .feedback-form img {
    cursor: pointer;
}

footer {
    height: 36px;
    margin: 2px 2px 4px 2px;
    background-color: #324159;
    text-align: center;
}

footer > a {
    margin: 8px 4px;
    display: inline-block;
}

.top-banner {
    margin: 2px auto;
    height: 90px;
    text-align: center;
    max-width: 800px;
    min-width: 250px;
}

.left-adv {
    margin: 4px auto;
    text-align: center;
}

@-webkit-keyframes 'metro-desc' {
    from {
        bottom: -25%;
    }
    to {
        bottom: 0;
    }
}

@-webkit-keyframes 'img-hover' {
    from {
        left: 0;
        top: 0;
    }
    22% {
        left: -44px;
        top: -44px;
    }
    25% {
        left: -44px;
        top: -44px;
    }
    47% {
        left: -44px;
        top: 0;
    }
    50% {
        left: -44px;
        top: 0;
    }
    72% {
        left: 0;
        top: -44px;
    }
    75% {
        left: 0;
        top: -44px;
    }
    97% {
        left: 0;
        top: 0;
    }
    to {
        left: 0;
        top: 0;
    }
}

@-webkit-keyframes 'img-desc-hover' {
    from {
        top: -16px;
    }
    75% {
        top: -16px;
    }
    to {
        top: 0;
    }

}

@-webkit-keyframes 'menu-feedback' {
    from {
        left: 0;
    }
    49% {
        left: -100%;
    }
    50% {
        left: -100%;
    }
    99% {
        left: 0;
    }
    to {
        left: 0;
    }

}

@-webkit-keyframes 'menu-tags' {
    from {
        transform: scale(1, 1);
        left: 0;
        top: 0;
    }
    49% {
        transform: scale(1.5, 1.5);
        left: -20%;
        top: -10%;
    }
    50% {
        transform: scale(1.5, 1.5);
        left: -20%;
        top: -10%;
    }
    99% {
        transform: scale(1, 1);
        left: 0;
        to: 0;
    }
    to {
        transform: scale(1, 1);
        left: 0;
        top: 0;
    }
}

@-webkit-keyframes 'menu-search' {
    from {
        left: 5%;
        top: 5%;
    }
    40% {
        left: 85%;
        top: 5%;
    }
    50% {
        left: 85%;
        top: 60%;
    }
    90% {
        left: 5%;
        top: 60%;
    }
    to {
        left: 5%;
        top: 5%;
    }
}

@-webkit-keyframes 'menu-links' {
    from {
        left: 0;
    }
    to {
        left: -60px;
    }
}

@-webkit-keyframes 'menu-about' {
    from {
        top: 0;
    }
    49% {
        top: -100%;
    }
    50% {
        top: -100%;
    }
    99% {
        top: 0;
    }
    to {
        top: 0;
    }

}


@-webkit-keyframes 'scroll' {
    from {
        left: 0;
    }
    9% {
        left: -100px;
    }
    10% {
        left: -1400px;
    }
    19% {
        left: -1500px;
    }
    20% {
        left: -2800px;
    }
    29% {
        left: -2900px;
    }
    30% {
        left: -4200px;
    }
    39% {
        left: -4300px;
    }
    40% {
        left: -5600px;
    }
    49% {
        left: -5700px;
    }
    50% {
        left: -7000px;
    }
    58% {
        left: -7100px;
    }
    59% {
        left: -7100px;
    }
    60% {
        left: -5700px;
    }
    69% {
        left: -5600px;
    }
    70% {
        left: -4300px;
    }
    79% {
        left: -4200px;
    }
    80% {
        left: -2900px;
    }
    89% {
        left: -2800px;
    }
    90% {
        left: -1500px;
    }
    98% {
        left: -1400px;
    }
    99% {
        left: 0;
    }
    to {
        left: 0;
    }
}


@media screen and (max-width: 639px) {
    div.logo {
        margin: 4px 2px 2px 2px;
    }
    div.head {
        display: none;
    }
    .menu > a:nth-child(4) > div {
        display: none;
    }
    .content {
        display: initial;
    }
    .content .paginate {
        width: 320px;
        height: 80px;
    }
    .content .paginate .paginate-content-left, .content .paginate .paginate-content-right {
        height: 50%;
    }

    div.left-col {
        min-height: 316px;
    }
}
@media screen and (min-width: 640px) and (max-width: 959px) {
    body {
        width: 640px;
    }

    .menu > a:nth-child(4) > div {
        display: none;
    }

    div.left-col {
        min-height: 716px;
    }

    .content {
        display: initial;
    }

    .content .paginate {
        height: 80px;
        width: 320px;
    }

    .content .paginate .paginate-content-left, .content .paginate .paginate-content-right {
        height: 50%;
    }
}
    /*@media screen and (min-width: 800px) and (max-width: 959px) {
        body {
            width: 800px;
        }

        .menu > div:nth-child(6), .menu > div:nth-child(5) {
            width: 76px;
        }
    }*/
@media screen and (min-width: 960px) and (max-width: 1319px) {
    body {
        width: 960px;
    }
    .menu > a:nth-child(1) > div {
        width: 316px;
    }
    div.content {
        margin-left: 320px;
    }
    .chapter-search div.content, .chapter-feedback div.content, .chapter-index div.content {
        margin-left: 0;
    }

}
@media screen and (min-width: 1320px) and (max-width: 1699px) {
    body {
        width: 1280px;
    }
    .menu > a:nth-child(1) > div, .menu > a:nth-child(2) > div, .menu > a:nth-child(3) > div {
        width: 316px;
    }
    div.content {
        margin-left: 320px;
    }
    .chapter-search div.content, .chapter-feedback div.content, .chapter-index div.content {
        margin-left: 0;
    }
}
@media screen and (min-width: 1700px) {
    body {
        width: 1600px;
    }
    .menu > a:nth-child(1) > div, .menu > a:nth-child(2) > div, .menu > a:nth-child(3) > div, .menu> a:nth-child(4) > div, .menu> a:nth-child(5) > div {
        width: 316px;
    }
    div.content {
        margin-left: 320px;
    }
    .chapter-search div.content, .chapter-feedback div.content, .chapter-index div.content {
        margin-left: 0;
    }
}


.fancybox-title-float-wrap .child, .fancybox-skin {
    border-radius: 0;
}

.fancybox-title .share-buttons {
    float: right;
    width: 120px;
    margin: 4px;
}

.fancybox-title .share-buttons > div {
    line-height: 0;
    margin: 5px auto;
    padding: 0;
}

.fancybox-title .info {
    margin-right: 140px;
}

div.content-bottom-adv {
    margin: 2px;
    text-align: center;
    float: none;
    clear: both;
}

div.content-bottom-adv > div {
    display: inline-block;
    float: none;
}
