.w-100 {
    width: 100% !important;
}
*, ::after, ::before {
    box-sizing: border-box;
}
.gallery-entry {
    border-color: #e1e5f2;
    box-shadow: 0 1px 6px 2px #e1e5f2;
    padding: 10px;
    margin-bottom: 2em;
}
.ml-2, .mx-2 {
    margin-left: .5rem !important;
}
.mr-2, .mx-2 {
    margin-right: .5rem !important;
}
.form-group {
    margin-bottom: 1rem;
}
#find{
    padding-left: 40%;
}
.text-left {
    text-align: left !important;
}

.ml-auto, .mx-auto {
    margin-left: auto !important;
}

.mr-auto, .mx-auto {
    margin-right: auto !important;
}

.flex-md-row {
    -ms-flex-direction: row !important;
    flex-direction: row !important;
}
.justify-content-center {
    -ms-flex-pack: center !important;
    justify-content: center !important;
}

.flex-wrap {
    -ms-flex-wrap: wrap !important;
    flex-wrap: wrap !important;
}

.flex-column {
    -ms-flex-direction: column !important;
    flex-direction: column !important;
}
.d-flex {
    display: -ms-flexbox !important;
    display: flex !important;
}
*, ::after, ::before {
    box-sizing: border-box;
}
a#prev,a#next{
    color:#fff;
}
a#prev:hover, a#next:hover{
    color:#65bc7b;
}
object{
    width: 384px;
    height: 217px;
}
.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1.2rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 2px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.restricted-input-width {
    max-width: 200px;
}
.btn:not(:disabled):not(.disabled) {
    cursor: pointer;
}
[type="reset"], [type="submit"], button, html [type="button"] {
    -webkit-appearance: button;
}
.m-2 {
    margin: .5rem !important;
}
#GallerySearchButton {
    position: relative;
}
#GallerySearchResetButton, .btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
#GallerySearchResetButton {
    background-color: rgb(239, 239,239);
    color: black;
    position: relative;
}
#GallerySearchResetButton a, #GallerySearchResetButton a:hover{
    text-decoration: none;
    color: black;
}
#GallerySearchResetButton a:hover{
    background-color: dimgray;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

#fusion-slider-20 .flex-direction-nav a {
    width:63px;
    height:63px;
    line-height:63px;
    font-size:25px;
}
.videogalleryentry{
    height: 450px;
}
#sliders-container, .fusion-slider-20{
    height: 550px;
    max-width: 100%;
    max-height: 550px;
}
.tfs-slider{
    max-width: 100%;
    --typography_sensitivity: 1;
    height: 550px;
}
.videogallery-entry-caption-business-name{
    margin: 0;
    font-size: 18px !important;
}
#content {
    width: 100%;
}
#city {
	width: 75%;
}
#businessType, #state, #city, #businessName {
    position: relative;
    display: inline-block;
    padding: 10px;
    height: auto;
}
#videoType, .px-1 py-2 {
    position: relative;
    display: inline-block;
    padding: 10px;
    height: auto;
}
.twitter-typeahead {
    position: relative;
    display: inline-block;
    padding: 0px;
    font-size: 1.5rem;
    width:100%;
}
.tt-menu {
    position: absolute;
    top: 100%;
    left: 0px;
    z-index: 0;
    display: none;
}
input {
    border: 1px solid;
    font-weight: 400;
    font-size: 1rem;
    height: auto;
}
a.page-numbers{
    display: inline-block;
    /*background-color: gray;*/
    padding: 5px;
}
span.page-numbers current{

}
 .current {
     color: white;
     font-weight: bold;
     background-color: dimgray;
     padding: 5px;
     border-radius: 50%
 }
#gallery_main_container {
    width: 100%;
}

/* Filter form layout (moved out of inline <style>). */
.form-group.mx-1 { display: flex; align-items: center; }
.flex-r { display: flex; flex-flow: row wrap; align-items: center; }

.amp-video-gallery__empty {
    text-align: center;
    padding: 2rem 0;
    color: #666;
}

/* Gallery entries (.col-md-4) are themed as floats; contain them so the
   container keeps its height and pagination flows below, not over, them. */
#gallery_main_container > .w-100::after {
    content: "";
    display: table;
    clear: both;
}

.amp-video-gallery__pagination {
    clear: both;
    text-align: center;
    margin: 1.5rem 0;
}

@media (max-width: 991px) {
    .form-group.mx-2 { margin-left: 0 !important; margin-right: 0 !important; }
    #sliders-container { height: auto; }
}

@-moz-document url-prefix() {
    .gallery-entry-photo { display: none !important; }
    .videogalleryentry { height: 250px !important; }
    @media (max-width: 991px) {
        .videogalleryentry { height: auto !important; }
    }
}