@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@100..900&family=Winky+Sans:ital,wght@0,300..900;1,300..900&family=Edu+AU+VIC+WA+NT+Arrows:wght@400..700&family=Cabin+Sketch:wght@400;700&family=Concert+One&family=Poiret+One&family=Caveat+Brush&family=Cabin+Sketch:wght@400;700&family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Courgette&family=Gothic+A1&display=swap');
        body {
            font-family: 'Outfit', Sans-Serif;
            background-color: #ebebeb;
        }
        .photo-story{
            margin-bottom:70px;
        }
        .app-bg {
            background-color: #ebebeb;
          /*  padding: 15px;*/
        }
        .template-box{
            display: flex;
            align-items: center;
            justify-content: center;
           /* height: 100vh;*/
          /*  padding:10px;*/
        }
        .collect-templates{
           height: calc(100vh - 58px);
            width:100%;
            bottom:0;
            margin-bottom:70px;
        }
        .template-box-flex{
            display:flex;
            flex-direction: column;
          /*  height: 100vh;*/
        }
       .template-container{
            display: flex;
            align-items: center;
            justify-content: center;
            height: calc(100% - 0px);
            /* padding: 10px;*/
        }
         .template-container .template-box-flex .form-group,
         .template-container .template-box-flex .form-control{
            margin:0 !important;
            padding: 0px;
        }
          .template-box-flex{
             border: 20px solid #fff;
             border-bottom: 20px solid #fff;
             background:#fff;
             height: calc(100vh - 58px);
             display: flex;
            align-items: center;
            justify-content: center;
            width:100%;
                         
        }
        .template_4 .template-box-flex{
                position: relative;
                width: 100%;
                height: calc(100vh - 78px);
                /*height: 100vh;*/
                display: flex;
                flex-direction: colunm;
                gap:10px;
        }
         .template-box-flex.landscape{
             border: 20px solid #fff;
             border-bottom: 20px solid #fff;
             background:#fff;
             height: auto;
             display: flex;
             align-items: center;
             justify-content: center;
                         
        }
        .sample-text-display{
            text-align: center;
            padding:10px 0;
           border-top: 1px solid #f2f2f2;
           margin:0;
        }
       .d-item .form-check-input{
            display: none;
        }
     .d-item   .radio-mark {
  width: 20px;
  height: 20px;
  border: 2px solid #ebebeb;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0px;
  position: relative;
}

.d-item input[type="radio"]:checked + .radio-mark {
  background-color: var(--brand_color);
  box-shadow: inset 0 0 0 4px white;
  border-color: var(--brand_color);
}
.settings_ui .close_btn {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 50px;
  height: 10px;
  background-color: var(--inactive_link);
  border-radius:15px;
}
        .template-layout-orientation,.template-layout-font{
            padding: 20px 15px;
            border:2px solid #ebebeb;
            border-radius: 20px;
            height: 35px;
        }
        .template-layout-menu{
            gap:20px;
        }
        .template-layout-orientation.active,.template-layout-font.active{
            border: 2px solid var(--brand_color);
        }
        .template-layout-font,.template-layout-orientation{
            gap:10px;
             display: flex;
            align-items: center;
            margin-bottom:10px;
            justify-content: space-between;
        }
         .template-layout-orientation label{
            display: flex;
            align-items: center;
            gap:15px;
        }
        .template-layout-orientation label svg{
            height: 15px;
            width:15px;
        }
        .template-layout-menu .d-flex{
            gap:20px;
        }
        .template-layout-menu .d-flex .form-check{
            display: flex;
            align-items: center;
            gap:5px;
        }
        .form-check .form-check-input{
            margin-top:0;
        }
        .details .d-item{
            border:none; padding:0px !important;
        }
        .app-bg .template_1 {
            display: flex;
            flex-direction: column;
            gap: 35px;
        }

        /**.app-bg .template_1 .item-box{**/
        .app-bg .template_1 .template-box-flex{
            display: flex;
            flex-direction: column;
            /*gap: 10px;*/
            background-color: #fff;
        }
         .template-box-flex.portrait .template-top {
            overflow: hidden;
        }
       /* .app-bg .template_1 .template-box-flex.portait .img-box {*/
        .app-bg .template_1 .template-box-flex.portrait .template-top {
            width: 100%;
            height: 70%;
            flex-grow: 1;
            /* padding: 20px; */
            background-color: #fff;
        }
        .app-bg .template_1 .template-box-flex.landscape .template-top {
            width: 100%;
            height: auto;
            /* padding: 20px; */
            background-color: #fff;
        }
        .app-bg .template_1 .template-box-flex.portrait .template-bottom{
            width: 100%;
            min-height: 150px;
            padding: 20px 5px;
            background-color: #fff;
        }
        .app-bg .template_1 .template-box-flex.landscape .template-bottom{
            width: 100%;
            height: auto;
            /* padding: 20px; */
            background-color: #fff;
        }
      /*  .ps-templates .img-box,.ps-templates .template-box{
            position: relative;
        }*/
          .app-bg .template_6 .template-box-flex.portrait .template-top {
            width: 100%;
            height: 100%;
            background-color: #fff;
    }
    .app-bg .template_6 .template-box-flex.portrait .template-top img{
            width: 100%;
            height: 100%;
            object-fit:cover;
    }
     .app-bg .template_7 .template-box-flex.portrait {
            gap:10px;
        }
        .app-bg .template_7 .template-box-flex.portrait .template-top {
            width: 100%;
            flex-grow: 1;
            /* padding: 20px; */
            background-color: #fff;
        }
        .app-bg .template_7 .template-box-flex.portrait .template-top img{
            width: 100%;
            height: 100%;
            object-fit: cover;
            /* padding: 20px; */
            background-color: #fff;
        }
        .app-bg .template_7 .template-box-flex .template-bottom{
            height: 50px;
            width:100%;
            display: flex;
            align-content: center;
            flex-direction: column;
            position: relative;
        }
        .app-bg .template_7 .template-box-flex .template-bottom .form-group{
            width:100%;
            height: 100%;
            border:1px solid #000;
            position: relative;
            display: flex;
            align-content: center;
            flex-direction: column;
        }
          .app-bg .template_7 .template-box-flex .template-bottom .form-group .title-input{
            font-size: 27px;
            letter-spacing: 5px;
            margin-top:23px !important;
        }
          .app-bg .template_7 .template-box-flex .template-bottom .caption-input{
              position: absolute;
              bottom: -8px;
              margin:0;
              left: 75px;
              background:#fff;
              width: 100px;
              text-align: center;
              padding-left: 3px;
              height: 20px;
        }
        .ps-templates-wrap{
             width:100vw; height: 100%; flex-shrink: 0;
        }
      
     /*   .ps-templates .img-box label{
            position: absolute;
            right:20px;
            bottom: 20px;
            height: 30px;
            width:30px;
            border:1px solid #000;
            background-color: #ff9900;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
        }
        .ps-templates .img-box label i{
            font-size: 20px;
        }**/
        .ps-templates .actions-box-parent label{
            margin-bottom:0 !important;
        }
        .app-bg .template_1 .img-box img{
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .app-bg .template_1 .text-box{
           padding: 0 15px;
           padding-bottom: 0px;
        }

        .app-bg .template_1 .text-box h2{
          /*  font-family: "Outfit", serif;*/
            font-size: 1.5em;
            margin-bottom: 0;
            font-weight: 600;
            margin-top:13px;
            text-transform: uppercase;
        }

        .app-bg .template_1 .text-box p{
          /*  font-family: "Outfit", serif;*/
            font-size: .9em;
            margin-bottom: 0;
            font-weight: 300;
            padding:10px;
            /*margin-top:20px;*/
        }

        .app-bg .template_2 {
            display: flex;
            flex-direction: column;
            gap: 35px;
            display: none;
        }

        .app-bg .template_2 .item-box{
            position: relative;
        }

        .app-bg .template_2 .item-box .img-box{
            width: 100%;
            height: 450px;
            padding: 20px;
            background-color: #fff;
        }

        .app-bg .template_2 .item-box .img-box img{
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .app-bg .template_2 .item-box .text-box{
           position: absolute;
           bottom: 20px;
           left: 20px;
           width: calc(100% - 40px);
            backdrop-filter: blur(10px);
            background-color: hsla(0, 0%, 100%, 0.244);
            box-shadow: 0 1.5px 0 0 rgba(114, 135, 156, .15);
           padding: 15px;
        }


        .app-bg .template_2 .text-box h2{
            font-family: "Outfit", serif;
            font-size: 1.5em;
            margin-bottom: 0;
            font-weight: 600;
            color: #fff;
        }

        .app-bg .template_2 .text-box p{
            font-family: "Outfit", serif;
            font-size: .9em;
            margin-bottom: 0;
            font-weight: 300;
            color: #fff;
        }

        .app-bg .template_3 {
            display: flex;
            flex-direction: column;
            gap: 35px;
        }

        .app-bg .template_3 .item-box{
           background-color: #fff;
           padding: 10px;
        }

        .app-bg .template_3 .item-box .text-box{
          padding: 10px 10px;
        }

        .app-bg .template_3 .item-box .img-box{
          padding: 10px;
          width: 100%;
          height: 350px;
          position:relative;
        }
        
        .app-bg .template_3 .item-box .img-box i{
          top:20px;
          right:20px;
          position:absolute;
          height: 20px;
          width: 20px;
          background-color: #fff;
          border-radius: 50%;
          font-size:12px;
          display: flex;
            align-items: center;
            justify-content: center;
        }

        .app-bg .template_3 .item-box .img-box.img-card{
          height: 175px;
          position:relative;
        }


        .app-bg .template_3 .item-box .img-box img{
          width: 100%;
          height: 100%;
          object-fit: cover;
        }

        .app-bg .template_3 .text-box h2{
            font-family: "Outfit", serif;
            font-size: 1.5em;
            margin-bottom: 0;
            font-weight: 600;
            color: #333;
        }

        .app-bg .template_3 .text-box p{
            font-family: "Outfit", serif;
            font-size: .9em;
            margin-bottom: 0;
            font-weight: 300;
            color: #333;
        }

        .app-bg .template-box .body-text p{
         /*   font-family: "Outfit", serif;*/
            font-size: .9em;
            margin-bottom: 0;
            font-weight: 300;
            color: #333;
            padding: 0 20px;
        }
 
                    
    .app-bg .template_4 .template-box-flex.portrait .template-top {
            width: 100%;
            min-height: 60px;
            background-color: #fff;
    }
    .app-bg .template_4 .template-box-flex.portrait .template-mid {
            width: 100%;
          height: 60%;
          background-color: #fff;
          position: relative;
          flex-grow: 1;
          overflow: hidden;
            }
    .app-bg .template_4 .template-box-flex.portrait .template-bottom {
            width: 100%;
            min-height: 100px;
            background-color: #fff;
    }
    .app-bg .template_4 .template-box-flex.landscape .template-top {
            width: 100%;
            height: auto;
            background-color: #fff;
    }
    .app-bg .template_4 .template-box-flex.landscape .template-mid {
            width: 100%;
            min-height: 350px;
            /*max-height: 400px;*/
            background-color: #fff;
            overflow: hidden;
             position: relative;
    }
    .app-bg .template_4 .template-box-flex.landscape .template-bottom {
            width: 100%;
            height: auto;
            background-color: #fff;
    }
    
     .app-bg .template_4 .template-box-flex .template-mid .image-wrap {
            width: 90%;
            height: 100%;
            background-color: #fff;
             position: absolute;
            z-index: 2;
            transform: translate(-50%, -50%);
            top:60%;
            left:50%;
    }
   
    .app-bg .template_4 .template-box-flex.landscape .template-mid .image-wrap {
            top:65%;
    }
        /*.app-bg .template_1 .template-box-flex.portrait .template-bottom,
        .app-bg .template_1 .template-box-flex.landscape .template-bottom{
            width: 100%;
            height: 25vh;
            background-color: #fff;
        }*/
         /*.template_4 .data-box .light-bg{
                        position: absolute;
                        width: 100%;
                        height: 50vh;
                        background-color: #E7F2F4;
                        z-index: 1;
                        top: 0;
                        left: 0;
                    }*/
                    .app-bg .template_4 .template-box-flex.portrait .light-bg{
                        position: absolute;
                        width: 100%;
                        height: 100%;
                        background-color: #E7F2F4;
                        z-index: 1;
                        top: 0;
                        left: 0;
                    }
                    .app-bg .template_4 .template-box-flex.landscape .light-bg{
                        position: absolute;
                        width: 100%;
                       /* height: 25vh;*/
                       height: 100%;
                        background-color: #E7F2F4;
                        z-index: 1;
                        top: 0;
                        left: 0;
                    }
                   
                    .template_4.template-box .light-bg .form-group{
                            margin-top:12px !important;
                        }
                    /*.template_4 .data-box .img-box{
                        position: absolute;
                        width: 100%;
                        height: calc(100vh - 20vh);
                        padding: 0 25px;
                        top: 80px;
                        z-index: 2;
                    }*/
                    .template_4 .data-box .img-box img{
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }
                   /* .template_4 .data-box .heading-text{
                        position: absolute;
                        width: 100%;
                        z-index: 2;
                        top: 30px;
                      
                    }*/
                    .template_4 .data-box .heading-text h2{
                        font-family: "Outfit", serif;
                        font-size: 1.5em;
                        margin-bottom: 0;
                        font-weight: 800;
                        color: #333;
                    }
                    .template_4 .data-box .body-text{
                      /*  position: absolute;*/
                        width: 100%;
                        z-index: 2;
                        bottom: 0;
                    }
                    .template_4 .data-box .body-text textarea{
                       width: 100%;
                       /*border: none;*/
                       text-align: center;
                       padding: 10px 20px;
                       /*font-family: "Outfit", serif;*/
                       font-size: .9em;
                        
                    }
                    
    
    .template_5  .template-box-flex.portrait {
    border: 20px solid #fff;
    height: 100%;
}
.template_5  .template-box-flex.portrait .template-top{
    height: 100%;
}
.template_5  .template-box-flex.portrait .template-top img{
    height: 100%;
    width:100%;
    object-fit: cover;
}
.template_5 .template-top{
    position: relative;
}
.template_5-input,.template_5 .template_default_text{
    position: absolute;
  top: -30px;
  left: -9px;
  transform: rotate(-7deg);
}

.template_5-input .title-input, .template_5 .template_default_text{
font-family: "Cabin Sketch", sans-serif;
text-transform: capitalize !important;
 text-align: left !important;
    font-size:1.9em !important;
}
/*.template_5-input input{
    text-align: left !important;
    font-size:1.9em !important;
}*/
.template_5  .template-box-flex.landscape {
    border: 20px solid #fff;
}
.data-wrapper .item-box .d-flex{
    margin-top: 30px;
}
.nav-mobile-role li{
    height: 25px;
}

.data-wrapper .item-box .d-flex ul li a {
  padding: 0;
  display:flex;
  align-items: center;
justify-content: center;
}

    .photo-story .photo-story-group {
        display: flex;
        flex-direction: column;
       /* gap: 25px;*/
       height: calc(100vh - 121px);
        background-color: #fff;
        margin-bottom:10px;
      }

      .photo-story .photo-story-group .mag-title {
        position: relative;
        display: flex;
        flex-direction: column;
        height: 100%;
       /* height: calc(100vh - 100px);*/
        overflow: hidden;
        min-height: 200px;
       /* padding-bottom:15px;*/
      }
    .ps-templates{
            height: calc(100vh - 200px);
        }
      .photo-story .photo-story-group .mag-title .mag-title-logo {
        display: inline-block;
        position: absolute;
        top: 18px;
        left:7px;
      }
       .photo-story .title-box{
          /* background-color: #15141a;*/
           height: 32px;
           display: flex;
            align-items: center;
            justify-content: center;
            /*border-radius: 15px;*/
            font-family: "Bebas Neue", sans-serif;
            font-size: 1em;
            position: relative;
            width:80%;
            border-bottom:1px solid #d2cece;
            margin: 0 auto;
            text-transform: uppercase;
       }
       .edit-story-title{
           color:#666 !important;
           right:3px;
           position: absolute;
           font-size:10px;
            font-family: 'Outfit', Sans-Serif;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap:3px;
            background:#f2f2f2;
            padding:5px 10px;
            border-radius: 2em;
            display:none;
       }
       .photo-story .title-box span{
          color: #000;
          font-family: 'Outfit', Sans-Serif;
          letter-spacing: 3px;
          padding-bottom: 0px;
          font-size:.7em;
          font-weight: 100;
       }
      .photo-story .photo-story-group .mag-title .text-box {
       /* padding: 50px 15px 15px 15px;*/
        text-align: center;
        position: relative;
        height: 200px;
      }

      .photo-story .photo-story-group .mag-title .text-box h1 {
        font-family: "Bebas Neue", sans-serif;
        font-size: 2.5em;
        margin-bottom: 0;
        line-height: 1;
        font-weight: 900;
        letter-spacing: 10px !important;
        margin-top:20px;
        text-transform: uppercase;
      }

      .photo-story .photo-story-group .mag-title .text-box p.username {
        letter-spacing: 6px;
        font-size: .8em;
      }
      
      .photo-story .photo-story-group .mag-title .text-box .dash {
        position: absolute;
        top: 20px;
        width: 25px;
        height: 20px;
        background-color: #000;
      }
     .photo-story .photo-story-group .mag-title .text-box .dash-right {
        right: 0 !important;
      }
      .photo-story .photo-story-group .mag-title .text-box .dash-left {
        position: absolute;
        top: 20px;
        left: 0 !important;
        width: 2px;
        height: 20px;
        background-color: #000;
      }

      .photo-story .photo-story-group .mag-title .text-box .date {
        position: absolute;
        top: 23px;
        right: 30px;
        font-size: .6em;
        color: #aeaeae;
        margin-bottom: 0;
        font-weight: 300;
        letter-spacing: 3px;
        text-transform: uppercase;
      }

      .photo-story .photo-story-group .mag-title .text-box .photo-story-title {
        margin-top: 20px;
        font-weight: 300;
        letter-spacing: 2px;
       padding-bottom: 0px;
      color: #000;
      text-align: center;
      font-family: 'Outfit', Sans-Serif;
      letter-spacing: 3px;
      padding-bottom: 0px;
      font-size: .7em;
      text-transform: uppercase;
      font-weight: 100;
      width:max-content;
      margin:0 auto;
      margin-top:20px;
      border-bottom: 1px solid #d2cece;
      padding-bottom: 5px;
      }
      .photo-story .photo-story-group .mag-title .text-box .photo-story-title input{
          border:1px solid #f8f8f8;
      }
      .photo-story .photo-story-group .mag-title .text-box .post-date {
        font-size: 0.7em;
      }

      photo-story .photo-story-group .mag-title .text-box .photo-story-title {
        font-weight: 300;
        letter-spacing: 2px;
      }

      .photo-story .photo-story-group .mag-title .img-box {
        width: 100%;
        flex-grow: 1;
        /*height: calc(100vh - 250px) !important;*/
      }

      .photo-story .photo-story-group .mag-title .img-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      } 
      .template-actions{
          position: absolute;
          display: flex;
          /*flex-direction: column;*/
          justify-content: space-around;
          align-items: center;
          width:96%;
          gap:20px;
          bottom:10px;
         /* right:20px;*/
          z-index: 50;
          padding:10px 15px;
          
          font-size:12px;
          background-color: #f2f2f2;
          border-radius:40px;
          transform: translate(-50%,0%);
        left: 50%;
      }
      .template-actions-icon{
           display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
      }
      .template-actions-icon i{
          display:block;
          height:20px;
          width:20px;
          display: flex;
          justify-content: center;
          align-items: center;
          border:1px solid #000;
          border-radius:50%;
      }
     /* .template_4 .template-actions{
          top:70px;
      } **/
      .template_3 .template-actions{
          bottom:30px;
      } 
      /*.template-actions i{
          font-size:20px;
      }*/
      .cover-img{
    position: relative;
}
.edit-home-photo{
    position:absolute;
    bottom:20px;
    right:15px;
    z-index:100;
     display: flex;
    align-items: center;
    justify-content: center;
    height:40px;
    width:40px;
    border:1px solid #000;
    border-radius:50%;
    background:#fff;
    cursor:pointer;
}
.edit-home-photo i{
     font-size:25px;
}
.edit-template-btn{
    position: absolute;
    display:block;
    right:20px;
    top:20px;
    z-index: 2;
    color: #666 !important;
  font-size: 12px;
  font-family: 'Outfit', Sans-Serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  background: #f2f2f2;
  padding: 5px 10px;
  border-radius: 5px;
  box-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}
.divider{
    width:100%;
    height:1px;
    background-color:#e3e1e1;
}

.template-editor-add i,.close-temp-selection{
    font-size:16px;
    height:30px;
    width:30px;
    border-radius: 50%;
    background:#15141a;
    color:#fff;
    display: flex;
  align-items: center;
  justify-content: center;
  border:none !important;
}
.template-editor-add{
    width:100%;
    height:40px;
    display: flex;
    flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size:.7em;
}
.switch-wrap label{
    font-family: 'Outfit-Light', sans-serif;
  font-size: 13px;
  color: #222;
}
.view_option_categories {
  font-family: 'Outfit-Light', sans-serif;
  font-size: 14px;
}
.template-box-wrap{
    background-color:#fff;
    padding:0px;
    /*margin-bottom:10px;*/
}
.photo-group .template-box-wrap{
    background-color:#fff;
    padding:0px;
    margin-bottom:12px;
    width:100%;
}
.photo-group .template-box-wrap .template-box-flex {
  border: 20px solid #fff;
  /*padding-bottom: 20px;*/
  /*padding: 10px;*/
}
.photo-group .template_1 .template-box-wrap .template-box-flex {
  border: 20px solid #fff !important;
  padding-bottom: 20px;
  /*padding: 10px;*/
}
  .new-template{
            width:60% !important;
            background-color:#ebebeb !important;
            margin:0 auto;
        }
.template-collections .modal-footer{
    padding-bottom:20px;
    height:50px;
    display:flex;
    align-items:center;
    justify-content: center;
}
.template-orientation .form-check{
  /*  margin-left:45px;
    margin-top:10px;*/
    font-size:1em;
    display:flex;
    align-items: center;
}
.template-layout-font .form-check-label{
    font-size:18px;
}
.template-layout-orientation .form-check-label{
     font-size:14px;
}
.data-wrapper .item-box .history-wrapper{
    padding-bottom: 0px;
    min-height: 420px;
    padding-bottom: 10px;
}
.settings_ui{
    overflow: hidden;
}
.settings_ui .details .item {
  border-bottom: none;
}
input[type="radio"] {
            appearance: none;
            width: 18px;
            height: 18px;
            border: 1px solid gray;
            border-radius: 50%;
            position: relative;
             background-color: #fff;
        }
        input[type="radio"]:hover {
            /*border-color: var(--brand_color);*/
        }
       
          input[type="radio"]:checked {
            border-color: var(--brand_color);
            background-color: var(--brand_color);
            box-shadow: inset 0 0 0 4px white;
        }
        

	
   
	.template-photo-book  .select-template{
position: relative;
	}
    .template-photo-book .select-template .radio_btn{
      /*  position: absolute;
        transform: translate(-50%,-50%);
        bottom:-60px;
        left:50%;
        z-index: 50;*/
    }
	.template-photo-book .radio_btn{
		width: 25px;
		height: 25px;
		position: relative;
		border: 1px solid #999;
		border-radius: 50%;
		display:flex;
		align-items:center;
	    justify-content:center;
	}
	.template-photo-book .select-template .radio_btn .inner_radio_box{
		width: 15px;
		height: 15px;
		/*position: absolute;*/
		border-radius: 50%;
		background: lightgray;
		bottom: 50%;
		left: 50%;
		/*transform: translate(-50%, -50%);*/
	}

	.template-photo-book .select-template.active_input .radio_btn .inner_radio_box{
		width: 15px;
		height: 15px;
		/*position: absolute;*/
		border-radius: 50%;
		background: var(--brand_color);
		top: 50%;
		left: 50%;
		/*transform: translate(-50%, -50%);*/
	}
.slide-indicators{
    display:flex;
    align-items: center;
    width:50%;
    height: 30px;
    justify-content: center;
    gap:2px;
}
.slide-indicators .indicator{
    width:15%;
    height:1px;
    background-color: #15141a;
}
.slide-indicators .indicator.active{
     background-color: var(--brand_color);
}
/*.title-input-1,.caption-input-1 {
    font-family: "Winky Sans", sans-serif !important;
}*/
.winky-sans{
    font-family: "Winky Sans", sans-serif !important;
}
.concert-one{
    font-family: "Concert One", sans-serif !important;
}
.poiret-one{
    font-family: "Poiret One", sans-serif !important;
}
.caveat-brush{
    font-family: "Caveat Brush", cursive !important;
}
.cabin-sketch{
    font-family: "Cabin Sketch", sans-serif;
}
.montserrat-alternates{
  font-family: "Montserrat Alternates", sans-serif;
}
.courgette-regular {
  font-family: "Courgette", cursive;
}
.gothic-a1-regular{
  font-family: "Gothic A1", sans-serif;
}
.add-music{
    position: fixed;
    height: 30px;
    width:30px;
    border-radius: 50%;
    display:flex;
    justify-content: center;
    align-items: center;
    background-color: #ebebeb;
    bottom: 70px;
    right:30px;
}
.add-music svg{
    height: 15px;
    width:15px;
}
.audio-controls{
position: absolute;
  height: 40px;
  width: 40px;
  border-radius:50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ebebeb;
  bottom: 50px;
  right: 30px;
    z-index: 99999999999999999;
}
.audio-controls .control-btn{
  /*  height: 20px;
    width:20px;*/
    border-radius: 50%;
    display:flex;
    justify-content: center;
    align-items: center;
    background-color:#ebebeb;
    margin:0;
}

.feather-volume-1{
    margin-left:5px;
}
.audio-controls .feather{
     height: 25px;
    width:25px;
}
      * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            /*font-family: Arial, sans-serif;*/
        }
       /* body {
            background: #f8f8f8;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
        }*/
        .container{
            /*width: 360px;*/
            background: #f2f2f2;
           /* border-radius: 15px;*/
            padding: 30px;
          /*  padding-top: 0px;*/
           /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
        }
       .ps-form{
           padding:5px 30px;
           margin-bottom:100px;
           /*height: calc(100vh - 251px);
           overflow-x: scroll;*/
       }
        .header {
            text-align: center;
            font-size: 20px;
            font-weight: bold;
        }
        .sub-header {
            text-align: center;
            font-size: 14px;
            color: gray;
            margin-bottom: 10px;
        }
        .buttons {
            display: flex;
            justify-content: space-around;
            margin-bottom: 10px;
        }
        .buttons button {
            border: 1px solid #ccc;
            background: white;
            padding: 5px 15px;
            border-radius: 8px;
            cursor: pointer;
        }
        .photo-book,.template-photo-book {
            display: flex;
            overflow-x: hidden;
            gap: 10px;
            padding: 10px 0;
            scrollbar-color: rgba(0,0, 0,0);
		    scrollbar-width: none;
		    height: calc(100vh - 430px);
		   /* background-color:#ebebeb;*/
        }
        .template-photo-book {
		    height: calc(100vh - 113px);
		    width:100%;
		    overflow-x: scroll;
        }
       .template-selection-wrap{  
           background-color:#ebebeb;
        }
       .photo-book .photo-frame {
            min-width: calc(100vw - 60px);
            background: white;
            /*padding: 15px;*/
            border-radius: 10px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            text-align: center;
            position: relative;
            border: 25px solid #ffffff;
           /* padding: 20px;*/
        }
         .template-photo-book .photo-frame{
		     min-width: calc(100vw - 40px);
		     /*border: 10px solid #ffffff;*/
		     position: relative;
		     display:flex;
		     flex-direction: column;
		     align-items: center;
		     justify-content: space-between;
		     height: calc(100vh - 135px);
        }
        .photo-frame-inner{
            height: 90%;
             min-width: calc(100vw - 60px);
            background: white;
            /*padding: 15px;*/
            border-radius: 10px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            text-align: center;
            position: relative;
            border: 25px solid #ffffff;
        }
        .radio_btn-wrap{
            height: 80px;
             display:flex;
		     align-items: center;
		     justify-content: center;
        }
        /*.photo-frame::before {
            content: "";
            position: absolute;
            top: 10px;
            left: 10px;
            right: 10px;
            bottom: 10px;
            border: 10px solid white;
        }*/
        .photo-frame img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 5px;
        }
        
      .template-photo-book .photo-frame img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            border-radius: 5px;
        }
        .photo-frame .preview-template{
            position: absolute;
            top:10px;
            right:20px;
            width:max-content;
            padding:0 5px;
        }
        .photo-frame .preview-template-text {
          position: absolute;
          bottom: -22px;
          display: block;
          width: 100%;
          text-align: center;
          font-size:11px;
          color: #000;
          font-family: 'Outfit', Sans-Serif;
          letter-spacing: 3px;
          padding-bottom: 0px;
          font-weight: 100;
          text-transform: uppercase;
        }
        .photo-frame .expand {
          position: absolute;
          top: 2px;
          right:2px;
          height: 25px;
          width:25px;
          font-size:14px;
          display:flex;
          align-items:center;
          justify-content: center;
          border-radius: 50%;
          background-color: #fff;
          border:1px solid #15141a;
        }
        .photo-frame .expand svg {
          height: 25px;
          width:25px;
          display:block;
          padding:5px;
        }
        .autofill {
            display: flex;
            justify-content: space-between;
            margin: 10px 0;
            gap:20px;
            padding-left:5px;
            padding-right:5px;
        }
       /* .autofill button {
            border: none;
            background: #ff9800;
            color: white;
            border-radius: 20px;
            cursor: pointer;
            display:flex;
            align-items:center;
            justify-content: center;
            height:30px;
            width:max-content;
            padding: 5px 10px;
        }*/
        
         .autofill button i {
             font-size:12px;
         }
        .tabs {
            display: flex;
            justify-content: space-between;
           /* margin-top: 20px*/;
            cursor: pointer;
            width:100%;
           border-top: var(--border-top);
            position: fixed;
            bottom:0;
            left: 0;
            z-index: 9999;
        }
        .add-template-footer{
            position: fixed;
            bottom:0;
            left: 0;
            z-index: 99999999999999999;
            display: flex;
            align-items: center;
            justify-content: center;
            width:100%;
            height: 50px;
            background-color: #fff;
        }
        .tab {
            background: white;
            padding: 10px 5px;
            /*border-radius: 0px 0px 0px 0px;*/
            /*border: 1px solid #ddd;*/
           /* gap:5px;*/
            text-align: center;
            width: 33.3%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            font-family: 'Outfit-Light', sans-serif;
            font-size: .7em;
            letter-spacing:1px;
        }
         .tab svg {
  width: 20px;
  height: 20px;
}
       /* .tab:nth-child(2) {
            border-radius: 0px 0px 0px 0px;
            border-left:none;
            border-right:none;
        }
        .tab:nth-child(3) {
            border-radius: 0px 10px 10px 0px;
        }*/
        .tab-content {
            display: none;
            padding: 10px;
        }
        .tab-content.active {
            display: block;
        }
        .ps-templates{
            position: fixed;
            top:0;
            z-index: 99;
            height:100vh;
            overflow: scroll;
            transform: translateX(-100%);
            transition:0.5s all;
        }
      
        .template-container{
          
           margin-bottom:10px;
          /** padding-bottom:30px;*/
        }
        .template-container .template-box{
           /* height: 100vh;*/
            display:flex;
            bottom:0;
            align-items: center;
        }
        .template-container .template-box{
            height: 100%;
            display:flex;
            align-items: center;
        }
        .app-bg .template_1 .img-box,.app-bg .template_3 .item-box .img-box-wrap {
          width: 100%;
          height: 70vh;
          padding: 0px;
          background-color: #fff;
          margin: 0 auto;
        }
        .major-text-box{
            /*height: 20vh;*/
        }
        .app-bg .template_3 .item-box .img-box.img-card {
              height: 50%;
              position: relative;
            }
.app-bg .template_3 .item-box .img-box {
  padding: 10px;
  width: 100%;
  height: 100%;
  position: relative;
}
.new-template-space{
    display:flex;
            align-items: center;
}
.direction-btn{
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    height: 30px;
    width: max-content;
    padding: 0 8px;
  /*  padding-left: 8px;*/
    border: 1px solid #eae8e8;
    padding-left: 2px;
    border-radius: 30px;
    background-color: #fff;
    letter-spacing: 2px;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    color:15141a !important;
}
.direction-btn.next{
    padding-right: 2px;
    padding-left:8px;
}
.use-template,.change-cover-photo,.preview-story,.new-template,.close-story-preview,.publish-photo-story{
  height: 30px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  text-align: center;
  font-family: 'Outfit-Light', sans-serif;
  font-size: 11px;
  background-color: #fff;
  border-radius: 25px;
  color: #15141a;
  text-transform: uppercase;
  margin-top:10px;
   letter-spacing: 2px;
  box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}
.new-template{
    margin:0;
}
.direction-btn .icon-wrap{
      display:block;
      height: 25px;
      width:25px;
      border-radius:50%;
      background: #ebebeb;
       display:flex;
      align-items:center;
      justify-content:center;
      color:rgba(0,0,0,0.6);
  }
  
 .template-editor-add i {
  font-size: 16px;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  background: #15141a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.template-editor-add span:nth-child(2) {
  font-size: .85em;
  text-transform: uppercase;
   letter-spacing: 2px;
     font-family: 'Outfit-Light', sans-serif;
     margin-top:10px;
}
.template-collections{
    height: 100%;
    width:100vw;
    position: fixed;
    top:0;
    z-index: 999999999999911;
    transform: translateX(-100%);
    transition:0.5s all;
}

.photo-group{
    background-color:#ebebeb;
}
/*.photo-group,.ps-form,.img-box.cover-img{
    transform: translateX(-100%);
}*/
  .active-transform{
             transform: translateX(0%) !important;
        }
.use-template.active{
 border:1px dotted #ccc;
 transition: 0.4s ease-in-out;
 letter-spacing: 2.5px;
}
.app-bg .template_1 {
  gap: 0px;
}

.title-input,.title-input:focus,.caption-input,.caption-input:focus{
  color:#000;
  text-align: center;
  border: none !important;
  outline: none !important;
  background: transparent; /* Optional, to remove any background */
}
.caption-input{
  text-align: justify !important;
  text-justify: inter-word;
}
.title-input, .title-input:focus{
 /* font-family: "Outfit", serif;*/
  font-size: 1.em;
  margin-bottom: 0;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 2px;
}

.title-display{
  font-size: 1.em;
  margin-bottom: 0;
  font-weight: 600;
  text-transform: uppercase;
}
.cpation-display{
  font-size: 13px;
}
.caption-input::-webkit-scrollbar {
  display: none !important; /* Hides the scrollbar */
}
.caption-input{
    overflow: hidden;
    scrollbar-width: none;
    box-shadow: none !important;
    font-size:13px;
}

.template_4 .data-box .img-box {
  /*position: absolute;*/
  width: 100%;
  /*height: calc(100vh - 30vh);*/
  padding: 0 25px;
  /*top: 80px;*/
  z-index: 2;
}

.template_4 .data-box .body-text {
 /* position: absolute;*/
  width: 100%;
  z-index: 2;
  bottom: 50px;
}
 .title-box input.form-control{
    background: rgba(0,0,0,0);
    border:none !important;
    outline:none !important;
    padding:0px;
    color: #000;
    text-align: center;
      font-family: 'Outfit', Sans-Serif;
      letter-spacing: 3px;
      padding-bottom: 0px;
      font-size: .7em;
      text-transform: uppercase;
      font-weight: 100;
}
.ps-publish-button{
    position: fixed;
    bottom:0px;
    width: 100%;
    display:flex;
    justify-content: space-around;
    align-items: center;
    z-index: 99999999999999999;
    height:60px;
    background:#fff;
    border-top: 1px solid #d2cece;
  /*  padding-bottom:20px;*/
}

.ps-publish-button button{
    background: #ebebeb;
   width:30%;
}

.form-check-font-container{
   display: flex;
  justify-content: center;
  align-items: center;
  padding:0 20px;
    padding-bottom: 0px;
  border-bottom:1px solid #ebebeb;
  padding-bottom: 15px;
  width: 90%;
  margin:0 auto;
  margin-bottom: 20px;
  gap:20px;
}
.form-check-font-container .form-check{
    padding: 0;
}
.form-check-font-container .form-check label{
    color:#15141a;
    font-size:0.8em;
}
.form-check-font-container .form-check .form-check-input[type="checkbox"] + label::before{
   content: "✓";
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 15px;
  height: 15px;
  border:2px solid #ebebeb;
  background-color: #fff;
  border-radius:3px;
  margin-right: 5px;
  color: white; 
}
.form-check-font-container .form-check .form-check-input[type="checkbox"]:checked + label::before {
    background-color: var(--brand_color); /* Change to your desired color */
    border: 2px solid var(--brand_color); /* Change to your desired color */
    color: white;
}
@media screen and (max-width:360px) {
.photo-book,.template-photo-book {
		    height: calc(100%);
		   /* background-color:#ebebeb;*/
        }
 }
@media screen and (max-width:512px) {
  .photo-story .photo-story-group .mag-title .text-box h1 {
  font-size: 2.7em;
}
}
/*@media screen and (max-width:430px) {*/
/* .app-bg .template_1 .template-box-flex.portrait .template-top {*/
/*            width: 100%;*/
/*            height: 79vh;*/
            /* padding: 20px; */
/*            background-color: #fff;*/
/*        }*/
/*}*/
@media screen and (max-width:390px) {
 /*.app-bg .template_1 .template-box-flex.portrait .template-top {
            width: 100%;
            height: 77vh;
            background-color: #fff;
        }*/
}
@media screen and (max-width:375px) {
  .photo-story .photo-story-group .mag-title .text-box h1 {
  font-size: 2.5em;
}
}
 @media screen and (max-width:360px) {
  .photo-story .photo-story-group .mag-title .text-box h1 {
  font-size: 2.3em;
}
.photo-book,.template-photo-book {
		    height: calc(100vh - 350px);
		   /* background-color:#ebebeb;*/
        }

  .app-bg .template_4 .template-box-flex .template-mid .image-wrap {
            top:65%;
    }
 }
  @media screen and (max-width:340px) {
  .photo-story .photo-story-group .mag-title .text-box h1 {
  font-size: 2em;
}
        .title-input{
            font-size:1.2em !important;
        }
 }