@charset "utf-8";

/* drawer menu */
.drawer-tw{display:block;}

.drawer-tw {
    box-sizing: border-box;
    position: fixed;
    top: 40px;
    right: -300px;
    width: 300px;
    height: 500px;
    padding: 10px;
    background:rgba(49,49,49,1.00);
    -webkit-transition-property: all;
    transition-property: all;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transform-origin: left center;
    -ms-transform-origin: left center;
    transform-origin: left center;
    /*-webkit-transform: perspective(500px) rotateY(90deg);
    transform: perspective(500px) rotateY(90deg);*/
    opacity: 1;
	overflow-y: hidden;
	z-index:9;
}

.drawer-tw ul{border-bottom:rgba(255,255,255,0.30) solid 1px;}

.drawer-tw li {
    text-align:center;
	overflow:hidden;
	border-top:rgba(255,255,255,0.30) solid 1px;
}

.drawer-tw li img{height:40px;}

.drawer-tw li a {
    display: block;
    height: 50px;
    line-height: 50px;
    font-size: 14px;
    color: #fff;
    -webkit-transition: all .8s;
    transition: all .8s;
}



/* checkbox */
.check2 {
    display: none;
}

/* menu button - label tag */
.tw-btn {
    position: fixed;
    top: 0;
    left: calc(100% - 60px);
    display: block;
    width: 40px;
    height: 40px;
	padding:10px;
    font-size: 10px;
    text-align: center;
    cursor: pointer;
	background:url(../img/tw1.png);
	background-size:40px 40px;
	background-position:center center;
	background-repeat:no-repeat; 
    z-index: 9;
}

.bar {
    position: absolute;
    top: 10px;
    left: 10px;
    display: block;
    width: 40px;
    height: 2px;
    background: #fff;
    -webkit-transition: all .5s;
    transition: all .5s;
    -webkit-transform-origin: left top;
    -ms-transform-origin: left top;
    transform-origin: left top;
}

.bar.middle {
    top: 24px;
    opacity: 1;
}

.bar.bottom {
    top: 38px;
    -webkit-transform-origin: left bottom;
    -ms-transform-origin: left bottom;
    transform-origin: left bottom;
}

.tw-btn_text {
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    margin: auto;
    color: #fff;
    -webkit-transition: all .5s;
    transition: all .5s;
    display: block;
    visibility: visible;
    opacity: 1;
}

.tw-btn:hover .bar {
    background:rgba(255,255,255,1.00);
}

.tw-btn:hover .tw-btn__text {
    color:rgba(255,255,255,1.00);
}

.close-tw {
    position: fixed;
    top: 0;
    right: 300px;
    width: 0;
    height: 100vh;
    /*background: rgba(0,0,0,0);
    cursor: url(http://theorthodoxworks.com/demo/images/cross.svg),auto;*/
    -webkit-transition-property: all;
    transition-property: all;
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    visibility: hidden;
    opacity: 0;
}

/* checked2 */
.check2:checked ~ .drawer-tw {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    right: 0;
	opacity: 1;
    z-index: 8;
}

.check2:checked ~ #snowdrop {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transform: translateX(-250px);
    -ms-transform: translateX(-250px);
    transform: translateX(-250px);
}

.check2:checked ~ .tw-btn{background:url(../img/tw2.png);
	background-size:40px 40px;
	background-position:center center;
	background-repeat:no-repeat;}

.check2:checked ~ .tw-btn .tw-btn__text {
    visibility: hidden;
    opacity: 0;
}

.check2:checked ~ .tw-btn .bar.top {
    width: 44px;
	top:10px;
	left:15px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.check2:checked ~ .tw-btn .bar.middle {
    opacity: 0;
}

.check2:checked ~ .tw-btn .bar.bottom {
    width: 44px;
    top: 41px;
	left:15px;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.check2:checked ~ .close-tw {
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    background: rgba(0,0,0,0);
    visibility: visible;
    opacity: 1;
    z-index: 3;
}
