/* audio {
    filter: sepia(20%) saturate(70%) grayscale(1) contrast(99%) invert(12%);
} */

.ison24_setting_ctrlbar_nxx {
    margin-top: 10px;
    background-color: #EEF8FE;
    border: 1px solid rgba(14, 87, 160, 0.2);  
    border-left: 4px solid #107EBF;
    padding-top: 6px;
    padding-bottom: 4px;
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
    max-width: 1400px;
  }

  .ison24_setting_ctrlbar_tsp_nxx {
    margin-top: 10px;
    background-color: transparent;
    padding-top: 6px;
    padding-bottom: 4px;
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
    max-width: 1400px;
  }

  .smvd_sole_conv_msg_text_out {
    /* color: #026caa; */
    color: #e5e3e3 !important;

    font-family: 'Quicksand',  sans-serif;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-align: left !important;
    padding-left: 20px;
    padding-right: 15px;
  }

.smvd_sole_conv_msg_text_in {
    color: #535655;
    font-family: 'Quicksand',  sans-serif;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-align: left !important;
    padding-left: 20px;
    padding-right: 15px;
  }
  

.smvd_conv_msg_b_in_vc {
    position: relative;
    padding: 1em;
    margin-bottom: 1em;

    color: #000;
    background: rgba(244, 211, 94, 0.6);
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    float: left;
    max-width: 360px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ison24_conv_img_container_in {
    background: #ffffff;
    /* border-radius: 18px; */
    float: left;  /* Aligns container to the left */
    max-width: 360px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e8e8e8;
  }

.ison24_conv_img_container_out {
    background: #ffffff;
    /* border-radius: 18px; */
    float: right;
    max-width: 360px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e8e8e8;
  }


.smvd_conv_msg_text_res {
    /* color: #026caa; */
    color: #fcfcfc !important;

    text-decoration: none !important;
    font-family: 'Quicksand',  sans-serif;
    font-size: 14px;
    letter-spacing: 1.5px;
  }
  
  .smvd_conv_msg_text_in {
    color: #535655;
    ;
    text-decoration: none !important;
    font-family: 'Quicksand',  sans-serif;
    font-size: 14px;
    letter-spacing: 1.5px;
  }

.smvd_conv_msg_b_in {
    position: relative;
    display: inline-block;
    padding: 8px 12px;
    margin-bottom: 8px;
    color: #535655;
    background: #fcfcfc;
    border-radius: 12px;
    float: left;
    width: auto;
    min-width: 60px;
    max-width: 500px;
    word-wrap: break-word;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e8e8e8;
}

.smvd_conv_msg_b_in:after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 15px;
    width: 16px;
    height: 16px;
    background: white;
    border-right: 1px solid #e7e4e4;
    border-bottom: 1px solid #e7e4e4;
    transform: rotate(45deg) skew(-2deg, -2deg);
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.02);
}
  

.smvd_conv_msg_b_res {
    position: relative;
    display: inline-block;
    padding: 8px 12px;
    margin-bottom: 8px;
    color: #ffffff;
    /* background: #EEF8FE; */
    background: #3D3B3C;
    /* background: rgba(238, 248, 254, 0.4); */
    /* #EEF8FE rgb(238, 248, 254) */
    border-radius: 12px;
    float: right;
    width: auto;
    min-width: 60px;
    max-width: 500px;
    word-wrap: break-word;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(14, 87, 160, 0.2);
}

.smvd_conv_msg_b_res:after {
    content: "";
    position: absolute;
    bottom: -8px;
    right: 15px;
    width: 16px;
    height: 16px;
    background: #3D3B3C;
    border-right: 1px solid #2e2b31;
    border-bottom: 1px solid #2e2b31;
    /* border-right: 1px solid #baddf3;
    border-bottom: 1px solid #baddf3; */
    transform: rotate(45deg) skew(-2deg, -2deg);
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.02);
}
  
.ison24_shaded_lt_bg_nx {
    width: 100%;
    background: url("../img/ison24-bg-y-b.jpg") center center;  
    background-size: cover;
    position: relative;
    min-height: 100vh;
    margin-top: -50px;

  }
  
.m_t_n_tt
{
    margin-top: -15px !important;
}

.message-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    position: fixed;
    bottom: 0;
    padding: 10px;
    background-color: #f9f9f9;
    border-top: 1px solid #ccc;
    box-sizing: border-box;
    z-index: 1000;
}
  
.flex-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 4px;
    position: relative;
}
  
.message-input-row {
    position: relative;
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 4px;
    padding: 2px;
    margin: 0;
    gap: 2px;
}
  
.message-textarea {
    flex: 1;
    border: none;
    outline: none;
    resize: none;
    padding: 6px;
    margin: 0;
    background-color: white !important;
    font-size: 16px;
    line-height: 1.4;
    min-height: 36px;
    max-height: 72px;
    border-radius: 4px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    z-index: 1001;
}

.message-textarea::-webkit-scrollbar {
    width: 4px;
}

.message-textarea::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 2px;
}

.message-textarea:focus {
    outline: none;
    border-color:rgba(14, 87, 160, 0.5);
    /* border: 1px solid rgba(14, 87, 160, 0.2); */

  }
  
.button-group {
    display: flex;
    align-items: center;
    gap: 2px;
}
  
.icon-button {
    background-color: #107EBF;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
  
.add-button, .send-button {
    width: 36px;
    height: 36px;
    font-size: 18px;
}
  
@media (max-width: 767px) {

    .smvd_sole_conv_msg_text_out {
        /* color: #026caa; */
        color: #e5e3e3 !important;
        font-family: 'Quicksand',  sans-serif;
        font-size: 16px;
        letter-spacing: 1.5px;
        text-align: left !important;
        padding-left: 20px;
        padding-right: 15px;
      }
    
    .smvd_sole_conv_msg_text_in {
        color: #535655;
        font-family: 'Quicksand',  sans-serif;
        font-size: 16px;
        letter-spacing: 1.5px;
        text-align: left !important;
        padding-left: 20px;
        padding-right: 15px;
      }
      
    .smvd_conv_msg_b_in {
        
        max-width: 90%;
    }

    .smvd_conv_msg_b_res {
        max-width: 90%;
    }
    
    .smvd_conv_msg_text_in {
        color: #535655;

        text-decoration: none !important;
        font-family: 'Quicksand',  sans-serif;
        font-size: 14px;
        letter-spacing: 1.5px;
    }

    .smvd_conv_msg_text_res {
        /* color: #026caa; */
        color: #fcfcfc !important;

        text-decoration: none !important;
        font-family: 'Quicksand',  sans-serif;
        font-size: 14px;
        letter-spacing: 1.5px;
      }

    .message-section {
        padding: 6px;
        padding-bottom: env(safe-area-inset-bottom, 6px);
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: #f9f9f9;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }

    .flex-form {
        padding: 2px;
        margin-bottom: env(safe-area-inset-bottom, 0);
    }

    .message-input-row {
        padding: 1px;
        gap: 1px;
    }

    .message-textarea {
        font-size: 16px;
        padding: 4px 6px;
        min-height: 36px;
        max-height: 72px;
        line-height: 1.3;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        will-change: scroll-position;
        position: relative;
        z-index: 1001;
    }

    .icon-button {
        padding: 6px;
        z-index: 1001;
    }

    .add-button, .send-button {
        width: 34px;
        height: 34px;
    }
}
  
@media (min-width: 769px) {
    .message-section {
      width: 600px;  /* Example width for larger screens */
    }
}
  
.ison24_pad
{
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 0px;
    padding-bottom: 5px;

    background-color: #EEF8FE;
}

audio::-webkit-media-controls-panel,
video::-webkit-media-controls-panel {
    background: rgba(244, 211, 94, 0.6);
    /* background: rgba(244, 211, 94);  */
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5); /* Adjust the opacity for dimming */
  }
    
.ison24_hand_text
{
  color: #107EBF !important;
  text-decoration: none !important;
  font-family: 'Handlee', cursive;  
  font-size: 18px;
}

.ison24_notes_ts
{
  color: #107EBF;
  font-size: 16px;
  word-wrap: break-word; 
  text-align: right !important; 
}

.ison24_notes
{
 border: 1px solid rgba(14, 87, 160, 0.2);
  word-wrap: break-word;   
  background-color: #FFFCEB;  
}

.ison24_dropdown_menu {
    background: #107EBF;
    border: 1px solid rgba(14, 87, 160, 0.2);
    border-radius: 3px;
    box-shadow: none;
    /* z-index: 2500; */
}
  
  .ison24_dropdown_menu > li > a {
    border-radius: 3px;
    color: white !important;
    line-height: 25px;
    margin: 4px;
    text-align: left;
    font-weight: normal;
    z-index: 2500;

  }
  
  .ison24_dropdown_menu > li > a:hover,
  .ison24_dropdown_menu > li > a:active,
  .ison24_dropdown_menu > li > a:focus
  {
    background-color: #34adf4;
    color: white !important;   
    /*  border-style: solid;
    border-width: 1px;    
    border-color: #090C9B; */ 
    
  }
  
  
  .ison24_dropdown_menu-a
  {
    
  }
  
  .ison24_dropdown_menu-a:hover,
  .ison24_dropdown_menu-a:active,
  .ison24_dropdown_menu-a:focus
  {
    background-color: red;
    color: white; 
  }

.ison24_leads_box_arc {
    background: #EDEDED;
    border-bottom: 1px dotted #464646;
    padding: 0.5em;
    cursor: pointer;
    /* max-width: 350px; */
  }
  
  
.ison24_leads_box {
    background: #FFFCEB;
    border-bottom: 1px dotted #464646;
    padding: 0.5em;
    cursor: pointer;
    /* box-shadow: 0px 0 50px rgba(248, 230, 158, 0.6); */
  }
  
  
.ison24_leads_box_sel {
    background: #F8E69E;
    border-bottom: 1px dotted #DADADA;
    cursor: pointer;
    padding: 0.5em;
}


.ison24_leads_name_sel {
    color: black;
    text-decoration: none !important;
    font-family: 'Quicksand',  sans-serif;
    font-size: 15px;    
    /* font-weight: 800; */
}


.ison24_leads_name_arc_sel {
    color: black;
    text-decoration: none !important;
    font-family: 'Quicksand',  sans-serif;
    font-size: 15px;
    
}

.ison24_logoBg {
    background: url(../img/Base-IsOn24-logo-v4-lightgrey-e9e9e9-1024-300-more-op.png) fixed no-repeat;
    background-position: left;
  }

  
.fixedSizedModal {
    overflow-y: auto;
    overflow-x:hidden;
    height: 580px;
    max-height:  580px;
    min-height:  580px;    
  }

  .fixedSizedModalNxConv {
    overflow-y: auto;
    overflow-x: hidden;
    height: 70vh;       /* Set height to 70% of the viewport height */
    max-height: 70vh;   /* Ensure the maximum height is also 70% of the viewport height */
    min-height: 70vh;   /* Ensure the minimum height is also 70% of the viewport height */
}


.fixedSizedModalNx {
    overflow-y: auto;
    overflow-x: hidden;
    height: 70vh;       /* Set height to 70% of the viewport height */
    max-height: 70vh;   /* Ensure the maximum height is also 70% of the viewport height */
    min-height: 70vh;   /* Ensure the minimum height is also 70% of the viewport height */
}

.fixedSizedModalVH600 {
    overflow-y: auto;
    overflow-x: hidden;    
    max-height: 600px; 
    background-color: #EEF8FE;
}

.smvd_conv_delete_bg {

    background: rgba(244, 211, 94, 0.2);   
}


.ison24_SecFixSecBottom {
    background-color: #EEF8FE;
    /* border-bottom: 1px solid #107EBF;
    border-top: 1px solid #107EBF; */
    /* border-left: 1px solid #107EBF; */
    position: fixed;
    bottom: 4px;
    /* width: 100%; */
    z-index: 4;
}

.ison24_conv_msg_box_embd_V2 {
    background-color: #EEF8FE;
    padding-left: 1em;
    padding-right: 1em;
    transform: translate3d(0, 0, 0);
    bottom: 0px;
    border-bottom: 4px solid #EEF8FE;
    border-top: 2px solid #EEF8FE;
}


.FixedSizedContainer {
    height: 80vh;
    margin-top: 100px !important;
    position: relative;
    background-color: white;
  }

  .FixedSizedContainer .details {
    max-height: 100%;
    overflow-y: auto;
    height: 600px;
    padding: 10px 50px 30px 30px;
    padding-bottom: 100px;
  }

  
.FixedSizedContainer .service-item {
    transition: all ease-in-out 0.3s;
    background: white;
    position: relative;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0px 0 25px rgba(28, 28, 28, 0.1);
  }


  .FixedSizedContainer .top-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #333;
    color: #fff;
    padding: 10px;
    text-align: center;
  }

  .FixedSizedContainer .bottom-textarea {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #eee;
    padding: 10px;
    text-align: center;
  }

  .FixedSizedContainer .details h3 {
    color: black;
    font-weight: 500;
    margin: 10px 0 15px 0;
    font-size: 20px;
    transition: ease-in-out 0.3s;
  }

  .FixedSizedContainer .details p {
    line-height: 24px;
    font-size: 16px;
    margin-bottom: 0;
  }

  .FixedSizedContainer .bottom-textarea textarea {
    width: 100%;
    height: 100px; /* Set your desired height for the textarea */
    box-sizing: border-box;
  }
  
.ison24_soleConvContainer
{
  margin-top: 100px !important;
}

.ison24_soleConvContainer .details {
  padding: 10px 50px 30px 30px;
  margin: 5px 30px 0 30px;
  transition: all ease-in-out 0.3s;
  background: white;
  position: relative;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0px 0 25px rgba(28, 28, 28, 0.1);
}


.ison24_soleConvContainer .details h3 {
  color: black;
  font-weight: 500;
  margin: 10px 0 15px 0;
  font-size: 20px;
  transition: ease-in-out 0.3s;
  
}

.ison24_soleConvContainer .details p {
  line-height: 24px;
  font-size: 16px;
  margin-bottom: 0;
}

/* 
.ison24_soleConvContainer .details .icon {
  margin: 0;
  width: 72px;
  height: 72px;
  background: #30881c;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
  font-size: 28px;
  transition: ease-in-out 0.3s;
  position: absolute;
  top: -36px;
  left: calc(50% - 36px);
  border: 6px solid white; 
}*/
.ison24_conv_search_mt {
    margin-top: 180px;
}

.ison24_deleting {
    color: #ED254E;
    text-decoration: none !important;
    font-family: 'Quicksand',  sans-serif;
    font-size: 16px;
    
    font-weight: 800;

}

.ison24_feature_sec {
    background-color: white;
    padding-left: 10px;
    padding-right: 10px;
    border-bottom: 1px solid rgba(14, 87, 160, 0.2);    
}
/* 
.ison24_feature_sec {
    background-color: white;
    padding-left: 10px;
    padding-right: 10px;
    border-bottom: 1px solid rgba(14, 87, 160, 0.2);    
} */

/* to make fixed at top */
.ison24_conv_nav_lg_nxx {
    position: fixed;
    width: 100%;
    background-color: #EEF8FE;
    z-index: 4;

    /* border-bottom: 1px solid #107EBF; */
}

.ison24_conv_content_m {
    margin-top: 184px;
}

.ison24_conv_content_m_nx {
    margin-top: 110px;
}

.ison24_conv_nav_lg_nx {
    position: sticky;
    top: 0;
    padding: 5px;
    width: 100%;
    background-color: #EEF8FE;
    z-index: 4;

    border-top:  1px solid rgba(14, 87, 160, 0.2);
    border-bottom:  1px solid rgba(14, 87, 160, 0.2);
}

.item_selector {}

.ison24_scrollable_column {
    max-height: 100vh;
    /* Set the maximum height to 100% of viewport height */
    overflow-y: auto;
    /* Enable vertical scrolling */
    overflow-x: hidden;
}

.ison24_static_container {
    overflow: hidden !important;
    height: 100vh !important;
}

.ison24_btm_g {
    position: sticky;
    bottom: 0;
    border-bottom: 20px solid #107EBF;
}

.fixed-button-bar {
    position: sticky;
    top: 0;
    background-color: #EEF8FE;
    padding: 10px;
    z-index: 1000;
}

.ison24_blue_text {
    color: #0E69A5;
}

.ison24_apt_bottom_m {
    margin-bottom: 44em !important;
}

.ison24_apt_vet_text {
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: white;
    font-size: 15px;
    font-weight: 600;
    text-orientation: mixed;
    writing-mode: vertical-rl;
    margin-left: -60px;
}

.ison24_apt_label1 {
    color: #0E69A5 !important;
    text-decoration: none !important;
    font-family: 'Quicksand',  sans-serif;
    font-size: 30px;
    
    font-weight: 600;
}


.ison24_apt_label12 {
    color: #7B7C7B !important;
    text-decoration: none !important;
    font-family: 'Quicksand',  sans-serif;
    font-size: 38px;
    
}

.ison24_label_white {
    background-color: white;
}

.ison24_form_set_bg {
    background: no-repeat url(../img/ison24-form-bg-lt-bl.jpg);
    background-size: 28%;
    background-position: top right;
  }

  .ison24_questions_set_bg {
    background: no-repeat url(../img/ison24-question-bg.jpg);
    background-position: top right;
  }

  .ison24_questions_set_bg_dn {
    background: no-repeat url(../img/ison24-question-bg.jpg);
    background-size: 15%;
    background-position:right;
  }

.ison24_calendar_set_bg {
    background: no-repeat url(../img/ison24-calendar-bg-lt-bl.jpg);
    background-position: top;
  }

  
.ison24_leads_set_bg {
    background: no-repeat url(../img/ison24-leads-settings.jpg);
    background-position:right;
  }

  .ison24_services_set_bg {
    background: no-repeat url(../img/ison24-service-types-bg.jpg);
    background-size: 50%;
    background-position: top right;
  }

  .ison24_services_set_bg_dn {
    background: no-repeat url(../img/ison24-service-types-bg.jpg);
    background-size: 40%;
    background-position: right;

  }

.ison24_calendar_bg {
    background: fixed no-repeat url(../img/IsOn24-Calendar-Clock-bg.jpg);
    background-size: cover;
    position: relative;
    height: 100%;
}

.ison24_btn_em_main {

    background-color: #EF8354;
    border-color: #EF8354;
    color: #FFFFFF;
    font-family: 'Quicksand',  sans-serif;
}

.ison24_btn_em_main:hover,
.ison24_btn_em_main:focus,
.ison24_btn_em_main:active {
    background-color: #DE6F34;
    border-color: #DE6F34;
    color: white;
}

.ison24_btn_em_passive {

    background-color: transparent;
    border-color: #EF8354;
    color: black;
    font-family: 'Quicksand',  sans-serif;
}

.ison24_btn_em_passive:hover,
.ison24_btn_em_passive:focus,
.ison24_btn_em_passive:active {
    background-color: #EF8354;
    border-color: #DE6F34;
    color: white;
}


.ison24_btn_em_main_text {
    color: white !important;
    font-size: 18px;
    text-decoration: none !important;
    font-family: 'Quicksand',  sans-serif;
    
}

.ison24_btn_em_passive_text {
    color: black !important;
    font-size: 18px;
    text-decoration: none !important;
    font-family: 'Quicksand',  sans-serif;
    
}


.ison24_edit_box {
    background-color: transparent;
    border: 1px solid #107EBF;
    border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    padding-left: 1em;
    padding-top: 1em;
    margin-left: 1em;
}

.ison24_pri_text_h2 {
    color: #0E69A5 !important;
    text-decoration: none !important;
    font-family: 'Quicksand',  sans-serif;
    font-size: 1.6em;
    
    font-weight: 600;
}


.ison24_pri_text_h4 {
    color: #0E69A5 !important;
    font-size: 1.4em;
    text-decoration: none !important;
    font-family: 'Quicksand',  sans-serif;
    
}


.ison24_confim_section {
    background-color: #EEF8FE;
    padding-top: 40px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 10px;
}


.ison24_lt_container {
    border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;

    /* background-color: #FEFCEA;   */
    background-color: #F4F6F9;
    padding-top: 2em;
    padding-left: 1em;
    padding-right: 1em;
    padding-bottom: 2em;
}

.ison24_action_bar_container {
    background-color: #EEF8FE !important;
    border: 1px solid white;
    border-radius: 5px;
    width: 100%;
}
/* 
.ison24_conv_msg_box {
    background-color: #EEF8FE;
    width: 70%;
    padding-left: 1em;
    padding-right: 1em;
    position: fixed;
    transform: translate3d(0, 0, 0);
    bottom: 0px;
    border-bottom: 7px solid #EEF8FE;
    border-top: 4px solid #EEF8FE;
}
 */

.ison24_conv_msg_box {
    background-color: #EEF8FE;
    width: 62%;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 8px;
    position: fixed;
    transform: translate3d(0, 0, 0);
    bottom: 0px;
    border-bottom: 7px solid #EEF8FE;
    border-top: 4px solid #EEF8FE;
    z-index: 10;
}


.ison24_conv_msg_box_embd {
    background-color: #EEF8FE;
    width: 100%;
    padding-left: 1em;
    padding-right: 1em;

    position: fixed;
    transform: translate3d(0, 0, 0);
    bottom: 0px;
    border-bottom: 10px solid #107EBF;
    border-top: 4px solid #EEF8FE;
}

/* .ison24_conv_msg_box_embd {
    background-color: red;
    width:90%; 
    padding-left: 1em;
    padding-right: 1em; 
    position: fixed;
    bottom: 0px;
    transform: translate3d(0, 0, 0);
    border-bottom: 7px solid #EEF8FE;
    border-top: 4px solid #EEF8FE; 
} */


.ison24_message_text_lg {
    color: black;
    text-decoration: none !important;
    font-family: 'Quicksand',  sans-serif;
    font-size: 18px;
    letter-spacing: 1.2px;
}


.ison24_warning_text_lg {
    color: #ED254E !important;
    text-decoration: none !important;
    font-family: 'Quicksand',  sans-serif;
    font-size: 20px;
}


.ison24_message_text {
    color: black;
    text-decoration: none !important;
    font-family: 'Quicksand',  sans-serif;
    font-size: 16px;
    letter-spacing: 1.2px;
}


.ison24_warning_text {
    color: #ED254E !important;
    text-decoration: none !important;
    font-family: 'Quicksand',  sans-serif;
    font-size: 1.2em;
}

.ison24_error_text {
    color: #ED254E !important;
    text-decoration: none !important;
    font-family: 'Quicksand',  sans-serif;
    font-size: 16px;
}

.ison24_icon_active {
    color: #0E69A5;
    font-size: 18px;
}

.ison24_icon_passive {
    color: #7A7B7A;
    font-size: 18px;
}

.ison24_icon_sel {
    color: white;
    font-size: 18px;
}

.ison24_icon_sel_nx {
    color: white;
}

.ison24_new_item {
    margin-top: 40px;
    color: #0E69A5;
}

.ison24_new_item_sel {
    margin-top: 40px;
    color: white;
}

.ison24_conv_box_sel {
    background: #107EBF;
    border-bottom: 1px dotted #DADADA;
    cursor: pointer;
    padding: 0.5em;
}

.ison24_conv_nav_b {
    background-color: #EEF8FE;
    border-top: 1px solid #107EBF;
    border-bottom: 1px solid #107EBF;
    /* position: fixed;
    top: 100px; */
    /* width: 100%; */
    /* bottom: 0px; */
    z-index: 4;
    -webkit-box-shadow: 5px 5px 1px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 5px 5px 1px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 5px 5px 1px 0px rgba(0, 0, 0, 0.2);
}

.ison24_conv_nav_b_lg {
    background-color: #EEF8FE;
    border-top: 1px solid #107EBF;
    border-bottom: 1px solid #f8f8f8;
    position: fixed;
    top: 50px;

    width: 100%;
    /* bottom: 0px; */
    z-index: 4;
    -webkit-box-shadow: 5px 5px 1px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 5px 5px 1px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 5px 5px 1px 0px rgba(0, 0, 0, 0.2);
}


.m_t_nav_b_ico {
    margin-top: 5px;
}

.ison24_textarea {
    border-radius: 5px;
    /* border: 2px solid #107EBF; */
    margin-top: 7px;
    min-height: 40px;
}

.ison24_formMsgMt {
    margin-top: 0px;
}

.ison24_SecNavContainer {
    background-color: #EEF8FE;
    border: 1px solid rgba(14, 87, 160, 0.2);
}

.ison24_SecNavContainerTopFixed {
    background-color: #EEF8FE;
    border: 1px solid rgba(14, 87, 160, 0.2);
    position: fixed;
    z-index: 11;
}

.ison24_SecNavFixTop {
    background-color: #EEF8FE;

    border-bottom:  1px solid rgba(14, 87, 160, 0.2);
    border-top:  1px solid rgba(14, 87, 160, 0.2);
    border-left:  1px solid rgba(14, 87, 160, 0.2);

    width: 100%;
    z-index: 4;
}

.ison24_SecNavFixTopDD {
    background-color: #EEF8FE;
    /* border: 1px solid #107EBF; */
    width: 100%;
    z-index: 4;
    padding-bottom: 6px;
}


.ison24_SecNavFixBottomDD_Nx {
    background-color: #EEF8FE;
    padding-bottom: 84px;
    padding-top: 5px;
    width: 100%;
    z-index: 4;
}

.ison24_SecNavFixBottomDD {
    background-color: #EEF8FE;
    padding-bottom: 10px;
    padding-top: 5px;
    width: 100%;
    z-index: 4;
}

.ison24_SecNavDev {
    background-color: white;
    z-index: 3;
}

.ison24_icon_lg_s {

    background-color: #107EBF;
    border: #f8f8f8 solid 1px;
    border-radius: 10px;
    min-height: 30px;
    min-width: 50px;
}

.ison24_icon_dis {
    background: rgba(16, 126, 191, 0.5);
    border: #f8f8f8 solid 1px;   
    cursor: none;
}

.ison24_icon_dis i {
    color: white;   
    transition: 0.3s;
    cursor: none;
}


.ison24_icon_lg_s_dis {
    background: rgba(16, 126, 191, 0.5);
    border: #f8f8f8 solid 1px;
    border-radius: 10px;
    min-height: 30px;
    min-width: 50px;
    cursor: none;

}

.ison24_icon_lg_s_dis i {
    color: white;
    font-size: 22px;
    transition: 0.3s;
    cursor: none;
}


.ison24_icon_lg_s:hover {
    background: #0E69A5;
}

.ison24_icon_lg_s i {
    color: white;
    font-size: 22px;
    transition: 0.3s;
}
.ison24_icon_xxs_tsp {
    margin-bottom: 5px;
    margin-top: 4px;
    border: none;
    background-color: transparent;
}

.ison24_icon_xxs_tsp:hover {
    background-color: white;
}

.ison24_icon_xxs_tsp i {
    color: #107EBF;
    font-size: 20px;
    transition: 0.3s;
}

.ison24_icon_xs_wht_rd {
    margin-bottom: 5px;
    margin-top: 4px;
    border: none;
    background-color: white;
    border-radius: 5px;
}

.ison24_icon_xs_wht_rd:hover {
    border: 1px solid rgba(var(--color-red-rgb), 0.8);
}

.ison24_icon_xs_wht_rd i {
    color: #107EBF;
    font-size: 24px;
    transition: 0.3s;
}


.ison24_icon_xs_tsp {
    margin-bottom: 5px;
    margin-top: 4px;
    border: none;
    background-color: transparent;
}

.ison24_icon_xs_tsp:hover {
    background-color: white;
}

.ison24_icon_xs_tsp i {
    color: #107EBF;
    font-size: 24px;
    transition: 0.3s;
}



.ison24_icon_xs_tsp_disabled {
    margin-bottom: 5px;
    margin-top: 4px;
    border: none;
    background-color: transparent;
}

.ison24_icon_xs_tsp_disabled i {
    color: #AFAFAF;
    font-size: 24px;
    transition: 0.3s;
}

.ison24_icon_xs {
    margin-bottom: 5px;
    margin-top: 5px;
    border: none;
    background-color: white;
}

.ison24_icon_xs:hover {
    background-color: #f8f8f8;
}

.ison24_icon_xs i {
    color: #107EBF;
    font-size: 24px;
    transition: 0.3s;
}

.ison24_icon_xs_org {
    margin-bottom: 5px;
    margin-top: 5px;
    width: 36px;
    height: 36px;
    background-color: white;
    border: #107EBF solid 1px;
    border-radius: 10px;
}

.ison24_icon_xs_org:hover {
    background-color: #f8f8f8;
}

.ison24_icon_xs_org i {
    color: #107EBF;
    font-size: 22px;
    transition: 0.3s;
}

.ison24_icon_xs_org_disabled {
    margin-bottom: 5px;
    margin-top: 5px;
    width: 36px;
    height: 36px;
    background-color: #f8f8f8;
    border: #AFAFAF solid 1px;
    border-radius: 10px;
}

.ison24_icon_xs_org_disabled i {
    color: #AFAFAF;
    font-size: 22px;
    transition: 0.3s;
}

.ison24_err_on_pri {
    color: #ED254E;
    text-decoration: none !important;
    font-family: 'Quicksand',  sans-serif;
    font-size: 16px;
    
}

.ison24_dt_sel {
    color: white;
    text-decoration: none !important;
    font-family: 'Quicksand',  sans-serif;
    font-size: 14px;
    font-weight: 600;
}


.ison24_dt {
    color: black;
    text-decoration: none !important;
    font-family: 'Quicksand',  sans-serif;
    font-size: 14px;
}

.ison24_name_sel {
    color: white;
    text-decoration: none !important;
    font-family: 'Quicksand',  sans-serif;
    font-size: 16px;    
    font-weight: 800;
}

.ison24_name_arc_sel {
    color: white;
    text-decoration: none !important;
    font-family: 'Quicksand',  sans-serif;
    font-size: 16px;
    
}


.ison24_text_name_arc {
    color: black;
    text-decoration: none !important;
    font-family: 'Quicksand',  sans-serif;
    font-size: 16px;
    
}


.ison24_text_name {
    color: #0E69A5;
    text-decoration: none !important;
    font-family: 'Quicksand',  sans-serif;
    font-size: 16px;    
    font-weight: 800;
}


/* XS size */
@media (max-width: 767px) 
{    
    .m-t-n-xs-only
    {
        margin-top: -40px !important;
    }
    .fixedSizedModalNxConv {
        overflow-y: auto;
        overflow-x: hidden;
        height: 67vh;      
        max-height: 67vh;  
        min-height: 67vh; 
    }

    .smvd_sole_conv_msg_text_in {
            color: #535655;
            font-family: 'Quicksand',  sans-serif;
            font-size: 16px;
            letter-spacing: 1.5px;
            text-align: left !important;
            padding-left: 20px;
            padding-right: 15px;
        }

        .smvd_sole_conv_msg_text_out {
            color: #e5e3e3 !important;

            /* text-decoration: none !important; */
            font-family: 'Quicksand',  sans-serif;
            font-size: 16px;
            letter-spacing: 1.5px;
            text-align: left !important;
            padding-left: 20px;
            padding-right: 15px;
        }
    
.ison24_leads_name_sel {
    color: black;
    text-decoration: none !important;
    font-family: 'Quicksand',  sans-serif;
    font-size: 20px;    
    font-weight: 800;
}

.ison24_leads_name_arc_sel {
    color: black;
    text-decoration: none !important;
    font-family: 'Quicksand',  sans-serif;
    font-size: 20px;    
}

.ison24_name_arc_sel {
    color: white;
    text-decoration: none !important;
    font-family: 'Quicksand',  sans-serif;
    font-size: 20px;
}


.ison24_text_name_arc {
    color: black;
    text-decoration: none !important;
    font-family: 'Quicksand',  sans-serif;
    font-size: 20px;
    
}


.ison24_text_name {
    color: #0E69A5;
    text-decoration: none !important;
    font-family: 'Quicksand',  sans-serif;
    font-size: 20px;    
    font-weight: 800;
}


    .ison24_shaded_lt_bg_nx {
        width: 100%;
        background: #EEF8FE;  
        background-size: cover;
        position: relative;
        min-height: 100vh;
        margin-top: -50px;
      }

    .fixedSizedModalVH600 {
        overflow-y: auto;
        overflow-x: hidden;    
        max-height: 80vh; 
        background-color: #EEF8FE;
    }
    
    .m_t_n_tt
    {
        margin-top: -6px !important;
    }
    
    .ison24_SecNavContainerTopFixed {
        background-color: #EEF8FE;
        border: 1px solid rgba(14, 87, 160, 0.2);
        position: fixed;
        z-index: 11;
        margin-top: 70px !important;
    }
    
    .ison24_logoBg {
        background: url(../img/Base-IsOn24-logo-v4-lightgrey-e9e9e9-300-300-hf-more-op.png) fixed no-repeat;
        background-position: left;
        min-height: 100vh;
    }

  .ison24_questions_set_bg_dn {
    background: no-repeat url(../img/ison24-question-bg.jpg);
    background-size: 40%;
    background-position: top right;
  }
        
    .ison24_calendar_set_bg {
        background: no-repeat url(../img/ison24-calendar-bg-lt-bl-xs.jpg);
        background-position: top;
    }

    .ison24_leads_set_bg {
        background: no-repeat url(../img/ison24-leads-settings-xs.jpg);
        background-position: top;
    }

    .ison24_services_set_bg {
        background: no-repeat url(../img/ison24-service-types-bg-xs.jpg);
        background-position: top right;
    }

    .ison24_services_set_bg {
        background: no-repeat url(../img/ison24-service-types-bg-xs.jpg);
        background-position: top right;
    }
    
    .ison24_SecNavFixBottomDD_Nx {
        background-color: #EEF8FE;
        padding-bottom: 78px;
        padding-top: 5px;
        width: 100%;
        z-index: 4;
    }

   .ison24_SecNavFixTopDD {
        background-color: #EEF8FE;
        /* border-bottom: 1px solid #107EBF;
        border-top: 1px solid #107EBF; */
        position: fixed;
        top: 1px;
        width: 100%;
        z-index: 4;
    }

    .fixedSizedModal {       
        overflow-y: auto;
        overflow-x:hidden;
        height: 480px;
        max-height:  480px;
        min-height:  480px;  
    }

    .FixedSizedContainer {
        height: 100%;
        margin-top: 10px !important;
        position: relative;
        background-color: green;
    }


    .FixedSizedContainer .details {
        max-height: 100%;
        overflow-y: auto;
        height:400px;
        padding: 10px 50px 30px 30px;
    }

    .ison24_conv_search_mt {
        margin-top: 0px;
    }


    .ison24_conv_content_m_nx {
        margin-top: 0px;
    }

    .ison24_conv_content_m {
        margin-top: 1px;
    }

    .ison24_formMsgMt {
        /* margin-top: 5.5em; */
        margin-top: 0px;
    }

    .ison24_conv_msg_box {
        background-color: #EEF8FE;
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;

        position: fixed;
        transform: translate3d(0, 0, 0);
        bottom: 0px;
        border-bottom: 10px solid #EEF8FE;
        border-top: 4px solid #EEF8FE;
        z-index: 10;

    }
    
    .ison24_conv_msg_box_embd {
        background-color: #EEF8FE;
        width: 100%;
        padding-left: 1em;
        padding-right: 1em;

        position: fixed;
        transform: translate3d(0, 0, 0);
        bottom: 0px;
        border-bottom: 10px solid #107EBF;
        border-top: 4px solid #EEF8FE;
    }

    .ison24_SecNavFixTop {
        background-color: #EEF8FE;
        
        border-bottom:  1px solid rgba(14, 87, 160, 0.2);
        border-top:  1px solid rgba(14, 87, 160, 0.2);

        position: fixed;
        top: 48px;
        width: 100%;
        z-index: 4;
    }
    
    .ison24_SecNavFixBottomDD {
        background-color: #EEF8FE;
        position: fixed;
        bottom: 10px;
        width: 100%;
        z-index: 4;
    }

    .ison24_conv_nav_lg_nx {
        background-color: #EEF8FE;
        border-top:  1px solid rgba(14, 87, 160, 0.2);
        border-bottom:  1px solid rgba(14, 87, 160, 0.2);
        position: fixed;
        padding-top: 6px;
        padding-bottom: 6px;
        width: 100%;
        bottom: 0px;
        top: auto;

        z-index: 4;
        -webkit-box-shadow: 5px 5px 1px 0px rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 5px 5px 1px 0px rgba(0, 0, 0, 0.2);
        box-shadow: 5px 5px 1px 0px rgba(0, 0, 0, 0.2);
    }



    .ison24_conv_nav_b {
        background-color: #EEF8FE;
        border-top:  1px solid rgba(14, 87, 160, 0.2);
        border-bottom: 1px solid #f8f8f8;
        position: fixed;
        padding-top: 6px;
        padding-bottom: 6px;
        width: 100%;
        bottom: 0px;
        top: auto;

        z-index: 4;
        -webkit-box-shadow: 5px 5px 1px 0px rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 5px 5px 1px 0px rgba(0, 0, 0, 0.2);
        box-shadow: 5px 5px 1px 0px rgba(0, 0, 0, 0.2);
    }


    .ison24_apt_bottom_m {
        margin-bottom: 30em !important;
    }

    .ison24_apt_label1 {
        color: #0E69A5 !important;
        text-decoration: none !important;
        font-family: 'Quicksand',  sans-serif;
        font-size: 17px;
        
        font-weight: 600;
    }


    .ison24_apt_label12 {
        color: #7B7C7B !important;
        text-decoration: none !important;
        font-family: 'Quicksand',  sans-serif;
        font-size: 24px;
        
    }

    .ison24_pri_text_h2 {
        color: #0E69A5 !important;
        text-decoration: none !important;
        font-family: 'Quicksand',  sans-serif;
        font-size: 1.4em;
        
    }

    .ison24_calendar_bg {
        background: fixed no-repeat url(../img/IsOn24-Calendar-Clock-bg.jpg);
        background-position: center;
    }

}


/* SM size */
@media (min-width: 768px) and (max-width: 991px) 
{    

  .smvd_sole_conv_msg_text_out {
    /* color: #026caa; */
    color: #e5e3e3 !important;

    font-family: 'Quicksand',  sans-serif;
    font-size: 16px;
    letter-spacing: 1.5px;
    text-align: left !important;
    padding-left: 20px;
    padding-right: 15px;
  }

  .ison24_questions_set_bg_dn {
    background: no-repeat url(../img/ison24-question-bg.jpg);
    background-size: 30%;
    background-position: top right;
  }

    .ison24_SecNavFixTopDD {
        background-color: #EEF8FE;
        /* border-bottom: 1px solid #107EBF;
        border-top: 1px solid #107EBF; */
        position: fixed;
        top: 1px;
        width: 100%;
        z-index: 4;
    }

    .fixedSizedModal {       
        overflow-y: auto;
        overflow-x:hidden;
        height: 420px;
        max-height:  420px;
        min-height:  420px;  
    }

    .FixedSizedContainer .details {
        max-height: 100%;
        overflow-y: auto;
        height: 400px;
        padding: 10px 50px 30px 30px;
    }

    .ison24_conv_search_mt {
        margin-top: 0px;
    }

    .ison24_conv_content_m_nx {
        margin-top: 0px;
    }

    .ison24_conv_content_m {
        margin-top: 1px;
    }


    .ison24_formMsgMt {
        /* margin-top: 5.5em; */
        margin-top: 0px;
    }

    /* .ison24_conv_msg_box {
        background-color: #EEF8FE;
        width: 100%;
        padding-left: 1em;
        padding-right: 1em;
        position: fixed;
        transform: translate3d(0, 0, 0);
        bottom: 0px;
        border-bottom: 10px solid #107EBF;
        border-top: 4px solid #EEF8FE;

    } */
    
    .ison24_conv_msg_box {
        background-color: #EEF8FE;
        width: 90%;
        padding-left: 20px;
        padding-right: 20px;

        position: fixed;
        transform: translate3d(0, 0, 0);
        bottom: 0px;
        border-bottom: 10px solid #EEF8FE;
        border-top: 4px solid #EEF8FE;
        z-index: 10;

    }
    .ison24_conv_msg_box_embd {
        background-color: #EEF8FE;
        width: 100%;
        padding-left: 1em;
        padding-right: 1em;
        position: fixed;
        transform: translate3d(0, 0, 0);
        bottom: 0px;
        border-bottom: 10px solid #107EBF;
        border-top: 4px solid #EEF8FE;
    }

    .ison24_SecNavFixTop {
        background-color: #EEF8FE;
        border-bottom:  1px solid rgba(14, 87, 160, 0.2);
        border-top:  1px solid rgba(14, 87, 160, 0.2);
        position: fixed;
        top: 48px;
        width: 100%;
        z-index: 4;
    }

    .ison24_SecNavFixBottomDD {
        background-color: #EEF8FE;
        position: fixed;
        bottom: 10px;
        width: 100%;
        z-index: 4;
    }

    .ison24_conv_nav_lg_nx {
        background-color: #EEF8FE;
        border-top:  1px solid rgba(14, 87, 160, 0.2);
        border-bottom:  1px solid rgba(14, 87, 160, 0.2);

        position: fixed;
        padding-top: 6px;
        padding-bottom: 6px;
        width: 100%;
        bottom: 0px;
        top: auto;
        z-index: 4;
        -webkit-box-shadow: 5px 5px 1px 0px rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 5px 5px 1px 0px rgba(0, 0, 0, 0.2);
        box-shadow: 5px 5px 1px 0px rgba(0, 0, 0, 0.2);
    }

    .ison24_conv_nav_b {
        background-color: #EEF8FE;
        border-top:  1px solid rgba(14, 87, 160, 0.2);
        border-bottom: 1px solid #f8f8f8;
        position: fixed;
        padding-top: 6px;
        padding-bottom: 6px;
        width: 100%;
        bottom: 0px;
        top: auto;
        z-index: 4;
        -webkit-box-shadow: 5px 5px 1px 0px rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 5px 5px 1px 0px rgba(0, 0, 0, 0.2);
        box-shadow: 5px 5px 1px 0px rgba(0, 0, 0, 0.2);
    }

    .ison24_apt_bottom_m {
        margin-bottom: 30em !important;
    }
}



/* MD size */
@media (min-width: 992px) and (max-width: 1199px) 
{
    
  .ison24_questions_set_bg_dn {
    background: no-repeat url(../img/ison24-question-bg.jpg);
    background-size: 30%;
    background-position: top right;
  }

    .ison24_SecNavFixTopDD {
        background-color: #EEF8FE;
        /* border-bottom: 1px solid #107EBF;
        border-top: 1px solid #107EBF; */
        position: fixed;
        top: 1px;
        width: 100%;
        z-index: 4;
    }

    .fixedSizedModal {       
        overflow-y: auto;
        overflow-x:hidden;
        height: 420px;
        max-height:  420px;
        min-height:  420px;  
    }


    
    .FixedSizedContainer .details {
        max-height: 100%;
        overflow-y: auto;
        height: 300px;
        padding: 10px 50px 30px 30px;
        padding-bottom: 100px;    
    }

    .ison24_conv_search_mt {
        margin-top: 210px;
    }


    .ison24_conv_content_m_nx {
        margin-top: 130px;
    }

   
.ison24_conv_msg_box {
    background-color: #EEF8FE;
    width: 60%;
    padding-left: 20px;
    padding-right: 20px;

    position: fixed;
    transform: translate3d(0, 0, 0);
    bottom: 0px;
    border-bottom: 7px solid #EEF8FE;
    border-top: 4px solid #EEF8FE;
    z-index: 10;
}

    .ison24_conv_msg_box_embd {
        background-color: #EEF8FE;
        width: 100%;
        padding-left: 1em;
        padding-right: 1em;
        position: fixed;
        transform: translate3d(0, 0, 0);
        bottom: 0px;

        border-bottom: 7px solid #EEF8FE;
        border-top: 4px solid #EEF8FE;
    }
}


/* Sub LG size */
@media (min-width: 1200px) and (max-width: 1400px) 
{
    .ison24_SecNavFixTopDD {
        background-color: #EEF8FE;
        /* border-bottom: 1px solid #107EBF;
        border-top: 1px solid #107EBF; */
        position: fixed;
        top: 1px;
        width: 100%;
        z-index: 4;
    }

    .fixedSizedModal {       
        overflow-y: auto;
        overflow-x:hidden;
        height: 410px;
        max-height:  410px;
        min-height:  410px;  
    }

    .FixedSizedContainer .details {
        max-height: 100%;
        overflow-y: auto;
        height: 300px;
        padding: 10px 50px 30px 30px;
        padding-bottom: 100px;    
    }
 
    .ison24_conv_search_mt {
        margin-top: 180px;
    }

    .ison24_conv_content_m_nx {
        margin-top: 120px;
    }

   
.ison24_conv_msg_box {
    background-color: #EEF8FE;
    width: 61%;
    padding-left: 20px;
    padding-right: 20px;

    position: fixed;
    transform: translate3d(0, 0, 0);
    bottom: 0px;
    border-bottom: 7px solid #EEF8FE;
    border-top: 4px solid #EEF8FE;
    }
}

.template-header {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.template-header-row {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 15px;
}

.template-title {
  flex: 1;
  margin: 0;
}

.chevron-btn {
  margin: 0;
}

.action-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
  background-color: white;
  padding: 0px 6px;
  border-radius: 6px;
}

.action-btn {
  padding: 6px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.action-btn:hover {
  background-color: #f8f9fa;
}

@media (max-width: 767px) {
  .action-buttons {
    align-self: flex-end;
    margin-top: 8px;
  }
  .chevron-btn {
    margin-left: auto !important;
  }
}

@media (min-width: 768px) {
  .template-header {
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
  }
  .template-header > div:first-child {
    flex: 1;
  }
  .action-buttons {
    justify-content: flex-end;
  }
}

/* Template List Styles */
.m-b-0 {
    margin-bottom: 0 !important;
}

@media (max-width: 767px) {
    #TMPL-LIST .ison24_setting_ctrlbar_nx {
        padding: 15px;
    }
    
    #TMPL-LIST h4, #TMPL-LIST h5 {
        margin-right: 10px;
    }
}

.template-content-container {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.template-content-container h5 {
    flex: 1;
    margin: 0;
}

.template-list-attachments {
    display: flex;
    gap: 10px;
    align-items: center;
}

.list-attachment-item {
    display: flex;
    align-items: center;
    padding: 4px;
    border-radius: 4px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
}

.list-attachment-preview {
    display: flex;
    align-items: center;
}

.list-attachment-preview:hover {
    opacity: 0.8;
}

.list-attachment-preview img {
    height: 30px;
    width: auto;
    border-radius: 4px;
    object-fit: cover;
}

.list-attachment-file {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 2px 6px;
}

.list-attachment-file:hover {
    background: #e9ecef;
}

.list-attachment-file i {
    font-size: 16px;
    color: #6c757d;
}

.list-filename {
    font-size: 12px;
    color: #495057;
}

@media (max-width: 767px) {
    .template-content-container {
        flex-direction: column;
    }

    .template-list-attachments {
        width: 100%;
    }

    .list-attachment-preview img {
        height: 24px;
    }

    .list-attachment-file {
        padding: 2px 4px;
    }

    .list-filename {
        font-size: 11px;
    }
}

@media (min-width: 768px) {
    .template-header {
        flex-direction: row !important;
        align-items: center;
        justify-content: space-between;
    }
    .template-header > div:first-child {
        flex: 1;
    }
    .action-buttons {
        justify-content: flex-end;
    }
}

@media (max-width: 767px) {
    .action-buttons {
        justify-content: flex-end;
    }
    .chevron-btn {
        margin-left: auto !important;
    }
}

.action-btn {
    padding: 6px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.action-btn:hover {
    background-color: #f8f9fa;
}

@media (max-width: 767px) {
    .action-buttons {
        align-self: flex-end;
        margin-top: 8px;
    }
}

/* Template Modal Styles */
.template-attachments-preview {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 10px;
    background: #f8f9fa;
    margin-top: 15px;
}

.attachments-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.attachment-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    padding-top: 40px;
    border-radius: 4px;
    background: white;
    border: 1px solid #e0e0e0;
    min-height: 90px;
}

.attachment-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 8px;
}

.attachment-preview:hover {
    opacity: 0.8;
}

.attachment-preview img {
    height: 40px;
    width: auto;
    border-radius: 4px;
    object-fit: cover;
}

.btn-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 0;
    color: #dc3545;
    min-width: 32px;
    min-height: 32px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.btn-remove i {
    font-size: 20px;
}

.btn-remove:hover {
    color: #bd2130;
    background-color: rgba(220, 53, 69, 0.1);
}

.template-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    background: #e9ecef;
    border-radius: 4px;
    font-size: 13px;
    color: #495057;
}

.tag i {
    margin-left: 6px;
    cursor: pointer;
    color: #6c757d;
}

.tag i:hover {
    color: #dc3545;
}

/* Template List Attachment Styles */
.template-list-attachments {
    margin-top: 10px;
}

.attachments-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.list-attachment-item {
    display: flex;
    align-items: center;
    padding: 4px;
    border-radius: 4px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
}

.list-attachment-preview img {
    height: 30px;
    width: auto;
    border-radius: 4px;
    object-fit: cover;
}

.list-attachment-file {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 2px 6px;
}

.list-attachment-file i {
    font-size: 16px;
    color: #6c757d;
}

.list-filename {
    font-size: 12px;
    color: #495057;
}

@media (max-width: 767px) {
    .attachments-list {
        gap: 8px;
    }

    .list-attachment-preview img {
        height: 24px;
    }

    .list-attachment-file {
        padding: 2px 4px;
    }

    .list-filename {
        font-size: 11px;
    }
}

/* Additional Template Styles */
.ison24-sec-topbar-mt {
    margin-top: -40px !important;
}

.template-section-padding {
    padding-bottom: 3em;
    padding-top: 1em;
}

.template-search-container {
    display: flex;
    justify-content: left;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 15px;
    padding-left: 0px;

}

.template-search-input-wrapper {
    flex: 1;
    min-width: 220px;
}

.template-search-input-group {
    display: flex;
}

.template-search-input {
    flex: 1;
}

.template-search-addon {
    background-color: #EEF8FE;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 40px;
    min-height: 38px;
}

.template-search-icon {
    font-size: 18px;
}

.template-add-btn-wrapper {
    display: flex;
    justify-content: flex-end;
}

.template-item-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.template-chevron-icon {
    font-size: 20px;
}

.template-delete-icon {
    color: #ED254E;
}

.template-modal {
    background-color: #EEF8FE;
    border-radius: 8px;
    overflow: hidden;
}

.template-modal-body {
    background-color: #EEF8FE;
}

.template-file-input {
    display: none;
}

.success-msg-padding {
    padding-bottom: 10px;
}

.success-msg-text {
    color: black;
    margin: 0;
}

.save-btn-margin {
    margin-top: 1em !important;
}