

    body {
        overflow: hidden;
        background: #ceddcf;
        font-family: "Lato", sans-serif;
        font-weight: 400;

    }

    .titleFont{
        font-family: "Marriweather", serif;
        font-weight: 500;
    }

    #mobileButton{
        display: inline;
        background: none;
        border: none;
        color: white;
        position: absolute;
        right: 0;
        top: 0;
        font-size: 1.6rem;
    }

    .menu {
        display: flex;
        flex-direction: column;
        min-width: 100%;
        background-color: #234E2B;
        box-shadow: 3px 0 3px #222;

	max-height: 100vh;
	overflow-y: auto;
	flex-shrink: 0;
        position: relative;
    }

    #mobileMenu {
        /* display: none; */
    }

    #vehicleFilterSection, #contactSection {
	display: none;
    }


    .menuHeader {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .topBar {
        display: flex;
        margin-top: .3rem;
        justify-content: center;
        width: 100%;
    }

    .companyName {
        text-align: center;
        font-size: 1.7rem;
        margin-top: 7px;
        cursor: pointer;

    }

    .menuLinks {
        display: flex;
        flex-wrap: wrap;
        column-gap: 50px;
        justify-content: center;
        flex-grow: 1;
    }

    .pageSelect {
        display: grid;
        grid-template:"a a a a a b b c c c c c"
                  "d d d d d d d d d d d d";
    }

    .pageSelect > div {
        display: inline-block;
        flex-grow: 1;
        flex-basis: calc(100% / 3);
    }


    .pageSelect > div > div {
        display: inline-block;
        flex-basis: calc(100% / 3);
    }


    .menu > div {
        color: white;
        line-height: 40px;
        font-size: 20px;
    }

    .filterTitle {
        margin: 10px 4% 0 4%;
        padding: 0 15px;
        font-size: 1.2rem;
    }

    .menuSection {
        background-color: rgba(30, 30, 30, .5);
        border-radius: 30px;
        display: flex;
        gap: 20px 55px;
        flex-wrap: wrap;
        padding: 15px;
        width: 92%;
        margin: 0 auto 20px auto;
        border: 1px solid white;
    }

    .filterVehicles {

    }

    .lables {
        margin-left: 15px;
    }


    .buyButton {
        grid-column: 2;
    }

    .select{
        background-color: #314470 !important;
        border:2px solid #35A552 !important;
        box-shadow: inset 0 0 8px 6px #243457 !important;


    }

    .deselect{
        background-color:#314470 !important;
        border:2px solid #B3B3B3 !important;

    }

    .sellButton {
        grid-column: 11;
    }

    .pageSelect > .div_next_line {
        display: flex;
        justify-content: center;
    }

    #or {
        grid-column: 7 / span 1;
    }

    .aVehicle {
        grid-area: d;
        grid-column: span 12;
        justify-self: center;
    }


    #page {
        display: flex;
        flex-direction: column;
        overflow: hidden;
        height:100vh;
    }

    .cardBackground{
        /* height:650px;*/
        scroll-snap-align: start;
        color:white;
    }

    .card {
        background-color: rgba(12, 49, 22, 0.68);
        margin:0;
        box-shadow: none;

    }

    div:nth-child(even of .cardBackground) > .card {
        background-color: #23401b;
    }

    .cardTitle{
        margin-left:15px;

    }
    .cardHeader{
        margin: 10px auto 0 auto;
    }

    .cardSundries{
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        gap: 10px;
    }

    .imageSelect{
        display: flex;
        flex-direction: column;

    }

    .cardImages {
        display: flex;
        flex-direction: row;
        gap: 8px 15px;
        width: 95%;
        align-self: center;
    }

    @media only screen and (max-width: 767px) {
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
    }

    .vehicleImages{
        height: fit-content;
        width: 140px;
        scroll-snap-align: start;
    }

    .selectedImage {
        border: 2px solid #b0ff03;
        box-shadow: 0 0 6px 2px #111;
    }


    .cardContent{
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin: 15px 0;
    }

    .cardText{
        margin:15px 0 0 10px;
    }

    .vehiclePrice{

        justify-self: first baseline;
        height: 60px;
        display: table-cell;
        vertical-align: bottom;
        margin-left: 15px;

    }

    .price{
        font-size: 1.8rem;
        vertical-align: top;
    }


    .cardButtons {
        display: flex;
        height: 25%;
        align-self: center;
        justify-content: space-around;
        width: 97%;

    }

    .modestButton {
        color: white;
        border-radius: 30px;
        border: none;
        background: none;
        padding: 0;
        cursor: pointer;
        /*text-decoration: underline;*/
        font-size: 1.1rem;
        width: 140px;
    }

    .modestButton a {
        color: white;
        text-decoration: none;
    }

    .menu-row {
        width: 75%;
        display: flex;
        justify-content: space-between;
        margin: .7rem 0;
    }

    .hRule{
        height: 2px;
        color: #B3B3B3;
        background: #B3B3B3;
        width: 92%;
        margin: 10px auto;
    }

    .pageSelect {
        margin: 10px 0;
    }

    .addVehicle {
        justify-content: end !important;

    }

    .moreInfo {
        justify-content: end !important;
    }

    .cardGroup {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height:92%;

    }

    .cardImg {
        max-width: 95%;
        align-self: center;
    }

.cardImg > img{
    max-height: 400px;
    box-shadow: 2px 1px 6px 1px #111;
}
    .cardInfo {
        display: flex;
        height: 50%;
    }

    .break {
        flex-basis: 100%;
        height: 0;
    }

    .left {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }


    .right {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-left: 20px;
    }

    .site {
       /* overflow: auto; */
    }

    .mainWrapper {
        display: flex;
        flex-direction: column;
        overflow-y: scroll;
        scroll-snap-type: y proximity; /* do we need mandatory? */
        flex-grow:1;
        scroll-padding-bottom: 40px;
    }

    .buy {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .sell {
        display: none;
        width: 100%;
        overflow-y: scroll;

    }

    /*
    second main
    */
    .plate {
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: #4a6852;
        width: 100%;
        color: white;
        height: fit-content;
        flex-grow: 1;
    }

    #sellus-form{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    #sellUsHeader {
        color: white;
    }

    .sellUsRow {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 100%;
        justify-items: center;
        row-gap: 30px;
    }

    .sellUsBar {
        width: 92%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;

    }

    .sellUsBtn {
        cursor: pointer;
        color: white;
        background-color: #456C8E;
        border-radius: 21px;
        align-self: center;
        font-size: 20px;
	padding: 0.6em 1em 0.4em;
	border-color: #ccc #ccc #bbb;
	border: 1px solid;
    }

    .photoBar {
        width: 72%;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
    }

    .contactusback {
        color: white;
        min-width: 40%;
        padding: 30px;
        display: flex;
        flex-direction: column;
        border-radius: 30px;
        box-shadow: 0 2px 5px 2px #222;
    }

.contactInfo{
    font-size: 27px;
}

    .red {
        background-color: red;
    }

    .teal {
        background-color: #7e97f366;
    }


    /*
    end second main
    */


    /*
    Vehicle Info
    */
    .vehInfo {
        display: none;
        width: 100%;
        align-self: center;
        height:100%;
    }

    #vehicleInfo-mainImg{
        height: 100%;
    }

        .plateGroup{
            width: 100%;
            display: flex;
            flex-direction: column;
            height:100%;
            align-items: center;


        }

        #plateTitle{
            margin: 0 10px;

        }

        .plateSundries{
            display: flex;
            flex-direction: column;
            align-items: center;
            flex-grow: 1;
            justify-content: flex-start;
        }

        .plateImg{
            margin: 0;
            max-height: 31vh;

        }

        .plateImages{
            display: flex;
            flex-direction: row;
            gap: 10px;
            overflow:scroll;
            scroll-snap-type: x mandatory;
            width:95%;
            align-self: center;
            margin-top: 15px;

        }

    .plateImageSelect{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
        .plateContent{
            margin: 30px 10px;
            flex-grow: 1;
            align-self: stretch;


        }

        .plateText{

        }

        .plateInfo{
            display: flex;
            align-self: stretch;

        }

    /*
    End Vehicle Info
    */


    .gigButton {
        min-height: 37px;
        min-width: 135px;
        border-radius: 30px;
        align-self: center;
        color: white;
        font-size: 18px;
        background-color: #4a4343;
    }

    .gigSubmit {
        align-self: flex-end;
        margin: 30px 0;
    }

    .pill {
        height: 35px;
        width: 90px;
        border-radius: 30px;
        align-self: center;
        color: white;
        font-size: 20px;
    }


    .red {
        background-color: #456C8E;

    }

    #contactCollapsible {
        cursor: pointer;
        padding: 18px;
        width: 100%;
        border: none;
        text-align: left;
        outline: none;
        font-size: 18px;
        background-color: rgba(0, 0, 0, 0);
        color: white;
    }

    .contactArrow {
        display: inline-block;
        -webkit-transform: rotate(-180deg);
        -moz-transform: rotate(-180deg);
        -o-transform: rotate(-180deg);
        -ms-transform: rotate(-180deg);
        -sand-transform: rotate(180deg);

        text-align: center;
        position: relative;
        /* bottom: 5px; */
        font-size: 22px;
    }

    #contactCollapsible.active .contactArrow {
        -webkit-transform: none;
        -moz-transform: none;
        -o-transform: none;
        -ms-transform: none;
        -sand-transform: none;
        top: 5px;
    }

    /* '\02795'; Unicode character for "plus" sign (+)
    #contactCollapsible:before {
        content: '\02228';
        font-size: 18px;
        background-color: black;
        margin: 0 15px 0 0;



    }

    "\2796"; Unicode character for "minus" sign (-)
    #contactCollapsible.active:before {
        content: '&and;';
    } */

    #contactContent {
        display: none;
        /*
    background-color: rgba(30, 30, 30, .7);
    border-radius: 30px;
    width: 92%;
    margin: 20px auto;
*/
}

    .gigSelect {
        background-color: #3F344E;
        max-width: 40%;
    }

    .menuContactLabel {
        margin-left: 10px;
        margin-top: 15px;
        text-decoration: underline;
    }

    .contactLabel{
        margin: 12px;
        text-decoration: underline;
    }


    #msgTextMc{
        background-color: rgba(255,255, 255, .05) !important;
    }

    .contactSelect {
        margin: 25px 0 10px 20px !important;

    }

    #menuContact {
        display: flex;
        flex-direction: column;
        margin-right: 15%;
        width: 95%;
    }

    #menuContact input, #menuContact textarea, #menuContact select {
        background-color: rgba(0, 0, 0, 0);
        border: none;
        outline: none;
        margin: 5px 0 0 20px;
        -webkit-box-shadow: none;
        box-shadow: none;
        color: white;
        border-bottom: 1px solid red;
        width: 90%;
    }

    #menuContact textarea {
        border-left: solid 1px white;
        border-right: solid 1px white;
        border-top: solid 1px white;
    }

    .imageUpload {
        position: relative;
        height: 100px;
        width: 80px;
        margin-right: 8px;
    }

    .xButton {
	padding: 5px;
	background-color: #8f3434;
	color: white;
	position: absolute;
	top: 0;
	right: 0;
    }

    .hidden {
        display: none;
    }

/* Tom select styling */

    .item {
            color: white !important;
        background-color: #3F344E !important;
    }


    #mobileFooter{
        padding-top: 3px;
        background-color: #234E2B;
        color: white;
    }

/* laptops */
@media only screen and (min-width: 768px) {

    .modestButton {
        width: fit-content;
    }

    .card{
        margin:0;
        box-shadow: none;
    }

    .cardImg{
        flex-grow:1;
    }

    .cardImages{
        width: fit-content;
        flex-shrink: 1;
        margin-left: 8px;

    }


    .cardGroup {
        width: 95%;
        margin: auto;
    }

    .vehiclePrice{
        align-self: end;
        margin-top:auto;
    }

    .imageSelect{
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
    }

    .cardImages{
        flex-direction: column;

    }

}

@media only screen and (min-width: 850px){
    body {
        overflow: hidden;
    }

    #mobileButton{
        display: none;
    }

    .menu {
        display: flex;
        flex-direction: column;
        min-width: 345px;
        max-width: 380px;
        background-color: #234E2B;
        overflow: auto;
        flex-basis: 25%;
        min-height: 100vh;
        box-shadow: 3px 0 3px #222;

    }

    .menuSection {
        gap:15px;
    }

    #mobileMenu{
        /* display: inline; */
    }

    #vehicleFilterSection, #contactSection {
	display: inline;
    }

    #inventoryButton {
	display: none;
    }


    #page {
        display: flex;
        height: 100vh;
        flex-direction: row;
        overflow: hidden;
    }

    .mainWrapper{
        width: 100%;
        height:revert;
    }

    .buy{
        height: revert;
        width: 100%;
    }

    .card {
        border-radius: 30px;
        box-shadow: 0 2px 5px 2px #222;
        margin: 30px auto 30px auto;
    }

    .cardGroup {

    }

    .cardContent {
        flex-grow: 1;
        flex-basis: 33%;
    }

    .cardImg {
        max-width: 92%;
        min-width: 150px;
        margin-top: 1.6em;
        height:fit-content;
    }

    .cardTitle{
        height: 30px;
    }

    .cardSundries{
        flex-direction: column;
        align-self: center;
        width: 100%;

    }

    .cardImages {
        flex-direction: row;
        gap: 10px;
        scroll-snap-type: block;
        flex-basis: 33%;
        justify-content: space-between;
        padding: 5px;
        width: 92%;
        align-self: center;
    }

    .cardBackground{
        width: 95%;
        align-self: center;
        /*margin: 24px 20px;*/
    }

    #vehicleCard-1{

    }

    .vehicleImages{
        align-self: center;
    }

    .imageSelect{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex-grow: 1;
    }
    .cardGroup {
        flex-direction: column;
        padding: 2vh 0;

    }

    .sellUsRow {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 92%;
        gap: 50px;
        margin: 20px 0;
    }

    .sellUsBar{
        flex-grow: 1;
        align-self: stretch;
        margin: 0 4%;
    }

    .contactusback{
        flex-grow: 1;
    }



    .plate {
        display: flex;
        flex-direction: column;
        max-width: 96%;
        color: white;
        border-radius: 30px;
        margin:15px auto;
        flex-grow: 1;
        box-shadow: 0 2px 5px 2px #222;
    }

    .plateSundries{
        flex-direction: column;
    }

    .plateImg{
        max-height: fit-content;
        width: 92%;
    }

    .plateImages{
        flex-direction: row;
        flex-basis: 33%;
        margin: 15px 0;
        width: 92%;

    }

    .plateImageSelect{
        flex-direction: column;
    }

    #mobileFooter{
        display: none;
    }

}

    /* tom-select rule */

    .ts-control {
        background-color: #133E1B;
    }

    .ts-control .item {

    }

    @media only screen and (min-width: 1150px){

        .cardSundries{
            flex-direction: row;
        }


        .cardTitle{
            text-align: center;
            flex-basis: 100%;
            width: 40%;
        }

        .plateSundries{
            flex-direction: row;
        }

    }

    @media only screen and (min-width: 1350px){

        .imageSelect{
            flex-direction: row;
            width: 95%;
        }
        .cardImages{
            flex-direction: column;
            width: revert;
        }

        .cardimg{
            flex-grow: 1;
        }

        .cardTitle{
            text-align: revert;
            align-self: flex-start;
        }

        .cardSundries{
            width: 100%;
        }

    }


@media (max-height: 640px) {
    .buy {
        scroll-padding: 60px 0;
    }
}
@media (max-width: 992px) and (max-height: 740px) {
    .buy {
        scroll-padding: 60px 0;
        scroll-margin: -60px 0;
    }
}
