/* General styles */

html,
body {
    height: 100%;
}

body {
    font: 14px/1.4 'Roboto', sans-serif;
    margin: 0;
    background: #f8f7ee;
}

a {
    color: inherit;
}

input,
textarea,
select {
    font: inherit;
}

:focus {
    outline: 0;
}

::-moz-focus-inner {
    border: 0;
}

*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

p,
ul,
ol,
li {
    margin: 0;
    padding: 0;
}

/* Default description style */

.default-description {
    color: #333;
    word-wrap: break-word;
    overflow: hidden;
}

.default-description p,
.default-description ul,
.default-description ol,
.default-description li {
    margin: 10px 0;
}

.default-description ul,
.default-description ol {
    margin-left: 30px;
}

.default-description a {
    color: #546e84;
}

.default-description a:hover {
    color: #c44307;
}

/* Common styles */

/* Page title */

.page-title {
    color: #301300;
    font-size: 30px;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 30px;
    line-height: 1.1;
    word-wrap: break-word;
}

/* Page link */

.page-link {
    text-align: center;
    margin: 20px 0;
}

.page-link > a {
    display: inline-block;
    color: #546e84;
    font-size: 18px;
    text-align: center;
}

.page-link > a:hover {
    color: #c44307;
}

/* Publication date */

.page-publication-date {
    font-weight: bold;
    color: #708759;
}

/* Projects page link */

.projects-page-link > a {
    font-size: 18px;
    font-weight: bold;
    color: #f87439;
    margin-bottom: 10px;
}

/* Pageable */

.pageable-content > div {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dotted #aa9c88;
}

.pageable-content > :first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

/* Paging navigator */

.paging-navigator {
    font-size: 0;
    text-align: center;
}

.first-paging-navigator {
    margin-bottom: 20px;
}

.last-paging-navigator {
    margin-top: 20px;
}

.paging-navigator .first,
.paging-navigator .prev,
.paging-navigator .next,
.paging-navigator .last,
.paging-navigator .goto {
    display: inline-block;
    text-align: center;
    height: 30px;
    line-height: 30px;
    vertical-align: top;
}

.paging-navigator a {
    display: inline-block;
    min-width: 30px;
    height: 30px;
    text-decoration: none;
    padding: 0 5px;
    color: #546e84;
    border-radius: 2px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.paging-navigator .first a,
.paging-navigator .last a {
    width: 30px;
}

.paging-navigator a[disabled='disabled'] {
    color: #fff;
    background: rgba(84, 110, 132, 0.75);
}

.paging-navigator .goto {
    font-size: 16px;
}

.paging-navigator .first a,
.paging-navigator .prev a,
.paging-navigator .next a,
.paging-navigator .last a {
    background-position: center;
    background-repeat: no-repeat;
}

.paging-navigator .first a {
    background-image: url('../images/first_page-ver-55D7633D811F406CB9F00B215B577801.png');
}

.paging-navigator .prev a {
    background-image: url('../images/previous_page-ver-58F39DD1E9FDEED2C1E4208E097DCA32.png');
}

.paging-navigator .next a {
    background-image: url('../images/next_page-ver-86650655C939A410B4AB6AEB4AE6D135.png');
}

.paging-navigator .last a {
    background-image: url('../images/last_page-ver-BE87EF618C70A7AA8254688616DEACE7.png');
}

.paging-navigator .first a[disabled='disabled'],
.paging-navigator .prev a[disabled='disabled'],
.paging-navigator .next a[disabled='disabled'],
.paging-navigator .last a[disabled='disabled'] {
    background-color: transparent;
    opacity: 0.4;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
}

/* Form components */

.primary-button {
    display: inline-block;
    font-weight: bold;
    min-width: 0;
    height: 40px;
    padding: 0 15px;
    border: 0;
    border-radius: 2px;
    color: #fff;
    text-transform: uppercase;
    background: #f87439;
    cursor: pointer;
}

a.primary-button {
    vertical-align: middle;
    text-align: center;
    line-height: 40px;
    text-decoration: none;
}

input[type='text'],
input[type='email'],
input[type='tel'],
input[type='password'],
select,
textarea {
    border: 1px solid #d4d1c4;
    border-radius: 2px;
    background: #fff;
    transition: border 0.4s ease, box-shadow 0.4s ease;
}

input[type='text'],
input[type='tel'],
input[type='email'],
input[type='password'] {
    padding: 0 8px;
    height: 30px !important;
}

textarea {
    padding: 4px 8px;
    resize: vertical;
}

input[type='text']:focus,
input[type='email']:focus,
input[type='tel']:focus,
input[type='password']:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 2px #f87439;
    border-color: #f87439;
}

input:disabled,
select:disabled,
textarea:disabled {
    opacity: 0.5;
}

/* One line layout */

.form-component > label {
    display: table;
    width: 100%;
    margin-bottom: 10px;
}

.form-component > label > .form-component-title {
    display: table-cell;
    vertical-align: middle;
    width: 100px;
    padding-right: 10px;
    color: #432917;
}

.form-component > label > .form-component-editor {
    display: table-cell;
    vertical-align: middle;
}

.form-component input[type='text'],
.form-component input[type='tel'],
.form-component input[type='email'],
.form-component input[type='password'],
.form-component textarea,
.form-component select {
    display: block;
    width: 100%;
}

.form-component input[type='text'],
.form-component input[type='tel'],
.form-component input[type='email'],
.form-component input[type='password'],
.form-component select {
    height: 30px;
}

/* Two lines layout */

.form-component.stack {
    display: block;
}

.form-component.stack > label > .form-component-title {
    display: block;
    width: auto;
    margin-bottom: 4px;
}

.form-component.stack > label > .form-component-editor {
    display: block;
}

/* Form components validation */

.form-component.invalid input[type='text'],
.form-component.invalid input[type='tel'],
.form-component.invalid input[type='email'],
.form-component.invalid input[type='password'],
.form-component.invalid textarea {
    border-bottom-color: #f44a15;
}

.form-component.invalid input[type='checkbox'] + label {
    color: #f44a15;
}

/* Site map link */

.sitemap-link:not(:last-child) {
    margin-bottom: 10px;
}

.sitemap-link > a {
    color: #546e84;
}

.sitemap-link > a:hover {
    color: #c44307;
}

/* Message box of error pages */

.error-view {
    color: #546e84;
    margin-top: 10px;
}

.error-view .collapsible-layout-header {
    cursor: pointer;
}

.error-description {
    color: #546e84;
    text-align: center;
    font-size: 24px;
    padding: 20px;
}

.error-view .collapsible-layout-content {
    border-top: 1px solid #ccc;
}

.stack-trace-view pre {
    font: 14px Consolas, monospace;
    color: #333;
    word-wrap: break-word;
    margin: 20px;
    overflow: auto;
}

/* Qtip */

div.qtip-web {
    color: #444;
    border: 1px solid #a1a1a1;
    background: #fff;
    font-size: 12px;
    line-height: 18px;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
    border-radius: 4px;
}

div.qtip-web-dark {
    color: #f1f1f1;
    border: 1px solid #f1f1f1;
    background: #444;
    font-size: 12px;
    line-height: 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    border-radius: 4px;
}

div.qtip-web .qtip-content,
div.qtip-web-dark .qtip-content {
    padding: 6px 10px;
}

/* Fonts */

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto-regular-ver-65C636263C939570007BC4FC4673C062.eot');
    src: url('../fonts/roboto-regular-ver-65C636263C939570007BC4FC4673C062.eot') format('embedded-opentype'),
    url('../fonts/roboto-regular-ver-94CDAA8CD89C85D33BF20C831DC2D28E.woff2') format('woff2'),
    url('../fonts/roboto-regular-ver-ECDE059196CC73346806243C25E5705A.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto-italic-ver-6645BA4463FE1FB124BD605A05CFCE06.eot');
    src: url('../fonts/roboto-italic-ver-6645BA4463FE1FB124BD605A05CFCE06.eot') format('embedded-opentype'),
    url('../fonts/roboto-italic-ver-82360DA0D1173CF880C203C77E863250.woff2') format('woff2'),
    url('../fonts/roboto-italic-ver-E418AC8BFC1C2715897C3AAEDF0910DB.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto-bold-ver-B76224B9E87168B593C59956CC0C7D41.eot');
    src: url('../fonts/roboto-bold-ver-B76224B9E87168B593C59956CC0C7D41.eot') format('embedded-opentype'),
    url('../fonts/roboto-bold-ver-12974C4CF019B75BE582BB2B8B7FC277.woff2') format('woff2'),
    url('../fonts/roboto-bold-ver-41ED11A12CFB0051122AE87C158C6931.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto-bolditalic-ver-02C6DC0B7D9F53578B7AE5C9F129D3D4.eot');
    src: url('../fonts/roboto-bolditalic-ver-02C6DC0B7D9F53578B7AE5C9F129D3D4.eot') format('embedded-opentype'),
    url('../fonts/roboto-bolditalic-ver-241E1FDA7D14FE60BB14B2CF52D03223.woff2') format('woff2'),
    url('../fonts/roboto-bolditalic-ver-46401B7D11A69A087D2005302C5298DC.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto-light-ver-51CF6C4D46C9EBE344270DB61EFB4AF4.eot');
    src: url('../fonts/roboto-light-ver-51CF6C4D46C9EBE344270DB61EFB4AF4.eot') format('embedded-opentype'),
    url('../fonts/roboto-light-ver-D416F9504A65AE7FF24868ABD2A83AA6.woff2') format('woff2'),
    url('../fonts/roboto-light-ver-389C232EB5C2AA96FC3B71B6EA8695A0.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}