.customised-page-section {
    padding: 25px 0px 25px 0px !important;
    margin-bottom: 25px;
}

.custom-carousel-item {
    position: relative;
    max-width: 500px;
    max-height: 700px;
    margin: 10px auto;
    aspect-ratio: 13.2/18.5;
}

.carousel-inner {
    text-align: center;
    text-align: -webkit-center;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-background {
    box-shadow: #0e0e0e3d 0px 0px 4px 4px;
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 0;
}


/*.slider-left-text {
    height: 472px;
    top: 60px;
}*/

.slider-text:hover {
    cursor: pointer;
    background-color: rgba(255, 255, 255, .5);
    cursor: pointer;
    border: 3px solid #fdd100;
}

.slider-text {
    width: 88%;
    padding: 10px;
    text-align: initial;
    position: absolute;
    left: 6%;
    border: 3px dotted #fdd100;
    top: 60px;
    height: 150px;
}

#d_bg {
    position: relative;
    width: 100%;
    height: 100%;
    /* box-shadow: #0e0e0e3d 0px 0px 4px 4px; */
    z-index: 0;
}

.slider-backside-text-block-2:hover,
.slider-backside-text-block-1:hover {
    cursor: pointer;
    background-color: rgba(255, 255, 255, .5);
    cursor: pointer;
}

.photo-upload-options input[type="number"],
.text-editor-section input[type="number"] {
    width: 50px;
    text-align: center;
    margin-left: 10px;
    border: 2px solid;
}

.text-customise-icon {
    /*display: none;*/
    background-color: #ffe775;
    color: #fff;
    font-size: 22px;
    height: 32px;
    width: 32px;
    text-align: center;
    border-radius: 50%;
    position: absolute;
    left: -18px;
    top: -20px;
}

.text-customise-icon:before {
    content: 'T';
}

.photo-customise-icon {
    display: none;
    background-color: #ffe775;
    color: #fff;
    font-size: 20px;
    height: 32px;
    width: 32px;
    text-align: center;
    border-radius: 50%;
    line-height: 32px;
    position: absolute;
    left: -12px;
    top: -15px;
}

.slider-backside-text-block-1 {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    position: absolute;
    top: 105px;
    left: 220px;
}

.slider-right-text-block-1 p {
    max-width: 100%;
    width: inherit;
    height: inherit;
    overflow: hidden;
    background-color: transparent;
    border-color: transparent;
    margin-bottom: 0;
}

#d_bg,
.slider-backside-text-block-1,
.slider-right-text-block-1 {
    /* border: 3px dotted transparent; */
    max-width: inherit;
    max-height: inherit;
}

.background-preview,
.upload-card-options {
    text-align: initial;
}

.background-preview ul,
.upload-card-options ul {
    list-style-type: none;
    padding-left: 0;
}

.background-preview ul li,
.upload-card-options ul li {
    border: 1px solid #cccccc;
    padding: 10px 10px;
    margin-bottom: 5px;
    border-radius: 5px;
    display: flex;
}

.card-item img {
    width: 100%;
    height: 100%;
}

.card-item:hover {
    cursor: pointer;
    border: 3px solid #ffe775 !important;
}

.active-item {
    /* border: 3px solid #ffe775; */
}

.active-item span,
.card-item:hover span {
    display: inline-block;
}

.background-preview li:hover {
    border: 1px solid gray;
    cursor: pointer;
}

.photo-upload-options,
.text-editor-section {
    display: none;
}

.upload-card-options ul li span {
    position: absolute;
    right: 40px;
    margin-top: 3px;
}

.background-preview ul li span {
    position: absolute;
    right: 40px;
}

.trash:hover .fa {
    font-size: large;
}

.background-preview ul li img {
    max-height: 30px;
    width: 30px;
}

.background-preview ul li p {
    width: 36ch;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-bottom: 0;
}

.upload-card-options button {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    background-color: white;
    margin-top: 10px;
}

.upload-card-options button:hover,
.upload-card-options button:focus {
    background-color: #ffe677;
    border-radius: 10px;
}

.image-preview {
    text-align: center;
    padding: 15px;
    background-color: #f7f7f775;
    margin-bottom: 15px;
}

.image-preview img {
    max-height: 250px;
    width: auto;
    outline: 3px solid #ffe775;
}

.customised-tabs {
    margin-bottom: 50px;
}

.nav-tabs {
    border-bottom: 1px solid #cccccc;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-link:hover {
    color: #000000;
    /* font-weight: bold; */
    border-color: #cccccc;
    border-bottom: 0;
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus {
    border-color: #cccccc;
}

.tab-content {
    text-align: center;
    padding: 20px 10px 20px 10px !important;
    border: 1px solid #cccc;
    border-radius: 5px;
    border-top: 0;
    border-top-left-radius: 0;
}

.choose-photo-option ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: inline-flex;
}

.choose-photo-option ul li {
    padding: 0px 20px 0px 20px;
}

.choose-photo-option>ul>li:first-child {
    position: relative;
    overflow: hidden;
}

#upload-background {
    opacity: 0;
    z-index: 1;
    left: 0;
    top: 10px;
    position: absolute;
    height: 66px;
    width: 75px;
    cursor: pointer;
}

#upload-background:hover+a {
    color: black;
}

.choose-photo-option ul li a {
    font-size: 30px;
    color: #cccccc;
}

.choose-photo-option ul li a:hover {
    color: black;
}

.positioning-arrows {
    /* margin-left: 40px;*/
    margin-top: -10px;
}

.photo-position-option ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: inline-flex;
}

.positioning-arrows button {
    border: none;
    background-color: transparent;
}

.photo-position-option ul li a {
    font-size: 30px;
    color: #fdd100;
    padding: 5px 10px 5px 10px;
    border: 3px solid;
}

.photo-effect ul {
    display: flex;
    list-style-type: none;
    flex-flow: row wrap;
}

.photo-effect ul li {
    /* width: 5%; */
    /* display: inline-flex; */
    /* padding: 5px 10px; */
    border: 2px solid #000000;
    /* background-color: white; */
    border-radius: 5px;
    /* cursor: pointer; */
    margin-bottom: 10px;
    flex-grow: 1;
    margin: 1px;
}

.photo-effect ul li:hover {
    border: 2px solid #ffe775;
}

.positioning-arrows button {
    outline: none !important;
}

.text-editor-section form label span {
    font-size: 24px;
    font-weight: 600;
    position: absolute;
    top: auto;
    left: 50px;
}

.text-editor-section form textarea {
    border-color: #ffe775;
    border-width: 2px;
}

.text-format-options ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: inline-flex;
}

.text-format-options ul li {
    border: 2px solid;
    padding: 15px;
    margin-right: 10px;
    cursor: pointer;
    font-weight: 700;
}

#tab-1 ul {
    display: block;
    border: 2px solid whitesmoke;
    padding: 5px;
    background-color: white;
}

#tab-1 ul li {
    text-align: left;
    border: 1px solid #f3f4f4;
    margin: 0px 0px 5px 0px;
}


/*#tab-1 ul li.selected, .tab-pane ul li:hover{
    font-weight: 700;
    background: #fff;
    border-color: #fff;
    outline: 2px solid #ffd300;
}*/

div#tab-2 ul {
    display: inline-block;
    border: 2px solid whitesmoke;
    padding: 5px;
    background-color: white;
}

div#tab-2 ul li {
    float: left;
    margin: 0px 5px 5px 5px;
}

div#tab-3 ul {
    display: inline-block;
    border: 2px solid whitesmoke;
    padding: 5px;
    background-color: white;
}

div#tab-3 ul li {
    float: left;
    margin: 0px 5px 5px 5px;
    padding: 5px;
    width: 30px;
    height: 30px;
}

.text-alignement {
    border: 2px solid whitesmoke;
    padding: 5px;
    background-color: white;
}

.horizontal-alignments h2 {
    text-align: left;
}

.horizontal-alignments ul li {
    padding: 10px;
    width: 45px;
    height: 45px;
    background-color: transparent;
}

.horizontal-alignments ul li i {
    font-size: 20px;
}

@media (max-width: 420px) {
    .nav-tabs .nav-link {
        border-color: #cccccc;
    }
}