/*!
 * (c) Disney.  All rights reserved.
 */
/**************************************************
 * FileName - screen.main.css
 * Package - My Magic+ responsive
 *
 * $Author: leemike $
 * $Revision: #13 $
 * $Change: 1576920 $
 * $Date: 2015/05/25 $
 **************************************************/

/*----------------------------------------------------------------------------------------------------------------------
 Special Offers Table
 ---------------------------------------------------------------------------------------------------------------------*/
.specialOffers #offer-table,
.specialOffers #offer-table .responsive-table {
    border-radius: 12px;
    border: 1px solid #CDCDCD;
    box-shadow: 0 2px 2px rgba(0,0,0,0.2);
    width: 100%;
    margin-bottom: 20px;
}

.specialOffers #offer-table {
    overflow: hidden;
}

.specialOffers #offer-table.responsive {
    overflow: visible;
}

.specialOffers #offer-table .responsive-table .uiToolTip .uiToolTipBox {
    display: none;
}

.specialOffers #offer-table .uiToolTipContent {
    overflow-y: auto;
    width: 100%;
}

.specialOffers #offer-table table {
    border-collapse: separate;
    margin-bottom: 0;
    width: 100.1%;     /* This is to fix a rounding error that we can't prevent due to gridset */
}

.specialOffers #offer-table tbody:first-child {
    border-top: none;
}

.specialOffers #offer-table .row.rowWithSubRows .col:first-child {
    padding-left: 40px;
    position: relative;
}

.specialOffers #offer-table .subrowExpander {
    margin-left: -40px;
}


.specialOffers #offer-table th {
    background-image: linear-gradient(top, #BDDBEF, #A7CEE7);
    background-color: #A7CEE7; /* Solid-color fallback  */
    border-left: 2px solid #E7F3FC;
    font-weight: normal;
    text-align: center;
    line-height: 20px;
    vertical-align: middle;
    padding: 10px;
    font-size: 18px;
}

.specialOffers #offer-table .header th:first-child {
    border-left: none;
}

.specialOffers #offer-table .subrow .col:first-child {
    padding-left: 40px;
}

.specialOffers #offer-table .subrow .col:first-child:before {
    content: "\2022";
    margin-left: -10px;
}

.specialOffers #offer-table .subrow .col:first-child .cellWrapper {
    display: block;
    margin-top: -21px;
    margin-left: 2px;
}

.specialOffers #offer-table .subrow .col {
    padding-top: 0;
    padding-bottom: 0;
}

#offer-table .row .col {
    border-top: 1px solid #C6D5E1;
}

.specialOffers #offer-table .expanded .subrow .col {
    border-top: none;
}

.specialOffers #offer-table .subrow:last-child .col {
    padding-bottom: 10px;
}

/** Styles for displaying/animating subrows **/
.specialOffers #offer-table .expanded .subrow,
.specialOffers #offer-table .placeholder .wrap .subrow {
    display: table-row;
}

/* Hide the subrows by default, and when the animation is running */
.specialOffers #offer-table .subrow,
.specialOffers #offer-table .anim .subrow {
    display: none;
}

.specialOffers #offer-table .expanded,
.specialOffers #offer-table .anim {
    background-color: #ECF7FD;
}

.specialOffers #offer-table .placeholder,
.specialOffers #offer-table .placeholder > td {
    border: none;
    padding: 0;
}

/* Element that gets animated for expand effect */
.specialOffers #offer-table .placeholder .wrap {
    height: 0;
    overflow: hidden;
}

.specialOffers #offer-table .col {
    padding: 10px 5px;
    text-align: left;
    vertical-align: middle;
}

.specialOffers #offer-table .col .cellWrapper {
    display: inline-block;
    position: relative;
    line-height: 18px;
}

.specialOffers #offer-table .row .col.center {
    text-align: center;
}

.specialOffers #offer-table.room-offer tr[class="row"] .col:first-child .content,
.specialOffers #offer-table.package-offer tr[class="row"] .col:first-child .content {
    padding-left: 36px;
}

.specialOffers #offer-table .col .uiToolTip {
    display: inline-block;
    vertical-align: top;
    margin: 0 0 0 -4%;
    white-space: normal;
}

.specialOffers #offer-table .col > .content {
    padding: 7px 0;
}

.specialOffers #offer-table .subcol .price + .content {
    text-align: right;
}

.specialOffers #offer-table .col div > span {
    font-size: 0.8em;
    display: block;
}

.specialOffers #offer-table .content {
    font-size: 14px;
}

.specialOffers #offer-table .largeText {
    font-size: 20px;
    font-weight: bold;
}

.specialOffers #offer-table .uiToolTipModal {
    background-color: #FFF;
    overflow-y: auto;
    position: fixed;
    text-align: center;
    top: 0;
    left: 0;
    width:100%;
    height:100%;
    overflow-x: hidden;
    padding: 0;
    z-index: 1002;
}

.specialOffers #offer-table .row.subrow .price .price .priceSections .integer {
    font-size: 24px;
    padding: 4px;
}

.specialOffers #offer-table .row.subrow .smallPrice .price .priceSections .integer {
    font-size: 16px;
}

.specialOffers #offer-table .smallText,
.specialOffers #offer-table .smallText .bold {
    font-size: 11px;
    line-height: 14px;
}

.specialOffers #offer-table .smallText .bold,
.specialOffers #offer-table .smallPrice .price .priceSections,
.specialOffers #offer-table .smallPrice .price .priceSections .decimal,
.specialOffers #offer-table .smallPrice .price .priceSections .currency {
    font-weight: bold;
}

.specialOffers #offer-table .cellWrapper .smallText,
.specialOffers #offer-table .row.subrow .price .price .priceSections {
    font-weight: normal;
}
.specialOffers #offer-table .smallPrice .price {
    margin: 0 0 -12%;
}

.specialOffers #offer-table .smallPrice .price .priceSections {
    font-size: 18px;
    line-height: 1.2;
}

.specialOffers #offer-table .smallPrice .price .priceSections span {
    line-height: 1;
    vertical-align: top;
}

.specialOffers #offer-table .smallPrice .price .priceSections .decimalAndCurrency {
    display: none;
    text-align: left;
    padding-top: 2px;
}

.specialOffers #offer-table .smallPrice .price .priceSections .decimal,
.specialOffers #offer-table .smallPrice .price .priceSections .currency {
    display: block;
}

.specialOffers #offer-table .smallPrice .price .priceSections .integer {
    font-size: 18px;
}

/* Gradient column/subcolumn separator */
.cssgradients .specialOffers #offer-table.tickets-offer .col,
.cssgradients .specialOffers #offer-table .subcol {
    background-image: linear-gradient(top, rgba(255, 255, 255, 0), #DFDFDF 15%, #DFDFDF 85%, rgba(255, 255, 255, 0));
    background-size: 1px 100%;
    background-repeat: no-repeat;
    background-position: left ;
}

.no-cssgradients .specialOffers #offer-table .col,
.no-cssgradients .specialOffers #offer-table .subcol {
    border-left: solid 1px #DFDFDF;
    margin-top: 10px;
}

.specialOffers #offer-table .col:first-child,
.specialOffers #offer-table .subcol:first-child {
    background-image: none;
    border-left: none;
}

.specialOffers #offer-table .col.columnWithSubColumns {
    white-space: nowrap;
}

.specialOffers #offer-table .col .subcol {
    display: inline-block;
    padding: 1px 10px;
}

.specialOffers #offer-table .price {
    white-space: nowrap;
    margin: 0;
    text-align: center;
}

.specialOffers #offer-table .price .price .priceSections span {
    line-height: 1;
    vertical-align: top;
}

.specialOffers #offer-table .price .price .priceSections .integer {
    font-size: 27px;
    margin-left: -4%;
}

.specialOffers #offer-table .price .price .priceSections .symbol {
    font-size: 17px;
    line-height: 1.2;
}

.specialOffers #offer-table .price .price .priceSections .decimalAndCurrency {
    display: inline-block;
    text-align: left;
    padding-top: 2px;
}

.specialOffers #offer-table .price .price .priceSections .decimal,
.specialOffers #offer-table .price .price .priceSections .currency {
    display: block;
}

.specialOffers #offer-table .price .price .priceSections .decimal {
    font-size: 10px;
}

.specialOffers #offer-table .price .price .priceSections .currency {
    vertical-align: bottom;
    font-weight: normal;
    font-size: 10px;
}

/* Setup the justification of the columns based on the offer type */
.specialOffers #offer-table.tickets-offer .col {
    text-align: center;
}

.specialOffers #offer-table.package-offer .col,
.specialOffers #offer-table.room-offer .col {
    text-align: left;
}

.specialOffers #offer-table.package-offer .rowWithSubRows .subrowExpander,
.specialOffers #offer-table.room-offer .rowWithSubRows .subrowExpander {
    width: 0;
    height: 0;
    margin-top: -10px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    display: inline-block;
    border-left: 8px solid;
    position: absolute;
    top: 50%;
    left: 18px;

    /* Animation effects */
    transition: transform 0.5s;

    cursor: pointer;
}

/* Display mouse pointer for the first row on hover */
.specialOffers #offer-table .rowWithSubRows {
    cursor: pointer;
}

/* Color change when hovering over the first row */
.specialOffers #offer-table.package-offer .rowWithSubRows:hover,
.specialOffers #offer-table.room-offer .rowWithSubRows:hover {
    color: #0079BC;
}

/* Animate the arrow with a transform when expanding. */
.specialOffers #offer-table.package-offer .expanded .subrowExpander,
.specialOffers #offer-table.room-offer .expanded .subrowExpander {
    transform: rotate(90deg);
}

/* Display a down arrow for an expanded item on the table for browsers that do NOT support transforms. */
.no-csstransforms .specialOffers #offer-table.package-offer .expanded .rowWithSubRows .subrowExpander,
.no-csstransforms .specialOffers #offer-table.room-offer .expanded .rowWithSubRows .subrowExpander {
    width: 0;
    height: 0;
    border-top: 8px solid;
    border-left: 8px solid transparent;
    display: inline-block;
    border-right: 8px solid transparent;
    position: absolute;
    top: 39%;
    left: 8%;
}


.specialOffers #offer-table {
    position: relative;
    left: 50%;
    margin-left: -25%;
}

/*----------------------------------------------------------------------------------------------------------------------
 Fixes
 ---------------------------------------------------------------------------------------------------------------------*/
.pepGlobalFooter .drcCta .subtitle {
    margin-bottom: 20px;
}

.pepGlobalFooter .drcCta {
    padding-top: 10px;
}

.uLayout.standardContentContainer {
    margin-top: 40px;
}

#globalNavBreadcrumbs .accessibleText {
    height: 17px;
    position: inherit;
    width: 17px;
}

/**
 * Listing Page Styles
 */
.customListing .descriptionLines {
    width: auto;
}

.customListing #totalCount {
    float: left;
    margin-left: 20px;
}

.customListing #finderListMeta {
    font-size: 28px;
    font-weight: lighter;
    margin-top: 0;
    padding-top: 20px;
}

.customListing #finderDesktopFacets {
    height: auto;
    padding: 20px;
}

.customListing #finderDesktopFacets ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.customListing #finderDesktopFacets ul li {
    display: inline-block;
    width: 24%;
}

.customListing .pepLightCheckbox label {
    font-size: 12px;
}

.customListing .cardName p {
    margin: 0;
}

.customListing .pepLightCheckbox label:before {
    margin-right: 10px;
}

.customListing .itemInfo .descriptionLines > span {
    line-height: 20px;
}

/**
 * Listing page mobile styles
 */
.customListing.isMobile #finderListMetaForms {
    padding: 10px 0;
}

.customListing.isMobile .descriptionLines {
    margin-top: 10px;
}

.customListing.isMobile .card .cardLinkContainer {
    width: 100%;
}

.customListing.isMobile .card .itemInfo {
    vertical-align: middle;
}

.customListing.isMobile .uLayout.standardContentContainer.uiPlus {
    padding: 0;
}

.customListing.isMobile .card .hasLink:hover .descriptionLines {
    color: #0079BC;
}

.customListing.isMobile #finderListMetaForms .mobileButton {
    padding: 0 10px;
    float: right;
    margin: 0 15px 0 0;
}

.customListing.isMobile .card .cardName {
    line-height: 20px;
}
.customListing #facetsAndResultsContainer {
    position: relative;
}

.customListing #facetsAndResultsContainer .hideShowContainer:hover,
.customListing #facetsAndResultsContainer .hideShowContainer:focus {
    color: #0079BC;
    cursor: pointer;
}

.customListing #facetsAndResultsContainer .facetText:before {
    font-family: "pepmdx";
    content: "\e315";
    display: inline-block;
    font-size: 18px;
    vertical-align: middle;
}

.customListing #facetsAndResultsContainer .facetText {
    font-weight: bold;
    padding-right: 17px;
    font-size: 13px;
    vertical-align: middle;
}

.customListing #facetsAndResultsContainer #facetButtons {
    position: absolute;
    bottom: 0;
    right: 0;
}

.customListing #facetsAndResultsContainer .desktopSelectedFilters {
    float: right;
    margin: 0 5px;
    line-height: 40px;
}
.customListing #facetsAndResultsContainer .hideShowContainer {
    line-height: 38px;
}
.customListing #facetsAndResultsContainer .hideShowContainer:before {
    margin-top: 6px;
}
