/*----Candle----*/
.candle-container {
    height: 300px;
}
.candle {
    width: 1.3rem;
    margin: 0 auto;
    position: relative;
    height: 100%;
    align-self: flex-end;
    animation: blink 0.1s infinite;
}
.wick {
    position: absolute;
    width: 6px;
    height: 15%;
    background: #23161a;
    top: 32%;
    left: 50%;
    transform: translateX(-50%) skewX(2deg);
    border-radius: 10%;
    box-shadow: 0 0 2px 0px black;
}
.wick:before {
    content: '';
    position: absolute;
    width: 0;
    left: 50%;
    height: 10px;
    box-shadow: 0 -14px 10px 8px white, 0 -10px 10px 6px rgba(255, 215, 0, 0.7), 0 -3px 10px 6px rgba(255, 106, 0, 0.7), 0 6px 3px 4px black;
}
.wick:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0px;
    height: 0px;
    box-shadow: 0 5px 2px 3px gold, 0 20px 2px 10px gold, 0 -6px 4px 5px rgba(98, 33, 27, 0.8), 0 0px 1px 4px rgba(255, 106, 0, 0.7), 0 0px 3px 4px #ff6a00, 0 5px 3px 4px gold;
}
.flame {
    width: 20px;
    height: 25%;
    margin: 0px auto;
    position: relative;
    animation: move 3s infinite, move-left 3s infinite;
    transform-origin: 50% 90%;
    top: 19%;
}
.flame .top {
    width: .8rem;
    height: 100%;
    position: absolute;
    top: 0;
    left: 15%;
    background: white;
    border-top-left-radius: 500%;
    border-bottom-left-radius: 50px;
    border-top-right-radius: 500%;
    border-bottom-right-radius: 50px;
    transform: skewY(-10deg);
    box-shadow: 0 0px 0px 3px white, 0 -20px 1px 4px white, 0 -25px 2px 3px gold, -1px 0px 5px 4px #ff6a00, 4px 1px 150px 10px #ff6a00, 0 -10px 2px 0px white, 0 -5px 3px 0px white;
    animation: flame-up 4s infinite;
}
.flame .anime_first {
    animation: flame-up 5s infinite;
}
.flame .anime_second {
    animation: flame-up 6s infinite;
}
.flame .shadows {
    position: absolute;
    left: 50%;
    top: 0;
    width: 1px;
    height: 25%;
    border-radius: 50%;
    box-shadow: 0 5px 17px 15px gold, 0 0px 100px 20px #ff6a00, 1px 1px 50px 15px #ff6a00, 1px 1px 5px 13px #ff6a00, 0px 40px 5px 7px #ff6a00, 0px 40px 50px 30px black;
}
.flame .bottom {
    transform: scale(0.75);
    position: absolute;
    bottom: 6px;
    left: 9px;
    width: 1px;
    height: 8px;
    border-radius: 1%;
    background: #2c2b39;
    box-shadow: 0 6px 10px 12px rgba(60, 76, 125, 0.3), 0 0px 4px 8px #2c2b39, 0 -12px 10px 8px rgba(255, 106, 0, 0.5), 0 5px 7px 12px #2c2b39, 0 -3px 10px 12px #2c2b39, 5px -10px 10px 5px red, 0 -15px 10px 10px gold, 5px -25px 10px 5px gold, 0 2px 5px 10px #30537d, 0 -2px 2px 14px #76daff, 0 2px 10px 12px #76daff;
}
.wax {
    position: relative;
    top: 24%;
    width: 100%;
    height: 50%;
    background: #ff9224;
    background: -moz-linear-gradient(top, #ff9224 0px, #ff9224 20px, #58523a 50px);
    background: -webkit-linear-gradient(top, #ff9224 0px, #ff9224 20px, #58523a 50px);
    background: linear-gradient(to bottom, #ff9224 0px, #ff9224 20px, #58523a 50px);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff9224', endColorstr='#58523a',GradientType=0);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-shadow: inset 0 7px 12px -2px #fbf348, inset 0 9px 57px -3px rgba(255, 0, 0, 0.4), inset 0 -5px 8px 2px black, 0 0 3px 0px #ff6a00;
}
@keyframes move {
  0% {
    transform: skewX(2deg) skewY(5deg);
  }
  50% {
    transform: skewX(-2deg) skewY(0deg);
  }
  100% {
    transform: skewX(2deg) skewY(5deg);
  }
}
@keyframes move-left {
  50% {
    transform: skewX(3deg);
  }
}
@keyframes flame-up {
  50% {
    box-shadow: 0 0px 0px 3px white, 0 -38px 1px 2px white, 0 -41px 2px 3px gold, 0 -50px 5px 4px #ff6a00, 0 0px 150px 10px #ff6a00, 0 -10px 2px 4px white, 0 -5px 3px 3px white;
  }
}
@keyframes blink {
  50% {
    opacity: 0.95;
  }
}

.candle-off {
    animation: none;
}
.wick-off {
    top: 33%;
}
.wick-off:before {
    box-shadow: none;
}
.wick-off:after {
    left: 40%;
    box-shadow: 0 5px 2px 3px gold, 0 20px 2px 10px gold, 0 -6px 4px 5px rgba(98, 33, 27, 0.8), 0 0px 1px 4px rgba(255, 106, 0, 0.7), 0 0px 3px 4px #864605, 0 5px 3px 4px gold;    
}
.wax-off {
    top: 49%;
    background: -moz-linear-gradient(top, #58523a 0px, #864605 20px, #58523a 50px);
    background: -webkit-linear-gradient(top, #58523a 0px, #864605 20px, #58523a 50px);
    background: linear-gradient(to bottom, #58523a 0px, #864605 20px, #58523a 50px);
}
/*----Candle----*/

#main-content {
  /*margin-bottom: 300px!important;*/
  /*min-height: 50rem;*/
}

.hide {
  display: none!important;
}

.candle-view {
  margin: 0 auto; 
  height: 300px !important; 
  display: block;
}

.candle-list {
  margin: 0 auto; 
  height: 170px !important; 
  display: block;
}

.card-hero .card-img-overlay-right.card-img-overlay-mini {
    right: 30px;
}
.card-hero .card-img-overlay-top.card-img-overlay-mini {
    top: 0px;
}

a.hover-img {
    /*display: block;
    width: 500px;
    position: relative;
    line-height: 25px;*/
}
a.hover-img>div {
    opacity: 0;
    height: 0;
    overflow: hidden;
    -webkit-transition: all .3s ease .10s;
    -moz-transition: all .3s ease .10s;
    -o-transition: all .3s ease .10s;
    -ms-transition: all .3s ease .10s;
    transition: all .3s ease .10s;
}
a.hover-img:hover>div {
    opacity: 1;
    height: auto;
    padding-top: 8px;
    z-index: 1;
}
a.hover-img>div img {
    padding: 8px;
    margin-top: 5px;
    width: 75%;
    border: 1px solid #121823;
    background-color: #121823;
}

#tagcloud a:link, #tagcloud a:visited {
    text-decoration:none;
}
#tagcloud a:hover {
    text-decoration: none;
}
#tagcloud span {
    padding: 4px;
}
#tagcloud .smallest {
    font-size: x-small;
}
#tagcloud .small {
    font-size: small;
}
#tagcloud .medium {
    font-size:medium;
}
#tagcloud .large {
    font-size:large;
}
#tagcloud .largest {
    font-size:larger;
}

@media (min-width: 544px) {
.card-hero .card-block {
    padding: 30px;
}
}
a:not([href]):not([tabindex]), a:not([href]):not([tabindex]):focus, a:not([href]):not([tabindex]):hover {
    color: #f8f2e6;
}


.dvt-nav-list>li>a {
    line-height: 80px;
}
.dvt-nav-scrolled .dvt-nav-list>li>a {
    line-height: 80px;
}
.dvt-nav-scrolled .dvt-nav-brand {
    height: 80px;
}
.dvt-nav-brand {
    height: 80px;
    padding: 10px 0;
}
.dvt-nav-float .dvt-nav-container {
    background-color: hsla(42,32%,92%,.75);
}
.dvt-nav-mobile a {
    height: 80px;
}
.btn-block {
    display: block;
}
/*#lightcandle-purpose label {
    display: inherit !important;
}*/
.img-center {
    margin: 0 auto;
    display: block;
}
.h3-candle-off {
    margin-bottom: 16px;
}
@media (max-width: 1200px) {
.dvt-nav-list>li>a, .dvt-nav-list>li>a:visited {
    padding: 0px 0;
}
.dvt-nav-list>li>a {
    line-height: 40px;
}
}
.pagination > li > a, .pagination > li > span {
    position: relative!important;
    float: left!important;
    padding: 6px 16px!important;
    margin-left: -1px!important;
    color: #575e66!important;
    text-decoration: none!important;
    background-color: #f8f2e6!important;
    border: 1px solid #e7decd!important;
}

.breadcrumb {
    background-color: transparent;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: bold;  
    padding: 0px;  
}

#lightcandle-public label, #lightcandle-purpose label {
    margin-right: 10px;
}
#lightcandle-public input[type="radio"], #lightcandle-purpose input[type="radio"] {
  -ms-transform: scale(1.3); /* IE */
  -moz-transform: scale(1.3); /* FF */
  -webkit-transform: scale(1.3); /* Safari and Chrome */
  -o-transform: scale(1.3); /* Opera */
  transform: scale(1.3);
  margin-right: 10px;
}
.light-candle-form label {
    font-style: italic;
}
.field-lightcandle-public, .field-lightcandle-purpose {
    display: inline-block;
}
.card-img-overlay-candle {
    background: linear-gradient(0deg,rgba(87, 94, 102, 1) 0,transparent 100%);
    font-size: 36px;
    font-family: "Playfair Display";
    font-weight: 400; 
}
.card-img-overlay-candle:hover {
    background: linear-gradient(0deg,rgba(0,0,0,.00) 0,transparent 0);
}
.candle-text {
    width: 100%;
    height: 100%;
    padding-top: 20%;
    color: #979da3 !important;
    font-style: italic;
}
.candle-text:hover {
    color: #f8f2e6 !important;
}
.modal-dialog {
    min-height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: auto;
}
@media(max-width: 768px) {
  .modal-dialog {
    min-height: calc(100vh - 20px);
  }
}
.candle-icons {
    border: 15px solid #23120B;
    box-shadow: 0 5px 5px -3px rgba(0,0,0,.1), 0 8px 10px 1px rgba(0,0,0,.07), 0 3px 14px 2px rgba(0,0,0,.06);
    border-radius: 5px;
}
.grey {
    color:#575e66 !important;
}

/* Online Giving */
.bg-success {
    background-color: #9ba290!important;
}
.progress-bar {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background-color: #007bff;
    transition: width .6s ease;
}
.progress {
    display: -ms-flexbox;
    display: flex;
    height: 1rem;
    overflow: hidden;
    line-height: 0;
    font-size: .75rem;
    background-color: #e9ecef;
    border-radius: .25rem;
}
.text-center {
    text-align: center
}
.text-right {
    text-align: right
}
.form-check-input {
    margin-left: 0;
}
#form-add label {
    font-weight: normal !important;
}
#form-add .form-control {
    height: auto !important;
}
select.form-control:not([size]):not([multiple]) {
    height: 42px;
}
.veri-btn {
    margin-top: 35px!important;
}
.text-success {
    color: #9ba290!important;
}

@media screen and (min-width: 1200px) {
#user-widjet {
    width: 250px;
} 
}   
#user-widjet .btn-sm {
    padding: 5px 30px;
    font-size: 16px;
    border-radius: 0;
}
#user-widjet li {
    margin: 10px;
}
#user-widjet img {
    margin: 0 auto
}
#user-widjet .btn-secondary {
    color: #f8f2e6;
    background-color: #575e66;
    border-color: #575e66;
    font-family: "Alegreya Sans";
}
#user-widjet .btn-secondary:hover {
    color: #f8f2e6;
    background-color: #40454a;
    border-color: #3b4045;
}
#user-widjet .user-email {
    font-size: .9rem;
}
#user-widjet .btn-fb {
    color: #fff;
    background-color: #4267B2;
    border-color: #4267B2;
    text-transform: inherit; 
}
#user-widjet .btn-fb:hover {
    color: #fff;
    text-decoration: none;
}
#user-widjet .btn-g {
    color: #fff;
    background-color: #d34836;
    border-color: #d34836;
    text-transform: inherit; 
}
#user-widjet .btn-g:hover {
    color: #fff;
    text-decoration: none;
}
@media screen and (min-width: 1200px){
#candle-menu .dvt-nav-list>li>a {
    /*padding: 0 20px;*/
    padding: 0 10px;
}
.dvt-nav-menu.btn-group-sm>.btn, .dvt-nav-menu .btn-sm {
    padding: 5px 15px;
}
#churches-dropdown {
    width: 250px
}
}
#candle-menu .church-hr {
    margin-top: 0px;
    margin-bottom: 0px;
}
#play-pause-button {
    font-size: 20px;
}

.btn-social,
.btn-social:visited,
.btn-social:focus,
.btn-social:hover,
.btn-social:active {
    color: #ffffff;
    text-decoration: none;
    transition: opacity .15s ease-in-out;
    padding: 0.05rem 0.5rem;
    font-size: 0.8rem;
    line-height: 1.5;
    border-radius: 0.2rem;
    text-transform: none;  
}

.btn-social:hover,
.btn-social:active {
    opacity: .75;
}

.btn-fb {
    background-color: #3b5998;
}

.btn-tw {
    background-color: #1da1f2;
}

.btn-vb {
    background-color: #7B519D;
}

.btn-em {
    background-color: #848484;
}

.btn-wa {
    background-color: #4DC247
}

.btn-sh {
    background-color: #ac686a;
    border-color: #ac686a;
}

.btn-up {
    background-color: #9ba290;
}

.btn-share {
    padding: 5px 15px !important
}

.btn-lc-share {
    padding: 5.5px 15px !important
}

.btn-group .btn+.btn, .btn-group .btn+.btn-group, .btn-group .btn-group+.btn, .btn-group .btn-group+.btn-group {
    margin-left: .9px;
}

.share-dropdown {
    min-width: 108px;
    text-align: center;
    background-color: hsla(40,56%,94%,.9);
    box-shadow: inset 0 1px 0 #d3ccbd, 0 2px 4px -1px rgb(0 0 0 / 4%), 0 4px 5px 0 rgb(0 0 0 / 6%), 0 1px 10px 0 rgb(0 0 0 / 8%);
}

.share-dropdown .dropdown-item:focus, .share-dropdown .dropdown-item:hover {
    background-color: hsla(40,56%,94%,.9);
}

.btn.btn-grey {
    background-color:#A9A9A9 !important;
    color: #fff !important;
    border-color: #A9A9A9 !important;
}
.overflow-visible {
    overflow: visible !important;
}


#clergyform .file-caption-main, #listingform .file-caption-main {
    width: 60%;
}
#clergyform .btn-file, #clergyform .fileinput-remove, #clergyform .fileinput-upload, #listingform .btn-file, #listingform .fileinput-remove, #listingform .fileinput-upload {
    padding: 5px 26px;
    margin-left: 0px;
}
#clergyform .panel-group .panel-collapse {
    background-color: hsla(40,56%,94%,.8);
}
#clergyform .panel-group .panel-heading {
    padding: 10px 10px;
}
.field-listingclergy-image {
    margin-top: auto;
}
#clergyform .panel {
    border: 1px solid hsla(40,56%,94%,.8);
    border-radius: 0px;
    background-color: #f8f0e9;
}
.field-listing-image {
    margin-top: auto;
}

.mapboxgl-popup-content, .maplibregl-popup-content {
    background: transparent !important;
    right: 20px !important;
    box-shadow: none !important;
}
.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip, .maplibregl-popup-anchor-bottom .maplibregl-popup-tip {
    border-top-color: transparent !important;
}
.mapboxgl-popup-close-button, .maplibregl-popup-close-button {
    background-color: #fff !important;
    border-radius: 50px !important;
    right: -50px !important;
    min-width: 30px !important;
    min-height: 30px !important;
}
.mapboxgl-popup-close-button:hover, .maplibregl-popup-close-button:hover {
    background-color: #fff !important;
}

.carousel-control-next, .carousel-control-prev {
    position: absolute;
    top: 0;
    bottom: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 15%;
    color: #fff;
    text-align: center;
    opacity: .5;
}

.carousel-control-next:focus, .carousel-control-next:hover, .carousel-control-prev:focus, .carousel-control-prev:hover {
    color: #fff;
    text-decoration: none;
    outline: 0;
    opacity: .9;
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

.carousel-control-next-icon, .carousel-control-prev-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: transparent no-repeat center center;
    background-size: 100% 100%;
}

.carousel-control-prev-icon {
 background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
}

#dataTable_filter input[type="search"] {
    padding: 0px;
    box-shadow: none;
    -webkit-box-shadow: none;
}
#dataTable_paginate .pagination > .active > a, 
#dataTable_paginate .pagination > .active > span, 
#dataTable_paginate .pagination > .active > a:hover, 
#dataTable_paginate .pagination > .active > span:hover, 
#dataTable_paginate .pagination > .active > a:focus, 
#dataTable_paginate .pagination > .active > span:focus {
    color: #f8f2e6 !important;
    cursor: default;
    background-color: #121823 !important;
    border-color: #121823 !important;
}
#dataTable_wrapper .row {
    margin-bottom: 2rem;
}
#dataTable_wrapper .table > thead > tr > th, 
#dataTable_wrapper .table > tbody > tr > th, 
#dataTable_wrapper .table > tfoot > tr > th, 
#dataTable_wrapper .table > thead > tr > td, 
#dataTable_wrapper .table > tbody > tr > td, 
#dataTable_wrapper .table > tfoot > tr > td {
    border-top: 1px solid #e7decd !important;
}
#dataTable_wrapper .table > thead > tr > th {
    border-bottom: 2px solid #e7decd !important;
}
#dataTable_wrapper select, #dataTable_wrapper select.form-control {
    padding: 0px 9px;
    border-color: transparent;
}


.infobox-wrapper {
  -moz-transition: 0.5s cubic-bezier(0, 0.28, 0.45, 1.01);
  -webkit-transition: 0.5s cubic-bezier(0, 0.28, 0.45, 1.01);
  transition: 0.5s cubic-bezier(0, 0.28, 0.45, 1.01);
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
}
.infobox-wrapper.show {
  filter: progid:DXImageTransform.Microsoft.Alpha(enabled=false);
  opacity: 1;
}
.infobox-wrapper.show > img {
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -webkit-transform: scale(1);
  transform: scale(1);
}
.infobox-wrapper.show .infobox > a {
  -moz-transform: translateY(0px);
  -ms-transform: translateY(0px);
  -webkit-transform: translateY(0px);
  transform: translateY(0px);
}
.infobox-wrapper.show .infobox .rating-passive {
  filter: progid:DXImageTransform.Microsoft.Alpha(enabled=false);
  opacity: 1;
  -moz-transform: translateX(0px);
  -ms-transform: translateX(0px);
  -webkit-transform: translateX(0px);
  transform: translateX(0px);
  -moz-transition-delay: 0.2s;
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}
.infobox-wrapper.show .infobox .description {
  filter: progid:DXImageTransform.Microsoft.Alpha(enabled=false);
  opacity: 1;
  -moz-transform: translateX(0px);
  -ms-transform: translateX(0px);
  -webkit-transform: translateX(0px);
  transform: translateX(0px);
  -moz-transition-delay: 0.1s;
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
}
.infobox-wrapper > img {
  -moz-transition: 0.3s ease;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
  -moz-transform: scale(0);
  -ms-transform: scale(0);
  -webkit-transform: scale(0);
  transform: scale(0);
  position: absolute !important;
  z-index: 1;
  right: -15px;
  top: -15px;
}
.infobox-wrapper .infobox {
  width: 270px;
}
.infobox-wrapper .infobox .description {
  -moz-transition: 0.5s cubic-bezier(0, 0.28, 0.45, 1.01);
  -webkit-transition: 0.5s cubic-bezier(0, 0.28, 0.45, 1.01);
  transition: 0.5s cubic-bezier(0, 0.28, 0.45, 1.01);
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -moz-transform: translateX(-10px);
  -ms-transform: translateX(-10px);
  -webkit-transform: translateX(-10px);
  transform: translateX(-10px);
  z-index: 1;
  bottom: 40px;
  padding-right: 20px;
}
.infobox-wrapper .infobox .description h3 {
  font-size: 18px;
}
.infobox-wrapper .infobox .description h4 {
  font-size: 12px;
}
.infobox-wrapper .infobox .rating-passive {
  -moz-transition: 0.5s cubic-bezier(0, 0.28, 0.45, 1.01);
  -webkit-transition: 0.5s cubic-bezier(0, 0.28, 0.45, 1.01);
  transition: 0.5s cubic-bezier(0, 0.28, 0.45, 1.01);
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -moz-transform: translateX(-10px);
  -ms-transform: translateX(-10px);
  -webkit-transform: translateX(-10px);
  transform: translateX(-10px);
  position: absolute;
  bottom: 15px;
  left: 20px;
  padding: 0;
  background-color: transparent;
  color: #fff;
  display: inline-block;
}
.infobox-wrapper .infobox .rating-passive .stars {
  margin-right: 2px;
}
.infobox-wrapper .infobox .rating-passive .stars figure {
  color: #fff;
}
.infobox-wrapper .infobox > a {
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -moz-box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.33);
  -webkit-box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.33);
  box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.33);
  -moz-transition: 0.5s cubic-bezier(0, 0.28, 0.45, 1.01);
  -webkit-transition: 0.5s cubic-bezier(0, 0.28, 0.45, 1.01);
  transition: 0.5s cubic-bezier(0, 0.28, 0.45, 1.01);
  -moz-transform: translateY(15px);
  -ms-transform: translateY(15px);
  -webkit-transform: translateY(15px);
  transform: translateY(15px);
  -moz-transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.infobox-wrapper .infobox > a .image {
  background-position: 50% 50%;
  background-size: cover;
}
.infobox-wrapper .infobox > a .image:after {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
  opacity: 0.7;
  background-color: transparent;
}
.infobox-wrapper .infobox .controls-more {
  right: 15px;
  top: inherit;
  bottom: 10px;
}
.infobox-wrapper .infobox .controls-more:hover:after {
  filter: progid:DXImageTransform.Microsoft.Alpha(enabled=false);
  opacity: 1;
  color: #fff;
}
.infobox-wrapper .infobox .controls-more:after {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=60);
  opacity: 0.6;
  color: #fff;
}


.item {
  -moz-transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
  position: relative;
  margin-bottom: 30px;
}
.item > a {
  display: block;
  position: relative;
  height: 220px;
  overflow: hidden;
}
.item > a:hover .image {
  -moz-transform: scale(1.1, 1.1);
  -ms-transform: scale(1.1, 1.1);
  -webkit-transform: scale(1.1, 1.1);
  transform: scale(1.1, 1.1);
}
.item > a:hover .description {
  will-change: transform;
  -moz-transform: translateY(-3px);
  -ms-transform: translateY(-3px);
  -webkit-transform: translateY(-3px);
  transform: translateY(-3px);
}
.item > a:hover .description h4 {
  will-change: transform;
}
.item > a .description {
  -moz-transition: 0.3s ease;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #fff;
}
.item > a .description figure {
  text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
  font-size: 12px;
  font-weight: bold;
}
.item > a .description figure i {
  margin-right: 5px;
}
.item > a .description figure span {
  margin-right: 10px;
}
.item > a .description h3 {
  text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 21px;
  font-weight: bold;
  margin-bottom: 2px;
  margin-top: 5px;
}
.item > a .description h4 {
  text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
  font-size: 14px;
  font-weight: normal;
  margin: 0;
}
.item > a .image {
  -moz-transition: 0.6s ease;
  -webkit-transition: 0.6s ease;
  transition: 0.6s ease;
  -moz-backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-transform: scale(1.01, 1.01);
  -ms-transform: scale(1.01, 1.01);
  -webkit-transform: scale(1.01, 1.01);
  transform: scale(1.01, 1.01);
  position: absolute;
  width: 100%;
  height: 100%;
}
.item > a .image:after {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
  opacity: 0.7;
  background: -moz-linear-gradient(top, transparent 0%, black 100%);
  background: -webkit-linear-gradient(top, transparent 0%, black 100%);
  background: linear-gradient(to bottom, transparent 0%, black 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#000000', endColorstr='#000000',GradientType=0 );
  background-color: rgba(0, 0, 0, 0.2);
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  content: "";
}
.item.featured .label {
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
}
.item.featured .additional-info {
  background-color: #4611a7;
  color: #fff;
  position: relative;
}
.item.featured .additional-info:after {
  -moz-transition: 0.3s ease;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
  content: "";
  background-color: rgba(0, 0, 0, 0.3);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.item.featured .additional-info .rating-passive {
  position: relative;
  z-index: 1;
}
.item.featured .additional-info .rating-passive .stars figure {
  color: #fff;
}
.item.featured .additional-info .controls-more {
  z-index: 1;
}
.item.featured .additional-info .controls-more:after {
  color: #fff;
}
.item.item-row {
  -moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
  -moz-transition: 0.3s ease;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
  background-color: #fafafa;
  z-index: 2;
}
.item.item-row:after {
  -moz-transition: 0.3s ease;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
  content: "";
  background-color: transparent;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.item.item-row:active:after, .item.item-row:focus:after, .item.item-row:hover:after, .item.item-row:active:hover:after, .item.item-row:active:focus:after, .item.item-row:focus:hover:after {
  background-color: rgba(0, 0, 0, 0.03);
}
.item.item-row:hover {
  -moz-transform: translateX(5px);
  -ms-transform: translateX(5px);
  -webkit-transform: translateX(5px);
  transform: translateX(5px);
}
.item.item-row > a {
  height: 150px;
  width: 100%;
  display: table;
  padding-left: 180px;
}
.item.item-row > a:hover .image {
  -moz-transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  -webkit-transform: scale(1, 1);
  transform: scale(1, 1);
}
.item.item-row > a:hover .description {
  -moz-transform: translateY(0px);
  -ms-transform: translateY(0px);
  -webkit-transform: translateY(0px);
  transform: translateY(0px);
}
.item.item-row > a .label {
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.2);
  background-color: transparent;
  display: inline-block;
  margin: 8px 0;
  padding: 4px 8px;
}
.item.item-row > a .image {
  -moz-transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  -webkit-transform: scale(1, 1);
  transform: scale(1, 1);
  width: 180px;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}
.item.item-row > a .image:after {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=60);
  opacity: 0.6;
  background-color: transparent;
}
.item.item-row > a .image figure {
  text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
  position: absolute;
  text-align: center;
  width: 100%;
  padding: 5px;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  z-index: 1;
  bottom: 5px;
}
.item.item-row > a .description {
  position: relative;
  bottom: inherit;
  left: inherit;
  display: table-cell;
  vertical-align: middle;
  padding-left: 20px;
}
.item.item-row > a .description h4, .item.item-row > a .description h3 {
  text-shadow: none;
  will-change: unset;
}
.item.item-row > a .description h4 {
  color: rgba(0, 0, 0, 0.5);
}
.item.item-row > a .description h3 {
  color: #4611a7;
  font-size: 18px;
  margin-bottom: 4px;
}
.item.item-row > a .map {
  height: 100%;
  width: 100px;
  display: table-cell;
  background-color: rgba(0, 0, 0, 0.1);
}
.item.item-row .additional-info {
  padding: 0;
  background-color: transparent;
  display: table-cell;
  vertical-align: middle;
  text-align: right;
  width: 150px;
  padding-right: 40px;
  top: -2px;
}
.item.item-row .additional-info .reviews {
  color: #000;
}
.item.item-row .controls-more {
  z-index: 1;
}
.item .price {
  -moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
  background-color: #fff;
  font-weight: 900;
  color: #1f1f1f;
  position: absolute;
  right: -6px;
  top: 30px;
  z-index: 1;
  padding: 5px;
  font-size: 14px;
}
.item .price:after {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 6px 0 0;
  border-color: #ababab transparent transparent transparent;
  content: "";
  position: absolute;
  bottom: -6px;
  right: 0;
}
.item .circle {
  -moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  height: 30px;
  width: 30px;
  position: absolute;
  top: -15px;
  left: 20px;
  background-color: #fff;
  text-align: center;
}
.item .circle i {
  font-size: 12px;
  color: #4611a7;
  line-height: 28px;
}
.item .circle.featured {
  background-color: #4611a7;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  height: 45px;
  width: 45px;
  text-align: center;
  line-height: 43px;
}
.item .circle.sale {
  position: absolute;
  z-index: 1;
  top: -20px;
  left: 20px;
}
.item .additional-info {
  background-color: #fafafa;
  padding: 15px 20px;
  position: relative;
}
.section-divisions .select-label {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}
.section-divisions #dataTable_wrapper .row {
    margin-bottom: 0rem !important;
}

.map-overlay {
    position: absolute;
    width: 180px;
    top: 0;
    left: 10px;
    padding: 10px;
}
 
.map-overlay .map-overlay-inner {
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    padding: 10px;
    margin-bottom: 10px;
}

.map-overlay input {
    background-color: transparent;
    display: inline-block;
    width: 100%;
    position: relative;
    margin: 0;
    cursor: ew-resize;
}

.irs--round .irs-bar,
.irs--round .irs-from, 
.irs--round .irs-to, 
.irs--round .irs-single {
    background-color: grey;
}
.irs--round .irs-from:before, 
.irs--round .irs-to:before, 
.irs--round .irs-single:before {
    border-top-color: grey;
}
.irs--round .irs-handle>i:first-child {
    background-color: darkgrey;
}
.irs--round .irs-handle.state_hover>i:first-child, 
.irs--round .irs-handle:hover>i:first-child {
    background-color: black;
}
.irs--round .irs-handle {
    border: 4px solid grey;
}

.irs--flat .irs-bar,
.irs--flat .irs-from, 
.irs--flat .irs-to, 
.irs--flat .irs-single {
    background-color: grey;
}
.irs--flat .irs-from:before, 
.irs--flat .irs-to:before, 
.irs--flat .irs-single:before {
    border-top-color: grey;
}
.irs--flat .irs-handle>i:first-child {
    background-color: darkgrey;
}
.irs--flat .irs-handle.state_hover>i:first-child, 
.irs--flat .irs-handle:hover>i:first-child {
    background-color: black;
}
.irs-handle {
    cursor: pointer;
}
.irs {
    cursor: pointer;
}

.listing-form .section-title {
    margin-bottom: 0px;
}
.listing-form .section-title h2 {
    padding-bottom: 20px;
    padding-top: 30px;
}
.form-control {
    height: 42px;
}
.btn-file, .fileinput-remove, .fileinput-upload {
    padding: 10px 26px !important;
}
.badge-success {
    color: #f8f2e6;
    background-color: #9ba290;
    border-color: #9ba290;
}
.badge-success:focus, .badge-success:hover {
    color: #f8f2e6;
    background-color: #707764;
    border-color: #5b6151;
}

.select2-container {
    border-left: 3px solid #989ca4 !important;
}
.select2-container--default .select2-selection--multiple {
    color: #575e66 !important;
    background-color: #ede6d7 !important;
    border: none !important;
    border-radius: 0px !important;
}
.select2-dropdown {
    color: #575e66 !important;
    background-color: #ede6d7 !important;
}

#appointments .table > thead > tr > th,
#distinctions .table > thead > tr > th,
#ordinations .table > thead > tr > th,
#education .table > thead > tr > th {
    font-weight: 400;
    font-style: oblique;
}

#appointments .table-responsive,
#distinctions .table-responsive,
#ordinations .table-responsive,
#education .table-responsive {
    border-left: 3px solid #989ca4;
}

#clergyform .panel-group .panel-heading {
    border-left: 3px solid #989ca4;
}

.easy-autocomplete-container ul {
  background: none repeat scroll 0 0 #ede6d7;
  border-top: 1px dotted #ccc;
  border-bottom: 1px solid #ccc;
  z-index: 999;
  display: none;
  margin-top: 0;
  padding-bottom: 0;
  padding-left: 0;
  position: relative;
  top: -1px;
  max-height:250px; /* Set your expected height */
  overflow-y:scroll; /* Enable vertical scrollbar */
}