.top_menus_wrap {
    position: relative;
    background-color: #664D93;
    cursor: pointer;
}

.top_menus_wrap::before {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    display: block;
    content: ' ';
    background-color: #5b7fbd;
}

ul.top_menus {
    margin: 0 auto;
    width: 100%;
    max-width: 1920px;
    height: 56px;
    display: flex;
}

.top_menus > li {
    position: relative;
    flex-grow: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top_menus > li::before {
    display: block;
    position: absolute;
    content: ' ';
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    border-top: 28px solid transparent;
    border-right: 22px solid transparent;
}

.top_menus > li::after {
    display: block;
    position: absolute;
    content: ' ';
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-bottom: 28px solid transparent;
    border-left: 22px solid transparent;
}

.top_menus > li > a {
    color: white;
    font-size: 22px;
    font-family: "Noto Sans KR", sans-serif;
    font-weight: 500;
    cursor: pointer;
}

/* 
    20220927
    .top_menus > li:nth-of-type 주석 해제
    스타일 renew2.css에서 가져와서 사용

*/

.top_menus > li:nth-of-type(1) {
    background-color: #664d93;
}

.top_menus > li:nth-of-type(1)::after {
    border-bottom: 28px solid #f5a347;
}

.top_menus > li:nth-of-type(2) {
    background-color: #f5a347;
}

.top_menus > li:nth-of-type(2)::before {
    border-top: 28px solid #664d93;
}

.top_menus > li:nth-of-type(2)::after {
    border-bottom: 28px solid #69ae8c;
}

.top_menus > li:nth-of-type(3) {
    background-color: #69ae8c;
}

.top_menus > li:nth-of-type(3)::before {
    border-top: 28px solid #f5a347;
}

.top_menus > li:nth-of-type(3)::after {
    border-bottom: 28px solid #5b7fbd;
}

.top_menus > li:nth-of-type(4) {
    background-color: #5b7fbd;
}

.top_menus > li:nth-of-type(4)::before {
    border-top: 28px solid #69ae8c;
}

.top_sub_menu_container {
    position: absolute;
    top: 176px;
    width: 96%;
    max-width: 1920px;
    left: 50%;
    transform: translate(-50%, 0);
    height: 300px;
    z-index: -1;
    font-family: "Noto Sans KR", sans-serif;
}

.top_sub_menu {
    position: absolute;
    top: 0;
    width: 800px;
    display: flex;
    flex-flow: row;
    min-height: 250px;
    font-family: 'scdream-medium', 'Noto Sans KR', sans-serif;
}

.top_sub_menu.top_sub_menu_bible > li > a {
    font-size: 18px;
    margin-bottom: 5px;
    
}

.top_sub_menu.hide {
    display: none;
}

.top_sub_menu li {
    position: relative;;
    flex-grow: 1;
    padding: 30px 0;
}

.top_sub_menu > li > a {
    position: relative;;
    display: block;
    color: white;
    line-height: 32px;
    font-size: 15px;
    padding: 0 30px;
    letter-spacing: -0.5px;
    z-index: 99999;
}

.top_sub_menu > li > a:not(:first-of-type)::before {
    position: absolute;
    display: block;
    content: ' ';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity .2s ease-in-out;
    z-index: -1;
}

.top_sub_menu > li > a:hover::before {
    opacity: 1;
}

.top_sub_menu > li > a.sub {
    font-size: 14px;
    line-height: 1;
    padding: 4px 30px 8px 45px;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'scdream-light', 'Noto Sans KR', sans-serif;
}

.top_sub_menu > li > a:first-of-type {
    font-size: 18px;
    margin-bottom: 5px;
}

.top_sub_menu > li:before {
    position: absolute;
    display: block;
    content: ' ';
    top: 20px;
    left: 0;
    bottom: 20px;
    width: 1px;
    background-color: rgba(0, 0, 0, 0.2);
}

.top_sub_menu2 {
    left: 30%;
    transform: translateX(-30%);
    width: 550px;
    color: white;
    min-height: 100px;
}

.top_sub_menu3 {
    left: 70%;
    transform: translateX(-50%);
    color: white;
}

.top_sub_menu4 {
    left: auto;
    right: 0;
    color: white;
    width: 900px;
}

.top_sub_menu1 {
    background: rgba(118, 95, 167, 0.95);
}

.top_sub_menu2 {
    background: #f5a347;
}

.top_sub_menu3 {
    background: rgba(15, 143, 100, 0.95);
}

.top_sub_menu4 {
    background: rgba(93, 127, 187, 0.95);
}


.top_sub_menu1 > li > a:first-of-type {
    color: #f9cfba;
}

.top_sub_menu2 > li > a:first-of-type {
    color: #f9cfba;
}

.top_sub_menu3 > li > a:first-of-type {
    color: #EEDB31;
}

.top_sub_menu4 > li > a:first-of-type {
    color: #B8E2F9;
}

.top_sub_menu1 > li > a:not(:first-of-type)::before {
    background-color: #4c2874;
}

.top_sub_menu2 > li > a:not(:first-of-type)::before {
    background-color: #f36e42;
}

.top_sub_menu3 > li > a:not(:first-of-type)::before {
    background-color: #004c2c;
}

.top_sub_menu4 > li > a:not(:first-of-type)::before {
    background-color: #202260;
}


.search-box-container {
    width: 100%;
    background: #9f9fa0;
}

.link-box, .search-box {
    width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    flex-flow: row;
}

.link-box {
    border-bottom: 1px solid #d9d9da;
}

.link-box > div {
    flex-grow: 1;
}

.link-box > div a {
    width: 100%;
    text-align: center;
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: center;
}

.link-box > div img {
    max-height: 30px;
    margin-right: 10px;
}

.link-box > div p {
    color: white;
    font-size: 18px;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 500;
}

.search-box {
    padding: 30px 0;
}

.search-box > form {
    display: flex;
    flex-flow: row;
    height: 30px;
    justify-content: center;
}

.search-box > form > div {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-box > form > div > select {
    border: none;
}

.form_input_box {
    position: relative;
    max-width: 280px;
    background: white;
    box-shadow: 0 0 0 1px #664d93;
    border-radius: 5px;
    margin-left: 35px;
    border-radius: 5px;
    overflow: hidden;
}

.form_input_box .books {
    width: 70px;
}

.form_input_box select#chap, .form_input_box select#sec {
    width: 40px;
}

.form_input_box:first-of-type {
    margin-left: 0;
}

.form_input_box label {
    position: relative;
    padding: 0 10px;
    height: 30px;
    line-height: 30px;
    background: #8a77b5;
    color: white;
    white-space: nowrap;
}

.form_input_box input {
    outline: none;
    padding: 0 10px;
    width: 190px;
    height: 30px;
    border: 0;
    font-family: "Noto Sans KR", sans-serif;
    font-size: 14px;
    font-weight: bold;
    line-height: 30px;
}

.form_input_box .border-left {
    margin-left: 20px;
    border-left: 1px solid #664d93;
    padding-left: 0;
}

.form_input_box .border-left::after {
    display: block;
    content: ' ';
    position: absolute;
    top: 0;
    left: -20px;
    width: 0;
    height: 0;
    border-bottom: 30px solid #8a77b5;
    border-left: 20px solid transparent;
    /*border-right: #664d93;*/
}

.form_input_box .border-right {
    margin-right: 20px;
}

.form_input_box .border-right::after {
    display: block;
    content: ' ';
    position: absolute;
    top: 0;
    right: -20px;
    width: 0;
    height: 0;
    border-top: 30px solid #8a77b5;
    border-right: 20px solid transparent;
    /*border-right: #664d93;*/
}

.form_input_box label a {
    color: white
}

.form_input_box > span {
    margin: 0 5px;
    font-family: "Noto Sans KR", sans-serif;
    font-weight: bold;
    color: #705799;
}

#ctt_con, .ctt_admin, #bo_list, .content_container {
    margin: 0 auto;
    /*max-width: 1200px;*/
    /*border: 1px solid rgba(255, 0, 0, 0.2);*/
}

#ctt, #ctt2 {
    margin: 20px auto 50px;
    width: 100%;
    max-width: 1000px;
    /*border: 1px solid rgba(255, 0, 0, 0.2);*/
}

#subBox3 {
    margin: 0 auto;
}

#catalogue {
    margin: 0 auto;
}

ul.tab_menu {
    position: relative;
    display: block;
    border-left: 1px solid #ededed;
    overflow: hidden;
}

ul.tab_menu::before {
    position: absolute;;
    content: ' ';
    display: block;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #ededed;
    z-index: -1;
}

.tab_menu > li {
    position: relative;
    float: left;
    font-size: 16px;
    line-height: 1;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    margin: 0;
    letter-spacing: 1px;
    transition: all .1s ease-in-out;
    background: #f0f1f2;
    border-top: 4px solid #f0f1f2;
}

.tab_menu > li:last-of-type {
    border-right: 1px solid #ededed;
}

.tab_menu > li::before {
    position: absolute;
    display: block;
    content: ' ';
    top: 10px;
    left: -1px;
    bottom: 10px;
    width: 1px;
    background-color: #ccc;
}

.tab_menu > li:first-of-type::before, .tab_menu > li.active::before {
    display: none;
}

.tab_menu > li.active::after {
    position: absolute;
    display: block;
    content: ' ';
    top: 10px;
    right: 0;
    bottom: 10px;
    width: 1px;
    background-color: white;
    z-index: 9;
}

.tab_menu > li.active {
    border-top: 4px solid #59a079;
    background: white;
}

.tab_menu > li:hover, .tab_menu > li:active {
    border-top: 4px solid #59a079;
}

.tab_menu.color2 > li.active {
    border-top: 4px solid #5B7FBD;
}

.tab_menu.color2 > li:hover, .tab_menu.color2 > li:active {
    border-top: 4px solid #5B7FBD;
}

.tab_menu > li a {
    display: block;
    padding: 15px 40px;
}

/* 매일성경 묵상 */
#subBox3, #read_content, .read_container {
    width: 1000px !important;
}

/* 성경 카탈로그 */
#catalogue {
    width: 1000px !important;
}

#catalogue .subcat_list, #catalogue .subcat_list ul {
    width: 100%;
}

.catalogue_item_list {
    width: 100%;
}

.catalogue_item_list dd.top {
    width: 1000px;
}

.catalogue_item_list dd {
    width: 1000px;
}

.book-wrapper {
    width: 1200px !important;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.book-list > li {
    margin: 0 0 20px;
    width: 500px !important;
}

.book-wrapper .clearfix a {
    right: 180px !important;
}


.float_banner_center {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 80px;
}

.float_banner_right {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(620px);
}

#bo_v {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

#bo_gall {
    margin-left: auto;
    margin-right: auto;
    max-width: 1000px;
}

.ctt_subpage1_3_1 {
    overflow: hidden;
}

.ctt_subpage2_1_2 hr {
    position: relative;
    max-width: 780px;
    margin: 0 auto;
    border: 1px solid #5B7FBD;
}

.ctt_subpage2_2_1_1 h4 {
    color: #5B7FBD;
    font-size: 14pt;
}

.content h5 {
    position: relative;
    margin: 10px 0 20px;
    font-size: 20px;
    padding-left: 15px;
    font-weight: 700;
    color: #5B7FBD;
}

.content h5::before {
    display: block;
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #5B7FBD;
}

.content .feature_arrow {
    color: #5B7FBD;
    font-size: 9px;
}

.ctt_subpage2_1_2 {
    max-width: 1000px;
    margin: 0 auto;
}
