/* FLOW GENERIC CSS*/

.flow-step {
    /*margin: 10px;*/
}

.flow-step > .widget-footer {
    display: inherit;
    float: none;
}

.flow-step .vote-row {
    margin: 0px 10px;
    display: block;
    height: 40px;
}

.flow-container {
    margin: 18px 13px 18px 15px;
}

.flow-top-btn {
    opacity: 0.7;
    transition: opacity 0.2s;
}

.flow-top-btn:hover {
    opacity: 1;
}

.flow-top-btn a:hover {
    text-decoration: none;
}

.flow-sub {
    color: #999;
    font-size: 19px;
    font-weight: 300;
}

.flow_step_link {
    background-color: #f6f6f6;
}

.flow_step_link div.wave-dots {
    display: inline-block;
    position: absolute;
    margin: 4px 0px 0px 8px;
    line-height: 0.8;
}

.flow_step_link div.wave-dots > .dot {
    width: 6px;
    height: 6px;
    /*background-color: #ddd;*/
}

.flow_step_breadcrumbs li {
    display: inline;
    list-style-type: none;
    color: #bbb;
    font-size: 17px;
}

.flow_step_breadcrumbs li + li::before {
    content: ">";
    margin: 0 5px 0 3px;
}

/* Flow themes: default */
.flow_thm_def {
    background-color: #f9f9f9;
}

.flow_thm_def .flow-header {
    width: 100%;
    display: table;
    padding-left: 12px;
}

.flow_thm_def .flow-block {
    margin: 22px 10px;
}

.flow_thm_def .flow-group {
    /*border: solid 1px #f0f0f0;*/
    margin: 6px 0px;
}

.flow_thm_def .bot-message {
    background-color: #78ccad;
    color: #0f3c2b;
    padding: 16px;
}

.flow_thm_def .flow-el > .paragraph {
    margin: 0;
    padding: 13px 20px;
}

.flow_thm_def .flow-el > .paragraph {
    background-color: #cdcdcd;
    color: #2d2d2d;
}

.flow_thm_def .flow-el > .bot-message span {
    background-color: #78ccad;
}

.flow_thm_def .flow-el > textarea {
    height: 90px;
    margin: 0;
    padding: 13px 20px;
}

.flow_thm_def .flow-el:first-child,
.flow_thm_def .flow-el:first-child > :first-child {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.flow_thm_def .flow-el:last-child,
.flow_thm_def .flow-el:last-child > :last-child,
.flow_thm_def .flow-el:last-child > ul > li:last-child {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.flow_thm_def .flow-el.form-el-header > .paragraph {
    background-color: #dcdcdc;
    color: #2d2d2d;
}

.flow_thm_def .flow-el a.read_more_link, .flow_thm_def .flow-el a.read_less_link {
    font-size: 80% !important;
}

.flow_thm_def .flow-el > h3 {
    padding: 0px 18px;
    margin: 16px 0px 0px 0px;
}

.flow_thm_def .flow-el.first-element :first-child {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

/*.flow_thm_def .flow-el.first-element :last-child {*/
/*border-top-left-radius: 16px;*/
/*border-top-right-radius: 16px;*/
/*}*/

.flow_thm_def header {
    font-size: 18px;
}

.flow_thm_def .flow-answer {
    padding: 4px 16px 4px 16px;
    color: #444;
}

.flow_thm_def ul.flow {
    padding: 0;
    margin: 0;
}

.flow_thm_def ul.flow > li {
    text-align: center;
    padding: 12px;
    list-style-type: none;
    text-align: center;
    /*letter-spacing: 1px;*/
    color: #666;
    transition: background-color 0.3s;
}

.flow_thm_def ul.flow > li.link_button {
    transition: filter 0.3s !important;
}

.flow_thm_def ul.flow li.link_button i {
    color: #fff !important;
}

.flow_thm_def ul.flow > li.selected:not(.link_button) {
    color: #000;
    background: #e7e7e7;
    border: solid 1px #e2e2e2 !important;
}

.flow_thm_def ul.flow > li.selected.btn-cta {
    color: #fff;
}

.flow_thm_def ul.flow > li:not(:last-child) {
    border-bottom: solid 1px #f0f0f0;
}

.flow_thm_def ul.flow > li:hover {
    background-color: #e2e2e2;
    color: #000;
    cursor: pointer;
}

.flow_thm_def ul.flow > li:active {
    background-color: #e3e3e3;
}

.flow_thm_def label {
    display: inline;
    font-weight: 400;
}

.flow_thm_def .flow-close-btn {
    /*font-size: 120%;*/
    padding-right: 8px;
}

.flow_thm_def .flow-close-btn i {
    color: #fff;
    opacity: 0.8;
}

.flow_thm_def .flow-close-btn i:hover {
    opacity: 1;
}

/* FLOW bubbles */
.flow_thm_def .msg-container.visitor .messages {
    margin: 0;
    padding: 16px;
    background-color: #0084FF;
    color: #fff;
}

.flow_thm_def .img-circle {
    width:24px;
    height:24px;
}

.flow_thm_def .msg-container {
    padding: 0;
    overflow: hidden;
    display: flex;
}

.flow_thm_def .messages {
    background: white;
    /*padding: 15px 11px 15px 9px;*/
    border-radius: 16px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.17);
    max-width: 100%;
    word-break: break-word;
}

.flow_thm_def time {
    float: right;
    font-size: 11px;
    color: #999;
}

.flow_thm_def .messages > p {
    font-size: 14px;
    margin: 0 0 0.2rem 0;
}

.flow_thm_def .msg_sent > time {
    float: right;
}

.flow_thm_def .messages > time {
    font-size: 11px;
    color: #ccc;
}

.flow_thm_def .img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

.flow_thm_def .avatar img {
    width: 90%;
    margin: 0px 8px 0px 8px;
    border-radius: 100%;
}

.flow_thm_def .avatar.left img {
    display: none;
    margin: 0px 0px 0px -1px;
}

.flow_thm_def .avatar.right img {
    margin: 0px 8px 0px 8px;
}

.flow_thm_def .chat_sub {
    font-size: 12px;
    color: #555;
    font-style: italic;
}

/* FLOW form */

.flow_thm_def .form-control {
    border: 0;
    /*border-bottom: solid 1px #ddd;*/
    height: 48px;
    background-color: transparent;
}

.flow_thm_def .form-control:not(:first-child) {
    /*border-top: solid 1px #ddd;*/
}

.flow_thm_def :not(.first-element) > .form-control {
    border-top: solid 1px #ddd;
}

.flow_thm_def input[type="text"].form-control, .flow_thm_def textarea.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    text-align: center;
    height: 50px;
    transition: background-color .22s;
    font-weight: 400;
}

.flow_thm_def input[type="text"].form-control:focus, .flow_thm_def textarea.form-control:focus {
    background-color: #f7f7f7;
    outline: none;
}

.flow_thm_def textarea.form-control {
    height: 90px;
}

.flow_thm_def select.form-control {
    text-indent: 5px;
}

.flow_thm_def input[type="radio"].form-control, .flow_thm_def input[type="checkbox"].form-control {
    display: inline-block;
    width: initial;
    height: initial;
    margin: 14px 23px;
}

.flow_thm_def input.last-element {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.flow_thm_def input[type="submit"], .flow_thm_def .link_button {
    color: #fff !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: filter 0.3s;
}

.flow_thm_def li.btn-cta {
    color: #fff !important;
}

.flow_thm_def li.btn-cta:hover {
    color: #fff !important;
}

.flow_thm_def input[type="submit"]:hover, .flow_thm_def li.link_button:hover {
    -webkit-filter: brightness(85%) !important;
    filter: brightness(85%) !important;
    cursor: pointer;
}

.flow_thm_def input[type="submit"]:active {
    -webkit-filter: brightness(86%);
    filter: brightness(86%);
}

.flow_thm_def .flow-field-invalid {
    display: block;
    color: red;
    font-size: 80%;
    text-align: center;
}

.flow_thm_def .flow-step-link-err {
    color: #f00;
    font-size: 11px;
    opacity: 0.8;
}

.flow_thm_def .flow-step .tt-menu {
    position: relative !important;
}

/* HELPCENTER SPECIFIC OVERRIDING CSS*/

.flow_thm_def {
    background-color: inherit;
}

.flow_thm_def time {
    display: none;
}

.flow_thm_def input[name="submit"] {
    height: 54px;
}

.btn-container {
    display: none;
}

.form-control {
    font-size: 16px;
}

div.wave-dots {
    position: relative;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    animation: fadeIn 0.2s;
}
div.wave-dots > .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0px;
    background: #ccc;
    animation: wavedots 1.1s ease-in-out infinite;
}
div.wave-dots > .dot:nth-child(2) {
    animation-delay: -0.9s;
}
div.wave-dots > .dot:nth-child(3) {
    animation-delay: -0.7s;
}

.flow_step_link div.wave-dots {
    display: inline-block;
    position: absolute;
    margin: 4px 0px 0px 8px;
    line-height: 0.8;
}

.flow_step_link div.wave-dots > .dot {
    width: 6px;
    height: 6px;
    /*background-color: #ddd;*/
}

input::-webkit-input-placeholder {
    color: #999;
}
input:focus::-webkit-input-placeholder {
    color: #777;
}
/* Firefox < 19 */
input:-moz-placeholder {
    color: #999;
}
input:focus:-moz-placeholder {
    color: #777;
}
/* Firefox > 19 */
input::-moz-placeholder {
    color: #777;
}
input:focus::-moz-placeholder {
    color: #333;
}

/* Internet Explorer 10 */
input:-ms-input-placeholder {
    color: #999;
}
input:focus:-ms-input-placeholder {
    color: #777;
}

@keyframes wavedots {
    0%, 60%, 100% {
        transform: initial;
    }
    30% {
        transform: translateY(-18px);
    }
}

/* browser compatibility fixes */
@-webkit-keyframes fadeIn {
    0% { opacity:0; }
    100% { opacity:1; }
}

@-moz-keyframes fadeIn {
    0% { opacity:0; }
    100% { opacity:1; }
}

@-o-keyframes fadeIn {
    0% { opacity:0; }
    100% { opacity:1; }
}

@keyframes fadeIn {
    0% { opacity:0; }
    100% { opacity:1; }
}

/* FLOW LINK TMPL support */
@media only screen
and (min-width: 480px) {

    .flow_thm_def ul.flow.list-tmpl-blocks {
        margin: 26px 10px;
    }

    .flow_thm_def ul.flow.list-tmpl-blocks li {
        width: 210px;
        height: 160px;
        float: left;
        margin: 6px;
        padding: 8px;
        border-radius: 20px;
    }

    .flow_thm_def ul.flow.list-tmpl-blocks li .flow-link-icon-container {
        margin: 20px 10px 10px 10px;
        height: 30px;
    }

    .flow_thm_def ul.flow.list-tmpl-blocks li .flow-link-icon-container .fa {
        font-size: 26px;
    }
}