body {
    font-family: arial;
    margin: 0;
    background: black;
}
div {
	-webkit-transition: all .2s;
	-ms-transition: all .2s;
	-moz-transition: all .2s;
	-o-transition: all .2s;
	transition: all .2s;
}


#main {
    width: 30%;
    min-width: 280px;
    margin: 105px auto 70px auto;
    padding: 0px;
}
@media (max-width: 1290px) {
	#main {
		width: 45%;
	}
}
@media (max-width: 650px) {
	#main {
        width: 90%;
        margin-top: 55px;
	}
}

.mnu {
    display: inline-block;
    width: calc(100% - 10px);
    margin-bottom: 5px;
    line-height: 40px;
    padding: 5px;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    cursor: default;
}
.h1 {
    font-size: 20px;
    font-weight: bold;
    width: 200%;
    margin-left: -50%;
}
@media (max-width: 650px) {
	.h1 {
        width: calc(100% - 10px);
        margin-left: 0%;
	}
}
.h2 {
    font-size:16px;
    font-weight:bold;
}
.links {
    display: none;
}


.gallery {
    display: inline-block;
    width: 100%;
}
.thumb {
    float: left;
    width: calc(50% - 8px);
    margin: 4px;
    padding-top: 30%;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}
.threed {
    width: 100%;
    height: 250px;
}
.text {
    display: inline-block;
    width: calc(100% - 20px);
    text-align: left;
    line-height: normal;
    padding: 20px 10px;
}
ul {
    list-style-type: square;
    padding-left: 20px;
}


.lb {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    opacity: 0;
    transition: all .3s;
    cursor: pointer;
    z-index: 999;
}
.gl {
    display: block;
    width: calc(100% - 50px);
    height: calc(100% - 110px);
    margin: 50px auto;
    min-height: 100px;
    min-width: 133px;
    background: rgba(255, 255, 255, 0.0);
    cursor: inherit;
}
.img {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    cursor: default;
}
.cls {
    position: absolute;
    width: 40px;
    right: 20px;
    top: 10px;
}
.prv, .nxt {
    position: absolute;
    width: 40%;
    height: calc(100% - 110px);
    cursor: pointer;
}
.prv {
    left: 0;
}
.nxt {
    right: 0;
}
#tbs {
    position: absolute;
    width: calc(100% - 30px);
    bottom: 0;
    left: 0;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 55px;
    background: rgba(0, 0, 0, 0.8);
    max-height: 50%;
    overflow: auto;

    height: 0px;
    padding-bottom: 0px;
    overflow: hidden;
}
#tbsitms {
    width: calc(100% - 40px);
    float: left;
    opacity: 0;
}
#tbsbtn {
    position: fixed;
    width: 40px;
    margin-top: -50px;
    right: 20px;
}
.tb {
    float: left;
    width: 60px;
    margin: 4px;
    padding-top: 60px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}
.tb:hover, .thumb:hover {
    filter: grayscale(100%) brightness(150%);
}
.ac {
    box-shadow: inset 0px 0px 0px 2px orange;
}


span, p, button, a, input, textarea {
    float: left;
    width: 50%;
    height: 40px;
    margin: 0;
    font-size: 14px;
    text-align: center;
	-webkit-transition: all .2s;
	-ms-transition: all .2s;
	-moz-transition: all .2s;
	-o-transition: all .2s;
    transition: all .2s;
}
span {
    width: 20%;
}
.h3 {
    width:100%;
}

textarea {
    padding-top: 12px;
    min-height: 40px;
    resize: vertical;
}
input, textarea {
    font-family: arial;
    background-color: rgba(255, 255, 255, 0.8);
    border-width: 0px;
    box-shadow: inset 0px 0px 0px 2px white;
    overflow: hidden;
}
button, a {
    font-size: 12px;
    background-color: rgba(255, 255, 255, 0.8);
    border-width: 0px;
    box-shadow: inset 0px 0px 0px 2px white;
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
    color: #000;
}
.flat {
    width:100%;
    height:20px;
    font-weight:bold;
}
.pick {
    font-weight: bold;
    cursor: pointer;
}
.active {
    background-color: rgba(255, 255, 255, 0.5);
}
button:hover, a:hover, input:hover, textarea:hover {
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: inset 0px 0px 0px 2px orange;
}
a:visited {
	color: #000;
}
a:focus {
	color: #000;
}


.navi {
    position: fixed;
    top: 0;
    text-align: left;
    transition: all 0s;
    z-index: 99;
    background: rgb(204, 204, 204);
}
.logo {
    margin: 5px;
    cursor: pointer;
}
#nv {
    float: right;
}
.nvitm {
    width: 33.333%;
}
.nvsub {
    display: none;
    position: absolute;
    width: calc((50% / 3) - 2px);
    margin-top: -50px;
    transition: all 0s;
    background: rgb(204, 204, 204);
}
#nvsub1 {
    left: 50%;
}
#nvsub2 {
    left: calc(50% + (50% / 3) - 2px);
}
.nvsub > a {
    width: 100%;
}
@media (max-width: 650px) {
	#nv {
		width: calc(100% - 85px);
    }
    .nvsub {
        left: 90px;
        width: calc((100% - 95px) / 3);
        margin-top: 0px;
    }
    #nvsub1 {
        left: 90px;
    }
    #nvsub2 {
        left: calc(((100% - 95px) / 3 ) + 90px);
    }
}

#nvup {
    display: none;
    position: fixed;
    right: 5px;
    bottom: 5px;
    width: 40px;
    font-size: 20px;
}
#nvlang {
    display: none;
    position: fixed;
    left: 5px;
    bottom: 5px;
    width: 40px;
    line-height: 40px;
}

#foot {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    font-size: 12px;
    line-height: normal;
    padding: 10px 5px;
    margin: 0;
    background: rgb(204, 204, 204);
}
.ft {
    font-size: 12px;
}
.ft > a {
    float: none;
    background-color: transparent;
    box-shadow: inset 0px 0px 0px 0px white;
}
.ft > a:hover {
    background-color: transparent;
    box-shadow: inset 0px 0px 0px 0px orange;
    color: orange;
}

@media (orientation: portrait) {
}
@media (orientation: landscape) {
}

