.align-dimensions{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.align-sunpics-content{
    /*margin-top: 5%;*/
}

.sun-dimension-photobook{
    display: block;
}

.photobook-img{
    background: url(../img/dimension/photobook.jpg) no-repeat 0 0;
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
}

.calendar-img{
    background: url(../img/dimension/calendar.jpg) no-repeat 0 0;
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
}

.canvas-img{
    background: url(../img/dimension/canvas.png) no-repeat 0 0;
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
}

.cards-img{
    background: url(../img/dimension/cards.jpg) no-repeat 0 0;
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
}

.gifts-img{
    background: url(../img/dimension/gift.jpg) no-repeat 0 0;
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
}

.photo-img{
    background: url(../img/dimension/photo.jpg) no-repeat 0 0;
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
}

.poster-img{
    background: url(../img/dimension/poster.jpg) no-repeat 0 0;
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
}

.multicanvas-img{
    background: url(../img/dimension/multicanvas.jpg) no-repeat 0 0;
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
}

.extra-upload-img {
    background: url(../img/dimension/extra-upload.png) no-repeat 0 0;
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
}

.dimension_opacity{
    opacity: 0.4;
    transition: 0.5s;
}

.dimension_opacity.hover{
    opacity: 1;
}

.dimension_opacity:hover{
    opacity: 1;
    cursor: pointer;
}

.columns_dimension{
    width: 100%;
    display: inline-flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 15px;
}

.columns_dimension_row{
    width: 100%;
    display: inline-flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.sun-divide-elements{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.sun-form-table-view {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 15px;
    margin: 15px 0;
}

.sun-form-table-view .sun-form-table-cell {
    display: flex;
    align-items: center;
    flex: 0 0 calc(50% - 15px);
    box-sizing: border-box;
}

.sun-form-table-view .sun-form-table-cell input {
    margin: 0 10px 0 0;
}

.sun-space-elements{
    margin-right: 0.5%;
}

.sun-space-smartbook-elements{
    margin-right: 2.5%;
}

.sun-dim-thumb, .sun-cover-thumb {
    width: 100%;
    height: auto;
    flex: 1;
    display: flex;
    flex-direction: row;
    border: 1px solid #dadada;
    border-radius: var(--sunBorderRadius);
}

.sun-column-8x1{
    width: 20%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.col-3{
    float: left;
    position: relative;
    width: 100%;
} /* necessary to give position: relative to parent. */

.effect-8{
    width: 100% !important;
}

.sunpics-change-type-product {
    width: auto;
    display: flex;
    padding: 10px;
    gap: 20px;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 5px #e8e8e8;
}

.overview-change-type{
    width: 100%;
    opacity: .8;
    font-size: 15px;
    background: #363b3f;
    color: #fff;
    padding: 10px;
    text-align: center;
}

.align-row-margins{
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
}


/* MULTICANVAS DIMENSION STYLE*/
.multicanvas-table-render{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.multicanvas-col-left{
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
    width: 50%;
}

.multicanvas-col-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
}

.multicanvas{
    width: 500px;
    height: 400px;
    text-align: center;
}

.positionsTable thead, .positionsTable tbody, .positionsTable tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.positionsTable tbody {
    display: block;
    overflow-y: auto;
    overflow-x: hidden;
    table-layout: fixed;
    max-height: 340px;
    text-align: center;
}

.positionsTable tbody::-webkit-scrollbar {
    width: 5px;
}

.positionsTable tbody::-webkit-scrollbar-track {
    background: #dddddd;
}

.positionsTable tbody::-webkit-scrollbar-thumb {
    background: var(--sunDefault);
}

.positionsTable tbody::-webkit-scrollbar-thumb:hover {
    border-radius: var(--sunBorderRadius);
    transition: width 2s;
}

.close-modal-multicanvas {
    color: #363b3f;
    font-size: 30px;
}

.close-modal-multicanvas:hover, .close-modal-multicanvas:focus {
    color: var(--sunDefault);
    cursor: pointer;
}

.leftDiv {
    width: 50%;
    height: 400px;
    display: flex;
}

#col-div-top{
    display: flex;
    flex-direction: row;
}

.rightDiv{
    width: 45%;
    height: 400px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.holidays-modal, .new-canvas-modal {
    display: none;
    position: absolute;
    z-index: 2000;
    padding-top: 14%;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(230,230,230,.75);
}

.sun-modal-content {
    background-color: #fff;
    border-radius: var(--sunBorderRadius);
    margin: auto;
    padding: 10px;
    width: 30%;
    box-shadow: 0 0 10px 0 rgba(0,0,0,.15);
}

.modal-input-div{
    display: flex;
    flex-direction: column;
}

.modal-title{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}

.modal-actions{
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding-top: 4%;
}

.modal-form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;
    padding-left: 10px;
}

.edit-position{
    color: #363b3f;
}

.delete-position{
    color: #363b3f;
}

.edit-position:hover{
    color: var(--sunDefault);
    cursor: pointer;
}

.delete-position:hover{
    color: var(--sunDefault);
    cursor: pointer;
}

.modal-alert{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: center;
}

.modal-alert-resize{
    width: 100%;
    margin-left: 10px;
    margin-right: 10px;
}

.sunpics-alert-content{
    margin: 0 10px;
}

.margin-title-container{
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: center;
}

/* CALENDAR STYLE */
.calendar-form-container {
    width: 100%;
    height: 700px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
}

.calendar-form-container > div {
    display: flex;
    flex-direction: column;
    overflow: auto;
    overflow-x: hidden;
}

.calendar-form-container .calendar-form-left {
    width: 55%;
    padding: 10px 10px 10px 0;
}

.calendar-form-container .calendar-form-right {
    width: 45%;
    padding: 10px 0 10px 10px;
}

.calendar-form-container .calendar-render-options {
    display: flex;
    gap: 20px;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-form-container .calendar-render-options div {
    display: flex;
    width: calc(100% / 3);
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.calendar-form-container .calendar-render-options div .calendar-date-field,
.sunpics-calendar-section input[type="text"],
.sunpics-calendar-section input[type="number"],
.sunpics-calendar-section select {
    width: 100%;
    max-width: 100%;
    height: 30px;
    border-radius: 3px;
    border: 1px solid #CCCCCC;
}

.sunpics-calendar-dynamic-component {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sunpics-calendar-section {
    border: 1px solid #cccccc;
    padding: 10px;
    background: #F7F7F7;
}

.render-btn-container{
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-bottom: 1%;
}

#btn-render-calendar{
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-bottom: 20px;
}

.calendarPreview {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F7F7F7;
    border: 1px solid #EEEEEE;
    pointer-events: none;
}

.calendar-align-icons{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    height: 25px;
}

.disable{
    color: #ddd;
    cursor: default;
    background: none;
}

.disable:hover{
    color: #ddd;
    cursor: default;
    background: none;
}

.sun-active-type{
    background-color: #ddd;
    outline: none;
    box-shadow: 0 0 5px #b7b7b7;
}

.align-buttons{
    cursor: pointer;
    color: #363b3f;
    margin: 3px;
    padding: 5px;
    border-radius: var(--sunBorderRadius);
}

.align-buttons:hover {
    color: #363b3f;
    background: #dddddd;
}

.range-val{
    border: 0;
    background: transparent;
}

.range-val:read-only{
    background-color: transparent;
}

.range-val:focus{
    outline: none;
}

.range-val:hover{
    cursor: default;
}

.color-picker {
    width: 25px;
    height: 25px;
    background: #000;
    border-radius: var(--sunBorderRadius);
    border: 1px solid #b7b7b7;
}

.color-picker-background{
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: var(--sunBorderRadius);
    border: 1px solid #b7b7b7;
}

#show-events-list{
    overflow-y: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.add-event-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.add-event-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
}

.modal-confirm-layout {
    display: none;
    position: absolute;
    z-index: 2000;
    padding-top: 3%;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(230,230,230,.75);
}

.close-modal-confirm-layout{
    color: #363b3f;
    font-size: 30px;
}
.close-modal-confirm-layout:hover, .close-modal-confirm-layout:focus {
    color: var(--sunDefault);
    cursor: pointer;
}

.modal-confirm-content{
    background-color: #fff;
    border-radius: var(--sunBorderRadius);
    margin: auto;
    padding: 10px;
    width: 90%;
    box-shadow: 0 0 10px 0 rgba(0,0,0,.15);
}

.modal-layout-bottom-btns{
    width: 100%;
    height: auto;
    padding: 10px;
}

.calendarPreviewPopup{
    width: 99%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 650px;
    border-radius: var(--sunBorderRadius);
    background: #efefef;
    margin: 10px;
}

#margins-actions{
    display: flex;
    flex-direction: row;
}

@media only screen and (max-width: 1195px) {
    .sun-dim-thumb, .sun-cover-thumb {
        width: 12%;
        flex: none;
    }

    .sunpics-change-type-product {
        flex-wrap: wrap;
        justify-content: center;
    }
}