@font-face {
    font-family: 'Bahnschrift';
    src: url('Bahnschrift.woff2') format('woff2'),
        url('Bahnschrift.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
	--body-bg-color: #f0f0f0;
	--main-color: #1C75BC;
	--main-border-color: #A7A9AC;
	--main-bg-color: #FAFBFC;
  
}

html {
    height: 100vh;
    margin: 0;
    padding: 0;
    
    overflow: hidden;
    
}

body { 

	background-color: var(--body-bg-color); 

    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    
    min-height: 100vh;
    
    font-family: "Bahnschrift";
    font-size: 16px;
    
    margin: 0;
    padding: 0;
	}

#validatingScreen{
	position: absolute;
	top:0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 100000;
	background-color: rgb(0 0 0 / 50%);

    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;	
}	

.errorDiv{
    width: 340px;
    height: 340px;
    background-color: var(--body-bg-color);
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
	
}

.errorText{
	width: 100%;
    height: 250px;
    padding: 10px;
    color: #e81741;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}

#errorBTN{
	box-sizing: border-box;
	border-radius: 5px;
    border: 1px solid var(--main-color);
	padding: 0 5px;
    font-family: "Bahnschrift";    
   
    color: white;
    font-weight: bold;
	
	height: 40px;
	width: 50%;
	
	background-color: var(--main-color); 	
}

.hiddenElement{
	display: none !important;
}
	
.formContainer{
	width: 360px;
	aspect-ratio: 360 / 600;
	
	background-color: var(--main-bg-color);
	border: 1px solid var(--main-border-color);
}	

#formList{
	list-style: none;
	padding: 0;
	margin: 0;
}

#formList>li{
	padding: 10px 10px 0px;
}

#formList>li:first-child{
	padding: 20px 10px 10px;
}

#formList>li:last-child{
	padding: 15px 10px;
}

#formList>li.mailContainer{
	display: flex;
    justify-content: space-between;
    align-items: center;
}


#formList>li.mailContainer span {
	font-size: 10px;
    text-align: right;
    width: 75px;
    font-family: "Bahnschrift";
    font-weight: bold;
}

.headerContainer{
	display: flex;
	align-items: center;
	
	color: #1C75BC;
	border-bottom: 1px solid var(--main-border-color);	
}

.headerContainer img{
	height: 50px;
	padding-left: 10px;
}

.titleGroup{
	display: flex;
    flex-direction: column;
    padding-left: 30px;
}

#titleTop{
	color: black;
	font-weight: bold;
	font-size: 14px;
}

h1{
	color: var(--main-color); 
	font-size: 16px; 
	padding: 0 20px;
	}

h2{
	width: 60px;
	font-size: 16px;
	text-align: left;
	padding-left: 10px;
}

h3{
	color: #BCBEC0;
    padding: 5px 20px;
    margin: 0;
    font-size: 14px;
	font-weight: lighter;
}

.addedColor{
	color: #231F20;
}

fieldset{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 5px 0;
    margin: 0;
    border: 0;
}

label{
	position: relative;
	color: var(--main-border-color);
}

label span{
	position: absolute;
	top: -22px;
	left: 10px;
	color: var(--main-border-color);
	font-weight: normal;
	font-size: 12px;
}

input[type="radio"],
input[type="checkbox"] {
  appearance: none;
  background-color: #fff;
  margin: 0;
  font: inherit;
  color: currentColor;
  width: 30px;
  height: 30px;
  border: 1px solid var(--main-border-color);
  border-radius: 25%;
  transform: translateY(-0.075em);
  display: grid;
  place-content: center;
}

input[type="radio"]::before,
input[type="checkbox"]::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 25%;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em black;
}

input[type="radio"]:checked::before,
input[type="checkbox"]:checked::before {
  transform: scale(1);
}

textarea{
	box-sizing: border-box;
    width: 100%;
    height: 150px;
    resize: none;
    border-radius: 5px;
    border: 1px solid var(--main-border-color);
    font-family: "Bahnschrift";
    padding: 10px;
}

input[type="text"] {
	box-sizing: border-box;
	border-radius: 5px;
    border: 1px solid var(--main-border-color);
    width: 220px;
    height: 35px;
	padding: 0 5px;
    color: black;
    font-weight: bold;
    font-family: "Bahnschrift";    
	
}

input[type="button"] {
	box-sizing: border-box;
	border-radius: 5px;
    border: 1px solid var(--main-color);
	padding: 0 5px;
    font-family: "Bahnschrift";    
   
    color: white;
    font-weight: bold;
	
	height: 40px;
	width: 100%;
	
	background-color: var(--main-color); 
}



.containerWine{
	padding: 10px;
	display: flex;
}

.dropdownWine{margin-right: 20px;}
.dropdownYear{width: 60px;}

.dropdownWine .select{width: 220px;}
.dropdownYear .select{}

.dropdownWine,
.dropdownYear{
	display: inline-block;

	transition: all .5s ease;
	position: relative;
	font-size: 14px;
	color: #474747;
	height: 100%;
	text-align: left;
}

.dropdownWine .select,
.dropdownYear .select
{
    cursor: pointer;
    display: block;
    padding: 10px;
    
	background-color: #fff;
	border-radius: 2px;
	box-shadow: 0 0 2px rgb(204, 204, 204);    
}

.dropdownWine .select > i,
.dropdownYear .select > i
{
    font-size: 13px;
    color: #888;
    cursor: pointer;
    transition: all .3s ease-in-out;
    float: right;
    line-height: 15px
}


.dropdownYear:hover, 
.dropdownWine:hover {
    box-shadow: 0 0 4px rgb(204, 204, 204)
}

.dropdownYear:active,
.dropdownWine:active {
    background-color: #f8f8f8
}

.dropdownWine.active:hover,
.dropdownWine.active,
.dropdownYear.active:hover,
.dropdownYear.active {
    box-shadow: 0 0 4px rgb(204, 204, 204);
    border-radius: 2px 2px 0 0;
    background-color: #f8f8f8
}

.dropdownWine.active .select > i,
.dropdownYear.active .select > i {
    transform: rotate(-90deg)
}

/**/
.dropdown-menu
 {
    position: absolute;
    background-color: #fff;
    width: 100%;
    left: 0;
    margin-top: 1px;
    box-shadow: 0 1px 2px rgb(204, 204, 204);
    border-radius: 0 1px 2px 2px;
    overflow: hidden;
    display: none;
    max-height: 500px;
    overflow-y: auto;
    z-index: 9
}

.dropdown-menu li {
    padding: 10px;
    transition: all .2s ease-in-out;
    cursor: pointer
} 

.dropdown-menu {
    padding: 0;
    list-style: none
}

.dropdown-menu li:hover {
    background-color: #f2f2f2
}

.dropdown-menu li:active {
    background-color: #e2e2e2
}
