/*
 * Green Lima - inner pages (legal texts, Libro de Reclamaciones, booking). R2.1.
 * Reuses the look of the home page: same banner image, same title corners, same field and button style as #contactForm,
 * but without depending on that id (see docs/R2-legal-reclamaciones-terminos.md, "Guía visual").
 */

/* Short banner strip with the page title in white */
#page-banner {
    background: url(../img/bg.png);
    background-size: cover;
    padding-top: 150px;
    position: relative;
}
#page-banner .title-box {
    margin-bottom: 0;
    padding: 30px 0 40px 0;
}
#page-banner .block-title {
    color: #fff;
    font-size: 3em;
}
#page-banner .block-title span {
    border-color: #fff;
}
@media all and (max-width: 768px) {
    #page-banner { padding-top: 80px; }
    #page-banner .block-title { font-size: 2em; padding: 0 25px; }
}

/* Reading layout for the legal texts */
.gl-legal { padding: 50px 0 30px 0; background: #fff; }
.gl-legal .gl-meta { color: #666; font-size: 14px; margin-bottom: 25px; }
.gl-legal h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.6em;
    margin: 35px 0 12px 0;
    padding-bottom: 6px;
    border-bottom: 1px solid #6fb64f;
    color: #222;
}
.gl-legal p, .gl-legal li { font-size: 16px; line-height: 1.7; color: #222; }
.gl-legal ul { padding-left: 22px; }
.gl-legal a { color: #039c33; text-decoration: underline; }
.gl-toc {
    background: #f6f6f6;
    border-left: 4px solid #6fb64f;
    padding: 15px 25px;
    margin-bottom: 20px;
}
.gl-toc strong { font-family: 'Roboto Condensed', sans-serif; font-size: 1.2em; }
.gl-toc ol { margin: 8px 0 0 0; padding-left: 20px; columns: 2; }
.gl-toc li { font-size: 15px; }
@media all and (max-width: 768px) { .gl-toc ol { columns: 1; } }

/* Reusable form: the fields and button of #contactForm, for any form */
.gl-form fieldset { border: 0; margin: 0 0 30px 0; padding: 0; min-width: 0; }
.gl-form legend {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.5em;
    color: #222;
    border-bottom: 1px solid #6fb64f;
    padding-bottom: 6px;
    margin-bottom: 20px;
}
.gl-form label { font-family: 'Oxygen', sans-serif; font-size: 16px; font-weight: 400; color: #222; }
.gl-form .req { color: #039c33; }
.gl-form .form-control,
.gl-form input[type=text], .gl-form input[type=email], .gl-form input[type=tel], .gl-form input[type=number], .gl-form select, .gl-form textarea {
    border-radius: 0;
    box-shadow: none;
    border: 2px solid #C2C2C2;
    font-size: 18px;
    padding: 20px;
    height: auto;
}
.gl-form select.form-control { padding: 14px 20px; height: 58px; }
.gl-form .form-control:hover, .gl-form .form-control:focus,
.gl-form input:hover, .gl-form input:focus, .gl-form select:hover, .gl-form select:focus, .gl-form textarea:hover, .gl-form textarea:focus {
    border: 2px solid #00ceb8;
    box-shadow: none;
}
.gl-form textarea.form-control { min-height: 160px; }
.gl-form .form-group { margin-bottom: 20px; }
.gl-form .has-error .form-control { border-color: #c0392b; }
.gl-form .field-error { color: #c0392b; font-size: 14px; margin-top: 4px; }
.gl-form .checkbox label, .gl-form .radio label { padding-left: 0; }
.gl-form .checkbox input[type=checkbox] { position: static; margin: 0 8px 0 0; width: auto; padding: 0; }
.gl-submit {
    display: block;
    margin: 20px auto 0 auto;
    width: 260px;
    background: #fff;
    color: #00ceb8;
    border: 2px solid #00ceb8;
    font-size: 20px;
    padding: 12px 0;
    text-transform: uppercase;
}
.gl-submit:hover, .gl-submit:focus { background: #00ceb8; color: #fff; }
.gl-notice { background: #f6f6f6; border: 1px solid #ddd; padding: 15px 20px; font-size: 14px; color: #444; margin-top: 30px; }
.gl-notice p { font-size: 14px; margin: 0 0 6px 0; }
.gl-readonly { background: #f6f6f6; }

/* Printing the claim receipt: only the sheet */
@media print {
    #preloader, #sidebar-wrapper, #header, #page-banner, #footer, .wsp-icon, .no-print { display: none !important; }
    .gl-legal { padding: 0; }
    body { background: #fff; }
}

/* booking form (R3.1) */
.gl-booking .vehicle-card { display: block; border: 2px solid #ddd; border-radius: 6px; padding: 10px; text-align: center; cursor: pointer; margin-bottom: 15px; font-weight: normal; }
.gl-booking .vehicle-card input { position: absolute; opacity: 0; }
.gl-booking .vehicle-card img { width: 100%; height: auto; border-radius: 4px; margin-bottom: 8px; }
.gl-booking .vehicle-card strong, .gl-booking .vehicle-card .cap, .gl-booking .vehicle-card .price { display: block; }
.gl-booking .vehicle-card .cap { font-size: 13px; color: #666; }
.gl-booking .vehicle-card .price { font-weight: bold; color: green; margin-top: 4px; }
.gl-booking .vehicle-card.selected, .gl-booking .vehicle-card:focus-within { border-color: green; box-shadow: 0 0 0 2px rgba(0,128,0,.25); }
.gl-booking .booking-total { font-size: 20px; margin: 15px 0 5px; }
.gl-booking .booking-total strong { color: green; }
.gl-booking .booking-includes, .gl-booking .booking-alt { color: #666; }
.gl-booking .gl-summary th { width: 35%; }
.gl-booking .gl-summary tr.total td { font-size: 18px; color: green; }
