iframe:not([src]) {
	border: 1px solid grey;
}

/*
 *
 * Add/Organize
 *
 */

.builder-content-panel {
	display: none;
}

/*
 * Button/label group
 */
.builder-content-panel .builder-content-panel-group {
	display: inline-block;
}

.builder-content-panel.inline .builder-content-panel-group {
	border: 1px solid grey;	
	height: 32px;
	padding: 3px 5px;
}

.builder-content-panel .builder-content-panel-group:hover {
	cursor: pointer;
}

/*
 * Label
 */
.builder-content-panel .builder-lbl {
	font-family: 'open_sanssemibold', sans-serif;
	font-size: 1.1em;
	color: #A6A6A6;
	cursor: pointer;
	text-transform: uppercase;
}

.builder-content-panel.inline .builder-lbl {
	display: inline-block;
	vertical-align: top;
	line-height: 25px;
}

body[data-theme-major=white] .builder-content-panel .builder-content-panel-group:not(.disabled):hover  .builder-lbl,
body[data-theme-major=white] .builder-content-panel .builder-content-panel-group.active .builder-lbl {
	color: #000;
}

body[data-theme-major=black] .builder-content-panel .builder-content-panel-group:not(.disabled):hover  .builder-lbl,
body[data-theme-major=black] .builder-content-panel .builder-content-panel-group.active .builder-lbl {
	color: #FFF;
}

/*
 * Button
 */
.builder-content-panel .builder-btn {
	display: inline-block;
	width: 30px;
	height: 30px;
	opacity: 0.8;
	background-position: 0 30px !important;
}

.builder-content-panel .builder-content-panel-group:not(.disabled):hover .builder-btn,
.builder-content-panel .builder-content-panel-group.active .builder-btn {
	opacity: 1.0;
	background-position: 0 30px !important;
}

/* Large state */
.builder-content-panel.large .builder-btn {
	width: 48px;
	height: 48px;
	background-size: 48px !important;
	background-position: 0 0 !important;
}

.builder-content-panel.large .builder-content-panel-group .builder-btn {
	background-position: 0 48px !important;
}

/*
 * Button inline
 */

.builder-content-panel.inline .builder-btn {
	width: 20px;
	height: 20px;
	background-position: 0 20px !important;
	margin-top: 2px;
}

.builder-content-panel.inline .builder-content-panel-group:not(.disabled):hover .builder-btn,
.builder-content-panel.inline .builder-content-panel-group.active .builder-btn {
	opacity: 1.0;
	background-position: 0 20px !important;
}

/*
 * Add
 */
.builder-content-panel .builder-add .builder-btn {
	background: url(../../../../../resources/tpl/builder/icons/builder-add.png);
	background-size: 30px;
}

.builder-content-panel.inline .builder-add .builder-btn {
	background-size: 20px;
}

.builder-content-panel .builder-add.disabled {
	pointer-events: inherit;
	opacity: 0.5;
}

/*
 * Organize
 */
.builder-content-panel:not(.inline) .builder-organize {
	margin-left: 45px;
}

.builder-content-panel .builder-organize .builder-btn {
	background: url(../../../../../resources/tpl/builder/icons/builder-organize.png);
	background-size: 30px;
}

.builder-content-panel.inline .builder-organize .builder-btn {
	background-size: 20px;
}

/*
 * Edit
 */
 
.builder-content-panel .builder-edit .builder-btn {
	background: url(../../../../../resources/tpl/builder/icons/builder-edit-noborder.png);
	background-size: 30px;
}

.builder-content-panel.inline .builder-edit .builder-btn {
	background-size: 20px;
}

/*
 * Standalone edit button
 */

.panelEditBtn {
	display: none;
	position: absolute;
	top: 0;
	right: 1px;
	cursor: pointer;
	margin-top: 13px;
	z-index: 2;
	border-radius: 22px;
}

.panelEditBtnInner {
	width: 44px;
	height: 44px;
	background-image: url(../../../../../resources/tpl/builder/icons/builder-edit-border.png);
	background-size: 44px;
	background-position: 0 44px;
	opacity: 0.8;
}

.panelEditBtn:hover .panelEditBtnInner {
	opacity: 1.0;
}

/*
 * Switch to builder button
 */
 
.switchBuilder {
	display: none;
	margin-top: -2px;
	margin-right: 10px;
	height: 24px;
}

.switchBuilder .glyphicon {
	margin-right: 4px;
}

/*
 * Scroll
 */

.scroll {
	display: none;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 82px;
	padding: 15px;
	cursor: pointer;
}

body.layout-side-left .sidePanel .scroll,
body.layout-float-left .floatingPanel .scroll {
	padding-left: 34px;
}

body.layout-side-right .sidePanel .scroll,
body.layout-float-right .floatingPanel .scroll {
	padding-right: 34px;
}

.scrollInner {
	width: 100%;
	height: 52px;
	background: url('../../../../../resources/tpl/viewer/icons/side-scroll.png');
	background-repeat: no-repeat;
	background-position: 50%;
	background-size: 85px 52px;
	
	-webkit-animation-name: blinker;
	-webkit-animation-duration: 2.5s;
	-webkit-animation-timing-function: cubic-bezier(.5, 0, 1, 1);
	-webkit-animation-iteration-count: infinite;
	
	-moz-animation-name: blinker;
	-moz-animation-duration: 2.5s;
	-moz-animation-timing-function: cubic-bezier(.5, 0, 1, 1);
	-moz-animation-iteration-count: infinite;
	
	animation-name: blinker;
	animation-duration: 2.5s;
	animation-timing-function: cubic-bezier(.5, 0, 1, 1);
	animation-iteration-count: infinite;
}

@-moz-keyframes blinker {  
    0% { opacity: 1.0; }
    50% { opacity: 0.6; }
    100% { opacity: 1.0; }
}

@-webkit-keyframes blinker {  
    0% { opacity: 1.0; }
    50% { opacity: 0.6; }
    100% { opacity: 1.0; }
}

@keyframes blinker {  
    0% { opacity: 1.0; }
    50% { opacity: 0.6; }
    100% { opacity: 1.0; }
}

/*
 * Autoplay
 */
 
#autoplay {
	display: none;
    position: absolute;
    bottom: 10px;
    z-index: 31;
}