[task7-win] {
	position:relative;
	
	width:100%;
	height:100%;
	opacity:1;
	background-color:white;
	display:flex;
        justify-content:center;
	align-items:center;
	overflow:auto;
	border-radius:24px;
	padding:32px 0px 16px 0px;


}

[task7-win][adaptive] {
	height:auto !important;
}

/*lesson 27, lesson 55*/


[task7-win][show] {
	opacity:1;
}
[t7-wrp2] {
	position:relative;
	opacity:0;
	transition:opacity 0.5s ease-in-out;
	
}

[t7-wrp2][adaptive] {
	flex:0 0 100% !important;
}

[t7-wrp2][show] {
	opacity:1;	
}

[t7-wrp2-title] {

    text-align: center;
    min-height: 70px;
    line-height:150%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size:20px;
	padding:0px 24px 0px 24px;
}


[t7-wrp2-game] {
	position:relative;

}

[t7-obj] {
	position:absolute;
	height:auto;
        cursor:pointer;
        transition:transform 0.5s ease-in-out;

}

[t7-obj][num="0"] {
        cursor:default;
}

[t7-obj] img {
	width:100%;
	height:100%;
	object-fit:contain;
	border-radius:6px;
	
}

[t7-task] {
        position:relative;
	text-align:center;
	min-height:70px !important;
        display:flex;
        justify-content:center;
	align-items:center;
	font-weight:bold;
	z-index:2;
	margin:0px 0px 4px 0px !important;
	font-size:20px;

}

[start-button7] {
	display:block;
	width:150px;
	height:46px;
	background-color:#e8e8e8;
	text-transform:uppercase;
	font-size:14px;
        display:flex;
        justify-content:center;
	align-items:center;
	border-radius:5px;
	cursor:pointer;
	user-select:none;
	transition:opacity 0.5s ease-in-out;
}

[start-button7][hide] {
	opacity:0;
}

[start-button7]:active {
	transform:translate3d(1px,1px,0px);
}


[header][pc="1"] ~ [content] [start-button7] {
	background-color:#3399cc;
	color:white;
}

[header][pc="2"] ~ [content] [start-button7] {
	background-color:#ccee66;
	color:#474747;
}

[header][pc="3"] ~ [content] [start-button7] {
	background-color:#ffcc00;
	color:#474747;
}

[header][pc="4"] ~ [content] [start-button7] {
	background-color:#ff6600;
	color:white;
}


[t7-buttons] {
        position:relative;
	display:flex;
	justify-content:space-evenly;
	align-items:center;
	padding:4px 0px 4px 0px;
	z-index:1;

}




[answer] {
	width:100px;
	height:52px;
	cursor:pointer;
        filter:grayscale(0%);
        transform:scale(1,1);
	transition:filter 0.5s ease-in-out,transform 0.5s ease-in-out;
	border-radius:8px;
        display:flex;
	justify-content:space-evenly;
	align-items:center;
	font-size:32px;
	font-weight:700;
	color:white;


}

[answer]:active {
	transform:translate3d(1px,1px,0px);
}

[answer][yes] {
        background-color:#3399cc;
	//background-image:url(../images/yes.png);
}

[answer][no] {
        background-color:#ff6600;
	//background-image:url(../images/no.png);
}

[answer][grey] {
        transform:scale(1,1);
	filter:grayscale(100%);
        transition:filter 0.5s ease-in-out,transform 0.5s ease-in-out;
        cursor:default;
}

[sb1] {
        position:absolute;
	width:100%;
	left:0px;
	top:0px;
        display:flex;
	justify-content:center;
	align-items:center;
	background-color:white;
	opacity:1;
        transition:opacity 0.5s ease-in-out;


}

[sb1][hide] {
	opacity:0;
}


[t7-poster] {
	position:absolute;
	width:100%;
	height:100%;
	left:0px;
	bottom:0px;
	background-size:cover;
	border-radius:24px;
	z-index:3;
	opacity:0;
	transition:opacity 0.5s ease-in-out;
        display:flex;
	justify-content:center;
	align-items:center;

}

[t7-poster][show] {
	opacity:1;
}

[t7-poster-info] {
	padding:20px 20px 20px 20px;
	background-color:rgba(255,255,255,0.8);
	border-radius:16px;
        display:flex;
	justify-content:center;
	align-items:center;
	flex-wrap:wrap;
	flex:0 0 300px;
        row-gap:20px;

}


[t7-pi-kr] {
	position:relative;
	height:160px;
	width:100%;

}

[t7-pi-img] {
	width:100%;
	height:100%;
	object-fit:contain;
}


[t7-pi-title] {
	flex:0 0 100%;
	font-size:22px;
	font-weight:600;
	text-align:center;
}

[t7-pi-params] {
	flex:0 0 100%;
        display:flex;
	justify-content:center;
	align-items:center;
	flex-wrap:wrap;
	row-gap:20px;
	
}

[t7-pi-params] > span {
	display:block;
	font-size:14px;
	font-weight:500;

}

[t7-pi-butt] {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    height: 51px;
    padding: 0px 0px 0px 0px;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    flex:0 0 220px;
    font-size:14px;
}


[t7-pi-butt]:active {
	transform:translate3d(1px,1px,0px);
}

[header][pc="1"] ~ [content] [t7-pi-butt] {
	background-color:#3399cc;
	color:white;
}

[header][pc="2"] ~ [content] [t7-pi-butt] {
	background-color:#ccee66;
	color:#474747;
}

[header][pc="3"] ~ [content] [t7-pi-butt] {
	background-color:#ffcc00;
	color:#474747;
}

[header][pc="4"] ~ [content] [t7-pi-butt] {
	background-color:#ff6600;
	color:white;
}

[t7-pi-kr] {
	position:relative;
}

[t7-pi-kr2] {
	position:absolute;
	width:107px;
	height:98px;
	left:calc((100% - 107px)/2);
	bottom:8px;
	background-image:url(../images/kr.png);
}

@media screen and (max-width: 1160px) {

[t7-pi-title] {
	font-size:calc( (100vw - 320px)/(1160 - 320) * (22 - 14) + 14px);	
}

[t7-pi-params] > span {
	font-size:calc( (100vw - 320px)/(1160 - 320) * (14 - 12) + 12px);	
}


[t7-pi-kr] {
	height:calc( (100vw - 320px)/(1160 - 320) * (160 - 80) + 80px)
}

[t7-pi-kr2] {
        width:calc( (100vw - 320px)/(1160 - 320) * (107 - 66) + 66px);
        height:calc( (100vw - 320px)/(1160 - 320) * (98 - 60) + 60px);
	left:calc((100% - calc( (100vw - 320px)/(1160 - 320) * (107 - 66) + 66px))/2);
	bottom:calc( (100vw - 320px)/(1160 - 320) * (0 - 24 + 12) - 12px);
	background-position:50% 50%;
	background-size:cover;
}


[t7-pi-butt] {
    height: calc( (100vw - 320px)/(1160 - 320) * (51 - 38) + 38px);
    flex:0 0 calc( (100vw - 320px)/(1160 - 320) * (220 - 200) + 200px);
    font-size:calc( (100vw - 320px)/(1160 - 320) * (14 - 12) + 12px);
}


[t7-wrp2-title] {

	min-height: calc( (100vw - 320px)/(1160 - 320) * (70 - 40) + 40px);
	font-size:calc( (100vw - 320px)/(1160 - 320) * (20 - 14) + 14px);
	padding:0px calc( (100vw - 320px)/(1160 - 320) * (24 - 8) + 8px) 0px calc( (100vw - 320px)/(1160 - 320) * (24 - 8) + 8px);
}



}

@media screen and (max-width: 800px) {

[t7-task] {
	font-size:calc( (100vw - 320px)/(800 - 320) * (20 - 14) + 14px);
}

}