@import url('https://fonts.googleapis.com/css?family=Roboto:100,400,400i,900');

html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  display: grid;
  grid-template-areas:
    'header'
    'main'
    'footer';
  color: #444;
  font-size: 1em;
  line-height: 1.5;
  font-family: 'roboto', Arial, Helvetica, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
::selection {
  color: black;
  background: yellow;
}
a {text-decoration: none;}
img {
  display: block;
  width: 100%;
  height: auto;
}
.clearfix {
  overflow: hidden;
}
.clearfix::after {
  content: '';
  clear: both;
  display: table;
}
.centered {
  align-self: center;
  justify-items: center;
}
.masthead{
  grid-area: header;
  grid-template-columns: 1fr;
  grid-template-areas:
    'bnr'
    'nav';
    grid-auto-rows: minmax(2em, auto);
}
.bnr {
  grid-area: bnr;
  background: #2A50A0;
  height: 50px;
  text-align: center;
  line-height: 50px;
  font-size: 16px;
  color: #fff;
}
/* navigation */
.navhead {
  grid-area: nav;
  text-align: center;
  position: relative;
  z-index: 999;
  width: 100%;
}
.nav-toggle {
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
}
.nav-toggle:focus ~ .nav-toggle-label {
  outline: 3px solid rgba(lightblue, .75);
}
.nav-toggle-label {
  position: absolute;
  top: 0;
  right: 0;
  margin-right: 1em;
  height: 100%;
  display: flex;
  align-items: center;
}
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background: #2A50A0;
  height: 2px;
  width: 2em;
  border-radius: 2px;
  position: relative;
}
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: '';
  position: absolute;
}
.nav-toggle-label span::before {
  bottom: 7px;
}
.nav-toggle-label span::after {
  top: 7px;
}
.main-logo a, .footer .col1 a {
  display: block;
  background-image: url('assets/images/gestareas.png');
  background-repeat: no-repeat;
  width: 292px;
  height: 150px;
  color: #eaeaea;
  align-self: center;
  justify-content: center;
  margin: 10px 5px;
}
nav {
  position: absolute;
  text-align: left;
  top: 100%;
  left: 0;
  width: 100%;
  transform: scale(1, 0);
  transform-origin: top;
  transition: transform 400ms ease-in-out;
}
nav ul {
    margin-top: 30px;
    padding: 0;
    list-style: none;
}
nav li {
  margin-bottom: 2em;
  margin-left: 0em;
}
nav a {
  color: #2A50A0;
  text-decoration: none;
  font-size: 1.2rem;
  text-transform: capitalize;
  opacity: 0;
  transition: opacity 150ms ease-in-out;
}
.nav-toggle:checked ~ nav {
  transform: scale(1,1);
  background: #fff;
}
.nav-toggle:checked ~ nav a {
  opacity: 1;
  transition: opacity 250ms ease-in-out 250ms;
}
.main-logo a, .footer .col1 a {
  display: block;
  background-image: url('../images/gestareas.png');
  background-repeat: no-repeat;
  width: 292px;
  height: 150px;
  color: #eaeaea;
}
.bnr a {
  color: #fff;
}
.main {
  grid-area: main;
}
.grid{
  display: grid;
  grid-template-columns: 2em auto 2em;
  grid-row-gap: 2em;
  grid-template-areas:
  '. . .'
  '. inner .'
  '. . .'
  '. inneril .'
  '. . .';
}
.grid-w-title, .grid-w-title-rev {
  display: grid;
  grid-template-columns: 2em auto 2em;
  grid-row-gap: 2em;
  grid-template-areas:
    '. . .'
    '. title .'
    '. inner .'
    '. . .'
    '. inneril .'
    '. . .';
}
.grid-sp {
  display: grid;
  grid-template-columns: 1em auto 1em;
  grid-row-gap: 0em;
  grid-template-areas: '. . .'
  '. inneril .'
  '. title .'
  '. para-1 .'
  '. para-2 .'
  '. . .';
}
.grid-w-title-sp {
  display: grid;
  grid-template-columns: 1fr 4fr 4fr 1fr;
  grid-row-gap: 2em;
  grid-template-areas: '. . . .' '. inner inner .' '. . . .';
}
.mastinner{
  background: #f4f4f4;
}
.inner {
  grid-area: inner;
}
.innertitle, .section-main-title-a{
  align-self: center;
  justify-items: center;
  font-size: 1.9rem;
  color: #2A50A0;
  line-height: 1.2em;
}
.section-main-title-a{
  text-align: center;
}
.calltoaction {
  background-color: #4CAF50; /* Green */
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}
.calltoaction:hover {
  background-color: #6fb972;
}
.inneril {
  grid-area: inneril;
  margin: 0 auto;
}
.inner-a {
  grid-area: inner;
  align-self: center;
  justify-items: center;
}
.inneril-a{
  grid-area: inneril;
  margin: 0 auto;
}
.section-main-title-c, .mastcalltoaction-title {
  grid-area: title;
  color: #2A50A0;
  font-size: 2.5rem;
  font-weight: 900;
  text-align: center;
}
.section-main-title-b {
  padding-top: 20px;
  grid-area: title;
  color: #2A50A0;
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: -15px;
}
.inner-b {
  grid-area: inner;
  align-self: center;
  justify-items: center;
}
.inneril-b{
  grid-area: inneril;
  margin: 0 auto;
  background-color: #c3eebb;
  padding: 0;
}
.section-c {
  background: rgba(42, 79, 160, 0.15);
  margin: 0 1rem;
}
.inner-c {
  grid-area: inner;
  align-self: center;
  justify-items: center;
}
.inneril-c{
  grid-area: inneril;
  margin: 0 auto;
}
.section-main-title-c {
  grid-area: title;
  color: #2A50A0;
  text-align: center;
  font-size: 2.5rem;
  font-weight: 900;
}
.para-1 {
  grid-area: para-1;
  justify-items: center;
}
.para-2 {
  grid-area: para-2;
  justify-items: center;
}
/* GetApp Testimonial */
.getapp-reviews {
  display: grid;
  grid-template-columns: 2em auto 2em;
  grid-row-gap: 2em;
  grid-template-areas:
    '. . .'
    '. title .'
    'rev rev rev'
    '. rsrc .'
    '. . .';
}
.getapp-reviews-slideshow {
  grid-area: rev;
  align-self: center;
  justify-items: center;
}
.getapp-main-title{
  grid-area: title;
  color: #689F38;
  text-align: center;
  font-size: 2.5rem;
  font-weight: 900;
}
.rating-stars {
  display:block; width:100%; color:#689F38; text-align: center; font-size: 2rem;
}
.rating-stars:before {
 display:block;
}

.rating-stars[n='1']:before {
content: '★';
}

.rating-stars[n='2']:before {
content: '★★';
}

.rating-stars[n='3']:before {
content: '★★★';
}

.rating-stars[n='4']:before {
content: '★★★★';
}

.rating-stars[n='5']:before {
content: '★★★★★';
}
.getapp-reviews-slideshow {
  overflow: hidden;
  height: 420px;
  width: 350px;
  margin: 0 auto;
}
.main-slideshow {
  width: 1400px;
  -webkit-animation: slide 18s ease infinite;
}
.slide {
  float: left;
  height: 420px;
  width: 350px;
  padding: 2.5rem 3rem;
}
.slide-title {
  color: #444;
  text-align: center;
  font-size: 1.5rem;
}
@-webkit-keyframes slide {
  20% {margin-left: 0px;}
  30% {margin-left: -350px;}
  50% {margin-left: -350px;}
  60% {margin-left: -700px;}
  70% {margin-left: -700px;}
  80% {margin-left: -1050px;}
  90% {margin-left: -1050px;}
}
.getapp-rating {
  grid-area: rsrc;
  justify-items: center;
  margin: 0 auto;
}
.rating-title {
  font-size: 1.5rem;
  padding: 1rem 0px;
  text-align:center;
  font-weight: 700;
}
.slide-review-client{
  font-size: 1.2rem;
  padding-bottom: 2rem;
  text-align:center;
  font-weight: 400;
  color: #777;
}
.getapp-logo {
  text-align: center;
  margin: o auto;
}
.getapp-logo a {
  display: block;
  background: url('../images/getapp.png') no-repeat content-box;
  width: 100%;
  height: 100px;
  background-size: contain;

}
.getapp-summary-rating{
  text-align: center;
  padding: 10px 0;
  font-size: 1.2rem;
}
.big-rating {
  color: #689F38;
  font-size: 2rem;
  display: inline;
}
.getapp-preview-percentage, .getapp-rec-percentage {
   margin: 0 20px 0 5px;
   color: #689F38;
   font-size: 22px;
   font-weight: 500;
   line-height: 22px;
}
.getapp-feedback {
  width: 18rem;
  font-size: 1.2rem;
}
.getapp-feedback td {
  height: 40px;
  vertical-align: top;
  padding: 5px;
}
/* Call to Action */
.mastcalltoaction {
  background: #f4f4f4;
}
.mastcalltoaction-title {
  grid-area: title;
}
.innercalltoaction {
  grid-area: inner;
  align-self: center;
  justify-items: center;
}
.innercalltoaction-il {
  grid-area: inneril;
  align-self: center;
  justify-items: center;
  margin: 0 auto;
}
/* Style Contact Form */
input[type=text], input[type=email], input[type=phone], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: .5rem;
  margin-bottom: 1.5rem;
  resize: vertical;
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
}
input[type=submit] {
  float: right;
  background-color: #4CAF50;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}
input[type=submit]:hover {
  background-color: #6fb972;
}
.contact-form {
  border-radius: 5px;
  background-color: #fff;
  padding: 20px;
}
.contact-form-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: #333;
}
.contact-form label {
  font-size: 1.2rem;
  color: #444;
  font-weight: 400;
}
/* flags */
.flags {
  text-align: center;
  display: grid;
  grid-template-columns: 2em auto 2em;
  grid-gap: 1em;
  grid-template-areas:
    '. . .'
    '. flag1 .'
    '. flag2 .'
    '. flag3 .'
    '. flag4 .'
    '. flag5 .'
    '. . .';
    grid-auto-rows: minmax(4em, auto);
    background: #fff;
}
.flag1 {grid-area: flag1;}
.flag1 a{
  display: block;
  height: 100px;
  background-image: url('../images/galileo.png');
  background-size: auto;
  background-repeat: no-repeat;
  background-position: center;
}
.flag2 {grid-area: flag2;}
.flag2 a{
  display: block;
  height: 100px;
  background-image: url('../images/jdmis.png');
  background-size: auto;
  background-repeat: no-repeat;
  background-position: center;
}
.flag3 {grid-area: flag3;}
.flag3 a{
  display: block;
  height: 100px;
  background-image: url('../images/topflytech.png');
  background-size: auto;
  background-repeat: no-repeat;
  background-position: center;
}
.flag4 {grid-area: flag4;}
.flag4 a{
  display: block;
  height: 100px;
  background-image: url('../images/enisa.png');
  background-size: auto;
  background-repeat: no-repeat;
  background-position: center;
}
.flag5 {grid-area: flag5;}
.flag5 a{
  display: block;
  height: 100px;
  background-image: url('../images/enisa-spain.png');
  background-size: auto;
  background-repeat: no-repeat;
  background-position: center;
}
/* Footer */
.footer {
  grid-area: footer;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  grid-template-areas:
    '. . .'
    '. col1 .'
    '. col2 .'
    '. col3 .'
    '. col4 .'
    '. . .'
    'c c c';
  grid-auto-rows: minmax(2rem, auto);
  background: rgba(42, 79, 160, 0.15);
}
.col1 {
  grid-area: col1;
  padding: 3em 0;
}
.col2 {
  grid-area: col2;
}
.col3 {
  grid-area: col3;
}
.col4 {
  grid-area: col4;
}
.footer h3 {
  color: #444;
  font-size: 1.5rem;
  font-weight: 900;
}
.footer ol {
  padding-left: 10px;
}
.footer li {
padding: .5rem 0;
}
.footer li a {
  color: #666;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}
.footer li a:hover {
  color: #2A50A0;
}
.footercrights {
  grid-area: c;
  border-top: .0625rem solid #aaa;
}
.footercrights-grid {
  display: grid;
  grid-template-columns: 2em auto 2em;
  grid-auto-rows: minmax(2em, auto);
  grid-template-areas:
  '. . .'
  '. fc-col1 .'
  '. fc-col2 .'
  '. fc-col3 .'
  '. . .';
  line-height: 1rem;
  font-size: 1rem;
  font-weight: 400;
  color: #444;
  text-align: center;
}
.footercrights a {
  color: #666
}
.fc-col1{
  grid-area: fc-col1;
}
.fc-col2{
  grid-area: fc-col2;
}
.fc-col3{
  grid-area: fc-col3;
}
/* Media */
@media screen and (min-width: 560px) {
    /* Get App */
    .getapp-reviews-slideshow {
      overflow: hidden;
      height: 320px;
      width: 500px;
      margin: 0 auto;
    }
    .main-slideshow {
      width: 2000px;
    }
    .slide {
      float: left;
      height: 320px;
      width: 500px;
      padding: 2.5rem 3rem;
    }
    @-webkit-keyframes slide {
      20% {margin-left: 0px;}
      30% {margin-left: -500px;}
      50% {margin-left: -500px;}
      60% {margin-left: -1000px;}
      70% {margin-left: -1000px;}
      80% {margin-left: -1500px;}
      90% {margin-left: -1500px;}
    }
  /* flags */
  .flags {
    grid-template-columns: 2em auto auto 2em;
    grid-gap: 1em;
    grid-template-areas:
      '. . . .'
      '. flag1 flag2 .'
      '. flag3 flag4  .'
      '. flag5 flag5 .'
      '. . . .';
      grid-auto-rows: minmax(4em, auto);
  }
  /* Footer */
  .footer {
    grid-template-columns: 2em auto auto 2em;
    grid-template-areas:
      '. . . .'
      '. col1 col1 .'
      '. col2 col3 .'
      '. col4 col4  .'
      '. . . .'
      'c c c c';
    grid-auto-rows: minmax(2rem, auto);
  }
}
@media screen and (min-width: 770px) {
  /* Get App */
  .getapp-reviews-slideshow {
    overflow: hidden;
    height: 320px;
    width: 650px;
    margin: 0 auto;
  }
  .main-slideshow {
    width: 2600px;
  }
  .slide {
    float: left;
    height: 320px;
    width: 650px;
    padding: 2.5rem 3rem;
  }
  @-webkit-keyframes slide {
    20% {margin-left: 0px;}
    30% {margin-left: -650px;}
    50% {margin-left: -650px;}
    60% {margin-left: -1300px;}
    70% {margin-left: -1300px;}
    80% {margin-left: -1950px;}
    90% {margin-left: -1950px;}
  }
  /* flags */
  .flags {
    grid-template-columns: 2em auto auto auto 2em;
    grid-template-areas:
      '. . . . .'
      '. flag1 flag2 flag3 .'
      '. flag4 flag5 .  .'
      '. . . . .';
  }
    /* Footer */
    .footer {
      grid-template-columns: 2em auto auto auto 2em;
      grid-template-areas:
        '. . . . .'
        '. col1 col1 col1 .'
        '. col2 col3 col4 .'
        '. . . . .'
        'c c c c c';
      grid-auto-rows: minmax(2rem, auto);
  }
  .footercrights-grid {
    grid-template-columns: auto auto auto auto;
    grid-auto-rows: minmax(2em, auto);
    grid-column-gap: 3em;
    grid-template-areas:
    '. . . .'
    '. fc-col1 fc-col2  .'
    '. fc-col3 fc-col3 .'
    '. . . .';
  }
}
@media screen and (min-width: 1024px) {
  /* nav full*/
  .nav-toggle-label {
    display: none;
  }
  .navhead {
    display: grid;
    grid-template-columns: 1fr auto minmax(600px, 3fr) 1fr;
  }
  .main-logo {
    grid-column: 2 / 3;
  }
  nav {
    all: unset;
    position: relative;
    text-align: left;
    transition: none;
    transform: scale(1,1);
    background: none;
    top: initial;
    left: initial;

    grid-column: 3 / 4;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  nav ul {
    display: flex;
  }
  nav li {
    margin-left: 3em;
    margin-bottom: 0;
  }
  nav a {
    opacity: 1;
    position: relative;
  }
  nav a::before {
    content: '';
    display: block;
    height: 5px;
    background: #2A50A0;
    position: absolute;
    top: -.75em;
    left: 0;
    right: 0;
    transform: scale(0, 1);
    transition: transform ease-in-out 250ms;
  }
  nav a:hover::before {
    transform: scale(1,1);
  }
  .mav-item {padding: 15px 0;}
  .grid{
    display: grid;
    grid-template-columns: .5fr 2fr 1fr .5fr;
    grid-row-gap: 5em;
    grid-template-areas:
    '. . . .'
    '. inner inneril .'
    '. . . .';
  }
  .grid-sp{
    display: grid;
    grid-template-columns: .5fr 2fr .25fr 2fr .5fr;
    grid-row-gap: 1em;
    grid-template-areas:
    '. . . . .'
    '. inneril inneril inneril .'
    '. title title title .'
    '. para-1 . para-2 .'
    '. . . . .';
  }
  .grid-w-title, .grid-w-title-rev {
    display: grid;
    grid-template-columns: 1fr 4fr 4fr 1fr;
    grid-row-gap: 2em;
    grid-template-areas:
    '. . . .'
    '. title title .'
    '. inner inneril .'
    '. . . .';
  }
  .grid-w-title-sp {
    display: grid;
    grid-template-columns: 1fr 4fr 4fr 1fr;
    grid-row-gap: 2em;
    grid-template-areas:
    '. . . .'
    '. inner inner .'
    '. . . .';
  }
  /* Footer */
  .footer {
    grid-template-columns: 2em auto auto auto auto 2em;
    grid-template-areas:
      '. . . . . .'
      '. col1 col2 col3 col4 .'
      '. . . . . .'
      'c c c c c c';
  grid-auto-rows: minmax(2rem, auto);
  }
   /* GetApp Testimonial */
   .getapp-reviews {
    grid-template-columns: .5fr 1fr 1fr .5fr;
    grid-template-areas:
    '. . . .'
    'title title title title'
    '. rev rsrc .'
    '. . . .';
  }
  .footercrights-grid {
    grid-template-columns: auto auto auto auto auto;
    grid-auto-rows: minmax(2em, auto);
    grid-column-gap: 3em;
    grid-template-areas:
    '. . . . .'
    '. fc-col1 fc-col2 fc-col3  .'
    '. . . . .';
  }
}
@media screen and (min-width: 1400px) {
  .grid{
    grid-template-columns: .5fr 1fr 1fr .5fr;
  }
  .grid-w-title, .grid-w-title-rev {
    grid-template-columns: .5fr 1fr 1fr .5fr;
  }
  /* GetApp Testimonial */
  .getapp-reviews {
    grid-template-columns: .5fr 1fr 1fr .5fr;
    grid-template-areas:
    '. . . .'
    '. title title .'
    '. rev rsrc .'
    '. . . .';
  }
  /* GetApp FLags*/
  .flags {
    grid-template-columns: .5fr 1fr 1fr 1fr 1fr 1fr .5fr;
    grid-gap: 0;
    grid-template-areas:
    '. . . . . . .'
    '. flag1 flag2 flag3 flag4 flag5 .'
    '. . . . . . .';
  }
  /* Footer */
  .footer {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-areas:
      '. . . . . .'
      '. col1 col2 col3 col4 .'
      '. . . . . .'
      'c c c c c c';
  grid-auto-rows: minmax(2rem, auto);
  }
  .inneril-b{
    padding: 0em 10em;
  }
}
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 999; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
}
/* Modal Content */
.modal-content {
  background: url('../images/modal.jpeg');
  background-position-x: right;
  max-width: 524px;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  height: 370px;
}
.modal-para{
  width: 200px;
}
/* The Close Button */
.close {
  color: #000;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.close:hover,
.close:focus {
  color: #aaa;
  text-decoration: none;
  cursor: pointer;
}
.modal-desc{
  position: relative;
  float: right;
  width: 230px;
}
.modal-contact {
  width: 100%;
  display: block;
  margin-top: -50px;
}
.modal-contact input[type=text], .modal-contact input[type=email], .modal-contact input[type=phone], .modal-contact select, .modal-contact textarea {
  width: 50%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 0;
  margin-bottom: 0.5rem;
  resize: vertical;
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  border-color: #aaa;
}
.modal-contact input[type=submit] {
  background-color: #2A50A0;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}
.modal-contact input[type=submit]:hover {
  background-color: #5770a5;
}
.modal-title {font-size: 1.1rem}
.modal-para {font-size: 0.9rem}
