/*
 * 스타일 초기화 CSS (브라우저간 기본 스타일 통일화)
 */

*{
    margin: 0;
    padding: 0;
}
html {
    -webkit-text-size-adjust: 100%; /* 2 */
    word-wrap:break-word;
    word-break: break-all;
}
body {
    margin: 0;
    padding: 0;
}
main {
    display: block;
}
h1 {
    font-size: 2em;
    margin: 0.67em 0;
}
hr {
    box-sizing: content-box; /* 1 */
    height: 0; /* 1 */
    overflow: visible; /* 2 */
}
pre {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
}

/*스타일 설정의 링크 스타일*/
a {
    background-color: transparent;
    text-decoration: none;
    color: inherit;
}
a:hover,
a:focus {
    color: inherit;
    text-decoration: inherit;
}
ol, ul {
    margin: 0;
    padding: 0;
}
ul li {
    list-style: none;
}

p {
    margin: 0;
}
abbr[title] {
    border-bottom: none; /* 1 */
    text-decoration: underline; /* 2 */
    text-decoration: underline dotted; /* 2 */
}
b,
strong {
    font-weight: bolder;
}
code,
kbd,
samp {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
}
small {
    font-size: 80%;
}
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sub {
    bottom: -0.25em;
}
sup {
    top: -0.5em;
}
img {
    border-style: none;
}
button,
input,
optgroup,
select,
textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 1 */
    line-height: 1.15; /* 1 */
    margin: 0; /* 2 */
}
button,
input { /* 1 */
    overflow: visible;
}
input[type="number"] {
    position: relative;
}
input[type="number"].num_spiner::-webkit-outer-spin-button,
input[type="number"].num_spiner::-webkit-inner-spin-button {
    -webkit-appearance: none;
    background: #fff url("../img/component/number_spiner.png")no-repeat center center;
    cursor: pointer;
    display: block;
    width: 18px;
    opacity: .5; /* shows Spin Buttons per default (Chrome >= 39) */
    text-align: center;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
}
input[type="number"].num_spiner::-webkit-inner-spin-button:hover,
input[type="number"].num_spiner::-webkit-inner-spin-button:active{
    opacity: .8;
}

/* Override browser form filling */
input:-webkit-autofill {
    background: black;
    color: red;
}
button,
select { /* 1 */
    text-transform: none;
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
    outline: none;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
    box-shadow: none;
}
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}
select::-ms-expand {
    border: none;
    background: none;
}
fieldset {
    padding: 0.35em 0.75em 0.625em;
}
legend {
    box-sizing: border-box; /* 1 */
    color: inherit; /* 2 */
    display: table; /* 1 */
    max-width: 100%; /* 1 */
    padding: 0; /* 3 */
    white-space: normal; /* 1 */
}
label {
    margin: 0;
    padding: 0;
    font-weight: normal;
}
progress {
    vertical-align: baseline;
}
textarea {
    overflow: auto;
}
[type="checkbox"],
[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}
[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    outline-offset: -2px; /* 2 */
}
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}
::-webkit-file-upload-button {
    -webkit-appearance: button; /* 1 */
    font: inherit; /* 2 */
}
details {
    display: block;
}
summary {
    display: list-item;
}
template {
    display: none;
}
[hidden] {
    display: none;
}

/*부트스트랩 설정 초기화*/
.form-control {
    border: 1px solid #dddddd;
    border-radius: 0px;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.form-control:focus {
    border-color: #dddddd !important;
    outline: 0 !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}
.btn.active.focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn:active:focus, .btn:focus {
    outline: none;
}
input:focus {
    outline: none;
}
textarea:focus {
    outline: none;
}
button:focus {
    outline: none;
}
div:focus {
    outline: none;
}
span:focus {
    outline: none;
}
i:focus {
    outline: none;
}

/* 에디터 스타일 수정 */
.note-editable > ol,
.note-editable > ul {
    margin: 0 0 0 16px !important;
}
.note-editable > ul li {
    list-style: disc !important;
}

/* 에디터 링크삽입 스타일 수정 */
.insert_link_area {
    float: left;
    display: inline-block;
    margin-left: 4px;
    margin-right: 15px;
    vertical-align: middle;
}
.link_url,
.url_check_btn {
    display: none;
}
.insert_link_area input {
    padding: 5px 7px;
    font-size: 12px;
    color: #555;
    border: 1px solid #b5b5b5;
    box-shadow: none;
    background-color: #fff;
    width: 210px;
    height: 30px;
    line-height: 30px;
    border-radius: 2px;
}
.insert_link_area button {
    padding: 5px;
    font-size: 12px;
    width: 40px;
    height: 30px;
    line-height: normal;
    vertical-align: middle;
    margin-left: 2px;
    border: 1px solid #f9f9f9;
    background-color: #444;
    color: #fff;
    border-radius: 3px;
}

/* iOS 사파리 기본 스타일 제거 */
input, textarea, button, select {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    border: 1px solid #ccc;
    box-shadow: none;
}
input[type=button],
input[type=radio],
input[type=checkbox] {
    appearance: auto;
}
input[type=button] {
    -moz-appearance: button;
    -webkit-appearance: button;
}
input[type=radio] {
    -moz-appearance: radio;
    -webkit-appearance: radio;
}
input[type=checkbox] {
    -moz-appearance: checkbox;
    -webkit-appearance: checkbox;
}
button, input[type=button] {
    background-color: #f5f5f5;
    color: #777;
    border-radius: 2px;
    padding: 4px;
}
a[type=button] {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}
/* select 기본 스타일 제거 & 화살표 이미지 추가 */
select {
    background-image:url('/img/ico/chevron_down.png') !important;
    background-size: 10px;
    background-repeat: no-repeat !important;
    background-position: right 7px center !important;
    background-color: #fff;
    padding: 4px 0 4px 10px;
    padding-right: 20px !important;
}
/* ie 화살표 제거 */
select::-ms-expand {
    display: none;
}