

.rot-cpt-items .owl-item{
    opacity:0;
    transition: opacity 1.2s;
}
.rot-cpt-items .owl-item.active{
    opacity:1;
}

.rot-cpt-content .cpt-icons img{
    width:auto;
}

.rot-cpt-thumb img{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 0;
    object-fit:cover;
}

.rot-cpt-images{
    display: flex;
    flex-wrap: wrap;
}
.rot-cpt-thumb {
    position: relative;
    top: 0;
    left: 0;
    height: 0;
    padding-bottom: 80%;
    width: 100%;
    z-index: 0;
    margin-top: 0;
    margin-bottom: 0;
    border-radius: 0px;
    /* overflow: hidden; */
}
.rot-cpt-thumb.smaller {
    /* position: relative;
    top: -2rem;
    height: 0;
    padding-bottom:40%;
    width: 50%; */
    /* border: 4px solid var(--white); */
    padding-bottom:60%;
}
.rot-cpt-thumb.smaller.img2 {
    /* right: auto;
    left: 0px;
    border-top: 4px solid var(--white);
    border-right: 2px solid var(--white);
    flex: 0 0 50%; */
    margin-right:2px;
}
.rot-cpt-thumb.smaller.img3 {
    /* right: 0px;
    left: auto;
    border-top: 4px solid var(--white);
    border-left: 2px solid var(--white);
    flex: 0 0 50%; */
    margin-left:2px;
}

.rot-cpt-thumb img{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 0;
    object-fit:cover;
}
.img-container-inner{
    flex-direction: row;
    width: 100%;
    margin-top: 4px;
}
@media(min-width:1200px){
    .rot-cpt-images{
        justify-content: flex-end;
    }
    .rot-cpt-thumb:not(.smaller){
        width:100%;
        flex: 0 0 calc(100%);
    }
    .rot-cpt-item-projects .rot-cpt-thumb:not(.smaller){
        width:85%;
        order: 1;
        flex: 0 0 calc(70% - 6px);
        margin-right: 3px;
        margin-left: 3px;
    }
    .img-container-inner{
        flex: 0 0 calc(30% - 6px);
        order: 0;
        margin-right: 3px;
        margin-left: 3px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        flex-wrap: nowrap;
        align-items: flex-end;
        margin-top:0;
    }
    .rot-cpt-thumb.smaller {
        padding-bottom: 60%;
        height: calc(50% - 3px);
    }
    .rot-cpt-thumb.smaller.img2 {
        margin-right: 0;
        margin-bottom: 3px;
    }
    .rot-cpt-thumb.smaller.img3 {
        margin-left: 0;
        margin-top: 3px;
    }
}


/*--TYPO*/
.rot-cpt-item h3{
    margin-bottom: .7em;
}
.rot-cpt-images{
    margin-top:1.25rem;
}
@media(min-width:768px){
    .rot-cpt-images{
        margin-top:0rem;
    }

}

/*carousels*/
.rot-cpt-items.allways-show-nav .owl-nav{
    display:block!important;
}
.rot-cpt-items .owl-nav {
    margin-top: 0px;
    position: absolute;
    top: 1.3rem;
    left: 25px;
    right: auto;
    width: 4rem;
    height: 4rem;
    z-index: 6;
}
.owl-theme .owl-nav [class*=owl-] {
    color: var( --text2 );
    font-size: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    display: block;
    cursor: pointer;
    border-radius: 2px;
    border: 3px solid var( --text2 );
    width: 16px;
    height: 16px;
    border-right: none;
    border-bottom: none;
    transform: rotate(-45deg);
    position: absolute;
    left:0;
    top: 0;
    transition:all 0.4s;
}
.owl-theme .owl-nav .owl-next{
    transform: rotate(135deg);
    left: auto;
    right: 0;
}
.owl-theme .owl-nav [class*=owl-]:hover {
    background: transparent;
    border-color: var(--text2);
    text-decoration: none;
    opacity:0.4;
}
.owl-theme .owl-nav [class*=owl-]:before {
    outline: 2px solid var(--text2);
    content: '';
    width: 32px;
    height: 32px;
    position: absolute;
    transform-origin: center;
    /* transform: rotate(45deg) translateX(-46px); */
    border-radius: 200px;
    transform: translate(-19px, -13px);
}

.rot-cpt-owl{
    display:flex;
    justify-content:center;
    margin-top:1rem;
}
.rot-cpt-items{
    max-width:100%;
}
.rot-cpt-items.row{
    max-width:calc(100% + 30px);
}

.rot-term-item{
    display: flex;
    align-content: center;
    flex-grow: 1;
}
.rot-term-item .term-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    padding-left: 0.8rem;
    width: 70%;
}
.rot-term-item .rot-term-label {
    hyphens: auto;
    margin: 0;
    padding: 0;
    padding-left: 4px;
    line-height: 1;
    font-size: 18px;
}
.rot-term-item .rot-term-count{
    background: rgb(98, 143, 158);
    width: 100%;
    text-align: center;
    font-size: 16px;
    border-radius: 12px;
    margin-top: 7px;
    line-height: 1.6;
    color: white;
    font-weight: 400;
}

@media(min-width:576px){
    .rot-cpt-thumb {
        padding-bottom: 380px;
    }

    .rot-cpt-thumb.smaller {
        padding-bottom: 260px;
    }

}
@media(min-width:768px){
    .rot-cpt-items .owl-nav {
        top: 1rem;
    }
    .rot-cpt-thumb {
        padding-bottom: 80%;
    }
    .rot-cpt-thumb.smaller {
        padding-bottom: 60%;
    }
    .rot-post-type-post .rot-cpt-thumb{
        padding-bottom:65%;
        margin-bottom:1.5rem;
    }
}
@media(min-width:992px){
    .rot-cpt-items .owl-nav {
        top: 1.5rem;
    }
}
@media(max-width:767.98px){
    .owl-theme.allways-show-nav .owl-nav [class*=owl-] {
        display:block;
    }
}

/*GALLERY CAROUSEL*/
[data-id='sync1']{
    width: calc(100% + 4px);
    margin-left: -2px;
    margin-right: -2px;
}
[data-id='sync2']{
    margin-left: -6px;
    margin-right: -6px;
    width: calc(100% + 12px);
}
[data-id='sync2'] .owl-stage-outer{
    width: 100%;
}

[data-id='sync2'] .owl-stage-outer .owl-stage .owl-item{
    height: auto;
    overflow: hidden;
    margin: 10px 0;
    position: relative;
}
[data-id='sync2'] .owl-stage-outer .owl-stage .owl-item .item{
    height: 0;
    margin: 0;
    padding: 0;
    padding-bottom: calc(100% - 18px);
    margin-left: 6px;
    margin-right: 6px;
    position: relative;
    border-radius: 1px;
    overflow: hidden;

}
[data-id='sync2'] .owl-stage-outer .owl-stage .owl-item .item .rot-attachment-img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

[data-id='sync1'] .item {
    background: #7b7b7b6b;
    margin: 2px;
    color: #FFF;
    text-align: center;
    border-radius: 1px;
    overflow: hidden;
}
[data-id='sync1'] .item .rot-attachment-img{
    padding-bottom: 78.8%;
    top: 0;
    left: 0;
    position: relative;
    height: 0;
    /* margin-top: 6px; */
}
[data-id='sync1'] .item .rot-attachment-img img{
    height: 100%;
    width: 100%;
    position: absolute;
    object-fit: cover;
}
[data-id='sync1'] .item span.attachment{
    bottom:0;
    position: absolute;
    color:transparent;
}

[data-id='sync2'] .item {
      background: #C9C9C9;
      padding: 10px 0px;
      margin: 5px;
      color: #FFF;
      -webkit-border-radius: 3px;
      -moz-border-radius: 3px;
      border-radius: 3px;
      text-align: center;
      cursor: pointer;
}
[data-id='sync2'] .item h1 {
        font-size: 18px;
}

[data-id='sync2'] .current .item{
    background: #eef3f3;
}
[data-id='sync1'].owl-theme .owl-nav [class*='owl-'] {
    /*default owl-theme theme reset .disabled:hover links */
    transition: all .3s ease;
}
[data-id='sync1'].owl-theme .owl-nav [class*='owl-'].disabled:hover {
         background-color: #D6D6D6;
}

/*arrows on first carousel*/
[data-id='sync1'].owl-theme {
    position: relative;
}
[data-id='sync1'].owl-theme .owl-next, .owl-prev {
      width: 22px;
      height: 40px;
      margin-top: -20px;
      position: absolute;
      top: 50%;
}
[data-id='sync1'].owl-theme .owl-prev {
      left: 10px;
      display:none;
}
[data-id='sync1'].owl-theme .owl-next {
      right: 10px;
      display:none;
}
.rot-attachment-items .owl-theme .owl-dots .owl-dot {
    box-shadow: none;
    height: 34px;
}

.rot-attachment-items .owl-theme .owl-dots .owl-dot span {
    width: 16px;
    height: 16px;
    margin: 5px 7px;
    background: #D6D6D6;
    display: block;
    transition: opacity .2s ease;
    border-radius: 30px;
    background-color: var( --primary);

}
.rot-attachment-items .owl-theme .owl-dots .owl-dot.active span {

    background: var( --secondary);
}
.d-none{
    display:none!important;
}