/* @author Matthew Heath EPC */
.tl-reopen-container {
	margin-right: auto;
    margin-left: auto;
    width: 100%;
}

.tl-reopen-sub-container {
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	max-width: 1200px;
}
.tl-leadspace {
    width: 389px;
    height: 298px;
    margin-left: 17px;
    margin-bottom: 25px;
}
.tl-grid-reopen-top-container {
    display: grid;
    grid-template-columns: auto auto;
    grid-column-gap: 20px;
    margin-left: 0px;
  
}


.tl-reopen-sub-container .acf-label {
    color: #27578c;
}

.tl-grid-reopen-bottom-container {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-column-gap: 20px;
    margin-top: -25px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.tl-full-loader {
    width: 100%;
}

.tl-grid-reopen-top-container-no-lead {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-column-gap: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}


.tl-reopen-lower-left-card {
        text-align: left;
}
.tl-grid-reopen-item {
    border: 1px solid rgba(183, 183, 183, 0.8);
    padding: 20px;
    font-size: 30px;
    text-align: center;
    border-radius: 3px;
}
.tl-reopen-card-wrapper {
    width: 381px;
    height: 217px;
    padding-top: 0px;
    padding: 0px 10px 10px 10px;
    overflow: hidden;
    border: 2px solid #255b8b;
    margin-bottom: 25px;
    position: relative;
}

.tl-reopen-filler-block {
    width: 381px;
    height: 200px;
    padding: 10px;
    overflow: hidden;
    margin-bottom: 25px;
    position: relative;
}
.tl-distance-display {
    margin-right: 131px;
}

.tl-reopen-date-wrapper {
    position: absolute;
    display: inline-flex;
    bottom: 0px;
    text-align: left;
    left: 0px;
    padding-left: 10px;
    font-weight: 700;
    color: white;
    width: 100%;
    background-color: #255b8b;
}


.tl-reopen-lower-left-card {
    width: 230px;
    padding-top: 5px;
}
.tl-reopen-lower-left-card p {
    font-size: 1.5rem;
}
.tl-reopen-hr {
    margin-top: 0px !important;
}

.tl-reopen-form-header-text {
	text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
    font-size: 3rem;
}
.tl-reopen-search-top {
    width: 100%;
}
.tl-reopen-lower-right-card {
    width: 113px;
    overflow: hidden;
    margin-top: 7px;
    height: 121px;
    margin-left: 13px;
}
.tl-reopen-card-wrapper p {
    padding-bottom: 0px;
}

#tl-loading-top, #tl-loading-bottom {
    display: none;
    width: 200px;
    margin-left: auto;
    margin-right: auto;
}
#tl-loading {
    display: none;
    width: 148px;
    margin-left: auto;
    margin-right: auto;
}
.tl-reopen-search-results-left {
    max-width: 796px;
    width: 100%;    
}
.tl-reopen-search-results-wrapper {
    margin-top: 25px;
}
.tl-reopen-search-results-top {
    display: flex;
}
.tl-reopen-leadspace-wrapper {
    max-width: 300px;
    width: 100%;
}
.tl-reopen-search-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/*#tl-reopen-search-results {
    max-width: 900px;
    margin-left: 0px !important;
    columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
}*/
#tl-reopen-search-results p {
    padding-bottom: 0px;
}
.tl-reopen-success-msg-wrapper {
	text-align: center;
}
.tl-reopen-lower-card-wrapper {
    display: inline-flex;
    width: 100%;
}
.tl-reopen-business-name {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: left;
    font-size: 2rem;
}
.tl-reopen-header {
    background-color: white;
    padding-top: 5px;
    padding-bottom: 13px;
}
.tl-reopen-success-msg-wrapper {
	margin-top: 50px;
	margin-bottom: 50px;
}
.tl-reopen-success-btn {
	width: 250px;
    margin-left: auto;
    text-align: center;
    margin-right: auto;
    margin-bottom: 50px;
}
.tl-reopen-search-bottom, .tl-reopen-search-top {
	display: inline-flex;
}
.tl-flex-row {
	display: flex;
	width: 100%;
}
.tl-reopen-row {
	display: block;
	width: 100%;
}
.tl-reopen-search-container-wrapper {
	background-color: #e6e7e8;
}
.tl-reopen-header-img-wrapper {
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
    margin-top: 25px;
    margin-bottom: 25px;
}
.tl-search-keyword-input, .tl-reopen-search-county-dropdown {
	
    border: 1px solid #b7b8b9 !important;
    margin-right: 20px;
    padding-left: 10px !important;
}
.tl-reopen-margin-bottom {
	margin-bottom: 3px;
}
.tl-reopen-search-county-dropdown {
	margin-top: 12px;
}

.tl-proximity-text span {
	margin-left: 15px;
}
.tl-search-keyword-input {
	width: 492px;
	height: 36px !important;
	border: 1px solid #b7b8b9 !important;
    margin-right: 20px;
    font-size: 1.5rem;
    padding-left: 10px !important;
    color: #bbb;
 
}

.tl-search-keyword-input::placeholder, .tl-search-keyword-input:-ms-input-placeholder, .tl-search-keyword-input::-ms-input-placeholder {
 
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
     color: #bbb;
    opacity: 1;
}
::-moz-placeholder { /* Firefox 19+ */
     color: #bbb;
    opacity: 1;
}
:-ms-input-placeholder { /* IE 10+ */
     color: #bbb;
    opacity: 1;
}
:-moz-placeholder { /* Firefox 18- */
     color: #bbb;
    opacity: 1;
}


.tl-reopen-search-county-dropdown {
	width: 313px;
    height: 36px;
    font-size: 1.4rem;
    padding-left: 22px;
    background-position: 90% 50%;
    background-repeat: no-repeat;
    background-image: url('https://www.townlively.com/wp-content/uploads/2020/05/tl-down-gray-arrow.png');
    background-size: 10px 9px;
    padding: .5em;
    padding-right: 1.5em;
    color: #bbb;
}
.tl-search-category-input {
    font-size: 1.4rem;
	background-position: 90% 50%;
    background-repeat: no-repeat;
    background-image: url('https://www.townlively.com/wp-content/uploads/2020/05/tl-down-gray-arrow.png');
    background-size: 10px 9px;
    padding: .5em;
    padding-right: 1.5em;
    color: #bbb;
	width: 276px;
	height: 36px;
    border: 1px solid #b7b8b9 !important;
    padding-left: 10px !important;
}
.tl-reopen-proximity {
	position: relative;
    margin-top: 16px;
}
.tl-proximity-text {
	font-size: 2rem;
	padding-bottom: 0px;
}
#tl-reopen-no-lead-space {
    display: none;
}

.tl-reopen-distance-input {
	color: gray;
    width: 220px;
    margin-bottom: 12px;
    background-position: 90% 50%;
    background-repeat: no-repeat;
    background-image: url('https://www.townlively.com/wp-content/uploads/2020/05/tl-down-gray-arrow.png');
    background-size: 10px 9px;
    padding: .5em;
    padding-right: 1.5em;
}
.tl-reopen-search-wrapper {
	margin-top: 12px;
    border-right: 2px solid #b5b3b3;
}
.tl-reopen-tweak {
    padding-left: 0px !important;
    max-width: 800px;
}
.tl-reopen-proximity {
    margin-left: 27px;
    margin-right: 27px;
}
.tl-reopen-search-submit {
    width: 275px;
    background-color: #255c8c;
    color: white;
    margin-left: 20px;
    margin-top: 15px;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: 10px;
}
.tl-reopen-submit-wrapper {
    margin-bottom: 5px;
}
.tl-tweak-two {
    padding-left: 12px;
    max-width: 33.333333%;
}

.acf-button.button {
    border: 1px solid black;
    padding: 5px;
    background: lightgray;
    color: black;
    float: left;
    margin-right: 23px;
    margin-top: -5px;
}

.acf-button.button.button-primary {
    color: #FFF;
    background-color: #27578c;
    text-transform: uppercase;
    padding: 11px;
    -webkit-appearance: none;
    border-radius: 0;
}
.acf-button.button.button-primary:hover {
  
    background-color:  #7dcb78;
 
}

.tl-reopen-search-submit:hover {
	background-color: #7dcb78;
}


.tl-reopen-distance-zip {
	width: 220px;
	padding-left: 8px;
    font-size: 1.7rem;
}
.tl-reopen-proximity-pointer {
	position: absolute;
    top: -22px;
    right: 13px;
    color: #255b8b;
    transform: rotateZ(180deg);
}

.tl-reopen-proximity-inputs {
    position: absolute;
    top: 29px;
    display: block;
    padding-top: 15px;
    width: 246px;
    background-color: #255c8c;
    text-align: center;
    padding-bottom: 15px;
    left: -123px;
    z-index: 50;
}

.tl-reopen-top-text, .tl-reopen-mid-text {
    text-align: center;
    color: #255c8c;
    font-size: 1.7rem;
    padding-bottom: 0px;
    margin-bottom: 5px;
}
.tl-reopen-distance-zip{
	padding-left: 5px !important;
	font-size: 1.6rem !important;
}
.tl-reopen-top-text {
	margin-top: 19px;
    font-weight: 600;
    margin-bottom: 19px;
}
.tl-reopen-mid-text {
    margin-bottom: 8px;
    margin-top: -7px;
}
.tl-reopen-bottom-text {
    margin-top: -1px;
    width: 390px;
    font-weight: 300;
    font-size: 1.6rem;
    letter-spacing: 1px;
    color: white;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: #83c87f;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.tl-reopen-bottom-text:hover {
	background-color: #255b8b;
}
#tl-reopen-distance-wrapper {
	display: none;
}
.tl-reopen-submit-wrapper {
    padding-top: 2px;
    padding-left: 0px;
}

@media (max-width: 1242px) {
    .tl-flex-row {
        display: block;
    }
    .tl-reopen-bottom-text {
        width: 100%;
    }
    .tl-reopen-search-wrapper {
            border-right: none;
    }
    .tl-reopen-tweak {
        padding-left: 0px !important;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
        padding-top: 15px;
    }
    .tl-tweak-two {
        max-width: 33.333333%;
        margin-left: auto;
        margin-right: auto;
        padding-bottom: 20px;
        border-top: 1px solid #bfbebe;
        padding-top: 5px;
        margin-top: 20px;
        padding-left: 0px;
    }
    .tl-reopen-search-results-top {
        display: block;
    }
    .tl-reopen-search-results-left {
        max-width: 796px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }
  
    .tl-leadspace {
        margin-left: auto;
        margin-right: auto;
    }
   .tl-grid-reopen-bottom-container {
        display: grid;
        grid-template-columns: auto auto;
        grid-column-gap: 20px;
        margin-left: 0px;
        max-width: 796px;
        margin-left: auto;
        margin-right: auto;
    }  
    .tl-grid-reopen-top-container-no-lead {
           display: grid;
            grid-template-columns: auto auto;
            grid-column-gap: 20px;
            margin-left: 0px;
            max-width: 796px;
            margin-left: auto;
            margin-right: auto;
    }

}
@media (max-width: 1100px) {
    .tl-proximity-text {
        font-size: 2rem;
    }
    .tl-reopen-search-submit {
        margin-left: 8px !important;
    }
    #tl-search-icon {
        margin-left: auto !important;
    }

}

@media (max-width: 1025px) {
    .tl-reopen-header {
        padding-left: 25px !important;
        padding-right: 25px !important;
    }

}

@media (max-width: 873px) {

    .tl-reopen-search-submit {
        margin-left: auto !important;
    }
    .tl-tweak-two {
        width: 250px;
    }
    .tl-reopen-top-text, .tl-reopen-mid-text {
        font-size: 1.5rem;
    }
    .tl-search-keyword-input, .tl-search-category-input {
        width: 100%;
    }
    .tl-reopen-search-bottom {
        display: block;
    }
    .tl-reopen-search-county-dropdown {
        width: 100%;
    }
    .tl-reopen-search-submit {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    .tl-reopen-proximity {
            width: 200px;
        margin-left: auto;
        margin-right: auto;
    }
    .tl-search-keyword-input {
        margin-bottom: 13px;
    }
    .tl-reopen-search-top {
        display: block;
    }
    .tl-proximity-text {
        text-align: center;
        width: 200px;
        margin-left: auto;
        margin-right: auto;
    }
    .tl-reopen-proximity-inputs {
        top: 28px;
        left: -57px;
    }
    .tl-reopen-search-container-wrapper {
        background-color: #e6e7e8;
        padding-left: 20px;
        padding-right: 20px;
    }

}
@media (max-width: 830px) {
   .tl-grid-reopen-top-container {
        grid-template-columns: auto;
        max-width: 381px;
        margin-left: auto;
        margin-right: auto;
    }
    .tl-grid-reopen-bottom-container { 
        grid-template-columns: auto;
        max-width: 381px;
        margin-left: auto;
        margin-right: auto;
    }
    .tl-grid-reopen-top-container-no-lead {
        grid-template-columns: auto;
        max-width: 381px;
        margin-left: auto;
        margin-right: auto;
    }
}
@media(max-width: 640px) {
    .tl-tweak-two {
        max-width: 90%;
    }
}
@media(max-width: 416px) {
     .tl-leadspace {
        margin-left: auto;
        margin-right: auto;
        height: 220px;
        width: 280px;
    }
    .tl-reopen-lower-right-card {
        margin-left: auto;
        margin-right: auto;
        margin-top: 29px;
    }
    .tl-reopen-lower-card-wrapper {
        display: block;
    }
    .tl-reopen-business-name {
        text-align: center;
    }
    .tl-reopen-card-wrapper {
        width: 290px;
        height: 350px;
    }
    .tl-grid-reopen-top-container {
        max-width: 290px;
    }
    .tl-grid-reopen-bottom-container {
        max-width: 290px;
    }
    .tl-grid-reopen-top-container-no-lead {
        max-width: 290px;
    }
    .tl-reopen-business-name {
        margin-bottom: 10px;
        font-size: 1.6rem;
    }

}
