.cms-swiper-dots{
	margin: -2px;
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	[class*="cms-swiper-pagination-"]{
		margin: 2px;
		cursor: pointer;
		position: relative;
		@include transition();
		&:hover,
		&.active{
			@include opacity(1);
		}
	}
	&.cms-swiper-dots-divider{
		margin: -2px -5px;
		[class*="cms-swiper-pagination-"]{
			margin-left: 5px;
			margin-right: 5px;
		}
	}
}
.cms-swiper-dots-out .cms-swiper-dots{
	padding-top: 40px;
}
// Show/Hide Dots
.cms-swiper-dots-false{
	.cms-swiper-dots{
		display: none;
	}
}
@media (max-width: $screen-md-max){
	.cms-swiper-dots-tablet-false{
		.cms-swiper-dots{
			display: none;
		}
	}
	.cms-swiper-dots-tablet-true{
		.cms-swiper-dots{
			display: flex;
		}
	}
}
@media (max-width: $screen-sm-max){
	.cms-swiper-dots-mobile-false{
		.cms-swiper-dots{
			display: none;
		}
	}
	.cms-swiper-dots-mobile-true{
		.cms-swiper-dots{
			display: flex;
		}
	}
}
// Dots Style Circle
.cms-swiper-pagination-circle{
	flex: 0 0 25px;
	width: 25px;
	height: 25px;
	line-height: 25px;
	text-align: center;
	&:before{
		content: '';
		width: 9px;
		height: 9px;
		display: block;
		background: $primary-color;
		position: absolute;
		top: 50%;
		left: 50%;
		@include transition();
		@include transform(translate(-50%,-50%));
		@include border-radius(50%);
		@include box-shadow(0 0 0 8px rgba(255,255,255,0));
	}
	&:hover,
	&.active{
		&:before{
			background: $accent-color;
			@include box-shadow(0 0 0 8px rgba($accent_color_hex, 0.2));
		}
	}
}
// Dots Style Divider
.cms-swiper-pagination-divider{
	flex: 0 0 20px;
	width: 20px;
	height: 8px;
	background: $primary-color;
	@include border-radius(3px);
	&:hover,
	&.active{
		flex: 0 0 40px;
		width: 40px;
		background: $accent-color;
	}
}
// Dots Style Number
.cms-swiper-pagination-number{
	width: 40px;
	height: 40px;
	line-height: 40px;
	display: block;
	text-align: center;
}
// Dots Style Progressbar
.cms-swiper-pagination-progressbar{
	margin: 0;
	.cms-swiper-dots-out &{
		padding-top: 0;
		margin-top: 35px;
	}
	height: 5px;
	background: $primary-color;
	.swiper-pagination-progressbar-fill{
		width: 100%;
	    height: 100%;
	    transform: scale(0);
	    transform-origin: left top;
	    background: $accent-color;
	}
}
// Dots style HTML
.cms-swiper-pagination-html{
	@include opacity(0.7);
	&:hover,
	&.active{
		@include opacity(1);
	}
}
.cms-swiper-dots.cms-swiper-dots-html,
.cms-swiper-dots-html .cms-swiper-dots{
	margin-left: -15px;
	margin-right: -15px;
	.cms-swiper-pagination-html{
		margin-left: 15px;
		margin-right: 15px;
	}
}
// Dots Color
@each $name, $color in $cms_theme_colors {
	.cms-swiper-dots-color-#{$name}{
		.cms-swiper-pagination-circle{
			&:before{
				background: #{$color};
				@include box-shadow(0 0 0 8px #{'rgba(var(--color-#{$name}-rgb),0.2)'});
			}
		}
		.cms-swiper-pagination-divider,
		.cms-swiper-pagination-number{
			background: #{$color};
		}
		// progressbar
		&.swiper-pagination-progressbar{
			background: #{$color};
		}
	}
	.cms-swiper-dots-color-hover-#{$name}{
		.cms-swiper-pagination-circle{
			&:hover,
			&.active{
				&:before{
					background: #{$color};
					@include box-shadow(0 0 0 8px #{'rgba(var(--color-#{$name}-rgb),0.2)'});
				}
			}
		}
		.cms-swiper-pagination-divider,
		.cms-swiper-pagination-number{
			&:hover,
			&.active{
				background: #{$color};
			}
		}
		// progressbar
		&.cms-swiper-pagination-progressbar .swiper-pagination-progressbar-fill{
			background: #{$color};
		}
	}
}
// Dots position 
.cms-swiper-dots-in{
	.cms-swiper-dots{
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		margin-top: 0;
	}
}
// Dots align
.cms-swiper-dots{
	&.cms-swiper-dots-align-center,
	.cms-swiper-dots-align-center &{
		justify-content: center;
	}
}
.cms-swiper-dots{
	&.cms-swiper-dots-align-start,
	.cms-swiper-dots-align-start &{
		justify-content: start;
	}
}
.cms-swiper-dots{
	&.cms-swiper-dots-align-end,
	.cms-swiper-dots-align-end &{
		justify-content: end;
	}
}
.cms-swiper-dots{
	&.cms-swiper-dots-align-justify,
	.cms-swiper-dots-align-justify &{
		justify-content: space-between;
	}
}
@media(max-width: $screen-md-max){
	.cms-swiper-dots-align-tablet-start .cms-swiper-dots{
		justify-content: start;
	}
	.cms-swiper-dots-align-tablet-center .cms-swiper-dots{
		justify-content: center;
	}
	.cms-swiper-dots-align-tablet-end .cms-swiper-dots{
		justify-content: end;
	}
	.cms-swiper-dots-align-tablet-justify .cms-swiper-dots{
		justify-content: space-between;
	}
}
@media(max-width: $screen-sm-max){
	.cms-swiper-dots-align-mobile-start .cms-swiper-dots{
		justify-content: start;
	}
	.cms-swiper-dots-align-mobile-center .cms-swiper-dots{
		justify-content: center;
	}
	.cms-swiper-dots-align-mobile-end .cms-swiper-dots{
		justify-content: end;
	}
	.cms-swiper-dots-align-mobile-justify .cms-swiper-dots{
		justify-content: space-between;
	}
}