*,
*:before,
*:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

/* Loading icon */
.loading { margin:0; position: absolute; top:0; left:0; width: 100%; height: 100%;
  background-color: #dddbdb; text-align: center; z-index: 121;}
.loading-box { position: relative; width: 50%; float: left; height: 5px;}
.loading-yellow { background-color: #fcee21; width: 0%; height: 5px;}
.loading-blue { background-color: #00bdf4; width: 0%; height: 5px;}

/* Vidak News Page */
html { font-size: 16px;}
body, p { margin: 0px; font-family: 'Nanum Square', sans-serif; }
a {color: black;}
a:link { text-decoration: none;}
ul { margin: 0px; padding: 0px;}
ul li { list-style: none; font-size: 14px; }
h1, h2, h3, h4, h5, h6 { margin: 0px; font-family: 'Nanum Square', sans-serif; }

/* menu section above the page */
.noscroll { margin: 0; height: 100%; overflow: hidden; }
.m_section { position: fixed; overflow-y: scroll; top: 0; right: 0; bottom: 0; left: 0; z-index: 200;
  background: rgba(0,0,0,.8); opacity: 0; display: none;
}
.white-bg { position: relative; height: auto; width: 100%; background-color: white;}

.m_container { margin: 0 auto; max-width: 1350px; z-index: 201; background-color: rgba(255,255,255,1);}
.serch_td1 {width: 25%;}
.serch_td2 {width: 75%;}

.m_bg_black, .background-click { position: absolute; width: 100%; background-color: rgba(0,0,0,0.1);
  -webkit-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  transform: translateY(-100%); opacity: 0; z-index: 98;}
.background-click {z-index: 201;}

.m_bg_black { position: absolute; width: 100%; background-color: rgba(0,0,0,0.7);
  -webkit-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  transform: translateY(-100%); opacity: 0; z-index: 98;}
.m_inner_box { width: 100%; padding-bottom: 7.6%; overflow: hidden; }
.m_search { width: 100%; height: 100px; margin-bottom: 72px; padding-top: 53px; text-align: center;}
#m_search_btn { visibility: hidden; width: 0px; margin:0; padding: 0; position: absolute; top: 0;}
#search_table { margin: 0 auto; width: auto;}
#search_table td {vertical-align: middle;}
#search_table span { font-size: 2.2em; color: #cfcfcf; margin-right: 15px; }
#m_search_enter { width: 100%; height: 45px; border: none; padding-left: 1em;
  border-bottom: 2px solid; border-color: #cfcfcf; font-size: 1.2em; }
.m_box1,.m_box2,.m_box3,.m_box4,.m_box5,.m_box6 { width: 25%; float: left;
  height: 200px; padding-left: 7%;}
.m_title { font-size: 1.25em; margin-bottom: 0.68em;}
.m_blue { color: #29abe2;}
.m_text { font-size: 0.87em; margin-bottom: 0.8em;}
.close_btn { position: absolute; right: 30px; top: 20px; width: 40px; height: 40px; cursor: pointer;}
.x1, .x2 { position: absolute; width: 22px; height: 1px; background-color: black; top:19px; left: 9px; }
.x1 { -webkit-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg);}
.x2 { -webkit-transform: rotate(-45deg); -ms-transform: rotate(-45deg); transform: rotate(-45deg);}

/* header nav section */
header {
  position: fixed;
  margin: 0; width: 100%; height: 72px;
  z-index:99;
}
nav {
  margin: 0 auto;
  position: relative;
  padding-left: 20px;
  width: 100%;
}
.nav-bg { position: absolute; left: 0; top: 0; width: 100%; height: 112px;
  text-align: center; color: white;
  background-color: #222; -webkit-box-shadow: 2px 2px 2px 2px rgba(0,0,0,0.05); box-shadow: 2px 2px 2px 2px rgba(0,0,0,0.05);
  -webkit-transition: -webkit-transform 0.3s;
  transition: transform 0.3s; -webkit-transform: translateY(0%); -ms-transform: translateY(0%); transform: translateY(0%); opacity: 0.95; }

.news-page-text { padding-top: 25px;}
h2 { font-size: 1.3em; font-weight: normal;}
h3 { font-size: 1em;}
h6 { font-size: 0.8em;}
p { font-size: 14px;}
hr { display: block; height: 1px; border: 0; border-top: 1px solid #383838;
    margin-top: 22px; padding: 0; }

.logo_img {
  position: absolute;
  top: 25px;
  left: 30px;
  width: 150px;
  height: 35px;
  z-index: 2;
}
.menu_btn-grp {
  position: absolute;
  right: 0; top: 0;
  width: 144px; height: 72px;
}
.login { float: left; position: relative; width: 50%; height: 72px; cursor: pointer;}
.open-menu-btn { float: left; position: relative; width: 50%; cursor: pointer;}
.login .fa { position: absolute; color: #AFADAD;
  top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); font-size: 1.25em; -webkit-transition: color; transition: color;}
.open-menu-btn .fa { position: absolute; color: #ffffff;
  top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); font-size: 1.25em;}
.log-add-white { color: #fff;}
.log-btn-bg  { width: 100%; height: 72px; background-color: #333;}
.m-btn-bg { width: 100%; height: 72px; background-color: #000;}

.logo_base { -webkit-transition: all 0.3s ease-out; transition: all 0.3s ease-out; -webkit-transform-origin: 0% 0%; -ms-transform-origin: 0% 0%; transform-origin: 0% 0%;}
.logo_1_black { -webkit-transition: all 0.3s ease-out; transition: all 0.3s ease-out; -webkit-transform-origin: 0% 0%; -ms-transform-origin: 0% 0%; transform-origin: 0% 0%; fill: #000000;}
.logo_1_blue { -webkit-transition: all 0.3s ease-out; transition: all 0.3s ease-out; -webkit-transform-origin: 0% 0%; -ms-transform-origin: 0% 0%; transform-origin: 0% 0%; fill: #00bdf4;}
.logo_small { -webkit-transform: scale(0.65,0.65); -ms-transform: scale(0.65,0.65); transform: scale(0.65,0.65); -webkit-transform-origin: 0% 0%; -ms-transform-origin: 0% 0%; transform-origin: 0% 0%;}

/* news page menu bar */
.news-page-menu { position: relative; list-style-type: none; margin: 0 auto; padding: 0;}
.news-page-menu li { display: inline; font-size: 1em; padding-left: 10px;}
.news-page-menu li:first-child { padding-left: 0;}
.news-page-menu li a { color: #999; font-size: 0.8em; height: 30px;
  padding-top: 5px; padding-left: 10px; padding-right: 10px; display: inline-block;}
.news-page-menu li a:hover { color: white;}
.news-page-menu li .white-text { color: white;}


/* body */

/* body box structure */
.container {
  width: 100%; height: auto; padding-top: 112px; background-color: #fff;
}
/* Masonry Grid css */
.grid { overflow: hidden; margin: 0 auto;}
.grid-item { width: 340px; height: 680px; background-color: white; float: left;}
.grid-item img{width: 340px; height: 340px;}
.news1 {background-color: #f5f5f5;}
.grid-item--width2 { width: 50%; height: 680px; }
  /* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* Masonry Grid css end */

/* news body content */
.news-body { padding-top: 39px; padding-left: 45px; padding-right: 45px;}
.news-category {  color: #888; display:none;}
.news-title { padding-top: 18px; line-height: 120%; overflow: hidden;}
.news-text { padding-top: 13px; line-height: 170%; font-size: 0.8em; overflow: hidden;}

/* news item rollover */
.news-rollover-box {display: block; position: absolute; left: 0; top: 0;
  width: 340px; height: 680px; background-color: black; opacity: 0;
  -webkit-transition: opacity 0.5s;
  transition: opacity 0.5s; cursor: pointer; }
.news-rollover-box:hover { opacity: 0.2; }

/* footer ******************************************************************* */
.section-footer { width: 100%; position: relative; background-color: #DDDBDB; height: auto;
  padding-bottom: 60px; overflow: hidden; display: none;}
.footer1 { width: 40%; float: left; padding-left: 35px; padding-top: 38px;}
.footer1 img { margin-bottom: 18px;}
.footer2, .footer3, .footer4 { width: 20%; padding-top: 49px; float: left;}
.footer4 { position: relative;}
.p-margin1 { margin-bottom: 20px;}
.p-footer1 { font-size: 0.7em; }
.p-footer2 { font-size: 0.75em; font-weight: bold; color: #4E4D4D; margin-bottom: 15px;}
.p-margin2 { margin-bottom: 5px;}
.p-footer3, .p-footer4 { font-size: 0.75em; color: #7F7F7F; line-height: 180%; }
.p-footer3 a, .p-footer4 a { color: #7F7F7F;}
.p-footer4 { margin-top: 192px;}
.fb-logo-box { position: relative; width: 50px; height: 50px; overflow: hidden;}
.fb-logo-box img { position: absolute; top:0px; left:0px; cursor: pointer;}
.fb-logo-box img:hover { left: -50px;}
.a-fblogo { display: block; position: absolute; width: 120px; height: 100px; top:37px; left:-15px; z-index: 98;}
.a-fblogo:hover + .fb-logo-box img { left: -50px;}
.p-footer4 a:hover { color: black}
.p-footer3 a:hover { color: black}

/* media query ************************************************************************************************* */

/* 로고 & 섹션 텍스트 left 조정 */
@media only screen and (max-width: 768px) {
.logo_img { left: 20px;}
}
@media only screen and (max-width: 550px) {
.container { padding-top: 146px;}
.nav-bg { height: 146px;}
.news-page-menu { position: relative; width: 320px;}
#news-member-company { display: block; position: absolute; left:-4px; top:31px;}
#news-archive { display: block; position: absolute; left:93px; top:31px;}
.sub-page-menu li:nth-child(5) { display: block; position: absolute; left:3px; top:31px;}
.sub-page-menu li:nth-child(6) { display: block; position: absolute; left:99px; top:31px;}
}
@media only screen and (max-width: 425px) {
.logo_img { left: 15px;}
}
@media only screen and (max-width: 320px) {
.logo_img { left: 10px;}
}
/* footer */
@media only screen and (max-width: 1200px) {
  .footer1 { width: 34%;}
  .footer2, .footer3, .footer4 { width: 22%;}
  .footer3 { padding-left: 35px;}
}
@media only screen and (max-width: 1024px) {
  .footer1 { width: 50%;}
  .footer2, .footer2, .footer3 { width: 50%;}
}
@media only screen and (max-width: 419px) {
  .section-footer { padding-left: 20px;}
  .footer1 { width: 100%; padding-left: 0px;}
  .footer2 { width: 100%; padding-left: 0px;}
  .footer3 { width: 50%; padding-left: 0px;}
  .footer4 { width: 50%; padding-left: 20px;}
}
/* menu list & seach box adjustment */
@media only screen and (max-width: 850px) {
  .m_box1,.m_box2,.m_box3,.m_box4,.m_box5,.m_box6 { width: 25%; float: left;
  padding-left: 7%;}
}
@media only screen and (max-width: 650px) {
  .m_box1,.m_box2,.m_box3,.m_box4,.m_box5,.m_box6 { width: 50%;
  padding-left: 12%;}
}
@media only screen and (max-width: 600px) {
  #search_table { width: 80%;}
}
@media only screen and (max-width: 560px) {
  .m_box1,.m_box2,.m_box3,.m_box4,.m_box5,.m_box6 { width: 50%;
    padding-left: 12%;}
  #search_table { margin: 0; margin-left: 3em;}
  #search_table span { font-size: 2em;}
}
@media only screen and (max-width: 414px) {
  .m_box1,.m_box2,.m_box3,.m_box4,.m_box5,.m_box6 { width: 50%;
    padding-left: 12%;}
  #search_table { margin: 0; margin-left: 3em;}
  #search_table span { font-size: 1.5em;}
}
@media only screen and (max-width: 400px) {
.m_box1,.m_box2,.m_box3,.m_box4,.m_box5,.m_box6 { width: 50%;
  height: 200px; padding-left: 10%;}
}
@media only screen and (max-width: 375px) {
  .m_box1,.m_box2,.m_box3,.m_box4,.m_box5,.m_box6 { width: 50%;
    padding-left: 10%;}
  #search_table { margin: 0; margin-left: 2em;}
  #search_table span { font-size: 1.5em; margin-right: 10%;}
}
@media only screen and (max-width: 320px) {
  .m_box1,.m_box2,.m_box3,.m_box4,.m_box5,.m_box6 { width: 50%; float: left;
    padding-left: 10%;}
  #search_table { margin: 0; margin-left: 2em;}
  #search_table span { font-size: 1.5em;}
}
