/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.kvantas-calculator-wrapper .alert {
    display: block;
    width: 100%;
    padding: 1rem;
    margin-bottom: 30px;
    border-radius: 5px;
    border: 1px solid #a3cfbb;
    background-color: #d1e7dd;
    color: #0a3622;
}

.kvantas-calculator-wrapper .alert-error {
    border: 1px solid #f1aeb5;
    background-color: #f8d7da;
    color: #58151c;
}

#kvantasCalculator, #kvantasCalculator p, #kvantasCalculator span {
    font-family: "DM Sans", Arial, Helvetica, sans-serif;
}

#kvantasCalculator .form-group {
    margin-top: 5px;
    margin-bottom: 15px;
}

#kvantasCalculator .elements-wrapper .heading-wrapper {
    margin-top: 40px;
    font-size: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(17,24,39,0.1);
    margin-bottom: 15px;
}

#kvantasCalculator .elements-wrapper h4 {
    margin-bottom: 5px;
    color: #242424;
    font-size: 20px;
}

#kvantasCalculator .elements-wrapper p {
    font-size: 14px;
    margin: 0;
    color: #777777;
}
#kvantasCalculator .elements-wrapper .control-label {
    height: 45px;
    display: table-cell;
    vertical-align: bottom;
    padding-bottom: 5px;
    line-height: 20px;
}

#kvantasCalculator label {
    color: #242424;
    font-size: 14px;
}

#kvantasCalculator .elements-wrapper em.error {
    color: #ef4255;
    padding: 3px 0;
    display: block;
    position: absolute;
    font-size: 14px;
}

.no-m-t {
    margin-top: 0px !important;
}

.total-wrapper {
    background-color: rgba(38,47,106,0.8);
    border-radius: 20px;
    padding: 30px 15px;
    color: #fff;
    position: sticky;
    top: 100px;
}

.total-wrapper h3 {
    color: #fff;
}

.total-wrapper .input-group {
    text-align: right;
}

.total-wrapper ul {
    list-style: none;
    padding: 0;
}

.total-wrapper ul li {
    border-bottom: 1px solid rgba(17, 24, 39, 0.1);
}

.price-wrapper {
    font-size: 17px;
    margin-bottom: 30px;
}

.total-wrapper ul li p {
    font-size: 14px;
    margin: 0;
    padding-bottom: 3px;
}

.hide {
    display: none !important;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-size: 14px;
    color: #242424;
}

/* Hide the browser's default checkbox */
.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.checkbox-container input:checked ~ .checkmark {
    background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkbox-container .checkmark:after {
    left: 7px;
    top: 4px;
    width: 7px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.kvantas-tooltip {
    position: relative;
}

/* Tooltip text */
.kvantas-tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-align: center;
    padding: 5px 2px;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    margin-left: -70px;
    font-size: 14px;
}

/* Show the tooltip text when you mouse over the tooltip container */
.kvantas-tooltip:hover .tooltiptext {
    visibility: visible;
}

.question-icon {
    display: inline-block;
    vertical-align: middle;
    background-image: url('../images/question.svg');
    width: 18px;
    height: 18px;
}

.question-icon.white {
    background-image: url('../images/question-wh.svg');
    margin-left: 2px;
}

.js-calculator-services li p {
    display: inline-block;
}