/*-------------------------------- E L L I P S I S ---------------------------------*/
/*

@mixin ()
{
	-webkit-: ;
	   -moz-: ;
	    -ms-: ;
	     -o-: ;
			: ;
}
*/
.title-client img {
  width: 100%;
  height: 100%;
}

.body-client {
  -webkit-justify-content: center;
  -moz-justify-content: center;
  justify-content: center;
  width: 100%;
}

.content-body-client {
  width: 80%;
}

.subtitle-client {
  -webkit-align-items: center;
  align-items: center;
  -webkit-text-align: center;
  text-align: center;
  display: flex;
}

.s2-client {
  -webkit-justify-content: center;
  -moz-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  margin-top: 15px;
}

.text-client {
  width: 50%;
  padding: 10px;
  margin-right: 25px;
}

.text-client p {
  -webkit-text-align: justify;
  text-align: justify;
}

.text-client a {
  font-size: 16px;
}

/*                ACORDDION                     */
.title-accor {
  -webkit-justify-content: center;
  -moz-justify-content: center;
  justify-content: center;
  -webkit-text-align: center;
  text-align: center;
  width: 80%;
}

.content-accor {
  -webkit-justify-content: center;
  -moz-justify-content: center;
  justify-content: center;
  -webkit-text-align: center;
  text-align: center;
  width: 100%;
}

/* acordion*/
[data-accordion-element-content] {
  height: auto;
  overflow: hidden;
  transition: height .5s;
}

* {
  box-sizing: border-box;
}

body {
  overflow: scroll;
}

.card {
  width: 80%;
  border-radius: 2px;
  background: white;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
}

article {
  position: relative;
  transition: all .3s;
  background: #E8EAF6;
}

article.selected {
  transform: scale(1.1);
  box-shadow: 0 0 5px rgba(2, 2, 2, 0.4);
  z-index: 2;
}

.card .content-accordion {
  position: relative;
  background: #1e4e7d;
  padding: 20px 30px;
  font-size: 20px;
  color: #fff;
  overflow: hidden;
  transition: background .3s;
}

.card .content-accordion:hover,
.selected .card .content-accordion {
  cursor: pointer;
  background: #0299da;
}

.card .content-accordion:before, .card .content-accordion:after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -1px;
  margin-right: 40px;
  width: 20px;
  height: 2px;
  background: #fff;
  transition: transform .3s;
}

.card .content-accordion:before {
  transform: rotate(0deg);
  animation: close-line-one-in .8s forwards;
}

.selected .card .content-accordion:before {
  animation: close-line-one-out .8s forwards;
}

.card .content-accordion:after {
  transform: rotate(90deg);
  animation: close-line-two-in .8s forwards;
}

.selected .card .content-accordion:after {
  animation: close-line-two-out .8s forwards;
}

.card p {
  background: #E8EAF6;
}

.title-accordion {
  background: linear-gradient(-90deg, #ccc, white);
  color: #000;
  display: grid;
}

.content {
  opacity: 0;
  transform: translateY(20px);
  transition: all ease-out .4s .1s;
}

.selected .content {
  transform: translateY(0);
  opacity: 1;
  padding: 20px;
}

@keyframes close-line-one-out {
  0%, 50% {
    transform: translateX(0);
  }
  75% {
    transform: translateX(50px);
  }
  76% {
    transform: translateX(50px) translateY(50px);
  }
  100% {
    transform: rotate(45deg);
  }
}

@keyframes close-line-one-in {
  0%, 20% {
    transform: rotate(45deg);
  }
  60% {
    transform: translateX(50px) translateY(50px) rotate(45deg);
  }
  61% {
    transform: translateX(50px);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes close-line-two-out {
  0%, 50% {
    transform: rotate(90deg);
  }
  75% {
    transform: translateY(-50px) rotate(90deg);
  }
  76% {
    transform: translateY(-50px) translateX(50px) rotate(90deg);
  }
  100% {
    transform: rotate(135deg);
  }
}

@keyframes close-line-two-in {
  0% {
    transform: rotate(135deg);
  }
  50% {
    transform: translateY(-50px) translateX(50px) rotate(135deg);
  }
  51% {
    transform: translateY(-50px) rotate(90deg);
  }
  100% {
    transform: rotate(90deg);
  }
}

.row-gym {
  -webkit-justify-content: center;
  -moz-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-text-align: center;
  text-align: center;
}

.acco-cont {
  margin: 0 30px 0 30px;
}

.acco-cont p {
  width: 80%;
  margin: auto;
}

.acco-cont img {
  margin-bottom: 15px;
}

.title-sect {
  width: 80%;
}

.title-sect span {
  color: #01376b;
  font-weight: bold;
  font-size: 1.6rem;
}

/********************************/
/*          Media Queries       */
/********************************/
@media screen and (max-width: 1123px) {
  .text-client {
    width: 100%;
  }
  .bt-client-s2 {
    -webkit-justify-content: center;
    -moz-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    justify-content: center;
  }
}

@media screen and (max-width: 1000px) {
  .obj-fm {
    display: contents;
  }
  .advantages-fm {
    width: 50%;
    height: 40%;
    margin: 20px 0;
  }
}

@media screen and (max-width: 700px) {
  .advantages-fm {
    width: 70%;
  }
}

@media screen and (max-width: 600px) {
  .title-accordion img {
    width: 100%;
  }
}

@media screen and (max-width: 540px) {
  .advantages-fm {
    width: 80%;
  }
  .card .content-accordion {
    padding: 20px 15px;
  }
}
