/*
Essential Grid Flow Templates
 */
#flow-templates-ess-grid .flow-platform-logo{
    max-height: 40px;
}

#flow-templates-ess-grid .flow-template-status-grid i{
    margin-right: 5px;
}

.flow-status-available{
    color: #1ac31a;
}

.flow-status-in_progress{
    color: #1b1bd8;
}

.flow-status-draft{
    color: grey;
}

.flow-status-coming_soon,
.flow-status-gathering_interest,
.flow-status-on_hold{
    color: var(--ast-global-color-1);
}

.flow-notify-me {
    color: #ff005c;
}

.flow-cta-link.flow-notify-me {
    float: right;
}

.flow-template-status-grid {
    font-size: 12px;
}

.flow-template-status-grid .flow-notify-me{
    margin-left: 15px;
    cursor: pointer;
}

.flow-notify-me i {
    margin-right: 5px;
}

/*
Flow template detail page
 */
/*hide page header on flow template detail pages*/
.single-flow-template .entry-header{
    display: none;
}

#flow-title {
    margin-top: 15px;
}

#flow-description {
    margin-top: 50px;
}

.flow-tag {
    background-color: #ccc;
    padding: 5px 15px;
    border-radius: 10px;
}

#flow-meta .flow-status,
#flow-meta .flow-notify-me{
    margin-left: 30px;
}

.flow-tag,
#flow-meta .flow-status,
#flow-meta .flow-notify-me{
    font-size: 0.9em;
    text-transform: lowercase;
}

#flow-meta i{
    margin-right: 5px;
}

#flow-description-cta {
    font-size: 0.8em;
    background-color: #f1f1f1;
    padding: 25px 15px;
    border-radius: 20px;
}

/*Flow Steps and Cards*/
#flow-steps{
    margin-top: 100px;
}

.flow-step {
    max-width: 500px;
    margin: 0 auto 35px;
    position: relative;
}

.flow-step::before,
.flow-step::after {
    content: "";
    position: absolute;
    left: 50%;
    border-left: 3px solid var(--ast-global-color-2); /* Adjust color and thickness here */
    width: 0;
    z-index: 1;
}

.flow-step::before,
.flow-step::after{
    height: 75px;
}

.flow-step::before {
    bottom: 100%;
}

.flow-step::after {
    top: 100%;
}

.flow-step:first-child::before,
.flow-step:last-child::after {
    display: none;
}

.flow-step-above,
.flow-step-below{
    color: var(--ast-global-color-3);
    font-size: 0.8em;
    font-weight: 700;
}

.flow-step-below{
    text-align: right;
}

.flow-step-below i {
    color: var(--ast-global-color-2);
}

.flow-step-below i,
.flow-step-footer i{
    margin-right: 3px;
}

.flow-step-card {
    padding: 20px 0 20px;
    border-radius: 10px;
    border: 1px solid #d7d5d2;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1);
    z-index: 2; /* higher z-index */
    position: relative; /* add this to make z-index work */
    background-color: #FFF;
}

.flow-step-card.customisations-card {
    margin-bottom: 35px;
    box-shadow: none;
    padding-bottom: 0;
    width: 48%;
    float: left;
    margin: 1%;
}

.flow-step-card.one-third-card{
    width: 31%;
    margin: 1%;
}

.flow-step-card.customisations-card:hover {
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1);
}

.flow-step-graphic {
    width: 20%;
    display: inline-block;
    font-size: 35px;
    color: var(--ast-global-color-1);
    vertical-align: middle;
    text-align: center;
}

.flow-customisations-platform-logo {
    max-width: 40px;
}

.customisations-card .flow-step-graphic {
    width: 15%;
    margin-left: 5%;
}

.flow-step-image{
    max-width: 60px;
}

.flow-step-content {
    display: inline-block;
    vertical-align: middle;
    width: 75%;
}

.customisations-card .flow-step-content {
    width: 75%;
    padding-left: 5px;
}

.flow-step-content p{
    margin-bottom: 15px;
    font-size: 0.85em;
    line-height: 1.5;
}

.flow-step-footer {
    width: 100%;
    background-color: var(--sln-grey-color-3);
    margin-bottom: 0;
    border-radius: 0 0 10px 10px;
    margin-top: 20px;
    padding: 5px 10px;
    font-size: 0.8em;
    text-align: right;
}

.customisations-card .flow-step-footer{
    font-size: 0.7em;
    padding: 2px 10px
}

/* CTA*/
.flow-cta-button {
    margin: 0 auto;
    display: table;
}

a.flow-cta-button,
a.flow-cta-button:hover{
    text-decoration: none;
}

.flow-cta-link {
    float: right;
    font-size: 0.8em;
}

/*Videos*/
#flow-videos,
#flow-customisations{
    margin-top: 150px;
    display: grid;
}

.flow-video {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.flow-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#flow-customisations-tabs {
    width: 100%;
    margin: 35px auto 0;
}

#flow-customisations-tabs > ul {
    display: flex;
    justify-content: space-around;
    list-style-type: none;
    padding: 0;
}

#flow-customisations-tabs > ul > li {
    padding: 10px;
    flex-grow: 1;
    text-align: center;
    margin-right: 10px;
}

#flow-customisations-tabs > ul > li:last-child {
    margin-right: 0;
}

#flow-customisations-tabs > ul > li > a {
    text-decoration: none;
    color: var(--ast-global-color-0);
    display: block;
    padding: 10px 0;
    background-color: var(--sln-grey-color-3);
    border-radius: 50px;
}

#flow-customisations-tabs > ul > li > a:hover,
#flow-customisations-tabs > ul > li.ui-tabs-active > a {
    color: var(--sln-white-color);
    background-color: var(--ast-global-color-0);
}

/*Flow Notify Me Form*/
.flow-notify-me{
    cursor: pointer;
}

#sln_flow_register_interest_template_name{
    font-weight: bold;
}

#sln_flow_register_interest_form input[type=email] {
    width: 75%;
    padding: 10px;
    margin-right: 15px;
    border-radius: 5px;
    border: 1px solid #d7d5d2;
    background-color: #ededed;
}

#sln_flow_register_interest_form button[type=submit]{
    font-size: 1em;
}

#sln_flow_register_interest_form #formResponse {
    margin-top: 25px;
}

#sln_flow_register_interest_form #formResponse .success i{
    margin-right: 5px;
}

#sln_flow_register_interest_form #formResponse .success{
    color: green;
}

#sln_flow_register_interest_form #formResponse .error{
    color: red;
}

/* media query for 1200px and less*/
@media screen and (max-width: 1200px){
    .flow-step-card.one-third-card {
        width: 48%;
    }
}

@media screen and (max-width: 768px){
    .flow-step-card.customisations-card,
    .flow-step-card.one-third-card {
        width: 99%;
    }
}