body {
    overflow-x: hidden;
    margin: 0px;
}

* {
    box-sizing: border-box;
}

/* Remove  default drop-down icon from select tag */

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
}

.page-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 36px;
    margin-top: 36px;
}

@media screen and (min-width: 480px) {
    .page-title {
        font-size: 46px;
    }
}

.search-field-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gather-search {
    width: 100%;
    max-width: 350px;
    padding: 12px 16px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #555555;
    border: none;
    background-color: #f1f1f1;
    min-width: 320px;
    box-shadow: 1px 1px 0px 0px rgba(0, 0, 0, 0.15);
    outline: none;
}

.gather-select-container {
    position: relative;
    display: flex;
    box-shadow: 0px 1px 0px 0px rgb(0 0 0 / 15%);
}

.gather-select-icon {
    align-items: center;
    display: none;
}

@media screen and (min-width: 480px) {
    .gather-select-icon {
        display: flex;
    }
}

.expand-more-icon {
    position: absolute;
    right: 6px;
    color: #555555;
}

.gather-select {
    max-height: 42px;
    min-height: 42px;
    padding: 8px 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #555555;
    border: none;
    background-color: #f1f1f1;
    box-shadow: 1px 1px 0px 0px rgba(0, 0, 0, 0.15);
    outline: none;
    display: none;
    padding-right: 48px;
}

@media screen and (min-width: 480px) {
    .gather-select {
        display: block;
    }
}

.gather-namefilter-container {
    display: flex;
    align-items: baseline;
    width: fit-content;
    overflow-x: auto;
    max-width: fit-content;
    width: 100%;
    font-family: 'Raleway', sans-serif;
    margin: 6px auto;
}

@media screen and (min-width: 480px) {
    .gather-namefilter-container {
        margin: 6px auto;
    }
}

@media screen and (min-width: 768px) {
    .gather-namefilter-container {
        margin: 40px auto 28px auto;
        justify-content: end;
    }
}

.gather-filter-heading {
    color: #444242;
    white-space: nowrap;
    padding-left: 24px;
    display: none;
}

@media screen and (min-width: 768px) {
    .gather-filter-heading {
        display: block;
    }
}

.gather-namefilter {
    list-style-type: none;
    display: flex;
    justify-content: center;
    color: darkgray;
    padding: 0px;
}

@media screen and (min-width: 480px) {
    .gather-namefilter {
        padding: 0px 16px;
    }
}

.gather-results {
    width: calc(100% - 12px);
    margin: auto;
    margin-top: 18px;
}

@media screen and (min-width: 480px) {
    .gather-results {
        margin-top: 52px;
    }
}

.gather-namefilter li {
    margin: 0 2px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
}

.gather-namefilter li:hover {
    cursor: pointer;
}

@media screen and (min-width: 768px) {
    .gather-namefilter li:hover {
        cursor: pointer;
        background-color: #f1f1f1;
        border-radius: 50%;
    }
}

.gather-list {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    max-width: 400px;
    list-style-type: none;
    margin: 0 auto;
    padding: 0;
}

@media screen and (min-width: 680px) {
    .gather-list {
        max-width: 800px;
    }
    .gather-list li {
        min-height: fit-content;
        width: 30% !important;
    }
}

@media screen and (min-width: 991px) {
    .gather-list {
        max-width: 1080px;
    }
}

.gather-list li {
    min-height: fit-content;
    margin-bottom: 14px;
    padding: 8px 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media screen and (min-width: 480px) {
    .gather-list li {
        min-height: 360px;
        margin: 0 4px;
        margin-bottom: 44px;
        padding: 8px 0px;
    }
}

.selected-namefilter {
    color: #00235c;
    background-color: lightgray;
    border-radius: 50%;
    width: 26px;
    height: 26px;
}

.gather-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.gather-page-list {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.gather-page-list li {
    color: #00235c;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

.gather-selected-page {
    color: #888888 !important;
}

.gather-scroll-left {
    margin-right: 6px;
    width: 30px;
    height: 30px;
    background-image: url(https://res.cloudinary.com/gather-app-prod/image/upload/v1607982416/system_assets/images/icon_arrow-left.png);
}

.gather-scroll-right {
    margin-left: 10px;
    width: 30px;
    height: 30px;
    background-image: url(https://res.cloudinary.com/gather-app-prod/image/upload/v1607982417/system_assets/images/icon_arrow-right.png);
}

.gather-obit-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gather-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px auto;
}

.gather-page {
    margin: 0 8px;
    font-size: 14px;
}

.gather-obitname {
    font-size: 16px;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    margin-top: 20px;
    text-align: center;
}

.gather-obitname a {
    color: #00235c;
}

.gather-obitdates {
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #888888;
    margin: 2px 0;
    height: 16px;
}

.gather-obitstream {
    color: #00235c;
    font-size: 12px;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.gather-obitstream p {
    margin: 0px;
    margin-top: 6px;
}

.gather-obitstream p:hover {
    text-decoration: underline;
}

.gather-obitnostream {
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    display: flex;
    align-items: center;
    width: 40px;
    height: 100%;
    background-image: url('https://res.cloudinary.com/gather-app-prod/image/upload/v1612479232/system_assets/images/decorative.svg');
    background-repeat: no-repeat;
    background-position: center;
}

.gather-obittext {
    position: relative;
    font-size: 16px;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    color: #555555;
    min-height: 106px;
    max-height: 106px;
    overflow: hidden;
    display: none;
    max-width: 305px;
    text-align: center;
    line-height: 22px;
}

@media screen and (min-width: 480px) {
    .gather-obittext {
        display: block;
    }
}

.gather-morebutton {
    margin-top: 20px;
    background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    display: none;
}

@media screen and (min-width: 480px) {
    .gather-morebutton {
        display: block;
    }
}

.gather-morebutton button {
    border: none;
    border-radius: 24px;
    padding: 14px 22px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #00235c;
    background-color: transparent;
    box-shadow: 0px 2px 7px 1px rgba(0, 0, 0, 0.15);
    outline: none;
}

.horizontal-line {
    max-width: 1080px;
    margin: 0 auto;
    border-top: 1px solid #e8e8e8;
    width: calc(100% - 32px);
}

.gather-photo {
    background-repeat: no-repeat;
    width: 100px;
    height: 100px!important;
    object-fit: contain;
    background-size: cover;
    border-radius: 50%;
    box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.15);
    background-color: #fff;
}

div.gather-photo {
    background-image: url("https://res.cloudinary.com/gather-app-prod/image/upload/v1610730555/system_assets/images/default_avatar.jpg");
}

.obitstream-wrapper {
    min-height: 24px;
    max-height: 24px;
    margin: 10px 0;
    display: none;
    align-items: center;
}

@media screen and (min-width: 480px) {
    .obitstream-wrapper {
        display: flex;
    }
}

.fade {
    height: 60px;
    position: absolute;
    background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    bottom: 0px;
    width: 100%;
    display: none;
}

@media screen and (min-width: 480px) {
    .fade {
        display: block;
    }
}

.gather-obit {
    position: relative;
}

.vertical-divider {
    background: radial-gradient(50% 40% at 50% 45%, #e8e8e8 0%, rgba(245, 247, 252, 0) 100%);
    border: none;
    height: auto;
    width: 1px;
    margin: 0 6px;
    display: none;
}

@media screen and (min-width: 680px) {
    .vertical-divider {
        display: block;
    }
    .gather-results .vertical-divider:nth-child(3n) {
        display: none;
    }
    .gather-results .vertical-divider:last-child {
        display: none;
    }
}

@media screen and (min-width: 991px) {
    .vertical-divider {
        display: block;
    }
    /*
    .gather-results .vertical-divider:nth-child(4n+0) {
        display: block;
    }
    */
    .gather-results .vertical-divider:last-child {
        display: block;
    }
    .gather-results .vertical-divider:nth-child(3n) {
        display: none;
    }
}

.gather-mobile-search-container {
    position: relative;
    display: flex;
}

@media screen and (min-width: 480px) {
    .gather-mobile-search-container {
        display: none;
    }

    .gather-list li {
        min-height: fit-content;
        width: 50%;
    }
}

.gather-search-container {
    position: relative;
    margin-right: 20px;
    display: none;
    box-shadow: 0px 1px 0px 0px rgb(0 0 0 / 15%);
}

@media screen and (min-width: 480px) {
    .gather-search-container {
        display: flex;
    }
}

.gather-mobile-search {
    width: 100%;
    max-width: 280px;
    padding: 12px 24px;
    padding-right: 46px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #c1c1c1;
    min-width: 280px;
    outline: none;
    border-radius: 24px;
    border: 1px solid;
}

.mobile-search-button {
    position: absolute;
    right: 8px;
    min-height: 44px;
    border: none;
    padding: 0 12px;
    color: #555555;
    outline: none;
    background-color: transparent;
}

.search-button {
    position: absolute;
    right: 0px;
    min-height: 42px;
    border: none;
    padding: 0 12px;
    color: #555555;
    outline: none;
}

.search-icon {
    font-size: 20px !important;
    width: 20px;
    height: 20px;
}

.gather-morebutton button:hover, 
.gather-page:hover, 
.gather-scroll-right, 
.gather-scroll-left, button:hover {
    cursor: pointer;
}

.gather-inactive {
    opacity: 0.25;
    cursor: default;
}

.gather-hidden {
    display: none;
}

/* Loading spinner */

.lds-roller {
    display: inline-block;
    position: absolute;
    width: 80px;
    height: 80px;
    left: calc(50% - 80px);
    top: 245px;
}

.lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 40px 40px;
}

.lds-roller div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #999;
    margin: -4px 0 0 -4px;
}

.lds-roller div:nth-child(1) {
    animation-delay: -0.036s;
}

.lds-roller div:nth-child(1):after {
    top: 63px;
    left: 63px;
}

.lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
}

.lds-roller div:nth-child(2):after {
    top: 68px;
    left: 56px;
}

.lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
}

.lds-roller div:nth-child(3):after {
    top: 71px;
    left: 48px;
}

.lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
}

.lds-roller div:nth-child(4):after {
    top: 72px;
    left: 40px;
}

.lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
}

.lds-roller div:nth-child(5):after {
    top: 71px;
    left: 32px;
}

.lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
}

.lds-roller div:nth-child(6):after {
    top: 68px;
    left: 24px;
}

.lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
}

.lds-roller div:nth-child(7):after {
    top: 63px;
    left: 17px;
}

.lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
}

.lds-roller div:nth-child(8):after {
    top: 56px;
    left: 12px;
}

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media screen and ( min-width:320px ) {
    .gather-list li {
        min-height: fit-content;
        width:48%;
    }
    .gather-namefilter {
        padding: 0px 16px;
        margin: 0!important;
    }
    .gather-select {
        display: block!important;
    }
}

@media screen and ( max-width:1024px ) {
    .gather-namefilter-container {
        justify-content: flex-start;
    }
}

    .gather-page-list {list-style-type: none!important; margin: 0!important;}
    .gather-page{margin:0 8px!important;}
    .gather-scroll-right, .gather-scroll-left{background-color: #fff; border-radius: 50px;}
    .gather-list{margin:0 auto!important;}
    .search-icon{font-weight:bold!important;}
  .gather-obittext{font-family:'Barlow'; margin-bottom:30px;}
  .fade{display:none;}
  .gather-morebutton button{background:#ffffff;}
  .gather-morebutton{background:none; margin-top:0; margin-bottom:40px;}
  .vertical-divider{
      background: radial-gradient(50% 40% at 50% 45%, #c4c4c4 0%, rgba(245, 247, 252, 0) 100%);
    }
  .horizontal-line{border-top:1px solid #000000;}
  .gather-search-container, .gather-select-container{box-shadow:none}    
    .gather-search-container .search-button, 
    .gather-mobile-search-container .mobile-search-button{
        background: none!important; box-shadow: none; color: #000!important; 
        margin: 0; padding: 3px 10px 0 0!important; color:rgba(0,0,0,0.5)!important;}
    .gather-search-container .search-button:hover:after, 
    .gather-mobile-search-container .mobile-search-button:hover:after{display:none;}
    .gather-search, .gather-select, 
    .gather-mobile-search{
        font-family: 'Barlow'!important; font-weight:500; min-height:42px; 
        color: #000000!important; 
        border: none!important; background-color: rgba(255,255,255,0.5)!important;}
    .gather-select:focus{background:#ffffff!important;}
    .gather-search-container input:focus, 
    .gather-mobile-search-container input:focus{background:#ffffff!important;}    
    .expand-more-icon{display:none!important;}
    .gather-namefilter-container{justify-content:start;}
@media screen and (min-width: 768px){.gather-namefilter-container {margin: 10px auto 0 auto;}}
@media screen and (max-width: 1002px){    .horizontal-line{display:none;} }
@media screen and (max-width: 640px){    
        .search-field-container{flex-direction:column}
        .search-field-container>div{width:100%;}
      .gather-search-container{margin-right:0;}
      .gather-search, .gather-select, .gather-mobile-search{width:100%!important;}
      #gather_inject_point{padding:20px;}
    }
