/*
Theme Name: Divi Child
Theme URI: http://www.cni.or.kr/
Description: Child theme for the Divi theme
Author: cnisystem
Author URI: http://www.cni.or.kr/
Template:  Divi
Version: 1.0
*/
@import url(../Divi/style.css);

@font-face {
  font-family: 'Noto Sans KR';
  src: url('fonts/NotoSansCJKkr-Thin.eot');
  src: url('fonts/NotoSansKR-Thin.woff') format('woff'),
    url('fonts/NotoSansKR-Thin.woff2') format('woff2');
  font-style: normal;
  font-weight: 200;
}

@font-face {
  font-family: 'Noto Sans KR';
  src: url('fonts/notokr-light.eot');
  src: url('fonts/notokr-light.woff') format('woff'),
    url('fonts/notokr-light.woff2') format('woff2');
  font-style: normal;
  font-weight: 300;
}

@font-face {
  font-family: 'Noto Sans KR';
  src: url('fonts/notokr-regular.eot');
  src: url('fonts/notokr-regular.woff') format('woff'),
    url('fonts/notokr-regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: 'Noto Sans KR';
  src: url('fonts/notokr-medium.eot');
  src: url('fonts/notokr-medium.woff') format('woff'),
    url('fonts/notokr-medium.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: 'Noto Sans KR';
  src: url('fonts/notokr-bold.eot');
  src: url('fonts/notokr-bold.woff') format('woff'),
    url('fonts/notokr-bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
}

a,
abbr,
acronym,
address,
applet,
b,
big,
blockquote,
body,
center,
cite,
code,
dd,
del,
dfn,
div,
dl,
dt,
em,
fieldset,
font,
form,
h1,
h2,
h3,
h4,
h5,
h6,
input,
textarea,
select,
html,
iframe,
img,
ins,
kbd,
label,
legend,
li,
object,
ol,
p,
pre,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
u,
ul,
var {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: 0 0;
  font-size: 100%;
  vertical-align: baseline;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  font-family: 'Noto Sans KR', sans-serif !important;
  word-break: keep-all;
}

#et-info-email:before, #et-info-phone:before, #et_search_icon:before, .comment-reply-link:after, .et-cart-info span:before, .et-pb-arrow-next:before, .et-pb-arrow-prev:before, .et-social-icon a:before, .et_audio_container .mejs-playpause-button button:before, .et_audio_container .mejs-volume-button button:before, .et_overlay:before, .et_password_protected_form .et_submit_button:after, .et_pb_button:after, .et_pb_contact_reset:after, .et_pb_contact_submit:after, .et_pb_font_icon:before, .et_pb_newsletter_button:after, .et_pb_pricing_table_button:after, .et_pb_promo_button:after, .et_pb_social_icon a.icon:before, .et_pb_testimonial:before, .et_pb_toggle_title:before, .form-submit .et_pb_button:after, .mobile_menu_bar:before, .woocommerce #content input.button.alt:after, .woocommerce #content input.button:after, .woocommerce #respond input#submit.alt:after, .woocommerce #respond input#submit:after, .woocommerce-page #content input.button.alt:after, .woocommerce-page #content input.button:after, .woocommerce-page #respond input#submit.alt:after, .woocommerce-page #respond input#submit:after, .woocommerce-page a.button.alt:after, .woocommerce-page a.button:after, .woocommerce-page button.button.alt:after, .woocommerce-page button.button:after, .woocommerce-page input.button.alt:after, .woocommerce-page input.button:after, .woocommerce a.button.alt:after, .woocommerce button.button.alt:after, .woocommerce button.button:after, .woocommerce button.single_add_to_cart_button.button:after, .woocommerce input.button.alt:after, .woocommerce input.button:after, a.et_pb_more_button:after {
  font-family: ETmodules!important;
}

/* common */

.et_pb_slide_description,
.et_pb_slider_fullwidth_off .et_pb_slide_description {
  padding: 16% 0;
}

#top-menu li {
  padding-right: 70px;
}

#et-secondary-nav .menu-item-has-children > a:first-child:after,
#top-menu .menu-item-has-children > a:first-child:after {
  content: "";
}

#top-menu li li a {
  padding: 6px 6px;
}

#top-menu li li a span {
  display: block;
}

#et-secondary-nav .menu-item-has-children>a:first-child, #top-menu .menu-item-has-children>a:first-child {
  padding-right: 0;
}

/* mangboard */
.entry-content table:not(.variations),
body.et-pb-preview #main-content .container table {
  border: none;
}

.mb-latest-item-title a {
  color: #000 !important;
}


#topHeader {
  width: 100%;
}

#language_wrap {
  max-width: 1280px;
  width: 100%;
  position: relative;
  margin: 0 auto;
  text-align: right;
}

#topHeader a {
  margin-right: 20px;
  text-decoration: none;
  color: #000;
  line-height: 44px;
}

#topHeader a:nth-last-child(1) {
  margin-right: 0;
}



/* 제품문의 */

.contact_txt {
  font-size: 18px;
  color: #333;
  position: relative;
  margin-bottom: 30px;
  margin-top: 20px;
}

.contact_txt::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 20px;
  height: 3px;
  background: #225aa8;
}

.contact01,
.contact02 {
  width: 100%;
}

.contact01 tr td:nth-child(1),
.contact02 tr td:nth-child(1) {
  width: 10%;
  font-size: 14px;
  padding: 10px;
  background: #f0f0f0;
  border: 1px solid #ddd;
}

.contact01 tr td:nth-child(2),
.contact02 tr td:nth-child(2) {
  width: 90%;
  border: 1px solid #ddd;
  padding: 10px;
}

.text-727 {
  display: inline-block;
  width: 30%;
  min-width: 100px;
}

.text-727 input {
  width: 100%;
}


.tel-245,
.tel-246,
.tel-247 {
  display: inline-block;
  width: 15%;
  min-width: 50px;
}

.tel-245 {
  min-width: 30px;
}

.tel-245 input,
.tel-246 input,
.tel-247 input {
  width: 100%;
}

.text-728 {
  width: 20%;
  display: inline-block;
  min-width: 100px;
}

.text-729 {
  display: inline-block;
  width: 30%;
  min-width: 130px;
}

.text-728 input,
.text-729 input {
  width: 100%;
}


.wpcf7-radio .wpcf7-list-item {
  display: inline-block;
  margin: 0 5px;
}


.text-730 {
  width: 40%;
  min-width: 130px;
  display: inline-block;
}

.text-730 input {
  width: 100%;
}


.textarea-704 {
  display: inline-block;
  width: 100%;
}

.textarea-704 textarea {
  width: 100%;
  height: 150px;
}


.info {
  width: 100%;
  height: 200px;
  overflow-y: scroll;
  border: 1px solid #ddd;
  padding: 20px;
}

.wpcf7-list-item input {
  margin: 0;
  vertical-align: middle;
}

.wpcf7-list-item {
  font-size: 12px;
}

.info + p {
  text-align: right
}


.submit {
  text-align: center;
  margin-top: 15px;
}

.submit input {
  padding: 5px 20px !important;
  cursor: pointer;
}

.submit input:hover {
  background: rgba(0, 0, 0, 0.16) !important
}

input {
  font-family: 'Noto Sans KR', sans-serif !important;
  background: #fff !important;
  border: 1px solid #bbb !important;
  padding: 5px !important;
}

.fm_tb td {
  border: 1px solid #ddd;
  padding: 5px 0 5px 20px;
  font-size: 16px;
}

textarea,
select {
  font-family: 'Noto Sans KR', sans-serif !important;
  border: 1px solid #bbb !important;
}

/* 제품문의 */

/* main */
.slide_text {
  font-size: 2.6em;
  letter-spacing: -0.05em;
  color: #225aa8;
  font-weight: 500;
  font-style: italic;
  text-align: left;
  line-height: 3em;
}

.cont_txt {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cont_txt.center {
  text-align: center;
}

.cont_txt.right {
  text-align: right;
}

.cont_tit {
  font-size: 1.875em !important;
  color: #225aa8;
  font-weight: 600;
  line-height: 1.5em;
  position: relative;
}

.cont_tit::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background-color: #225aa8;
  margin: 5px 0;
}

.cont_txt.center .cont_tit::after {
  margin-left: auto;
  margin-right: auto;
}

.cont_txt.right .cont_tit::after {
  margin-left: auto;
}

.cont_txt.right .cont_btn {
  width: 140px;
  line-height: 50px;
  border: 3px solid #225aa8;
  text-align: center;
  color: #225aa8;
  margin-left: auto;
}

.cur_sub {
  font-size: 0.9em;
  color: #656565;
}

.cont_txt .text {
  color: #000;
  letter-spacing: -0.05em;
  font-size: 1em;
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.cont_txt .text span {
  display: block;
}

.cont_txt .cont_btn {
  width: 140px;
  line-height: 50px;
  border: 3px solid #225aa8;
  text-align: center;
  color: #225aa8;
}

.cont_txt .cont_btn:hover {
  color: #fff;
  background-color: #225aa8;
  transition: all 0.5s;
}

.product_wrap {
  position: relative;
  padding: 0;
  margin: 0;
}

.product_tit {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 1em;
  letter-spacing: -0.05em;
  transition: all 0.5s;
}


/* sub_page */

.sub_top h3 {
  color: #fff;
  font-size: 1.9em;
  text-align: center;
  margin-bottom: 30px;
}

.sub_top p {
  color: #fff;
  text-align: center;
  line-height: 1.4em;
}

/* 기업소개 */
.company_table {
  /*  width: 50%;*/
  border-top: #5B9BD5 2px solid;
  border-bottom: #5B9BD5 2px solid;
}

.table_line {
  display: flex;
  justify-content: center;
  line-height: 40px;
}

.table_cont {
  width: 50%;
  padding: 0 20px;
  border-bottom: 1px #656565 dashed;
}

.table_cont:nth-child(1) {
  font-size: 1.2em;
  color: #5B9BD5;
}

.table_cont.last {
  border: none;
}

.table_cont span {
  display: block;
}

/* 인사말 */
.greetings span {
  display: block;
}

/* 경영이념 */
.manage_tit {
  font-size: 1.4em;
  color: #0b2242;
  font-weight: 600;
}

/* 제품소개 */

.dots p {
  position: relative;
}

.dots p::after {
  content: "";
  width: 4px;
  height: 4px;
  background-color: #666;
  position: absolute;
  left: -8px;
  top: 8px;
}

.product_items_wrap img {
  height: 200px !important;
}

/* footer */
#footer-widgets {
  padding: 4% 0 0;
  display: flex;
  align-items: center;
}

#media_image-3 {
  float: right;
}

.footer_wrap h3 {
  font-size: 1.2em;
  color: #fff;
  margin-bottom: 20px;
}

.footer_wrap span {
  font-size: 0.9em;
  font-weight: 400;
  margin-right: 16px;
}

@media (min-width: 1600px) {
  .et_pb_gutters4 .footer-widget {
    margin-bottom: 4%;
  }
}

@media (min-width: 981px) {

  .et_pb_gutters4 .et_pb_column_4_4 .et_pb_module,
  .et_pb_gutters4.et_pb_row .et_pb_column_4_4 .et_pb_module {
    margin-bottom: 2%;
  }
}

@media screen and (max-width: 980px) {
  
  #language_wrap {
    text-align: center;
  }
  
  .product_wrap {
    height: auto;
  }

  .product_wrap img {
    width: 100%;
  }

  .product_items_wrap img {
    height: auto !important;
  }
  
  .product_tit span {
    display: block;
  }
}


@media screen and (max-width: 500px) {
  
  .slide_text {
    text-align: center;
    line-height: 1.5em;
    font-size: 2em;
    padding: 10% !important;
    background-color: rgba(255,255,255,0.4) 
  }

  #footer-widgets {
    padding: 12% 0;
    flex-direction: column;
  }

  .wrap_info span {
    display: block;
  }


  .table_line {
    flex-direction: column;
  }

  .table_cont {
    width: 100%;
  }
  
  .table_cont.last {
    border-bottom: 1px #656565 dashed;
  }
  
  .tel-245, .tel-246, .tel-247 {
    width: 25%;
  }

}
