/**
 * @file
 * HTML Element Styling
 *
 * This is the "reset" style sheet. It standardizes the properties of the HTML
 * elements across browsers.
 */


/*
 * Fonts
 *
 * Our font size and line height declarations are based on the following ALA
 * article:
 *   http://www.alistapart.com/articles/howtosizetextincss
 *
 * All modern browsrs use a 16px default font size. Specifying the font-size
 * and line-height in ems (relative to the 16px default font) allows the user
 * to resize the font in the browser and produces the most consistent results
 * across different browsers.
 */

/* 
 * D2 coding (Korean) http://dev.naver.com/projects/d2coding/
 */
@font-face {
  font-family: 'D2 coding';
  font-style: normal;
  font-weight: 400;
  src: url('//cdn.kldp.org/fonts/D2-Coding/1.2/D2Coding.eot');
  src: local('D2Coding'),
       url('//cdn.kldp.org/fonts/D2-Coding/1.2/D2Coding.eot?#iefix') format('embedded-opentype'),
       url('//cdn.kldp.org/fonts/D2-Coding/1.2/D2Coding.woff2') format('woff2'),
       url('//cdn.kldp.org/fonts/D2-Coding/1.2/D2Coding.woff') format('woff'),
       url('//cdn.kldp.org/fonts/D2-Coding/1.2/D2Coding.ttf') format('truetype');
}
@font-face {
  font-family: 'D2 coding';
  font-style: normal;
  font-weight: 700;
  src: url('//cdn.kldp.org/fonts/D2-Coding/1.2/D2CodingBold.eot');
  src: local('D2Coding Bold'),
       url('//cdn.kldp.org/fonts/D2-Coding/1.2/D2CodingBold.eot?#iefix') format('embedded-opentype'),
       url('//cdn.kldp.org/fonts/D2-Coding/1.2/D2CodingBold.woff2') format('woff2'),
       url('//cdn.kldp.org/fonts/D2-Coding/1.2/D2CodingBold.woff') format('woff'),
       url('//cdn.kldp.org/fonts/D2-Coding/1.2/D2CodingBold.ttf') format('truetype');
}

/*
 * Noto Sans KR (Korean)
 */
@font-face {
  font-family: 'Noto Sans CJK KR WFont';
  font-style: normal;
  font-weight: 400;
  src: url('//cdn.kldp.org/fonts/Noto-Sans-KR/NotoSansKR-Regular.eot');
  src: local('O'),
       url('//cdn.kldp.org/fonts/Noto-Sans-KR/NotoSansKR-Regular.eot?#iefix') format('embedded-opentype'),
       url('//cdn.kldp.org/fonts/Noto-Sans-KR/NotoSansKR-Regular.woff2') format('woff2'),
       url('//cdn.kldp.org/fonts/Noto-Sans-KR/NotoSansKR-Regular.woff') format('woff'),
       url('//cdn.kldp.org/fonts/Noto-Sans-KR/NotoSansKR-Regular.otf') format('opentype');
}
@font-face {
  font-family: 'Noto Sans CJK KR WFont';
  font-style: normal;
  font-weight: 700;
  src: url('//cdn.kldp.org/fonts/Noto-Sans-KR/NotoSansKR-Bold.eot');
  src: local('O'),
       url('//cdn.kldp.org/fonts/Noto-Sans-KR/NotoSansKR-Bold.eot?#iefix') format('embedded-opentype'),
       url('//cdn.kldp.org/fonts/Noto-Sans-KR/NotoSansKR-Bold.woff2') format('woff2'),
       url('//cdn.kldp.org/fonts/Noto-Sans-KR/NotoSansKR-Bold.woff') format('woff'),
       url('//cdn.kldp.org/fonts/Noto-Sans-KR/NotoSansKR-Bold.otf') format('opentype');
}

body {
  font-size: 100%; /* Fixes exaggerated text resizing in IE6 and IE7 */
  font-family: "Lucida Grande","Lucida Sans Unicode", Segoe UI, Helvetica, Arial, sans-serif;
}

/*Custom font options*/
body.font-family-arial,
.font-family-arial {
  font-family: Arial, Helvetica, Verdana, "Bitstream Vera Sans", sans-serif;
}

body.font-family-lucida,
.font-family-lucida {
  font-family: "Lucida Grande","Lucida Sans Unicode", Segoe UI, Helvetica, Arial, sans-serif;
}

body.font-family-times,
.font-family-times {
  font-family: Times, "Times New Roman", Georgia, "Bitstream Vera Serif", serif;
}

body.font-family-georgia,
.font-family-georgia {
  font-family: Georgia, "Times New Roman", "Bitstream Vera Serif", serif;
}

body.font-family-verdana,
.font-family-verdana {
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

body.font-family-tahoma,
.font-family-tahoma {
  font-family: Tahoma, Verdana, Arial, Helvetica, "Bitstream Vera Sans", sans-serif;
}

body.font-family-notokr,
.font-family-notokr {
  font-family: "Noto Sans CJK KR", 'Noto Sans CJK KR WFont', "Bitstream Vera Sans", sans-serif;
}

#skip-to-nav,
#page,
.font-size-12 #page {
  font-size: 0.75em; /* 16px x .75 = 12px */
  line-height: 1.6em; /* 12px x 1.5 = 18px */
}

.font-size-11 #page {
  font-size: 0.687em; /* 16px x .875 = 11px */
}

.font-size-13 #page {
  font-size: 0.812em; /* 16px x .812 = 13px */
}

.font-size-14 #page {
  font-size: 0.875em; /* 16px x .875 = 14px */
}

.font-size-15 #page {
  font-size: 0.937em; /* 16px x .937 = 15px */
}

.font-size-16 #page {
  font-size: 1.0em; 
}

pre,
code {
  font-size: 1.1em; /* Monospace fonts can be hard to read */
  font-family: "Courier New", "DejaVu Sans Mono", monospace;
}

div.geshifilter > pre {
  background-color: #eee;
  padding: 0.75em 1.5em;
  font-size: 1.0em;
  border: 1px solid #ddd;
  line-height: 180%;
  font-family: "D2 coding", "Courier New", "DejaVu Sans Mono", monospace !important;
}

/*
 * Headings
 */
h1 {
  font-size: 1.8em;
  line-height: 1.3em;
  margin-top: 0;
  margin-bottom: 0.5em;
}

h2 {
  font-size: 1.5em;
  line-height: 1.3em;
  margin-top: 0.667em; /* Equivalent to 1em in the page's base font: 1 / 1.5 = 0.667em */
  margin-bottom: 0.667em;
}

h3 {
  font-size: 1.3em;
  line-height: 1.3em;
  margin-top: 0.769em; /* Equivalent to 1em in the page's base font: 1 / 1.3 = 0.769 */
  margin-bottom: 0.769em;
}

h4,
h5,
h6 {
  font-size: 1.1em;
  line-height: 1.3em;
  margin-top: 0.909em; /* Equivalent to 1em in the page's base font: 1 / 1.1 = 0.909 */
  margin-bottom: 0.909em;
}

/*
 * Block-level elements
 */
p,
ul,
ol,
dl,
pre,
table,
fieldset {
  margin: 1em 0;
}

blockquote {
  margin: 1em 2em;
}

.bb-quote {
  border: 1px solid #ddd;
  padding: 2px 2px 2px 10px;
}

.bb-quote > blockquote.bb-quote-body {
  background-color: #ddd;
  padding: 2px 2px 2px 10px;
}

/*
 * Lists
 */
ul,
ol {
  margin-left: 0;
  padding-left: 2em; /* LTR */
}

.block ul,
.item-list ul /* Drupal overrides */ {
  margin: 1em 0;
  padding: 0 0 0 2em; /* LTR */
}

ul ul, ul ol,
ol ol, ol ul,
.block ul ul, .block ul ol,
.block ol ol, .block ol ul,
.item-list ul ul, .item-list ul ol,
.item-list ol ol, .item-list ol ul {
  margin: 0;
}

li {
  margin: 0;
  padding: 0;
}

.item-list ul li /* Drupal override */ {
  margin: 0;
  padding: 0;
  list-style: inherit;
}

ul.menu li,
li.expanded,
li.collapsed,
li.leaf /* Drupal override */ {
  margin: 0;
  padding: 0;
}

ul          { list-style-type: disc; }
ul ul       { list-style-type: circle; }
ul ul ul    { list-style-type: square; }
ul ul ul ul { list-style-type: circle; }
ol          { list-style-type: decimal; }
ol ol       { list-style-type: lower-alpha; }
ol ol ol    { list-style-type: decimal; }

dt {
  margin: 0;
  padding: 0;
}

dd {
  margin: 0 0 0 2em;
  padding: 0;
}

/*
 * Links
 *
 * The order of link states are based on Eric Meyer's article:
 * http://meyerweb.com/eric/thoughts/2007/06/11/who-ordered-the-link-states
 */
a {
  text-decoration: none;
  font-weight: bold;
}

a:hover,
a:focus {
    text-decoration: underline;
}

/*
 * Tables
 *
 * Drupal provides table styling which is only useful for its admin section
 * forms, so we override this default CSS. (We set it back in forms.css.)
 */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom:15px;
  /* width: 100%; */ /* Prevent cramped-looking tables */
}

th,
thead th,
tbody th {
  text-align: left; /* LTR */
  padding: 2px 5px;
  border-bottom: none;
}

thead th {
  white-space: nowrap;
}

tbody td {
  padding: 2px 5px;
}

tbody td:nth-child(1) {
  white-space: nowrap;
}

.status-description {
  white-space: normal !important;
}

tbody td:nth-child(4) {
  white-space: nowrap;
}

tbody {
  border-top: none;
}

thead {
    background-color: #DDDDDD;
    border: 1px solid #CCCCCC;
}

tr.even, tr.odd {
    background-color: inherit;
}

tr.even, 
tr.odd {
    border-bottom: 1px solid #E0E0E0;
}

table.dblog-event > tbody > tr > th {
	white-space: nowrap;
}

/*
 * Abbreviations
 */
abbr {
  border-bottom: 1px dotted #666;
  cursor: help;
  white-space: nowrap;
}

abbr.created /* Date-based "abbreviations" show computer-friendly timestamps which are not human-friendly. */ {
  border: none;
  cursor: auto;
  white-space: normal;
}

/*
 * Images
 */
img {
  border: 0;
}

/*
 * Horizontal rules
 */
hr {
  height: 1px;
  border: 1px solid #666;
}

/*
 * Forms
 */
form {
  margin: 0;
  padding: 0;
}

fieldset {
  margin: 1em 0;
  padding: 0.5em;
}
