
body {
    background: #f6f6f6;
    min-width: 0px;
    overflow-x: hidden;
}

a {
    color: #1263ae;
    font-weight: bold;
    text-decoration: none;
}

.only_narrow {
    display: none;
}

.spacing {
    visibility: hidden;
}

.square_spacer {
    padding-top: 100%;
}

.half_spacer {
    padding-top: 50%;
}

#registry_header_background {
            background: transparent;
        background-size: cover;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
}

    #registry_header_background .overlay {
        display: none;
    }

#registry_header_background .color_overlay {
    background: #1263ae;
    height: 100%;
    left: 0;
    opacity: 0;-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter: alpha(opacity=0);-moz-opacity: 0;-khtml-opacity: 0;    position: absolute;
    top: 0;
    width: 100%;
}

.registry_header {
    color: white;
    overflow: hidden;
    padding: 0;
    position: relative;
    text-align: center;
}

.registry_header .logo {
    background: url('https://www.travelersjoy.com/images/logos/registry.png') center center no-repeat;
    background-color: rgba(0,0,0,0.5);
    background-size: 50px 55px;
    border-radius: 80px;-webkit-border-radius: 80px;-moz-border-radius: 80px;-o-border-radius: 80px;    display: inline-block;
    float: none;
    height: 80px;
    margin: 15px 20px 20px;
    width: 80px;
}

.registry_header .wedding_date {
    margin: 0 auto;
    max-width: 972px;
    overflow: auto;
    padding: 0;
    position: relative;
}

.registry_header .wedding_date .date_spacer {
    padding-top: 5%;
}

#content_wrapper {
    position: relative;
    width: 100%;
}

.member_photos_wrapper {
    position: relative;
}

.member_photos_wrapper .member_photos_bg {
    background: #f6f6f6;
    bottom: 0;
    height: 50%;
    left: 0;
    position: absolute;
    width: 100%;
}

.member_photos {
    background: white;
    border: 5px solid white;
    border-radius: 300px;-webkit-border-radius: 300px;-moz-border-radius: 300px;-o-border-radius: 300px;    display: block;
    margin: 0 auto;
    max-width: 300px;
    min-width: 150px;
    overflow: hidden;
    position: relative;
    width: 30%;
}

.member_photos .member_photo {
    background-size: cover;
    border-radius: 300px;-webkit-border-radius: 300px;-moz-border-radius: 300px;-o-border-radius: 300px;    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.member_photos .member_photo a {
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

#registry_content {
    background: #f6f6f6;
    color: #888;
    line-height: 1.6;
    margin: 0;
}

.section {
    margin: 0 auto;
    max-width: 972px;
    overflow: auto;
    padding: 1em 0 2em;
    position: relative;
}

#guest_message {
    font-size: 1.2rem;
    padding: 1em 1em 0;
}

#destination_block {
    padding: 1.5em 0 0;
}

#destination_block label {
    background: #5991c6;
    color: white;
    display: block;
    position: relative;
    width: 100%;
}

#destination_block label span {
    display: inline-block;
    font-size: 1.5rem;
    line-height: 1.3;
    max-width: 89%;
    padding: 0.5em;
}

#map_block {
    display: block;
    float: right;
    margin: 0 0 0.5em 1em;
    position: relative;
    width: 60%;
}

#map_block label {
    display: none;
}

#map_block:last-child {
    float: none;
    margin: 0;
    width: 100%;
}

#map_block:last-child label {
    display: block;
}

#map_block .gmap_inner_container_l,
#map_block .border_thick,
#map_block .gmap_interface
{
    height: 300px;
    width: 100%;
}

#destination_details {
    display: inline;
    font-size: 1.2em;
    padding: 0;
    width: 38%;
}

#destination_details label {
	margin-bottom: 1em;
    width: 40%;
}

#destination_details label .arrow {
    border: 0 solid transparent;
    border-left-color: #5991c6;
    content: ' ';
    height: 0;
    position: absolute;
    right: -1em;
    top: 0;
    width: 0;
}

#destination_details:first-child {
    display: block;
    padding: 0;
    width: 100%;
}

#destination_details:first-child label {
    width: 100%;
}

#destination_details:first-child label .arrow {
    display: none;
}

#section_nav {
    font-size: 1.3em;
    font-weight: bold;
    margin: 0 auto 0;
    min-height: 2.5em;
    overflow: visible;
    line-height: 1;
    padding: 2em 0 0;
}

#section_nav > * {
    vertical-align: middle;
}

#section_nav .show_all {
    cursor: pointer;
    display: none;
    font-size: 0.5em;
    text-decoration: underline;
}

#section_wrapper {
    display: inline-block;
    margin-right: 11em;
}

.section_toggle {
    background: #cfdfee;
    border: 1px solid #1263ae;
    border-radius: 2em;-webkit-border-radius: 2em;-moz-border-radius: 2em;-o-border-radius: 2em;    display: inline-block;
    font-size: 0.6em;
    font-weight: normal;
    height: 1.8em;
    line-height: 1.8em;
    margin: 0.2em 0;
    padding: 0 1em;
    white-space: nowrap;
}

.section_toggle.active {
    background: #1263ae !important;
    color: white;
}

.section_toggle:hover {
    background: #88b1d6;
    color: white;
    cursor: pointer;
}

#price_filter_wrapper {
    display: block;
    line-height: 0;
    position: absolute;
    right: 0;
    text-align: center;
    top: 2em;
}

#price_filter {
    display: inline-block;
    float: right;
    font-size: 0.7em;
    font-weight: normal;
    margin: 0.3em 0;
}

#price_filter li {
    background: #cfdfee;
    border: 1px solid #1263ae;
    border-right-width: 0;
    float: left;
    height: 2em;
    line-height: 2em;
    padding: 0 0.5em;
    vertical-align:middle;
}

#price_filter li:last-child {
    border-right-width: 1px;
    border-top-right-radius: 1em;-webkit-border-top-right-radius: 1em;-moz-border-radius-topright: 1em;    border-bottom-right-radius: 1em;-webkit-border-bottom-right-radius: 1em;-moz-border-radius-bottomright: 1em;}

#price_filter li:first-child {
    border-right-width: 1px;
    border-top-left-radius: 1em;-webkit-border-top-left-radius: 1em;-moz-border-radius-topleft: 1em;    border-bottom-left-radius: 1em;-webkit-border-bottom-left-radius: 1em;-moz-border-radius-bottomleft: 1em;}

#price_filter li.active {
    background: #1263ae !important;
    color: white;
}

#price_filter li:hover {
    background: #88b1d6;
    color: white;
    cursor: pointer;
}

#items {
    margin: 0 auto;
    max-width: 1004px;
    overflow: hidden;
    padding-bottom: 0;
    text-align: center;
}

#items:last-child {
    padding-bottom: 2em;
}

.item {
    background: white;
    display: inline-block;
    float: left;
    height: 240px;
    margin: 1em;
    position: relative;
    text-align: left;
    vertical-align: top;
    width: 470px;
}

.progressbar {
    background: #1263ae;
    height: 0.5em;
    left: 0;
    margin-top: -0.5em;
    position: absolute;
    top: 0;
    width: 0;
}

.item .item_image {
    background-position: center;
    background-size: cover;
    float: left;
    height: 240px;
    width: 240px;
}

.item .image_wrapper {
    position: relative;
}

.item .item_link {
    bottom: 3%;
    font-size: 1.9em;
    height: 1.6em;
    left: 3%;
    padding-top: 0;
}

.item .item_link .fa-external-link {
    position: relative;
    top: 3px;
}

.item_image .image_overlay {
    background-color: rgba(0,0,0,0.5);
    color: white;
    display: none;
    font-size: 3em;
    height: 100%;
    left: 0;
    position: absolute;
    text-align: center;
    top: 0;
    width: 100%;
}

.item_image .image_overlay > div {
    background: url('https://www.travelersjoy.com/images/registry/gift_selected.png') center top no-repeat;
    background-size: 100px 100px;
    margin-top: -81px;
    position: absolute;
    padding-top: 100px;
    top: 50%;
    width: 100%;
}

.item_image .image_overlay > div > div {
    height: 62px;
}

.item_image .image_overlay .instructions {
    display: block;
}

.item_image .image_overlay .instructions > div {
    display: inline-block;
    font-size: 0.5em;
    line-height: 1;
}

.item_image .image_overlay .instructions a {
    color: white;
    font-weight: bold;
    text-decoration: underline;
}

.item_image .image_overlay .item_total {
    display: none;
}

.item .item_info {
    height: 100%;
    margin-left: 240px;
}

.item .item_description {
    font-size: 0.75em;
    line-height: 1.3;
    padding: 1em;
}

.item .item_description .item_description_spacer {
    display: none;
}

.item .price_line {
    background: white;
    bottom: 3em;
    color: #606060;
    font-weight: bold;
    position: absolute;
    left: 240px;
    line-height: 1;
    right: 0;
    text-align: center;
}

.item .price_section {
    display: inline-block;
    padding: 0.5em;
}

.item .price_section label {
    display: block;
    font-size: 0.75em;
    margin-bottom: 2px;
}

.item .price_section span {
    font-size: 1.5em;
}

.cents {
    font-size: 0.5em !important;
    vertical-align: super !important;
}

.item .give_gift_button,
.item .item_select_wrapper,
.item .item_fulfilled_wrapper
{
    background: #1263ae;
    bottom: 0;
    color: white;
    display: block;
    height: 3rem;
    left: 240px;
    line-height: 3rem;
    position: absolute;
    right: 0;
    text-align: center;
}

.item .give_gift_button {
    cursor: pointer;
}

.item .give_gift_button:hover {
    background: #4182be;
}

.item .give_gift_button:before {
    border: 1.5em solid transparent;
    border-width: 1.5em 1em 1.5em 0;
    border-right-color: #1263ae;
    content: ' ';
    height: 0;
    position: absolute;
    left: -1em;
    top: 0;
    width: 0;
}

.item .give_gift_button:hover:before {
    border-right-color: #4182be;
}

.item .give_gift_button span,
.item .item_fulfilled_wrapper span
{
    font-size: 1.5em;
    font-weight: bold;
}

.item .item_select_wrapper {
    background: white;
    color: #606060;
    display: none;
    font-size: 1.3em;
    font-weight: bold;
}

.item .item_select_wrapper .give_list {
    font-size: 16px;
    vertical-align: middle;
}

.item .item_fulfilled_wrapper {
    background: white;
    color: #1263ae;
}

#general_item_block {
    background: white;
    border: 1px solid #1263ae;
    color: #1263ae;
    height: 100px;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
}

#general_image {
    height: 100px;
    left: 0;
    position: absolute;
    top: 0;
    vertical-align: top;
    width: 200px;
}

#general_description {
    height: 100%;
    margin: 0 240px 0 200px;
    position: relative;
}

#general_description div {
    font-size: 2.5em;
    line-height: 1;
    position: relative;
    top: 50%;
    transform: translateY(-50%);-webkit-transform: translateY(-50%);-moz-transform: translateY(-50%);-o-transform: translateY(-50%);    margin: 0 1em;
}

#general_amount_wrapper {
    border: 1px solid #1263ae;
    height: 60px;
    position: absolute;
    right: 20px;
    top: 20px;
    width: 200px;
}

#general_dollar {
    font-size: 50px;
    font-weight: bold;
    left: 0;
    position: absolute;
    text-align: center;
    top: -10px;
    width: 40px;
}

#general_item_amount {
    background: white;
    border: none;
    color: #1263ae;
    font-size: 2em;
    height: 100%;
    margin: 0 10px 0 40px;
    padding: 0;
    text-align: right;
    width: 150px;
}

#give_slidein {
    background: 1263ae;
    background: rgba(18, 99, 174, 0.8);
    /*border-top: 0.2em solid #1263ae;*/
    bottom: -0.2em;
    color: white;
    font-size: 2em;
    height: 3em;
    left: 0;
    line-height: 3em;
    margin-bottom: -3em;
    position: fixed;
    width: 100%;
    z-index: 100;
}

#give_slidein > div {
    text-align: center;
    vertical-align: middle;
}

#give_total_section {
    height: 2.5em;
    line-height: 2.5em;
}

#give_total_section .spacer {
    float: right;
    height: 1px;
    min-width: 9.5em;
    width: 40%;
}

#give_button_section {
    line-height: 2.7em;
    min-width: 9em;
    position: absolute;
    right: 0.5em;
    top: 0;
    width: 40%;
}

#give_slidein.open {
    margin-bottom: 0;
}

#give_slidein .total_display {
    font-size: 1.1em;
    font-weight: bold;
}

#give_slidein .give_button {
    background: white;
    color: #1263ae;
    cursor: pointer;
    display: inline-block;
    font-size: 0.5em;
    height: 3em;
    line-height: 3em;
    min-width: 18em;
    text-align: center;
    width: 90%;
}

#give_slidein .give_button .button
{
    font-size: 1.5em;
    font-weight: bold;
    min-width: 10em;
    padding: 0 1em;
}

.footer_wrapper {
    background: #dddddd;
}

.footer {
    border: none;
    font-size: 0.7em;
    line-height: 1.7;
    margin-bottom: 0;
    overflow: auto;
    padding: 1em 1em 3em;
}

.footer .disclaimer {
    margin-bottom: 1em;
}

.footer .links {
    float: left;
}

/* Member image popups */
.large_photo {
    position: relative;
}

.large_photo img {
    display: block;
}

.large_photo .caption {
    background: rgba(0,0,0,0.5);
    bottom: 0;
    color: white;
    font-size: 1.5em;
    font-weight: normal;
    left: 0;
    padding: 0.2em 0;
    position: absolute;
    text-align: center;
    width: 100%;
}

.inactive_content h1 {
    line-height: 1;
    margin-bottom: 1em;
}

.inactive_content .spacer {
    padding-top: 5%;
}

@media only screen and (max-width: 1100px) {
    #destination_block {
        padding: 1.5em 1em 0;
    }

    #destination_block label .arrow {
        display: none;
    }
    
    #map_block {
        display: block;
        float: none;
        margin: 0;
        width: 100%;
    }

    #map_block .gmap_inner_container_l,
    #map_block .border_thick,
    #map_block .gmap_interface
    {
        height: 215px;
    }
    
    #map_block:last-child {
        margin-top: 0;
    }
    
    #map_block label {
        display: block;
    }
    
    #destination_details {
        display: block;
        margin-top: 1em;
        padding: 0;
        width: auto !important;
    }
    
    #destination_details label {
        display: none;
    }
    
    #destination_details:first-child {
        margin-top: 3em;
    }
    
    #destination_details:first-child label {
        display: block;
    }
}

@media only screen and (max-width: 1024px) {
    #section_nav {
        margin: 0 1rem;
    }
    
    #items, #general_item_wrapper {
        max-width: 960px;
    }
    
    #general_item_block {
        margin: 0 1%;
    }

    .item {
        height: auto;
        margin: 1em 1%;
        max-width: 300px;
        width: 31.33%;
    }
    
    .item .item_image {
        display: block;
        float: none;
        height: auto;
        width: 100%;
    }

    .item .item_info {
        height: auto;
        margin: 0;
        width: 100%;
    }
    
    .item .item_description {
        position: relative;
    }
    
    .item .item_description .item_description_display {
        left: 0;
        margin: 1em;
        position: absolute;
        top: 0;
    }
    
    .item .item_description .item_description_spacer {
        display: block;
        visibility: hidden;
        word-wrap: break-word;
    }
    
    .item .price_line {
        position: static;
    }
    
    .item .give_gift_button,
    .item .item_select_wrapper,
    .item .item_fulfilled_wrapper
    {
        margin: 0.7rem;
        position: static;
    }
    
    .item .give_gift_button:before {
        display: none;
    }
}

@media only screen and (max-width: 970px) {
    #items, #general_item_wrapper {
        max-width: 625px;
    }
    
    #general_description div {
        font-size: 1.5em;
    }

    .item {
        width: 48%;
    }
}

@media only screen and (max-width: 678px) {
    .only_fullwidth {
        display: none;
    }
    
    .only_narrow {
        display: inherit;
    }
    
    #registry_content {
        margin: 0;
    }
    
    #guest_message {
        padding: 1em;
    }
    
    #destination_details {
        margin: 1em 0 0;
    }
}

@media only screen and (max-width: 620px) {
    #general_item_block {
        height: auto;
        margin: 0 auto;
        max-width: 300px;
        width: 80%;
    }

    #general_image {
        display: block;
        height: auto;
        position: relative;
        width: 100%;
    }
    
    #general_description {
        height: auto;
        margin: 1em;
    }

    #general_description div {
        display: block;
        text-align: center;
        top: 0;
        transform: none;-webkit-transform: none;-moz-transform: none;-o-transform: none;    }

    #general_amount_wrapper {
        margin: 1em auto;
        position: relative;
        right: 0;
        top: 0;
    }
}

@media only screen and (max-width: 500px) {
    .registry_header .wedding_date .date_spacer {
        height: 24px;
        padding-top: 0;
    }
    
    #give_slidein {
        font-size: 7vw;
    }
}

@media only screen and (max-width: 450px) {
    #section_wrapper {
        display: none;
    }

    #price_filter_wrapper {
        position: static;
    }
    
    #price_filter {
        float: none;
    }

    .item {
        float: none;
        margin: 1em 10%;
        width: 80%;
    }
}
