nav.navbar.navbar-default.navbar-static-top {
    border-top: 4px solid #59baf4 !important;
}

#wrapper {
    margin-top: 20px;
}

div#app-navbar-collapse {
    margin: 8px 0px 30px 0px;
}

ol {
    list-style: none;
}

ul {
    list-style: none;
}

.nav>li>a,
.navbar-brand {
    font-weight: 400;
}

div.header-links ul {
    padding: 0px;
}

.title-3 {
    margin: 30px 0px !important
    font-size: 60px;
    line-height: 40px;
}

li.list-group-item.themeModeLI {
    position: relative;
    left: 40px;
}

div.header-links ul li.list-group-item {
    padding: 10px;
}

div#navbar-search-wrap.more.col-md-6,
.col-md-4.custom-select2-container {
    padding: 3px;
}

.custom-padding-section {
    padding: 16px 36px;
}

.banner-background {
    background-image: url(/uploads/images/banner-background.jpg);
    min-height: 170px;
    /* background-size: cover; */
    position: relative;
    background-position: center;
}

.custom-post-add {
    color: #ffffff !important;
    background: #23222f;
    border-color: #23222f !important;
    border-radius: 4px;
    padding: 8px 20px !important;
    font-size: 16px !important;
    box-sizing: border-box;
    height: 40px;
    text-transform: none;
    width: auto;
}

.custom-form-control {
    background-color: transparent !important;
    border: 0px solid #ccc !important;
    padding: 0px 200px 0px 40px !important;
    font-size: 21px;
}

#navbar-search-wrap .globe-svg {
    position: absolute;
    padding: 9px;
}

.col-md-4 .list-svg {
    position: relative;
    top: 6px;
}

#navbar-search-wrap .globe-svg svg,
.custom-select2-container .list-svg svg {
    fill: #777777;
}

.custom-post-add:hover {
    background-color: #23222f !important;
}

form.mx-12rm .select2-container--default .select2-selection--single {
    border: 0px solid #aaa !important;
    background-color: transparent !important;
}

.custom-select2-container .select2-container .select2-selection--single .select2-selection__rendered {
    padding: 3px 0px 0px 12px !important;
    font-size: 20px !important;
}

/* .custom-select2-container .select2-container--open .select2-dropdown--below {
    width: 300px !important;
    border-top: 1px solid #aaa !important;
} */
.custom-select2-container .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 4px !important;
    right: -14px !important;
}

.or-4281208362 {
    padding: 15px;
    color: #292b2c !important;
}

.p-2rem {
    padding: 2rem !important;
}

.mx-12rm {
    margin: 0 12rem;
}

.shadow {
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.custom-post-add-li {
    margin: 4px 0px 4px 22px;
}

ul .list-group-item {
    display: inline-block;
}

ul .list-group-item .main-category-wrapper {
    display: grid;
}

ul .list-group-item a {
    display: grid;
    font-weight: 500;
    font-size: 18px;
}

body.dark ul .list-group-item a span.text-center svg {
    fill: #23222f;
}

body.light ul .list-group-item a span.text-center svg {
    fill: rgba(0, 0, 0, .55);
}

#post-new-ad .bg-css {
    background: #ffffff;
    box-shadow: 0 1px 2px -1px rgba(0, 0, 0, 0.5);
    border-radius: 6px;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.hover-bg:hover {
    background: #f5f5f5;
    border-radius: 7px;
}

.bg-custom {
    box-shadow: 0 1px 2px -1px rgba(0, 0, 0, 0.5);
    border: none;
}

.bg-custom {
    background-color: #f8f9f9;
}

.custom-color-select .country-select,
.custom-color-select .province-select,
.custom-color-select .region-select,
.custom-color-select .city-select {
    color: #369 !important;
}

.custom-color-select .country-select:hover {
    color: #fa7722 !important;
}

.border-bottom a {
    color: #333;
    display: inline-block;
    line-height: 20px;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.border-bottom {
    border-bottom: 1px solid #dee2e6 !important;
}

/* Start Footer */
body.dark .footer-title {
    color: #373373;
}

body.light .footer-title {
    color: rgba(0, 0, 0, .55);
}

footer .widget-custom-menu li a {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

footer .widget-custom-menu li a:hover {
    color: #23222f;
}

footer .widget-custom-menu li {
    padding: 4px;
}

footer .payment-method-logo img {
    display: inline-block;
    margin: 0 5px;
    height: 36px;
}

.copy-info {
    font-size: 16px;
    font-weight: 500;
}

body.dark .copy-info {
    color: #23222f;
}

body.light .copy-info {
    color: rgba(0, 0, 0, .55);
}

/* End Footer */
#regionModalLabel {
    color: #23222f;
}

#regionModal form .form-group h4 {
    color: #3f6f9f;
}

#location-custom {
    text-align: left;
}

#search-location-btn {
    background-color: #23222f;
    border-color: #23222f;
}

#search-location-btn:hover {
    background-color: #23222f;
    border-color: #23222f;
}

.modal-header.bg-light.rounded button.close.px-3 {
    border-radius: 16px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    background-color: #ffffff;
    font-size: 34px;
}

@media (min-width: 768px) {
    .modal-dialog-custom {
        width: 500px;
    }
}

/* Start Banner */

.banner .header-text {
    padding: 68px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 12px 0 rgb(11 12 31 / 50%);
}

.banner .header-image {
    padding: 24px 0 24px 88px;
}

.banner .image-link {
    height: 220px;
    border-radius: 12px;
    box-shadow: 0 2px 10px 0 rgb(11 12 31 / 50%);
    margin: 0 4px;
    min-width: unset;
    padding-bottom: unset;
    box-sizing: border-box;
    display: block;
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    text-align: center;
    width: 100%;
}

.banner .inner-header {
    height: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.banner .links-custom {
    background-color: hsla(0, 0%, 100%, .9);
    color: #23222f;
    font-size: 18px;
    font-weight: 700;
    line-height: 20px;
    padding: 5px 10px;
}

.banner .links-custom:hover {
    color: hsla(0, 0%, 100%, .9);
    background-color: #23222f;
}

/* End Banner */
/* Start Sign In */
.content-box {
    box-shadow: none;
    border: 1px solid #ddd;
}

.row-featured {
    overflow: hidden;
    margin-right: -16px;
}

.signInMarketingHeading-549877605 {
    font-size: 22px;
    font-weight: 700;
    line-height: 26px;
    margin-bottom: 10px;
    margin-top: 0;
}

.signInMarketingBody-2245658267 {
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    margin-bottom: 25px;
    margin-top: 0;
}

.signInMarketingButton-2828027866 {
    border-radius: 4px;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    background-color: #fff;
    border: 1px solid #fff;
    color: #23222f;
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
}

.link__default-1151936189 {
    text-decoration: none;
    color: #23222f !important;
    font-size: 16px;
    transition: color .2s linear;
}

/* End Sign In */
/* Start Bread Crumb */
.default-breadcrumb li.crumb::after,
.default-breadcrumb li.crumb::before {
    display: block;
    position: absolute;
    top: 0;
    height: 100%;
    width: 1.5em;
    content: "";
}

.default-breadcrumb li.crumb .link,
.locationModalTrigger-555572005,
.open-on-hover .header_username,
.text-3814801860 {
    text-overflow: ellipsis;
    white-space: nowrap;
}

.default-breadcrumb {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    list-style: none;
    font-size: 2.3rem;
    padding: 0px 4px;
}

.default-breadcrumb li.crumb {
    position: relative;
    margin-bottom: .5em;
    padding: .22em;
    background-color: #23222f;
    color: #8093a7;
}

.default-breadcrumb li.crumb::after {
    left: 100%;
    background-color: #23222f;
    clip-path: polygon(50% 50%, -50% -50%, 0 100%)
}

.default-breadcrumb li.crumb::before {
    left: 3px;
    background-color: #23222f;
    clip-path: polygon(100% 0, 100% 100%, 0% 100%, 50% 50%, 0% 0%);
    transform: translateX(-100%);
}

.default-breadcrumb li.crumb:not(:first-child) {
    margin-left: 2em;
}

.default-breadcrumb li.crumb:first-child {
    padding-left: .5em;
    border-radius: 5px 0 0 5px;
}

.default-breadcrumb li.crumb.active {
    background-color: #23222f;
    color: #fff;
}

.default-breadcrumb li.crumb.active::after,
.default-breadcrumb li.crumb.active::before {
    background-color: #00b0ff;
}

.default-breadcrumb li.crumb .link {
    max-width: 250px;
    overflow: hidden;
}

.default-breadcrumb li.crumb a {
    color: #fff;
    font-size: 16px;
}

.default-breadcrumb li.crumb a:hover {
    color: #59baf4
}

[dir=rtl] .default-breadcrumb li.crumb {
    text-align: right;
    direction: rtl !important;
}

[dir=rtl] .default-breadcrumb li.crumb::after {
    right: 100% !important;
    left: unset !important;
    background-color: #eaecf1;
    clip-path: polygon(50% 50%, 100% 100%, 100% 0);
}

[dir=rtl] .default-breadcrumb li.crumb::before {
    right: 1px !important;
    left: unset !important;
    clip-path: polygon(0 0, 0 100%, 100% 100%, 50% 50%, 100% 0);
    transform: translateX(100%);
}

[dir=rtl] .default-breadcrumb li.crumb:not(:first-child) {
    margin-right: 2em;
    margin-left: 0;
}

[dir=rtl] .default-breadcrumb li.crumb:first-child {
    padding-right: .5em;
    padding-left: 0;
    border-radius: 0 5px 5px 0;
}

/* Start Bread Crumb */
nav.navbar.navbar-default.navbar-static-top {
    border-top: 4px solid #59baf4 !important;
}

#wrapper {
    margin-top: 20px;
}

div#app-navbar-collapse {
    margin: 8px 0px 30px 0px;
}

ol {
    list-style: none;
}

ul {
    list-style: none;
}

.nav>li>a,
.navbar-brand {
    font-weight: 400;
}

div.header-links ul {
    padding: 0px;
}

li.list-group-item.themeModeLI {
    position: relative;
    left: 70px;
}

div#navbar-search-wrap.more.col-md-6,
.col-md-4.custom-select2-container {
    padding: 3px;
}

.custom-padding-section {
    padding: 16px 36px;
}

.banner-background {
    background-image: url(/uploads/images/banner-background.jpg);
    min-height: 170px;
    /* background-size: cover; */
    position: relative;
    background-position: center;
}

.custom-post-add {
    color: #ffffff !important;
    background: #23222f;
    border-color: #23222f !important;
    border-radius: 6px;
    padding: 8px 20px !important;
    font-size: 16px !important;
    box-sizing: border-box;
    height: 40px;
    text-transform: none;
    width: auto;
}

.custom-form-control {
    border: 0px solid #ccc !important;
    padding: 0px 70px 0px 40px !important
    font-size: 20px;
    font-weight: 600;
}

#navbar-search-wrap .globe-svg {
    position: absolute;
    padding: 0px 10px;
    font-size: 18px;
}

.col-md-4 .list-svg {
    position: relative;
    top: 6px;
}

#navbar-search-wrap .globe-svg svg,
.custom-select2-container .list-svg svg {
    fill: #777777;
}

.custom-post-add:hover {
    background-color: #23222f !important;
}

form.mx-12rm .select2-container--default .select2-selection--single {
    border: 0px solid #aaa !important;
    background-color: transparent !important;
}

.custom-select2-container .select2-container .select2-selection--single .select2-selection__rendered {
    padding: 3px 0px 0px 12px !important;
    font-size: 20px !important;
}

/* .custom-select2-container .select2-container--open .select2-dropdown--below {
    width: 300px !important;
    border-top: 1px solid #aaa !important;
} */
.custom-select2-container .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 4px !important;
    right: -14px !important;
}

.or-4281208362 {
    padding: 15px;
    color: #292b2c !important;
}

.p-2rem {
    padding: 2rem !important;
}

.mx-12rm {
    margin: 0 12rem;
}

.shadow {
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.custom-post-add-li {
    margin: 4px 0px 4px 22px;
}

ul .list-group-item {
    display: inline-block;
}

ul .list-group-item .main-category-wrapper {
    display: grid;
}

ul .list-group-item a {
    display: grid;
    font-weight: 500;
    font-size: 14px;
}

body.dark ul .list-group-item a span.text-center svg {
    fill: #23222f;
}

body.light ul .list-group-item a span.text-center svg {
    fill: rgba(0, 0, 0, .55);
}

#post-new-ad .col-md-8.col-md-offset-2 {
    background: #ffffff;
    box-shadow: 0 1px 2px -1px rgba(0, 0, 0, 0.5);
    border-radius: 6px;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.hover-bg:hover {
    background: #f5f5f5;
    border-radius: 7px;
}

.bg-custom {
    box-shadow: 0 1px 2px -1px rgba(0, 0, 0, 0.5);
    border: none;
}

.custom-color-select .country-select,
.custom-color-select .province-select,
.custom-color-select .region-select,
.custom-color-select .city-select {
    color: #369 !important;
}

.custom-color-select .country-select:hover {
    color: #fa7722 !important;
}

.border-bottom a {
    color: #333;
    display: inline-block;
    line-height: 20px;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.border-bottom {
    border-bottom: 1px solid #dee2e6 !important;
    padding: 10px 0px 4px 0px !important;
}

.border-bottom:hover {
    background: #c6c8ce;
    border-radius: 5px;
    transition: 1s;
    padding: 10px 0px 4px 0px !important;
}

/* Start Footer */
/* body.dark .footer-title {
    color: #37A864;
} */

.footer-title {
    font-weight: 600;
}

body.light .footer-title {
    color: rgba(0, 0, 0, .55);
}

footer .widget-custom-menu li a {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

footer .widget-custom-menu li a:hover {
    color: #23222f;
}

footer .widget-custom-menu li {
    padding: 4px;
}

footer .payment-method-logo img {
    display: inline-block;
    margin: 0 5px;
    height: 36px;
}

.copy-info {
    font-size: 16px;
    font-weight: 500;
}

body.dark .copy-info {
    color: #23222f;
}

body.light .copy-info {
    color: rgba(0, 0, 0, .55);
}

/* End Footer */
#regionModalLabel {
    color: #23222f;
}

#regionModal form .form-group h4 {
    color: #3f6f9f;
}

#location-custom {
    text-align: left;
}

#search-location-btn {
    background-color: #23222f;
    border-color: #23222f;
}

#search-location-btn:hover {
    background-color: #23222f;
    border-color: #23222f;
}

.modal-header.bg-light.rounded button.close.px-3 {
    border-radius: 16px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    background-color: #ffffff;
    font-size: 34px;
}

@media (min-width: 768px) {
    .modal-dialog-custom {
        width: 500px;
    }
}

/* Start Banner */
.dark .banner {
    background: linear-gradient(90deg, #373373 0%, #6860D9 100%) !important;
}
.light .banner {
    background: #5971c7 !important;
}
.banner {
    width: 100%;
    background: linear-gradient(90deg, #373373 0%, #6860D9 100%) !important;
    min-height: 220px;
    display: flex;
    position: relative;
}

.banner .header-text {
    padding: 68px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 12px 0 rgb(11 12 31 / 50%);
}

.banner .header-image {
    padding: 24px 0 24px 88px;
}

.dark .banner .banner-heading {
    color: rgb(55, 168, 100);
}

.light .banner .banner-heading {
    color: rgb(28 39 76);
}

.banner .banner-heading {
    font-family: Roboto, Helvetica, Arial, sans-serif;
    font-size: 22px;
    line-height: 26px;
    font-weight: 500;
}

.banner .banner-heading span {
    color: #fefeff;
}

.banner .image-link {
    height: 220px;
    border-radius: 12px;
    box-shadow: 0 2px 10px 0 rgb(11 12 31 / 50%);
    margin: 0 4px;
    min-width: unset;
    padding-bottom: unset;
    box-sizing: border-box;
    display: block;
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    text-align: center;
    width: 100%;
}

.banner .inner-header {
    height: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.banner .links-custom {
    background-color: hsla(0, 0%, 100%, .9);
    color: rgb(55, 168, 100);
    font-size: 18px;
    font-weight: 700;
    line-height: 20px;
    padding: 5px 10px;
}

.banner .links-custom:hover {
    color: hsla(0, 0%, 100%, .9);
    background-color: rgb(55, 168, 100);
}

/* End Banner */
/* Start Sign In */
.content-box {
    box-shadow: none;
    border: 1px solid #ddd;
}

.row-featured {
    overflow: hidden;
    margin-right: -16px;
}

.dark .signInMarketing-4274934412 {
    background: linear-gradient(90deg, #373373 0%, #6860D9 100%) !important;
}

.light .signInMarketing-4274934412 {
    background: #5971c7 !important;
}

.signInMarketing-4274934412 {
    border-radius: 16px;
    background: linear-gradient(90deg, #373373 0%, #6860D9 100%) !important;
    /*background-color: #23222f;*/
    color: #fff;
    padding: 40px;
    text-align: center;
}

.signInMarketingHeading-549877605 {
    font-size: 32px;
    font-weight: 700;
    line-height: 26px;
    margin-bottom: 10px;
    margin-top: 0;
}

.signInMarketingBody-2245658267 {
    font-size: 22px;
    font-weight: 400;
    line-height: 50px;
    margin-bottom: 16px;
    margin-top: 0;
}

.signInMarketingButton-2828027866 {
    border-radius: 6px;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    background-color: #fff;
    border: 1px solid #fff;
    color: #23222f;
    display: inline-block;
    padding: 10px 30px;
    text-decoration: none;
}

.link__default-1151936189 {
    text-decoration: none;
    color: #23222f !important;
    font-size: 16px;
    font-weight: 600;
    transition: color .2s linear;
}

.dark .signInMarketingButton-2828027866:hover {
    background: linear-gradient(90deg, #373373 0%, #6860D9 100%) !important;
}

.light .signInMarketingButton-2828027866:hover {
    background: #5971c7 !important;
}

.signInMarketingButton-2828027866:hover {
    background: linear-gradient(90deg, #373373 0%, #6860D9 100%) !important;
    color: #fff !important;
    text-decoration: underline;
}

/* End Sign In */
/* Start Bread Crumb */
.default-breadcrumb li.crumb::after,
.default-breadcrumb li.crumb::before {
    display: block;
    position: absolute;
    top: 0;
    height: 100%;
    width: 1.5em;
    content: "";
}

.default-breadcrumb li.crumb .link,
.locationModalTrigger-555572005,
.open-on-hover .header_username,
.text-3814801860 {
    text-overflow: ellipsis;
    white-space: nowrap;
}

.default-breadcrumb {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    list-style: none;
    font-size: 2.3rem;
    padding: 0px 4px;
}

.default-breadcrumb li.crumb {
    position: relative;
    margin-bottom: .5em;
    padding: .22em;
    background-color: #373373;
    color: #8093a7;
}

.default-breadcrumb li.crumb::after {
    left: 100%;
    background-color: #373373;
    clip-path: polygon(50% 50%, -50% -50%, 0 100%)
}

.default-breadcrumb li.crumb::before {
    left: 3px;
    background-color: #373373;
    clip-path: polygon(100% 0, 100% 100%, 0% 100%, 50% 50%, 0% 0%);
    transform: translateX(-100%);
}

.default-breadcrumb li.crumb:not(:first-child) {
    margin-left: 2em;
}

.default-breadcrumb li.crumb:first-child {
    padding-left: .5em;
    border-radius: 5px 0 0 5px;
}

.default-breadcrumb li.crumb.active {
    background-color: #23222f;
    color: #fff;
}

.default-breadcrumb li.crumb.active::after,
.default-breadcrumb li.crumb.active::before {
    background-color: #00b0ff;
}

.default-breadcrumb li.crumb .link {
    max-width: 250px;
    overflow: hidden;
}

.default-breadcrumb li.crumb a {
    color: #fff;
    font-size: 16px;
}

.default-breadcrumb li.crumb a:hover {
    color: #59baf4
}

[dir=rtl] .default-breadcrumb li.crumb {
    text-align: right;
    direction: rtl !important;
}

[dir=rtl] .default-breadcrumb li.crumb::after {
    right: 100% !important;
    left: unset !important;
    background-color: #eaecf1;
    clip-path: polygon(50% 50%, 100% 100%, 100% 0);
}

[dir=rtl] .default-breadcrumb li.crumb::before {
    right: 1px !important;
    left: unset !important;
    clip-path: polygon(0 0, 0 100%, 100% 100%, 50% 50%, 100% 0);
    transform: translateX(100%);
}

[dir=rtl] .default-breadcrumb li.crumb:not(:first-child) {
    margin-right: 2em;
    margin-left: 0;
}

[dir=rtl] .default-breadcrumb li.crumb:first-child {
    padding-right: .5em;
    padding-left: 0;
    border-radius: 0 5px 5px 0;
}

/* Start Bread Crumb */
/* start Editor */
div.mce-edit-area {
    padding: 0 var(--ck-spacing-standard);
    border: 1px solid transparent;
    overflow: auto;
    min-height: 350px;
}

#mceu_13 {
    display: none;
}

/* End Editor */

/* Start New Theme Find Area */

@media (min-width: 1200px) {
    /*.dark .custom-findarea-spacing {*/
    /*    padding: 12px 260px 30px 260px !important;*/
    /*}*/
    
    .light .custom-findarea-spacing {
        padding: 12px 180px 30px 200px !important;
    }
}

.custom-findarea {
    display: flex;
    align-items: center;
    flex-grow: 1;
    padding: 12px 0px 12px 6px !important;
    border-radius: 10px;
    box-shadow: 0px 3px 6px 6px rgba(0, 0, 0, 0.1);
}

.custom-post-add:hover {
    background: #23222f !important;
    border-color: #23222f !important;
}

.custom-color-find-btn {
    background: #23222f !important;
    border-color: #23222f !important;
}

.custom-color-find-btn:hover {
    background: #23222f !important;
    border-color: #23222f !important;
}

button#themeMode {
    font-weight: 600;
    background: #F9F9F9 !important;
    box-shadow: 0px 2px 6px 2px #00000040 !important;
}

.dark button#themeMode:hover {
    background: #EFEEEE !important;
    box-shadow: 0px 2px 6px 2px #00000040 !important;
}

.rounded-hover-links:hover {
    background: #C6C8CE;
    border-radius: 5px !important;
}

/* End New Theme Find Area */


/* START TOP HEADER TOOLTIP CSS */

/* START TOOLTIP STYLES */
[tooltip] {
    position: relative;
    /* opinion 1 */
}

/* Applies to all tooltips */
[tooltip]::before,
[tooltip]::after {
    text-transform: none;
    /* opinion 2 */
    font-size: 0.9em;
    /* opinion 3 */
    line-height: 1;
    user-select: none;
    pointer-events: none;
    position: absolute;
    display: none;
    opacity: 0;
}

[tooltip]::before {
    content: "";
    border: 5px solid transparent;
    /* opinion 4 */
    z-index: 1001;
    /* absurdity 1 */
}

[tooltip]::after {
    content: attr(tooltip);
    /* magic! */

    /* most of the rest of this is opinion */
    font-family: Helvetica, sans-serif;
    text-align: center;

    /* 
    Let the content set the size of the tooltips 
    but this will also keep them from being obnoxious
    */
    min-width: 3em;
    max-width: 21em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 1ch 1.5ch;
    border-radius: 0.3ch;
    box-shadow: 0 1em 2em -0.5em rgba(0, 0, 0, 0.35);
    background: #333;
    color: #fff;
    z-index: 1000;
    /* absurdity 2 */
}

/* Make the tooltips respond to hover */
[tooltip]:hover::before,
[tooltip]:hover::after {
    display: block;
}

/* don't show empty tooltips */
[tooltip=""]::before,
[tooltip=""]::after {
    display: none !important;
}

/* FLOW: UP */
[tooltip]:not([flow])::before,
[tooltip][flow^="up"]::before {
    bottom: 100%;
    border-bottom-width: 0;
    border-top-color: #333;
}

[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::after {
    bottom: calc(100% + 5px);
}

[tooltip]:not([flow])::before,
[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::before,
[tooltip][flow^="up"]::after {
    left: 50%;
    transform: translate(-50%, -0.5em);
}

/* FLOW: DOWN */
[tooltip][flow^="down"]::before {
    top: 100%;
    border-top-width: 0;
    border-bottom-color: #333;
}

[tooltip][flow^="down"]::after {
    top: calc(100% + 5px);
}

[tooltip][flow^="down"]::before,
[tooltip][flow^="down"]::after {
    left: 50%;
    transform: translate(-50%, 0.5em);
}

/* FLOW: LEFT */
[tooltip][flow^="left"]::before {
    top: 50%;
    border-right-width: 0;
    border-left-color: #333;
    left: calc(0em - 5px);
    transform: translate(-0.5em, -50%);
}

[tooltip][flow^="left"]::after {
    top: 50%;
    right: calc(100% + 5px);
    transform: translate(-0.5em, -50%);
}

/* FLOW: RIGHT */
[tooltip][flow^="right"]::before {
    top: 50%;
    border-left-width: 0;
    border-right-color: #333;
    right: calc(0em - 5px);
    transform: translate(0.5em, -50%);
}

[tooltip][flow^="right"]::after {
    top: 50%;
    left: calc(100% + 5px);
    transform: translate(0.5em, -50%);
}

/* KEYFRAMES */
@keyframes tooltips-vert {
    to {
        opacity: 0.9;
        transform: translate(-50%, 0);
    }
}

@keyframes tooltips-horz {
    to {
        opacity: 0.9;
        transform: translate(0, -50%);
    }
}

/* FX All The Things */
[tooltip]:not([flow]):hover::before,
[tooltip]:not([flow]):hover::after,
[tooltip][flow^="down"]:hover::before,
[tooltip][flow^="down"]:hover::after {
    animation: tooltips-vert 300ms ease-out forwards;
}

main {
    flex: 1 1 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

main div {
    text-align: center;
    color: #353539;
}

main a {
    padding: 0.5em 1em;
    margin: 0.5em;
    display: inline-block;
    background: #dedede;
}

/* END TOP HEADER TOOLTIP CSS */








































