/*//////////////////////////////////////////////////////////////////
[ FONT ]*/

@font-face {
  font-family: SourceSansPro-Regular;
  src: url('../fonts/source-sans-pro/SourceSansPro-Regular.ttf'); 
}

@font-face {
  font-family: SourceSansPro-Bold;
  src: url('../fonts/source-sans-pro/SourceSansPro-Bold.ttf'); 
}

@font-face {
  font-family: JosefinSans-Bold;
  src: url('../fonts/JosefinSans/JosefinSans-Bold.ttf'); 
}

/*//////////////////////////////////////////////////////////////////*/
*{
    margin: 0;
    padding: 0;
}

body{
    background-image: url('../../img/sfondo-contatti.jpg')!important;
    background-size: cover!important;
    background-attachment: fixed!important;
    background-repeat: no-repeat!important;
    
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

section{
    /*background-color: coral;*/
    margin-top: 50px;
    
    display: flex;
    justify-content: center;
}

h2{
    /*background-color: brown;*/
    font-family: SourceSansPro-Bold;
    color: #333333;
    text-transform: capitalize;
    margin-bottom: 25px;
}

.mappa, 
.mappa iframe,
form{
    background: white;
    border-radius: 10px;
}

.mappa{
    max-width: 600px;
    
    padding: 3px 5px;
}

/*.mappa.mobile{
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
}*/

.mappa.mobile iframe{
    display: none;
}

.mappa h3{
    /*background-color: cadetblue;*/
    margin: 0;
    padding: 3.5px 0;
    text-align: center;
    font-weight: 600;
    font-size: 1.3rem;
    
    cursor: pointer;
}


form{
    /*width: 800px;*/
    width: 100%;
    overflow: hidden;
    margin: 20px 0;
    
    box-shadow: 0 3px 20px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 3px 20px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 3px 20px 0px rgba(0, 0, 0, 0.1);
    -o-box-shadow: 0 3px 20px 0px rgba(0, 0, 0, 0.1);
    -ms-box-shadow: 0 3px 20px 0px rgba(0, 0, 0, 0.1);
}

.form-control{
    height: 62px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

label.error{
	width: 95%;
	text-align: left;
	color: crimson;
	font-size: 1.1em;
	font-style: italic;
}

textarea.form-control {
	height: 200px;
}

#Privacy{
    width: 100%;
    /*margin-top: 8px;*/
}

#Privacy.custom-switch {
	/*background-color: rosybrown;*/
    display: inline-block;
    text-align: center;
}

#Privacy .custom-control-label::before{
    top: 0.60rem;
}

#Privacy.custom-switch .custom-control-label::after {
	top: calc(.60rem + 2px);
}

/*---------------------------------------------*/
form a {
	/*font-family: SourceSansPro-Regular;*/
	font-size: 14px;
	line-height: 1.7;
	color: #666666;
	margin: 0px;
	transition: all 0.4s;
	-webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
}

form a:focus {
	outline: none !important;
}

form a:hover {
	text-decoration: none;
}

/*---------------------------------------------*/

input::-webkit-input-placeholder { color: #575757;}
input:-moz-placeholder { color: #575757;}
input::-moz-placeholder { color: #575757;}
input:-ms-input-placeholder { color: #575757;}

textarea::-webkit-input-placeholder { color: #575757;}
textarea:-moz-placeholder { color: #575757;}
textarea::-moz-placeholder { color: #575757;}
textarea:-ms-input-placeholder { color: #575757;}


button:hover {
	cursor: pointer;
}


/*//////////////////////////////////////////////////////////////////
[ Contact ]*/

.container-contact100,
.form-group{
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /*align-items: center;*/
    align-items: flex-start;
  position: relative;
  /*z-index: 1;*/
}

.custom-switch,
body#Contatti #Pulsante{
	display: flex;
	justify-content: center;
}

.custom-switch a{
    text-decoration:underline;
    color: #007bff;
}

.custom-switch a:visited{
    color: inherit;
}

body#Contatti #Pulsante{
    margin-top: 1rem;
}

#Attribuzione{
    font-size: 12px;
    color: white;
    opacity: 0.3;
}

.grecaptcha-badge{
    position: fixed;
    z-index: 10;
}

/*----------------------- Media Query------------------------------------------- */
@media (min-width:992px){
    .mappa.desktop{
        display: block;
    }
    
    .mappa.mobile{
        display: none;
    }
}

@media (max-width:991px){
    .mappa.desktop{
        display: none;
    }
    
    .mappa.mobile{
        display: block;
    }
}

@media (min-width:980px){    
    .mappa{
        margin:20px 0 0 0;
    }
    
    form{
        padding: 50px 50px 25px 50px;
    }
}

@media (max-width:979px){
    .mappa{
        margin:20px 0 0 0;
    }
        
    #form-container{
        padding: 0;
    }
    
    form{
        padding: 20px;
    }
}

@media (max-width:500px){
    form{
        padding: 20px 10px;
    }
    
    #Privacy{
        margin-left: 12px;
    }
}

@media (max-width: 400px){
    #Privacy label{
        text-align: left;
    }
}