* {
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

/*Background color*/
#grad1 {
    /* background-color:  #9C27B0;
    background-image: linear-gradient(120deg, #FF4081, #81D4FA); */
    min-height: 100vh;
    height: 100%; /* You must set a specified height */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover; /* Resize the background image to cover the entire container */
}

/*form styles*/
#msform {
    text-align: center;
    position: relative;
    margin-top: 20px;
}
.submitButton{
    width: 100px;
    background: skyblue;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 0px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
    background: rgb(57 185 194);
    width: 30%;
    font-size: 13px;
    height: 114%;
    text-transform: none;
    border-radius: 4px;
}

.truck{
    width: 31px;
    margin-top: -8px;
}

.lastStepCard{
    padding-bottom: 6px;
}

.form-select {
    text-align: left;
    border-color: #9E9E9E;
}

.reason-select{
    width: inherit;
}

#msform fieldset .form-card {
    background: white;
    /* border: 0 none; */
    border-radius: 0px;
    /* box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.2); */
    padding: 0px 23px;
    /* box-sizing: border-box; */
    width: 94%;
    margin: 0 3% 20px 3%;
    margin-top: 2vh;

    /*stacking fieldsets above each other*/
    position: relative;
}

#msform fieldset {
    background: white;
    border: 0 none;
    border-radius: 0.5rem;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding-bottom: 20px;

    /*stacking fieldsets above each other*/
    position: relative;
}

/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
    display: none;
}

#msform fieldset .form-card {
    text-align: left;
    color: #9E9E9E;
}

/* #msform .action-button:hover, #msform .action-button:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px skyblue;
} */

#msform input,
#msform textarea {
    /* padding: 0px 8px 4px 8px;
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0px;
    margin-bottom: 25px;
    margin-top: 2px;
    width: 100%;
    box-sizing: border-box;
    font-family: montserrat;
    color: #2C3E50;
    font-size: 16px;
    letter-spacing: 1px; */
}

#msform input:focus,
#msform textarea:focus {
    /* -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: none;
    font-weight: bold;
    border-bottom: 2px solid skyblue;
    outline-width: 0; */
}

/*Blue Buttons*/
#msform .action-button {
    width: 100px;
    background: skyblue;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 0px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
    background: rgb(57 185 194);
    width: 30%;
    font-size: 13px;
    height: 114%;
    text-transform: none;
    border-radius: 4px;
}

#msform .action-button:hover,
#msform .action-button:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px skyblue;
}


h6 {
    overflow: hidden;
    text-align: center;
}

h6:before,
h6:after {
    background-color: grey;
    content: "";
    display: inline-block;
    height: 1px;
    position: relative;
    vertical-align: middle;
    width: 50%;
}

h6:before {
    right: 0.5em;
    margin-left: -50%;
}

h6:after {
    left: 0.5em;
    margin-right: -50%;
}

/*Previous Buttons*/
#msform .action-button-previous {
    width: 100px;
    background: #616161;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 0px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
    width: 30%;
    font-size: 13px;
    height: 114%;
    text-transform: none;
    border-radius: 4px;
}

#msform .action-button-previous:hover,
#msform .action-button-previous:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #616161;
}

/*Dropdown List Exp Date*/
select.list-dt {
    border: none;
    outline: 0;
    border-bottom: 1px solid #ccc;
    padding: 2px 5px 3px 5px;
    margin: 2px;
}

select.list-dt:focus {
    border-bottom: 2px solid skyblue;
}

.alignLeft {
    text-align: left !important;
}

/*The background card*/
.card {
    z-index: 0;
    border: none;
    border-radius: 0.5rem;
    position: relative;
}

.addPadding{
    padding: 0px 12vh;
}

.flex{
    display: flex;
}

.details_img{
    width: 17vh;
}

.img-square-wrapper{
    padding: 2vh;
}

.footer-desc {
    font-size: 12px;
    color: grey;
    margin-top: 4vh !important;
    margin: 0px 7vh;
    padding: 0px 8vh;
}

.select_product{
    cursor: pointer;
}

.select_product:hover{
    border: 1px solid #3bb9c2 ;
}

.active_product{
    border: 2px solid #3bb9c2  !important;
}


.card-title{
    font-size: 16px;
    margin-bottom: -1.25rem !important;
}

.alignRight{
    text-align: right !important;
}

.step3{
    border-radius: 5px;
    /* border: 1px solid #3d4480; */
    width: 200px;
    height: auto ;
    padding: 1vh;
}

@media  (min-width: 200px) and (max-width: 600px) {
    .addPadding{
        padding: 0px ;
    }
    .footer-desc {
    margin: 0px 5vh;
        padding: 0px ;
    }

    .flex{
        display: block;
    }

    .details_img{
        width: -webkit-fill-available;
    }
    #grad1 {
        height: 100%;
        min-height: 100vh;
    }

    .card-title{
        font-size: 17px;
    }
    /*.img-square-wrapper{
        display: none;
    }*/
    .step3{
        margin-bottom: 2vh;
    }
}


/*FieldSet headings*/
.fs-title {
    font-size: 23px;
    color: #3d4480;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: center;
}

/*progressbar*/
#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    color: lightgrey;
}

#progressbar .active {
    color: #000000;
}

#progressbar li {
    list-style-type: none;
    font-size: 12px;
    width: 25%;
    float: left;
    position: relative;
}

/*Icons in the ProgressBar*/
#progressbar #account:before {
    font-family: inherit;
    content: "1";
}

#progressbar #personal:before {
    font-family: inherit;
    content: "2";
}

#progressbar #payment:before {
    font-family: inherit;
    content: "3";
}

#progressbar #confirm:before {
    font-family: inherit;
    content: "4";
}

/*ProgressBar before any progress*/
#progressbar li:before {
    width: 38px;
    height: 38px;
    line-height: 33px;
    display: block;
    font-size: 12px;
    color: #919aa9;
    background: white;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    padding: 2px;
    border: 1px solid #d3d3d3;
}

/*ProgressBar connectors*/
#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: lightgray;
    position: absolute;
    left: 0;
    top: 19px;
    z-index: -1;
}


#progressbar #account:after {
    content: '';
    width: 50%;
    height: 2px;
    background: lightgray;
    position: absolute;
    left: 0;
    top: 19px;
    z-index: -1;
    margin-left: 50%;
}

#progressbar #confirm:after {
    content: '';
    width: 50%;
    height: 2px;
    background: lightgray;
    position: absolute;
    left: 0;
    top: 19px;
    z-index: -1;
}

/*Color number of the step and the connector before it*/
#progressbar li.active:before,
#progressbar li.active:after {
    background: #3d4480 !important;
    color: white;
}

/*Imaged Radio Buttons*/
.radio-group {
    position: relative;
    margin-bottom: 25px;
}

.radio {
    display: inline-block;
    width: 204;
    height: 104;
    border-radius: 0;
    background: lightblue;
    box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    cursor: pointer;
    margin: 8px 2px;
}

.radio:hover {
    box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.3);
}

.radio.selected {
    box-shadow: 1px 1px 2px 2px rgba(0, 0, 0, 0.1);
}

/*Fit image in bootstrap div*/
.fit-image {
    width: 100%;
    object-fit: cover;
}


fieldset {
    animation: fadeInAnimation ease 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}