/* ---------- RESET CSS -------- */

@import url(https://cdn.rawgit.com/moonspam/NanumSquare/master/nanumsquare.css);
body        { font-family: 'NanumSquare', sans-serif; }
.normal     { font-weight: 400 }
.bold       { font-weight: 700 }
.bolder     { font-weight: 800 }
.light      { font-weight: 300 }

html {position:relative; min-height:100%}
body {font-family: 'Nanum Gothic', sans-serif; margin-bottom: 50px;}

.container {
    max-width:100%;
	padding:0;
	margin-right: auto; 
	margin-left: auto;
}

.row {margin:0 auto;}
.btn {
    background-color:#88b454;
	color:#fff;
	width:100%;
	border-radius: 0;
	border:1px solid #5d872a;
}

.btn2 {
    color:#58595b;
	border-left:0;
	border-radius: 0;
	height:100%;
	width:100%;
	text-align: center;
	border: 1px solid #e3e3e3;
}	

.title {font-size: 24px;}
.content {font-size: 16px;}

.title, .profile {text-transform: uppercase;color: #88b454;}
.btn1 {
    max-width:110px;
	min-height:46px;
	border: 1px solid #e3e3e3;
	background-color: #fff;
	color:#58595b;
}


/* ---------- header -------- */
#header { width: 100%; background-color: #88b454; }
#header .container { width: 1080px;}
#header .row {height:70px; background-color: #88b454; }

#header .col-4 {padding:0;}
#header .col-4 a,
#header .col-4 a:link,
#header .col-4 a:active,
#header .col-4 a:visited,
#header .col-4 a:hover {border:0;color:#fff;text-decoration:none;}
#header .col-8 {text-align:right;padding-right:36px;}
#header .col-8 a,
#header .col-8 a:link,
#header .col-8 a:active,
#header .col-8 a:visited,
#header .col-8 a:hover {border:0;color:#fff;text-decoration:none;}
#header .row.active {opacity:0.6;}
#header .logo {
    width:300px;
    height:37px; background: url('../img/web_logo.png') no-repeat;
    display: inline-block;
    color:#fff;
    font-size:24px;
    font-weight: 700;
    padding-left:50px;
    margin-left: 20px;
}

/* ---------- banner -------- */
#banner .row {height:280px; position:relative; }			

#banner .visual {
    width:169px;
    height:169px;
    background: url('../img/visual.png') no-repeat; 
    background-size : contain;
    opacity: 0.3;
    position: absolute;
    left:50%;
    transform: translateX(-50%);
    top:28.5%;
}

#banner .title {
    font-size:61.28px;
    font-weight: 700;
    position: absolute;
    left:50%;
    transform: translateX(-50%);
    top:42%;
}
			
#banner .profile {
    font-size: 18px;
    position: absolute;
    left:50%;
    transform: 
    translateX(-50%);
    top:70%;
}


/* ---------- intro -------- */
#intro {
    margin-bottom: 100px;
}
#intro .container {
    width: 1080px;
}
#intro .inner_container {
    width: 1080px;
    background-color: #fafafa;				
    border:1px solid #e6e5e5;
    color: #58595b ;
    margin:5px auto;
    padding:30px 24px 30px
}

#intro .inner_container .title{text-align: center; margin-bottom:31px;}
#intro .inner_container .content{text-align: left; margin-bottom:30px;}
#intro .inner_container .content1{text-align: justify; margin-bottom:30px; letter-spacing: -0.4px;}

#intro .button_box{display: flex; justify-content: space-between; margin-top:25px; }
#intro .button_box .btn1{width:100%;}

#intro .content2 {
    width:100%;
    display: flex;
    justify-content: space-between;
}

#intro .content2 .btn1 {
    border:1px solid blue; 
    max-width:100%;
    min-width:47px;	
    display: flex;
    justify-content: space-between;
}

#intro .inner_container1 {
    width:982px;				
    margin:38px auto;
}		

#intro .exe_button {width:100%; text-align:center;}
#intro .exe_button .btn {max-width:140px; margin:0px 5px 0px 0px;} 

#intro .guide {
    width: 80%;
    text-align: left;
    margin: 10px auto 50px auto;
}

/* ---------- footer -------- */
#footer { 
    width: 100%; 
    background-color: #464646; 
    position: absolute; 
    bottom: 0;
}
#footer .container { width: 1080px; }
#footer .row {
    height: 50px;
    background-color: #464646;
    color: #fff;
    padding:16px 32px 16px 32px;
    font-size:14px;
    position: relative;
}
#footer .row div {position: absolute;}
#footer .row .name{ float: left; }
#footer .row .contact{ right: 32px; float: right; }
#footer .row a,
#footer .row a:link,
#footer .row a:active,
#footer .row a:visited {border:0;color:#fff;text-decoration:none;}
#footer .row a:hover {border:0;color:#fff;text-decoration:underline;}

/* ---------- main -------- */
#main .row { height: 1064px; }
#main .col-12 { padding:0; position: relative;}

#main .visual {
    width: 100%;
    height: 100%;
    display:block;
    background: url('../img/main_00.jpg') no-repeat center center;
    background-size : cover;
}

#main .title {
    font-size:61.28px;
    font-weight: 700;
    position: absolute;
    left:50%;
    transform: translateX(-50%);
    top:13.5%;
}
			
#main .profile {
    font-size: 18px;
    position: absolute;
    left:50%;
    transform: translateX(-50%);
    top:20%;
}

#main .signin {
    width: 450px;
    color:#fff;
	text-align: center;
	font-size: 16px;
	position: absolute;
	left:50%;
	transform: 
	translateX(-50%);
	top:76%;
}

#main .fee {
    width: 320px;
    color:#fff;
	text-align: center;
	font-size: 14px;
	position: absolute;
	left:50%;
	transform: translateX(-50%);
	top:91%;
    opacity: 0.9;
}

#main .button_box {
    width:300px;
    position: absolute;
	left:50%;
	transform: translateX(-50%);
	top:85%;
	text-align: center;
}

#main .button_box .btn{width:132px; border-radius: 0; }

/* ---------- modal -------- */
.modal-body {padding-left:24px; padding-right:24px;}
.modal-content {width:382px; background-color: #fafafa;} 
.modal-content .form-check-label {letter-spacing: -0.6px;} 
.modal-content .close {padding: 1rem; margin: 0rem 0rem -1rem auto;}
.modal-title {
    font-size:24px;
    font-weight: 700;
    text-align: center;	
    margin-top:-20px;		
    margin-bottom:38px;
}

.modal-content, .form-control{border-radius:0; font-size:14px; margin: 0 auto; }
#join .row.gender{margin: 14px auto; padding:0;}
#join .row .col-6,.col-3,.col-9 {padding:0;}
#join .row.gender .btn {border-radius: 0;}
#join .row.birth {margin: 14px auto; padding:0;}
#join .row button {
    background-color:#88b454;
	color:#fff;
	width:100%;
	border-radius: 0;
	border:1px solid #5d872a;
}

#fc {
    font-size:12px;
	padding-top:18px;
	padding-left:16px;
	line-height: 12px;
} 

.modal-body a {text-decoration: none!important; color:#58595b;}

#login .row.log {
    width:100%; 
    margin: 0 auto;
    margin-top:14px;
}

#login .row.log .left {width:50%;} 
#login .row.log .right {width:50%; text-align: right;} 
.modal-body .btn8 {margin-top:12px;}

/* ---------- test -------- */
#test {
    margin-bottom: 100px;
}
#test .container {
    width: 1080px;
}
#test .inner_container {
    width:982px;				
    background-color: #fafafa;				
    border:1px solid #e6e5e5;
    color: #58595b ;
    margin:5px auto;
    padding:30px 24px 30px
}	
#test .button_box .btn1 {
    width: 120px;
    max-width: 120px;;
}
#test .button_box {
    display: flex;
    justify-content: space-between;
    margin-top:25px;
}

#test .content2 {
    width:100%;
}

#test .content2 ul {
    width: 100%;
    padding: 0px;
    display: flex;
    justify-content: space-between;
}
#test .content2 li {
    display: inline-block;
    width: 115px;
    text-align: center;
}
#test .content2 li:nth-child(2n) {
    display: inline-block;
    width: 20px;
    text-align: center;
}

#test .content2 .arrow {
    width:88px;
    height:11px;
    display: flex;
    justify-content: space-between;
    background: url('../img/arrow.png') no-repeat center center;
}

#test .button_box.question {
    margin-bottom: 25px;
}

#test .inner_container1 {
    width:100%;				
    margin:0px auto;						
    margin:38px auto;
}	

#test .exe_button {width:100%; text-align:center;}
#test .exe_button .btn {max-width:140px; margin:0px 5px 0px 0px;} 
#test #submit {display: none;} 
#test .qusetion {margin-top:61px;} 
#test .qusetion1 {margin-top:0;}
#test .btn1:hover {background-color: #88b454}
#test .btnhighlight { background-color: #88b454 }
#test .btn1.on {background-color: #88b454; color: #fff; font-weight: bold;}
#test .cpage {width:100%; text-align:center;}

/* ---------- result -------- */
#result { margin-bottom: 100px; }
#result .container { width: 1080px; }
#result .inner_container .title {text-align: center; margin-bottom:31px; color:#58595b;} 
#result .inner_container .content {text-align: left; margin-bottom:30px;} 
#result .inner_container {
    width:982px;				
    background-color: #fafafa;				
    border:1px solid #e6e5e5;
    color: #58595b ;
    margin:5px auto;
    padding:30px 24px 30px
}	

#result	.text {
    margin-top:10px;
    margin-bottom: 38px;
    font-size:14px;	
    letter-spacing: -1px;
    text-align: center;
}

#result	.button .btn {width:132px;} 
#result .inner_container1.result {
    width:982px;				
    margin:0px auto;
    margin-bottom:38px;
    text-align: center;
    color: #58595b ;
}

#result .inner_container1 {
    width:982px;				
    margin:0px auto;
    margin-bottom:38px;
}
#result .col-4 {border: 1px solid pink; text-align: center;} 
#result .exe_button .btn {max-width:132px; width:100%; margin:0 auto; text-align: center} 
#result p.t1 {font-weight: 700}
#result .pic {width: 100%; text-align: center;}

#alert .alert_msg { margin: 100px auto 100px auto; width: 100%; }
#alert .alert_msg div { width: 100%; text-align:center; }
#alert .alert_msg div .btn { width: 100%; max-width: 132px; text-align:center; cursor: pointer; }

@media (max-width:960px) {

	.container { width:100%;}
    #header .row {max-width:960px; width:100%;}
	#main .title {font-size:48px;}
	#banner .title {font-size:48px;}
    #intro .inner_container {width:100%;}
    #test .inner_container {width:100%;}
}

@media (max-width:800px) {
    #intro .guide img,
    #intro .guide div,
    #intro .guide table {width:100% !important;}
    #intro .guide { width: 100%; text-align: left; }
}

@media (max-width:670px) {

	#footer .row { height: 100px; }
    #footer .row div { position: relative; }
    #footer .row .contact { right: 0px; }
}

@media (max-width:580px) {
    #result .pic img {width:100% !important; height:100% !important;}
    #myChart {height:300px !important;} 
}

@media (max-width:480px) {

	.container { width:100%;}
	#main .title {font-size:42px;}
	#banner .title {font-size:42px;}
	#header .logo {
        width:250px;
        height:19px;
        display: inline-block;
        background-image:none;
        color:#fff;
        font-size:20px;
        padding-left:0px;
        margin-left: 20px;
    }
	#main .row { height: 864px; } 
    #main .signin { width:350px; }
	#banner .title {font-size:42px;}
	#footer .row div { display: block; }
	.inner_container table td { padding: 2px; }

    #test .content2 li {width:40px;}
    #test .content2 li:nth-child(2n) {width:10px;}
    #test .button_box .btn1 {max-width: 40px; min-height: 40px;}
    #test .button_box {margin-top: 10px;}
    #test .exe_button .btn {max-width:60px}
    #result .button {width:100%; text-align:center;}
    #result .button .btn {display: block; max-width: 132px; margin: 5px auto;}
}

@media (max-width:370px) {
    #header .col-8 {text-align:right;}
    #header .col-8 a {
        display: block;
        width: 120px;
        margin-left: 45px;
    }
    #main .signin { width:310px; }
}

@media (max-width:310px) {

	#header .logo {width:100%}
    #header .col-8 {text-align:right;}
    #header .col-8 a {
        display: block;
        width: 120px;
    }
	#main .title {font-size:32px;}
	#banner .title {font-size:32px;}
}

@media print {
    body {
        background: #fff;
        margin: 0px;
    }

    #result .inner_container {
        background-color: #fff;
        border-color: #fff;
    }

    #banner .title {
        font-size:61.28px;
        font-weight: 700;
        position: absolute;
        left:50%;
        transform: translateX(-50%);
        top:12%;
    }
                
    #banner .profile {
        font-size: 18px;
        position: absolute;
        left:50%;
        transform: 
        translateX(-50%);
        top:65%;
    }

    #banner .row {
        height: 150px;
    }

}
