body {
    background-color: #f8f9fa;
}
.displaynone {
    visibility: hidden;
}


.dropdown:hover .dropdown-menu {
    display: block;
}

#top-header {
    max-width: none;
}
#top-header a {
    text-decoration: none;
    color: black;
    font-size: 18px;
}
#top-header .logo-title {
    font-weight: bold;
    font-size: 16px;
    line-height: 16px;
    margin-left: 10px;
}

#secondary-menu {
    background-color: #dddddd;
}
#secondary-menu li.nav-item button {
    border-radius: 0;
    text-decoration: none;
    padding: 8px 16px;
    border-bottom: 2px solid transparent;
}
#secondary-menu li.nav-item button:hover {
    border-bottom: 2px solid #336cfb;
}
#secondary-menu li.nav-item button.active {
    color: white;
    background-color: #0d6efd;
}


#get-started {
    height: 80vh;
}
#template-categories .list-group-item.active {
    border-radius: 4px;
}
#template-categories .list-group-item+.list-group-item {
    border: none;
    border-radius: 4px;
}
#templates-list .template-item {
    display: flex;
    position: relative;
    overflow: hidden;
    border: 2px solid #eee;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    padding: 30px;
    background-color: white;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    height: 240px;
}
#templates-list .template-item:hover {
    background-color: #f0f0f0;
    border: 2px solid #0d6efd;
}
#templates-list .template-item img {
    display: block;
    width: 100%;
    max-height: 100%;
    object-fit: contain;
}


#designer-toolbar {
    flex: 5;
}
#designer-toolbar button {
    background-color: transparent;
    color: black;
    border: none;
    border-radius: 10px;
    margin: 5px 0;
    transition: none;
}
#designer-toolbar button:hover {
    background-color: #0d6efd;
    color: white;
}
#designer-toolbar button div {
    font-size: 12px;
    white-space: nowrap;
}
#designer-toolbar button i.bi {
    font-size: 28px;
}

#designer-editor-container {
    flex: 100;
    padding: 0;
}
#designer-editor-toolbar {
    padding-right: 120px;
}
#designer-editor-toolbar button {
    color: #777777;
    border: none;
    font-size: 25px;
    padding: 2px 10px;
}
#designer-editor-toolbar button:hover {
    background-color: #0d6efd;
    color: white;
}

.toolbar-btn {
	width: 70px;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#editor-canvas-container {
	min-height: 68vh;
    background-color: #ebecf0;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
    position: relative;
}
#editor-side-buttons {
    background-color: #ebecf0;
    text-align: center;
    padding: 10px;
    padding-right: 100px;
}
#editor-side-buttons button {
    width: 100px;
}
#elementProperties {
    position: absolute;
    display: none;
    right: 0;
    background-color: #f8f9fa;
    height: 100%;
    min-width: 360px;
    max-width: 400px;
    padding: 10px 0;
    -webkit-box-shadow: -4px 0px 10px -6px rgba(0,0,0,0.5);
    -moz-box-shadow: -4px 0px 10px -6px rgba(0,0,0,0.5);
    box-shadow: -4px 0px 10px -6px rgba(0,0,0,0.5);
}
#elementProperties .offcanvas-header {
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    margin: 10px 15px;
}
#elementProperties .offcanvas-body {
    padding: 10px 15px;
}
#elementProperties .offcanvas-body label {
    margin-bottom: 0;
    font-size: 14px;
}
#elementProperties .btn-group label {
    width: 40px;
    height: 36px;
    padding: 4px;
    border-radius: 6px;
    margin-right: 6px;
}
#elementProperties .btn-group label:hover {
    background-color: #6d757d;
    color: white;
}
#elementProperties .btn-group label i:before {
    font-size: 21px;
    line-height: 25px;
}

#elPropTextColor {
    display: inline-block;
    vertical-align: middle;
    height: 40px;
}

.footer {
	border-top: 1px solid #ddd;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


#designer-toolbar {
    flex: 0 0 120px; /* Set a fixed width for the toolbar */
}
#editor-canvas-container {
    height: 0; /* Remove any height set previously */
}