/* ELEMENTOR WIDGET */
.shortcode-newTab {
  width: 100%; /* this for elementor shortcode */
}

/* MAIN WRAPPER */
.wavemaker-newTabnews .tabs-container {
  display: grid;
  grid-template-columns: 1fr clamp(327px, 28.472vw, 410px);
  padding-bottom: clamp(40px, 3.889vw, 56px);
}

.wavemaker-newTabnews #custom-posts-container {
  display: flex;
  min-height: 80vh;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  padding-bottom: clamp(40px, 3.889vw, 56px);
}

.wavemaker-newTabnews .notFound-newtab {
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}


/* GRID WRAPPER */
.wavemaker-newTabnews .custom-posts-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem 2rem;
  width: 100%;
  box-sizing: border-box;
}

/* TABS */
.wavemaker-newTabnews .tab-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: clamp(14px, 0.972vw, 14px);
}

.wavemaker-newTabnews .tab-dropdown {
  display: none;
}

.wavemaker-newTabnews .tab-button{
	font-family: "Nunito Sans", Sans-serif;
	font-size: clamp(24px, 2.083vw, 30px);
	font-weight: 900;
    line-height: clamp(33.6px, 2.917vw, 2px);
    color: #939598;
    padding: 0;
    border: 0;
	padding: 0 clamp(8px,0.694vw,10px);
    background-color: white;
	transition: transform .4s ease , font-weight .3s ease;
}

.wavemaker-newTabnews .tab-button.active {
    font-weight: 900;
    color: #21409A;
    transform: skew(-15deg);
}

.wavemaker-newTabnews .tab-button:hover {
    color: #21409A;
    transform: skew(-15deg);
}

/* EACH POST ITEM */
.wavemaker-newTabnews .custom-post {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* IMAGE */
.wavemaker-newTabnews .imageLink {
  display: inline-flex;
  width: 100%;
  height: clamp(131px, 15.972vw, 230px);
  border-radius: clamp(8px, 1.111vw, 16px);
  overflow: hidden;
}

.wavemaker-newTabnews .imageData {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: scale .5s ease;
}

.wavemaker-newTabnews .imageData.hovered{
	scale: 1.1;
}

/* TEXT */
.wavemaker-newTabnews .custom-post-content {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.5rem;
}

.wavemaker-newTabnews .custom-post-title {
  margin: 0;
}

.wavemaker-newTabnews .custom-post-title a {
  display: block;
  width: 100%;
  font-family: "Nunito Sans", Sans-serif;
  font-size: clamp(18px, 1.389vw, 20px);
  font-weight: 800;
  text-decoration: none;
  line-height: clamp(25.5px, 1.944vw, 28px);
  color: #231E1F;
  word-wrap: break-word;
}

.wavemaker-newTabnews .custom-post-url a {
    font-family: "Nunito Sans", Sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 0.01rem;
    border-radius: 0px;
    background-color: #00000000;
    color: #005BAA;
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    overflow: unset !important;
}

.wavemaker-newTabnews .custom-post-url a:after {
    position: relative;
    left: 0;
    content: url(/wp-content/uploads/2024/09/NewOne-rightarrow-005BAA.svg);
    margin-left: 8px;
    padding-top: 3px;
    transition: left .4s ease;
}

.wavemaker-newTabnews .custom-post-url a:hover:after{
	left: 4px;
}

.wavemaker-newTabnews .custom-post-meta {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
}

.wavemaker-newTabnews .custom-post-meta span {
	color: #939598;
    font-family: "Open Sans", Sans-serif;
    font-size: 14px;
    font-weight: 600 !important;
    text-transform: uppercase;
    line-height: 15.4px;
    letter-spacing: 0.08rem;
}

.wavemaker-newTabnews .newsCat {
    padding-left: 8px;
    border-left: 1px solid #939598;
}

.wavemaker-newTabnews .custom-post-excerpt {
    margin: 0;
    font-family: "Open Sans", Sans-serif;
    font-size: clamp(15px, 1.111vw, 16px);
    font-weight: 400;
    line-height: clamp(24px, 1.667vw, 24px);
    color: #231E1F;
}

/* SEARCH */
.wavemaker-newTabnews .tab-search {
	position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.wavemaker-newTabnews .clear-btn {
	display: none;
    position: absolute;
    height: 100%;
    right: 0;
    top: 0;
    border: none;
    font-size: 1.2rem;
    color: #21409A;
    cursor: pointer;
	flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.wavemaker-newTabnews .clear-btn:hover{
	background-color: transparent;
}

.wavemaker-newTabnews #news-search-input {
    height: 100%;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid #21409A;
	font-family: "Open Sans", Sans-serif;
	font-size: clamp(15px, 1.111vw, 16px);
	font-weight: 400;
    color: #21409A;
    padding: 0;
    padding-left: clamp(27px, 2.222vw, 32px);
    padding-bottom: clamp(4px, 0.556vw, 8px);
}

.wavemaker-newTabnews #news-search-input::placeholder {
    color: #21409A;
    opacity: 1;
}

.wavemaker-newTabnews .tab-search:after {
    content: '';
    display: block;
    height: clamp(18px,1.667vw,24px);
    width: clamp(18px,1.667vw,24px);
    position: absolute;
    left: unset;
    top: clamp(0px, 0.139vw, 2px);
    background-image: url(/wp-content/uploads/2024/10/Vector-search.svg);
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
}

.wavemaker-newTabnews #news-search-input:focus {
    outline: unset;
}

/*PAGINATION*/
.wavemaker-newTabnews .newsPag {
  	padding-top: clamp(40px, 3.889vw, 56px);
	flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
	gap: 1rem;
}

.wavemaker-newTabnews .btnNumber, .wavemaker-newTabnews .dots {
    display: flex;
    width: clamp(24px, 2.222vw, 32px);
    height: clamp(24px, 2.222vw, 32px);
    border: 0;
    border-radius: 100px;
    padding: 0;
    color: #005BAA;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
	font-family: 'Nunito Sans';
    font-size: clamp(12px,0.833vw,12px);
    line-height: clamp(12px,0.833vw,12px);
	transition: all .4s ease;
}

.wavemaker-newTabnews .btnNumber.active {
    background-color: #005BAA;
    color: white;
}

.wavemaker-newTabnews .btnNumber:hover {
	background-color: #005BAA;
    color: white;
}

.wavemaker-newTabnews .navPrev {
    margin-right: clamp(24px, 4.444vw, 64px);
}

.wavemaker-newTabnews .navNext{
	margin-left: clamp(24px, 4.444vw, 64px);
}

.wavemaker-newTabnews .navPrev, .wavemaker-newTabnews .navNext{
	border-radius: 100px;
}

.wavemaker-newTabnews .btnPrev, .wavemaker-newTabnews .btnNext {
    padding: 10px 32px;
    border: 1px solid #005BAA;
	border-radius: 100px;
	color: #005BAA;
	font-family: 'Nunito Sans';
    font-size: clamp(12px,0.833vw,12px);
    line-height: clamp(12px,0.833vw,12px);
	background-color: transparent;
	transition: all .4s ease;
}

.wavemaker-newTabnews .btnPrev.disabled, .wavemaker-newTabnews .btnNext.disabled{
	filter: grayscale(0.8);
	opacity: 0.5;
}

.wavemaker-newTabnews .btnPrev:hover, .wavemaker-newTabnews .btnNext:hover{
	background-color: #005BAA;
	color: white;
}

.wavemaker-newTabnews .btnPrev.disabled:hover, .wavemaker-newTabnews .btnNext.disabled:hover{
	background-color: transparent;
	filter: grayscale(0.8);
	color: #005BAA;
}


/**//**//**//**//**//**//**//**/
/**//*  MOBILE VIEW. *//**//**/
/**//**//**//**//**//**//**/
@media (max-width: 480px) {
	.wavemaker-newTabnews .tab-buttons {
    display: none;
  }
	.wavemaker-newTabnews .tab-dropdown {
		display: block;
		width: 100%;
	  }
	.wavemaker-newTabnews .tabs-container{
		grid-template-columns: 1fr;
    	overflow: scroll;
		gap: 0.875rem;
	}
	.wavemaker-newTabnews .tab-dropdown {
		display: block !important;
		width: 100%;
		padding: 0;
		height: 42px;
		border: 0;
		border-radius: 0;
		background-color: white !important;
		transition: border-bottom .2s ease;
		outline: unset !important;
		font-family: "Nunito Sans", sans-serif;
		font-size: 24px;
		line-height: 36px;
		font-weight: 900;
		font-style: italic;
		color: #21409A;
	}
	.wavemaker-newTabnews .tab-search {
		grid-row: 1;
	}
	.wavemaker-newTabnews #news-search-input {
		height: 42px;
	}
	.wavemaker-newTabnews .tab-search:after{
		top: 20%;
	}
	.wavemaker-newTabnews .clear-btn {
		justify-content: center;
	}
	.wavemaker-newTabnews .custom-posts-wrapper {
    	grid-template-columns: repeat(1, 1fr);
		gap: 1.5rem;
	}
	.wavemaker-newTabnews .custom-post{
		display: grid;
        grid-template-columns: clamp(121px, 25.208vw, 121px) 1fr;
        gap: 1rem;
	}
	.wavemaker-newTabnews .custom-post-meta{
		display: none;
	}
	.wavemaker-newTabnews .custom-post-url{
		display: none;
	}
	.wavemaker-newTabnews .custom-post-title a{
		line-height: 1.2;
	}
	.wavemaker-newTabnews .custom-post-excerpt{
		line-height: 1.5;
	}
	.wavemaker-newTabnews .btnPrev, .wavemaker-newTabnews .btnNext {
		position: relative;
		padding: 0;
		width: 48px;
		height: 48px;
	}
	.wavemaker-newTabnews .btnPrev:after{
		content: '';
		display: inline-flex;
		width: 28px;
		height: 28px;
		background-image: url(/wp-content/uploads/2024/09/NewOne-rightarrow-005BAA.svg);
		background-position: center;
		background-repeat: no-repeat;
		transform: rotate(180deg);
		background-color: white;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%) rotate(180deg);
	}
	.wavemaker-newTabnews .btnNext:after {
		content: '';
		display: inline-flex;
		width: 28px;
		height: 28px;
		background-image: url(/wp-content/uploads/2024/09/NewOne-rightarrow-005BAA.svg);
		background-position: center;
		background-repeat: no-repeat;
		background-color: white;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}
	.wavemaker-newTabnews .btnPrev:hover, .wavemaker-newTabnews .btnNext:hover {
		background-color: white;
		color: #005BAA;
	}
	.wavemaker-newTabnews .newsPag{
		gap: 0.375rem;
	}
}