
.flex-container {
  /* We first create a flex layout context */
  display: flex;
  
  /* Then we define the flow direction and if we allow the items to wrap 
   * Remember this is the same as:
   * flex-direction: row;
   * flex-wrap: wrap;
   */
  flex-flow: row wrap;
  
  /* Then we define how is distributed the remaining space */
  justify-content: space-around;
}



.cbp-fwslider2 {
  position: relative;
  margin: 0 0 0px;
  overflow: hidden;
  padding: 0;
  height: auto;
  margin-top: -35px;
}

.cbp-fwslider2 ul {
	margin: 0;
	padding: 0;
	white-space: normal;
	list-style-type: none;
}

.cbp-fwslider2 ul li {
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  transform: translateZ(0);
  float: left;
  display: block;
  margin: 0;
  padding: 0;
  /* height: 507px; */
  position: relative;
  overflow: hidden;



background: #e3e3e3; /* Old browsers */
background: -moz-linear-gradient(top,  #e3e3e3 0%, #ffffff 19%, #ffffff 81%, #ffffff 81%, #e3e3e3 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e3e3e3), color-stop(19%,#ffffff), color-stop(81%,#ffffff), color-stop(81%,#ffffff), color-stop(100%,#e3e3e3)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #e3e3e3 0%,#ffffff 19%,#ffffff 81%,#ffffff 81%,#e3e3e3 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #e3e3e3 0%,#ffffff 19%,#ffffff 81%,#ffffff 81%,#e3e3e3 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #e3e3e3 0%,#ffffff 19%,#ffffff 81%,#ffffff 81%,#e3e3e3 100%); /* IE10+ */
background: linear-gradient(to bottom,  #e3e3e3 0%,#ffffff 19%,#ffffff 81%,#ffffff 81%,#e3e3e3 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e3e3e3', endColorstr='#e3e3e3',GradientType=0 ); /* IE6-9 */


}
.cbp-fwslider2 ul li > a,
.cbp-fwslider2 ul li > div {
	/*display: block;  */
	/*text-align: center; */
	outline: none; 
}

.cbp-fwslider2 ul li > a img {
	border: none;
	display: block;
	margin: 0 auto;
}



.cbp-fwslider2 nav span {
  position: absolute;
  top: 46%;
  width: 32px;
  height: 56px;
  background: url(../images/flecha.png);
  margin-top: -30px;
  line-height: 58px;
  cursor: pointer;
  font-weight: normal;
  opacity: 1;
  display: inline-block;
  color: rgba(255, 0, 0, 0);

  
}

.cbp-fwslider2 nav span:hover {
	opacity: 0.8;
}

.cbp-fwslider2 nav span.cbp-fwnext {
	right: 3%;
}

.cbp-fwslider2 nav span.cbp-fwprev {
  left: 3%;
   -webkit-transform: rotate(180deg);  /* Chrome, Opera 15+, Safari 3.1+ */
      -ms-transform: rotate(180deg);  /* IE 9 */
          transform: rotate(180deg);  /* Firefox 16+, IE 10+, Opera */
}

.cbp-fwslider2 .cbp-fwdots {
  position: relative;
  bottom: 10px;
  white-space: nowrap;
  text-align: center;
  width: 100%;
  right: 0px;
}

.cbp-fwslider2  .cbp-fwdots span {
display: inline-block;
	width: 10px;
	height: 10px;
	background: #cccccc;
	margin: 0.3%;
	border-radius: 50%;
	cursor: pointer;
	

}

.cbp-fwslider2 .cbp-fwdots span:hover {
	background: #0054a6;
}

.cbp-fwslider2 .cbp-fwdots span.cbp-fwcurrent {
	background: #0054a6;
}




.wrapper_content {
  width: 95%;
  max-width: 1260px;
  margin: 0px auto;
  padding: 50px 0px;
  line-height: 25px;
  position: relative;
}

.three-column{

  column-count: 3;
  -moz-column-count: 3;
  -webkit-column-count: 3;
}

.three-column strong{
  font-weight: bold;

}

.three-column p{
  margin-bottom: 30px;
}

.three-column p:nth-child(6){
margin-bottom: 15px;
}

.steps_endo{
  list-style-type: decimal;

}
.wrapper_content .steps_endo p {
  height: auto;
  float: none; 
  

}

.stp{

  margin-bottom: 5px !important;
}

.wrapper_content .stp1::before{
  content: "1.";
   color: black;
  font-weight: bold;
  margin-right: 5px;
 
}
.wrapper_content .stp2::before{
  content: "2.";
   color: black;
  font-weight: bold;
  margin-right: 5px;
  
}
.wrapper_content .stp3::before{
  content: "3.";
   color: black;
  font-weight: bold;
  margin-right: 5px;
  
}
.wrapper_content .stp4::before{
  content: "4.";
   color: black;
  font-weight: bold;
  margin-right: 5px;
  
}
.wrapper_content .stp5::before{
  content: "5.";
   color: black;
  font-weight: bold;
  margin-right: 5px;
}


.stepi{
  display: inline-block;
margin-top: 70px;
min-width: 283px;

}

.stepimg1{
width: 83px;
height: 83px;
display: inline-block;
background: url(../images/second_slide/1920_img01.jpg);
}
.stepimg2{
width: 83px;
height: 83px;
display: inline-block;
background: url(../images/second_slide/1920_img02.jpg);
}
.stepimg3{
width: 83px;
height: 83px;
display: inline-block;
background: url(../images/second_slide/1920_img03.jpg);
}
.stepnext{

  font-size: 38px;
  vertical-align: 98%;
    padding: 0px 23px;
}
.head-slider{
  font-size: 25px;
  color: #0054a6;
  text-transform: uppercase;

}
.liner-slider {
  background: #0054a6;
  height: 2px;
  width: 165px;
  margin: 20px 0px;
}

.nopadding{
  padding-bottom: 0;
}
.nomargin{
    margin-bottom: 0;
}

.illustration{
  width:313px; 
    margin-top: 70px;
  height:142px;
  display: inline-block;
  background: url(../images/second_slide/periodoncia.jpg);
}




@media screen and (max-width: 1416px){

.cbp-fwslider2 nav span {
  position: absolute;
  top: 46%;
  width: 32px;
  height: 56px;
  background: url(../images/flecha.png);
  margin-top: -30px;
  line-height: 58px;
  cursor: pointer;
  font-weight: normal;
  opacity: 1;
  color: rgba(255, 0, 0, 0);
}

.cbp-fwslider2 nav span.cbp-fwprev {
  left: 1%;
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.cbp-fwslider2 nav span.cbp-fwnext {
  right: 1%;
}
  
}


@media screen and (max-width:1369px){
  .wrapper_content {
  width: 90%;
  max-width: 1260px;
  margin: 0px auto;
  padding: 50px 0px;
  line-height: 25px;
  position: relative;
}

.three-column {
  column-count: 2;
  -moz-column-count: 2;
  -webkit-column-count: 2 ;
}



.cbp-fwslider2 ul li {
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  transform: translateZ(0);
  float: left;
  display: block;
  margin: 0;
  padding: 0;
  height: auto;
  position: relative;
  overflow: hidden;
   
}


}

                                                                  /*----  Desktop 1024 -------*/
@media screen and (max-width: 1024px){
  .cbp-fwslider2 ul li img:nth-child(1){
    display: none;
  }
  .cbp-fwslider2 ul li img:nth-child(2){
  display: block;
  left:50%;
   margin-left: -516px;
}
}

@media screen and (max-width: 919px){

.stepnext {
  font-size: 38px;
  vertical-align: 98%;
  padding: 0px 10px;
}

}


@media screen and (max-width: 805px){

.stepnext {
  font-size: 38px;
  vertical-align: 98%;
  padding: 0px 0px;
}
}

@media screen and (max-width: 768px){
  
  .cbp-fwslider2 ul li > div {
  margin: 0 auto;
 }
  

.stepnext {
  font-size: 38px;
  vertical-align: 98%;
  padding: 0;
}
.cbp-fwslider2 {
  position: relative;
  margin: 0 0 0px;
  overflow: hidden;
  padding: 0;
  height: auto;
  margin-top: -35px;
}

  



}
@media screen and (max-width: 691px){
.stepimg1 {
  width: 72px;
  height: 72px;
  display: inline-block;
  background: url(../images/second_slide/320_img01.jpg) no-repeat;
}
.stepimg2 {
  width: 72px;
  height: 72px;
  display: inline-block;
  background: url(../images/second_slide/320_img02.jpg) no-repeat;
}
.stepimg3 {
  width: 72px;
  height: 72px;
  display: inline-block;
  background: url(../images/second_slide/320_img03.jpg) no-repeat;
}

}


@media screen and (max-width: 586px){


.content_secondbanner h2 {
  text-transform: uppercase;
  font-size: 25px;
  line-height: 1.5;
  width: 77%;
  color: rgb(0, 84, 166);
}

.content_secondbanner {
  padding-top: 7px;
}

.line_cs {
  height: 2px;
  width: 27%;
  background: rgb(0, 84, 166);
  /* margin: 10px 0; */
  margin-top: 22px;
  margin-bottom: 22px;
}




}



@media screen and (max-width: 497px){



}  
@media screen and (max-width: 480px){
   

.cbp-fwslider2 {
  position: relative;
  margin: 0 0 0px;
  overflow: hidden;
  padding: 0;
  height: auto;
}



.cbp-fwslider2 ul li > div {
  margin: 0 auto;
}

.three-column {
  column-count: 1;
  -moz-column-count: 2;
  -webkit-column-count: 1;
}

.wrapper_content {
  width: 78%;
  max-width: 1260px;
  margin: 0px auto;
  padding: 50px 0px;
  line-height: 25px;
  position: relative;
}

 

.slider::after{
   content: "CLÍNICAS";
  height: 300px;
  width: 100%;
  color: #0054a6;
  background: #f2f2f1;
  font-size: 30px;
  padding-top: 15px;
  padding-left: 10px;
  display: inline-block;
}
.clinica_desc::before {
  content: "Consulmed cuenta con tres clínicas propias, de primer nivel, con equipamiento tecnológico y equipo profesional preparados para brindar la más alta calidad en Salud Bucal. Ubicadas en pleno barrio de la Recoleta, con fácil acceso y variados medios de transporte.";
  width: 89%;
  height: auto;
  text-align: left;
  display: inline-block;
  top: -87%;
  left: 0;
  line-height: 27px;
  position: absolute;
}







}


@media screen and (max-width: 397px){

.content_secondbanner ul li {
  margin-bottom: 5px;
  font-size: 14.5px;
  font-weight: 600;
}

.list_left {
  width: 48%;
  margin-right: 0;
  float: left;
  display: inline-block;
}


}

@media screen and (max-width: 384px){
.content_secondbanner ul li {
  margin-bottom: 5px;
  font-size: 13.5px;
  font-weight: 600;
}
}

@media screen and (max-width:357px){

.content_secondbanner ul li {
  margin-bottom: 0px;
  font-size: 11.5px;
  font-weight: 600;
}

}

@media screen and(max-width:329px ){
.content_secondbanner ul li {
  margin-bottom: 5px;
  font-size: 13.5px;
  font-weight: 600;
}

}

@media screen and (max-width: 320px){
.cbp-fwslider2 ul li {
	height: 309px;
}

.cbp-fwslider2 {
  position: relative;
  margin: 0 0 0px;
  overflow: hidden;
  padding: 0;
  height: 344px;
}

 .cbp-fwslider2 ul li > div {
 	margin: 0 3%;
 }


.slider::after{
   content: "CLÍNICAS";
  height: 300px;
  width: 100%;
  color: #0054a6;
  background: #f2f2f1;
  font-size: 30px;
  padding-top: 15px;
  padding-left: 10px;
  display: inline-block;
}

  


.slider{
  background: rgb(242, 242, 241);
}

.clinica_desc::before {
  content: "Consulmed cuenta con tres clínicas propias, de primer nivel, con equipamiento tecnológico y equipo profesional preparados para brindar la más alta calidad en Salud Bucal. Ubicadas en pleno barrio de la Recoleta, con fácil acceso y variados medios de transporte.";
  width: 89%;
  height: auto;
  text-align: left;
  display: inline-block;
  top: -87%;
  left: 0;
  line-height: 27px;
  position: absolute;
}



.list_right {
  width: 100%;
  /* float: right; */
  line-height: 30px;
  display: inline-block;
}

.list_left {
  width: 100%;
  margin-right: 0;
  float: left;
  line-height: 30px;
  display: inline-block;
}

.content_secondbanner ul li {
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 600;
}
  
} 

