/* NOTE !!! >>>>
Because of that maybe the background poicture be heavy in size.
I am adding another option so that if the Background picture was heavy, a Background Color will be used instead.
Just take the Background color out of the Comment and put Background Image in a comment or delete it. */

body {
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;

    /*background-image: url(dom-4575515_1920.jpg);*/
    /* to get the background color working put the upper line in comments or delete it and take out the under line out of the comments */
    /*background: repeating-linear-gradient(50deg, snow, rgba(37, 37, 37, 0.808));*/
    /*background-size: cover;*/
    /*background-position: center top;
    background-repeat: no-repeat;*/
}

a, a:visited, a:hover {
    color:white;
}
.wrapper {
	display:flex;
	justify-content: center;
}

.text-body {
    font-size: 15px;
    margin: auto;
    margin-top: 45px;
    /*margin-left: 50px;*/
    padding: 12px 25px 12px 25px;
    width: 50%;
    text-align: center;
    background-color: #900;
    color: white;
    border-radius: 20px;
    border: none;

}

.personal-inlinecontainer{
    border: 2px solid white;
    border-radius: 10px;
    margin: 8px;
    padding: 5px;
    position: relative;
}
.personal-inlinecontainer .label{
    position: absolute;
    top: 0px;
    left: 20px;
    transform: translateY(-50%);
    background-color: #88898a;
    padding: 4px;
}

.personal {
    display:flex;
    flex-direction: column;
    /*flex-wrap:wrap;*/
    justify-content: center;
	width:90%;
	min-width:210px;
}

.personal label {
    flex-basis: 2;
    width:30%;
	min-width:150px;
}

@media only screen and (max-width: 459px) {
  .personal input {
     width:70% !important;
  }
}

.personal input, .personal select {
    flex-basis: 3;
    min-width:150px;
    width:45%;
}

.alert {
    font-size: 15px;
    margin: auto;
    margin-top: 15px;
    /*margin-left: 50px;*/
    padding: 12px 25px 5px 25px;
    width: 90%;
    text-align: center;
    background-color: rgba(108, 238, 145, 0.575);
    color: rgb(21, 20, 20);
    border-radius: 20px;
    border: none;
    z-index: 6;
}
.alert .btn-big {
    font-size: 15px !important;;
    margin-top:12px;
}

.form {
    margin: auto;
    margin-top: 40px;
    /*margin-left: 50px;*/
    padding: 20px;
    text-align: center;
	background-color: rgba(10, 10, 10, 0.472);
    color: snow;
    border-radius: 10px;
    border: none;
    z-index: 6;
}

.name-input {
   /* font-size: 18px;*/
    border-radius: 5px;
    border: none;
    padding: 10px;
    margin-bottom: 0.5em;
}

.field {
    margin: 10px;
    padding: 15px;
   /* border: solid rgb(112, 111, 111) 2px;*/
    border-radius: 10px;
    font-size: 16px;
}

.fieldhidden {
    visibility: hidden;
}

.labelhidden {
    display: none;
}

.persons-num-label {
    font-size: 22px;
    margin-left:10px;
}

.persons-num-input {
    font-size: 22px;
    width: 60px;
    border-radius: 10px;
    padding: 10px;
}

.submit-btn {
    margin: 5px;
    padding: 10px;
    width: 50%;
    background-color: snow;
    color: black;
    font-size: 22px;
    cursor:pointer;
    border: none;
    border-radius: 55px;
}

.submit-btn:hover {
    background-color: #900;
    color: snow;
    border-radius: 55px;
}

.selectservice {
    margin: 20px 0px 0px 20px;
    float: left;
}

.servicename {
    margin: 10px 0px 0px 20px;
    text-align: left;
    float: left;
}

.countparticipants {
    width: 100%;
    float: right;
    font-size: 12pt;
    text-align: left;
    margin-bottom: 20px;
}

.countparticipants label {
    padding-left: 55px;
}

.upstream {
    margin: auto;
  /*  margin-left: 50px;*/
    padding: 40px;
    width: 70%;
    font-size:0.7em;
    text-align: center;
}

/* Here i am adding The Media Querieres */


/*This Media query will target Screens that are less than 480px in width*/

@media (max-width: 480px) {
    body {
        width: 96%;
        margin:auto;
    }
    .alert {
        margin: 10px auto;
        width: 80%;
        font-size: 18px;
    }
    .countparticipants {
    	font-size:10pt;
    }
    .form {
        margin: auto;

    }
    .upstream {
        margin: auto;
        width: 80%;
    }
    .name-input {
         max-width: 75%;
        font-size: 15px;
    }
    .field {
        margin: 0 auto 15px 0;
        font-size: 15px;
    }
    .persons-num-label {
        font-size: 15px;
    }
    .persons-num-input {
        margin: auto;
        max-width: 80%;
        width: 30px;
        font-size: 15px;
    }
    .selectservice {
        margin: 10px 0px 0px 0px;
        float: left;
    }
    .servicename {
        margin: 10px 0px 0px 0px;
        width: 80%;
        float: right;
    }
    .submit-btn {
        font-size: 18px;
    }
    .btn-big {
        width: 70%;
    }
}


/*This Media Query is targeting screens that are between 640px and 481px */
@media (max-width: 640px) and (min-width: 481px) {
    .form {
        margin-top: 30px;
        margin-left: auto;
        padding: 10px;
        background-color: rgba(10, 10, 10, 0.472);
        color: snow;
    }
    .field {
        margin: 5px;
        padding: 5px;
        margin-right: 20px;
        font-size: 15px;
    }
     .servicename {
        margin: 10px 0px 0px 0px;
        width: 80%;
        float: right;
    }
}
