/*
Theme Name: Divi Child
Template: Divi
*/


#main-header, #et-top-navigation {
	font-weight: 500;
}


.add-to-bookmarks{
  position: fixed;
  z-index:9999999999999;
  bottom:50px;
  right:100px;
  font-size: 60px;
  padding: 0 !important;
  line-height: 1 !important;
  display: none !important;
  background: none;
  border: none;
}

.add-to-bookmarks::before{
  content:"\e089";
  font-family: ETmodules !important;
	font-weight: 400 !important;
  position: relative;
  margin:0 !important;
  color:#155724;
}


.add-to-bookmarks.added::before{
  color:red;
}

.add-to-bookmarks.visible{
  display: inline-block !important;
}

.preview-struttura{
	position: relative;
}
.preview-struttura .add-to-bookmarks{
	position: absolute;
	top:5px;
	bottom:auto;
	right: 20px;
	font-size: 30px;
	height:30px;

}

button.delete-bookmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background-color: #e53e3e;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

button.delete-bookmark::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'/%3E%3Cpath d='M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6'/%3E%3Cpath d='M10 11v6M14 11v6'/%3E%3Cpath d='M9 6V4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

button.delete-bookmark:hover {
    background-color: #c53030;
}

button.delete-bookmark:active {
    transform: scale(0.92);
}

button.delete-bookmark:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}



.wrap-category-bookmark {
	font-size: 0.5em;
	background: #fff09b;
	padding: 0.2em;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	min-width: 300%;
  display:none;
}
.wrap-category-bookmark.visible{
  display: block;
}


.wrap-category-bookmark .cat{
  white-space:nowrap
}

.wrap-category-bookmark .change-category{
  display: block;
  text-decoration: underline;
}

.wrap-new-category{
  display: none;
}

.insert-new .wrap-select-category{
  display: none;
}
.insert-new .wrap-new-category{
  display: block;
}