﻿html {
    font-size: 16px;
    line-height: 1em;
}

.webtocase_conf .ed-modal-content {
    max-width: 575px;
}

.webtocase_conf_content {
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    font-family: "Open Sans",Verdana,Geneva,sans-serif !important;
}

.webtocase_conf .webcase-form .modal-body > p.p-2.small.lh-sm,
.webtocase_conf .webcase-form .botcheck {
    color: #000;
}

.webtocase_conf .webcase-form .modal-body > p.p-2.small.lh-sm a,
.webtocase_conf .webcase-form .modal-body > p.p-2.small.lh-sm a:link,
.webtocase_conf .webcase-form .modal-body > p.p-2.small.lh-sm a:visited,
.webtocase_conf .webcase-form .modal-body > p.p-2.small.lh-sm a:hover,
.webtocase_conf .webcase-form .modal-body > p.p-2.small.lh-sm a:focus,
.webtocase_conf .webcase-form .modal-body > p.p-2.small.lh-sm a:active,
.webtocase_conf .webcase-form .botcheck a,
.webtocase_conf .webcase-form .botcheck a:link,
.webtocase_conf .webcase-form .botcheck a:visited,
.webtocase_conf .webcase-form .botcheck a:hover,
.webtocase_conf .webcase-form .botcheck a:focus,
.webtocase_conf .webcase-form .botcheck a:active {
    color: #0743ea;
    text-decoration: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 2px;
}

.container-webcase-form .modal-title {
    padding: 0 2px;
}

.container-webcase-form .btn-close {
    background-size: .6em;
}

.webcase-form .form-control {
    border-radius: 4px !important; /* Need this because there are some global !important styles that keep changing this*/
}

.webcase-form .required-indicator {
    display: inline;
    margin-left: 0.15rem;
}

.webtocase_conf .webcase-form .form-control,
.webtocase_conf .webcase-form .form-select:not(.webcase-native-select-hidden) {
    border-color: #626b73;
}

.webcase-form select.webcase-native-select-hidden {
    border: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    opacity: 0;
    padding: 0 !important;
    position: absolute;
    width: 0 !important;
}

.webcase-custom-select {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    max-width: 100%;
}

.webcase-custom-select * {
    box-sizing: border-box;
}

.webcase-custom-select-trigger {
    align-items: center;
    background-color: #fff;
    border: 1px solid #626b73;
    border-radius: 0.25rem;
    color: #212529;
    display: flex;
    font-family: "Open Sans",Verdana,Geneva,sans-serif;
    font-size: 1rem;
    justify-content: space-between;
    line-height: 1.5;
    min-height: 38px;
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
    position: relative;
    text-align: left;
    width: 100%;
    border-radius: 0.25rem !important;
}

.webcase-custom-select-trigger:after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: 16px 12px;
    content: "";
    height: 12px;
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
}

.webtocase_conf .webcase-form .form-control:focus,
.webtocase_conf .webcase-form .form-select:not(.webcase-native-select-hidden):focus,
.webtocase_conf .webcase-form .webcase-custom-select-trigger:focus,
.webtocase_conf .webcase-form .webcase-form-submit-button:focus {
    border-color: #084298;
    box-shadow: none;
    outline: 2px solid #084298;
    outline-offset: 2px;
}

.webcase-custom-select-trigger-text,
.webcase-custom-select-option {
    overflow-wrap: anywhere;
    white-space: normal;
}

.webcase-custom-select-trigger-text {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.webcase-custom-select-menu {
    background-color: #fff;
    border: 1px solid #ced4da;
    box-sizing: border-box;
    left: 0;
    list-style: none;
    margin: 2px 0 0;
    max-height: 220px;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 !important;
    position: absolute;
    right: 0;
    width: 100%;
    z-index: 1000001;
}

.webcase-custom-select-menu[hidden] {
    display: none;
}

.webcase-custom-select-option {
    color: #212529;
    cursor: pointer;
    font-family: "Open Sans",Verdana,Geneva,sans-serif;
    font-size: 1rem;
    line-height: 1.35;
    padding: 3px 8px;
    text-align: left;
}

.webcase-custom-select-option.is-active {
    background-color: #1967D2;
    color: #fff;
}

.webcase-custom-select-option:focus {
    outline: 0;
}

.webcase-custom-select.is-disabled .webcase-custom-select-trigger {
    background-color: #e9ecef;
    color: #6c757d;
    cursor: default;
}

.webcase-form.was-validated select.webcase-native-select-hidden:invalid + .webcase-custom-select .webcase-custom-select-trigger {
    border-color: #dc3545;
}

.webcase-form .invalid-feedback-ex-mark {
    width: 20px;
    margin-top: -5px;
    border: 0;
}

.webcase-form ::-webkit-resizer {
    display: none;
}

/* Override default bootstrap behavior for form field validation */
/* Disable default check or error ('x') shown by bootstrap with the form field, when a form field validation succeeds or fails */
.webcase-form .form-control:valid,
.webcase-form .form-control:invalid {
    background-image: none;
}

.webcase-form.was-validated .form-select:invalid:not([multiple]):not([size]),
.webcase-form.was-validated .form-select:invalid:not([multiple])[size="1"],
.webcase-form.was-validated .form-select:valid:not([multiple]):not([size]),
.webcase-form.was-validated .form-select:valid:not([multiple])[size="1"] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

.ed-hide {
    display: none !important;
}

.ed-show-block, .ed-show {
    display: block !important;
}

.ed-show-inline-block {
    display: inline-block !important;
}

.modal-open {
    overflow: hidden;
}

.modal-scroll-buffer {
    padding-right: 0px !important;
}

.ed-modal {
    z-index: 3;
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: rgba(0,0,0,0.4);
    padding-top: 0;
}

.ed-modal-content {
    margin: 1.75rem auto;
    background-color: #fff;
    position: relative;
    padding: 0;
    outline: 0;
    width: 600px;
}

.ed-closebtn {
    text-decoration: none;
    float: right;
    font-size: 24px;
    font-weight: bold;
    color: inherit;
}

    .ed-closebtn:hover, .ed-closebtn:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

.inline-display .btn-close{
    display: none;
}

@media (max-width:600px) {
    .ed-modal-content {
        width: auto !important;
    }
}

@media (max-width:768px) {
    .ed-modal {
        scrollbar-gutter: stable;
    }

    .ed-modal-content {
        width: auto !important;
        margin: 1rem;
    }

    .modal-scroll-buffer .ed-modal-content {
        margin-left: 1rem;
        margin-right: 1rem;
    }
}

@media (min-width:993px) {
    .ed-modal-content {
        width: 900px;
    }
}

@media screen and (max-width:600px) {
    .ed-topnav a {
        display: block;
    }

    .ed-navbar li:not(.ed-opennav) {
        float: none;
        width: 100% !important;
    }

    .ed-navbar li.ed-right {
        float: none !important;
    }
}

@media screen and (max-width:600px) {
    .ed-topnav .ed-dropdown-hover .ed-dropdown-content, .ed-navbar .ed-dropdown-click .ed-dropdown-content, .ed-navbar .ed-dropdown-hover .ed-dropdown-content {
        position: relative;
    }
}

@media screen and (max-width:600px) {
    .ed-topnav, .ed-navbar {
        text-align: center;
    }
}

@media (max-width:600px) {
    .ed-hide-small {
        display: none !important;
    }
}

@media (max-width:992px) and (min-width:601px) {
    .ed-hide-medium {
        display: none !important;
    }
}

@media (min-width:993px) {
    .ed-hide-large {
        display: none !important;
    }
}

@media screen and (max-width:992px) {
    .ed-sidenav.ed-collapse {
        display: none;
    }

    .ed-main {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media screen and (min-width:992px) {
    .ed-sidenav.ed-collapse {
        display: block !important;
    }
}

.webtocase_conf .sbox2 {
    height: auto;
}

.webtocase_conf img, .webtocase_conf svg {
    vertical-align: middle;
}

.ed-animate-zoom {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s;
}

@-webkit-keyframes animatezoom {
    from {
        -webkit-transform: scale(0);
    }

    to {
        -webkit-transform: scale(1);
    }
}

@keyframes animatezoom {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.ed-animate-input {
    -webkit-transition: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;
}

    .ed-animate-input:focus {
        width: 100% !important;
    }

.ed-card-8 {
    -webkit-box-shadow: 2px 2px 5px 0px rgba(143,143,143,1);
    -moz-box-shadow: 2px 2px 5px 0px rgba(143,143,143,1);
    box-shadow: 2px 2px 5px 0px rgba(143,143,143,1) !important;
}

.ed-round-large {
    border-radius: 8px !important;
}

.webtocase_conf select.select-readonly {
    background-color: #e9ecef;
    opacity: 1;
}

.webtocase_conf .btn-primary {
    background-image: none;
}

.webtocase_conf .webcase-product-title {
    font-weight: bold;
    font-size: 1.3em;
    display: block;
}

.ucWebCaseModal {
    text-align: left;
}

.webcase-thankyou .modal-body,
.webcase-errormessage .modal-body {
    word-break: break-word;
    overflow-wrap: break-word;
}
