﻿.TopRight{
	position: fixed;
	right: 50%;
	margin-right: -720px;
	height: 250px;
	margin-top: -125px;
	top: 50%;
	z-index: 9;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	width: 55px;
}
.TopRight ul{
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    background-color: #fff;
    width: 100%;
    margin-bottom: 8px;
    padding: 2px 0;
}
.TopRight ul li{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.TopRight footer{
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background-color: #fff;
  padding: 5px;
}
.TopRightTop{
	display: block;
	width: 45px;
	height: 45px;
	background: url(../images/ttsImg/into3.png) no-repeat center;
}
.TopRightBottom{
	display: block;
	width: 45px;
	height: 45px;
	background: url(../images/ttsImg/into3.png) no-repeat center;
	transform: rotate(180deg);
}
input#myclass{
	border: 0;
	color: transparent;
	margin: 5px;
	cursor: pointer;
	background: url(../images/ttsImg/into2.png) no-repeat center;
	width: 45px;
	height: 45px;
	margin: 0;
	user-select: none !important;
	-webkit-user-select: none !important;
	-moz-user-select: none !important;
	-ms-user-select: none !important;
	-khtml-user-select: none !important;
	-o-user-select: none !important;
  -webkit-touch-callout: none !important;
}
#explainClass {
    background: url(../images/ttsImg/into1.png) no-repeat center;
    width: 43px;
    height: 43px;
    cursor: pointer;
    border: 0;
    color: transparent;
}
.TopRight ul li:nth-child(2){
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	margin: 0 5px;
	padding: 5px 0;
}
.TopRight ul li input:nth-child(2){
	margin-top: 3px;
}

.TopRight.outside_pigai{
  margin-top: -330px;
  margin-right: -710px;
}
.TopRight.outside_pigai ul li:nth-child(1),
.TopRight.outside_pigai ul li:nth-child(3){
  display: none;
}
.TopRight.outside_pigai ul li:nth-child(2){
  border: 0;
}

@media (max-width: 1580px) {
  .TopRight.outside_pigai{
    top: 50%;
    margin-top: -310px;
    bottom: auto;
    right: 50%;
  }
}
@media (max-width: 1440px) {
  .TopRight.outside_pigai {
    margin-right: 0;
    right: 5vw;
  }
  .EvaluationResultsBox .popUpMain::before,
  .EvaluationResultsBox .popUpMain,
  .EvaluationResultsBox .popUpMain::after{
    background-size: 100%;
  }
}
@media (max-width: 1300px) {
  .TopRight.outside_pigai {
    margin-right: 0;
    right: 16.5vw;
    margin-top: -20vw;
    height: 12vw;
    width: 5vw;
  }
  .TopRight.outside_pigai #explainClass,
  .TopRight.outside_pigai input#myclass{
    width: 4vw;
    height: 4vw;
    background-size: 90%;
  }
}
@media (max-width: 768px) {
  .TopRight.outside_pigai {
    margin-right: 0;
    right: 30vw;
    margin-top: 0;
    height: 15vw;
    width: 6vw;
    top: auto;
    bottom: 18vh;
  }
  .TopRight.outside_pigai input#myclass,
  .TopRight.outside_pigai #explainClass{
    width: 5vw;
    height: 5vw;
  }
}
@media (max-width: 480px) {
	.TopRight.outside_pigai input#myclass, 
	.TopRight.outside_pigai #explainClass {
		background-size: 100%;
		width: 7vw;
		height: 7vw;
	}
}
@media (max-width:1580px){
	.TopRight{
		right: 10px;
    margin-right: 0;
    bottom: 0;
    margin-top: auto;
    top: auto;
    height: 220px;
	}
}
@media (max-width:480px){
	.TopRightTop,
	input#myclass,
	#explainClass,
	.TopRightBottom{
		width: 35px;
    height: 35px;
		background-size: 88%;
	}
	.TopRight{
		width: 45px;
		height: auto;
		bottom: 5px;
	}
  
}
