@import url(https://fonts.googleapis.com/earlyaccess/nanumgothic.css);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800);
@import url(https://cdn.jsdelivr.net/font-hack/2.020/css/hack.min.css);
@import url(https://fonts.googleapis.com/earlyaccess/notosanskr.css);

html, body {
    font-family: 'Open Sans', 'Noto Sans KR', sans-serif;
}

body {
    background-color: #e3e6eb;
}

.works-content .header-divider {
    border-bottom: 1px solid #c6c9cd;
}

h1 > a,
h2 > a,
h3 > a,
h4 > a,
h5 > a,
h6 > a {
    color: #333333 !important;
}

h1 > *,
h2 > *,
h3 > *,
h4 > *,
h5 > *,
h6 > * {
    vertical-align: middle;
}

h1 i,
h2 i,
h3 i,
h4 i,
h5 i,
h6 i {
    color: #111111 !important;
    font-weight: 600 !important;
    font-size: 75%;
    margin-left: .4em;
    margin-top: .05em;
    opacity: 0;
    transition: opacity .3s ease;
    -o-transition: opacity .3s ease;
    -moz-transition: opacity .3s ease;
    -webkit-transition: opacity .3s ease;
}

h1:hover i,
h2:hover i,
h3:hover i,
h4:hover i,
h5:hover i,
h6:hover i {
    opacity: 1;
}

.code-description {
    width: 100%;
    font-size: 13px;
    background-color: #f6f8fc;
    padding: 1.6em;
    margin-bottom: 2em;
    line-height: 2.4;
    word-break: break-word;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.preview {
    width: 100%;
    margin-bottom: 1.6em;
    text-align: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.preview [class^=col] {
    overflow: hidden;
}

.preview [class^=col] > .btn,
.preview [class^=col] > .label,
.preview [class^=col] > .badge {
    white-space: nowrap;
    word-break: break-all;
    overflow: hidden;
    text-overflow: ellipsis;    
}

.preview.preview-visible [class^=col],
.preview.preview-visible [class^=col] > .btn,
.preview.preview-visible [class^=col] > .label,
.preview.preview-visible [class^=col] > .badge {
    overflow: visible;
}

.preview .preview-description {
    width: 100%;
    margin-top: 1.6em;
    font-size: 110%;
    text-align: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.preview:after,
.preview:before {
    content: '';
    display: block;
    height: 0;
    clear: both;
}

.preview .modal {
    width: 60%;
    max-width: 800px;
}

.preview .modal .modal-header {
    text-align: left;
}

.preview .btn {
    margin-top: 0;
    margin-bottom: 0;
}

.preview:last-child {
    margin-bottom: 0;
}

.preview.preview-left {
    text-align: left;
}

.preview .preview-fill {
    padding: 20px 0;
    background-color: #e3e6eB;
}

.preview .row > .preview-fill {
    border-right: 1px solid #ffffff;
}

.preview .row > .preview-fill:last-child {
    border-right: none;
}

.preview.preview-grid .row {
    border-bottom: 1px solid #ffffff;
    margin-bottom: 0;
}

.preview.preview-grid .row:last-child {
    border-bottom: none;
}
.preview .floating {
    line-height: 4.4em;
    margin: 0 auto;
}

.preview .works-footer .floating-top {
    margin-left: -2.1em;
}

.preview .floating i {
    margin-right: -.1em;
}

.preview .works-header {
    position: relative;
}

.preview .works-sider {
    position: relative;
    min-height: 400px;
    transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
}

.preview .works-body {
    padding: 0;
    text-align: left;
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}

.preview .preview-color {
    text-align: left;
}

.preview .preview-color .row {
    margin-bottom: 30px;
}

.preview .preview-color .row:last-child {
    margin-bottom: 0;
}

.preview .preview-color .color-group {
    box-shadow: 0 2px 6px rgba(0, 0, 0, .5);
}

.preview .preview-color .color-group .color {
    padding: .6em 1em;
    position: relative;
    text-align: left;
    border-bottom: 1px rgba(0, 0, 0, .25);
    color: #000000;
    cursor: pointer;
}

.preview .preview-color .color-group .color.color-dark {
    color: #ffffff;
}

.preview .preview-color .color-group .color .color-title {
    display: inline-block;
    min-width: 5em;
    font-weight: 600;
}

.preview .preview-color .color-group .color .color-code {
    padding-left: 1em;
}

.preview .preview-color .color-group .color .color-brightness {
    float: right;
    font-weight: 600;
}

.preview .works-body .works-content {
    position: relative;
    top: auto;
    left: auto;
}

.preview .works-body .works-footer .floating {
    line-height: 4.8em;
}

.preview .works-body .works-footer .floating i {
    margin: auto;
}

.preview [class^="col"] .btn {
    width: 100%;
}

.preview [class^="col"] .btn-group .btn {
    width: auto;
}

.preview .row.row-table [class^="col-"] {
    height: 56px;
}

.preview .row [class^="col"] label,
.preview .row [class^="col"] .panel,
.preview .row [class^="col"] .btn,
.preview .row [class^="col"] .label,
.preview .row [class^="col"] .badge,
.preview .row [class^="col"] .works-input-label,
.preview .row [class^="col"] .works-checkbox-wrapper,
.preview .row [class^="col"] .spinner,
.preview .row [class^="col"] .works-section,
.preview .row [class^="col"] .preview-description {
    margin-bottom: 20px;
}

.preview .row [class^="col"] label.toggle {
    margin-bottom: 0;
}

.preview .row .preview-fill .badge,
.preview .row .preview-fill .label,
.preview .row .preview-fill .btn {
    margin-bottom: 0;
}

.view-source {
    display: block;
    width: 100%;
    height: 1px;
    margin: 1.6em 0;
    background: #e2e2e2;
    position: relative;
    color: #333333;
    text-decoration: none;
}

.view-source:before {
    display: block;
    position: absolute;
    content: '\e688';
    font-family: 'Pe-icon-7-stroke';
    top: -.8em;
    left: 50%;
    font-size: 160%;
    width: 1.6em;
    height: 1.6em;
    margin-left: -.8em;
    z-index: 5;
    font-weight: 600;
    line-height: 1.6em;
    border-radius: 50%;
    background-color: #f8f8f8;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
    -o-box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}

.view-source:after {
    content: 'View Source';
    display: block;
    padding: .4em .6em;
    position: absolute;
    background-color: #f8f8f8;
    color: #999999;
    position: absolute;
    right: 0;
    top: -.95em;
    z-index: 5;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
    -o-box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}

.view-source.view-source-no-padding {
    margin-bottom: 0;
}

.view-source.active:before {
    content: '\e682';
}

.view-source.active:after {
    content: 'Hide Source';
}

pre {
    display: none;
    font-family: 'Hack', 'Consolas' !important;
    margin-bottom: 1.6em !important;
}

pre code {
    display: block;
    font-family: 'Hack', 'Consolas' !important;
    padding: 2.4em 3.2em;
}

pre code .token.tag {
    color: #4b5fcd;
}

pre code .token.attr-name {
    color: #ef4a51;
}

pre code .token.value {
    color: #34b8f7;
}

pre code .token.punctuation {
    color: #5a5f78;
}

.homeworks-char {
    width: 4em;
    height: 4em;
    margin: 0 auto 1.6em;
    background: url('http://homeworks.igaworks.com/main/src/images/typo_character_v1.png') no-repeat center center scroll #242831;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 1), 0 1px 0 rgba(255, 255, 255, .05) inset;
    -o-box-shadow: 0 4px 12px rgba(0, 0, 0, 1), 0 1px 0 rgba(255, 255, 255, .05) inset;
    -moz-box-shadow: 0 4px 12px rgba(0, 0, 0, 1), 0 1px 0 rgba(255, 255, 255, .05) inset;
    -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 1), 0 1px 0 rgba(255, 255, 255, .05) inset;
    text-indent: -1000px;
    overflow: hidden;
}

.pagination {
    text-align: center;
}

.layout {
    max-width: 840px;
    height: 640px;
    width: 100%;
    background-color: #f1f1f1;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .25);
    -o-box-shadow: 0 3px 12px rgba(0, 0, 0, .25);
    -moz-box-shadow: 0 3px 12px rgba(0, 0, 0, .25);
    -wekit-box-shadow: 0 3px 12px rgba(0, 0, 0, .25);
}

.layout-description-depth1,
.layout-description-depth2,
.layout-description-depth3,
.layout-description-depth4 {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 5;
}

.layout-description-depth1 {
    color: #ff5656;
}

.layout-description-depth2 {
    color: #5369e3;

}

.layout-description-depth3 {
    color: #555555;
}

.layout-description-depth4 {
    left: 20px;
    right: auto;
    color: #61687a;
}

.layout-sider {
    width: 200px;
    background-color: #f8f8f8;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 10;
    box-shadow: 0 0 8px rgba(0, 0, 0, .25);
    transform: translate3d(-210px, 0, 0);
    -o-transform: translate3d(-210px, 0, 0);
    -moz-transform: translate3d(-210px, 0, 0);
    -webkit-transform: translate3d(-210px, 0, 0);
    transition: transform .3s ease, -webkit-transform .3s ease;
    -o-transition: transform .3s ease, -webkit-transform .3s ease;
    -moz-transition: transform .3s ease, -webkit-transform .3s ease;
    -webkit-transition: transform .3s ease, -webkit-transform .3s ease;
}

.layout-sider .layout-logo {
    height: 80px;
    background-color: #b2b2b2;
    position: relative;
}

.layout-wrapper {
    transition: transform .3s ease, -webkit-transform .3s ease;
    -o-transition: transform .3s ease, -webkit-transform .3s ease;
    -moz-transition: transform .3s ease, -webkit-transform .3s ease;
    -webkit-transition: transform .3s ease, -webkit-transform .3s ease;
    transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    position: relative;
    height: 100%;
}

.layout.layout-active .layout-sider {
    transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
}

.layout.layout-active .layout-wrapper {
    transform: translate3d(200px, 0, 0);
    -o-transform: translate3d(200px, 0, 0);
    -moz-transform: translate3d(200px, 0, 0);
    -webkit-transform: translate3d(200px, 0, 0);
}

.layout-header {
    height: 80px;
    background-color: #dfdfdf;
    position: relative;
    z-index: 5;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .25);
}

.layout-content {
    position: absolute;
    top: 80px;
    bottom: 0;
    left: 0;
    right: 0;
}

.layout-container {
    padding: 40px;
}

.layout-container .layout-section {
    height: 80px;
    margin-bottom: 16px;
    background-color: #ffffff;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
    -o-box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
    -moz-box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
    -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}

.layout-footer {
    position: absolute;
    width: 100%;
    height: 80px;
    left: 0;
    bottom: 0;
    background-color: #d2d2d2;
    z-index: 5;
}

.layout-footer .layout-floating {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: absolute;
    right: 120px;
    top: -20px;
    background-color: #a0a0a0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .375);
    -o-box-shadow: 0 2px 5px rgba(0, 0, 0, .375);
    -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, .375);
    -wekit-box-shadow: 0 2px 5px rgba(0, 0, 0, .375);
}

.layout-row.row {
    margin-bottom: 0;
}

.layout-row .col-pd,
.layout-row .col-pd-1,
.layout-row .col-pd-2,
.layout-row .col-pd-3,
.layout-row .col-pd-5,
.layout-row .col-pd-6,
.layout-row .col-pd-7,
.layout-row .col-pd-8,
.layout-row .col-pd-9,
.layout-row .col-pd-10,
.layout-row .col-pd-11,
.layout-row .col-pd-12 {
    padding: 20px;
}

.layout-row .col-pd-lg,
.layout-row .col-pd-lg-1,
.layout-row .col-pd-lg-2,
.layout-row .col-pd-lg-3,
.layout-row .col-pd-lg-5,
.layout-row .col-pd-lg-6,
.layout-row .col-pd-lg-7,
.layout-row .col-pd-lg-8,
.layout-row .col-pd-lg-9,
.layout-row .col-pd-lg-10,
.layout-row .col-pd-lg-11,
.layout-row .col-pd-lg-12 {
    padding: 40px;
}

.layout-row > * {
    border-right: 1px solid #e2e2e2;
}

.layout-row > :last-child {
    border-right: none;
}

@media (max-width: 1200px) {
    .row-compact > .col-md-6.col-pd {
        padding: 0 !important;
        margin-bottom: 40px;
    }

    .row-compact > .col-md-6.col-pd:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 540px) {
    .view-source:after {
        display: none;
        content: none;
    }

    .preview .works-header .works-navs {
        display: none;
    }    
}