@charset "utf-8";
/*
SkyMoon : New Tab extension

Version History
    1.0     First Build
	1.1		Done.
	1.1.2
	1.1.3	Site_info bookmark 추가
	1.1.4

Note : 
newtab.css and newtabS.css are same. *S is server version

Usage :
<link rel='stylesheet' type='text/css' charset='utf-8' href='h_newtab.css'>

Check :
https://jigsaw.w3.org/css-validator/validator?uri=https://cameraclub.kr/newtab/h_newtabS.css

*/
@import url('https://fonts.googleapis.com/css2?family=Gowun+Dodum&display=swap');
/*
고운 돋움
@font-face {
  font-family: 'Gowun Dodum';
  font-weight: 400;
  font-style: normal;
  src:    url('GowunDodum-Regular.woff') format('woff');
}
*/

*, *:before, *:after {
	box-sizing: border-box;
}

HTML {
	height:100%;
}
BODY {
	height: 100%;
	margin: 0;

	color: white;
	background: #444;

	font-family: 'Gowun Dodum', sans-serif, Courier, monospace;
	background-color: #AAAEAF;
	background-image: linear-gradient(to bottom, rgba(100, 110, 120, 0.4) 0%, rgba(110, 120, 140,  0.4) 40%, rgba(100, 110, 120, 0.9) 100%);
	font-weight: normal;
	font-size: 15px;
	line-height: 1.2;
}
BODY A {
    text-decoration: none;
}
#id_bgImage, #id_dim_overlay, #id_content_wrap {
	height: 100%;
	width: 100%;
}


@keyframes fade_in {
	0% {opacity: 0}
	100% {opacity: 1}
}
.fade_in {
	animation-name: fade_in;
	animation-duration: 1s;
	animation-fill-mode: both;
}

@keyframes fade_inout {
	0% {opacity: 0}
	10% {opacity: 0}
	20% {opacity: 1}
	80% {opacity: 1}
	100% {opacity: 0}
}
@keyframes fade_inout_message {
	0% {opacity: 0}
	5% {opacity: 1}
	90% {opacity: 1}
	100% {opacity: 0}
}
.fade_inout {
	animation-name: fade_inout;
	animation-duration: 30s;
	animation-fill-mode: both;
}
.fade_inout2 {
	animation-name: fade_inout;
	animation-duration: 20s;
	animation-fill-mode: both;
}
.fade_inout_message {
	animation-name: fade_inout_message;
	animation-duration: 10s;
	animation-fill-mode: both;
}
.hover_opacity {
	opacity: 80%;
	transition-property: opacity;
	transition-duration: 0.5s;
}
.hover_opacity:HOVER {
	opacity: 100%;
}

.heisme_hidden {
	display: none !important;
	/* visibility: hidden; */
}
		
/*************/
/** Element **/
#id_content_wrap {
	position: relative;
}

.site_info {
	position: absolute;
	top: 0;
	left: 0;

	/*
    padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 70px;
    padding-right: 70px;
	margin-top: 0px;

    background-color: transparent;
    background-image: radial-gradient(circle, rgba(0, 0, 0, 30%) 0%, rgba(0, 0, 0, 15%) 70%, rgba(0, 0, 0, 0%) 100%);
	*/

	font-family: Courier, 'Gowun Dodum', sans-serif, monospace;

    padding-top: 8px;
	padding-bottom: 10px;
	padding-left: 20px;
    padding-right: 20px;
	font-size: 26px;

	overflow: hidden;
	white-space: nowrap;

	opacity: 70%;
	max-width: 60px;
	max-height: 49px;

	background-color: transparent;
	border-radius: 0px 0px 25px 6px;

	transition-property: opacity, max-width, max-height, box-shadow;
	transition-duration: 1s;
}
.site_info:HOVER {
	opacity: 100%;
	max-width: 400px;
	max-height: fit-content;
	/*background-image: radial-gradient(ellipse , rgba(0, 0, 0, 30%) 0%, rgba(0, 0, 0, 15%) 50%, rgba(0, 0, 0, 0%) 100%);
	background-image: linear-gradient(to bottom right,rgba(0,0,0,0.3) 00%,rgba(0,0,0,0) 100%);*/
	background-image: linear-gradient(to right,rgba(0,0,0,0.7) 00%,rgba(0,0,0,0.3) 100%);
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.8);
}
.site_info * {
	vertical-align: middle;
}
.site_info IMG {
	height: 35px;
	width: auto;
}

.site_info .bookmark {
	margin-top: 30px;
	margin-left: 10px;
	margin-bottom: 10px;
}
.site_info .bookmark A {
    color: rgba(235, 245, 255, 0.9);
	font-size: 24px;
    text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.8);
}
.site_info .bookmark A:HOVER{
 	color: white;
}
.site_info .bookmark .bookmark_item {
	margin-top: 20px;
}

.site_info .site_link:HOVER {
 	color: white;
}

.bottom_info {
	position: absolute;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;

	z-index: 20;

	bottom: 0;
	width: 100%;

	font-size: 16px;

	padding-top: 20px;
	padding-bottom: 10px;
	padding-left: 0px;
	padding-right: 20px;

	text-shadow: 0 0 10px rgba(0, 0, 0, 90%);
}
.bottom_info:HOVER {
	/*background-image: linear-gradient(to top,rgba(0,0,0,0.3) 0%,rgba(0,0,0,0) 100%);*/
}

.bottom_info A {
	color: white;
	text-decoration: none;
}

.bottom_info .flex_left,
.bottom_info .flex_right {
	/* Item 하단 정렬 */
	margin-bottom: 0;
	margin-top: auto;
}

.bottom_info .ext_info_box {
	display: flex;
	flex-direction: column;
	justify-content: flex-end; /* 하단 정렬 */

	height: 50px;
	max-width: 55px;
	overflow: hidden;
	white-space: nowrap;

	background-color: transparent;
	border-radius: 0px 25px 6px 0px;

	opacity: 75%;
	transition-property: max-width, opacity;
	transition-duration: 0.6s;

	user-select: none;
	cursor: pointer;
}
.bottom_info .ext_info_box:HOVER {
	height: auto;
	opacity: 100%;
	max-width: 280px;

	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.8);
	background-image: linear-gradient(to right,rgba(0,20,30,0.8) 0%, rgba(0,10,20,0.4) 100%);
}

.bottom_info .ext_info_box .ext_info {
    white-space: nowrap;
	font-size: 19px;
	background-color: transparent;
	padding-right: 20px;
	padding-left: 20px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.site_popup {
	color: white;
	font-family: Courier, 'Gowun Dodum', sans-serif, monospace;
	font-size: 20px;
    text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.8);
	line-height: 140%;

	padding-top: 10px;
	padding-bottom: 0px;
	overflow: hidden;
}

.site_popup .site_popup_item {
	margin-top: 10px;
	margin-bottom: 10px;
    padding-right: 30px;
    padding-left: 30px;

}
.site_popup .site_popup_item.sub_header {
	font-size: smaller;
	opacity: 40%;
}
.site_popup .site_popup_item A {
	color: white;

    background-color: transparent;
    /*background-image: radial-gradient(circle, rgba(0, 0, 0, 30%) 0%, rgba(0, 0, 0, 15%) 70%, rgba(0, 0, 0, 0%) 100%);*/
	/*background-image: linear-gradient(to right,rgba(0,0,0,0.3) 0%,rgba(0,0,0,0) 100%);*/
}
.site_popup .site_popup_item A:HOVER {
 	color: #ffffaa;
}
.site_popup .site_info_popup {

    background-color: transparent;
    /*background-image: radial-gradient(circle, rgba(0, 0, 0, 30%) 0%, rgba(0, 0, 0, 15%) 70%, rgba(0, 0, 0, 0%) 100%);*/
	background-image: linear-gradient(to right,rgba(0,0,0,0.3) 0%,rgba(0,0,0,0) 100%);
}
.site_info .site_link,
.site_popup .site_info_popup .site_link {
	color: rgba(255, 255, 255, 0.9);
    text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.8);

	line-height: 140%;
}
.site_popup .site_info_popup .site_link {
	font-size: 24px;
}


.bottom_info #id_clock {
	font-size: 17px;
	font-weight: 500;
    line-height: 160%;
	
	padding-left: 15px;
	padding-right: 15px;

	text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.8);
	background-image: radial-gradient(circle, rgba(0, 0, 0, 30%) 0%, rgba(0, 0, 0, 15%) 80%, rgba(0, 0, 0, 0%) 100%);
	opacity: 0%;
}

.bottom_info .ext_setting {
	padding-bottom: 11px;
	text-align: right;
	opacity: 75%;

	white-space: nowrap;
	overflow: hidden;
}
.bottom_info .ext_setting * {
	display: inline-block;
	
	transition-property: opacity;
	transition-duration: 0.8s;
}
.bottom_info .ext_setting:HOVER {
	opacity: 100%;
}
.bottom_info .ext_setting:HOVER #id_clock {
	opacity: 50%;
}
.bottom_info .ext_setting *,
.bottom_info .ext_info * {
	vertical-align: middle;
}
.bottom_info .ext_setting IMG {
	height: 28px;
	margin-right: 2px;
	margin-bottom: 2px;
	opacity: 80%;
}

.bottom_info .ext_info IMG {
	height: 30px;
	margin-right: 4px;
}


#id_dim_overlay {
	display: none;
	z-index: 10;
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	background: rgba(0,0,0, 50%);
}

#settings_dialog {
	display: none;

	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);

	z-index: 21;
	background: #fff;
	color: #444;

	font: normal 14px arial, sans-serif;
	line-height: 1.5;

	border-radius: 3px;
	padding: 20px 25px;

	/*margin-left: -210px; */
	width: 420px;
    box-shadow: 0px 0px 12px 4px rgba(0, 0, 0, 0.4);
}

#settings_dialog LABEL,
#settings_dialog INPUT[type="button"],
#settings_dialog INPUT[type="checkbox"] {
	user-select: none;
	cursor: pointer;
}
#settings_dialog INPUT[type="checkbox"] {
    width: 20px;
    height: 20px;
}
#settings_dialog LABEL,
#settings_dialog INPUT[type="checkbox"] {
	vertical-align: middle;
}

#settings_dialog #id_program_info {
	font-weight: bold;
	font-size: 15px;
}

.saying_content {
	position: absolute;
	z-index: 9;

	bottom: 80px;
	left: 50%;
	transform: translateX(-50%);

	width: max-content;
	min-width: 200px;
	max-width: 85%;

	background-color: rgba(255,255,255,30%);
	/*
	background-color: transparent;
    background-image: radial-gradient(circle, rgba(250,250,255, 35%) 0%, rgba(255,255,255, 30%) 70%, rgba(255,255,255, 40%) 100%);
	*/

	border-radius: 12px 0px 20px 6px;
	/*box-shadow: 1px 1px 3px 1px rgba(0,0,0, 0.3);*/
	filter: drop-shadow(2px 2px 3px rgba(0,0,0,30%));

	user-select: none;
	padding: 20px 20px;
}

.saying_message {
	font-family: 'Gowun Dodum', Arial, Tahoma, Verdana, Roboto, sans-serif;
    font-weight: normal;
    color: rgba(0, 0, 10, 92%);
	font-size: 20px;
	word-break: keep-all;
	text-align: center;
	line-height: 160%;

	background-color: rgba(255,255,255,25%);

	box-shadow: inset 1px 1px 2px rgba(0,0,0, 0.3);
	border-radius: 6px 0px 10px 3px;

	padding-top: 12px;
	padding-bottom: 10px;
	padding-left: 35px;
	padding-right: 35px;
}

.server_content {
	display: none;

	position: absolute;
	z-index: 22;
	top: 50%;
	left: 50%;
	transform: translate( -50%, -50%);

	width: auto;
	min-width: 200px;
	max-width: 400px;

	/*background-color: rgba(0,15,25,80%);*/
	background-color: transparent;
    background-image: linear-gradient(to right, rgba(0, 20, 30, 0.8) 0%, rgba(0, 10, 20, 0.4) 100%);

	border-radius: 12px 0px 20px 6px;
	box-shadow: 1px 1px 3px 1px rgba(0,0,0, 0.3);

	padding: 20px 20px;
}
.server_message {
	font-family: 'Gowun Dodum', Arial, Tahoma, Verdana, Roboto, sans-serif;
	font-weight: normal;
	color: #ffffd5;
	font-size: 18px;
	word-break: keep-all;
	text-align: start;
	line-height: 180%;

	background-color: rgba(0,0,0,25%);

	box-shadow: inset 1px 1px 2px rgba(0,0,0, 0.3);
	border-radius: 6px 0px 10px 3px;

	padding-top: 12px;
	padding-bottom: 10px;
	padding-left: 35px;
	padding-right: 30px;
}
.server_message A {
	color: inherit;
	font-weight: bold;
	text-decoration: none;
}

/************************/
/* 휴대폰등 소형 화면용 */
@media all and (max-width:768px)
{

} /* @media all and (max-width:768px) */

@media all and (max-width:480px)
{

	#settings_dialog {
		width: 90%;
	}
	.server_content {
		width: 90%;
	}
	.server_message {
		word-break: break-all;
	}

} /* @media all and (max-width:480px) */

/* for print only */
@media print {
    .heisme-newPage {
        display: block !important;
        break-before: page;
    }
    .heisme-noPrint {
        visibility: hidden;
        /*display: none !important;*/
    }

} /* end of @media print */
/**************************************************/
/** EOF : End of File *****************************/
/**************************************************/
