/* Settings Metabox */
$themeColor:#57a7c9;
.hide {
  display: none;
  &.show{
    display: block;
  }
}
#publishing-action {
  .button-timeline{
    background: $themeColor;
    border-color: $themeColor;
  }
}
#timeline-wp-settings  {
  .handlediv, .hndle { display: none; }
}
#timeline-wp-settings .inside {
	padding: 0;
	margin: 0;
}
.timeline-wp-settings-container {
	display: flex;
}

/* Settings Tabs */
.timeline-wp-settings-container .timeline-wp-tabs {
	background-color: #f8f8f8;
}
.timeline-wp-settings-container .timeline-wp-tabs .timeline-wp-tab {
	margin: 0 0 0 0;
    padding: 15px 0;
    color: #9c9c9c;
    cursor: pointer;
    position: relative;
    width: 175px;
    position: relative;
}
.timeline-wp-settings-container .timeline-wp-tabs .timeline-wp-tab sup {
  margin-left: 5px;
  padding: 2px 5px;
  border-radius: 5px;
  color: #fff;
  font-size: 8px;
  background: #9c9c9c;
  display: inline-block;
  line-height: 1;
  position: relative;
  top: -2px;
}
.timeline-wp-settings-container .timeline-wp-tabs .timeline-wp-tab:hover sup,
.timeline-wp-settings-container .timeline-wp-tabs .timeline-wp-tab.active-tab sup {
  background-color: #57a7c9;
}
.timeline-wp-settings-container .timeline-wp-tabs .timeline-wp-tab.timeline-wp-responsive:hover sup,
.timeline-wp-settings-container .timeline-wp-tabs .timeline-wp-tab.timeline-wp-responsive.active-tab sup {
  background:#dc3232;
}
.timeline-wp-settings-container .timeline-wp-tabs .timeline-wp-tab > i {
	margin-right: 10px;
	margin-left: 15px;
}
.timeline-wp-settings-container .timeline-wp-tabs .timeline-wp-tab:after {
	position: absolute;
	content: "";
	width: 1px;
	height: 100%;
	background-color: transparent;
	top: 0;
	right: -1px;
}
.timeline-wp-settings-container .timeline-wp-tabs .timeline-wp-tab.active-tab:first-child {
	border-top: 0 none;
}
.timeline-wp-settings-container .timeline-wp-tabs .timeline-wp-tab:hover {
	color: #333333;
}
.timeline-wp-settings-container .timeline-wp-tabs .timeline-wp-tab.active-tab {
	margin: 0;
    padding: 15px 10px 15px 0;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
    color: #333333;
    /*box-shadow: 1px 0px 1px 0px rgba(0, 0, 0, 0.43) inset;*/
}
.timeline-wp-settings-container .timeline-wp-tabs .timeline-wp-tab.active-tab:before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 3px;
	height: 100%;
	background-color: #57a7c9;
}
.timeline-wp-settings-container .timeline-wp-tabs .timeline-wp-tab.active-tab:after {
	background-color: #fff;
}

tr label.th-label {
	color: #23282d;
	font-weight: 600;
	margin-bottom: 10px;
	/*display: block;*/
}


/* Tab Content */
.postbox .timeline-wp-settings-container table.form-table {
	margin: 0;
}
.postbox .timeline-wp-settings-container .form-table-wrapper {
	padding: 0 0 0 20px;
	box-sizing: border-box;
}
.timeline-wp-settings-container .timeline-wp-tabs-content {
	padding: 10px 20px;
	border-left: 1px solid #eee;
	flex-grow: 1;
}
.timeline-wp-tabs-content > div:not( .active-tab ) {
	display: none;
}
.timeline-wp-settings-container .timeline-wp-tabs-content .tab-content-header {
	width: 100%;
    padding-bottom: 12px;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-left: 20px;
    padding-right: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.timeline-wp-settings-container .timeline-wp-tabs-content .tab-content-header .tab-content-header-actions {
  display: flex;
  align-items: center;
}
.timeline-wp-settings-container .timeline-wp-tabs-content .tab-content-header .tab-content-header-actions > span {
  margin: 0 10px;
  font-style: italic;
}
.timeline-wp-settings-container .timeline-wp-tabs-content .tab-content-header .tab-content-header-actions a.button > span {
  height: auto;
  line-height: 26px;
  margin-right: 10px;
}
#poststuff .timeline-wp-settings-container .timeline-wp-tabs-content .tab-content-header .tab-content-header-title > h2 {
    font-weight: 700;
    padding: 0;
    display: inline-block;
}

#poststuff .timeline-wp-settings-container .timeline-wp-tabs-content .tab-content-header .tab-header-description p {
  margin: 0;
}

.timeline-wp-settings-container .form-table td p.description {
	font-size: 13px;
}

/* Fields */

/* UI Slider */
.timeline-wp-settings-container .slider-container {
	position: relative;
	height: 2px;
	padding: 10px 0;
	width: 25em;
	box-sizing: border-box;
  margin-bottom: 10px;
  display: flex;
  display: flex;
    justify-content: space-between;
    align-items: center;
}
.timeline-wp-settings-container .slider-container input[type="text"] {
    border: none;
    text-align: center;
    padding: 2px;
    margin: 0 20px 0 0;
    font-size: 12px;
    color: #333;
    border-radius: 10px;
    background-color: #fff;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.16);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.16);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.16);
    width: 40px;
    height: 22px;
    cursor: default;
}
.timeline-wp-settings-container .slider-container .ui-slider {
    position: relative;
    text-align: left;
    height: 2px;
    border-radius: 3px;
    border: none;
    display: block;
    width: 100%;
    background: #d6d6d6;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.timeline-wp-settings-container .slider-container .ui-slider .ui-slider-handle {
	position: absolute;
	z-index: 2;
	top: -10px;
	cursor: default;
	-ms-touch-action: none;
	touch-action: none;
	width: 18px;
	height: 18px;
	-webkit-border-radius: 9px;
	-moz-border-radius: 9px;
	border-radius: 9px;
	background-color: #fff;
	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
	border: solid 1px #d7d7d7;
	transform: translateX(-50%);
}
.timeline-wp-settings-container .slider-container .ui-slider .ui-slider-range {
	position: absolute;
	z-index: 1;
	font-size: 0.7em;
	display: block;
	border: 0;
	background-position: 0 0;
	background: #57a7c9;
	top: 0;
	bottom: 0;
}

/* Hover Effects */
.timeline-wp-effects-preview {
	margin-top: 20px;
}
.timeline-wp-effects-preview .timeline-wp-item {
    width: 400px;
    height: 300px;
    overflow: hidden;
    position: relative;
}
.timeline-wp-effects-preview .timeline-wp-item img {
    position: absolute;
    min-height: 100%;
    min-width: 100%;
}
.timeline-wp-effects-preview .timeline-wp-item .figc {
	display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    text-align: center;
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0;
}
.timeline-wp-effects-preview .timeline-wp-item .figc h2 {
    font-size: 21px !important;
    color: #fff;
}
.timeline-wp-effects-preview .timeline-wp-item .figc p {
    color: #fff;
    font-size: 15px;
    font-style: normal;
}

.timeline-wp .timeline-wp-items .timeline-wp-item h2 {
	margin:0;
}
.timeline-wp .timeline-wp-items .timeline-wp-item p {
	margin:0;
	padding: 0;
}	
.timeline-wp .figc {
	color: black;
	text-align: center;
	position: absolute;
	left: 0;
	width: 100%;
	padding:2em;
}

.timeline-wp .timeline-wp-item .jtg-social a {
	text-decoration: none;
	color: #fff;
	display: inline-block;
	margin:0 10px 0 0;
	width: 20px;
	padding: 6px 4px;
	border: 0;
	opacity: 0;
	transition: opacity .3s;
}
.timeline-wp .timeline-wp-item .jtg-social svg {
    width: 20px;
    height: 16px;
}
.timeline-wp .timeline-wp-item:hover .jtg-social a {
	opacity: 1;
}

/*---------------*/
/***** pufrobo *****/
/*---------------*/

.timeline-wp .timeline-wp-items .jtg-social {
	opacity: 0;
	transition: opacity 0.1s;
	right:30px;
	position: absolute;
	bottom:20px;
	text-align: right;
	transition:all .3s;
}

.timeline-wp .timeline-wp-items .jtg-social {
	opacity: 1;
}

.timeline-wp .timeline-wp-items .jtg-social a:last-of-type {
	margin-right: 0;	
}

.timeline-wp .timeline-wp-item.effect-pufrobo p.description {
	margin-bottom: 2em;
}

.timeline-wp .timeline-wp-item.effect-pufrobo .figc {
	text-align: right;
}

.timeline-wp .timeline-wp-item.effect-pufrobo h2,
.timeline-wp .timeline-wp-item.effect-pufrobo p {
	position: absolute;
	right: 30px;
	left: 30px;
	padding: 10px 0;
}

.timeline-wp .timeline-wp-item:hover img { opacity: .8 }

.timeline-wp .timeline-wp-item { background-color:#000; }

.timeline-wp .timeline-wp-item.effect-pufrobo p {
	bottom: 20%;  
	line-height: 1.5;
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0,100%,0);
	letter-spacing: 1px;
}

.timeline-wp .timeline-wp-item.effect-pufrobo h2 {
	/*top: 30px;*/
	top: 10%;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0,20px,0);
	transform: translate3d(0,20px,0);
}

.timeline-wp .timeline-wp-item.effect-pufrobo:hover h2 {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

.timeline-wp .timeline-wp-item.effect-pufrobo h2::after {
	position: absolute;
	top: 80%;
	left: 0;
	width: 100%;
	height: 4px;
	background: #fff;
	content: '';
	-webkit-transform: translate3d(0,40px,0);
	transform: translate3d(0,40px,0);
}

.timeline-wp .timeline-wp-item.effect-pufrobo h2::after,
.timeline-wp .timeline-wp-item.effect-pufrobo p {
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
}

.timeline-wp .timeline-wp-item.effect-pufrobo:hover h2::after,
.timeline-wp .timeline-wp-item.effect-pufrobo:hover p {
	margin-top: 10px;
	margin-bottom: 5px;
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

/* Upsells */
.timeline-wp-upsell {
	background: #e5f3e2;
    border: 1px solid #a8d69c;
    padding: 20px;
    margin-top: 30px;
}
#poststuff .timeline-wp-upsell h2 {
	margin: 0 0 20px 0;
	font-size: 16px;
    font-weight: 700;
    padding: 0;
}
.timeline-wp-upsell p {
	margin: 0;
}
.timeline-wp-upsell p.timeline-wp-upsell-description {
	font-size: 13px;
    line-height: 1.5;
	color: #333333;
	opacity: .8;
	margin-top: 0;
	margin-bottom: 10px;
}
.timeline-wp-upsell .button {
    height: 31px;
    line-height: 31px;
    font-weight: bold;
}
.timeline-wp-upsell .button:first-child {
	margin-right: 10px;
}
.timeline-wp-upsell .button.button-timeline{
	background-color: #52ad3a;
	border-color: #378c21;
	box-shadow: 0 1px 0 #378c21;
	text-shadow: 0 -1px 1px #378c21, 1px 0 1px #378c21, 0 1px 1px #378c21, -1px 0 1px #378c21;
}
.timeline-wp-upsell .action-link,
.timeline-wp-upsell .action-link:hover {
	background: #51AD31;
    border-color: #51AD31;
    color: #fff;
    font-weight: bold;
}

/* Timeline_WP Gallery upload */
#timeline-wp-uploader-container {
    /*min-height: 300px;*/
    position: relative;
    padding-left: 10px;
    padding-right: 10px;
}
#timeline-wp-uploader-container.timeline-wp-resizer-enabled {
	/*padding-left: 20px;*/
	margin-bottom: 20px;
}
.timeline-wp-upload-actions {
    padding: 15px 20px;
    background-color: #f8fcfd;
    border-bottom: 1px solid #ecf6f9;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
}
.timeline-wp-upload-actions .buttons {
    flex-shrink: 0;
    width: 275px;
    display: flex;
}
.timeline-wp-sources-dropdown {
  position: relative;
  border-top: 1px solid rgba( 255,255,255,0 );
    border-right: 1px solid rgba( 255,255,255,0 );
    border-left: 1px solid rgba( 255,255,255,0 );
}
.timeline-wp-sources-dropdown:hover {
  border-color: #ddd;
  background: #f5f5f5;
}
.timeline-wp-sources-dropdown > span {
  width: 28px;
  height: 32px;
  text-align: center;
  line-height: 28px;
  cursor: pointer;
  display: inline-block;
  font-size: 25px;
  font-weight: bold;
}
.timeline-wp-sources-dropdown .timeline-wp-sources-dropdown-content {
  position: absolute;
  right: -1px;
  bottom: 0;
  transform: translateY( 100% );
  display: none;
  padding: 15px;
  background-color: #f5f5f5;
  box-shadow: 0 1px 1px rgba(0,0,0,.04);
  box-sizing: border-box;
  border: 1px solid #ddd;
}
.timeline-wp-sources-dropdown:hover .timeline-wp-sources-dropdown-content {
  display: block;
}
.timeline-wp-sources-dropdown:hover .timeline-wp-sources-dropdown-content:before {
  content: "";
  height: 1px;
  width: 28px;
  background-color: #f5f5f5;
  position: absolute;
  top: -1px;
  right: 0;
}
.segrip.ui-resizable-se {
	width: 30px;
	height: 30px;
	background: url('../images/resize-se.svg') no-repeat;
  background-size: contain;
	display: none;
  z-index: 100;
  opacity: 1;
}
.timeline-wp-resizer-enabled .segrip.ui-resizable-se {
	display: block;
}
.timeline-wp-upload-actions #timeline-wp-uploader-browser {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}
.timeline-wp-upload-actions #timeline-wp-wp-gallery {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}
.wp-core-ui .timeline-wp-upload-actions > a {
  margin: 0 5px;
}
#timeline-wp-dropzone-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,86,132,.9);
    z-index: 250000;
    display: none;
    text-align: center;
    opacity: 0;
    transition: opacity 250ms;
}
#timeline-wp-dropzone-container .timeline-wp-uploader-window-content {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px dashed #fff;
}
#poststuff #timeline-wp-dropzone-container .timeline-wp-uploader-window-content h1 {
    margin: -.5em 0 0;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 20px;
    line-height: 28px;
    font-weight: 400;
    color: #fff;
    padding: 0;
}
.timeline-wp-uploader-inline-content {
  position: relative;
  min-height: 300px;
  width: 100%;
}
.timeline-wp-resizer-enabled .timeline-wp-uploader-inline-content {
  min-height: initial;
}
.timeline-wp-uploader-inline-content h2 {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate( -50%, -50% );
}
#poststuff .timeline-wp-upload-message {
    font-size: 43px;
    line-height: 1;
    font-weight: 400;
    margin: 0;
    display: none;
    color: #ebebeb;
}
#poststuff .timeline-wp-upload-message .dashicons,
#poststuff .timeline-wp-upload-message .dashicons-before:before{
  font-size: 43px;
  width: 43px;
  height: 43px;
}
.timeline-wp-uploader-inline p {
    font-size: 12px;
    margin: .5em 0;
}
#poststuff .timeline-wp-uploader-inline .timeline-wp-upload-instructions {
    font-size: 14px;
    color: #444;
    font-weight: 400;
    padding: 0;
}
.timeline-wp-uploader-footer .max-upload-size {
  float: left;
}
.timeline-wp-uploader-footer .timeline-wp-upload-numbers {
  float: right;
  opacity: 0;
}
.timeline-wp-uploader-footer:after {
  display: block;
  content: "";
  clear: both;
}
.upload-progress .timeline-wp-upload-numbers {
  margin: 0;
  line-height: 1.4em;
}
.timeline-wp-progress-bar {
    width: 100%;
    max-width: 400px;
    position: relative;
    height: 2px;
    margin: 8px 0 0;
    border-radius: 10px;
    background: #e5e5e5;
}
.upload-info-container {
  position: relative;
  overflow: hidden;
  flex-grow: 1;
}
.upload-info-container .upload-info {
  padding: 5px 0;
}
.upload-info-container .upload-progress {
    position: absolute;
    background-color: #f8fcfd;
    height: 100%;
    display: flex;
    top: 0;
    left: 0;
    width: 100%;
    flex-direction: column;
    transition: transform 0.5s;
    transform: translateY( 100% );
}

.timeline-wp-upload-actions.show-progress .upload-info-container .upload-progress {
  transform: translateY( 0 );
}

.timeline-wp-progress-bar .timeline-wp-progress-bar-inner {
  height: 2px;
  min-width: 20px;
  width: 0px;
  background: #0085ba;
  -webkit-transition: width 300ms;
  -moz-transition: width 300ms;
  -ms-transition: width 300ms;
  -o-transition: width 300ms;
  transition: width 300ms;
  border-radius: 5px;
}
.timeline-wp-uploader-footer.show-progress .timeline-wp-upload-numbers,
.timeline-wp-uploader-footer.show-progress .timeline-wp-progress-bar {
  opacity: 1;
}

.timeline-wp-uploader-inline-content .timeline-wp-single-image,
.timeline-wp-uploader-inline-content .timeline-wp-single-image-placeholder {
    cursor: move;
    display: inline-block;
    padding: 0 10px 20px 0;
    box-sizing: border-box;
    width: 16.66%;
}
.timeline-wp-uploader-inline-content .timeline-wp-single-image-placeholder:after {
  width: 100%;
  height: 100%;
  display: inline-block;
  content: "";
  position: relative;
  border: 3px dashed #444;
  padding-top: calc( 100% - 6px );
  box-sizing: border-box;
}
.timeline-wp-uploader-inline-content .timeline-wp-single-image .timeline-wp-single-image-content {
    position: relative;
    border: 1px solid #d6d6d6;
    box-sizing: border-box;
    background-position: center;
    background-size: cover;
}
.timeline-wp-uploader-inline-content .timeline-wp-single-image .timeline-wp-single-image-content img {
  display: block;
  width: 100%;
}
#poststuff .timeline-wp-uploader-inline-content > .timeline-wp-upload-message:only-child {
  display: block;
}
.timeline-wp-uploader-inline-content .timeline-wp-single-image .actions {
    position: absolute;
    z-index: 99;
    font-size: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba( 0,0,0,.4 );
    padding: 5px;
    box-sizing: border-box;
    display: none;
}
.timeline-wp-uploader-inline-content .timeline-wp-single-image:hover .actions {
  display: block;
}
.timeline-wp-uploader-inline-content .timeline-wp-single-image .actions a {
  	/*text-decoration: none;
  	color: #fff;
  	display: inline-block;
  	padding: 5px;
  	display: inline-block;

  	text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;
	background: #0085ba;
	border: 1px solid #006799;
	border-bottom-width: 2px;*/

  width: 20px;
  height: 20px;
  border-radius: 100%;
  border: 1px solid #000;
  background-color: rgba( 255,255,255,.8 );
  color: #000;
  display: block;
  text-decoration: none;
  text-align: center;
  line-height: 20px;
  margin-bottom: 5px;

  /*float: right;
  clear: both;*/


}
.timeline-wp-uploader-inline-content .timeline-wp-single-image .actions a:hover {
  background-color: #000;
  color: #fff;
}
/*.timeline-wp-uploader-inline-content .timeline-wp-single-image .actions a:first-child {
	border-top-left-radius: 5px;
}
.timeline-wp-uploader-inline-content .timeline-wp-single-image .actions a:last-child {
	border-left-width: 0;
	border-top-right-radius: 5px;
}*/
.timeline-wp-uploader-inline-content .timeline-wp-single-image .actions a span {
  font-size: 16px;
  width: 20px;
  height: 20px;
  line-height: 20px;
}
.timeline-wp-uploader-inline-content .timeline-wp-single-image .actions a.timeline-wp-delete-image {
  color: #a00a00;
}
.timeline-wp-uploader-inline-content .timeline-wp-single-image .actions a.timeline-wp-delete-image:hover {
  background-color: #a00a00;
  color: #fff;
}
.timeline-wp-uploader-inline-content:after {
    content: "";
    display: block;
    clear: both;
}

/* Timeline_WP Popup */
.media-modal .timeline-wp-edit-popup.edit-attachment-frame .edit-media-header button.right {
    border-right: 1px solid #ddd;
}
.media-modal .timeline-wp-edit-popup .attachment-details .attachment-info .settings .setting {
    margin: 0 0 20px 0;
    padding: 0 0 20px 0;
    border-bottom: 1px solid #ddd;
}
.media-modal .timeline-wp-edit-popup .attachment-details .attachment-info .settings .setting span.name {
    display: block;
    width: 100%;
    min-width: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
    font-weight: 700;
    font-size: 14px;
}
.media-modal .timeline-wp-edit-popup .attachment-details .attachment-info .settings .setting input[type="text"],
.media-modal .timeline-wp-edit-popup .attachment-details .attachment-info .settings .setting textarea {
    display: block;
    width: 100%;
    min-width: 100%;
    margin: 0;
}
.media-modal .timeline-wp-edit-popup .attachment-details .attachment-info .settings .setting div.description {
    clear: both;
    float: left;
    margin: 5px 0 0 0;
    text-align: left;
    font-size: 13px;
    font-style: italic;
    color: #666;
}
.media-modal .timeline-wp-edit-popup .attachment-details .attachment-info .settings {
    margin: 0;
    padding: 0;
    border: none;
}
.media-modal .attachment-info .actions a {
  display: inline-block;
}
.inline-input {
  display: inline;
}

/* Resizeble & Draggble */
.ui-draggable.ui-resizable > .segrip {
    width: 10px;
    height: 10px;
    background: red;
    position: absolute;
    bottom: 0;
    right: 0;
}
.ui-draggable.ui-resizable .timeline-wp-single-image-content img {
  display: none;
}
.ui-draggable.ui-resizable .timeline-wp-single-image-content {
  width: 100%;
  height: 100%;
}

.ui-draggable.ui-resizable.timeline-wp-single-image {
  padding: 0;
}

.packery-drop-placeholder {
  outline: 3px dashed #444;
  outline-offset: -6px;
  /* transition position changing */
  -webkit-transition: -webkit-transform 0.2s;
          transition: transform 0.2s;
}

.ui-resizable-helper {
  border: 3px dashed #444;
  box-sizing: border-box;
}

/* New Design by Gabi */
#poststuff #timeline-wp-preview-gallery h2.hndle,
#poststuff #timeline-wp-settings h2.hndle {
  padding-left: 20px;
}

#poststuff #timeline-wp-preview-gallery .inside {
  margin-top: 0;
  padding: 0;
}

/* Timeline_WP Popup */
.timeline-wp-edit-popup .attachment-details .setting span.description > span {
    display: inline-block;
    float: none;
    width: auto;
    min-width: unset;
    line-height: 16px;
    min-height: 16px;
    margin-top: 8px;
    padding: 0;
    vertical-align: middle;
    margin-right: 0;
}
.timeline-wp-edit-popup .attachment-details .setting span.description {
  text-align: left;
    vertical-align: middle;
}

.timeline-wp-media-modal .attachments-browser .media-toolbar .media-toolbar-secondary {
  width: 100%;
}

/* Timeline_WP Error */
.timeline-wp-error-container {
  display: block;
}
.timeline-wp-error-container.hide {
  display: none;
}
.timeline-wp-error-container .timeline-wp-error {
    padding: 12px;
    margin-bottom: 12px;
    background: #fff;
    border-left: 4px solid #dc3232;
    box-shadow: 0px 0px 4px 0 rgba(0,0,0,.1);
    font-weight: 600;
    margin-top: 5px;
    position: relative;
    background-color: #dc3232;
    color: #fff;
}
.timeline-wp-error-container .timeline-wp-error a {
  color: #fff;
}
.timeline-wp-error-container .timeline-wp-error .upload-dismiss-errors {
    position: absolute;
    top: 50%;
    right: -5px;
    padding: 10px;
    transition: none;
    display: block;
    text-decoration: none;
    margin-top: -18px;
}
.timeline-wp-error-container .timeline-wp-error .upload-dismiss-errors:before {
  content: "\f153";
  display: block;
  font: 400 16px/1 dashicons;
  color: #fff;
}

a.timeline-wp-tab-link {
    text-decoration: none;
}
.timeline-wp-tab-link span.dashicons {
    width: 16px;
    height: 16px;
    line-height: 16px;
    margin-right: 3px;
    vertical-align: text-bottom;
    font-size: 16px;
    text-decoration: none;
}

/*#normal-sortables {
  display: none;
}*/

/* Timeline_WP Grid */
#timeline-wp-grid {
  height: 100%;
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  width: 100%;
}
#timeline-wp-grid .timeline-wp-grid-item {
  background-color: #FAFAFA;
  float: left;
}
#timeline-wp-grid .timeline-wp-grid-item:nth-child( 12n ){
  margin-right: 0 !important;
}
#timeline-wp-grid:after {
  content: "";
  display: block;
  clear: both;
}

/* Tabs tooltips */
.timeline-wp-tooltip {
  position: relative;
  display: inline-block;
}
.timeline-wp-tooltip > span {
  cursor: pointer;
  color: $themeColor;
  text-decoration: underline;
  margin-left: 5px;
}
.timeline-wp-tooltip .timeline-wp-tooltip-content {
  display: none;
  position: absolute;
  top: 50%;
  right: -10px;
  transform: translate( 100% ,-50% );
  width: 300px;
  background: #000;
  color: #fff;
  padding: 10px;
  box-sizing: border-box;
  z-index: 99;
}
.timeline-wp-tooltip .timeline-wp-tooltip-content:before {
  content: '';
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 8px 8px 8px 0;
  border-color: transparent #000 transparent transparent;
  display: block;
  position: absolute;
  top: 50%;
  left: -8px;
  transform: translateY( -50% );
}
.timeline-wp-tooltip:hover .timeline-wp-tooltip-content {
  display: block;
}

/* Timeline_WP Helper Grid */
.timeline-wp-helper-guidelines-container {
  padding: 15px 20px;
  background-color: #f8fcfd;
  display: flex;
  align-items: center;
  border-top: 1px solid #ecf6f9;
}
.timeline-wp-helper-guidelines-container .onoffswitch {
  margin-top: 0;
}
.timeline-wp-helper-guidelines-wrapper .timeline-wp-helper-guidelines-label {
  margin-left: 5px;
}

/* Creative Grid */
.timeline-wp-creative-gallery.timeline-wp-uploader-inline-content .timeline-wp-single-image .timeline-wp-single-image-content {
  background: #eee !important;
  position: relative;
  overflow: hidden;
}
.timeline-wp-creative-gallery.timeline-wp-uploader-inline-content .timeline-wp-single-image-content:before {
  content: "";
  display: block;
  padding-top: 100%;
}
.timeline-wp-creative-gallery.timeline-wp-uploader-inline-content .timeline-wp-single-image-content img {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
}
.timeline-wp-creative-gallery.timeline-wp-uploader-inline-content .timeline-wp-single-image-content.landscape img {
  max-height: 100%;
}
.timeline-wp-creative-gallery.timeline-wp-uploader-inline-content .timeline-wp-single-image-content.portrait img {
  max-width: 100%;
}

/* Toggles */
.timeline-wp-toggle {
    position: relative;
    position: relative;
    user-select: none;
    display: inline-block;
}

.timeline-wp-toggle__items {
  box-sizing: border-box;
  display: inline-block;
    position: relative;
}
.timeline-wp-toggle__items > * {
  box-sizing: inherit;
}

.timeline-wp-toggle__input[type=checkbox] {
  border-radius: 2px;
  border: 2px solid #6c7781;
  margin-right: 12px;
  transition: none;
  height: 100%;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  position: absolute;
  width: 100%;
  z-index: 1; }

.timeline-wp-toggle__track {
  background-color: #fff;
  border: 2px solid #6c7781;
  border-radius: 9px;
  display: inline-block;
  height: 18px;
  width: 36px;
  vertical-align: top;
  transition: background .2s ease; }

.timeline-wp-toggle__thumb {
  background-color: #6c7781;
  border: 5px solid #6c7781;
  border-radius: 50%;
  display: block;
  height: 10px;
  width: 10px;
  position: absolute;
  left: 4px;
  top: 4px;
  transition: transform .2s ease; }

.timeline-wp-toggle__off {
  position: absolute;
  right: 6px;
  top: 6px;
  color: #6c7781;
  fill: currentColor; }

.timeline-wp-toggle__on {
  position: absolute;
  top: 6px;
  left: 8px;
  border: 1px solid #fff;
  outline: 1px solid transparent;
  outline-offset: -1px;
  display: none; }

.timeline-wp-toggle__input[type=checkbox]:checked + .timeline-wp-toggle__items .timeline-wp-toggle__track {
  background-color: $themeColor;
  border: 9px solid transparent; }

.timeline-wp-toggle__input[type=checkbox]:checked + .timeline-wp-toggle__items .timeline-wp-toggle__thumb {
  background-color: #fff;
  border-width: 0;
  transform: translateX(18px); }

.timeline-wp-toggle__input[type=checkbox]:checked + .timeline-wp-toggle__items .timeline-wp-toggle__off {
  display: none; }

.timeline-wp-toggle__input[type=checkbox]:checked + .timeline-wp-toggle__items .timeline-wp-toggle__on {
  display: inline-block; }


  // Builder Scss


  $builderID:"#timeline-wp-builder";
  #{$builderID } {
    background: transparent;
    border: none;
    .hndle { 
      width: 100%;
      overflow: hidden;
      padding: 0;
      border: 0;
      margin-bottom: 10px;
      background-color: #fff;
      span{
        border: none;
        background: $themeColor none repeat scroll 0 0 !important;
        display: inline-block !important;
        padding: 0 20px !important;
        position: relative !important;
        font-weight: 500 !important;
        line-height: 35px !important;
        font-size: 18px !important;
        color: #fff !important;
        margin: 0px !important;
        text-transform: uppercase;
        &::after{
          display: block;
          content: " ";
          background: inherit;
          height: 60px;
          position: absolute;
          right: -19px;
          top: -7px;
          -webkit-transform: rotate(140deg);
          -moz-transform: rotate(140deg);
          -ms-transform: rotate(140deg);
          -o-transform: rotate(140deg);
          transform: rotate(140deg);
          width: 27px;
        }
      }
    }
    .handlediv { display: none; }

    .inside{
      margin: 15px 0;
      padding: 0;
      display: flex;
      flex-wrap: wrap;
      background: transparent;
      // display: block;
      // width: 100%;
      // padding-right: 15px;
      // padding-left: 15px;
      // margin-right: auto;
      // margin-left: auto;
    }
    .timeline-container{
      display: block;
      max-width: 100%;
      background: #f5f5f5;
      box-shadow: 0 0 20px rgba(0,0,0,.2);
      min-height: 448px;
      overflow-y: auto;
      border-radius: 25px;
      select, input{
        &:focus{
          border-color: $themeColor;
        }
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
      }
      .twp-content{
        .twp-content-item{
          display: none;
          padding: 20px 0;
          &.show{
            display: block;
            // box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
          }
          label {
            position: relative;
            display: block;
            font-weight: 700;
            padding: 0;
            text-align: left;
          }
          .twpDescription-control{
            max-height: 390px;
          }
          .image-preview {
            width: 100%;
            max-height: 287px;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
          }
        
        
          img{  display: flex; max-width: 100% ; width: 100%; cursor: pointer; padding: 20px 90px; }
          .section-one{ position: relative; }
          .iconTypeBlock{ display: none; text-align: center; }
          .iconBtn { 

            font-size: calc( 100% - -2000% );
            line-height: 1;
            color: $themeColor;
            span { display: none; } 
            &::after{ display: none; } 
            &:focus{ box-shadow: none;  outline: none; width: 100%;}
          }
        }
      }
    }
    .timeline-list{
      display: block;
      min-height: 200px;
      &>ul{
        max-height: 480px;
        overflow-y: auto;
        .ui-state-highlight {
          margin: 8px 8px;             
          border-radius: 50px;       
          border: 1px solid transparent;
          height: 56.3px;
          width: 100%;
          background: $themeColor;
          opacity: 0.2;
        }
        .twp-list-item{
          margin: 8px 8px;          
          display: flex;
          max-width: 100%;
          width: 100%;
          background: #fff;
          border: 1px solid transparent;
          padding: 0px;
          border-radius: 50px;
          overflow: hidden;
          font-size:18px;
          &:first-child{ margin-top: 0; }
          &:last-child{ margin-bottom: 0; }
          &:hover{ border: 1px solid $themeColor; }
          a { 
            text-decoration: none;
            position: relative;
            width: 100%;
            display: flex;
            flex-wrap: wrap;
            padding: 15px;
            z-index: 0;
            align-items: center;
            .drag-item{
              width: 10%;
              text-align: center;
            }
            .heading{
              width: 82%;
            }
            .del-item{
              color: #f00;
              z-index: 999;
              cursor: pointer;
            }
            &.active{ background-color: $themeColor; } 
          }
          
        }
      }
    }

    .timeline-list-add{
      // position: relative;
      padding: 15px 15px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: inherit;
      .btn-new{
        // position: relative;
        display: block;
        width: 80%;
        text-align: center;
        color: #fff;
        border: 2px solid $themeColor;
        background: $themeColor;
        padding:15px 0;

      }
      .popover-container{
        background: #fff;
        padding: 20px 20px;
        border-radius: 10px;
        text-align: center;
        margin-top: 10px;
        border: 1px solid #222;
        .arrow{
          left: 50%;
          margin-left: -28px;
          border-top-width: 0;
          border-bottom-color: #f1f1f1;
          top: -37px;
          position: relative;
          transform: rotate(180deg);
          &:after{
            background: #222 ;
            border: 1px solid #222;
          }
        }
        &::before{
          content:" ";
          display: block;

        }
        input{
          min-width: 270px;
        }
        .addForm{
          a{
          }
        }
        .btn{
          background-color: $themeColor;
          cursor: pointer;
        }

      }
    }
  }
  .table-icons{
    display: block;
    thead{
      display: flex;
      flex-direction: column-reverse;
      tr:first-child{
        display: table;
      }
    }
    .btn-icon, .btn-arrow{
      color: #000;
      border-color: #222;
      background-color: transparent;
      &:hover,
      &.btn-icon-selected{
        background: $themeColor;
        border-color: $themeColor;
        color: #fff;
      }
    }
  }