﻿/* grpVehicleEnter */
#grpVehicleEnter {
    background-color: #f1f1f1;
    padding-bottom: 20px;
    margin-top: -14px;
    margin-bottom: -10px;
}

.vehicle-wrapper h2 {
    background-color: #f1f1f1;
    border-bottom: 2px solid #e6e6e6;
    margin-bottom: 0;
    padding-bottom: 20px;
    text-align: center;
}

.vehicle-wrapper h3 {
    text-align: center;
    margin-bottom: 0;
    margin-top: 0;
    padding: 20px 25px;
    border-top: 2px solid #e6e6e6;
}

.vehicle-wrapper h3.ddYear {
    border-top: 0;
}

.vehicle-wrapper .list-group-container {
    margin-bottom: 40px;
}
.list-group-container {
    background-color: #fff;
    border: 2px solid #e6e6e6;
    border-radius: 10px;
    padding: 5px 15px 5px 5px;
}

/* list group */
.list-group {
    height: 255px;
    max-height: 255px;
    margin-bottom: 0;
    overflow-y: auto;
    border-right: none;
    background-color: #fff;
}

/* list group error*/
.vehicle-wrapper div.error,
#frmVehCoverage div.error,
#frmCoverage1 div.error,
#frmCoverage2 div.error,
#InsuranceAddlQuestions div.error,
#ddDrvOccupation-error,
#ddAccidentDesc-error,
#ddViolationDesc-error,
#ddCompLossDesc-error,
#ddMarketingSourceRadio-error,
#ddMarketingSourcePodcast-error,
#ddMarketingSourceTV-error,
#ddMarketingSourceWeb-error,
#ddMarketingSourceOther-error,
#ddMarketingSourceOnline-error {
    margin-top: 7px;
}

.list-group-item {
    border-left: none;
    border-right: none;
    font-size: 1.25rem;
    padding-left: 20px;
    padding-right: 20px;
    margin-right: 5px;
}
 
.list-group .list-group-item:first-of-type {
    border-top: none
}

.list-group-item:last-child {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.list-group input[type="checkbox"] + .list-group-item {
  cursor: pointer;
}

.list-group input[type="checkbox"] + .list-group-item:before {
  content: "\2713";
  color: transparent;
  font-weight: bold;
  margin-right: 1em;
}

.list-group input[type="checkbox"]:checked + .list-group-item {
  background-color: #008BD5;
  color: #FFF;
}

.list-group input[type="checkbox"]:checked + .list-group-item:before {
  color: inherit;
}

.list-group input[type="radio"] {
  display: none;
}

.list-group input[type="radio"] + .list-group-item {
  cursor: pointer;
}

.list-group input[type="radio"] + .list-group-item:before {
 /* Review using check mark later
  content: "\2022";   bullet 
  content: "\2713";   check mark */ 
  color: transparent;
  font-weight: bold;
  margin-right: 1em;
}

.list-group input[type="radio"]:checked + .list-group-item {
  background-color: #008BD5;
  color: #FFF;
}

.list-group input[type="radio"]:checked + .list-group-item:before {
  color: inherit;
}

/* Custom Bootstrpa Scrollbar */

.scrollbar-gray::-webkit-scrollbar {
    width: 10px;
    /*background-color: #fbfbfb; */
}

.scrollbar-gray::-webkit-scrollbar-track {
    box-shadow: inset 0 0 1px grey; 
    background-image: linear-gradient(rgba(0,0,0,.065),rgba(0,0,0,.065));
    border-radius: 4px;
}

.scrollbar-gray::-webkit-scrollbar-thumb {
    border-radius: 4px;
    -webkit-box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.5);
    background-image: linear-gradient(rgba(0,0,0,.099),rgba(0,0,0,.099));
    height: 50%;
}
/*.scrollbar-gray::-webkit-scrollbar-thumb:hover {
    -webkit-box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.1);
    background-image: linear-gradient(rgba(0,0,0,.099),rgba(0,0,0,.099));
}*/

/* Custom Bootstrpa Arrows */

.arrow::-webkit-scrollbar {
    border: solid grey;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}

.right::-webkit-scrollbar {
    transform: rotate(-45deg) !important;
    -webkit-transform: rotate(-45deg) !important;
}

/*Custom for Vehicle selection - Desktop*/
@media only screen and (min-width: 1200px) {
    #grpVehicleEnter {
        background-color: #fff;
    }

    .vehicle-wrapper .no-padding {
        padding-left: 0;
        padding-right: 0;
    }

    .vehicle-wrapper h2 {
        font-size: 21px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .vehicle-wrapper .list-group-container {
        border: none;
        border-radius: 0;
        padding: 5px 7px 5px 3px;
    }

    .vehicle-wrapper h3.ddYear  {
        border-left: 2px solid #e6e6e6;
    }

    .vehicle-wrapper h3.ddMake  {
        border-left: 2px solid #e6e6e6;
        border-right: 2px solid #e6e6e6;
    }

    .vehicle-wrapper h3.ddTrim  {
        border-left: 2px solid #e6e6e6;
        border-right: 2px solid #e6e6e6;
    }

    .vehicle-wrapper .list-group-container.ddYear  {
        border: 2px solid #e6e6e6;
        border-right: none;
    }

    .vehicle-wrapper .list-group-container.ddMake  {
        border: 2px solid #e6e6e6;
    }

    .vehicle-wrapper .list-group-container.ddModel  {
        border-top: 2px solid #e6e6e6;
        border-bottom: 2px solid #e6e6e6;
    }

    .vehicle-wrapper .list-group-container.ddTrim  {
        border: 2px solid #e6e6e6;
    }

    .vehicle-wrapper h3 { 
        border: none;
        text-align: left;
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media only screen and (max-width: 767px) {
    .vehicle-wrapper .no-padding {
        margin-left: -30px;
        margin-right: -30px;
    }

    .vehicle-wrapper .list-group-container {
        border-left: none;
        border-right: none;
        border-radius: 0;
    }

    .vehicle-wrapper .list-group-item {
        margin-right: 10px;
        margin-left: 5px;
    }

    .vehicle-wrapper div.error {
        margin-left: 25px;
    }
}

@media only screen and (max-width: 516px) {
    #ddAccidentDesc {
        height: 268px;
        max-height: 268px;
    }
}

@media only screen and (max-width: 377px) {
    #ddBI {
        height: 340px;
        max-height: 340px;
    }
}

@media only screen and (max-width: 342px) {
    #ddAccidentDesc {
        height: 297px;
        max-height: 297px;
    }
}


@media only screen and (max-width: 318px) {
    #ddAccidentDesc {
        height: 325px;
        max-height: 325px;
    }
}
@media only screen and (max-width: 314px) {
    #ddDrvOccupation {
        height: 289px;
        max-height: 289px;
    }
}