body, p, a, li, td, div, label, input, textarea, select, button, h1, h2, h3, h4 {
    font-family: 'Rubik', sans-serif;
    color: #444;
}

.pure-g [class*=pure-u] {
    font-family: 'Rubik', sans-serif;
}

h1, h2, h3, h4, h5, label {
    color: #1A4668;
}

label {
    font-weight: bold;
}

label.not_bold {
    font-weight: normal;
}

em {
    color: #000;
}

a {
    color: #0B4F4C;
}

img {
    max-width: 100%;
}

code {
    background-color: #e2e2e2;
    padding-left: 0.2em;
    padding-right: 0.2em;
    border-radius: 0.2em;
}

li {
    margin-bottom: 0.7em;
}

video {
    max-width: 100%;
    border: 1px solid #ddd;
}

blockquote {
    border-left: 4px solid #E2CFEA;
    padding: 0.5em 0.5em 0.5em 1em;
    margin-block-start: 0;
    margin-inline-end: 0;
    margin-inline-start: 0;
    background-color: #f5f5f5;
}

blockquote p {
    margin-block-start: 0;
    margin-block-end: 0;
    margin-bottom: 0;
    margin-top: 0;
    margin-inline-end: 0;
    margin-inline-start: 0;
}

.logo {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    padding-right: 1em;
    max-height: 50px;
}

.logo-text {
    padding-bottom: 0.5em;
}

#page-container {
    position: relative;
    height: 100vh;
}

#header {
    padding-top: 1em;
    background-color: #6247AA;
}

#header h1 {
    color: #fff;
}

#header a {
    text-decoration: none;
}

.mimic {
    background-color: #FFC107;
    padding: 0.25em;
    text-align: center;
}

#main-menu {
    display: block;
}

#main-menu ul.pure-menu-list {
    float: right;
}

#menu_link {
    position: absolute;
    right: 1em;
    top: 1em;
    display: none;
    color: #fff;
}

.pure-menu-link {
    color: #fff;
}

.pure-menu-link:hover {
    background-color: #e2cfea;
    color: #6247aa;
}

#body {
    padding: 0.5em;
}

#footer {
    text-align: center;
    background-color: #ddd;
    padding: 1em 0 1em 0;
}

#footer a {
    color: #444;
}

h2 .pure-button {
    float: right;
    font-size: 0.66em;
    font-weight: normal;
    color: #444;
}

.linked_services .callout {
    min-height: 15.5em;
}

.dashboard_tile {
    border: 0.5em solid #fff;
    background-color: #E2CFEA;
    padding: 0.5em;
    text-align: center;
}

.dashboard_tile p i {
    color: #6247AA;
    font-size: 2.5em;
}

.sequence_list {
    overflow: auto;
    max-height: 300px;
    padding-right: 0.5em;
}

.sequence_list::-webkit-scrollbar {
  width: 7px;
}
.sequence_list::-webkit-scrollbar-track {
  background: #fff;
}
.sequence_list::-webkit-scrollbar-thumb {
  background-color: #6247AA;
  border-radius: 20px;
  border: 3px solid #6247AA;
}

.scrollable {
    overflow: auto;
    max-height: 100px;
    height: 100px;
    padding-right: 0.5em;
    z-index: 9999999;
}

.scrollable::-webkit-scrollbar {
  width: 7px;
}
.scrollable::-webkit-scrollbar-track {
  background: #fff;
}
.scrollable::-webkit-scrollbar-thumb {
  background-color: #6247AA;
  border-radius: 20px;
  border: 3px solid #6247AA;
}

.pure-g div {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.centred-form {
    margin: auto;
    max-width: 13.5em;
    border: 1px solid #ddd;
    border-radius: 0.2em;
    padding: 1em 2em 1em 2em;
    box-shadow: 0 0 0.5em #ddd;
}

.step, .sequence {

    border: 1px solid #ddd;
    padding: 0.5em;
    border-radius: 0.2em;
    margin-top: 0.5em;
    margin-bottom: 0.1em;
}

.step_list {
    list-style: none;
    padding-left: 0.7em;
}

.step_list_first {
    padding-left: 0;
}

.step_list li {
    border: 1px solid #ddd;
    padding: 0.5em;
    border-radius: 0.2em;
    margin-top: 0.5em;
    margin-bottom: 0.1em;
}

.step_list li i.step_icon {
    color: #E2CFEA;
    width: 1em;
}

.step-type-selector li i {
    color: #6247AA;
}


.add_step {
    text-align: center;
}

.add_step a {
    text-decoration: none;
}

.edit_step_form {
    padding-top: 0.5em;
}

.step_button, .sequence_button {
    padding-left: 0.5em;
    text-decoration: none;
    color: #999;
}

.sequence_button {
    float: right;
}

.step_actions_button {
    position: relative;
    float: right;
    text-align: right;
}

.step_actions {
    display: none;
    position: absolute;
    top:-0.5em;
    right: 0;
    width: 12em;
    background-color: #fff;
    text-align: right;
    padding-right: 1em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

div.step_actions_button:hover > div.step_actions {
    display: block;
}

ul.step_list li.if_else_end, ul.step_list li.if_else_end .step_actions,
ul.step_list ul.step_list ul.step_list li.if_else_end, ul.step_list ul.step_list ul.step_list li.if_else_end .step_actions,
ul.step_list ul.step_list ul.step_list ul.step_list ul.step_list li.if_else_end, ul.step_list ul.step_list ul.step_list ul.step_list ul.step_list li.if_else_end .step_actions {
    background-color: #f3eff5;
}

ul.step_list ul.step_list li.if_else_end, ul.step_list ul.step_list li.if_else_end .step_actions,
ul.step_list ul.step_list ul.step_list ul.step_list li.if_else_end, ul.step_list ul.step_list ul.step_list ul.step_list li.if_else_end .step_actions,
ul.step_list ul.step_list ul.step_list ul.step_list ul.step_list ul.step_list li.if_else_end, ul.step_list ul.step_list ul.step_list ul.step_list ul.step_list ul.step_list li.if_else_end .step_actions  {
    background-color: #E2CFEA;
}

ul.step_list ul.step_list li.if_else_end i, ul.step_list ul.step_list li.if_else_end i,
ul.step_list ul.step_list ul.step_list ul.step_list li.if_else_end i, ul.step_list ul.step_list ul.step_list ul.step_list li.if_else_end i,
ul.step_list ul.step_list ul.step_list ul.step_list ul.step_list ul.step_list li.if_else_end i, ul.step_list ul.step_list ul.step_list ul.step_list ul.step_list ul.step_list li.if_else_end i  {
    color: #fff;
}

.step-type-selector {
    list-style: none;
    padding: 0;
}

.step-type-selector li {
    float: left;
    border: none;
    padding: 0.5em;
    width: 10.5%;
    height: 2em;
    background-color: #ddd;
    margin-right: 2%;
}

.step-type-selector li.selected {
    background-color: #E2CFEA;
}

.step-type-selector li a {
    display: block;
    text-align: center;
    color: #1A4668;
    font-size: 1.5em;
}

.step-selector {
    padding: 0;
    list-style: none;
}

.step-selector li {
    border: none;
    margin: 0.2em 0 0.2em 0;
    background-color: #ddd;
}

.step-selector li.selected {
    background-color: #E2CFEA;
}

.step-selector li a {
    text-decoration: none;
    display: block;
    color: #444;
}

.error input, .error select, input.error, select.error, .pure-form input[type=password].error, .pure-form input[type=email].error, .pure-form input[type=text].error, .pure-form select.error, .pure-form textarea.error {
    border: 1px solid #f00;
}

.error label {
    color: #f00;
}

.form_error, #form_errors, .form_error li {
    color: #f00;
}

.form_confirm {
    color: #20a500;
}

.pure-control-group {
    padding-bottom: 0.5em;
}

#show_password {
    position: absolute;
    top: 0.5em;
    left: calc(25% - 2em);
    color: #797979;
}

.pure-button {
    background-color: #E2CFEA;
}

.pure-button-primary, a.pure-button-primary {
    background-color: #B23DED;
    color: #fff;
}

.fa-toggle-on {
    color: #7DCE82;
}

.fa-toggle-off {
    color: #444;
}

.sequence_description {
    padding-top: 0.2em;
    font-size: 0.8em;
    color: #777;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}

input[type="checkbox"], input[type="radio"] {
    width: 1em;
}

.confirmation_message {
    background-color: #d8eacf;
    padding: 1.3em;
    border-radius: 0.5em;
    margin-bottom: 0.5em;
}

.shaded-dark {
    background-color: #6247AA;
    color: #fff;
    padding: 1.3em;
}

.shaded-light {
    background-color: #E2CFEA;
    padding: 1.3em;
}

.main-callout {
     color: #6247AA;
     font-size: 2.5em;
     font-weight: bold;
     text-align: center;
     padding: 1em;
}

.callout {
    border: 0.5em solid #fff;
    background-color: #E2CFEA;
    padding: 1.3em;
    text-align: center;
}

.callout p i {
    color: #6247AA;
    font-size: 4em;
}

.callout .pure-button i {
    font-size: 1em;
    color: #fff;
}

.callout img {
    height: 4em;
}

.info_box {
    background-color: #E2CFEA;
    padding: 1.3em;
    border-radius: 0.5em;
    margin-top: 1em;
    margin-bottom: 1em;
}

.help_info {
    background-color: #E2CFEA;
    padding: 1.3em;
    padding-left: 4.5em;
    border-radius: 0.5em;
    margin-bottom: 0.5em;

    background-image: url('/images/logo.png');
    background-size: 3em;
    background-repeat: no-repeat;
    background-position: 0.5em 0.5em;

}

.alert_info {
	background-color: #ffeb3b;
    padding: 1.3em;
    border-radius: 0.5em;
    margin-top: 1em;
    margin-bottom: 1em;
}


.sequence_log_description {
    line-height: 1.8em;
    padding-left: 1em;
}

#step_help_link {
    position: relative;
    top: -3em;
    float: right;
}

.ui-autocomplete {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
  }

#main_menu {
    padding-bottom: 0.5em;
}

#main_menu ul {
    float:right;
}

#main_menu ul li {
    display: inline-block;
}

.register {
    background-color: #B23DED;
}

.sequence_log_filter {
    overflow: auto;
    max-height: 100px;
    padding-right: 0.5em;
    margin-right: 0.5em;
}
.sequence_log_filter::-webkit-scrollbar {
  width: 7px;
}
.sequence_log_filter::-webkit-scrollbar-track {
  background: #fff;
}
.sequence_log_filter::-webkit-scrollbar-thumb {
  background-color: #6247AA;
  border-radius: 20px;
  border: 3px solid #6247AA;
}
.sequence_log_filter label {
    font-weight: normal;
    color: inherit;
}

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  color: #E2CFEA;
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  background-color: #444;
  color: #fff;
  text-align: center;
  padding: 0.5em;
  border-radius: 0.5em;
  font-weight: normal;
  font-size: 0.8em;

  width: 150px;
  position: absolute;
  z-index: 1;
}

.tooltip a {
    color: #fff;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
}

#settings_map {
    height: 250px;
    z-index: 0;
}

.pure-form-stacked .pure-horizontal-group input, .pure-form-stacked .pure-horizontal-group textarea, .pure-form-stacked .pure-horizontal-group select, .pure-form-stacked .pure-horizontal-group label {
    display: inline-block;
    position: relative;
}

#variable_5_value {
    width: 3em;
    text-align: center;
}

/* help styles */
#help_question {
    background-color: #E2CFEA;
    padding: 1em;
    border-radius: 1em;
}

.help_tile_menu_wrapper {
    margin-top: 2em;
}

#help_question input {
    width: calc(100% - 3em);
}

.horizontal_ad {
    margin-top: 2em;
    margin-bottom: 1em;
}

.question_wrapper, .reply, .qa_search_question {
    border: 1px solid #ddd;
    padding: 0.75em;
    padding-top: 0em;
    border-radius: 0.2em;
}

.question_deleted {
    background-color: #c7c7c7;
}

.question_pending_approval {
    background-color: #ffebb0;
}

.qa_search_question {
    margin-top: 1em;
    padding-top: 0.75em;
}

.reply {
    padding: 0 1em 0.5em 1em;
    position: relative;
    margin-bottom: 1em;
}

.post_footer {
    padding: 0.5em;
}

.question_author {
    font-size: 0.8em;
    color: #949494;
}

.question_votes {
    position: absolute;
    bottom: 1em;
    right: 1em;
}

.question_votes a {
    text-decoration: none;
}

.question_tags {
    color: #6247AA;
    margin-top: 1em;
}

.question_tags a {
    color: #6247AA;
    text-decoration: underline;
    display: inline-block;
    border-radius: 0.5em;
    padding: 0.5em;
    background-color: #E2CFEA;
    color: #6247AA;
}

.answer {
    border: 2px solid #E2CFEA;
}

.question {
    font-size: 1.25em;
}

.question a {
    text-decoration: none;
}

.question a:hover {
    text-decoration: underline;
}

.question i {
    color: #E2CFEA;
}

.search_result_description {
    padding-top: 0.5em;
}

input.full_width {
    width: 100%;
}

/* news styles */

.news_article_summary h1 a {
    text-decoration: none;
}

.article_date {
    font-size: 0.8em;
    color: #949494;
    margin-top: -1.2em;
    margin-bottom: 1em;
}

.article_content {
    line-height: 1.5em;
    margin-bottom: 5em;
}

.article_content img {
    border: 1px solid #ddd;
}

/* chat styles */
#chat_header {
    color: #6247AA;
    font-size: 0.8em;
}

#chat_bubble {
    width: 60px;
    height: 60px;
    border-radius: 30px;
    background-image: url('/images/logo.png');
    background-repeat: no-repeat;
    background-size: 60px 60px;
    border: none;
    box-shadow: 0 0 7px #444;
    position: fixed;
    bottom: 16px;
    right: 16px;
    cursor: pointer;
}

#chat_bubble.new_chat_message {
    box-shadow: 0 0 7px 5px #6247AA;
}

#chat_frame {
    width: 300px;
    height: 550px;
    box-shadow: 0 0 7px #444;
    background-color: #fff;
    border-radius: 1em;
    padding: 1em 0.5em 0.5em 0.5em;
    position: fixed;
    bottom: 92px;
    right: 16px;
    display: none;
    line-height: normal;
}

@media (max-height: 658px) {
    #chat_frame {
        height: calc(100% - 92px - 1em);
    }
}

#chat_wrapper {
    width: 100%;
    height: calc(100% - 2.5em);
    z-index: 999999;
}

#chat_wrapper #user_info {
    font-size: 0.9em;
}

#conversation_history {
    width: 100%;
    height: calc(100% - 3em);
    overflow: auto;

}

#conversation_history::-webkit-scrollbar {
  width: 7px;
}
#conversation_history::-webkit-scrollbar-track {
  background: #fff;
}
#conversation_history::-webkit-scrollbar-thumb {
  background-color: #6247AA;
  border-radius: 20px;
  border: 3px solid #6247AA;
}

#conversation_history img {
    max-width: 100%;
}

.self_chat, .bot_chat, .derek_chat {
    border-radius: 0.5em;
    margin: 0.25em;
    padding: 0.5em;
    clear: both;
}

.self_chat {
    text-align: right;
    background-color: #f3f3f3;
    float: right;
}

.bot_chat {
    background-color: #E2CFEA;
    float: left;
    padding-left: 35px;
    background-image: url('/images/logo.png');
    background-repeat: no-repeat;
    background-position: 5px 5px;
    background-size: 25px 25px;
}

.derek_chat {
    background-color: #e6e6e6;
    float: left;
    padding-left: 35px;
    background-image: url('/images/derek.png');
    background-repeat: no-repeat;
    background-position: 5px 5px;
    background-size: 25px 25px;
}

.self_chat img, .bot_chat img, .derek_chat img {
    max-height: 200px;
}

#chat_text {
    padding: 0.5em;
    margin: 0.25em 0 0.25em 0.25em;
    background-color: #f3f3f3;
    border-radius: 0.25em;
    border: none;
    width: calc(100% - 1.5em - 1.6em);
}

#chat_text:focus {
    outline-color: #E2CFEA;
}

#chat_form button {
    background-color: #B23DED;
    border-radius: 1.25em;
    border: none;
    color: #fff;
    padding: 0.5em 0 0.5em 0;
    width: 2em;
    font-size: 0.8em;
}

#other_buttons {
    display: none;
}

#image_upload {
    display: none;
}

#progress_wrp {
  border: 1px solid #0099CC;
  padding: 1px;
  position: relative;
  height: 30px;
  border-radius: 3px;
  margin: 10px;
  text-align: left;
  background: #fff;
  box-shadow: inset 1px 3px 6px rgba(0, 0, 0, 0.12);
  display: none;
}

#progress_wrp .progress-bar {
  height: 100%;
  border-radius: 3px;
  background-color: #f39ac7;
  width: 0;
  box-shadow: inset 1px 1px 10px rgba(0, 0, 0, 0.11);
}

#progress_wrp .status {
  top: 3px;
  left: 50%;
  position: absolute;
  display: inline-block;
  color: #000000;
}

.status_icon {
    text-align: center;
}

.status_icon .fa-check-circle {
    color: #14b71a;
}

.status_icon .fa-times-circle {
    color: #da0000;
}

.status_icon .fa-exclamation-circle {
    color: #ffd500;
}

@media (max-width: 568px) {
    .logo {
        margin-left: 0.5em;
        max-height: 36px;
    }

    .logo-text {
        max-width: 200px;
    }

    #menu_link {
        display: block;
    }

    #main_menu {
        display: none;
        padding-bottom: none;
    }

    #main_menu ul.pure-menu-list {
        float: none;
        text-align: center;
    }

    .callout {
        margin-bottom: 1em;
    }
}

@media (max-width: 400px) {
    input {
        width: 100%;
    }
}


@media screen and (min-width:18.75em){.pure-u-xs-1,.pure-u-xs-1-1,.pure-u-xs-1-12,.pure-u-xs-1-2,.pure-u-xs-1-24,.pure-u-xs-1-3,.pure-u-xs-1-4,.pure-u-xs-1-5,.pure-u-xs-1-6,.pure-u-xs-1-8,.pure-u-xs-10-24,.pure-u-xs-11-12,.pure-u-xs-11-24,.pure-u-xs-12-24,.pure-u-xs-13-24,.pure-u-xs-14-24,.pure-u-xs-15-24,.pure-u-xs-16-24,.pure-u-xs-17-24,.pure-u-xs-18-24,.pure-u-xs-19-24,.pure-u-xs-2-24,.pure-u-xs-2-3,.pure-u-xs-2-5,.pure-u-xs-20-24,.pure-u-xs-21-24,.pure-u-xs-22-24,.pure-u-xs-23-24,.pure-u-xs-24-24,.pure-u-xs-3-24,.pure-u-xs-3-4,.pure-u-xs-3-5,.pure-u-xs-3-8,.pure-u-xs-4-24,.pure-u-xs-4-5,.pure-u-xs-5-12,.pure-u-xs-5-24,.pure-u-xs-5-5,.pure-u-xs-5-6,.pure-u-xs-5-8,.pure-u-xs-6-24,.pure-u-xs-7-12,.pure-u-xs-7-24,.pure-u-xs-7-8,.pure-u-xs-8-24,.pure-u-xs-9-24{display:inline-block;zoom:1;letter-spacing:normal;word-spacing:normal;vertical-align:top;text-rendering:auto}.pure-u-xs-1-24{width:4.1667%}.pure-u-xs-1-12,.pure-u-xs-2-24{width:8.3333%}.pure-u-xs-1-8,.pure-u-xs-3-24{width:12.5%}.pure-u-xs-1-6,.pure-u-xs-4-24{width:16.6667%}.pure-u-xs-1-5{width:20%}.pure-u-xs-5-24{width:20.8333%}.pure-u-xs-1-4,.pure-u-xs-6-24{width:25%}.pure-u-xs-7-24{width:29.1667%}.pure-u-xs-1-3,.pure-u-xs-8-24{width:33.3333%}.pure-u-xs-3-8,.pure-u-xs-9-24{width:37.5%}.pure-u-xs-2-5{width:40%}.pure-u-xs-10-24,.pure-u-xs-5-12{width:41.6667%}.pure-u-xs-11-24{width:45.8333%}.pure-u-xs-1-2,.pure-u-xs-12-24{width:50%}.pure-u-xs-13-24{width:54.1667%}.pure-u-xs-14-24,.pure-u-xs-7-12{width:58.3333%}.pure-u-xs-3-5{width:60%}.pure-u-xs-15-24,.pure-u-xs-5-8{width:62.5%}.pure-u-xs-16-24,.pure-u-xs-2-3{width:66.6667%}.pure-u-xs-17-24{width:70.8333%}.pure-u-xs-18-24,.pure-u-xs-3-4{width:75%}.pure-u-xs-19-24{width:79.1667%}.pure-u-xs-4-5{width:80%}.pure-u-xs-20-24,.pure-u-xs-5-6{width:83.3333%}.pure-u-xs-21-24,.pure-u-xs-7-8{width:87.5%}.pure-u-xs-11-12,.pure-u-xs-22-24{width:91.6667%}.pure-u-xs-23-24{width:95.8333%}.pure-u-xs-1,.pure-u-xs-1-1,.pure-u-xs-24-24,.pure-u-xs-5-5{width:100%}}

#alert {
    background-color: #ffeb3b;
    margin: -0.5em;
    padding: 1em;
}
