/*Things to Do*/

.thing-to-do.card {
    border: 1px solid #dadada;
    height:100%;
    position: relative;
    border-radius: var(--theme--border-radius);
    overflow:hidden;
}

.thing-to-do .card-body {
    font-size: var(--text-size-small);
    padding:2em;
}


.thing-to-do .card-img-top img {
    width:100%;
    height:300px;
    object-fit:cover;
}

.things-to-do .nav-tabs {
    border:none !important;
    margin-bottom:1em;
    margin-left:0;
    padding-left:0;
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
}

.things-to-do .nav-tabs > li {
    margin-bottom:0;
}

.things-to-do .nav-link  {
    color: var(--theme--primary-color);
    margin-right:1em;
    margin-bottom:1em;
    border: 1px solid var(--theme--primary-color);
    padding:10px 20px;;
    border-radius: var(--theme--border-radius);
    line-height: 1;
    cursor:pointer;
}

.things-to-do .nav-link:hover {
    border-color: var(--theme--secondary-color);
    background-color: var(--theme--secondary-color);
    color: #fff;
}

.things-to-do .nav-link.active {
    border-color: var(--theme--primary-color);
    background-color: var(--theme--primary-color);
    color: #fff;
}

.things-tags {
    margin-bottom:0.5em;
}

.things-tag {
    margin-bottom: 0.5em;
    margin-right: 0.5em;
    text-transform: uppercase;
    font-weight:var(--theme--body-font-weight);
    font-size:var(--text-size-small);
    padding: 0.5em 1em;
    border: 1px solid #ccc;
    border-radius: var(--theme--border-radius);
    line-height:1;
}

.thing-to-do .details {
    list-style: none;
    padding: 0;
    line-height: 1.5em;
    margin-bottom: 0.75em;
    margin-left:0;
}

.thing-to-do .details > li {
    padding-left:30px;
    position: relative;
    margin-bottom:5px;
    color: var(--theme--primary-color);
}

.thing-to-do .details > li a {
    text-decoration: none;
    font-weight: var(--theme--button-font-weight);
    line-height: 1em;
}

.thing-to-do .details > li.website {
    width: 100%;
    max-width: 300px;
    overflow: hidden;
}

.thing-to-do .details > li::before {
    content: '\f105';
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    position: absolute;
    left:0;
    color: var(--theme--primary-color);
}

.thing-to-do .details > li.phone::before {
    content: '\f095';
}

.thing-to-do .details > li.address::before {
    content: '\f3c5';
}

.thing-to-do .details > li.website::before {
    content: '\f109';
}

img.attachment-small.size-small.wp-post-image {
    width: 100%;
    height: auto;
}

.thingsToDoTitle {
    font-size: var(--text-size-large);
}

.thing-to-do .card-img-top .admin-link {
    color: #fff;
    position:absolute;
    left: 10px;
    bottom: 10px;
    z-index: 1;
}

.thing-to-do .card-img-top {
    position:relative;
}

.things-to-do-read-more {
    position:relative;
    padding-bottom: 10px;
    color: var(--theme--text-color);
    text-decoration: none;
    cursor: pointer;
    font-weight: var(--theme--button-font-weight);
}

.things-to-do-read-more::before,
.things-to-do-read-more::after{
    content: '';
    position:absolute;
    left:0;
    right:0;
    height:3px;
    bottom:0;
    background-color: var(--theme--primary-color-20);
    z-index:1;
}

.things-to-do-read-more::after {
    z-index:2;
    background-color: var(--theme--primary-color);
    transform:scaleX(0);
    transform-origin:center left;
    transition-duration:300ms;
    transition-timing-function:ease-in-out;
}

.things-to-do-read-more:hover::after {
    transform:scaleX(1);
}