body,
html {
  margin: 0px;
  padding: 0px;
  color: black;
  color: rgb(25, 25, 25);
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 200;
  scroll-behavior: smooth;
  background-color: rgb(224, 218, 218);
}

header {
  background-color: rgba(227, 233, 255, 0.5);
  min-width: 345px;
}

h1 {
  font-family : 'Roboto Condensed', sans-serif;
  font-size: 2rem;
}

/* Style the navbar */

#navbar li:first-child,
#navbar li:nth-child(2),
#navbar li:nth-child(3),
#navbar li:nth-child(4) {
  display: none;
}

#navbar {
  z-index: 1;
  position: sticky;
  top: 0;
  padding: 5px 0px 5px 0px;
  background-color: rgb(40, 60, 66);
  font-size: 1rem;
}

/* Navbar links */

#navbar a {
  display: block;
  color: rgb(240, 240, 240);
  text-align: center;
  text-decoration: none;
  font-size: 1rem;
}

#navbar a:hover {
  color: white;
  border-radius: 10px;
  background-color: #4CAF50;
}

#navbar a.active {
  color: white;
  border-radius: 10px;
  background-color: rgba(76, 175, 80, 0.5);
}

#navbar img {
  width: 100%;
  height: 100%;
}

#navbar img:active:focus {
  width: 100%;
  height: 100%;
}

#phones {
  width: 75px;
}

#navbarNavDropdown {
  border-top-style: groove;
  border-color: white;
  border-width: 1px;
}

.dropdown-menu, .navigation {
  background-color: #303C42;
  text-align: center;
  margin: 0px;
  padding: 0px;
}

.dropdown-menu {
  border-top-style: groove;
  border-bottom-style: groove;
  border-color: black;
}

.dropdown-item,
.navbar-nav .nav-item .nav-link {
  color: #999;
  overflow: hidden;
  border: none;
  border-radius: 10px;
  background-color: transparent;
  background-repeat: no-repeat;
  outline: none;
  font-size: 1.2rem;
  font-weight: 400;
  cursor: pointer;
}

.dropdown-item:hover,
.navbar-nav .nav-item .nav-link:hover {
  color: #fff;
  overflow: hidden;
  border: none;
  background-repeat: no-repeat;
  outline: none;
  cursor: pointer;
}

.dropdown-item:hover {
  text-decoration: underline;
  background: rgba(255,255,255,0.2);
}

#google_translate_element {
  display: none;
}

/* ************************************************ */

.content {
  margin: 0;
  padding: 0;
}

.content2 {
  display: grid;
  height: 100%;
  margin: 0;
  padding: 0;
  grid-template-columns: 1fr;
  grid-template-areas:
  "cf"
  "re"
  "ca"
  "le2";
}

.navigation {
  grid-area: na;
  position: relative;
  border-top-style: groove;
  border-bottom-style: groove;
  border-color: white;
  border-width: 1px;
  background-color : rgb(40, 60, 66);
  position: sticky;
  top: 0;
}

.fa-home,
.fa-envelope,
.fa-info-circle,
.fa-building {
  display: none;
}

.contact-form {
  padding-top: 10px;
  background-color : rgb(242, 241, 241);
  grid-area: cf;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /*without this horizontal scrole*/
}

.response {
  grid-area: re;
  background-color : rgb(242, 241, 241);
  height: 250px;
  line-height: 250px;
  text-align: center;
  display: none;
}

.response span {
  display: inline-block;
  vertical-align: middle;
  line-height: 18px;
}

.response span h2 {
  font-size: 1.4rem;
}

.resposiveCal {
  background-color: #E3E9FF;
  grid-area: ca;
}

.legend1 {
  display: none;
}

.legend2 {
  grid-area: le2;
  background-color : #E3E9FF;
}

/*.photo {
  width: 100%;
  height: 100%;
  margin: 0px;
  max-width: 300px;
  max-height: 300px;
  margin-left: auto;
  margin-right: auto;
}*/

.photo img {
  width: 100%;
  height: auto;
  max-width : 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.photo h1 {
  padding: 20px 0px 10px 0px;
  text-align: center;
  font-size: 1.4rem;
  color: black;
}

.form-group1 {
  padding-top: 15px;
}

.form-group {
  float: left;
  padding-top: 35px;
}

.form-group2 {
  padding-top: 20px;
}

.form-group3 {
  border-bottom: solid thin;
  padding-top: 20px;
}

.capatcha {
  text-align: center;
 }

 .g-recaptcha {
  display: inline-block;
 }

.submit {
  padding-bottom: 20px;
  text-align: center;
}

/* Calendar */

.calendar {
  margin: 0.313em 0 0 0;
  padding: 0px;
}

.responsiveCal {
  width  : 100%;
  height : 550px;
  margin: 0;
  padding: 0;
}

.responsiveCal iframe {
  width  : 100%;
  height : 100%;
  margin: 0;
  padding: 0;
  border: none;
  border-style: none;
}

.group1 {
  display: grid;
  padding-top: 15px;
  padding-bottom: 10px;
  text-align: center;
  grid-gap: 10px;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
  "r b"
  "g o";
}

.red {
  grid-area: r;
}

.blue {
  grid-area: b;
}

.green {
  grid-area: g;
}

.orange {
  grid-area: o;
}

.group1 img {
  width: 45px;
}

#red, #blue, #green {
  display: none;
}

#default, #red, #blue, #green {
  width: 100%;
  height: 800px;
}

.group2 {
  padding: 10px 30px 5px 0px;
  text-align: justify;
  margin: 0;
}

.group2 img {
  width: 25px;
}

@media (max-width: 4000px) and (min-width : 1200px) {

body,
html {
  font-size: 1rem;
  max-width: 4000px;
  margin: auto;
  background-image: linear-gradient(rgba(118, 165, 209, 0.6), rgba(111, 63, 143, 0.2), rgba(118, 165, 209, 0.6));
}

header,
footer {
  max-width: 1600px;
  margin: auto;
}

.flex-container {
  max-width: 1600px;
  margin: auto;
}

#navbar {
  display: none;
}

#google_translate_element {
  float: right;
  position: absolute;
  z-index: 1;
  top: 190px;
  right: 88px;
  border-top: solid;
  border-bottom: 1px solid black;
}

/*Navigation*/
.navigation {
  border-top: solid;
  border-bottom: solid;
  border-color: #283C42;
  background-image: linear-gradient(to bottom right, #283C42, rgb(66, 40, 64));
  border-width: 2.5px;
  top: 0;
}

#navbarNavDropdown {
  border-top: 1px solid white;
  border-bottom: 1px solid white;
  padding-left: 6%;
}

.navbar-nav {
  padding: 0 0 5px 0;
}

.navbar-nav .nav-item img {
  display: none;
}

.nav-item:first-child {
  padding-right: 10px;
}

.dropdown-menu .dropdown-item {
  font-size: 1rem;
}

.dropdown:hover .dropdown-menu {
  display: block;
  background-color: #303C42;
}

.navbar-nav .nav-item .nav-link {
  font-size: 1rem;
}

.fa-home, .fa-building, .fa-envelope, .fa-info-circle {
  display: inline-block;
}

.fa-home {
  color: #4285F4;
  padding: 10px 10px 0 0;
}

.fa-building, .fa-envelope, .fa-info-circle {
  color: rgb(181, 186, 186);
  padding: 10px 10px 0 0;
}

.fa-building:hover {
  color: #EA4335;
}

.fa-envelope:hover {
  color: #FBBC05;
  text-shadow: 1px 1px 1px #ccc;
}

.fa-info-circle:hover {
  color: #34A853;
}

.content2 {
  margin: 0 5% 0 5%;
  display: grid;
  position: relative;
  grid-template-columns: 1fr;
  grid-template-areas:
  "cf"
  "re"
  "le1"
  "ca"
  "le2";
}

.contact-form {
  background-color: rgb(242, 241, 241);
  grid-area: cf;
  /*overflow: visible; /*without this empty space*/
}

.photo {
  width: 100%;
  height: 100%;
  max-width: 360px;
  max-height: 300px;
  padding-left: 30px;
  margin: 0;
}

.photo img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.photo h1 {
  padding-bottom: 10px;
  text-align: left;
}

.form-group1, .form-group2, .photo  {
  float: left;
}

.form-group1 {
  padding-top: 30px;
}
.form-group2 {
  padding-top: 30px;
}

.selector {
  padding: 20px 15px 0px 15px;
}

.form-group3 {
  padding: 10px 30px 0px 30px;
  border-bottom: solid thin;
  border-bottom-style: groove;
}

.capatcha {
  text-align: center;
  padding-top: 20px;
 }

.g-recaptcha {
  display: inline-block;
 }

.submit {
  padding-bottom: 20px;
  text-align: center;
}

.response {
  grid-area: re;
  background-color : rgb(242, 241, 241);
  height: 400px;
  line-height: 400px;
  display: none;
}

.response span {
  display: inline-block;
  vertical-align: middle;
  line-height: 18px;
}

/* Calendar */

#red, #blue, #green {
  display: none;
}

#default, #red, #blue, #green {
  width: 100%;
}

.calendar {
  margin: 0;
  background-color: #E3E9FF;
  grid-area: ca;
  text-align: center;
}

.responsiveCal iframe {
  border-style: none;
}

.legend1 {
  grid-area: le1;
}

.legend2 {
  grid-area: le2;
}

.legend1, .legend2 {
  font-size: 1.2rem;
  display: inline-flex;
  background-color : #E3E9FF;
  width: 100%;
  height: auto;
}

.group1 {
  margin-left: 30px;
  display: grid;
  text-align: center;
  grid-gap: 5px;
  padding-top: 25px;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-areas: "r b g o";
}

.red {
  grid-area : r;
}

.red:hover,
.blue:hover,
.green:hover,
.orange:hover {
  font-weight:bolder;
}

.red img:hover,
.blue img:hover,
.green img:hover,
.orange img:hover  {
  cursor: pointer;
}

.red img:active,
.blue img:active,
.green img:active,
.orange img:active  {
  width: 25%;
}

.blue {
  grid-area : b;
}

.green {
  grid-area : g;
}

.orange {
  grid-area : o;
}

.group2 {
  padding-top : 20px;
  text-align: justify;
}

.group2 p {
  text-align: justify;
}

}
