﻿/* 공통 */
.box_tit{ margin-bottom:1rem;}
select{ border:1px solid #ccc; height:2rem; line-height:2rem; padding:0 .5rem;}

/* 인사말 */
.greeting { word-break:keep-all; margin-top:5rem; }
.greeting .box { position:relative; padding:3rem 2rem; background:#eff8ff url('/images/web/yangil-m/sub/greeting_bg.png') no-repeat right bottom; border-radius:0 0 3rem 0; box-shadow:5px 5px 0 #0092ff; margin-top:2.2rem; }
.greeting .box:before { content:"GREETING"; position:absolute; left:0; top:-2.2rem; font-size:2.5rem; color:#eff8ff; font-weight:900; line-height:1; letter-spacing:10px; }
.greeting .box p { font-size:1.2rem; }
.greeting .box p strong { font-weight:700; }
.greeting .box.img_box { padding-right:13rem; }
.greeting .box.img_box .img { position:absolute; right:2.5rem; top:-2.2rem; width:9rem; max-height:10.25rem; border-radius:1rem; box-shadow:3px 3px 20px rgba(0,0,0,0.2); overflow:hidden; }
.greeting .box.img_box .img img { width:100%; } 
.greeting .con { padding:1.5rem 0; }
.greeting .con p + p { margin-top:1.5rem; }
.greeting .con p.sign { text-align:right; }
.greeting .con p.sign strong { color:111; font-size:0.85rem; font-weight:700; letter-spacing:5px;} 

/* 상징 */
.symbol { position:relative; word-break:keep-all; margin-top:1.5rem;} 
.symbol .box { position:relative; min-height:10.5rem; padding:1.5rem 2rem 1.5rem 15rem; border:2px solid #dcdcdc; border-top:0; border-radius:0 0 1.75rem 1.75rem; margin-bottom:1.4rem; } 
.symbol .box:before { content:""; position:absolute; left:-2px; top:0; width:calc(100% + 4px); height:3px; background:#0072ff; }
.symbol .box h3 { font-weight:600; margin-bottom:1rem; }
.symbol .box h3 strong { display:inline-block; width:5.6rem; padding:0.3rem 0.5rem; color:#fff; text-align:center; background:#0072ff; border-radius:2.1rem; margin-right:1rem; }
.symbol .box .img { position:absolute; left:1.5rem; top:1.2rem; width:10rem; max-height:8rem; border-radius:0.5rem; border:1px solid #ededed; box-shadow:3px 3px 10px rgba(0,0,0,0.1); line-height:0; overflow:hidden; }
.symbol .box .img img { max-width:100%; height:auto; }
.symbol .slogan { padding:1.5rem; text-align:center; min-height:0; }
.symbol .slogan h3 strong { font-size:1.1rem; width:auto; padding:0.35rem 1rem; }
.symbol .slogan p { font-size:1rem; font-weight:600; }
.symbol .symbol1:before { background:#48b1ff; }
.symbol .symbol1 h3 strong { background:#48b1ff; }
.symbol .symbol2:before { background:#00b29f; }
.symbol .symbol2 h3 strong { background:#00b29f; }
.symbol .symbol3:before { background:#00ba53; }
.symbol .symbol3 h3 strong { background:#00ba53; }
.symbol .symbol4:before { background:#f05959; }
.symbol .symbol4 h3 strong { background:#f05959; }
.symbol_song { position:relative; background:#f0f8ff; border:1px solid #dbdbdb; }
.symbol_song h3 {padding:1rem 13rem 1rem 1.5rem; font-size:1.1rem; font-weight:700; }
.symbol_song .btn { position:absolute; right:1rem; top:0.6rem; }
.symbol_song .btn a { min-width:0; padding:0.5rem .9rem }
.symbol_song .rsp_img { background:#fff; padding:1rem; border-top:1px solid #dbdbdb; }
/* 상징 : 내용 없을 시 */
.symbol .noTxt{ width:calc(100% + 1rem); display:flex; flex-wrap: wrap; margin-bottom:1rem; margin-left:-.5rem;}
.symbol .noTxt .box {width:calc(50% - 1rem); padding:1.5rem 1rem; margin:.5rem; min-height:0; text-align:center;}
.symbol .noTxt .box .img{ position:relative; left:auto; top:auto; display:inline-block; margin:0 auto;}
.symbol .noTxt .box .img img{ width:auto; max-width:100%; height:auto;}
.symbol .noTxt .box h3{ margin:.5rem 0 0;}

/* 연혁 */
.history_wrap { position:relative; overflow:hidden; margin-top:1rem;} 
.history_wrap:before { content:""; position:absolute; left:0.4rem; top:0.5rem; width:1px; height:100%; border-left:2px dotted #cdcdcd; }
.history_wrap dl { position:relative; display:flex; }
.history_wrap dl + dl { margin-top:1.5rem; }
.history_wrap dl dt { width:8rem; font-size:1.2rem; font-weight:700; padding-left:2rem; }
.history_wrap dl dt:before { content:""; position:absolute; left:0; top:0.5rem; width:0.9rem; height:0.9rem; background:#0072ff;  border:4px solid #cce3ff; border-radius:50%; }
.history_wrap dl dd { width:calc(100% - 8rem); background:#eef7ff; padding:1.25rem 1.5rem; border-radius:0 0 0 1.5rem; }
.history_wrap dl dd ul li { position:relative; padding-left:6.7rem; }
.history_wrap dl dd ul li + li { margin-top:0.7rem; }
.history_wrap dl dd ul li:before { content:""; position:absolute; left:0; top:0.5rem; width:0.3rem; height:0.3rem; background:#0072ff; border-radius:50%; }
.history_wrap dl dd ul li strong { position:absolute; left:0.7rem; top:0; font-size:0.85rem; font-weight:700; color:#0f4b95; } 

/* 학급홈페이지 */
.scClass li dl {position:relative; margin-top:2.25rem; padding:2rem 1rem 1rem; border-radius:1rem; border:2px dotted #0077d1;}
.scClass li dl dt {position:absolute; left:0; top:-1.25rem; width:8rem; line-height:2.5rem; padding:0 1rem; text-align:center; color:#fff; font-weight:600; background:#0077d1; border-radius:1rem;}
.scClass li dl dd ul {overflow:hidden;}
.scClass li dl dd ul li {width:23%; margin:5px 1%; float:left; line-height:2.5rem; }
.scClass li dl dd ul li a {position:relative; display:block;  line-height:2.5rem; padding:0 1rem 0 3rem; background:#eff8ff; border-radius:.5rem;}
.scClass li dl dd ul li a:hover,
.scClass li dl dd ul li a:focus {color:#111; box-shadow:0 0 5px 0 rgba(0, 119, 209, 0.5);}
.scClass li dl dd ul li a span {position:absolute; left:.5rem; top:.35rem; width:1.8rem; height:1.8rem; line-height:1.8rem; display:block; text-align:center; font-size:1rem; margin-right:.5rem; color:#fff; background-color:rgba(0, 0, 0, .2); border-radius:50%;}
.scClass li dl dd ul li a:hover span,
.scClass li dl dd ul li a:focus span {background:#0077d1;}
.scClass li:nth-child(even) dl { border:2px dotted #1fbe8e;}
.scClass li:nth-child(even) dl dt {background:#1fbe8e;}
.scClass li:nth-child(even) dl dd ul li a {background:#e8f8f3;}
.scClass li:nth-child(even) dl dd ul li a:hover,
.scClass li:nth-child(even) dl dd ul li a:focus {box-shadow:0 0 5px 0 rgba(30, 190, 142, 0.5);}
.scClass li:nth-child(even) dl dd ul li a:hover span,
.scClass li:nth-child(even) dl dd ul li a:focus span {background:#1fbe8e;}

/* 학사일정 */
.schedule{ width:calc(100% + .5rem); display:flex; flex-wrap: wrap; margin-top:.5rem; margin-left:-.25rem;}
.schedule h5{ border-radius:.25rem; background:#0f7095; color:#fff; padding:.5rem; text-align:center; font-size:.9rem; font-weight:600; margin-bottom:.25rem;}
.schedule.second h5{background:#e55c5c; }
.tbl_sche{ width:calc(33.33% - .5rem); margin:.25rem; padding:.75rem; border-radius:.5rem; background:#f1f1f1;}
.tbl_sche table{ height:12.5rem; background:#fff; border-top:2px solid #666; border-bottom:1px solid #ccc;}
.tbl_sche thead th{ font-weight:600; padding:.45rem 0; border-bottom:1px solid #ccc;}
.tbl_sche tbody td{ padding:.25rem 0; text-align:center;}
.tbl_sche tbody td:first-of-type{ color:#dd1818;}
.tbl_sche tbody td:last-of-type{ color:#0072ff;}
.tbl_sche tbody td.bg_day{ background:#e3f3ff;}

@media (max-width:960px){
    /* 상징 */
    .symbol > div:not(.noTxt) { padding-left:13rem; } 

	/* 학급홈페이지 */
	.scClass li dl dd ul li {width:48%; margin:5px 1%;}
}
@media (max-width:768px){
    /* 인사말 */
    .greeting {margin-top:2.5rem; }
    .greeting .box { padding:2rem 1.5rem; }
    .greeting .box:before { letter-spacing:3px;}
    .greeting .box p { font-size:1rem; }
    .greeting .box.img_box { padding-right:1.5rem; }
    .greeting .box.img_box .img { position:relative; right:auto; top:auto; display:block; margin:0 auto 1rem; }
    .greeting .con p + p { margin-top:1rem; }

    /* 연혁 */
    .history_wrap:before { display:none; }
    .history_wrap dl { display:block; }
    .history_wrap dl dt { padding-left:1.5rem; }
    .history_wrap dl dd { width:auto; margin:0.5rem 0 0;}
    
    /* 학사일정 */
    .tbl_sche{ width:calc(50% - .5rem);}
}
@media (max-width:600px){
    /* 상징 */
    .symbol .box:not(.slogan) { padding:1.5rem; text-align:center;}
    .symbol .box .img { position:relative; left:auto; top:auto; display:block; width:auto; max-width:100%; height:auto; margin:0 auto 1rem;  }
    .symbol .box h3 { text-align:center; }
    .symbol_song h3 { padding:1rem 1rem 0; text-align:center; }
    .symbol_song .btn { position:relative; right:auto; top:auto; text-align:center; padding-bottom:1rem; }
}
@media (max-width:480px){
    /* 연혁 */
    .history_wrap dl dd { padding:1rem; }
    .history_wrap dl dd ul li { padding-left:0.7rem; }
    .history_wrap dl dd ul li strong { position:relative; left:auto; top:auto; display:block; }

	/* 학급홈페이지 */
	.scClass li dl dd ul li {width:100%; margin:5px 0;}
}
@media (max-width:420px){
    
    /* 학사일정 */
    .schedule{ width:100%; margin:.5rem 0 0;}
    .tbl_sche{ width:100%; margin:.25rem 0;}

    /* 상징 */
    .symbol .noTxt{ width:100%; margin:0;}
    .symbol .noTxt .box {width:100%; margin:0 0 1.4rem; padding:1rem .5rem;}
}