/*
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;
}

/* 메인메뉴 아이콘 제거 */
#top-menu > li > a::after {
    display: none !important;
}
#top-menu li {
    padding-right: 50px;
}

/* 네비게이션 */
.lnb,
.lnbb {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #2b2e83;
}

.lnbb ul li {
    background-color: #fff;
    border-bottom: 1px solid #000;
}

.lnb ul,
.lnbb ul{
    width: 1280px;
    display: flex;
    justify-content: space-around;
    padding: 0;
    line-height: 60px;
}

.lnb ul li,
.lnbb ul li{
    display: flex;
    justify-content: center;
    width: 100%;
}

.lnb ul li a {
    width: 100%;
    /*    padding-left: 20px;*/
    display: flex;
    justify-content: center;
    background-color: #2b2e83;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
}

.lnbb ul li a {
    color: #000;
}

.lnb ul li a:hover,
.lnb ul li a.on {
    background-color: #fff;
    color: #000;
}

.lnb ul li #sub07:hover {
    background-color: #2b2e83;
}
.lnbb ul li a {
    color: #000;
    width: 100%;
    text-align: center;
}
.lnbb ul li.om {
    border-top: 1px solid #000;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    border-bottom: 0px;
}
.mobile_menu_bar::before {
    color: #000;
}
.et_mobile_menu {
    border-top: 3px solid #fff;
}
@media (max-width: 900px) {
    .lnb ul,
    .lnbb ul {
        flex-wrap: wrap;
    }
}

/* 메인페이지 비즈니스 */
#post-18 .et_pb_section_2 .et_pb_column {
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    width: 50% !important;
}
@media (max-width: 400px) {
    #post-18 .et_pb_section_2 .et_pb_column {
        width: 100% !important;
    }
}

/* 메인페이지 커뮤니티*/
#post-18 .wp-image-74 {
    border-radius: 50%;
    transition: 0.3s;
}
#post-18 .wp-image-74:hover {
    box-shadow: 10px 10px 7px #ccc
}
#post-18 .wp-image-75 {
    border-radius: 50%;
    transition: 0.3s;
}
#post-18 .wp-image-75:hover {
    box-shadow: 10px 10px 7px #ccc
}

/* 최근 공지 */
.cs_btn {
  margin: 12px 10px;
  width: 24px;
  height: 24px;
  background-color: #2b2e83;
  float: left;
  position: absolute;
  text-indent: -9999px;
  top: 2px;
  right: 0;
}

.cs_btn::after,
.cs_btn::before {
  content: "";
  width: 12px;
  height: 2px;
  background-color: #fff;
  display: block;
  position: absolute;
  top: calc(50% - 1px);
  left: calc(50% - 6px);
  transition: all 0.2s;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
}

.cs_btn::after {
  transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
}

/* 회사연혁 */
.company-history-new-year {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    color: #000;
    font-weight: bold;
    margin-bottom: 20px;
}
.company-history-new-year::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 5px;
    height: 100%;
    background-color: #2b2e83;
}
.company-history-new-year::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border: 3px solid #000;
    border-radius: 50%;
    background-color: #fff;
}
/* 년도, 내용 교차 order기본값0 */
.company-history-new-year:nth-child(even) div:nth-child(odd) {
    order: 1;
    text-align: left;
}
.company-history-new-year:nth-child(even) div:nth-child(even) {
    text-align: right;
}
.company-history-new-year:nth-child(odd) div:nth-child(even) {
    order: 2;
}
.company-history-new-year:nth-child(odd) div:nth-child(odd) {
    text-align: right;
}
.company-history-new-year:nth-child(even) {
    border-right: 5px solid #aaa;
    border-left: 5px solid #eee;
}
.company-history-new-year:nth-child(odd) {
    border-left: 5px solid #aaa;
    border-right: 5px solid #eee;
}
.year,
.desc {
    flex: 1;
    padding: 30px;
}
.year {
    font-size: 50px;
}
.desc {
    line-height: 1.5;
    font-size: 15px;
}
.desc em {
    font-size: 22px;
    font-weight: bold;
    font-style: normal;
}
.new-desc {
    white-space: normal;
}
@media (max-width: 400px) {
    .year,
    .desc {
        padding: 10px;
    }
    .year {
        font-size: 30px;
    }
    .desc {
        font-size: 12px;
    }
    .desc em {
        font-size: 17px;
    }
}

/* 사업분야 - 중점 전략 */
/* 사업분야 - CAM 기술지원 */
/* 사업분야 - CAX 기술지원 */
.business-strategy-inner,
.business-cam-inner,
.business-cax-inner {
    border: 2px solid #ccc;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 30px 20px;
    height: 300px;
}
.business-cax-inner {
    border: none;
}
.business-strategy-title,
.business-cam-title,
.business-cax-title {
    font-size: 20px;
    font-weight: bold;
    color: #000;
}
.business-strategy-color,
.business-cam-color,
.business-cax-color {
    color: #2b2e83;
    font-weight: bold;
}

/* 사업분야 - CAD 기술지원 */
.business-cad-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 400px;
}
.business-cad-item {
    padding: 10px;
}
.business-cad-item-title {
    color: #000;
    font-weight: bold;
}

/* 제품문의 */
.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: #2b2e83;
}
.contact01,
.contact02 {
  width: 100%;
}
.contact01 input,
.contact02 input {
  padding: 7px !important;
}
.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;
}
.phone-number-inner input {
    width: 100px;
}
.wpcf7-list-item {
    margin: 0 1em 0 0;
}
.file-inner input {
    background-color: #fff;
    border: 1px solid #bbb;
    color: #4e4e4e;
}
.wpcf7-textarea {
    background-color: #fff;
    border: 1px solid #bbb;
    color: #4e4e4e;
    width: 100%;
    padding: 7px;
}
.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: 10px 30px !important;
    cursor: pointer;
    border: 1px solid #ddd;
}
.submit input:hover {
    background: rgba(0, 0, 0, 0.16) !important
}
.fm_tb td {
  border: 1px solid #ddd;
  padding: 5px 0 5px 20px;
/*  font-size: 14px;*/
}
@media (max-width: 400px) {
    .contact01 tr td:nth-child(1),
    .contact02 tr td:nth-child(1),
    .contact01 tr td:nth-child(2),
    .contact02 tr td:nth-child(2){
        display: block;
        width: 100%;
    }
    .wpcf7-text {
        width: 100%;
    }
    .phone-number-inner p {
        display: flex;
    }
    .phone-number-inner span {
        width: 100px;
    }
    .info {
        width: 100%;
        height: 200px;
        overflow-y: scroll;
        border: 1px solid #ddd;
    }
    .info table tr,
    .info table td {
        padding: 0;
        line-height: 15px;        
        padding-left: 5px;
    }
    .info * p {
        vertical-align: top;
        font-size: 10px;
    }
    .submit {
        margin: 0;
        padding-left: 60px;
    }
        .textwidget {
        font-size: 13px;
    }

}

/* Footer info */
#custom_html-5 {
    width: 100%;
}
.footer-line {
    border: 1px solid #4b4b4b;
    margin-bottom: 40px;
}
.footer-info-inner {
    display: flex;
    gap: 50px;
    border-top: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
    padding: 30px ;
}
.footer-logo-inner {
    flex: 1;
}
.footer-logo-inner img {
    flex: 1;
}
.footer-desc {
    flex: 2;
    color: #ccc !important;
}
@media (max-width: 400px) {
    .footer-info-inner {
        flex-direction: column;
    }
    .footer-line {
        display: none;
    }        
}