

/* DEVICE MODE */

[action="change-storyboard-device"]{
    text-indent: -1000px;
    width: 35px;
    padding: 0px !important;
    min-width: 35px !important;
}


/* RESOLUTION SLIDER */

[action="change-storyboard-resolution"]{
	text-indent: -1000px;
    width: 35px;
    padding: 0px !important;
    min-width: 35px !important;
    position: relative;
}



/* TOOLBAR OPTIONS */

#toolbar-group-1{
	left: 200px;
    position: absolute;
}

#toolbar-group-2{
	left: 380px;
    position: absolute;
}

#new-screen{
	left: 0px;
	width: 140px;
}

#item-view .inline-editor {
    display: block !important;
    clear: both;
    margin-top: 50px;
}

#item-view .inline-editor p {
    margin: 0px !important;
}

/* GROUPS */

#detail-view[data-resolution="1"] .tile-row .element-item{
	margin: 0px 0px 14px 28px !important;
}

#detail-view[data-resolution="1"] .tile-row .screen-item{
	max-height: 270px !important;
	overflow: hidden;
}


/* SCREEN ITEMS */


.screen-item,
.screen-item-sortable-placeholder{
    min-height: 350px;
    width: 300px;
    display: inline-block;
    white-space: normal;
}

.screen-item-sortable-placeholder{
	border: 2px dashed #eee;
	background-color: transparent;
	box-shadow: none !important;
	-webkit-box-box-shadow: none !important;
    -moz-box-box-shadow: none !important;
    -ms-box-box-shadow: none !important;
}

#detail-view:not([data-resolution="4"]) .screen-item:not(.editing):not(.editing-element):hover{
    transform: translate(0px, -3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    -ms-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none !important;
}

.screen-item:last-of-type::after {
    content: "";
    width: 100px;
    display: block;
    height: 100%;
    position: absolute;
    right: -100px;
    bottom: -10px;
    z-index: -1;
}

.screen-item.editing .element-settings{
	box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
	-webkit-box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
    -ms-box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}

.screen-item.editing .element-settings{
	display: none !important;
}


.screen-item.ui-droppable-hover{
	background: rgb(234, 248, 255);
}



#detail-view[display="edit"] .screen-item:not(.editing):not(.editing-element){
	width: 0px;
    padding: 0px;
    min-width: 0px;
    opacity: 0;
    margin: 0;
    overflow: hidden;
}


.element-item.editing .element-settings{
	box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
	-webkit-box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
    -ms-box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}


.screen-item.editing .element-settings{
	display: none !important;
}

.element-item.ui-sortable-helper{
	cursor: grabbing;
	background-color: white;
}

/* screen ICONS */

.screen-icon {
    height: 80px;
    background-repeat: no-repeat;
    background-size: 60px;
    background-position: center;
    position: relative;
	-webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    transition: all 0.2s linear;
    cursor: pointer;
	width: 80px;
    margin: 0px auto;
}

.screen-icon.empty{
	background-image: url('../../images/camera.svg');
	opacity: 0.3;
	background-size: 30px;
	cursor: pointer;
}


.screen-icon::before{
	content: "";
	position: absolute;
	height: 60px;
	width: 60px;
	background: rgba(99, 99, 99, 0.2);
	border-radius: 60px;
	left: 45%;
	left: calc(50% - 30px);
	top: 45%;
	top: calc(50% - 30px);
	-webkit-transition: all 0.5s linear;
	-moz-transition: all 0.5s linear;
	transition: all 0.5s linear;
	opacity: 0;
	border: 0px solid rgba(99, 99, 99, 0.2);
}

.screen-icon.empty::before{
	opacity: 1;
}

.screen-icon:not(.empty):hover::before{
	opacity: 0.5;
	border-width: 30px;
}

.screen-icon.empty:hover{
	opacity: 0.5;
}

.screen-icon.empty:hover::before{
	background: rgba(99, 99, 99, 0.3);
}




/* ELEMENT ITEMS */

.element-sortable-placeholder{
	background-color: #f1f1f1;
}

.delete-element-handle.confirm{
	width: 120px !important;
    z-index: 99;
    background-position: 10px !important;
    font-size: 12px;
    line-height: 15px;
}

.delete-element-handle.confirm::after{
	content: "Are you sure?";
	position: absolute;
	top: 5px;
	left: 30px;
}

.delete-element-handle.confirm:hover{
	background-color: #E44A26;
	background-image: url(../../images/trash_filled-white.svg);
	color: white;
}

.element-impact-item {
    height: 45px;
    width: 100%;
}

.element-impact-label {
    margin-bottom: 8px;
	width: 50%;
    height: 20px;
    display: inline-block;
    font-size: 12px;
    border: none !important;
    opacity: 0;
}

.screen-item:hover .element-impact-label,
.first-visible .element-impact-label{
	opacity: 1;
}

.element-impact-slider{
	position: relative;
    background: #eee;
    height: 10px;
    border-radius: 5px;
    width: calc(100%);
    margin: 0px;
}

.element-impact-slider .ui-slider-range{
    background: #b8e2c8;
    height: 10px;
    position: absolute;
    border-radius: 10px;
}



.element-impact-slider .ui-slider-handle {
	position: absolute;
	border-radius: 20px;
	height: 20px;
	width: 20px;
	background: #009750;
	display: block;
	margin-top: -5px;
	margin-left: -8px;
	z-index: 9;
}

.ui-slider{
	cursor: ew-resize;
}

.ui-slider[data-value="0"]{
	cursor: e-resize;
}

.ui-slider[data-value="100"]{
	cursor: w-resize;
}

.element-content {
    overflow-x: hidden;
    overflow-y: hidden;
}

.element-content:hover,
.element-content:focus {
    overflow-y: auto;
}

ul.element-content,
ol.element-content{
	list-style: none;
	margin: 0px;
}

ul.element-content li:empty,
ol.element-content li:empty{
	display: none;
}

ul.element-content:hover li:empty,
ul.element-content:focus li:empty,
ol.element-content:hover li:empty,
ol.element-content:focus li:empty{
	display: block;
}

ul.element-content li,
ol.element-content li{
	position: relative;
	margin: 0px 0px 10px 0px;
	padding-left: 20px;
	min-height: 30px;
	width: 100%;
}

ul.element-content li::before{
	content: "";
    background: #ccc;
    margin-right: 10px;
    font-size: 32px;
    line-height: 14px;
    border-radius: 50px;
    height: 8px;
    width: 8px;
    display: block;
    position: absolute;
    top: 5px;
    left: 0px;
}

ol.element-content li{
	counter-increment: step-counter;
}

ol.element-content li::before{
	content: counter(step-counter);
    background: #ccc;
    margin-right: 10px;
    font-size: 10px;
    line-height: 14px;
    border-radius: 50px;
    height: 15px;
    color: white;
    width: 15px;
    display: block;
    position: absolute;
    top: 3px;
    left: -5px;
    text-align: center;
    font-weight: bold;
}

.element-settings {
    position: absolute;
    right: -15px;
    top: 50%;
    top: calc(50% - 15px);
    height: 30px !important;
    width: 30px !important;
    display: block;
    opacity: 0;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1) !important;
    border-radius: 100px;
    cursor: pointer !important;
    transform: translate(0px,0px); /* SVG FILTER FIX */
}

#detail-view[data-resolution="1"] .element-item:hover .element-settings,
#detail-view[data-resolution="2"] .element-item:hover .element-settings,
#detail-view[data-resolution="3"] .element-item:hover .element-settings,
.element-item.editing .element-settings{
	opacity: 1.0;
}

.element-settings::before{
    content: "";
    position: absolute;
    background-color: var(--grey-dark);
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    transition: all 0.2s linear;
    display: block;
    height: 100%;
    width: 100%;
    z-index: 2;
}

.add-section:not(.active)::after {
    content: "New element";
}


[action="new-element"].loading::before {
    height: 32px;
    width: 32px;
    top: 4px;
    left: 8px;
}

[action="new-element"].loading{
	background-image: none !important;
}

.add-section .close{
    display:none;
}

.add-section.active .close{
    display:block;
    right: 20px !important;
    top: 35px !important;
}

.add-section [action="new-element"]{
    display: none;
    cursor: pointer;
    border: 1px solid rgb(224, 224, 224);
    border-radius: 5px;
    height: 30px;
    width: 50px;
    margin: 5px;
    line-height: 30px;
    background-repeat: no-repeat;
    background-size: 25px;
    background-position: center 8px;
    text-align: center;
    padding-top: 40px;
}

[action="add-section"] [action="new-element"]:hover{
    border-color: #009750;
    background-color: rgba(0, 155, 72, 0.1);
    color: #009750;
    font-weight: bold;
}

[action="add-section"].active [action="new-element"]{
    display: inline-block !important;
    -webkit-animation: zoomer 300ms;
    animation: zoomer 300ms;
    -webkit-transform: scale(0.7);
    transform: scale(0.7);
    opacity: 0.0;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-transition: all 100ms ease-in;
    -ms-transition: all 100ms ease-in;
    -moz-transition: all 100ms ease-in;
    transition: all 100ms ease-in;
    font-size: 12px;
}

@-webkit-keyframes zoomer { 100% { -webkit-transform: scale(1.0); opacity: 1.0; } }
@keyframes zoomer { 100% { transform: scale(1.0); opacity: 1.0; } }


.element-item::first-of-type{
margin-top: 80px;
}

.element-item, .element-item-placeholder {
	padding: 10px;
	min-height: 30px;
    display: block;
    background-repeat: no-repeat;
    background-size: 25px;
    border-color: transparent;
    line-height: 30px;
    position: relative;
    background-position: center;
    -webkit-transition: border 0.2s linear;
    -moz-transition: border 0.2s linear;
    transition: border 0.2s linear;
    text-overflow: ellipsis;
    width: 100%;
    box-shadow: none !important;
}

.element-item.ui-sortable-helper{
	cursor: grab;
}

.element-item [contenteditable="true"]:hover,
.element-item [contenteditable="true"]:focus{
	box-shadow: none !important;
}

.element-item-sortable-placeholder{
	border: 2px dashed #eee;
	background-color: transparent;
	box-shadow: none !important;
	-webkit-box-box-shadow: none !important;
    -moz-box-box-shadow: none !important;
    -ms-box-box-shadow: none !important;
}

.element-title {
	padding: 5px 30px;
    font-family: "Montserrat";
    font-weight: 400;
    width: 100%;
    overflow: hidden;
    height: 40px;
	text-align: left;
    font-size: 14px;
    opacity: 0;
}

.screen-item:hover .element-title,
.first-visible .element-title{
	opacity: 1;
}


.element-content {
    padding: 10px 30px;
    width: 100%;
    -ms-overflow-style: none;
    overflow: auto;
    height: 200px;
    white-space: pre-wrap;
    font-size: 14px;
    line-height: 20px;
}

.element-item::-webkit-scrollbar {
	display: none;
}


.element-item .move-element-handle {
	opacity: 0;
    height: 25px;
    width: 25px;
    position: absolute;
    right: 80%;
    left: calc(80% - 20px);
    top: 10px;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    transition: all 0.2s linear;
    background-image: url(../../images/reorder.svg);
    cursor: move;
    cursor: grab;
    z-index: 99;
    background-color: #f1f1f1;
    border-radius: 50px;
    background-size: 15px;
    background-repeat: no-repeat;
    background-position: center;
}

.element-item:hover .move-element-handle,
.element-item.ui-sortable-helper .move-element-handle{
	opacity: 1;
}
.element-item .move-element-handle:hover{
	background-image: url(../../images/reorder_filled.svg);
}

element-item.ui-sortable-helper .move-element-handle{
	cursor: grabbing;
}

.element-item .delete-element-handle {
	opacity: 0;
    height: 25px;
    width: 25px;
    position: absolute;
    right: 5%;
    top: 10px;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    transition: all 0.2s linear;
    background-image: url(../../images/trash.svg);
    cursor: pointer;
    background-color: #f1f1f1;
    border-radius: 50px;
    background-size: 15px;
    background-repeat: no-repeat;
    background-position: center;
    overflow: hidden;
}

.element-item:hover .delete-element-handle{
	opacity: 1;
}

.element-item .delete-element-handle:hover{
	opacity: 1;
	background-image: url(../../images/trash_filled.svg);
}

.element-item .delete-element-handle.confirm:hover{
	background-image: url(../../images/trash_filled-white.svg);
}

.element-item.ui-sortable-helper .delete-element-handle{
	opacity: 0 !important;
}

/* EDIT MODE */

#detail-view[display="edit"] .element-item.editing,
#detail-view:not([data-resolution="4"]) .element-item:hover{
	background-color: rgba(0, 203, 255, 0.1) !important;
}

#detail-view[data-resolution="1"] .element-item:hover::before,
#detail-view[data-resolution="1"] .element-item.editing::before{
	background-color: var(--grey-dark) !important;
}

.element-item[action="new-element"].ui-draggable-dragging{
	width: 300px;
	z-index: 9999;
	box-sizing: border-box;
	background-color: white !important;
	border-radius: 6px;
	-webkit-box-shadow: 4px 4px 16px #cdcdcd !important;
	box-shadow: 4px 4px 16px #cdcdcd !important;
}


/* LIBRARY */

.library-label {
    font-weight: bold;
    margin: 50px 5px 10px;
}

#detail-view[data-resolution="1"] .element-item,
#item-view .element-item[action="new-element"]{
    cursor: pointer;
    border: 1px solid rgb(224, 224, 224);
    border-radius: 5px;
    height: 30px;
    width: 50px;
    margin: 10px 30px 10px 5px;
    line-height: 30px;
    display: inline-block;
    background-repeat: no-repeat;
    background-size: 25px;
    background-position: center;
    text-align: center;
    padding-top: 40px;
    -webkit-animation: zoomer 300ms;
    animation: zoomer 300ms;
    -webkit-transform: scale(0.7);
    transform: scale(0.7);
    opacity: 0.0;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    font-size: 12px;
}

#item-view .element-item[action="new-element"] .element-label{
	font-size: 11px;
    width: 100%;
    display: block;
    position: absolute;
    left: -10px;
    bottom: -30px;
    width: calc(100% + 20px);
    text-align: center;
}

#item-view .element-item[action="new-element"] > *:not(.element-label){
	display: none;
}

#item-view .element-item[action="new-element"].loading::before {
    width: 30px !important;
    height: 30px !important;
    top: calc(50% - 15px) !important;
    left: calc(50% - 15px) !important;
    border-width: 3px !important;
}

#item-view .element-item[action="new-element"]:hover{
    border-color: var(--green);
    background-color: rgb(52, 199,89,0.1);
    color: var(--green);
    font-weight: bold;
}

#item-view .element-item[action="new-element"]:hover::before{
    background-color: var(--green) !important;
}

.screen-item .tile-toolbar{
	margin-bottom: 40px;
}

.screen-item .element-item[data-type="radio"] [action="update-meta"],
.screen-item .element-item[data-type="checkbox"] [action="update-meta"]{
	display: inline-block !important;
	margin-left: 10px;
	width: 80%;
}

.screen-item .element-item[data-type="input"] [action="update-meta"],
.screen-item .element-item[data-type="select"] [action="update-meta"]{
	max-width: 300px;
	margin-bottom: 8px;
	display: block !important;
}

.screen-item .element-item[data-type="input"] input{
	height: 40px;
	max-width: 300px;
	width: 100%;
	font-size: 14px;
	padding: 8px 16px;
	border-radius: 6px;
	border: 1px solid #ccc;
	background-color: #f1f1f1;
}

.screen-item .element-item[data-type="select"] select{
	height: 40px;
	width: 100%;
	max-width: 300px;
	font-size: 14px;
	padding: 8px 16px;
	border-radius: 6px;
	border: 1px solid #ccc;
	background-color: #f1f1f1;
}

.screen-item .element-item button{
	margin: 8px 0px;
}

.screen-item .element-item h1{
	font-size: 28px;
	margin: 8px 0px;
	height: 34px;
}

.screen-item .element-item h2{
	font-size: 24px;
	margin: 8px 0px;
	height: 30px;
}

.screen-item .element-item h3{
	font-size: 20px;
	margin: 8px 0px;
}

.screen-item .element-item p{
	font-size: 16px;
	margin: 8px 0px;
}


/* DELETE ELEMENT */

[action="delete-element"]::after{
	content: "Delete element" !important;
}

[action="delete-element"]{
	float: right;
    position: absolute !important;
    display: block;
    right: 50px !important;
    top: 40px;
}

/* STANDARD DEVICE SIZE */

#detail-view[data-device="mobile"] .screen-item{
    min-height: 400px;
    width: 340px;
    min-width: 240px;
    padding-bottom: 40px;
}

#detail-view[data-device="tablet"] .screen-item{
    min-height: 400px;
    width: 500px;
    min-width: 240px;
    padding-bottom: 40px;
}

#detail-view[data-device="desktop"] .screen-item{
    min-height: 600px;
    width: 840px;
    min-width: 840px;
    padding-bottom: 40px;
}

/* RESOLUTION 1 - GOALS  */

#detail-view[data-resolution="1"] .element-sortable-placeholder{
	border-radius: 5px;
    height: 52px !important;
    width: 50px !important;
    display: inline-block;
    padding-top: 0px !important;
    margin: 30px 29px 30px 30px !important;
    position: relative;
    text-align: center;
    border: 0;
    font-size: 12px;
}

#detail-view[data-resolution="1"][data-device="mobile"] .screen-item{
    min-height: 400px;
}

#detail-view[data-resolution="1"][data-device="tablet"] .screen-item{
    min-height: 250px;
    width: 180px;
    min-width: 180px;
}

#detail-view[data-resolution="1"][data-device="desktop"] .screen-item{
    min-height: 280px;
    width: 840px;
    min-width: 840px;
}

#detail-view[data-resolution="1"] .element-item > * {
	display: none;
}

table th div{
	display: inline-block;
}

#detail-view[data-resolution="1"] .element-item{
	margin: 30px;
	cursor: default;
}

#detail-view:not([data-resolution="1"]) .element-item::before{
	display: none !important;
}

#item-view .element-item[action="new-element"]::before,
#detail-view[data-resolution="1"] .element-item::before{
	content: "";
	display: block;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: 1;
}

#detail-view[data-resolution="1"] .screen-item.editing .element-item[data-type="checkbox"],
#detail-view[data-resolution="1"] .screen-item.editing .element-item[data-type="radio"]{
	margin-left: 30px !important;
	margin-top: 30px !important;
	position: initial !important;
}

#detail-view[data-resolution="1"] .element-item[data-type="checkbox"] + [data-type="checkbox"],
#detail-view[data-resolution="1"] .element-item[data-type="radio"] + [data-type="radio"]{
	position: absolute;
    margin-left: -75px;
    margin-top: 35px;
}

#detail-view[data-resolution="1"] .element-item[data-type="checkbox"] + [data-type="checkbox"]  + [data-type="checkbox"],
#detail-view[data-resolution="1"] .element-item[data-type="radio"] + [data-type="radio"] + [data-type="radio"]{
	position: absolute;
    margin-left: -70px;
    margin-top: 40px;
}

#detail-view[data-resolution="1"] .element-item[data-type="checkbox"] + [data-type="checkbox"] + [data-type="checkbox"] + [data-type="checkbox"],
#detail-view[data-resolution="1"] .element-item[data-type="radio"] + [data-type="radio"] + [data-type="radio"] + [data-type="radio"]{
	position: absolute;
    margin-left: -65px;
    margin-top: 45px;
}

#detail-view[data-resolution="1"] .element-item[data-type="radio"]::after,
#detail-view[data-resolution="1"] .element-item[data-type="checkbox"]::after,
#detail-view[data-resolution="1"] .element-item[data-type="table"][data-count]::after{
  content: attr(data-count);
  z-index: 9;
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 25px;
  height: 25px;
  text-align: center;
  display: block;
  padding: 5px;
  line-height: 14px;
  font-size: 12px;
  font-weight: bold;
  background: #eee;
  border-radius: 100%;
}


/* RESOLUTION 2 - WIREFRAME */

#detail-view[data-resolution="2"] [placeholder]:empty::before{
	position: initial !important;
}

#detail-view[data-resolution="2"] .element-item,
#detail-view[data-resolution="2"] .element-item > *{
	font-size: 0px;
	color: transparent;
}

#detail-view[data-resolution="2"] .element-item [placeholder]::before{
	display: none !important;
}

#detail-view[data-resolution="2"] .element-item{
	margin: 0px auto;
    font-family: "Open Sans";
    font-weight: normal;
    width: 100%;
    padding: 16px 10%;
}

#detail-view[data-resolution="2"] .element-item > *:not(table){
	height: 40px;
	border: none;
	outline: none;
	cursor: default;
	display: block;
	clear: both;
}


#detail-view[data-resolution="2"] .element-item p,
.element-item[action="new-element"] p{
	background:
		linear-gradient(180deg, #BBB, #BBB),
		linear-gradient(180deg, #CCC, #CCC),
		linear-gradient(180deg, #DDD, #DDD);
    background-size:
    	calc(100% - 90px - 7px) 10px,
    	calc(90% - 90px - 7px) 10px,
    	calc(60% - 90px - 7px) 10px;
    background-position:
    	0px 17px,
    	0px 34px,
    	0px 51px;
    background-repeat: no-repeat;
    height: 70px !important;
}

#detail-view[data-resolution="2"] .element-item h1,
.element-item[action="new-element"] h1{
	background:
		linear-gradient(180deg, #AAA, #AAA);
    background-size:
    	calc(100% - 20px - 7px) 20px;
    background-position:
    	0px 5px;
    background-repeat: no-repeat;
}

#detail-view[data-resolution="2"] .element-item h2,
.element-item[action="new-element"] h2{
	background:
		linear-gradient(180deg, #CCC, #CCC);
    background-size:
    	calc(60% - 20px - 7px) 20px;
    background-position:
    	0px 5px;
    background-repeat: no-repeat;
}

#detail-view[data-resolution="2"] .element-item[data-type="img"],
#detail-view[data-resolution="3"] .element-item[data-type="img"],
#detail-view[data-resolution="4"] .element-item[data-type="img"],
#detail-view .element-item[action="new-element"][data-type="img"]{
	background:
		url(../../images/camera.svg),
		linear-gradient(180deg, #eee, #eee);
	background-size:
    	30px 30px,
    	100% 100%;
	background-position:
		center,
    	0px 0px;
	background-repeat: no-repeat;
}

#detail-view[data-resolution="2"] .element-item[data-type="img"],
#detail-view[data-resolution="3"] .element-item[data-type="img"],
#detail-view[data-resolution="4"] .element-item[data-type="img"],
.element-item[data-type="img"].ui-draggable-dragging{
	min-height: 200px;
}

#detail-view[data-resolution="2"] .element-item input,
.element-item[action="new-element"] input{
    border: 1px solid #ccc !important;
    background: #fafafa;
}

#detail-view[data-resolution="2"] .element-item[data-type="input"] label,
#detail-view[data-resolution="2"] .element-item[data-type="select"] label{
	display: none;
}

#detail-view[data-resolution="2"] .element-item input[type="checkbox"] + label,
.element-item[action="new-element"] input[type="checkbox"] + label,
#detail-view[data-resolution="2"] .element-item input[type="radio"] + label,
.element-item[action="new-element"] input[type="radio"] + label{
    background: linear-gradient(180deg, #DDD, #DDD);
    background-size: calc(100% - 90px - 7px) 10px;
    background-position: 10px 5px;
    background-repeat: no-repeat;
    height: 30px;
    display: inline-block;
    width: 80%;
}

#detail-view[data-resolution="2"] .element-item button,
#detail-view[data-resolution="3"] .element-item button,
#detail-view[data-resolution="4"] .element-item button,
.element-item[action="new-element"] button{
    background: #aaa !important;
    border-radius: 30px !important;
    border: 0;
    color: white;
    font-weight: bold;
	height: 40px;
    width: 100%;
    max-width: 300px;
}

#detail-view[data-resolution="3"] .element-item button [action="update-meta"]::before{
	color: white !important;
}

/* RESOLUTION 3 - MOCKUP */

#detail-view[data-resolution="3"] [placeholder]:empty:before,
#detail-view[data-resolution="4"] [placeholder]:empty:before{
	position: initial !important;
}

#detail-view[data-resolution="3"] .element-item{
	margin: 0px auto;
    font-family: "Open Sans";
    font-weight: normal;
    width: 100%;
    padding: 16px 10%;
}

#detail-view[data-resolution="3"] .screen-item.editing .make-contenteditable{
	cursor: text;
}

#detail-view[data-resolution="3"] .screen-item.editing [multiline="true"],
#detail-view[data-resolution="3"] .screen-item.editing-element [multiline="true"]{
	white-space: normal !important;
}

#detail-view[data-resolution="3"] .screen-item.editing [contenteditable="true"]:focus::after{
	width: 100% !important;
	left: 0px !important;
}


#detail-view[data-resolution="3"] .screen-item.editing button{
	cursor: default !important;
}

#detail-view[data-resolution="3"] button.color-blue,
#detail-view[data-resolution="4"] button.color-blue{
	background-color: rgb(10,132,255) !important;
}

#detail-view[data-resolution="3"] button.color-green,
#detail-view[data-resolution="4"] button.color-green{
	background-color: rgb(48, 209, 88) !important;
}

#detail-view[data-resolution="3"] button.color-orange,
#detail-view[data-resolution="4"] button.color-orange{
	background-color: rgb(255,159,10) !important;
}

#detail-view[data-resolution="3"] button.color-red,
#detail-view[data-resolution="4"] button.color-red{
	background-color: rgb(255,69,58) !important;
}

#detail-view[data-resolution="3"] button.color-pink,
#detail-view[data-resolution="4"] button.color-pink{
	background-color: rgb(255,55,95) !important;
}

#detail-view[data-resolution="3"] button.color-purple,
#detail-view[data-resolution="4"] button.color-purple{
	background-color: rgb(191,90,242) !important;
}

#detail-view[data-resolution="3"] button.color-black,
#detail-view[data-resolution="4"] button.color-black{
	background-color: rgb(28,28,30) !important;
}

#detail-view[data-resolution="3"] button [placeholder]:empty:before,
#detail-view[data-resolution="4"] button [placeholder]:empty:before{
	position: initial !important;
	color: white !important;
}


/* RESOLUTION 4 - PROTOTYPE */

#detail-view[data-resolution="4"] .element-item{
	margin: 0px auto;
    font-family: "Open Sans";
    font-weight: normal;
    width: 100%;
    padding: 16px 10%;
}

#detail-view[data-resolution="4"] .move-handle,
#detail-view[data-resolution="4"] .add-handle,
#detail-view[data-resolution="4"] .delete-handle{
	display: none !important;
}

#detail-view[data-resolution="4"] .tile-toolbar{
	height: 0px;
	overflow: hidden;
	padding: 0px;
	border-width: 0px;
	margin-top: -1px;
}

#detail-view[data-resolution="4"][data-device="mobile"] .screen-item{
	border: 12px solid black;
	border-radius: 30px;
    width: 372px;
    height: 812px;
    overflow-x: hidden;
    overflow-y: scroll;
    position: absolute;
    margin: 0px calc(50vw - 250px);
}

#detail-view[data-resolution="4"][data-device="desktop"] .screen-item{
	border: 12px solid black;
	border-radius: 30px;
    width: 1024px;
    height: 768px;
    overflow-x: hidden;
    overflow-y: scroll;
    position: absolute;
    margin: 0px calc(50vw - 600px);
}

#detail-view[data-resolution="4"][data-device="mobile"] .screen-item::before{
	content: "";
    position: sticky;
    left: calc(50% - 80px);
    display: black;
    height: 10px;
    width: 160px !important;
    border: 8px solid black;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    top: 0px;
    z-index: 3;
    display: block;
}

#detail-view[data-resolution="4"] .screen-item:not(.current){
	display: none !important;
}

#detail-view[data-resolution="4"] #new-screen,
#detail-view[data-resolution="4"] #delete-storyboard{
	display: none;
}

body.shared-public #detail-view[data-resolution="4"][data-device="mobile"] .screen-item{
	margin: 0px calc(50vw - 280px);
}

body.shared-public #detail-view[data-resolution="4"][data-device="desktop"] .screen-item{
	margin: 0px calc(50vw - 612px);
}

body.shared-public .element-settings{
	display: none !important;
}


/* iPad */
@media only screen and (max-width : 1024px)  {

	body.make:not(.archive) header{
		display: none !important;
	}

	#detail-view[data-resolution="4"] .screen-item{
		border: none !important;
		width: 100% !important;
		height: initial !important;
		overflow-x: auto !important;
		overflow-y: auto !important;
		position: absolute !important;
		margin: 0px !important;
		border-radius: 0px !important;
		min-width: 100vw !important;
		min-height: 100vh !important;
		box-shadow: initial !important;
		-webkit-box-shadow: initial !important;
		-moz-box-shadow: initial !important;
		-ms-box-shadow: initial !important;
	}
	
	body.make:not(.archive) #detail-view{
		padding: 0px !important;
	}
	
	body.make content{
		margin: 0px !important;
		width: 100vw !important;
		left: initial !important;
		position: initial !important;
		top: initial !important;
	}
	
	body.shared-public content{
		margin-top: 0px !important;
	}
	
	body.make #toolbar,
	body.make nav#main{
		display: none !important;
	}
	
	.screen-item::before{
		display: none !important;
	}

}
	

/* iPhone */
@media only screen and (max-width:568px) {



}

