
.scaleBox{
	display: flex;
	width: auto;
}
.result{
	background-color: #255703;
	display: none;
	color:#FFF;
	font-weight: bold;
	padding: 5px;
	padding-left: 10px;
	padding-right: 10px;
	border-radius: 10px;
	margin-bottom: 10px;
}
#h-smoke-detector{
	/*margin-top: 15px;*/
}
.col50{
	width: 50% !important;
}
.col10p{
	width: 100px !important;
}
.col15p{
	width: 150px !important;
}
.col15pc{
	width: 150px !important;
	text-align: center;
}
.col20p{
	width:200px;
}
.colr70p{
	width: calc(100% - 300px) !important;
}
.colr85{
	width: calc(100% - 150px);
}
.col25{
	width:25%;
}
.col55r{
	width: calc(50% - 75px);
}
.aBottom{
	align-self: flex-end;
}
@media (max-width:950px){

	.colr85{
		width: calc(100% - 180px);
	}
	.field-groupB{
			display:flex;
			flex-wrap:wrap;
			gap:15px;
		}
	.col25{
		width:calc(33% - 10px);
	}
	

}

@media (max-width:900px){
	.col55r{
		width: calc(50% - 85px);
	}
	.col15pc{
		width: 140px !important;
		text-align: center;
	}
}
@media (max-width:850px){
	.field-group{
			display:flex;
			flex-wrap:wrap;
			gap:15px;
		}
    .colr70p{
        width:100% !important;
        flex:0 0 100%;
    }

    .col20p,
    .col10p{
        width:calc(50% - 7.5px) !important;
        flex:0 0 calc(50% - 7.5px);
    }
	.col50{
		width: calc(50% - 10px) !important;
	}
	.col25{
		width:calc(50% - 10px);
	}

}
@media (max-width:800px){
	.col55r{
		width: calc(50% - 10px);
	}
	.col15pc{
		width: 150px !important;
		text-align: center;
	}
}
@media (max-width:750px){

	.col50{
		width: calc(100% - 0px) !important;
	}
	.col25{
		width:calc(100% - 0px);
	}

}
@media (max-width:700px){

	.colr85{
		width: calc(100% - 0px);
	}
}

@media (max-width:650px){

    .col20p,
    .col10p{
        width:calc(100% - 7.5px) !important;
        flex:0 0 calc(100% - 7.5px);
    }


       .unstacked .form-group{
        display:flex;
        flex-direction:column;
        gap:10px;
    }

    .unstacked .form-group label{
        display:flex;
        align-items:center;
        gap:8px;
        margin:0;
    }
	
	.col55r{
		width: calc(100% - 10px);
	}
}



/* =========================================================
   VEHICLE GRID
========================================================= */

.vehicleGridSection {
    width: 100%;
    padding: 0;
    background: #c3dcef;
    border-radius: 0 0 10px 10px;
}

.vehicleGrid {
    display: grid;

    grid-template-columns:
        max-content
        repeat(4, minmax(145px, 1fr));

    grid-template-rows: repeat(2, auto);

    gap: 18px 15px;

    width: 100%;
    align-items: stretch;
	margin-top:20px;
}

.bottSep {
   

    margin-top: 20px;
    padding-bottom: 28px;
    margin-bottom: 28px;

    position: relative;
}

.bottSep::after{
    content:"";

    position:absolute;

    left:0;
    right:0;
    bottom:0;

    height:1px;

    background:linear-gradient(
        90deg,
        transparent 0%,
        rgba(27,117,187,.18) 10%,
        rgba(27,117,187,.55) 50%,
        rgba(27,117,187,.18) 90%,
        transparent 100%
    );
}


/* =========================================================
   "CAR #1" Column
========================================================= */

.vehicleGridCar {
    grid-column: 1;
    grid-row: 1 / span 2;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    min-width: 64px;
    padding: 15px 10px;

    color: #ffffff;
    background: #1b75bb;

    border-radius: 8px;

    line-height: 1.05;
    text-align: center;
}

.vehicleGridCar span {
    font-size: 18px;
    font-weight: 600;
}

.vehicleGridCar strong {
    display: block;

    margin-top: 5px;

    font-size: 22px;
    font-weight: 700;
}


/* =========================================================
   Fields / Cells
========================================================= */

.vehicleGridCell {
    min-width: 0;
}

.vehicleGridCell .form-group {
    width: 100%;
    height: 100%;
    margin: 0;
}

.vehicleGridCell .form-group label {
    display: block;
    margin-bottom: 5px;
}

.vehicleGridCell .form-control {
    display: block;

    width: 100%;
    min-width: 0;

    padding: 10px;

    border: none;
    border-radius: 5px;

    font-size: 18px;
    font-family: "tablet-gothic", sans-serif;

    color: #1b75bb;
    background: rgba(255, 255, 255, 0.55);
}


/* =========================================================
   Responsive
========================================================= */

@media screen and (max-width: 950px) {

    .vehicleGrid {
        grid-template-columns:
            max-content
            repeat(2, minmax(180px, 1fr));
    }

    .vehicleGridCar {
        grid-column: 1;
        grid-row: 1 / span 4;
    }
}



@media screen and (max-width: 650px) {

    .vehicleGridSection {
        /*padding: 20px;*/
    }

    .vehicleGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

    .vehicleGridCar {
        grid-column: 1 / -1;
        grid-row: auto;

        flex-direction: row;

        width: 100%;
        min-width: 0;

        gap: 5px;
    }

    .vehicleGridCar strong {
        margin-top: 0;
    }
}



@media screen and (max-width: 430px) {

    .vehicleGrid {
        grid-template-columns: 1fr;
    }

    .vehicleGridCar {
        grid-column: 1;
    }
}

/*adjustment*/

.vehicleGridCellSpan2{
    grid-column: span 2;
}
@media (max-width:950px){

    .vehicleGridCellSpan2{
        grid-column: span 2;
    }

}

@media (max-width:430px){

    .vehicleGridCellSpan2{
        grid-column: span 1;
    }

}


.deductibleGrid {
    display: grid;

    grid-template-columns:
        max-content
        repeat(4, minmax(150px, 1fr));

    width: 100%;
    margin-top: 20px;

    border: 1px solid rgba(27, 117, 187, 0.18);
    border-radius: 10px;

    overflow: hidden;

    background: rgba(255, 255, 255, 0.18);

    box-shadow:
        0 12px 30px rgba(2, 30, 51, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}



.deductibleGridHeader {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;
    padding: 14px 12px;

    color: #ffffff;
    background: #1b75bb;

    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;

    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.deductibleGridHeader:last-of-type {
    border-right: none;
}

.deductibleGridCarHeader {
    padding-left: 14px;
    padding-right: 14px;
}


.deductibleGridCar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    min-width: 62px;
    padding: 14px 10px;

    color: #155a90;
    background: rgba(255, 255, 255, 0.35);

    border-right: 1px solid rgba(27, 117, 187, 0.14);
    border-bottom: 1px solid rgba(27, 117, 187, 0.14);

    line-height: 1.05;
    text-align: center;
}

.deductibleGridCar span {
    /*font-size: 15px;*/
    font-weight: 500;
	display:none;
}

.deductibleGridCar strong {
    margin-top: 4px;
    font-size: 20px;
    font-weight: 700;
}



.deductibleGridCell {
    min-width: 0;

    padding: 14px;

    border-right: 1px solid rgba(27, 117, 187, 0.14);
    border-bottom: 1px solid rgba(27, 117, 187, 0.14);
}

.deductibleGridCell:nth-child(5n) {
    border-right: none;
}

.deductibleGridCell .form-group {
    width: 100%;
    margin: 0;
}

.deductibleGridCell .form-group label {
    display: block;
    margin-bottom: 5px;
}

.deductibleGridCell .form-control {
    width: 100%;
    min-width: 0;
}



.deductibleGrid > :nth-last-child(-n + 5) {
    border-bottom: none;
}


@media screen and (max-width: 850px) {

    .deductibleGrid {
        grid-template-columns:
            max-content
            repeat(2, minmax(180px, 1fr));

        gap: 0;

        border: none;
        border-radius: 0;
        overflow: visible;

        background: transparent;
        box-shadow: none;
    }

    .deductibleGridHeader {
        display: none;
    }

   
    .deductibleGridCar {
        grid-column: 1;
        grid-row: span 2;

        min-width: 70px;

        border: 1px solid rgba(27, 117, 187, 0.16);
        border-right: none;
        border-radius: 10px 0 0 10px;

        background: #1b75bb;
        color: #ffffff;

        margin-bottom: 20px;
    }

    .deductibleGridCell {
        position: relative;

        padding: 42px 14px 14px;

        /*border: 1px solid rgba(27, 117, 187, 0.16);*/
        border-left: none;

        background: rgba(255, 255, 255, 0.25);
    }

    
    .deductibleGridCell::before {
        content: attr(data-label);

        position: absolute;
        top: 0;
        left: 0;
        right: 0;

        display: flex;
        align-items: center;

        /*min-height: 34px;*/
        padding: 7px 12px;

        color: #ffffff;
        background: rgba(27, 117, 187, 0.92);

        /*font-size: 14px;*/
        font-weight: 600;
        line-height: 1.2;
    }

    
    .deductibleGridCar + .deductibleGridCell {
        border-radius: 0;
    }

    
    .deductibleGridCar +
    .deductibleGridCell +
    .deductibleGridCell {
        border-radius: 0 10px 0 0;
    }

   
    .deductibleGridCar +
    .deductibleGridCell +
    .deductibleGridCell +
    .deductibleGridCell {
        margin-bottom: 20px;
    }

   
    .deductibleGridCar +
    .deductibleGridCell +
    .deductibleGridCell +
    .deductibleGridCell +
    .deductibleGridCell {
        margin-bottom: 20px;
        border-radius: 0 0 10px 0;
    }
	
.deductibleGridCar span {
    /*font-size: 15px;*/
    font-weight: 500;
	display:inline;
}
}



@media screen and (max-width: 560px) {

    .deductibleGrid {
        grid-template-columns:
            64px
            minmax(0, 1fr);
    }

    .deductibleGridCar {
        grid-row: span 4;

        min-width: 64px;
        padding-left: 7px;
        padding-right: 7px;

        border-radius: 10px 0 0 10px;
    }

    .deductibleGridCell {
        grid-column: 2;

        width: 100%;
        min-width: 0;

        border-radius: 0;
        margin-bottom: 0;
    }

    .deductibleGridCar +
    .deductibleGridCell +
    .deductibleGridCell +
    .deductibleGridCell +
    .deductibleGridCell {
        margin-bottom: 20px;
        border-radius: 0 0 10px 0;
    }

    .deductibleGridCar + .deductibleGridCell {
        border-radius: 0 10px 0 0;
    }
}


@media screen and (max-width: 390px) {

    .deductibleGrid {
        grid-template-columns:
            56px
            minmax(0, 1fr);
    }

    .deductibleGridCar {
        min-width: 56px;
    }

    .deductibleGridCar span {
        /*font-size: 13px;*/
    }

    .deductibleGridCar strong {
        font-size: 18px;
    }

    .deductibleGridCell {
        padding-left: 10px;
        padding-right: 10px;
    }

    .deductibleGridCell::before {
        padding-left: 10px;
        padding-right: 10px;
        /*font-size: 13px;*/
    }
}

.familyGrid {
    display: grid;

    grid-template-columns:
        max-content
        repeat(5, minmax(135px, 1fr));

    width: 100%;
    /*margin: 10px;*/

    overflow: hidden;

    border: 1px solid #8ebbd7;
    border-radius: 10px;

    background: #c9e0ef;

    color: #005b97;
}


.familyGridHeader {
    display: flex;
    min-height: 68px;

    align-items: center;
    justify-content: center;

    padding: 4px;

    border-right: 1px solid rgba(255, 255, 255, 0.22);

    background: #247fbd;
    color: #ffffff;

    /*font-size: 15px;*/
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.familyGridHeaderEmpty {
    min-width: 60px;
}

.familyGrid > .familyGridHeader:nth-child(6) {
    border-right: 0;
}


.familyGridRowLabel {
    display: flex;
    min-width: max-content;
    min-height: 74px;

    align-items: center;
    justify-content: center;

    padding: 4px;

    border-top: 1px solid #9fc5dc;
    border-right: 1px solid #9fc5dc;

    background: #d7e9f5;
    color: #005b97;

    /*font-size: 15px;*/
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}

.familyGridCell {
    position: relative;

    display: flex;
    min-width: 0;
    min-height: 74px;

    align-items: center;
    justify-content: center;

    padding: 10px;

    border-top: 1px solid #9fc5dc;
    border-right: 1px solid #9fc5dc;

    background: #cfe3f1;
}

.familyGrid > :nth-child(6n) {
    border-right: 0;
}



.familyGridCell .form-group {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.familyGridCell .form-group label {
    display: none;
}



.familyGridCell > strong {
    color: #005b97;

    /*font-size: 16px;*/
    font-weight: 700;
}



.familyGridCell select.form-control {
    padding-right: 34px;

    background-color: #3f79a5;
    color: #ffffff;

    cursor: pointer;
}

.familyGridCell select.form-control:focus {
    background-color: #356b94;
}



.familyGridCell input[type="radio"] {
    width: 14px;
    height: 14px;
    margin: 0 5px 0 0;

    accent-color: #247fbd;
}

.familyGridCell input[type="radio"] + label {
    display: inline-block;

    margin-right: 12px;

    color: #005b97;
    /*font-size: 15px;*/
    font-weight: 400;
}

.familyGridCell input[type="checkbox"] {
    width: 14px;
    height: 14px;
    margin: 0 5px 0 0;

    accent-color: #247fbd;
}

.familyGridCell input[type="checkbox"] + label {
    display: inline-block;

    margin-right: 12px;

    color: #005b97;
    /*font-size: 15px;*/
    font-weight: 400;
}

@media (max-width: 1050px) {

    .familyGrid {
        grid-template-columns:
            105px
            minmax(0, 1fr);

        overflow: visible;

        border: 0;
        border-radius: 0;

        background: transparent;
        gap: 15px;
    }

    .familyGridHeader {
        display: none;
    }

    .familyGridRowLabel {
        grid-column: 1;
        grid-row: span 5;

        min-width: 0;
        min-height: auto;
        height: calc(100% - 5px);

        align-items: flex-start;
        justify-content: flex-start;

        padding: 17px 12px;

        border: 0;
        border-right: 1px solid #8ebbd7;
        border-bottom: 16px solid transparent;

        border-radius: 8px 0 0 8px;

        background: #247fbd;
        color: #ffffff;

        /*font-size: 13px;*/
        line-height: 1.35;
        white-space: normal;
    }

    .familyGridCell {
        grid-column: 2;

        display: block;

        min-height: auto;

        padding: 39px 13px 13px;

        border: 0;
        border-bottom: 1px solid #9fc5dc;

        background: #cfe3f1;
    }

    .familyGridCell::before {
        content: attr(data-column);

        position: absolute;
        top: 11px;
        left: 13px;

        color: #005b97;

        /*font-size: 12px;
        font-weight: 700;*/
        line-height: 1.2;
    }

    .familyGridCell:nth-child(6n) {
        margin-bottom: 5px;
    }

    .familyGridCell .form-control {
        min-height: 44px;
    }

}


@media (max-width: 420px) {

    .familyGrid {
        grid-template-columns:
            88px
            minmax(0, 1fr);
    }

    .familyGridRowLabel {
        padding: 14px 9px;
        /*font-size: 12px;*/
    }

    .familyGridCell {
        padding-right: 10px;
        padding-left: 10px;
    }

    .familyGridCell::before {
        left: 10px;
    }

}

.businessInfoGrid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    max-width: 820px;
    margin: 20px auto;
    overflow: hidden;

    border: 1px solid #77add2;
    border-radius: 10px;
    background: #d9ecf8;
}


.businessInfoGridHeader {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;
    min-height: 68px;
    padding: 12px 10px;

    border-right: 1px solid rgba(255, 255, 255, 0.28);
    border-bottom: 1px solid #77add2;

    background: #2b84bc;
    color: #ffffff;

    /*font-size: 15px;*/
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.businessInfoGridHeader:nth-child(5) {
    border-right: 0;
}


.businessInfoGridCell {
    display: flex;
    align-items: center;

    min-width: 0;
    padding: 10px;

    border-right: 1px solid #99c4df;
    background: #d9ecf8;
}

.businessInfoGridCell:last-child {
    border-right: 0;
}

.businessInfoGridCell > .form-group {
    width: 100%;
    max-width: none;
    margin: 0;
}

.businessInfoGridCell .form-control {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}


.businessInfoGridCell .form-group > label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


@media screen and (max-width: 1050px) {

    .businessInfoGrid {
        display: block;
        max-width: 100%;
        border-radius: 10px;
    }

    .businessInfoGridHeader {
        display: none;
    }

    .businessInfoGridCell {
        display: grid;
        grid-template-columns: minmax(145px, 40%) minmax(0, 1fr);
        align-items: stretch;

        padding: 0;
        border-right: 0;
        border-bottom: 1px solid #99c4df;
        background: #d9ecf8;
    }

    .businessInfoGridCell:last-child {
        border-bottom: 0;
    }

    .businessInfoGridCell::before {
        content: attr(data-heading);

        display: flex;
        align-items: center;

        min-width: 0;
        padding: 14px 10px;

        border-right: 1px solid #99c4df;
        background: #c7e3f4;
        color: #004b7a;

        /*font-size: 14px;
        font-weight: 700;*/
        line-height: 1.2;
    }

    .businessInfoGridCell > .form-group {
        display: flex;
        align-items: center;

        width: auto;
        max-width: none;
        margin: 0;
        padding: 10px;
    }

    .businessInfoGridCell .form-control {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {

    .businessInfoGridCell {
        grid-template-columns: minmax(118px, 38%) minmax(0, 1fr);
    }

    .businessInfoGridCell::before {
        padding: 12px 8px;
        /*font-size: 13px;*/
    }

    .businessInfoGridCell > .form-group {
        padding: 8px;
    }
}


.col100{
  width:100% !important;
}