@charset "utf-8";

/*========================================================================
	              index.html -- Common
========================================================================*/

/* body */
body{
  font-family: "Nanum Gothic", "맑은 고딕", 돋움, 굴림, Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 2.0em;
  padding: 0;
  margin: 0;
  background-color: #f4f4f4;
}

/* Global */
.container{
  width: 80%;
  margin: auto;
  overflow: hidden;
}

h3{
  font-size: 24px;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
}

h4{
  font-size: 20px;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
}

p{
  font-size: 18px;
}

mark{
   font-style: normal;
   font-weight: normal;
   background-color: lightseagreen;
   color: black;
}

figure{
  margin-top: 20px;
}

figcaption{
  text-align: center;
  font-size: 16px;
}

/* Header */
header{
  background: #696969;
  min-height: 70px;
  border-bottom: #e8491d 3px solid;
}

#catchphrase{
  color: #fff;
  float: left;
}

.menu{
  text-align: right;
  margin-top: 10px;
  margin-bottom: 5px;
}

.menu ul{
  display: inline-flex;
  list-style: none;
  color: #fff;
}

.menu ul li{
  text-align: center;
  box-sizing: border-box;
  width: 120px;
  padding: 5px;
  margin: 5px 0px 5px 5px;
  background-color: cornflowerblue;
}

.menu ul li:last-child{
  margin-right: 5px;
}

.menu ul li a{
  text-decoration: none;
  color: #fff;
}

.menu .active, .menu ul li:hover{
  background: lightseagreen;
}

.sub-menu{
  position: relative;
  display: none;
}

.menu ul li:hover .sub-menu{
  display: block;
  position: absolute;
  margin-left: -5px;
  background: transparent;
}

.menu ul li:hover .sub-menu ul{
  display: block;
  list-style: none;
  color: #fff;
  margin-top: 5px;
  margin-left: 0;
  background: transparent;
}

.menu ul li:hover .sub-menu ul li{
  text-align: center;
  box-sizing: border-box;
  width: 120px;
  padding: 5px;
  margin: 0;
  border-bottom: 1px dotted #fff;
  background: cornflowerblue;
}

.menu ul li:hover .sub-menu ul li:last-child{
 border-bottom: none;
}

.menu ul li:hover .sub-menu ul li a:hover{
  color: red;
}

/* overrides background colors for unfinished HTML pages */
.menu ul li.unfinished, .menu ul li .sub-menu ul li.unfinished {
  background-color: #696969;
}

/* Section */
section{
  text-align: justify;
  text-justify: inter-word;
  text-indent: 10px;
}

section .block_30{
  box-sizing: border-box;
  width: 30%;
  float: left;
}

section .block_70{
  box-sizing: border-box;
  width: 70%;
  float: left;
  padding: 20px;
}

section .box{
  position: relative;
}

section .title{
  position: absolute;
  top: 0px;
  left: 10px;
}

/* footer */
footer {
  clear: both;
  padding: 10px 50px 10px 50px;
  margin-top: 10px;
  background-color: #696969;
  border-top: #e8491d 3px solid;
}

address p {
  font-size: 16px;
  font-style: normal;
  color: #DCDCDC;
  line-height: 1.6em;
}

/* Media Queries */
@media(max-width: 768px){
  .container {
    width: 90%;
  }

  header #catchphrase h3{
    margin: 5px 10px;
  }

  .menu ul,
  .sub-menu ul,
  section .block_30,
  section .block_70{
    float: none;
    text-align: center;
    width: 100%;
  }
}


/*========================================================================
	              intro-greeting.html
========================================================================*/

/* center image */
.center{
  display: block;
  margin-top: 40px;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

/* Media Queries */
@media(max-width: 768px){

  /* center image */
  .center{
    width: 100%;
  }
}



/*
a{
  text-decoration: none;
  color:#DCDCDC;
}

.currentPage a{
  color:cornflowerblue;
}

a:hover{
  color:#e8491d;
}

a:active, a:visited{
  color: cornflowerblue;
}
*/

