.lSSlideOuter {
    border: 2px solid #333;
    background: #333;
}

.mb-0 {
    margin-bottom: 0!important;
}

.my-1 {
    margin-top:5px;
    margin-bottom: 5px;
}

.mx-1 {
    margin-left: 5px;
    margin-right: 5px;
}

.py-1 {
    padding-top: 5px;
    padding-bottom: 5px;
}

.px-1 {
    padding-left: 5px;
    padding-right: 5px;
}

.py-2 {
    padding-top: 10px;
    padding-bottom: 10px;
}

.px-2 {
    padding-left: 10px;
    padding-right: 10px;
}

/* .lSSlideOuter .lSPager.lSGallery li {
    height: 60px;
} */

.lSSlideOuter .lSPager.lSGallery img {
    min-height: 100%;
    min-width: 100%;
}

.lSSlideOuter .lSPager.lSGallery {
    margin-left: 3px;
    margin-bottom: 5px;
    margin-right: 3px
}

.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: 2.25rem;
    background-repeat: no-repeat;
    background-position: center right calc(2.25rem / 4);
    background-size: calc(2.25rem / 2) calc(2.25rem / 2);

}

.form-control.is-valid {
    border-color: rgb(54, 224, 24);
    padding-right: 2.25rem;
    background-repeat: no-repeat;
    background-position: center right calc(2.25rem / 4);
    background-size: calc(2.25rem / 2) calc(2.25rem / 2);

}

.help-block {
    color: rgb(255, 62, 37);
    /* display: none; */
}

.icon-indicator .text {
    width:100%!important;
}

.icon-indicator{
    padding: 10px 5px;
}

.contact-list .panel-body>div{
    display: flex;
}

.adslot{
    width: 100%;
    height: 100px;
}

.adslot2{
    width: 100%;
    height: 300px;
}

@media screen and (max-width: 767px) {
    i.fa {
        font-size: 1.5em;
    }
    .lSSlideOuter .lSPager.lSGallery li {
        height: 40px;
    }
    .info-table-row {
        margin: 5px 10px;
        border-bottom: 1px solid #eee;
        line-height: 1.5;
    }
    .adslot{
        width: 100%;
        height: 80px;
    }

    .adslot2{
        width: 100%;
        height: 250px;
    }
}

.detailed-content {
    padding:10px;
}

.login-button, .user-options {
    display: none;
}

.panel>div>div>div:last-child {
    vertical-align: middle;
    width: unset;
}

.my-carousel{
    margin-top:20px;
}

.carousel-cell {
    width: 100px;
    height: 100px;
    margin-right: 5%;
    background: #8C8;
    border-radius: 5px;
    counter-increment: carousel-cell;
}
  
.carousel-cell .is-selected {
    background: #ED2;
}

.carousel-img{
    height: 400px;
}

.nav-pills{
    color: #000;
    border: 1px #000;
    border-bottom-style:solid;
}

.nav>li>a{
    position: relative;
    display: block;
    padding: 10px 14px;
}

.nav-pills>li.active>a, .nav-pills>li.active>a:hover, .nav-pills>li.active>a:focus{
    color: #035c9e;
    border: 1px #035c9e;
    border-bottom-style:solid;
}

/* pop-up ad */
#pop-up {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    display: none;
}

#pop-up .pop-up-background {
    position: fixed;
    height: 110%;
    width: 110%;
    background-color: black;
    opacity: 0.5;
    z-index: 1;
}

#pop-up .pop-up-img-layer {
    position: fixed;
    z-index: 2;
    left: 50%;
    top: 55%;
    width: auto;
    transform: translate(-50%, -50%);
    box-shadow: 2px 2px 14px #3b3b3b;
}

#pop-up .pop-up-img-layer .pop-up-shut-down {
    width: 30px;
    position: absolute;
    right: -15px;
    top: -10px;
}

.popup-img{
    height: 80vh;
    width: auto;
}

.textwidget {
    text-align: center;
}

.remain-center{
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
}

.header-divide{
    width:2px;
    height:50px;
    background:#000;
    display:inline-block;
    margin-left:5px;
}

.header-substance{
    margin-left:5px;
    display:inline-block;
}

.header-search-nav{
    display:inline-block;
    width:15%;
    height:100%;
    background:#035c9e; 
    text-align:center;
}

.header-search-container{
    border:2px solid #035c9e;
    height:40px;
}
.header-search-bar-icon{
    height:20px;
    width:20px; 
    margin:0 5px;
}
.header-search-bar{
    width:85%;
    background:none;
    outline:none;
    border:0px;
}

.header-search-button{
    width:15%; 
    height:100%;
    background:#035c9e; 
    color:#fff;
    cursor:pointer;
}

.top-nav-container{
    border: 1px solid #eee; 
    height: 400px; 
    margin: 0 20px; 
    padding: 2% 5%;
    border-radius:5px;
}

.nav-posts-title{
    width:85%;
    overflow: hidden; 
    text-overflow: ellipsis; 
    -o-text-overflow: ellipsis;
    white-space:nowrap; 
    display:inline-block;
}

.nav-subtitle{
    float:right; 
    color: #aaa;
}

.flickity-slider-container{
    border:1px solid #ddd; 
    width:100%; 
    height:150px; 
    border-radius:4px; 
    display:flex;
}

.flickity-slider-title{
    border:1px #ddd; 
    width:10%; 
    height:100%;
    border-right-style:solid;
}

.flickity-slider-pic{
    height:100px;
    width:100px;
}

/* pop-up ad */
.pop-up {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    display: none;
}

.pop-up-background {
    position: fixed;
    height: 110%;
    width: 110%;
    background-color: black;
    opacity: 0.5;
    z-index: 1;
}

.pop-up-img-layer {
    position: fixed;
    z-index: 2;
    left: 50%;
    top: 55%;
    width: auto;
    transform: translate(-50%, -50%);
    box-shadow: 2px 2px 14px #3b3b3b;
}

.pop-up-img-layer .pop-up-shut-down {
    width: 30px;
    position: absolute;
    right: -15px;
    top: -10px;
}

.popup-img{
    height: 80vh;
    width: auto;
}

.textwidget {
    text-align: center;
}

.carousel-indicators li{
    background: #dddddd;
}
.carousel-indicators .active{
    background: #000;
}

.site-location-selection-img:hover{
    transform: scale(1.1); 
}