body {
    margin: 0;
}

#main-content {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

#content {
    overflow: scroll;
}

#oncor_watermark {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.4;
    /* Firefox, Chrome, Safari, Opera, IE >= 9 (preview) */
    filter: alpha(opacity=40);
    /* for <= IE 8 */
    z-index: -1;
}

form label {
    display: -webkit-inline-box;
    width: 80pt;
    height: 80pt;
    background-color: #00BAF0;
    border-radius: 8px;
    position: relative;
}

#upload_icon {
    width: 35pt;
    height: 40pt;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.errorText {
    position: relative;
    text-align: center;
    color: #006699;
    /* margin: 10px; */
    min-height: 15px;
    margin-left: 13px !important;
}

form {
    margin: 0 auto;
    padding: 20px;
    font-family: "LatoRegular";
}

form ol {
    padding-left: 0;
    margin-top: 12px;
    margin-bottom: 10px;
}

form li,
div>p {
    background: #EFEFEF;
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    margin-bottom: 10px;
    padding: 5px;
    list-style-type: none;
}

form .img_box {
    width: 50%;
    height: 15vh;
    order: 1;
}

form .onc_logo{
    margin-left: 13px !important;
}

form img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

form .close {
    position: absolute;
    right: 25px;
    height: 20px;
    width: 20px;
    padding: 5px;
}

form p {
    font-size: .9em;
    min-height: 20px;
    padding: 5px;
    line-height: 20px;
    padding-left: 10px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #5F5F5F;
}

form span {
    white-space: nowrap;
    width: 50%;
}

form button {
    font-family: "LatoRegular";
    background-color: #00BDF4;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 1em;
    height: auto;
    margin-top: 15px !important;
}

form button:disabled {
    background-color: #D0D0D0;
    color: #fff;
}

.centered {
    display: block;
    margin: auto;
}


/* LOADING INDICATOR */
.overlay {
    background-color: rgba(0, 0, 0, 0.3);
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    margin-left: -25px;
    border-radius: 50%;
    border-top: 2px solid #07d;
    border-right: 2px solid transparent;
    animation: spinner 1s linear infinite;
}

.clear {
    clear: both;
    margin: 5px;
}

/* CHATBOT DEFAULT RULES */
.cui__audio {
    margin: -6px -12px;
    padding: 6px 12px;
    overflow: hidden
}

.cui__audio__progress {
    transition: width .15s linear;
    position: absolute;
    background: #ccc;
    bottom: -9px;
    border: none;
    width: 0%;
    height: 2px;
    left: 0
}

.cui__audio__btn {
    margin-right: 6px;
    font-family: inherit;
    position: relative;
    font-size: inherit;
    padding-left: 24px;
    background: none;
    cursor: pointer;
    border: none
}

.cui__audio__btn svg {
    position: absolute;
    width: 16px;
    height: 16px;
    left: 2px;
    top: 4px
}

.cui__audio__btn svg path {
    fill: #fff
}

.cui__audio__btn:before {
    transition: background .15s ease-in-out;
    background: rgba(0, 0, 0, 0.24);
    border-radius: 100%;
    position: absolute;
    content: '';
    width: 18px;
    height: 18px;
    left: 0;
    top: 4px
}

.cui__audio__btn:hover:before {
    background: rgba(0, 0, 0, 0.54)
}

.cui__card {
    text-decoration: none;
    border-radius: 3px;
    color: rgba(0, 0, 0, 0.54);
    position: relative;
    line-height: 1.5em;
    font-size: 0.75em;
    background: none;
    display: block
}

.cui__card span {
    display: block
}

.cui__card img {
    display: block;
    margin: 4px 0px;
    max-width: 100%
}

.cui__embed {
    transition: none;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    max-width: 80vw;
    width: 720px;
    height: 0
}

.cui__embed:before {
    content: ''
}

.cui__embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}

@keyframes font-fade {
    50% {
        color: transparent
    }

    100% {
        color: "inherit"
    }
}

@keyframes loading {
    0% {
        left: 12px
    }

    33.3331% {
        left: 12px
    }

    33.3333% {
        left: 17px
    }

    66.6661% {
        left: 17px
    }

    66.6666% {
        left: 21px
    }

    99.99% {
        left: 21px
    }

    100% {
        left: 12px
    }
}

@keyframes item-fade {
    0% {
        opacity: 0
    }

    80% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}

.cui {
    position: relative;
    margin: 0
}

.cui,
.cui * {
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
    outline: none
}

.cui a {
    text-decoration: none
}

.cui .cui__list__item--new {
    position: relative
}

.cui .cui__list__item--new .cui__avatar {
    transform: scale(1);
    opacity: 1
}

.cui .cui__list__item--new .cui__list__item__author {
    opacity: 1
}

.cui .cui__list__item--new .cui__bubble {
    animation: item-fade 0.8s ease-in-out
}

.cui--avatarEnabled .cui__bubble {
    margin: 0 0 1em 0px
}

.cui__avatar {
    transition: all .35s ease-in-out;
    transform: scale(0.8);
    border-radius: 100%;
    position: absolute;
    height: 34px;
    z-index: 99;
    width: 34px;
    opacity: 0;
    top: 42px;
    left: 0
}

.cui .cui__list__item__author {
    transition: all .55s ease-in-out 1.545s;
    margin: 16px 0 6px 28px;
    padding-left: 10px;
    font-size: .85em;
    font-family: "LatoRegular";
    display: block;
    /*color: #888;*/
    color: #960A3A;
    opacity: 0
}

.cui .cui__list__item__author:empty {
    display: none
}

.cui__bubble {
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.2);
    transform: translate3d(-96px, 0, 0);
    /*background: #fff;*/
    background-color: #EFEFEF;
    transition: transform 0.85s cubic-bezier(0.68, 0.01, 0.245, 1.13) 0.35s, color 0.3s ease-in-out 0.25s, min-width 0.35s ease-in-out, min-height 0.35s ease-in-out;
    display: inline-block;
    line-height: 1.45em;
    border-radius: 10px;
    margin: 0 0 1em 0;
    text-align: left;
    position: relative;
    padding: 6px 12px;
    font-size: 16px;
    font-family: "LatoRegular";
    border: none;
    max-width: 90%;
    min-width: 44px;
    min-height: 12px;
    color: #006699;
}

.cui__bubble--response {
    transform: translate3d(0, 0, 0);
    transition: transform 0.5s cubic-bezier(0.68, 0.01, 0.245, 1.13) 0s;
    background: #00BAF0;
    float: right;
    color: #000;
}

.cui__bubble--fade,
.cui__bubble--fade:before {
    animation: font-fade .75s ease-in-out
}

.cui__bubble--slideIn {
    transform: translate3d(0, 0, 0)
}

.cui__bubble span {
    display: block
}

.cui__bubble--typing>* {
    display: none !important
}

.cui__bubble--typing:before {
    content: '...';
    color: #000
}

.cui__bubble--typing:after {
    animation: loading 1s infinite;
    color: rgba(255, 255, 255, 0.5);
    content: '.';
    position: absolute;
    left: 0px
}

.cui__list {
    list-style: none;
    padding: 0;
    margin: 0 0 148px 0
}

.cui__list__item {
    padding: 0 1.5em;
    margin: 0;
    overflow: hidden
}

.cui__responses {
    /*text-align: center;*/
    position: fixed;
    padding: 6px;
    bottom: 0px;
    left: 0;
    right: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.cui__responses .cui__bubble {
    margin: 12px 6px;
    cursor: pointer;
    float: none;
    text-align: center;
}

.cui__responses>div {
    width: 30vw;
    ;
}

.cui__responses>div:nth-child(2) {
    border: 1px solid #00BAF0;
    background-color: transparent;
    color: #006699;
}

.cui__answers__placeholder:before {
    content: 'Type and hit RETURN...';
    display: inline-block;
    opacity: 0.5
}

.cui .cui__list__item__image {
    transition: all .35s ease-in-out;
    margin: 16px 0 6px 0px;
    /*height: 34px;
    z-index: 99;
    width: 34px;
    opacity: 0;
    top: 42px;
    left: 0
    padding-left: 10px;*/
    display: block;
}

.cui .cui__list__item__author:image {
    display: none
}

.cui__bubble--leftIn:after {
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    border-left: 5px solid transparent;
    border-right: 15px solid #EFEFEF;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    left: -20px;
    bottom: 10px;

}

.cui__list__item .cui__bubble--response:after {
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    border-left: 15px solid #00BAF0;
    border-right: 5px solid transparent;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    right: -18px;
    bottom: 10px;
}

.hide {
    display: none;
}

header {
    font-family: "LatoRegular";
    background-color: #004F67;
}

.center {
    text-align: center;
    width: 100vw;
    height: 15vh;
    line-height: 15vh;
    position: relative;
}

.center img {
    height: 12vh;
    vertical-align: middle;
}

form .cui__list__item__image {
    width: 30px;
}

@media only screen and (min-device-width: 768px) {
    .cui__bubble {
        font-size: 18px;
    }

    /* form button {
        padding: 20px 25px;
    } */
    form .img_box {
        height: 20vh;
    }

    .cui__responses>div {
        width: 15vw;
    }
}