:root {
    --clr-cv-opt-primary: #517f51;
    --clr-cv-opt-secondary: #357197;
    --clr-cv-opt-tertiary: #707070;
    /* --clr-cv-opt-tertiary: #777777; */

    --fs-cv-opt-primary: 1.6rem;
}

body {
    /*background-image: url("../img/ford_mustang_muscle_car-wide.jpg");*/
    background-size: cover;
    background-repeat: no-repeat;
}

.logo {
 	padding: 12px;
}
.ui-autocomplete-loading {
	background:white url('../img/spinner.gif') right center no-repeat;
}
.datefield {position: relative; z-index: 1059;}

.datefield.form-control.fixed {
    position: initial;
    z-index: 1050;
}

.ui-autocomplete {
    z-index: 99999;
}

.calculated_package_premium{
    /* font-size: 1.8em */
}

.right {
    float:right
}

.table-active {
    /*background: gray !important;*/
}

.clickable-row {
    cursor: pointer;
}

.popover-title {
    color: black;
}

.popover-content {
    color: black;
}

.errorfield{
    background-color: rgba(211, 85, 95, 0.3);
}

.label-white {
    color: black;
    border: 1px dotted gray
}

.toggle-lp_single{
    color: #517f51;
    font-weight: bold;
}

.toggle-lp_familly{
    color: #195f92;
    font-weight: bold;
}

.toggle-tpl{
    /* color: #517f51; */
    color: var(--clr-cv-opt-tertiary);
    font-weight: bold;
}

.classic-coverage-panel{
    background-color: #C03B3D;
    border: none;
    box-shadow: 0px 0px 10px #aaaaaa;
    color: #ffffff;
    border-radius: 5px;
    font: x-large;
}

.toggle-comprehensive-1{
    /* color: #195f92; */
    color: var(--clr-cv-opt-tertiary);
    font-weight: bold;
}

.toggle-comprehensive-2{
    /* color: #78673f; */
    color: var(--clr-cv-opt-tertiary);
    font-weight: bold;
}

.toggle-comprehensive-3{
    /* color: #a2542e; */
    color: var(--clr-cv-opt-tertiary);
    font-weight: bold;
}

.toggle-unavailable{
    color: #777;
    font-weight: bold;
}

.optional-coverage-highlighted{
    color: rgb(81, 127, 81);
}

.optional-coverage-red{
    color: #CC3300
}

.menu-header-margin {
    margin-left: 10px;
}
/*
.coverage-inactive {
    background-color: lightgray;
    color: gray;
}

.coverage-inactive h3 {
    font-size: 20px;
    color:gray;
}

.coverage-inactive ul li {
    background-color: lightgray;
}
*/

.left-margin {
    margin-left: 20px;
}

.small-label {
    font-size: 8pt;
}

.small-control {
    width: 100px;
    font-size: 6pt !important;
    display: initial;
}

.filter-group {
    float: left;
    height: 40px;
}

.worst-policies-td {
    padding: 11px 10px 11px 8px !important;
}

.modal-estimated-mileage {
    display: flex; 
    justify-content: center; 
    justify-items: center;
}

.modal-estimated-mileage-payd {
    display: flex; 
    justify-content: flex-start; 
    justify-items: center;
    padding-left: 40px;
}

.renewal-premium,
.renewal-premium-two-vehicles {
    border: solid 1.5px var(--clr-cv-opt-primary);
    border-radius: 3px;
    padding: 5px  10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 15px;
    box-shadow: 0 0 4px var(--clr-cv-opt-primary);
}

.renewal-premium-two-vehicles {
    max-width: 245px;
}

.renewal-premium-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.renewal-premium-title {
    font-size: 15px;
    color:#517f51;
}

.renewal-premium-amount {
    font-size: 19px;
    color: #517f51;
}

.renewal-premium-chf {
    font-size: 15px;
    color: #517f51;
}

.no-contract {
    border: solid 1px #eb0f29;
    border-radius: 3px;
    padding: 2px 8px;
    color: #eb0f29;
    margin: 7px 0 7px 10px;
    flex: 2;
}

.renewal-premium-btn {
    border: solid 1px #517f51;
    border-radius: 3px;
    padding: 2px 8px;
    color: #517f51;
    margin: 7px 0 7px 10px;
    flex: 2;
}

.renewal-premium-btn-activated {
    border: solid 1px #517f51;
    background-color: #517f51;
    border-radius: 3px;
    padding: 2px 8px;
    color: #ffffff !important;
    margin: 7px 0 7px 10px;
    flex: 2;
}

.renewal-premium-btn-activated:hover {
    border: solid 1px #195f92;
    text-decoration: none;
    color: #195f92;
}

.renewal-premium-btn:hover {
    border: solid 1px #195f92;
    text-decoration: none;
    color: #195f92;
}

/* overwrite styles */
/* coverage options */
.panel.comprehensive-1,
.panel.comprehensive-2,
.panel.comprehensive-3,
.panel.comprehensive-4 {
    border: none;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, .42);
}

.panel.comprehensive-1:hover,
.panel.comprehensive-2:hover,
.panel.comprehensive-3:hover,
.panel.comprehensive-4:hover {
    -webkit-box-shadow: 0 6px 9px 0 rgba(0, 0, 0, .22);
    box-shadow: 0 6px 9px 0 rgba(0, 0, 0, 0.22);
}

.panel.comprehensive-1 .panel-heading,
.panel.comprehensive-2 .panel-heading,
.panel.comprehensive-3 .panel-heading,
.panel.comprehensive-4 .panel-heading {
    border-color: var(--clr-cv-opt-primary);
    background: var(--clr-cv-opt-primary);
    text-shadow: none;
}

.panel.comprehensive-1 .calculated-package-premium,
.panel.comprehensive-2 .calculated-package-premium,
.panel.comprehensive-3 .calculated-package-premium,
.panel.comprehensive-4 .calculated-package-premium {
    text-shadow: none;
}

.panel.comprehensive-1 .btn:focus,
.panel.comprehensive-2 .btn:focus,
.panel.comprehensive-3 .btn:focus,
.panel.comprehensive-4 .btn:focus,
.panel.comprehensive-1 .btn,
.panel.comprehensive-2 .btn,
.panel.comprehensive-3 .btn,
.panel.comprehensive-4 .btn {
    font-weight: bold;
    letter-spacing: normal;
    text-transform: uppercase;
    font-size: var(--fs-cv-opt-primary);
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.2);
    background-color: var(--clr-cv-opt-primary);

    border: none;
    background-image: none;
    background-repeat: none;
    text-shadow: none;
}

.panel-body-accept  {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.panel-body-accept-btn {
    width: 65%;
    height: 40px;
    margin-bottom: 10px;
}

.panel.comprehensive-1 .btn:hover,
.panel.comprehensive-2 .btn:hover,
.panel.comprehensive-3 .btn:hover,
.panel.comprehensive-4 .btn:hover {
    background-color: var(--clr-cv-opt-primary);
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2);

    border: none;
    background-image: none;
    background-repeat: none;
    text-shadow: none;
}

.coverage-inactive a,
.panel-info a,
.panel-body-accept-pdf,
.panel.comprehensive-1 a,
.panel.comprehensive-2 a,
.panel.comprehensive-3 a,
.panel.comprehensive-4 a {
    color: var(--clr-cv-opt-tertiary);
}

.panel.comprehensive-1 .badge,
.panel.comprehensive-2 .badge,
.panel.comprehensive-3 .badge,
.panel.comprehensive-4 .badge {
    background-color: var(--clr-cv-opt-tertiary);
}

.panel.comprehensive-1 .list-group-item,
.panel.comprehensive-2 .list-group-item,
.panel.comprehensive-3 .list-group-item,
.panel.comprehensive-4 .list-group-item {
    border-color: var(--clr-cv-opt-tertiary);
}

.cv-opt-title-h5 {
    color: var(--clr-cv-opt-tertiary);
    font-weight: bold;
}

.panel-body-accept-pdf {
    color: var(--clr-cv-opt-tertiary);
    font-size: 1.5rem;
}

.panel-info > .panel-heading {
    color: #fff;
    background-color: var(--clr-cv-opt-secondary);

    border: none;
    background-image: none;
    background-repeat: none;
    text-shadow: none;
}

.alert-accepted {
    font-size: 1.6rem;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: .8px;
    color: var(--clr-cv-opt-tertiary);
    background-color: #ccc;

    background-image: none;
    background-repeat: none;
    border: none;
}

.btn-accept {
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.2);
    background-color: var(--clr-cv-opt-secondary);
    margin: 0 0 10px 0;

    border: none;
    background-image: none;
    background-repeat: none;
    text-shadow: none;
}

.btn-accept:active,
.btn-accept:hover {
    color: #fff;
    background-color: var(--clr-cv-opt-secondary);
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2);

    border: none;
    background-image: none;
    background-repeat: none;
    text-shadow: none;
}

.panel-info {
    border: none;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, .42);
}

.panel-info:hover {
    -webkit-box-shadow: 0 6px 9px 0 rgba(0, 0, 0, .22);
    box-shadow: 0 6px 9px 0 rgba(0, 0, 0, 0.22);
}

.panel-body-accept-btn > span {
    vertical-align: middle;
}

.panel-body-accept-btn .glyphicon {
    margin-left: 3px;
}

.panel-title-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.calculated-package-premium {
    font-size: 3rem;
    font-weight: bold;
}

.package-premium {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    flex-wrap: wrap;
}

.package-premium span {
    margin-left: 5px;
}

.package-premium-item {
    margin-bottom: 3px;
}

/* ToDo Tasks Styles */
.table-btns-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.actions-btns-group {
    display: flex;
}

.btn-all-todos {
    margin-right: 15px;
}

.btn-create-todo {
    margin: 0;
}

.btn-search {
    margin: 25px 0 15px 0;
}

.table-todos {
    overflow-x: visible;
}

.todo-text {
    min-width: 200px;
    max-width: 400px;
}

.todo-text a {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

#view_claim .user-data {
    margin-left: 10px;
} 

/* toggle switch */
.label-switch{
    text-align: right;
}

.md-margin-top {
    margin-top: 1.0rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 30px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
  
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}
  
.slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width:24px;
    left: 3px;
    bottom: 3px;
    background-color: #f9f9fa;
    -webkit-transition: .4s;
    transition: .4s;
}
  
input:checked + .slider {
    background-color: #195f92;
}
  
input:focus + .slider {
    box-shadow: 0 0 1px #195f92;
}
  
input:checked + .slider:before {
    -webkit-transform: translateX(15px);
    -ms-transform: translateX(15px);
    transform: translateX(15px);
}

.slider.round {
    border-radius: 34px;
}
  
.slider.round:before {
    border-radius: 50%;
}

.label-text-wrap {
    word-break: break-word; 
    max-width: 160px; 
    white-space: normal;
 }
 
.label-text {
    text-align: left;
}

/* view_loss_nottification */
#view_loss_notification .col-md-12 {
    margin-bottom: 10px;
}

#view_loss_notification span {
    font-weight: bold;
}

#view_loss_notification h2 span {
    font-weight: normal;
}

#overlay {
    display: none;
}

.overlay {
    position: fixed;
    background-color: rgba(0, 0, 0, .4);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
}

/* Loader */
.loader-ring {   
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
    width: 80px;
    height: 80px;
}

.loader-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #fff;
    border-radius: 50%;
    animation: loader-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #fff transparent transparent transparent;
}

.loader-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.loader-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.loader-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes loader-ring {
    0% {
      transform: rotate(0deg);
    }

    100% {
      transform: rotate(360deg);
    }
}

/* Spinner */
.loader {
    border: 5px solid #357197;
    border-radius: 50%;
    border-top: 5px solid #e6e6e6;
    border-right: 5px solid #e6e6e6;
    width: 50px;
    height: 50px;
    -webkit-animation: spin .6s linear infinite;
    animation: spin .6s linear infinite;
}

.claim-table-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Vue screen styles */
[v-cloak] {
    display: none;
}

.border-v {
    border: 1px solid #ccc;
}

.sidebar {
    border-left: 1px solid #ccc;
}

.sidebar-el {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #ccc;
}

.btn-primary-v,
.btn-primary-v:focus {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary-v:hover,
.btn-primary-v:active {
    color: #fff;
    background-color: #0b5ed7;
    border-color: #0b5ed7;
}

.btn-secondary-v,
.btn-secondary-v:focus {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-secondary-v:hover,
.btn-secondary-v:active {
    color: #fff;
    background-color: #5c636a;
    border-color: #5c636a;
}

.btn-success-v,
.btn-success-v:focus {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success-v:hover,
.btn-success-v:active{
    color: #fff;
    background-color: #218838;
    border-color: #218838;
}

.btn-danger-v,
.btn-danger-v:focus {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger-v:hover,
.btn-danger-v:active {
    color: #fff;
    background-color: #bb2d3b;
    border-color: #bb2d3b;
}

.btn-warning-v,
.btn-warning-v:focus {
    color: #000;
    background-color: #ffc107;
    border-color: #ffc107;
}

.btn-warning-v:hover,
.btn-warning-v:active {
    color: #000;
    background-color: #ffca2c;
    border-color: #ffca2c;
}

.btn-info-v,
.btn-info-v:focus {
    color: #000;
    background-color: #0dcaf0;
    border-color: #0dcaf0;
}

.btn-info-v:hover,
.btn-info-v:active {
    color: #000;
    background-color: #31d2f2;
    border-color: #31d2f2;
}

.btn-default-v {
    color: #000;
    background-color: #efefef;
}

.btn-default-v:hover,
.btn-default-v:active {
    background-color: #e0e0e0;
}

.comment-list {
    padding: 10px;
    border-radius: 4px;
}

.comment-item {
    margin: 15px 0;
    padding: 15px 10px 0 10px;
    border-top: 1px solid #ccc;
    list-style: none;
    font-size: medium;
}
.comment-item-gray {
    margin: 15px 0;
    padding: 15px 10px 0 10px;
    border-top: 1px solid #ccc;
    list-style: none;
    color: lightgray;
    font-size: small;
}


.icon-remove {
    color: #dc3545;
    margin-left: 5px;
}

.icon-remove:hover {
    color: #bb2d3b;
    text-decoration: none;
}

.status-wrapper {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
}

.status-wrapper a {
    text-transform: uppercase;
}

.flex-space-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#cover_verification .col-md-12 {
    margin-bottom: 20px;
}

.error-field {
    border: solid 1px #d72828;
}

.alert-area {
    color: #d72828;
    border: solid 1px #d72828;
    border-radius: 5px;
    text-align: center;
    padding: 10px;
    margin: 25px 15px;
}

#credit_card_payment_info {
    border: solid 1px #195f92;
    border-radius: 5px;
    padding-bottom: 15px;
    margin: 0 auto 20px auto;
    width: 100%;
}

#credit_card_payment_info span,
#credit_card_payment_info label {
    font-weight: bold;
    text-transform: uppercase;
}

/* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media screen and (max-width: 992px) {
    .sidebar {
        border-left: none;
    }
}

@media screen and (max-width: 768px) {
    .table-todos>.table>tbody>tr>td {
        white-space: normal;
    }

    #credit_card_payment_info {
        margin: 0 15px 20px 15px;
        width: auto;
    }
}

@media screen and (max-width: 576px) {
    .table-btns-group {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .table-btns-group :nth-child(1) { order: 2; }
    .table-btns-group :nth-child(2) { order: 1; }

    .todos-actions {
        width: 100%;
    }

    .actions-btn,
    .btn-all-todos,
    .btn-create-todo {
        width: 50%;
    }

    .btn-all-todos {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .actions-btns-group {
        width: 100%;
        margin-bottom: 20px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    #navbar-main .dropdown-menu > li > a {
        color: white !important;
    }

    #navbar-main .menu-header-margin {
        color: white;
    }

    .actions-btns-group :nth-child(1) { order: 1; }
    .actions-btns-group :nth-child(2) { order: 2; }
}

@media screen and (max-width: 478px) {
    .actions-btn,
    .btn-all-todos,
    .btn-create-todo {
        width: 100%;
    }
}
