

.slider-opacity-transition .rot-cpt-items .owl-item{
    opacity:0;
    transition: opacity 1.2s;
}
.slider-opacity-transition .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:100%;
        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: 50%;
    left: 0;
    right: auto;
    width: 100%;
    height: 20px;
    z-index: 6;
    transform: translateY(-50%);
    pointer-events: none;
}
.owl-theme .owl-nav [class*=owl-] {
    color: var( --text2 );
    font-size: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    display: block;
    cursor: pointer;
    border-radius:0;
    border: none;
    width: 20px;
    height: 20px;
    border-right: none;
    border-bottom: none;
    position: absolute;
    left:-2px;
    top: 0;
    transition:outline-color .4s, color 0.4s, background-color .4s, opacity .4s;
    pointer-events:all;
    /* opacity:0.4; */
}
.owl-theme .owl-nav .owl-next{
    transform: rotate(180deg);
    left: auto;
    right: 4px;
}
.owl-theme .owl-nav [class*=owl-]:hover {
    background: transparent;
    /* border-color: var(--text2); */
    color:inherit;

    text-decoration: none;
    opacity:1;
}
.owl-theme .owl-nav [class*=owl-]:hover:before {
    outline-color:var(--primary);
    color: var(--primary);
    background-color:var(--primary-hover);
    color: var(--white);
}
.owl-theme .owl-nav [class*=owl-]:before {
    outline: 2px solid var(--text2);
    outline: none;
    content: '\f053';
    background: var(--white);
    background: var(--grey-hover);
    background: var(--primary);
    color: white;
    width: 48px;
    height: 48px;
    position: absolute;
    transform-origin: center;
    border-radius: 200px;
    font-family: 'Line Awesome Free';
    font-weight: 900;
    font-size: 2.4rem;
    line-height: 1.3;
    transform: translate(-64%, -50%)!important;
    top: 50%;
    left: 50%;
    padding-right: 3px;
    right: auto;
    bottom: auto;
    transition: outline-color .4s, color .4s, background-color .4s;
}
.owl-nav .owl-prev:before {
    transform: translateY(-50%)!important;
    top: 50%;
}
.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-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){
    .owl-theme .owl-nav .owl-prev {
        left:-8px;
    }
    .owl-theme .owl-nav .owl-next {
        right: -8px;
    }
}
@media(min-width:1200px){
    .owl-theme .owl-nav .owl-prev {
        left:-25px;
    }
    .owl-theme .owl-nav .owl-next {
        right: -23px;
    }
}
@media(min-width:1440px){
    .owl-theme .owl-nav .owl-prev {
        left:-2rem;
    }
    .owl-theme .owl-nav .owl-next {
        right: -2rem;
    }
}
@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;
}
.slider-style-fullwidth .owl-nav{
	display: block!important;
}

/*Exception POSTS*/
.rot-cpt-items.rot-cpt-post .owl-nav{
    top:33%;
}
.rot-cpt-items.rot-cpt-post.owl-carousel article[class*="col-"] {
    padding-left: 0px;
    padding-right: 0px;
}
.rot-cpt-items.rot-cpt-post .owl-nav .owl-prev{
    left: 7px;
}
.rot-cpt-items.rot-cpt-post .owl-nav .owl-next{
    right: 7px;
}
body .slider-style-fullwidth .owl-nav .owl-prev{
    left: 38px;
}
body .slider-style-fullwidth .owl-nav .owl-next{
    right: 38px;
}
.rot-cpt-items.slider-style-fullwidth .owl-stage{
	min-height:320px;
	display:flex;
	align-items:center;

}
.rot-cpt-items.slider-style-fullwidth .owl-stage>.owl-item>figure{
	transition:height .4s;
	height:300px;
	border-left: 8px solid var(--white);
    border-right: 8px solid var(--white);
	background-size:cover!important;
}
.rot-cpt-items.slider-style-fullwidth .owl-stage>.owl-item.active ~ .active:not(.active ~ .active ~ .active){
	z-index:20;
}
.rot-cpt-items.slider-style-fullwidth .owl-stage>.owl-item.active ~ .active:not(.active ~ .active ~ .active)>figure {
    /* height: 420px; */
    /* width: 150%; */
    /* left: -50%; */
    position: relative;

}
@media(min-width:840px){
	.rot-cpt-items.slider-style-fullwidth .owl-stage>.owl-item.active ~ .active:not(.active ~ .active ~ .active)>figure {
		/* left: -25%; */
	}
}
/* .rot-cpt-items .owl-stage>.owl-item:not(.clone).active:nth-of-type(3)>figure{
	height:300px;
} */






@media(min-width:840px){
    .rot-cpt-items.rot-cpt-post .owl-nav .owl-prev{
        left: -8px;
    }
    .rot-cpt-items.rot-cpt-post .owl-nav .owl-next{
        right: -8px;
    }
}
@media(min-width:992px){
    body .slider-style-fullwidth .owl-nav .owl-next{
        right: 78px;
    }
	body .slider-style-fullwidth .owl-nav .owl-prev{
		left: 78px;
	}
}
@media(min-width:1200px){
    .rot-cpt-items.rot-cpt-post .owl-nav .owl-prev{
        left: -28px;
    }
    .rot-cpt-items.rot-cpt-post .owl-nav .owl-next{
        right: -28px;
    }
}
@media(min-width:1400px){
    .rot-cpt-items.rot-cpt-post .owl-nav .owl-prev{
        left: -32px;
    }
    .rot-cpt-items.rot-cpt-post .owl-nav .owl-next{
        right: -32px;
    }
}
@media(min-width:1600px){
    .rot-cpt-items.rot-cpt-post .owl-nav .owl-prev{
        left: -42px;
    }
    .rot-cpt-items.rot-cpt-post .owl-nav .owl-next{
        right: -42px;
    }
}
.owl-theme .owl-nav .disabled {
    opacity: 0.1;
    cursor: default;
}
.owl-theme .owl-nav .disabled:hover {
    opacity: 0.1;
}


/*SOCIAL MEDIA STYLE*/
.rot-cpt-owl{
	display: block;
	width: calc(100% + var(--container-margin) + var(--container-margin));
	overflow: hidden;
	margin-left: calc(0px - var(--container-margin));
}
.special-nav-wrap .rot-cpt-owl{
	display: block;
	width: 100%;
	overflow: hidden;
	margin-left: 0;
}


.owl-carousel{
	margin-bottom:10rem;
}
.owl-carousel .owl-item{
	min-height:200px;
}
.owl-item figure.gal-slider-item{
	position:relative;
	min-height: 200px;
}
.owl-item figure.gal-slider-item {
    position: relative;
    min-height: 200px;
    background-size: contain;
    background-repeat: no-repeat;
}