@charset "utf-8";

:root {
    --main-color-01: #65B3FB;
    --sub-color-01: #485367;
    --btn-color-01: #51A5F2;
    --btn-color-02: #1888e4;
    --btn-color-03: #07DAE7;
    --bg-color-01: #65B3FB;
    --bg-color-02: #F0F6FC;
    --text-color-01 : #1f73c2;
    --text-normal-color : #65B3FB;
    --text-warning-color : #FF7B7B;
    --placeholder-text-color : #C6C6C6;
    --placeholder-text-color2 : #eeeeee;
}

h1 { font-size: 1.0rem; font-weight: 700; }
h2 { font-size: 1.0rem; font-weight: 500; }
h3 { font-size: 0.8rem; font-weight: 500; }

html, body { font-size:20px; width:100%; height: 100vh; color:#292929; }

/* ================================= index - layout ================================= */

.index-bg { background: var(--bg-color-01); overflow: hidden !important; min-width: 360px; }
.index-bg::before { content: ''; display: block; width: 100%; height: calc(100% + 20rem); background: url('../images/map-dot.png') no-repeat center bottom / 80rem auto; position: absolute; bottom: -12rem; animation: earth 10s ease-in Infinite;}
@keyframes earth { 0% { bottom: -12rem; transform: scale(1.0); opacity: 0; } 15% { opacity: 1; } 100% { bottom: -20rem; transform: scale(1.5); opacity: 0; } }

.header { width:100%; display: flex; align-items: center; background: rgb(255 255 255 / 0.2); padding: 1rem; border-bottom: 1px solid #fff; position: relative; }
.header h1 { color:#fff; }

.p-right { margin-left:auto; }
.set-btn { width:1.5rem; height: 1.5rem; background: url(../images/log.png) no-repeat center / 100% auto; }


.footer { width:100%; height: 5rem; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1000; }
.footer p { font-size: 0.7rem; font-weight: 700; color: var(--text-color-01); }
.main-bg .footer { height: 2rem; padding: 1rem 0 2rem 0; }

.index-section {  width: calc(100% - 20rem); height: calc(100% - 8.5rem); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; position: relative; margin:0 auto; }

.input-search-box { display: flex; align-items: center; position: relative; width:100%; }
.input-search-box input { padding: 0.7rem 2rem 0.7rem 4rem; border:0; border-radius: 10rem; font-size: 1.2rem; font-weight: 700; width:100%; }
.input-search-box input::placeholder { font-size: 1rem; font-weight: 700; color: var(--placeholder-text-color); }
.input-search-box button { width:2rem; height: 2rem; background: url('../images/search-icon.png') no-repeat center / 90% auto; position: absolute; left: 1rem; }

.airplane-wrap { position: relative; width: 20rem; height: 20rem; min-width: 17rem; pointer-events: none; }
.airplane { width: 100%; height: 100%; background: url('../images/airplane.png') no-repeat center / 100% auto; position: absolute; z-index: 1; animation: airpane 10s ease-in-out infinite alternate; }
@keyframes airpane { 
    /* X Y */
    0% { transform: scale(1) translate(-5%, 5%); opacity: 1; background: url('../images/airplane.png') no-repeat center / 100% auto; } 
    20% { transform: scale(1) translate(0%, 0%); opacity: 1; background: url('../images/airplane2.png') no-repeat center / 100% auto; }
    40% { transform: scale(1) translate(5%, -2%); opacity: 1;  }
    60% { transform: scale(1) translate(-5%, 3%); opacity: 1;  }
    80% { transform: scale(1) translate(5%, 5%); opacity: 1; background: url('../images/airplane.png') no-repeat center / 100% auto; }
    100% { transform: scale(1) translate(5%, -5%); opacity: 1; background: url('../images/airplane2.png') no-repeat center / 100% auto; } 
}
.airplane-shadow { width: 100%; height: 100%; background: url('../images/airplane-shadow.png') no-repeat center / 100% auto; position: absolute; animation: shadow 10s ease-in-out infinite alternate; }
@keyframes shadow { 
    0% { transform: scale(1) translate(-5%, 5%); opacity: 1; } 
    20% { transform: scale(0.8) translate(-7%, 7%); opacity: 0.5; }
    40% { transform: scale(1) translate(0%, 7%); opacity: 0.7; }
    60% { transform: scale(1) translate( -3%, 6%); opacity: 0.8; }
    80% { transform: scale(1) translate( 0%, 7%); opacity: 1; }
    100% { transform: scale(0.8) translate(2%, 10%); opacity: 0.2; } 
}
a.blank { text-indent: -99999px; font-size: 0; opacity: 0; }
#clock { text-align: right; line-height: 1.4; }
.a1 { color : #fff; }
.a2 { color : #fff; font-size: 2.2rem; font-weight: 100; }

#ww_c4efc8a3c9bbc .ww-box { width: 12rem; margin:0 !important; padding:0 !important; top: 0.5rem !important}
#ww_c4efc8a3c9bbc .ww_name { font-size: 2rem; font-weight: 100 !important; display: flex; justify-content: flex-start; margin:0 !important; position: relative; top: 0.5rem; }
#ww_c4efc8a3c9bbc .ww_current { display: flex !important; justify-content: flex-start !important; align-items: center !important; gap:1rem; }
#ww_c4efc8a3c9bbc .ww_temp { font-size: 2rem; font-weight: 500 !important; margin: 0 !important; padding: 0 !important; }
#ww_c4efc8a3c9bbc .ww_cond { display: none !important; }
#ww_c4efc8a3c9bbc .ww_source svg { display: none !important; }
#ww_c4efc8a3c9bbc .ww_icon svg { width: 3.5rem !important; height: 3.5rem !important; }
#ww_c4efc8a3c9bbc .ww_additional { display: none !important; }
#ww_c4efc8a3c9bbc .ww-box > .resize-sensor { width: 12rem; }
#ww_c4efc8a3c9bbc .ww-box[max-width~="230px"] .ww_icon { width:auto !important; margin-top: 0 !important; }

.index-wrap { width: 60rem; display: flex; justify-content: center; align-items: center; gap: 0 3rem; flex-wrap: wrap; position: relative;}
.info-wrap { width:26rem; position: relative; display: flex; flex-direction: column; align-items: center; }
.w-info { display: flex; justify-content: space-between; align-items: flex-end; min-height: 7rem; margin-bottom: 1rem; width: calc(100% - 2rem); }




/* ================================= main - layout ================================= */

.main-bg { background: var(--bg-color-02); min-width: 360px; }
.main-bg .header { width:100%; display: flex; flex-wrap: wrap; gap:0.5rem; align-items: center; background: var(--main-color-01); padding: 1rem; border-bottom: 1px solid #fff; }
.main-bg .header time { margin-left: auto; display: flex; }
.main-wrap { max-width: 1360px; margin: 0 auto; padding: 1rem; display: flex; flex-direction: column; gap:1rem; }

.main-bg .header time #clock { line-height: 0; display: flex; gap:0.5rem; }
.main-bg .header time #clock .a1 { color : #fff;  }
.main-bg .header time #clock .a2 { color : #fff; font-size: 1rem; font-weight: 700; }
.header-left-nav { display: flex; align-items: center; margin-left: auto; }
.header .edit-button { margin-left:1rem; } 
.edit-button { font-size: 0.7rem; font-weight: 700; color:#fff; padding: 0.3rem 0.7rem; background: var(--btn-color-03); border-radius: 0.3rem; }
.edit-button3 { font-size: 0.7rem; font-weight: 700; color:#fff; padding: 0.3rem 0.7rem; background: var(--btn-color-01); border-radius: 0.3rem; }

section.service-1 { display: grid; gap:1rem; grid-template-columns: 1fr 2fr; }
.map-wrap { flex-shrink: 0; flex-grow: 1; flex-basis: 0; min-height: 13rem; border-radius: 0.5rem; overflow: hidden; display: flex; align-items: center; justify-content: center; }

.device-location-wrap h2 { font-size: 1.1rem; font-weight: 700; padding: 1rem 0; }
.device-location-wrap h2 span { font-size: 1.1rem; font-weight: 500; padding-left: 2rem; }

.device-location { background: var(--sub-color-01); border-radius: 0.5rem; padding:1rem; color:#fff; font-size: 0.75rem; font-weight: 500; }
.device-location li { display: flex; gap:1rem; height: 2rem; }
.device-location li .depth-1 { width: 10rem; flex-shrink: 0; flex-grow: 0; }
.device-location li .depth-2 { flex-shrink: 1; flex-grow: 0; 
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    word-wrap:break-word; 
    line-height: 1.4em;
    height: 1.4em;
}
.device-location li i { width:2rem; flex-shrink: 0; display: flex; align-items: center; justify-content: center; position: relative; }
.device-location li i::before { content: ''; display: block; position: absolute; top:50%; left:50%; width:1px; height: 50%; transform: translateX(-50%); background: #C5E3FF; }
.device-location li:not(:first-of-type) i::before { height: 100%; top:0; }
.device-location li:last-of-type i::before { height: 50%; top:0; }

.device-location li i span { display: block; width:0.5rem; height: 0.5rem; border-radius: 0.5rem; background: #C5E3FF; position: relative; }
.device-location li.active i span { background: #00EEFF; }
.device-location li.active i span::before { position: absolute; content: ''; width:1.1rem; height: 1.1rem; border-radius: 1.1rem; border: 4px solid #00EEFF; top:50%; left: 50%; transform: translate(-50%, -50%); animation: dot1 1s ease-out Infinite; }
@keyframes dot1 { 
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    50% { transform: translate(-50%, -50%); opacity: 0.5; }  
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; } 
}
.device-location li.active i span::after { position: absolute; content: ''; width:1.6rem; height: 1.6rem; border-radius: 1.6rem; border: 1px solid #00EEFF; top:50%; left: 50%; transform: translate(-50%, -50%) scale(0); animation: dot2 1s 0.2s ease-in Infinite; }
@keyframes dot2 { 
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    50% { transform: translate(-50%, -50%); opacity: 0.5; }  
    100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; } 
}
.device-location li.active div { color: #00EEFF; font-weight: 700; font-size: 0.75rem; }
.loca { display: flex; gap:1rem; align-items: center; }

section.service-2 ul { display: grid; gap:1rem; grid-template-columns: 1fr 1fr 1fr; }
.card { background: rgb(0 0 0 / 0.1); padding:1rem; border-radius: 0.5rem; display: flex; flex-direction: column; text-align: right; gap: 0.5rem; position: relative; }
.card i { position: absolute; width:3.7rem; height: 3.7rem; }
.card i.icon-1 { background: url(../images/icon-1.png) no-repeat center / 100% auto; }
.card i.icon-2 { background: url(../images/icon-2.png) no-repeat center / 100% auto; }
.card i.icon-3 { background: url(../images/icon-3.png) no-repeat center / 100% auto; }

.card label { font-size: 0.9rem; font-weight: 700;  }
.card .card-input { width: calc(100% - 5rem); margin-left: auto; }

.card-input { border:0; outline: 0; border-radius: 0.25rem !important; padding: 0.3rem 3rem 0.3rem 0.5rem; background: #fff; text-align: right; font-size: 1rem; font-weight: 700; }
.card-input:read-only { background: rgb(255 255 255 / 0.5); }
.card-input:disabled { background: rgb(0 0 0 / 0.05); }
.input-box { position: relative; }
.input-box span { position: absolute; right:1rem; top:50%; transform: translateY(-50%); font-size: 0.8rem; font-weight: 200; }

section .graph-wrap, section .schedule-wrap { background: #fff; border-radius: 0.5rem; padding:1rem; }
section .graph-wrap { min-width: 20rem; }
h2.line-h2 { display: flex; gap: 1.5rem; align-items: center; }
h2.line-h2 span { font-size: 1.1rem; font-weight: 700; position: relative; }
h2.line-h2 i { flex:1; display: inline-block; width:100%; height: 1px; background: #e1e1e1; position: relative; transform: translateY(-50%); }
h2.line-h2 i::before { content: ''; width: 0.3rem; height: 0.3rem; border-radius: 0.3rem; background: #bdbdbd; display: block; position: absolute; transform: translateY(-50%); }
.graph-wrap strong { display: block; color: #000; font-size: 1rem; margin: 1rem 0; }

.status-wrap { background: #f4f4f4; border-radius: 0.5rem; padding: 0.7rem 1rem; display: flex; }
.status-wrap.type2 label { display: none; }
.status-wrap.type2 span { padding-top: 0;}
.status-wrap > div { display:flex; flex-direction: column; flex:1; flex-shrink: 0; }
.status-wrap > div label, .status-wrap > div span { position: relative; }
.status-wrap > div label { font-size: 0.8rem; font-weight: 700; display: block; padding-bottom: 0.7rem; border-bottom: 1px solid #e6e6e6;}
.status-wrap > div span { font-size: 0.7rem; font-weight: 500; padding-top: 0.7rem; }

.status-wrap.status-normal .status-1, .status-wrap.status-normal .status-2 { color: var(--text-normal-color); font-weight: 700 !important; } 
.status-wrap.status-warning .status-1, .status-wrap.status-warning .status-2 { color: var(--text-warning-color); font-weight: 700 !important; } 
.gps-type, .time-type { flex:2 !important; }

.status-wrap.status-warning { background: rgb(255 0 0 / 0.05); animation: warning-1 2s ease-in infinite; border: 2px solid rgb(255 0 0 / 0.05);}
@keyframes warning-1 { 0% { background: rgb(255 0 0 / 0.01); } 50% { background: rgb(255 0 0 / 0.05);} 100% { background: rgb(255 0 0 / 0.01); } }


ul.schedule li { padding: 1rem; display: flex; }
ul.schedule li label { display: inline-block; width: 8rem; font-size: 0.8rem; font-weight: 700; flex-shrink: 0;}
ul.schedule li span { display: inline-block; font-size: 0.8rem; font-weight: 500; }
ul.schedule li:nth-child(even) { border-radius: 0.5rem; background: #f1f1f1; }

.graph-design { min-height: 20rem; border-radius: 0.5rem; margin:1rem 0; 
    /* background: rgb(255 0 0 / 0.2);  */
    position: relative; }

.graph-info-x { position: absolute; top:0; left:0; height: calc(100% - 3rem); width:100%; }
.graph-info-x ul.left-temp { display: flex; flex-direction: column; justify-content: space-between; height: calc(100% - 0.2rem); padding: 0 0.5rem; position: relative; } 
.graph-info-x ul.left-temp:after { content: ''; display: block; position: absolute; border-left: 1px solid #ccc; border-right: 1px solid #ccc; top:0.5rem; right:0.5rem; width: calc(100% - 2.9rem); height: calc(100% - 1rem); }

.graph-info-x ul.left-temp li { position: relative; display: flex; align-items: center; gap: 0.3rem; }
.graph-info-x ul.left-temp li span { font-size: 0.7rem; font-weight: 700; }
.graph-info-x ul.left-temp li:first-of-type i { width: 100%; height: 1px; border-top: 1px solid #ccc; display: block;}
.graph-info-x ul.left-temp i { width: 100%; height: 1px; border-top: 1px dashed #e8e8e8; display: block;}
.graph-info-x ul.left-temp li:last-of-type i { display: none; }

.graph-info-y { position: absolute; bottom: -0.5rem; right:0; width: calc(100% - 2rem); height: 100%; }
.graph-info-y ul.left-temp { display: flex; justify-content: space-between; height: 100%; align-items: flex-end; width:100%; padding: 0 0.5rem; position: absolute; bottom:0; } 
.graph-info-y ul.left-temp li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; height: 100%; }
.graph-info-y ul.left-temp li div { text-align: center; line-height: 1; }
.graph-info-y ul.left-temp li span { font-size: 0.7rem; font-weight: 500; }
.graph-info-y ul.left-temp li span.temp-time { font-size: 0.7rem; font-weight: 700; }
.graph-info-y ul.left-temp li i.y-line { display: block; width:1px; height: calc(100% - 3.8rem); border-right: 1px solid #ccc; position: relative;}
.graph-info-y ul.left-temp li i.y-line:after { content: ''; display: block; position: absolute; bottom: 0; width:1px; height: 0.5rem; border-right: 2px solid #6a6a6a; }

/* ================================= login custom ================================= */

.login-section { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.login-box-wrap { width: 50%; max-width: 26rem; min-width: 20rem; padding:2rem; border-radius: 1rem; background: rgb(255 255 255 / 0.1); backdrop-filter: blur(3px); border-top:1px solid rgb(255 255 255 / 0.4); border-left:1px solid rgb(255 255 255 / 0.4); box-shadow: rgba(80, 152, 196, 0.3) 0px 20px 25px -5px, rgba(80, 152, 196, 0.1) 0px 10px 10px -5px; display:flex; flex-direction: column; }

.login-box-wrap h1 { font-size: 1rem; font-weight: 700; color: #fff; }

hr { width:100%; border-top: 1px solid rgb(80, 152, 196, 1); border-bottom: 1px solid rgb(255 255 255 / 0.5); border-left:0; border-right: 0; margin:1rem 0 1.5rem; }

.login-box-wrap input { padding: 0.5rem 1.5rem; border:0; border-radius: 10rem; font-size: 1rem; font-weight: 700; width:100%; background: transparent; position: relative; z-index: 1; }
.login-box-wrap input::placeholder { font-size: 0.9rem; font-weight: 700; color: var(--placeholder-text-color2); }
.login-box-wrap button { width:100%; padding: 0.5rem 1.5rem; border:0; border-radius: 10rem; font-size: 1rem; font-weight: 700; color:#fff; background: var(--btn-color-02);}

.input-box2 { position: relative; width:100%; padding: 1rem 0; margin-bottom: 0.5rem; }
.input-box2 span { position: absolute; left:0; padding: 0.5rem 0 0 1rem; pointer-events: none; transition: 0.5s; color:#fff; font-weight: 500;}

.input-box2 input:valid ~ span, .input-box2 input:focus ~ span { color: var(--btn-color-02); transform: translateY(-2.3rem); font-size: 0.9rem; font-weight: 700; } 
.input-box2 i { position: absolute; display: block; left:0; bottom: 1rem; width:100%; height: 2px; background: rgb(255 255 255 / 0.4); pointer-events: none; transition: 0.5s; border-radius: 2rem; }
.input-box2 input:valid ~ i, .input-box2 input:focus ~ i { height: 2.5rem; background: rgb(255 255 255 / 0.4); }

/* ================================= graph custom ================================= */

#container { width: calc(100% - 1rem); height: 17rem; position: absolute; top:0; right:0; }

.highcharts-title { display: none; }
.highcharts-subtitle { display: none; }
.highcharts-axis-title { display: none; }
.highcharts-exporting-group { display: none; }
.highcharts-credits { display: none; }

/* y축 데이터 숨기기 */
/* .highcharts-axis-labels.highcharts-yaxis-labels { display: none; }  */
.highcharts-axis-labels.highcharts-yaxis-labels text { display: none; } 

/* x축 데이터 숨기기 */
/* .highcharts-axis-labels.highcharts-xaxis-labels { display: none; }  */
.highcharts-axis-labels.highcharts-xaxis-labels text { display: none; }

/* 차트배경 투명설정 */
.highcharts-background { fill: transparent; }
.highcharts-grid-line { display: none; }

/* x축 커스터마이징 테스트 */
.g-text-01 { font-size: 0.7rem; font-weight: 700; display: block; margin-bottom: 0.5rem; }
.g-text-02 { font-size: 0.65rem; font-weight: 500; }
/* 도트아래 선 없애기 */
.highcharts-lollipop-stem { display: none; }




