.flow_meta_box {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.flow_row_actions span.ff_repeater_count {
    color: #000;
    opacity: .8;
    font-size: .8em;
    background: #000;
    height: 1em;
    line-height: 1;
    color: #fff;
    margin-left: 0.5em;
    padding: 0.25em .5em;
}
span.ff_repeater_count:after {
    content: " fields";
}
.field-group, .field-single {
    flex-basis: 100%;
}
.flow_heading {
    margin-top: .25em;
    margin-bottom: 1em;
}
.flow_heading .flow-btn span {
    background: #0b2e4c;
    position: absolute;
    left: 0;
    height: 100%;
    top: 0;
    display: flex;
    align-items: center;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    padding: 0 .35em;
    line-height: 1;
}
.flow_pt_icon{
    color:#444;
    margin-right: 5px;
    margin-left: 5px;
}
.flow_heading .flow-btn {
    position: relative;
    padding-left: 3.5em;
    margin-left: 1em!important;
}
.flow_dashicon_option{
    display:flex;align-items:center;gap:.5em;
}
.show_cpt_advanced_box {
    margin-top: 1.5em;
    color: #0b2e4c;
    cursor: pointer;
}
.show_cpt_advanced_box {
    margin-top: 1.5em;
    color: #0b2e4c;
    cursor: pointer;
    border: 1px solid #eee;
    border-radius: 5px;
    width: fit-content;
    padding: .3em .5em;
    background: #fafafa;
    transition: all .7s ease;
}
.show_cpt_advanced_box:hover {
    background: #fff;
    color:#000;
}
.flow_cpt_supports {
    display: flex;
    flex-wrap: wrap;
    max-width: 25em;
}
.flow_cpt_supports label {
    flex: 50%;
}
.flow_cpt_advanced{
    display: none;
}
.flow_fields_loader{
    position: fixed;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
}
.flow_columns {
    display: flex;
    gap: 1em;
}

.has_append input{
    margin-right:0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right:none;

}
.has_prepend input{
    margin-left:0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left:none;
}
.flow_meta_box .field-single {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding-right: 1em;
    box-sizing: border-box;
}
span.flow_prepend {
    background: #eee;
    padding: 0 .5em;
    display: flex;
    min-width: 15px;
    justify-content: center;
    align-items: center;
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
    border-left: 1px solid #ccc;
}
span.flow_append {
    background: #eee;
    padding: 0 .5em;
    display: flex;
    min-width: 15px;
    justify-content: center;
    align-items: center;
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
    border-left: 1px solid #ccc;
}

.flow_6{
    flex-basis: 50%;
}
.lds-ripple {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
  }
  .lds-ripple div {
    position: absolute;
    border: 4px solid #ccc;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  }
  .lds-ripple div:nth-child(2) {
    animation-delay: -0.5s;
  }
  @keyframes lds-ripple {
    0% {
      top: 36px;
      left: 36px;
      width: 0;
      height: 0;
      opacity: 0;
    }
    4.9% {
      top: 36px;
      left: 36px;
      width: 0;
      height: 0;
      opacity: 0;
    }
    5% {
      top: 36px;
      left: 36px;
      width: 0;
      height: 0;
      opacity: 1;
    }
    100% {
      top: 0px;
      left: 0px;
      width: 72px;
      height: 72px;
      opacity: 0;
    }
  }
  
.flow_single_condition {
    display: flex;
    width: 100%;
    align-items: center;
    margin-bottom:7px;
    
    gap: 0.5em;
}
.flow_remove_condition span {
    color: #ff2626;
    cursor: pointer;
}
.flow_add_condition, .flow_add_group {
    padding: .25em 1.25em;
    background: #1a67a905;
}
.flow_condition_group {
    margin-top: 1.5em;
}
.flow_condition_part_1 {
    flex-basis: 3%;
}
.flow_condition_part_2 {
    flex-basis: 30%;
}
.flow_condition_part_3 {
    flex-basis: 21%;
}
.flow_condition_part_4 {
    flex-basis: 30%;
}
.flow_condition_part_5 {
    flex-basis: 14%;
    display: flex;
    align-items: center;
    
    justify-content: space-around;
}

ul.flow_dropdown {
    font-size: .75em;
}
.flow_conditions_wrapper{display:none;}
.flow_wrap {
    padding-top: .25em;
    display: flex;
    flex-wrap: wrap;
}
.field-group input[type=button], .field-single input[type=button] {
    width: auto;
}

    ul.ff-gallery-container {
        list-style-type: none;
        margin: 0;
        padding: 0;
        overflow: auto;
    }
    ul.ff-gallery-container li {
        float: left;
        margin-right: 10px;
        margin-top: 10px;
        border: 1px solid #ccc;
        position: relative;
        box-shadow: 1px 1px 5px rgba(0,0,0,0.1);
    }
    ul.ff-gallery-container li img {
        width: 100%;
        height: auto;
        line-height: 0;
    }
    ul.ff-gallery-container li a.remove-image {
        position: absolute;
        top: 0;
        right: 0;
        display: inline-block;
        padding: 5px;
        background: #ff0000;
        color: #ffffff;
        text-decoration: none;
    }

.flow_card_header {
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 32px;
    z-index: 999999;
    background: #fff;
    border-bottom: 1px solid #F7F7E7;
    margin-bottom: 1em;
    margin-left: -5px;
    margin-right: -5px;
    padding: 0 5px;
    min-height: 53px;
}
.flow_field_type_option .dashicons{
    margin-right:0.5em;
    color:#1a67a9
}
.select2-results__option--highlighted{
    background-color: transparent!important;
    color:#000!important;
}
.select2-container{z-index: 99990;}
.select2-container--default .select2-results__option--selected {
    background: #eeeeee!important;
    color: #000 !important;
}
.select2-results__option--selectable:hover {
    background: rgb(216, 230, 255)!important;
    color:#000!important;
  } 
.flow_card_footer {
   
    background: #fff;
    z-index: 9999;
    margin-left: -5px;
    margin-right: -5px;
    padding-left: 5px;
}

.flow_field_tab {
    display: none;
}
input.flow_fields_input {
    border-radius: 5px;
    padding: .75em!important;
}
span.flow_field_type_label {
    /* min-width: 80px; */
    width: auto!important;
    background: #f1f1f1;
    padding: 0px 10px;
    opacity: 1!important;
    color: #0b2e4c;
    font-size: 1em!important;
    margin-right: 10px;
    min-width: 80px;
    text-align: center;
}
.flow_field_tab_active {
    display: block;
    background: #fff;
    padding: 1em;
    border: 4px solid #fafafa;
    margin-top: -4px;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
    border-top-right-radius: 6px;
}
.flow_field_header {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}
.flow_field_nav {
    display: flex;
    margin-top: 2em;
}
.flow_field_nav_item .dashicons {
    color: #222;
    margin-right: .25em;
    font-size: 1em;
    line-height: 1em!important;
    display: block;
    vertical-align: middle;
    margin-top: 2px;
}
.flow_field_details label {
    font-size: .75em;
    color: #555;
    font-weight: 100;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.flow_field_nav .flow_field_nav_item {
    display: flex;
    flex-basis: 100%;
    text-align: center;
    justify-content: center;
    padding: 1em;
    font-size: 1.1em;
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
    cursor:pointer;
}
.flow_field_nav_item.flow_field_nav_item_active {
    background: #fff;
    font-weight: 600;
    border-left: 4px solid #fafafa;
    border-top: 4px solid #fafafa;
    border-right: 4px solid #fafafa;
}

.flow_hide_on_load{display: none;}
.flow_single_field.relationship_options {
    background: #fafafa;
    padding: 1em;
    border: 1px solid #eee;
    border-radius: 5px;
}
.flow_wrap .select2-container .select2-selection--single{
height:auto;

border-color: #ddd!important;
}
.flow_wrap .select2-search__field {
    border: none!important;
}
.flow_wrap .select2-selection {
    border-color: #eee!important;
}
.flow_single_field.repeater_options, .flow_single_field.field_options, .flow_field_details, .flow_single_field.relationship_options, .flow_single_field.number_options {
    display: none;  
}
.flow_single_field.number_options .flow_field_wrapper {
    display: flex;
    gap:10px;
}
.flow_single_field.number_options .flow_field_wrapper label{
    flex-grow: 1;
}
.field-single input[type=checkbox],.field-single input[type=radio], .field-group input[type=checkbox] , .field-group input[type=radio] {
    width: auto;
}
.flow_option{
    display: block;
    width: 100%;
}
.field_options{

    display: none;
}
.field_options p{
    
    margin: 0;
    color: #888;
}
.flow_field_wrapper {
    margin-bottom: 1em;
}
.flow_buttons .flow_button {
    display: inline-flex;
    padding: .85em 2em;
    background: #fff;
    border: 1px solid #ddd;
    border-bottom: none;
    cursor: pointer;
    margin-bottom: -1px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.flow_tools_section {
    padding: 1em;
    background: #fff;
    border: 1px solid #ddd;
}
.flow_header_spacer {
    height: 50px;
    display: block;
    padding-top: 20px;
}
.field-single input, .field-group input, .field-single textarea, .field-single select, .field-group textarea, .field-group select {
    width: 100%;
}
.flow_single_field.repeater_options {
    background: #fafafa;
    padding: 1em;
    border: 1px solid #eee;
    border-radius: 5px;
}
.flow_field_row{
    background-color: #fff;
}
.flow_header {
    position: absolute;
    left: -20px;
    padding-left: 23px;
    padding: 0 20px;
    width: calc(100% - 20px);
    background: #0b2e4c;
    color: #fff;
    display: flex;
    align-items: center;
    z-index: 9;
}
.flow_field_row.open .repeater_options .flow_field_accordion_button {
    border-bottom: 0;
    padding-bottom: 0;
}
.repeater_options .flow_field_row.open .flow_field_accordion_button {
    padding-bottom: 1em;
    border-bottom: 1px solid #eee;
}
.field-group {
    margin-top: 1em;
}
.field-group table{
    width: 100%;
    background: #fefefe;
}
.field-single{
    padding-top:1em;
    padding-bottom: 1.5em;
    border-bottom: 1px solid #eee;
    display: inline-block;
    width: 100%;
}
.field-group .field-single {
    border-bottom: none;
    padding-bottom: 1em;
}
.flow_repeater_actions{
    width:0;
}
.flow_below_repeater_buttons{
    display: block;
    text-align: right;
    margin-top: .5em;
}
.field-group .field-single .flow_label {
    font-weight: 400;
    color: #555;
}
.field-group table, .field-group th, .field-group td {
    border: 1px solid #eeeeee;
    border-collapse: collapse;
    padding: 0 1em;
}
.field-group th {
    font-weight: 400;
    text-align: left;
    padding: 0.5em 1.25em;
}
.flow_header a{
    color:#fff;
    text-decoration: none;;
}
.field-single {
    padding-top: 1em;
    padding-bottom: 1.5em;
    border-bottom: 1px solid #eee;
    
    vertical-align: top;
}
.field-single span.select2-selection.select2-selection--single {
    height: 30px;
}
.flow_header .flow_dropdown {
    position: absolute;
    background: #0b2e4c;
    margin-left: 0;
    z-index: 9;
    padding: 1em;
}

.flow_remove_row {
    color: red;
    opacity: .3;
    cursor: pointer;
    transition: all .2s ease-in-out; 
}
.flow_remove_row:hover {
    opacity: 1;
}
.flow_header .flow_dropdown li {
    display: block;
    margin-left:0;
    white-space: nowrap;    
}
.flow_header .has_flow_dropdown:hover .flow_dropdown{
    display:block;
}
.flow_header .flow_dropdown {
    position: absolute;
    background: #0b2e4c;
    margin-left: 0;
    z-index: 9;
    padding: 1em;
    padding-bottom: 0.5em;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-left: 10px solid #fff;
    box-shadow: -3px 3px 8px 0px #0000005c;
    /* margin-top: 1em; */
    display: none;
    left:0;
    top:100%;
}
.flow_field_row.open {
    box-shadow: 0 0 0px 4px #32a3d92e;
    padding-bottom:2.5em;
}
.flow_field_row.open .flow_field_accordion_button {
    padding-bottom: 1em;
    border-bottom: 1px solid #eee;
}
.flow_wrap input:not([type="checkbox"]), .flow_wrap textarea, .flow_wrap select {
    width: 100%!important;
    max-width: 100%;
    border: 1px solid #ddd!important;
}
.flow_wrap input[type="checkbox"]{
    border: 1px solid #ddd!important;

}

.flow_header li:hover {
    background: #071e32;
    border-radius: 5px;
}
.flow_header h2 {
    margin: 0;
    color: #fff;
}
.wrap_actions {
    display: block;
    padding-top: 1em;
    flex-basis:100%;
}
.flow_header ul {
    margin: 0;
    margin-left: 1em;
}
.flow_header li {
    display: inline-block;
    padding: .5em 1em;
    transition: all .2s ease-in-out; 
    position: relative;
    font-size: 1.25em;
}

.flow_card {

    flex: 1;
    padding: 1em 2em!important;
    position: relative;
    background: #fff;
    margin-top: 1em;
    border-radius: 7px;
    border: 1px solid #eee;
    box-shadow: 0 0 10px 10px #efefef;
    min-width: 620px;
    vertical-align: top;
    margin-right: 1.5em;
}
.add_new_field {
    color: #fff;
    background: #3c993c;
    /* padding: .25em; */
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    padding: 0.25em 1.5em;
    border: none;

}
.flow_header_buttons {
    position: absolute;
    right: 1em;
    top: 8px;
}
.flow-tooltip {
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translate(-50%, -15%);
    padding: 7px 12px;
    background-color: #000;
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    white-space: nowrap;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
    font-weight: 400;
    line-height: 1em;
    height:auto!important;
    width:auto!important;
  }
  .flow_row_actions span {
    position: relative;
}
  .flow-tooltip:before {
    content: "";
    height: 0px;
    width: 0px;
    border-right: solid 10px transparent;
    border-left: solid 10px transparent;
    border-top: solid 5px black;
    position: absolute;
    left: 50%;
    top: 97%;
    transform: translateX(-50%);
}
.flow_header_buttons .paste_field .dashicons {
    font-size: 1.35em;
}
.flow_header_buttons .paste_field {
    padding: 0;
    height: 35px;
    width: 35px;
    margin-left: .5em;
}
.field_details {
    margin-top: 2em;
}
.flow_title {
    background: #f3f3f3;
    padding: 0 4px;
}
.flow_row_actions {
    display: flex;
    position: absolute;
    right: 10px;
    z-index: 99;
    top: 7px;
}
.flow_field_row {
    padding: 1em;
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: .75em;
    position: relative;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    background:#fdfdfd;
}
.flow_field_row.open .show_details {
    opacity: 1;
    color: #fff;
    background: #0387e5;
}
.flow_row_actions .show_details {
    color: #0387e5;
}
.flow_field_row.open .repeater_options .show_details {
    opacity: .35;
    background: none;
    color: #0387e5;
}
.repeater_options .flow_field_row.open .show_details {
    opacity: 1;
    background: #0387e5;
    color: #fff;
}
.flow_field_accordion_button {
    position: relative;
    cursor: pointer;
    font-weight: 600;
    display: flex;
}
.flow_row_actions .duplicate_field{
    color:#5a5a5a;
}
.flow_row_actions .remove_field{
    color:red;
    font-size: 1.7em;
}
.flow_row_actions span:hover {
    opacity:1;
}
.flow_row_actions span {
    font-size: 1.2em;
    height: auto;
    opacity: .35;
    cursor: pointer;
    transition: all .2s ease-in-out;
    height: 30px;
    width: 30px;
    line-height: 30px;
    border-radius:5px;
}
/*
.flow_field_accordion_button:after {
    content: "\f347";
    font-family: dashicons;
    position: absolute;
    right: 10px;
}
.flow_field_row.open .flow_field_accordion_button:after {
    content: "\f343";
}
*/
a.flow_light_button {
    text-decoration: none;
    font-size: .7em;
    font-weight: 400;
    color: #777;
    background: #eee;
    padding: .5em 1em;
    border-radius: 5px;
    float: right;
    margin-top: -4px;
    transition: all .2s ease-in-out;
}

a.flow_light_button:hover {
    background-color: #24339f;
    color:#fff;
}
.flow_single_field {
    display: block;
    margin-top: 1em;
}
.flow_single_field label{
    display: block;
    color: #888;
}
.flow_label{
    display: block;
    font-size: .9em;
    font-weight: 500;
    margin-bottom: 0.5em;
    margin-right: auto;
}


/* Tooltip container */
.flow_tooltip {
    position: relative;
    display: inline-block;
    float: right;
    cursor: pointer;
    opacity: .15;
}
  /* Tooltip text */
  .flow_tooltip .flow_tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 115%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: .8em;
  }
  
  .flow_tooltip:hover{
    opacity: 1;
  }

  /* Show the tooltip text when you mouse over the tooltip container */
  .flow_tooltip:hover .flow_tooltiptext {
    visibility: visible;
    opacity: 1;
  }

  .flow_wrap table {
    border-radius: 10px;
    
    overflow: hidden;
    box-shadow: 0 0 1px 1px #efefef
}.flow_wrap table th {
    font-weight: 600;
    border-right: 1px solid #eee;
    background-color: #fafafa;
}
.flow_wrap table th:last-child {
    border-right: none;
}
.flow_wrap table td, .flow_wrap table th {
    padding: .9em;
    vertical-align: middle;
}

.flow-btn {
    background: #fff;
    padding: .6em 1em;
    display: inline-block;
    border-radius: 20px;
    color: #333;
    border: 1px solid #ddd;
    text-decoration: none;
    line-height: 1.7em;
    cursor: pointer;
    position: relative;

}
.flow-btn:hover {
    box-shadow: 0 0 1px 1px #0000003d;
}
.flow-btn-primary {
    background: #1a67a9;
    color: #fff;
}
.flow-btn-primary:hover{
    background: #1a67a9;
    color: #fff;
}
.flow-btn-danger:hover{
    background: #cd3232;
    color: #fff;}

.flow-btn-danger {
    background: #cd3232;
    color: #fff;
}

.flow-btn .dashicons {
    line-height: 1.15em;
}
.flow-btn-group {
    text-align: right;
}

.flow_wrap table td {
    border-bottom: 1px solid #efefef;
    border-right: 1px solid #fafafa;
}
.flow_wrap table td:last-child {
    border-right: none;
}
.flow_wrap table tr:last-child td {
    border-bottom: none;
}

.flow_card p.submit {
    border-top: 1px solid #f4f4f4!important;
    padding-top: 1em!important;
}

.flow_no_fields {
    background: #fdfdfd;
    border-radius: 15px;
    padding: 1em;
    text-align: center;
    font-size: 1.2em;
    color: #ddd;
    font-style: italic;
}
.flow-btn-success {
    background: #44b57b;
    color: #fff;
}

.flow_wrap .notice {
    position: fixed!important;
    bottom: 20px;
    right: 10px;
    border-radius: 15px;
    border-left-width: 20px;
    z-index: 999;
    margin:0;
}

.flow_right {
    margin-left: auto;
}
.flow_header .flow_right{
    display: flex;
    column-gap: .5em;
}
.flow_header .flow_right a {
    color: #0b2e4c;
}

         


           
.flow_header .flow_right .flow-support {
    background-image: linear-gradient(to right, #FF512F 0%, #DD2476  51%, #FF512F  100%);
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;            
    display: block;
    font-weight: 600;
  }

  .flow_header .flow_right .flow-support:hover {
    background-position: right center; /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
  }
 
  

  td.flow_no_boxes {
    text-align: center;
    width: 100%;
    text-align: center;
    padding: 2em!important;
}
.flow_no_boxes div {
    display: block;
    padding: 2em;
}
span.flow_no_results_msg {
    text-align: center;
    font-size: 1.5em;
    color: #bbb;
    display: block;
}

.flow_copied {
    background-color: #21b421!important;
}

.flow_separator {
    float: right;
    display: block;
    width: 1px;
    height: 15px;
    background: #e7e7e7;
    margin: 0 .5em;
    margin-top: 3px;
}
.flow_conditional_field{
    display:none;
}

.flow_prepend_options,.flow_required_options,.flow_default_value_options{
    display:none;
}
.flow_wrap .updated{
    display:none
}