[tasks1-12-wrp] {
        position:relative;
	border:1px solid #e8e8e8;
	width:100%;
	height:520px;
	margin:0px auto 0px auto !important;
	display:flex;
	justify-content:center;
	align-items:center;
	border-radius:16px;
	overflow:hidden;
	background-color:white;
}

[t12-poster] {
	position:absolute;
	left:0px;
	top:0px;
	width:100%;
	height:100%;

	background-position:50% 50%;
	background-size:cover;
	background-repeat:no-repeat;
	z-index:1;
        opacity: 1;
        transition: opacity 0.5s ease-in-out;

        display:flex;
        justify-content:center;
        align-items:center;
}

[t12-poster][hide] {
	opacity:0 !important;
}

[t12-start-butt] {
	display: block;
	width: 150px;
    height: 46px;
    background-color:#ff6600;
    color:white;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    z-index:2;



}

[t12-start-butt][hide] {
	opacity:0;
}


[t12-start-butt]:active {
	transform:translate3d(1px,1px,0px);
}

[t12-task-text] {
	position:absolute;
	left:0px;
	top:0px;
	width:100%;
	height:100%;
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transition: opacity 0.5s ease-in-out;	
}

[t12-task-text][show] {
	opacity:1;
}

[t12-tt] {
	position:relative;
	width:400px;
	text-align:center;
	line-height:160%;
	font-weight:600;
}


[t12-data] {
	display:none;
}

[t12-play-div] {
	position:absolute;
	width:100%;
	height:100%;
	left:0px;
	top:0px;
	opacity:1;
        transition: opacity 0.5s ease-in-out;
        display: flex;
        justify-content: center;
        align-items: center;
        align-content:center;
        flex-wrap:wrap;
        row-gap:20px;


}

[t12-play-div][hide] {
	opacity:0;
}

[t12-play-img] {
        position:relative;
	flex:0 0 400px;
	height:400px;
	margin:0px 0px 0px 0px;


}

[t12-play-img] > img {
	width:100%;
	height:100%;
	object-fit:cover;
	border-radius:16px;
}

[t12-play-text] {
	flex:0 0 100%;
	text-align:center;
	min-height:60px;
        display: flex;
        justify-content: center;
        align-items: center;
        align-content:center;
        flex-wrap:wrap;
        font-weight:600;
        padding:0px 20% 0px 20%;
}

[t12-timer-place] {
	position:absolute;
	bottom:8px;
	left:8px;
	width:80px;
	height:80px;
	background-color:rgba(255,255,255,0.5);
	border-radius:10px;
	background-position:50% 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        align-content:center;
        font-size:50px;
        font-weight:700;


}

[t12-pause-place] {
	position:absolute;
	bottom:8px;
	right:8px;
	width:40px;
	height:40px;
	background-color:rgba(255,255,255,0.5);
	border-radius:10px;
	background-position:50% 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        align-content:center;
        font-size:50px;
        font-weight:700;
        cursor:pointer;
        z-index:1;


}

[t12-pause-place]:active {
	
}


[t12-pause-place][type2] {
	bottom:24px;	
}

[t12-pause-place][pause]:after {
	content:"";
	position:absolute;
	width:5px;
	height:calc(100% - 16px);
	top:8px;
	background-color:black;
	left:calc((100% - 2*5px)/3 + 2px);
}

[t12-pause-place][pause]:before {
	content:"";
	position:absolute;
	width:5px;
	height:calc(100% - 16px);
	top:8px;
	background-color:black;
	left:calc(2*(100% - 2*5px)/3 + 5px - 2px);
}


[t12-pause-place][play]:after {
	content:"";
	position:absolute;
	width:0px;
	height:0px;
	top:8px;
	background-color:transparent;
	left:15px;
        border: 12px solid transparent; 
	border-left: 12px solid black;
}




[t12-poster-info] {
	padding:20px 20px 20px 20px;
	background-color:rgba(255,255,255,1);
	border-radius:16px;
        display:flex;
	justify-content:center;
	align-items:center;
	flex-wrap:wrap;
	flex:0 0 288px;
        row-gap:20px;

}


[t12-pi-title] {
	flex:0 0 100%;
	font-size:22px;
	font-weight:600;
	text-align:center;
	line-height:150%;
}




[t12-pi-params] {
	flex:0 0 100%;
        display:flex;
	justify-content:center;
	align-items:center;
	flex-wrap:wrap;
	row-gap:20px;
	
}

[t12-pi-params] > span {
	display:block;
	font-size:14px;
	font-weight:500;
	line-height:150%;

}



[t12-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;


background-color:#ff6600;
color:white;



}


[t12-pi-butt]:active {
	transform:translate3d(1px,1px,0px);
}

[header][pc="1"] ~ [content] [t12-pi-butt] {
	background-color:#3399cc;
	color:white;
}

[header][pc="2"] ~ [content] [t12-pi-butt] {
	background-color:#ccee66;
	color:#474747;
}

[header][pc="3"] ~ [content] [t12-pi-butt] {
	background-color:#ffcc00;
	color:#474747;
}

[header][pc="4"] ~ [content] [t12-pi-butt] {
	background-color:#ff6600;
	color:white;
}

[t12-pi-kr] {
	position:relative;
	height:160px;
	width:100%;

}

[t12-pi-img] {
	width:100%;
	height:100%;
	object-fit:contain;
}



[t12-pi-kr2] {
	position:absolute;
	width:107px;
	height:98px;
	left:calc((100% - 107px)/2);
	bottom:-24px;
	background-image:url(../images/kr.png);
}

@media screen and (max-width: 1160px) {

[t12-pi-title] {
	font-size:calc( (100vw - 320px)/(1160 - 320) * (22 - 14) + 14px);	
}

[t12-pi-params] > span {
	font-size:calc( (100vw - 320px)/(1160 - 320) * (14 - 12) + 12px);	
}

[t12-pi-kr] {
	height:calc( (100vw - 320px)/(1160 - 320) * (160 - 80) + 80px)
}



[t12-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;
}


[t12-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);
}
}


@media screen and (max-width: 1160px) {

[tasks1-12-wrp] {
	height:calc( (100vw - 320px)/(1160 - 320) * (520 - 440) + 440px);
}



[t12-play-text] {
	min-height:calc( (100vw - 320px)/(1160 - 320) * (60 - 20) + 20px);	
}

}



@media screen and (max-width: 560px) {
[t12-play-img] {
	flex:0 0 calc( (100vw - 320px)/(560 - 320) * (400 - 288) + 288px);
	height:calc( (100vw - 320px)/(560 - 320) * (400 - 288) + 288px);
}

[tasks1-12-wrp] {
	/*height:480px;*/
}

}

