html, body{
  width: 100%;
  min-height: 100vh;
  font-family: 'Proxima Nova', sans-serif;
  color: #000;
  font-size: 16px;
  margin: 0;
  padding: 0;
}

h1{
  font-family: 'Libre Baskerville', serif;
}

#wrapper{
  width: 100%;
  min-height: 100vh;
  padding: 0;
  margin: 0;
  display: flex;
  flex-flow: column;
}


/**************HEADER*************/

header{
  width: 100%;
  display: flex;
  position: relative;
  z-index: 10;
  background-image: linear-gradient(to right, #114879, #114879), linear-gradient(to right, #FFF, #FFF);
  background-repeat: no-repeat;
  background-size: 100% 20px, 100% 93px;
  background-position: top center, bottom center;
}

header.home{
  background-size: 960px 20px, 960px 93px;
  position: absolute;
  top: 0;
  left: 0;
}

header div.h-content{
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  padding-right: 5px;
  padding-top: 20px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
}

header div.h-content a.logo{
  margin: 10px 0;
}

header div.h-content nav a.mobile{
  display: none;
}

header div.h-content nav > ul{
  display: flex;
}

header div.h-content nav > ul > li{
  margin: 0 15px;
  position: relative;
}

header div.h-content nav > ul > li > a{
  height: 93px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

header div.h-content nav > ul > li:hover > a, header div.h-content nav > ul > li > a.selected{
  background-image: linear-gradient(to right, #3594D7, #3594D7);
  background-repeat: no-repeat;
  background-size: 100% 4px;
  background-position: bottom;
}


header div.h-content nav ul{
  list-style-type: none;
  padding: 0;
  margin: 0;
}

header div.h-content nav ul li a{
  text-decoration: none;
  color: #000;
}


header div.h-content nav > ul > li > ul{
  position: absolute;
  left: 0;
  top: 93px;
  display: none;
}

header div.h-content nav > ul > li.has-sons:hover > ul{
  display: flex;
}

header div.h-content nav > ul > li > ul{
  flex-flow: column;
}

header div.h-content nav > ul > li > ul li a{
  padding: 20px;
  box-sizing: border-box;
  background-color: #1767AF;
  min-width: 265px;
  color:#FFF;
  display: block;
}

header div.h-content nav > ul > li > ul li a:hover, header div.h-content nav > ul > li > ul li a.selected{
  font-weight: bold;
  background-color: #114879;
}

main{
  width: 100%;
  display: flex;
  flex-flow: column;
}

@media screen and (max-width:850px) {
  header div.h-content nav a.mobile{
    display: flex;
    margin: auto;
  }

  header div.h-content nav{
    display: flex;
    margin-right: 20px;
  }

  header div.h-content nav > ul{
    position: absolute;
    top: 113px;
    right: 20px;
    width: calc(100% - 20px);
    max-width: 340px;
    flex-flow: column;
    /*background: linear-gradient(180deg, #C4C4C4 0%, rgba(196, 196, 196, 0) 68.42%);*/
    background-color: #FFF;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    display: none;
  }

  header div.h-content nav > ul.open{
    display: flex;
  }

  header div.h-content nav ul li{
    height: 60px;
    overflow: hidden;
  }

  header div.h-content nav > ul > li > a{
    height: 60px;
    justify-content: flex-end;
    padding-right: 20px;
  }

  header div.h-content nav > ul > li > ul{
    position: relative;
  }

  header div.h-content nav > ul > li.has-sons > ul{
    display: flex;
  }

  header div.h-content nav > ul > li{
    margin: 0;
  }

  header div.h-content nav > ul > li.has-sons:hover > ul{
    display: flex;
  }

  header div.h-content nav > ul > li.has-sons.open{
    height: auto;
    background-image: linear-gradient(to right, #3594D7, #3594D7);
    background-repeat: no-repeat;
    background-size: 100% 4px;
    background-position: 0 56px;
  }

  header div.h-content nav > ul > li.has-sons.open > ul{
    top: 0px;
  }

  header div.h-content nav > ul > li > ul li a{
    text-align: right;
  }


}

/**************IMAGE GALLEY*************/

div.image-gallery{
  width: 100%;
  overflow: hidden;
  position: relative;
}

div.image-gallery div.img-content{
  display: inline-flex;
  position: relative;
  transition: all 0.3s;
}

div.image-gallery div.img-content div.img{
  width: 100vw;
  margin: 0;
  position: relative;
}

div.image-gallery div.img-content div.img img{
  width: 100%;
}

div.image-gallery div.img-content div.img div.data{
  position: absolute;
  width: 100%;
  max-width: 960px;
  box-sizing: border-box;
  padding: 10px;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  display: flex;
  justify-content: center;
  flex-flow: column;
  color: #FFF;
}

div.image-gallery div.img-content div.img div.data h1{
  width: 100%;
  max-width: 460px;
  margin: 0;
  font-size: 40px;
}

div.image-gallery div.img-content div.img div.data p{
  width: 100%;
  max-width: 460px;
  margin: 10px 0;
  font-size: 20px;
}

div.image-gallery div.img-content div.img div.data a{
  background: #3594D7;
  border-radius: 6px;
  font-weight: bold;
  font-size: 16px;
  line-height: 18px;
  color: #FFF;
  padding: 8px 25px;
  margin-right: auto;
  text-decoration: none;
  margin-top: 10px;
}

div.image-gallery nav{
  position: absolute;
  bottom: 20px;
  display: flex;
  left: 50%;
  transform: translate(-50%, 0);
}

div.image-gallery nav a{
  display: block;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  margin:  0 10px;
  border-radius: 10px;
}

div.image-gallery nav a:hover, div.image-gallery nav a.selected{
  background: #FFF;
}

@media screen and (max-width:640px) {
  div.image-gallery{
    margin-top: 113px;
  }

  div.image-gallery div.img-content div.img div.data h1{
    font-size: 20px;
  }

  div.image-gallery div.img-content div.img div.data p{
    font-size: 14px;
  }

  div.image-gallery div.img-content div.img div.data a{
    font-size: 14px;
    padding: 6px 15px;
    margin-top: 5px;
  }
}


/******CONTENT********/

div.content{

  width: 100%;
  display: flex;
}

div.content.blue{
  color: #FFF;
  background: #114879;
}

div.content.light-blue{
  color: #000;
  background: #E0F2FF;
}

div.content.shadow-grey{
  background: #F5F5F5;
  box-shadow: inset 0px 20px 20px 0px rgba(0,0,0,0.1);
}

div.content > div{
  max-width: 980px;
  width: 100%;
  box-sizing: border-box;
  padding-left: 10px !important;
  padding-right: 10px !important;
  margin: 0 auto;
}

div.content div.offer{
  display: flex;
  justify-content: space-between;
  padding: 60px 0;
  flex-wrap: wrap;
}

div.content div.offer div{
  max-width: 210px;
  display: flex;
  flex-flow: column;
}

div.content div.offer div img{
  margin:  0 auto;
  max-width: 70%;
}

div.content div.offer div p{
  font-weight: bold;
  font-size: 24px;
  line-height: 24px;
  text-align: center;
}

div.home-discuss{
  width: 100%;
  padding: 50px 0;
  display: flex;
  justify-content: space-between;
}

div.home-discuss h1{
  font-size: 35px;
  line-height: 43px;
  margin: auto 0;
  padding-left: 28px;
  width: 50%;
  max-width: 400px;
  background-image: linear-gradient(to right, #FFF, #FFF);
  background-repeat: no-repeat;
  background-size: 3px 80%;
  background-position: left center;
}


div.home-discuss div.info{
  margin: auto 0;
  display: flex;
  flex-flow: column;
}

div.home-discuss div.info p{
  text-align: right;
  font-weight: normal;
  font-size: 16px;
  line-height: 24px;
  margin: 0;
}

div.home-discuss div.info a{
  color: #FFF;
  text-decoration: none;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  line-height: 18px;
  margin-left: auto;
  margin-top: 20px;
  background: #3594D7;
  border-radius: 6px;
  padding: 7px 15px;
  background-color: #3594D7;
}

@media screen and (max-width:640px) {

  div.content > div{
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  div.content div.offer{
    justify-content: center;
  }

  div.content div.offer div{
    margin: 0 10px;
    width: calc(50% - 25px);
  }

  div.content div.offer div p{
    font-size: 16px;
  }

  div.home-discuss{
    flex-flow: column;
  }

  div.home-discuss h1{
    width: 100%;
    max-width: none;
    background-size: 100px 3px;
    background-position: left top;
    padding-left: 0;
    padding-top: 20px;
  }

  div.home-discuss div.info{
    margin-top: 20px;
  }

  div.home-discuss div.info p{
    text-align: left;
  }

  div.home-discuss div.info a{
    margin-left: 0;
    margin-right: auto;
  }

  div.contact{
    flex-flow: column;
  }

  div.contact > div{
    width: 100% !important;
    max-width: none !important;
  }

  footer div.ft-content div.top p{
    width: 80%;
    max-width: 280px;
    margin-top: 0;
  }

  footer div.ft-content div.top nav{
    display: flex;
    justify-content: space-between;
  }


}

/*****CONTACT US*****/

div.contact{
  padding: 60px 0;
  display: flex;
  justify-content: space-between;
}

div.contact div.left{
  display: flex;
  flex-flow: column;
  width: 50%;
  max-width: 450px;
  padding-top: 15px;
  background-image: linear-gradient(to right, #3594D7, #3594D7);
  background-repeat: no-repeat;
  background-size: 25% 3px;
  background-position: left top;
}

div.contact div.left h1{
  margin: 0;
  font-size: 30px;
  line-height: 37px;
  margin-bottom: 10px;
}

div.contact div.left p{
  font-size: 16px;
  line-height: 22px;
  margin: 0;
}

div.contact div.left p.bold{
  font-weight: bold;
}


div.contact div.left div.map{
  width: 100%;
  height: 100%;
  border: 1px solid #6C8398;
  box-sizing: border-box;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  margin-top: 20px;
}

div.contact div.left div.map:after {
  content: "";
  display: block;
  padding-bottom: 100%;
}

div.contact div.left div.map iframe{
  width: 100%;
  height: 100%;
  position: absolute;
}

div.contact div.right{
  display: flex;
  width: 50%;
  max-width: 420px;
  padding-top: 15px;
}

div.contact div.right form{
  display: flex;
  flex-flow: column;
  width: 100%;
}

div.contact div.right form label{
  font-weight: normal;
  font-size: 16px;
  line-height: 16px;
  padding-left: 5px;
}

div.contact div.right form input, div.contact div.right form textarea{
  background: #F3FAFF;
  border: 1px solid #6C8398;
  box-sizing: border-box;
  border-radius: 6px;
  width: 100%;
  font-size: 16px;
  padding: 5px;
  height: 40px;
  margin-top: 5px;
  margin-bottom: 10px;
}

div.contact div.right form textarea{
  height: 260px;
}

div.contact div.right form button{
  background: #3594D7;
  border: 0;
  border-radius: 6px;
  color: #FFF;
  font-weight: bold;
  font-size: 16px;
  line-height: 16px;
  margin-left: auto;
  height: 40px;
  text-align: center;
  min-width: 140px;
  margin-top: 15px;
}

div.contact div.right form button.loading{
  color: rgba(255, 0, 0, 0);
  background-image: url('../images/loading.gif');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30px;
  pointer-events: none;
}

div.contact div.right form div.msn{
  width: 100%;
  text-align: right;
  margin-top: 15px;
  font-size: 14px;
  box-sizing: border-box;
  padding-right: 5px;
}

div.contact div.right form div.msn.red{
  color: #F00;
}

div.contact div.right form div.msn.green{
  color: #0D8200;
}


/******BREADCRUMS******/

div.breadcrums{
  display: flex;
  margin-top: 30px !important;
  margin-bottom: 30px !important;
  font-size: 16px;
  color: #000;
  width: 100%;
}

div.breadcrums a{
  text-decoration: none;
  text-decoration: none;
  color: #000;
}

div.breadcrums a:hover{
  text-decoration: underline;
}

div.breadcrums span{
  margin: 0 5px;
}

div.breadcrums p{
  font-weight: bold;
  margin: 0;
}

/**********PROFESSIONALS******/

div.professionals{
  display: flex;
  flex-flow: column;
  width: 100%;
  padding: 40px 0;
}

div.professionals h1{
  font-weight: bold;
  font-size: 30px;
  line-height: 37px;
  text-align: center;
  padding-bottom: 20px;
  margin: 0;
  background-image: linear-gradient(to right, #3594D7, #3594D7);
  background-repeat: no-repeat;
  background-size: 65px 3px;
  background-position: bottom;
}

div.professionals div.partners{
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 30px;
}

div.professionals div.partners > div{
  display: flex;
  flex-flow: column;
  width: 49%;
  max-width: 450px;
}

div.professionals div.partners > div > img{
  margin: 0 auto;
}

div.professionals div.partners > div h2{
  font-size: 18px;
  line-height: 22px;
  text-align: center;
  margin-top: 20px;
  font-family: 'Libre Baskerville';
}

div.professionals div.partners > div p{
  font-size: 16px;
  line-height: 20px;
  text-align: center;
}

div.professionals div.partners > div ul{
  list-style-type: none;
  padding: 0;
  margin-top: 15px;
  text-align: center;
  font-size: 16px;
  line-height: 20px;
}

div.professionals div.partners > div ul li{
  margin-top: 5px;
}

div.professionals div.partners > div ul li a{
  color: #000;
  text-decoration: none;
}

div.professionals div.partners > div ul li a:hover{
  text-decoration: underline;
}

div.professionals div.partners > div nav{
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

div.professionals div.partners > div nav a.resume{
  margin-right: 10px;
  background: #3594D7;
  border-radius: 6px;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  padding: 5px 20px;
  color: #FFF;
  display: flex;
  text-decoration: none;
  align-items: center;
  height: 28px;
}

@media screen and (max-width:640px) {
  div.professionals div.partners{
    flex-flow: column;
    justify-content: center;
  }

  div.professionals div.partners > div{
    width: 90%;
    max-width: none;
    margin: 20px 0;
  }
}

/**********HISTORY********/
div.history{
  display: flex;
  padding: 40px 0;
  justify-content: space-between;
}

div.history > div{
  width: 49%;
  max-width: 450px;
}

div.history > div.left h1{
  text-align: right;
  padding-bottom: 20px;
  margin: 0;
  background-image: linear-gradient(to right, #3594D7, #3594D7);
  background-repeat: no-repeat;
  background-size: 100px 3px;
  background-position: bottom right;
  max-width: 380px;
  margin-left: auto;
}

div.history > div.left p{
  text-align: right;
  margin-top: 30px;
}

div.history > div.right img{
  max-width: 100%;
  margin-top: 0;
}

@media screen and (max-width:640px) {

  div.history{
      flex-flow: column;
  }

  div.history > div{
    width: 100%;
  }
}

/*******AFFILIATIONS*****/

div.affiliations{
  display: flex;
  padding: 40px 0;
  flex-flow: column;
}

div.affiliations h1{
  text-align: center;
  padding-bottom: 20px;
  margin: 0;
  background-image: linear-gradient(to right, #3594D7, #3594D7);
  background-repeat: no-repeat;
  background-size: 100px 3px;
  background-position: bottom;
}

div.affiliations nav{
  display: flex;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

div.affiliations nav a{
  display: flex;
  flex-flow: column;
  text-decoration: none;
  color: #000;
  max-width: 200px;
  margin: 30px 20px;
  margin-bottom: 0;
}

div.affiliations nav a img{
  max-width: 100%;
  margin: auto;
}

div.affiliations nav a p{
  text-align: center;
  margin-top: 10px;
}


/**********P STANDDARS********/
div.p-standards{
  display: flex;
  padding: 40px 0;
  justify-content: space-between;
}

div.p-standards > div{
  width: 49%;
  max-width: 450px;
}

div.p-standards > div.left img{
  max-width: 100%;
  margin-top: 0;
}

div.p-standards > div.right h1{
  padding-bottom: 20px;
  margin: 0;
  background-image: linear-gradient(to right, #3594D7, #3594D7);
  background-repeat: no-repeat;
  background-size: 100px 3px;
  background-position: bottom left;
}

div.p-standards > div.right > ul{
  padding: 0;
}

div.p-standards > div.right ul li{
  list-style-type: none;
  padding-left: 1em;
  margin-top: 10px;
}

div.p-standards > div.right ul li::before {
  content: "\2022";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
  color: #3594D7; /* Change the color */
  font-weight: bold; /* If you want it to be bold */
  display: inline-block; /* Needed to add space between the bullet and the text */
  width: 16px; /* Also needed for space (tweak if needed) */
  margin-left: -1em; /* Also needed for space (tweak if needed) */
  font-size: 20px;
}

@media screen and (max-width:640px) {
  div.p-standards{
    flex-flow: column;
  }

  div.p-standards > div{
    width: 100%;
    max-width: none;
  }

  div.p-standards > div{
    margin-top: 20px;
  }
}

/*******TESTIMONIES*********/

div.testimonials{
  display: flex;
  flex-flow: column;
}

div.testimonials h1{
  padding-top: 20px;
  margin: 0;
  background-image: linear-gradient(to right, #3594D7, #3594D7);
  background-repeat: no-repeat;
  background-size: 100px 3px;
  background-position: top;
  text-align: center;
}

div.testimonials div.testimonials-content{
  display: flex;
  width: 100%;
  overflow: hidden;
}

div.testimonials-content div.tc-list{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  padding-bottom: 20px;
}

div.tc-list div.testimony{
  display: flex;
  flex-flow: column;
  max-width: 500px;
  margin: 0 10px;
}

div.testimony div.stars{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

div.testimony div.stars img{
  margin: auto 10px;
}

div.testimony p{
  font-weight: normal;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  margin-top: 20px;
}

div.testimony h3{
  font-weight: 400;
  font-size: 16px;
  font-style: italic;
  margin-top: 20px;
  text-align: center;
}

/*********SERVICES*******/

div.services{
  padding-bottom: 40px;
}

div.services > img{
  width: 100%;
}

div.services h1{
  text-align: center;
  margin: 25px 0;
  margin-bottom: 0;
}

div.services div.service-list{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

div.services div.service-list div.s-info{
  width: 49%;
  display: flex;
  flex-flow: column;
  box-sizing: border-box;
  padding: 22px;
  background: #FFFFFF;
  box-shadow: 0px 7px 15px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  margin-top: 20px;
}

div.services div.service-list div.s-info h2{
  margin: 0;
  font-size: 24px;
}

div.services div.service-list div.s-info ul{
  padding-left: 15px;
  list-style-type: none;
}

div.services div.service-list div.s-info ul li::before {
  content: "\2022";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
  color: #000; /* Change the color */
  font-weight: bold; /* If you want it to be bold */
  display: inline-block; /* Needed to add space between the bullet and the text */
  width: 16px; /* Also needed for space (tweak if needed) */
  margin-left: -1em; /* Also needed for space (tweak if needed) */
  font-size: 16px;
}

@media screen and (max-width:640px) {

  div.services div.service-list{
    flex-flow: column;
  }

  div.services div.service-list div.s-info{
    width: 100%;
  }
}

/***********INDUSTRIES**********/

div.industries{
  padding: 40px 0;
  display: flex;
  flex-flow: column;
}

div.industries h1{
  text-align: center;
  margin: 0;
}

div.industries > p{
  text-align: center;
  margin: 20px auto;
  max-width: 400px;
  padding-bottom: 20px;
  background-image: linear-gradient(to right, #3594D7, #3594D7);
  background-repeat: no-repeat;
  background-size: 100px 3px;
  background-position: bottom;
}

div.industries nav{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

div.industries nav a{
  display: flex;
  flex-flow: column;
  margin-top: 20px;
  width: 25%;
  min-width: 200px;
}

div.industries nav a img{
  background: #114879;
  border-radius: 10px;
  padding: 20px;
  margin: 0 auto;
}

div.industries nav a h2{
  font-size: 16px;
  text-align: center;
  margin: 0 auto;
  margin-top: 20px;
  max-width: 200px;
}

@media screen and (max-width:640px) {
  div.industries nav{
    justify-content: center;
  }

  div.industries nav a{
    margin: 20px;
    min-width: 0;
    width: calc(50% - 40px);
  }
}

/**********TWO COLUMNS********/
div.two-columns{
  display: flex;
  padding: 40px 0;
  justify-content: space-between;
}

div.two-columns > div{
  width: 49%;
  max-width: 450px;
}

div.two-columns > div.left img{
  max-width: 100%;
  margin-top: 0;
}

div.two-columns > div.right h1{
  padding-bottom: 20px;
  margin: 0;
  background-image: linear-gradient(to right, #3594D7, #3594D7);
  background-repeat: no-repeat;
  background-size: 100px 3px;
  background-position: bottom left;
}

@media screen and (max-width:640px) {
  div.two-columns{
    flex-flow: column;
  }

  div.two-columns > div{
    width: 100%;
    max-width: none;
  }

  div.two-columns > div:last-of-type{
    margin-top: 20px;
  }
}

/*****FOOTER******/

footer{
  width: 100%;
  height: 415px;
  box-sizing: border-box;
  display: flex;
  padding-top: 20px;
  padding-bottom: 100px;
  background-image: linear-gradient(to right, #3594D7, #3594D7), linear-gradient(to right, #253851, #253851);
  background-repeat: no-repeat;
  background-size: 100% 115px, 100% 300px;
  background-position: top, bottom;
  color: #FFF;
}


footer div.ft-content{
  width: 100%;
  max-width: 1000px;
  padding: 0 10px;
  margin: 0 auto;
  display: flex;
  flex-flow: column;
  background-image: url('../images/cvva_isologo.png');
  background-repeat: no-repeat;
  background-position: top left;
  box-sizing: border-box;
  padding-left: 160px;
}


footer div.ft-content div.top{
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding-top: 5px;
}

footer div.ft-content div.top nav a{
  margin-left: 10px;
}

footer div.ft-content div.bottom{
  display: flex;
  margin-top: 70px;
}

footer div.ft-content div.bottom > div{
  margin-right: 50px;
  width: calc(50% - 50px);
  max-width: 300px;

}

footer div.ft-content div.bottom > div p{
  font-size: 16px;
  line-height: 20px;
  margin: 0;
}
