/* ==========================================================================
   Parent theme rules (#259) for the pages that no longer load the parent
   theme CSS (escortwp/style.css, css/responsive.css, responsive-isphone.css):
   the homepage layout, and the listing, profile and sign-up pages. Loaded first, where
   escortwp/style.css used to be, so every child rule still beats these.
   The reset is wrapped in :where() so it stays at zero specificity.
   The phone header rules are in style.css 16 (shared), in its 960px block.
   ========================================================================== */

:where(html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td) {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    vertical-align: baseline;
}

[class^="icon-"]::before,
[class*=" icon-"]::before {
    speak: none;
    display: inline-block;
    width: 1em;
    margin-right: 0.2em;
    margin-left: 0.2em;
    text-align: center;
    line-height: 1em;
}

.rad3 {
    border-radius: 3px;
}

.header-top-bar .logo img {
    font-size: var(--fs-md);
}

.header-top-bar .subnav-menu-wrapper {
    min-height: 3.5em;
}

.header-top-bar .subnav-menu li {
    line-height: 2.2em;
    vertical-align: middle;
}

.header-top-bar .subnav-menu li.subnav-menu-icon a {
    font-size: calc(var(--fs-base) * 1.5);
    text-align: center;
}

.header-top-bar .subnav-menu li.subnav-menu-icon a span {
    line-height: 1.5em;
}

.girl {
    overflow: hidden;
    position: relative;
}

.girl .thumb,
.girl .thumb .thumbwrapper {
    position: relative;
}

.girl .thumb .thumbwrapper a {
    line-height: 0;
}

.girl .thumb a {
    float: left;
    position: relative;
}

.girl .model-info {
    line-height: 1.5em;
}

.girl .thumb .thumbwrapper .label {
    font-weight: bold;
    float: right;
    margin-top: 2px;
}

.footer .widgetbox {
    color: var(--black);
}

.tosdisclaimer-wrapper {
    text-align: center;
}

.tosdisclaimer {
    color: var(--white);
    max-height: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow: auto;
}

.tosdisclaimer .disclaimer-logo {
    padding-top: 10px;
}

/* Phones and tablets reset this in the age modal's own 768px block. */
@media (min-width: 769px) {
    .tosdisclaimer .tosdisclaimerbuttons .entertosdisclaimer {
        margin-right: 30px;
    }
}

.tosdisclaimer .tosdisclaimerbuttons .entertosdisclaimer,
.tosdisclaimer .tosdisclaimerbuttons .closetosdisclaimer {
    font-size: calc(var(--fs-base) * 1.2);
}

/* --------------------------------------------------------------------------
   Listing pages (taxonomy.php, template-ae-category.php). Only the
   properties those pages still took from the parent, with the parent's
   values. Values with no exact token carry lint-ok: they are copies, not
   new design values. The parent responsive.css rules printed after the
   child CSS, so their copies are at the end of css/pages/listing.css.
   :where(.ae-listing) (body class, ae_is_listing_layout()) keeps them off
   the homepage layout (front page, search, author, date views) without
   adding specificity. Rules the profile pages need too say
   :where(.ae-listing, .ae-profile).
   -------------------------------------------------------------------------- */
:where(.ae-listing, .ae-register) * {
    font-family: "Open Sans", "Helvetica Neue", "Trebuchet MS", Arial, sans-serif;
}

:where(.ae-listing, .ae-register) .bodybox {
    overflow: hidden;
}

:where(.ae-listing) .bodybox .taxonomy-description-box {
    padding: 20px 0; /* lint-ok */
}

:where(.ae-listing, .ae-register) .clear20 {
    clear: both;
    height: 20px;
}

:where(.ae-listing, .ae-profile, .ae-register) .center {
    margin: 0 auto;
    text-align: center;
    display: inline-block;
}

:where(.ae-listing, .ae-register) .sidebar-left,
:where(.ae-listing, .ae-register) .sidebar-right {
    width: 250px;
    word-wrap: break-word;
    overflow: hidden;
}

:where(.ae-listing, .ae-register) .sidebar-left {
    margin-left: -100%;
}

/* Form fields: the filter panel's labels, selects and tick boxes, and (the
   first four rules) the profile's enquiry and report forms. */
:where(.ae-listing, .ae-profile, .ae-register) .form-styling .form-label {
    width: 34%;
}

:where(.ae-listing, .ae-profile, .ae-register) .form-styling .form-input {
    width: 64%;
}

:where(.ae-listing, .ae-profile, .ae-register) .form-styling .form-label label {
    display: block;
    line-height: 40px;
}

:where(.ae-listing, .ae-profile, .ae-register) .form-styling .form-input .input,
:where(.ae-listing, .ae-profile, .ae-register) .form-styling .form-input .textarea,
:where(.ae-listing, .ae-profile, .ae-register) .form-styling .form-input select,
:where(.ae-listing, .ae-profile, .ae-register) .ui-datepicker select {
    max-width: 100%;
    color: #2c3e50; /* lint-ok */
}

:where(.ae-listing, .ae-register) .form-styling .form-input select {
    padding: var(--space-2);
    cursor: pointer;
}

:where(.ae-listing, .ae-register) .form-styling .form-input select option {
    font-family: "Open Sans", "Helvetica Neue", "Trebuchet MS", Arial, sans-serif;
    padding: 0 var(--space-2);
}

:where(.ae-listing, .ae-register) .form-styling .form-input select option:disabled {
    color: #bcbcbc; /* lint-ok */
    background: #f4f4f4; /* lint-ok */
}

:where(.ae-listing, .ae-register) .form-styling .form-input label,
:where(.ae-listing, .ae-register) .form-styling .form-input input[type="radio"],
:where(.ae-listing, .ae-register) .form-styling .form-input input[type="checkbox"] {
    cursor: pointer;
}

:where(.ae-listing, .ae-register) input[type="radio"],
:where(.ae-listing, .ae-register) input[type="checkbox"] {
    margin-bottom: 0;
    width: 18px;
    height: 18px;
}

/* Tick boxes (checkator.jquery.js): the parent's pink box. #252's gold look
   covers account pages only; public listing pages keep this. */
:where(.ae-listing, .ae-register) .checkator_source {
    position: relative;
    z-index: 2; /* lint-ok */
    display: block;
}

:where(.ae-listing, .ae-register) .checkator_holder {
    display: inline-block;
    position: relative;
    vertical-align: sub;
}

:where(.ae-listing, .ae-register) .checkator_element {
    border: 2px solid #e37592; /* lint-ok */
    background-color: var(--white);
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: var(--z-base);
}

:where(.ae-listing, .ae-register) .checkator_element.checkbox {
    border-radius: 5px;
}

:where(.ae-listing, .ae-register) .checkator_source:hover + .checkator_element {
    border-color: #646ff0; /* lint-ok */
}

:where(.ae-listing, .ae-register) .checkator_holder.checkbox .checkator_source:checked + .checkator_element::before {
    content: "\e80e";
    font-family: "escortwp";
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    top: -1px;
    position: absolute;
    left: 0;
    font-size: 0.9em; /* lint-ok */
    color: #646ff0; /* lint-ok */
}

:where(.ae-listing) .escort-pagination {
    padding-top: 20px; /* lint-ok */
    padding-bottom: 10px; /* lint-ok */
    clear: both;
    text-align: center;
    line-height: 15px;
}

:where(.ae-listing) .escort-pagination li span.current {
    cursor: default;
}

/* --------------------------------------------------------------------------
   Profile pages (single-profile.php), logged out. As above: only the
   properties these pages still took from the parent, with its values; the
   copies carry lint-ok. The parent responsive.css rules are at the end of
   css/pages/profile.css. :where(.ae-profile) (body class,
   ae_is_profile_layout()) keeps them off every other page. Not copied: the
   right sidebar's quick search (select2, tick boxes), which logged-out
   visitors never see.
   -------------------------------------------------------------------------- */
:where(.ae-profile) a {
    cursor: pointer;
}

:where(.ae-profile, .ae-register) .hide {
    display: none;
}

:where(.ae-profile, .ae-register) .clear10 {
    clear: both;
    height: 10px;
}

:where(.ae-profile, .ae-register) .col100 {
    width: 100%;
}

:where(.ae-profile) .rad5 {
    border-radius: 5px; /* lint-ok */
}

:where(.ae-profile, .ae-register) .rad25 {
    border-radius: 25px; /* lint-ok */
}

:where(.ae-profile) .girlsingle {
    position: relative;
}

/* Notices: the review form's log-in prompt. */
:where(.ae-profile, .ae-register) .err,
:where(.ae-profile, .ae-register) .ok {
    text-align: center;
    font-weight: bold;
    line-height: 1.5em;
    margin: 10px 0; /* lint-ok */
    padding: 5px 2px; /* lint-ok */
}

:where(.ae-profile, .ae-register) .err {
    background-color: #cc0033; /* lint-ok */
}

:where(.ae-profile, .ae-register) .ok {
    background-color: #6da22e; /* lint-ok */
}

:where(.ae-profile, .ae-register) .err a,
:where(.ae-profile, .ae-register) .ok a {
    text-decoration: underline;
}

/* Buttons */
:where(.ae-profile) .pinkbutton,
:where(.ae-profile) .redbutton,
:where(.ae-profile) .greenbutton {
    padding: 5px 16px; /* lint-ok */
    cursor: pointer;
    border: none;
    font-weight: 600;
}

:where(.ae-profile) input.greenbutton,
:where(.ae-profile) button.greenbutton {
    font-size: 1em;
    line-height: 1.2em;
}

:where(.ae-profile) .closebtn {
    padding: 0 2px 0 7px; /* lint-ok */
    font-weight: bold;
}

:where(.ae-profile) .closebtn .label {
    line-height: 1.5em;
}

:where(.ae-profile) .closebtn .icon {
    line-height: 1.6em;
    float: right;
}

/* Enquiry and report forms */
:where(.ae-profile) .girlsingle .escortcontact {
    padding: 10px; /* lint-ok */
}

:where(.ae-profile, .ae-register) .form-styling .form-label.col100,
:where(.ae-profile, .ae-register) .form-styling .form-input.col100,
:where(.ae-profile, .ae-register) .form-styling .form-input .input.col100,
:where(.ae-profile, .ae-register) .form-styling .form-input .textarea.col100,
:where(.ae-profile, .ae-register) .form-styling .form-input select.col100 {
    width: 100%;
}

:where(.ae-profile, .ae-register) .form-styling .form-label label i,
:where(.ae-profile, .ae-register) .form-styling .mandatory i,
:where(.ae-profile, .ae-register) .form-styling .form-label small i,
:where(.ae-profile, .ae-register) .form-styling .form-input small i {
    color: red; /* lint-ok */
    font-style: normal;
}

:where(.ae-profile) .form-styling .form-input .input {
    height: 40px;
}

:where(.ae-profile) .form-styling .form-input .longinput {
    width: 85%;
}

:where(.ae-profile, .ae-register) .form-styling .formseparator {
    clear: both;
    height: 30px;
}

:where(.ae-profile) .report-profile-wrapper {
    width: 100%;
    clear: both;
    padding-top: 20px; /* lint-ok */
}

:where(.ae-profile) .report-profile-wrapper .report-profile-reason-wrapper {
    display: none;
    background: var(--white);
    padding: 10px; /* lint-ok */
    text-align: center;
}

:where(.ae-profile) .report-profile-wrapper .report-profile-reason-wrapper .report-profile-reason-form {
    padding: 15px; /* lint-ok */
    max-width: 500px;
    display: inline-block;
}

:where(.ae-profile) .report-profile-wrapper .report-profile-reason-wrapper .report-profile-reason-form label,
:where(.ae-profile) .report-profile-wrapper .report-profile-reason-wrapper .report-profile-reason-form .form-input {
    padding-bottom: 15px; /* lint-ok */
}

:where(.ae-profile) .report-profile-wrapper .report-profile-reason-wrapper .report-profile-reason-form .submit-button {
    font-size: 1.1em; /* lint-ok */
}

:where(.ae-profile) .report-profile-wrapper .report-profile-reason-wrapper .report-profile-reason-form .submit-button .icon {
    font-size: 0.9em; /* lint-ok */
}

/* While the report sends (JS adds .working). */
:where(.ae-profile) .report-profile-wrapper .report-profile-reason-wrapper .report-profile-reason-form .submit-button .label-working,
:where(.ae-profile) .report-profile-wrapper .report-profile-reason-wrapper .report-profile-reason-form .submit-button.working .label-normal {
    display: none;
}

:where(.ae-profile) .report-profile-wrapper .report-profile-reason-wrapper .report-profile-reason-form .submit-button.working {
    background: gray; /* lint-ok */
    cursor: default;
}

:where(.ae-profile) .report-profile-wrapper .report-profile-reason-wrapper .report-profile-reason-form .submit-button.working .label-working {
    display: inherit;
}

/* Tours */
:where(.ae-profile) .addedtours {
    border-top: 1px #7ca9c8 solid; /* lint-ok */
}

:where(.ae-profile) .addedtours .tour {
    border-bottom: 1px #7ca9c8 solid; /* lint-ok */
    float: left;
    display: block;
    width: 100%;
}

:where(.ae-profile) .addedtours .tour div {
    display: block;
    float: left;
    line-height: 30px;
    height: 30px;
    overflow: hidden;
}

:where(.ae-profile) .addedtours .tourhead {
    font-weight: bold;
}

:where(.ae-profile) .addedtours .tour .addedstart,
:where(.ae-profile) .addedtours .tour .addedend {
    width: 120px;
}

:where(.ae-profile) .addedtours .tour .addedplace {
    width: 240px;
}

:where(.ae-profile) .addedtours .tour .addedphone {
    width: 140px;
}

:where(.ae-profile) .addedtours .tour-info-mobile {
    display: none;
    padding-right: 5px; /* lint-ok */
    font-weight: bold;
}

:where(.ae-profile) .addedtours .tour-info-mobile-clear {
    display: none;
    clear: both;
}

/* Photo and video viewer (fancybox). The parent overrode the fancybox CSS,
   which prints after this file, with !important; these selectors outrank
   the fancybox ones instead. The padding also applies to photo slides,
   where fancybox itself sets 0, so the copy keeps that as it is on prod. */
.ae-profile .fancybox-slide > .fancybox-content {
    padding: 44px 5px; /* lint-ok */
}

.ae-profile .fancybox-container {
    z-index: 99999; /* lint-ok: the parent's value, just under the age gate */
}

/* Video lightbox and the "More escorts" cards */
:where(.ae-profile) .video-player-lightbox {
    height: 100%;
}

:where(.ae-profile) .girl .thumb,
:where(.ae-profile) .girl .thumb .thumbwrapper a,
:where(.ae-profile) .girl .model-info {
    width: 100%;
}

/* Hover frame: the child's .girl .thumb:hover sets only its colour (gold).
   The homepage and listing cards no longer get this frame. */
:where(.ae-profile) .girl .thumb:hover {
    border: 1px #e0006c solid; /* lint-ok */
}

/* --------------------------------------------------------------------------
   Sign-up pages (register-independent.php, register-member.php, and the
   main and agency sign-up templates), logged out. As above: only the
   properties these pages still took from the parent, with its values; the
   copies carry lint-ok. Rules they share with the listing and profile pages
   say :where(..., .ae-register) above. The parent responsive.css rules are
   at the end of css/pages/register.css. :where(.ae-register) (body class,
   ae_is_register_layout()) keeps them off every other page.
   -------------------------------------------------------------------------- */
:where(.ae-register) .clear5 {
    clear: both;
    height: 5px;
}

:where(.ae-register) .clear15 {
    clear: both;
    height: 15px;
}

:where(.ae-register) .clear30 {
    clear: both;
    height: 30px;
}

:where(.ae-register) .col30 {
    width: 30%;
}

:where(.ae-register) .col50 {
    width: 50%;
}

:where(.ae-register) .col60 {
    width: 60%;
}

:where(.ae-register) .bodybox.registerform .mandatory {
    text-align: center;
}

/* The radio dot (#252 colours it). */
:where(.ae-register) .checkator_holder.radio .checkator_source:checked + .checkator_element::after {
    border: 2px solid #646ff0; /* lint-ok */
    background-color: #646ff0; /* lint-ok */
    display: block;
    content: " ";
    top: 15%;
    right: 15%;
    bottom: 15%;
    left: 15%;
    position: absolute;
    border-radius: 50%;
}

/* Notices: the quick sign-up's error box. */
:where(.ae-register) .err,
:where(.ae-register) .ok {
    color: var(--white);
}

/* Sign-up form fields: hints, the about-you box, rates and height. */
:where(.ae-register) .form-styling .form-label small,
:where(.ae-register) .form-styling .form-input small {
    color: #999; /* lint-ok */
    display: block;
}

:where(.ae-register) .form-styling .form-label label.with-help {
    line-height: 1.4em;
}

:where(.ae-register) .form-styling .form-input .longtextarea {
    width: 100%;
    resize: vertical;
}

:where(.ae-register) .form-styling .form-input .smallinput {
    width: 100px;
}

:where(.ae-register) .form-styling .form-input .rates {
    padding-bottom: 10px; /* lint-ok */
    width: 100%;
}

:where(.ae-register) .form-styling .form-input .rates .rates-label {
    line-height: 40px;
    text-align: right;
    padding-right: 20px; /* lint-ok */
}

:where(.ae-register) .form-styling .form-input .rates .hide-incall,
:where(.ae-register) .form-styling .form-input .rates .hide-outcall {
    padding-right: 20px; /* lint-ok */
}

:where(.ae-register) .form-styling .form-input .currency-label-text {
    line-height: 40px;
    padding-right: 20px; /* lint-ok */
    box-sizing: border-box;
    text-align: right;
}

:where(.ae-register) .form-styling .form-input .currency-label-dropdown {
    padding-right: 20px; /* lint-ok */
    box-sizing: border-box;
}
