﻿body 
{
    text-align:center; /* IE5.5에서 가운데 정렬 */
    font-size: .75em; 
    font-family: 'Malgun Gothic', Verdana, Sans-Serif;   
    background-color: #f9f9f9;  /*#5c87b2;*/ 
    /* background-image: url("../image/247main_img.jpg"); */
    color: #696969;
    margin:0;
    padding:0;
}

/* 레이아웃 관련 스타일 */
.page
{
    text-align:left; /* 기본값인 텍스트 왼쪽 정렬로 되돌아 옴 */
    width: 100%; /* page 클래스의 width값에 따라서 고정/가변 레이아웃 구성 */    
    margin-top : 0;
    margin-left: auto;
    margin-right: auto;      
}
#header
{
    position: relative;    
    margin-bottom: 0px;  
    padding: 0; 
    color: #000;    
    /*background-color: #292929;*/
    background-image: url("../image/247main_top.jpg");
}
#header h1
{
    color: #fff; 
    padding: 5px 0;
    margin: 0; 
    border: none;  
    line-height: 2em;      
    font-weight: bold; 
    font-family: 'Malgun Gothic', Verdana, Arial, Sans-Serif; 
    font-size: 32px !important; 
}

.loginControl 
{
    font-size: 26pt;
    font-family: Arial;
    font-weight:bold;
}
.loginControl a 
{
    color: White;
    text-decoration: none;
	display: inline-block;
	font-size: 16pt;
    font-family: Arial;
    font-weight:bold;
}

#footer
{
    clear:both; 
    color: #000;
    text-align: center;
    margin : 0;
    padding: 10px 0;  
    line-height: normal; 
    font-size: 1.0em; 
    background-image: url("../image/247main_top.jpg");
}


/* header 영역 관련 스타일 */
div#title
{
    float:left;    
    text-align:left; 
    display:block;
}
#logindisplay
{
    text-align:right;
    margin:0px;    
    font-size:1.1em;   
    display:block; 
    color:White;
}
#logindisplay a:link
{
    color:White;
    text-decoration:underline;
}
#logindisplay a:visited
{
    color:White;
    text-decoration:underline;    
}
#logindisplay a:hover
{
    color:White;
    text-decoration:none;    
}
#logindisplay a:active
{
    color:Red;
    text-decoration:underline;    
}

#menucontainer
{
    clear:both;
    margin-top:35px;    
}

/* 메뉴 모양 정의 */ 
ul#menu
{
    font-family : Arial;
    font-size :medium;
    text-align:right;  
    margin:0;
    border-bottom: 1px #5c87B2 solid;  
    position: relative;
}
ul#menu li
{
    display: inline;
    list-style: none;
}
ul#menu li a
{
    padding: 10px 20px;
    background-color: #e8eef4;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    color:#000000; 
}
ul#menu li a:hover
{
    background-color:#fff;
    text-decoration:none;
}
ul#menu li a:active
{
    background-color:#a6e2a6;
    text-decoration:none;
}

/* 제목 관련 스타일 */
h1, h2, h3, h4, h5, h6
{
    font-size: 1.5em;    
}
h1
{
    /*font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;    */
}
h2
{
    font-weight : bold;
    padding:0 0 10px 0;
}
h3
{
    font-size:1.2em;        
}
h4
{
    font-size:1.1em;        
}
h5, h6
{
    font-size:1em;    
}



video { 
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    transform: translateX(-50%) translateY(-50%);
    background: url('../image/247main_imga.jpg') no-repeat;
    background-size: cover;
    transition: 1s opacity;
}

#main_doc { 
    font-family: Arial, Agenda-Light, Agenda Light, Agenda, Arial Narrow, sans-serif;
    font-weight:100; 
    background: rgba(0,0,0,0.3);
    color: white;
    padding: 2rem;
    width: 33%;
    margin:2rem;
    float: right;
    font-size: 1.2rem;
}
                
h1 
{
    font-weight: bold ;
    font-size: 3rem;
    text-transform: uppercase;
    margin-top: 0;
    letter-spacing: .3rem;
}

#main_doc button { 
    display: block;
    width: 80%;
    padding: .4rem;
    border: none; 
    margin: 1rem auto; 
    font-size: 1.3rem;
    background: rgba(255,255,255,0.23);
    color: #fff;
    border-radius: 3px; 
    cursor: pointer;
    transition: .3s background;
}

#main_doc button:hover { 
    background: rgba(0,0,0,0.5);
}
                
@media screen and (max-width: 500px) { 
    div {width:70%;} 
}
                
@media screen and (max-device-width: 800px) {
    html { background: url(../image/247main_img.jpg) #000 no-repeat center center fixed; }
    #bgvid { display: none; }
}