/* General styles */

html,
body {
    height: 100%;
}

html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font: 13px/1.6 'Open Sans', sans-serif;
    margin: 0;
    color: #333;
    background: #fff;
}

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

a {
    color: inherit;
}

input,
textarea,
select {
    font: inherit;
}

:focus {
    outline: 0;
}

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

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

/* Common styles */

.page-title {
    font-size: 36px;
    font-weight: bold;
    text-transform: uppercase;
    height: 100px;
    line-height: 100px;
    color: #fff;
    background: #ce4141;
}

.page-title > div {
    width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
}

@media (max-width: 1320px) {

    .page-title > div {
        width: 100%;
        margin: 0;
        padding: 0 20px;
    }
}

/* Default description style */

.default-description p,
.default-description ul,
.default-description ol,
.default-description li {
    margin: 1em 0;
}

.default-description ul,
.default-description ol {
    margin-left: 3em;
}

.default-description a {
    color: #ce4141;
    text-decoration: none;
}

.default-description a:hover {
    color: #f25c5c;
    text-decoration: underline;
}

/* Default slider style */

/* Numeric controls */

.default-slider .numericControls {
    display: block;
    list-style: none;
    margin: 0 auto;
    padding: 20px 0 0 0;
    text-align: center;
}

.default-slider .numericControls li {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.default-slider .numericControls :not(:last-child) {
    margin-right: 10px;
}

.default-slider .numericControls a {
    display: block;
    position: relative;
    width: 26px;
    height: 26px;
    border: 5px solid #3b3b3b;
}

.default-slider .numericControls a:hover:before,
.default-slider .numericControls .current a:before {
    content: '';
    position: absolute;
    left: 4px;
    top: 4px;
    width: 8px;
    height: 8px;
    background: #ce4141;
}

.default-slider .numericControls .current a {
    border-color: #ce4141;
}

.default-slider .numericControls a > span {
    display: none;
}

/* Prev/next controls */

.default-slider .controls {
    display: block;
    margin: 0 auto;
    padding: 20px 0 0 0;
    text-align: center;
}

.default-slider .controls .prevBtn,
.default-slider .controls .nextBtn {
    display: inline-block;
    width: 45px;
    height: 45px;
    background: #3b3b3b center no-repeat;
}

.default-slider .controls .prevBtn:hover,
.default-slider .controls .nextBtn:hover {
    background-color: #ce4141;
}

.default-slider .controls .prevBtn {
    margin-right: 5px;
    background-image: url('../images/slider-prev-ver-126636AC073063B756B52CD291EE9C53.png');
}

.default-slider .controls .prevBtn:hover {
    background-image: url('../images/slider-prev-hover-ver-C247B81CFDCD8D9C09D8F29ECE3711CD.png');
}

.default-slider .controls .nextBtn {
    margin-left: 5px;
    background-image: url('../images/slider-next-ver-EE2ED33A34B93A3E47EBAA6A9F7B8A96.png');
}

.default-slider .controls .nextBtn:hover {
    background-image: url('../images/slider-next-hover-ver-379425E22DF538069CE0FBC027017CF1.png');
}

/* Form components */

.primary-button {
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    height: 35px;
    padding: 0 15px;
    border: 0;
    border-radius: 2px;
    cursor: pointer;
    vertical-align: middle;
}

a.primary-button {
    display: inline-block;
    line-height: 35px;
    text-align: center;
    text-decoration: none;
}

.primary-button {
    color: #fff;
    background: #ce4141;
}

.primary-button:hover {
    background: #f25c5c;
}

input[type='text'],
input[type='email'],
input[type='tel'],
input[type='password'],
select,
textarea {
    color: #848484;
    border: 1px solid #494949;
    border-radius: 2px;
    background: #414141;
}

input[type='text'],
input[type='email'],
input[type='tel'],
input[type='password'],
select {
    height: 50px;
}

input[type='text'],
input[type='email'],
input[type='tel'],
input[type='password'],
select {
    padding: 0 20px;
    line-height: 50px;
}

textarea {
    height: 125px;
    padding: 15px 20px;
    resize: none;
}

input[type='checkbox'] {
    width: 25px;
    height: 25px;
    margin: 0;
    padding: 0;
}

input[type='text']:focus,
input[type='email']:focus,
input[type='tel']:focus,
input[type='password']:focus,
select:focus,
textarea:focus {
    border-color: #ce4141;
}

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

::-webkit-input-placeholder {
    color: #848484;
    opacity: 1;
}

:-moz-placeholder {
    color: #848484;
    opacity: 1;
}

::-moz-placeholder {
    color: #848484;
    opacity: 1;
}

:-ms-input-placeholder {
    color: #848484;
    opacity: 1;
}

/* Form component */

/* One line layout */

.form-component {
    margin-top: 20px;
}

.form-component > label {
    display: table;
    table-layout: fixed;
    width: 100%;
}

.form-component > label > .form-component-title {
    display: table-cell;
    vertical-align: middle;
    width: 60px;
    padding-right: 10px;
    word-wrap: break-word;
}

.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 {
    width: 100%;
    display: block;
}

/* Two lines layout */

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

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

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

/* Buttons panel */

.buttons-panel {
    position: relative;
    margin-top: 15px;
    text-align: center;
}

.buttons-panel > div > * {
    display: inline-block;
    margin-left: 10px;
}

.buttons-panel > div > :first-child {
    margin-left: 0;
}

.buttons-panel .wicket-ajax-indicator {
    position: absolute;
    left: 0;
    top: 4px;
}

/* 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 {
    outline: 1px dotted #f25c5c;
    outline-offset: -4px;
}

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

/* Message box of error pages */

.error-view {
    margin-top: 10px;
}

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

.error-description {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 20px;
}

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

.stack-trace-view pre {
    word-wrap: break-word;
    margin: 20px;
    overflow: auto;
}

/* Checkbox form component */

.checkbox-view {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.checkbox-view > input {
    opacity: 0;
    width: 20px;
    height: 20px;
    position: absolute;
}

.checkbox-view > label > .checker {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 1px solid #9e9e9e;
    border-radius: 2px;
    background: #fff;
    transition: 0.1s border, 0.1s background-color, 0.1s box-shadow;
}

.checkbox-view > label > span {
    vertical-align: top;
    line-height: 20px;
    margin-left: 5px;
}

.checkbox-view > input + label > .checker:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: url('../images/check-ver-9DF562239203B49A4E0BE35D478534E6.svg') 1px center no-repeat;
    background-size: 16px 16px;
    opacity: 0;
    transition: 0.1s opacity;
}

.checkbox-view > input:checked + label > .checker {
    border-color: #f44336;
    background: #f44336;
}

.checkbox-view > input:checked + label > .checker:before {
    opacity: 1;
}

.checkbox-view > input:disabled + label > .checker {
    background-color: #9e9e9e;
    opacity: 0.8;
}

/* Recaptcha */

.recaptcha-message {
    font-size: 13px;
    color: #9e9e9e;
    margin: 10px 0 20px;
}

.recaptcha-message > a {
    color: #e57373;
    text-decoration: none;
}

.recaptcha-message > a:hover {
    text-decoration: underline;
}

/* Qtip */

div.qtip-alee {
    color: #848484;
    border: 2px solid #494949;
    background: #414141;
    font-size: 11px;
    border-radius: 2px;
    padding: 4px 8px;
    margin: 0 4px;
}

/* Fonts */

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/opensans-regular-ver-BE7E652431520972750263E989FFD611.woff2') format('woff2'),
    url('../fonts/opensans-regular-ver-6C540905269FF9824C52D4815E513352.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/opensans-italic-ver-055D4D42BEF86CE68CF6BD8F84C8F61F.woff2') format('woff2'),
    url('../fonts/opensans-italic-ver-765A399AFC36AC022E1157C71E8C3B81.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/opensans-bold-ver-44B093E4A7C85816D2F1FAF2B9ACCBD7.woff2') format('woff2'),
    url('../fonts/opensans-bold-ver-AD6F6488C04E844BCC29201A03161049.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/opensans-bolditalic-ver-B1F57A3531F2BA495AF1088838228778.woff2') format('woff2'),
    url('../fonts/opensans-bolditalic-ver-14812DCE6B5A89862D4439E5BB94F2BC.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Open Sans Condensed';
    src: url('../fonts/opensans-condlight-ver-E49686842021B40B0A622F5076F1DC0D.woff2') format('woff2'),
    url('../fonts/opensans-condlight-ver-BB44137DFB674525D2CE099FB4EB46A3.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans Condensed';
    src: url('../fonts/opensans-condbold-ver-4E7091A5163A9BAF033D09B44BCF4A43.woff2') format('woff2'),
    url('../fonts/opensans-condbold-ver-32242D8F7A60FB6094B6118BB36D2DCC.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}