.contentConstraintExample.columns-1:before {
    content: 'One';
}
.contentConstraintExample.columns-2:before {
    content: 'Two';
}
.contentConstraintExample.columns-3:before {
    content: 'Three';
}
.contentConstraintExample.align[class*="columns"] > div > div:before {
    content: '';
	width: 90%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.contentConstraintExample[class*="columns"] > div > div:after {
    content: '';
    text-align: center;
    width: 100%;
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 10px;
    box-sizing: border-box;
    padding-top: 8%;
    padding-bottom: 8%;
}
.contentConstraintExample.columns-2 > div > div:after {
    width: calc(50% - 1px);
    border-right: 2px solid;
}
.contentConstraintExample.columns-3 > div > div:after {
    left: 50%;
    width: calc(33% - 2px);
    border: 2px solid;
    transform: translate(-50%, -50%);
}
.group:not([group="columns"]) .contentGroup.group2 {
    background: #f1f1f1;
    padding: 1em;
}
.group:not([group="columns"]) .contentGroup.group3 {
    margin-top: 1em;
}
.group:not([group="columns"]) .contentGroup.group2:before {
    content: 'Column Two:';
    font-weight: bold;
    margin-bottom: 2em;
    display: block;
}
.group:not([group="columns"]) .contentGroup.group3:before {
    content: 'Column Three:';
    font-weight: bold;
    margin-bottom: 2em;
    display: block;
}
.group[group="columns"] .contentGroup {
    display: inline-block;
    vertical-align: top;
    margin-right: 2em;
}


[id*="simple_slider_"] *::placeholder {
    opacity: .5;
}
#side-sortables .wp-picker-active .wp-picker-holder {
    transform: translateX(-100%);
}
#side-sortables .wp-picker-active span.wp-picker-input-wrap {
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    transform: translateX(calc(-100% - 15px));
}
#side-sortables .wp-picker-container.wp-picker-active {
    position: relative;
}
#side-sortables .wp-picker-active input.ss-color.wp-color-picker {
    min-width: 75px;
}

.simpleSliderSettings.general .use-defaults {
    margin-top: 13px;
}

.default-settings {
    display: none !important;
}

.button.use-defaults, .button.use-defaults:hover, .button.use-defaults:active, .button.use-defaults:focus {
	background: #0085ba;
    border-color: #0073aa #006799 #006799;
    box-shadow: 0 1px 0 #006799;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;
}

table.content-settings td {
    vertical-align: top;
}
table.content-settings select {
    width: 100%;
}
.tool-tip {
    font-size: 1.5em;
    vertical-align: sub;
    line-height: 1;
    margin-left: 5px;
    cursor: pointer;
}

.preview-actions {
	margin-bottom: 5px;
}

.preview-container iframe {
	max-width: 100%;
}

.slide .preview {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.group:not(.active) {
    display: none;
}
.group-tabs {
    padding: 5px 0 15px;
	position: relative;
    border-bottom: 2px solid #f1f1f1;
}
.group-tabs i.close {
    position: absolute;
    right: 0;
    font-size: 25px;
    cursor: pointer;
    top: 8px;
}
.settings {
	max-height: 1500px;
	transition: all .2s linear;
	border: 2px solid #f1f1f1;
	box-sizing: border-box;
}
.slide.active {
    border-color: green;
    border-width: 5px;
}
.settings.active {
    padding: 10px;
	min-height: 500px;
	
}
.settings:not(.active) {
    max-height: 0;
    overflow: hidden;
}
.group-tabs > span {
    vertical-align: -webkit-baseline-middle;
    margin-right: 5px;
}

.button-settings th {
	text-align: left;
}
.button-settings th {
	text-align: left;
}
.button-settings input {
	/* text-align: right; */
}
.button-settings input[type="checkbox"] {
	float: right;
}

.backgroundPreview {
    width: 300px;
    padding-bottom: 50%;
    display: table-caption;
    background-size: cover;
    border: 2px dashed #a2a1a1;
    margin-bottom: 10px;
    box-sizing: border-box;
	position: relative;
	transition: all .2s linear;
}
.backgroundPreview:not(.active) {
	cursor: pointer;
}
.backgroundPreview:not(.active):hover {
	background-color: #f1f1f1;
}
.backgroundPreview:not(.active):before {
	content: 'Add a background, slides love to have a background!';
	position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    font-style: italic;
}
.backgroundPreview .remove {
    position: absolute;
    padding: 5px 10px;
    right: 0;
    top: 0;
    background: #fff;
	border-bottom: 2px dashed #a2a1a1;
	border-left: 2px dashed #a2a1a1;
	cursor: pointer;
}
.backgroundPreview:not(.active) .remove {
	opacity: 0;
	pointer-events: none;
}

.goodbye {
    position: absolute;
    right: 0;
    bottom: 0;
    background: red;
    color: white;
    padding: 5px 15px;
    font-weight: 500;
    border-radius: 5px;
    transform: translateX(calc(100% + 10px));
	z-index: 99;
}
.slide.fading {
	z-index: 99;
}

.slide i {
    position: absolute;
    min-width: 34px;
    min-height: 34px;
    background: white;
    border-radius: 100%;
    font-size: 20px;
    text-align: center;
    box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.33);
    opacity: 0;
    cursor: pointer;
    transition: all .2s linear;
	z-index: 2;
}
.slide i.move {
	cursor: grab;
}
i.clone {
    left: 5px;
    bottom: 5px;
}
i.move {
    left: 5px;
    top: 5px;
}
i.edit {
    right: 5px;
    top: 5px;
}
i.delete {
    right: 5px;
    bottom: 5px;
}
i.delete:hover {
	background: red;
	color: #fff;
}
.slide i:before {
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
    top: 50%;
}
.slide:hover i {
    opacity: 1;
}
.slide i:hover {
    transform: scale(1.5);
}

.simpleSliderSettings.general p {
    font-size: 1.25em;
}

.add-slide {
    border: 2px dashed #a2a1a1;
    background: none;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    transition: all .2s linear;
    font-style: italic;
	outline: none;
	padding-bottom: 56.25%;
	position: relative;
}
.add-slide span {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 90%;
}
.slide {
    width: 100%;
	padding-bottom: 56.25%;
    border: 2px solid #a2a1a1;
	background-color: #f1f1f1;
	position: relative;
}
.slide-container {
    display: grid;
	column-gap: 15px;
    grid-template-columns: repeat(5, 1fr);
    grid-row-gap: 15px;
}
.slide-container > * {
    /* transition: all .2s linear; */
}
.add-slide:hover {
    background: #f1f1f1;
}

.simpleSliderSettings b, .simpleSliderSettings strong {
    font-weight: 700;
}
.simpleSliderSettings td {
    padding: 2px 15px 5px 0;
}
.simpleSliderSettings td:last-child {
    padding-right: 0;
}
.simpleSliderSettings [type="number"] {
	text-align: right;
}

#side-sortables .button.copy {
	margin: 0 auto;
	display: table;
}
.button.copy {
	position: relative;
}
.button.copy:before {
    content: '\f164';
    font-family: 'Font Awesome 5 Free';
    position: absolute;
    left: 0;
    transform: translateX(calc(-100% - 10px));
	opacity: 0;
	transition: all .2s linear;
}
.button.copy.copied:before {
	opacity: 1;
}

#side-sortables .simpleSliderSettings.general td {
    min-width: 88px;
    font-size: 12px;
    padding-right: 5px;
}
#side-sortables .contentConstraintExample {
	display: block;
}
#side-sortables .contentConstraintExample.mobile {
	margin-top: 10px;
}
#side-sortables .contentConstraintExample:not(.mobile) > div {
	width: 100%;
	display: block;
}
#side-sortables .simpleSliderSettings input {
	max-width: 50%;
}

.contentConstraintExample {
    display: inline-block;
	vertical-align: top;
    margin-right: 15px;
}
.contentConstraintExample:before {
    content: 'Desktop:';
    margin-right: 10px;
    vertical-align: middle;
	font-weight: bold;
	display: block;
	margin-bottom: 10px;
}
.contentConstraintExample.mobile:before {
    content: 'Mobile:';
}
.contentConstraintExample > div {
    border: 2px solid;
    width: 300px;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    vertical-align: middle;
    background-color: #f1f1f1;
}
.contentConstraintExample.mobile > div {
	width: 150px;
}
.contentConstraintExample > div > div {
    border: 2px dashed;
    border-top: none;
    border-bottom: none;
    padding-bottom: 50%;
    width: 80%;
    margin: 0 auto;
    background-color: white;
    position: relative;
}
.contentConstraintExample.mobile > div > div {
	width: 90%;
}
.contentConstraintExample.mobile > div > div:before {
	content: 'But on mobile have a width set to 90%';
}
.contentConstraintExample > div > div:before {
    content: 'In example: The slide content could be constrained to 80%, with a max-width of 1366px.';
    text-align: center;
    width: 100%;
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 10px;
    box-sizing: border-box;
}

/* Ratio Examples */
.ratioExample {
    display: inline-block;
	vertical-align: top;
    margin-right: 15px;
}
.ratioExample:before {
    content: 'Desktop:';
    margin-right: 10px;
    vertical-align: middle;
	font-weight: bold;
	display: block;
	margin-bottom: 10px;
}
.ratioExample.mobile:before {
    content: 'Mobile:';
}
.ratioExample > div {
    border: 2px solid;
    width: 300px;
	height: 172.75px;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    vertical-align: middle;
    background-color: #f1f1f1;
}
.ratioExample.mobile > div {
	width: 160px;
	height: 239px;
}
.ratioExample > div > div {
    border-bottom: 2px dashed;
    padding-bottom: 26.04%;
    width: 100%;
    margin: 0 auto;
    background-color: white;
    position: relative;
}
.ratioExample.mobile > div > div {
	padding-bottom: 46.87%;
}
.ratioExample.mobile > div > div:before {
	content: '320 x 150';
}
.ratioExample > div > div:before {
    content: 'In example: 1920 x 500';
    text-align: center;
    width: 100%;
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 10px;
    box-sizing: border-box;
}

.ratioExample > div > div:nth-of-type(1) {
	background: transparent;
}
.ratioExample.mobile > div > div:nth-of-type(1) {
	padding-bottom: 39.06%;
}
.ratioExample:not(.mobile) > div > div:nth-of-type(1) {
	padding-bottom: 7.81%;
}
.ratioExample > div > div:nth-of-type(1):before {
	content: 'Header';
}

#side-sortables .ratioExample:not(.mobile) {
    width: 100%;
	display: block;
	margin-bottom: 15px;
}
#side-sortables .ratioExample:not(.mobile) > div {
    width: 100%;
}

.contentConstraintExample.align.left:before {content: 'Left';}
.contentConstraintExample.align.center:before {content: 'Center';}
.contentConstraintExample.align.right:before {content: 'Right';}

.contentConstraintExample.align.inner:before {content: 'Inner Constraint Example';}
.contentConstraintExample.align.center.inner > div > div:before {content: 'Max of 80%';}
.contentConstraintExample.align.left.inner > div > div:before {content: '50%';}
.contentConstraintExample.align.right.inner > div > div:before {content: '50%';}

.contentConstraintExample.align > div > div {
	border-color: #adabab;
}
.contentConstraintExample.align > div > div:before {
	content: 'Lorem Ipsum';
	border: 2px solid;
    padding-top: 8%;
    padding-bottom: 8%;
}

.contentConstraintExample.align.left > div > div:before {
	width: 50%;
}
.contentConstraintExample.align.center > div > div:before {
	width: 80%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.contentConstraintExample.align.right > div > div:before {
	width: 50%;
	right: 0;
}

/* Buttons */
.contentConstraintExample.align.slide-button > div > div:before {
	content: 'Text Not Affected';
	/* content: 'Align Text With Editor'; */
    font-style: italic;
    padding-top: 6%;
    padding-bottom: 15%;
	width: 80%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: .9em;
    opacity: .8;
}

.contentConstraintExample.align.slide-button > div > div:after {
	content: 'Button';
	position: absolute;
    top: calc(50% + .5em);
	border: 1px solid;
    padding: 0 .5em;
}
.contentConstraintExample.align.left.slide-button > div > div:after {
	left: 15%;
}
.contentConstraintExample.align.center.slide-button > div > div:after {
	left: 50%;
	transform: translateX(-50%);
}
.contentConstraintExample.align.right.slide-button > div > div:after {
	right: 15%;
}

@media all and (max-width: 1366px) {
	.contentConstraintExample > div {
		width: 200px;
	}
	.slide-container {
		grid-template-columns: repeat(4, 1fr);
	}
}
