/*HOME*/
.homecarouselcontainer {
  position: relative;
}

.home {
/*
  padding: 182px 0px 440px 0px;
  background-size: cover;
  background-size: contain;
*/  
  padding: 182px 0px 340px 0px;
  background-size: 100% 100%;
  position: relative;
}

.home:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3);
}

.home .container {
  position: relative;
}

.home span {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
  text-transform: uppercase;
}

.home h2 {
  font-size: 68px;
  line-height:1;
  font-weight: 700;
  margin-bottom: 20px;
  color:#fff;
  text-transform: uppercase;
}

.home .boxedbtn {
  display: inline-block;
  text-transform: uppercase;
}

.homecarouselarrows {
  position: absolute;
  top: calc(50% - 80px);
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 1%;
  pointer-events: none;
}

.homecarouselarrows__left, .homecarouselarrows__right {
    border: none;
    color: #fff;
    background-color: transparent;
    font-size: 80px;
    cursor: pointer;
    outline: none;
    pointer-events: all;
    opacity: 0;
    transition: .5s;
}

.homecarouselcontainer:hover .homecarouselarrows__left, .homecarouselcontainer:hover .homecarouselarrows__right {
  opacity: 1;
}

@media (max-width: 991px) {
  .home {
    padding: 182px 0px 182px 0px;
  }

  .home h2 {
    font-size: 60px;
  }
}

@media (max-width: 380px) {
  .home h2 {
    font-size: 45px;
  }
}
/*END HOME*/

/* ABOUT */
.about .container {
  display: flex;
  flex-flow: row wrap;
  position: relative;
  min-height: 490px;
  margin-top: -250px;
  box-shadow: 0px 0px 84px 0px rgba(0, 0, 0, 0.08);
   padding: 0;
}

.about__image {
  width: 45%;
  background-color: #fff;
}

.about__image img {
  width: 100%;
  position: absolute;
  height: 100%;
  clip-path: polygon(0 0, 23% 0, 40% 100%, 0% 100%);
}

.about__content {
  width: 55%;
  z-index: 1;
  background-color: #fff;
  padding: 65px 60px 65px 25px;
  /*padding: 91px 120px 79px 25px;*/ 
}

.about__content .boxedbtn {
  display: inline-block;
  /*border: 1px solid #58bed3;*/
}

.about__item {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  margin-bottom: 20px;
}

.about__item i {
  font-size: 45px;
  /*color: #58bed3;*/
}

.about__item__details {
  margin-left: 30px;
  display: flex;
  flex-flow: row wrap;
}

.about__item span {
  font-size: 18px;
  font-weight: 900;
  color: #183650;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.about__item p {
  line-height: 1.6;
  text-transform: unset;
  font-size: 16px;
  font-weight: 400;
  color: #4e5861;
  max-height: 350px;
  overflow-y: auto;
}

/* about__item scrollbar */
  /* width */
  .container ::-webkit-scrollbar {
    width: 5px;
  }
   
  /* Handle */
  .container ::-webkit-scrollbar-thumb {
    background: #716f6f;
  }
/* end about__item scrollbar */

@media (max-width: 761px) {
  .about .container {
    margin-top: 100px;
  }

  .about__image {
    width: 100%;
  }
	.about__image img{position: relative; clip-path: none;}

  .about__content {
    width: 100%;
    padding: 45px 25px 45px 25px;
  }

}

/* END ABOUT */

/* SERVICES */
.services {
  padding: 100px 0 80px 0;
}

.services__row {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  margin: -20px;
}

.services__item {
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  align-items: center;

  width: calc(33% - 20px);
  padding: 30px;
  border: 2px solid #f1f1f1;
  position: relative;
  margin: 10px;  
}

.services__item:before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  bottom: 100%;
  right: 100%;
  opacity: 0;
  /*border-top: 2px solid #58bed3;
  border-right: 2px solid #58bed3;*/
}

.services__item:after {
  content: "";
  position: absolute;
  bottom: 0px;
  right: 0px;
  top: 100%;
  left: 100%;
  opacity: 0;
  /*border-bottom: 2px solid #58bed3;
  border-left: 2px solid #58bed3;*/
}

.services__item:hover:before {
  opacity: 1;
  right: 0px;
  bottom: 0px;
  transition: opacity .001s, right .125s linear .001s, bottom .125s linear .126s;
}

.services__item:hover:after {
  transition: opacity .001s linear .251s, left .125s linear .252s, top .125s linear .377s;
  opacity: 1;
  left: 0px;
  top: 0px;
}

.services__item img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
}

.services__item i {
  font-size: 60px;
  /*color: #58bed3;*/
}

.services__item h3 {
  font-size: 18px;
  font-weight: 900;
  color: #183650;
  text-transform: uppercase;
  margin: 8px 0;
}

.services__item p {
  color: #4e5861;
  line-height: 24px;
  font-size: 16px;
  height: 120px;
  overflow-y: auto;
  z-index: 1;
}

@media (max-width: 991px) {
  .services__item {
    width: calc(50% - 20px);
  }
}

@media (max-width: 767px) {
  .services__item {
    width: 100%;
  }
}
/* END SERVICES */

/* privatearea */
.privatearea {
  padding: 70px 0;
  /*background-color: #1f415f;*/
}

.privatearea .container {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
}

.privatearea i {
  /*color: #58bed3;*/
  margin-right: 5px;
}

.privatearea h3 {
  color: #fff;
  font-size: 30px;
  font-weight: 700;
}

.privatearea h3 p {
  font-size: 16px;
  font-weight: 400;
}

.privatearea .boxedbtn {
  font-size: 16px;
}

@media (max-width: 991px) {
  .privatearea .container {
    flex-flow: column wrap;
    justify-content: center;
  }

  .privatearea h3 {
    margin-bottom: 20px;
    text-align: center;
  }
}
/* end privatearea */

/*team*/
.team {
  padding: 100px 0;
}

.team__row {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: baseline;
  margin: -20px;
}

.team__item {
  width: calc(25% - 20px);
  margin: 10px;
}

.team__item:hover img {
	filter: brightness(1.1);
    transform: scale(1.1);
    transition: .2s ease;
}

.team__item__img {
  overflow: hidden;
}

.team__item__img img {
  width: 100%;
  display: block;
  transition: .5s ease;
  object-fit: contain;
  max-height: 300px;
}

.team__item h4 {
  color: #183650;
  font-weight: 700;
  margin-top: 10px;
  font-size: 24px;
}

.team__item p {
  /*color: #58bed3;*/
  font-size: 16px;
  font-weight: 400;
}

@media (max-width: 991px) {
  .team__item {
    width: calc(33% - 20px);
  }
}

@media (max-width: 767px) {
  .team__item {
    width: 100%;
	margin-bottom:40px;
  }

  .team__item h4, .team__item p {
    text-align: center;
  }
}
/*end team*/




/* Newsletter */
section.newsletter {
    background-color: #efefef;
    padding: 30px 0 !important;

    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-content: center;
}

section.newsletter h1 {
    color: #bf9e58;
    /*font-size: 1.5vw;*/
}

section.newsletter p {
	font-size:12px;
}

section.newsletter input{
    height: 45px;
    border-radius: 5px;
    border: 3px solid #ffffff;
    background-color: transparent;
    text-align: center;
}

section.newsletter input::placeholder{
    color: #000000;
    text-align: center;
}

section.newsletter span {
    background-color: #ffffff;
    height: 45px;
    border-radius: 5px;
	padding:5px;
}

section.newsletter span h2 {
    color: #bf9e58;
    text-align: center;
	font-size:18px;
    line-height: 1;
	padding: 0;	
    width: 100%;
}

section.newsletter button{
    height: 45px;
    border-radius: 5px;
    text-transform: uppercase;
    background-color: #bf9e58;
    color: #ffffff;
    cursor: pointer;
    text-align: center;
	border:0px;
}

section.newsletter button i {
    height: 100%;
    padding: 0 10px;
}

section.newsletter button:hover {
    background-color: #ffffff;
    color: #bf9e58;
    border: 1px solid #ac8e4f;

    transition: all 0.5s linear;
}

section.newsletter .grid-1 {
    width: 12%;
}


.row-center-start {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-content: center;
    align-items: center;
}

.row-center-between {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-content: center;
    align-items: center;
}

@media (max-width: 720px) {
    section.newsletter .grid-1 {
        width: 100%;
    }

    section.newsletter .zerar-margin {
        margin: 5px 0 !important;
    }
}
/* Newsletter */