.row-flex {
display: -webkit-box;   /* OLD - iOS 6-, Safari 3.1-6, BB7 */
display: -ms-flexbox;  /* TWEENER - IE 10 */ /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
display: flex; 
width: 100%;
flex-basis:100%;
}

.row-flex:before, .row-flex:after {
  width: 0;
}
.service-boxed {
  color:#fff;
 background: url('../img/servicos-clinicare.png') no-repeat;
    background-size: cover;
    background-position: center center;
}

.service-boxed p {
  color:#FFF;
}

.service-boxed h2 {
  margin-bottom:0;
  padding-top:40px;
    font-family:"DINProLight";
    font-size: 26px;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
}

@media (max-width:996px) {
.service-boxed {
  color:#fff;
 background: url('../img/servicos-clinicare.png') no-repeat;
    background-size: cover;
    background-position: center center;
 max-width: 100%;
}
}

@media (max-width:767px) {
  .service-boxed h2 {
    margin-bottom:25px;
    padding-top:25px;
    font-size:24px;
  }
}

.service-boxed .intro {
  font-size:16px;
  max-width:500px;
  margin:0 auto;
}

.service-boxed .intro p {
  margin-bottom:0;
}

.service-boxed .services {
  padding:30px 0;
}

.service-boxed .itemservice {
  text-align:center;
}

.service-boxed .itemservice .box {
  text-align:center;
  padding:0;
  background-color:transparent;
  margin-top: 0;
  margin-bottom:30px;
}

.service-boxed .itemservice .icon {
  font-size:60px;
  color:#fff;
  margin-top:20px;
  margin-bottom:20px;
}

.service-boxed .itemservice .nameservice {
  font-family:"DINProMedium";
  font-size:16px;
  margin-bottom:8px;
  margin-top:0;
  color:inherit;
}

.service-boxed .itemservice .description {
  font-size:15px;
  margin-top:15px;
  margin-bottom:20px;
}


button:focus {
    outline: 1px dotted;
    outline: 0 auto -webkit-focus-ring-color;
}

.close {
    float: right;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #f4334f;
    opacity: .5;
}



.modal-body {
    position: relative;
    -ms-flex: 1 1 auto;
    -webkit-box-flex: 1;
            flex: 1 1 auto;
    padding: 0;
}

.modal-header .close {
    color: #f4334f;
    padding: 30px;
    margin: -15px -15px -15px auto;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 999;
}

.modal-header .close:focus {
border:none;
}

.modal-header {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-align: start;
    -webkit-box-align: start;
            align-items: flex-start;
    -ms-flex-pack: justify;
    -webkit-box-pack: justify;
            justify-content: space-between;
     padding: 0; 
     border-bottom: 0 solid #e9ecef; 
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

@media (min-width: 576px){
.modal-dialog {
    max-width: 900px;
}
}

.especialidades-card {
  background-color:#fff;
  border-radius:0;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-orient:vertical;
  -webkit-box-direction:normal;
      -ms-flex-direction:column;
          flex-direction:column;
  width:100%;
  max-width:100%;
  margin-left:auto;
  margin-right:auto;
-ms-flex-preferred-size:100%;
    flex-basis:100%;

}

@media screen and (min-width: 700px) {
  .especialidades-card {
    -webkit-box-orient:horizontal;
    -webkit-box-direction:normal;
        -ms-flex-direction:row;
            flex-direction:row;
  }
}

.especialidades-background {
  background-position:center;
  background-size:cover;
  border-top-left-radius:0;
  border-top-right-radius:0;
  min-height:250px;
}

@media screen and (min-width: 700px) {
  .especialidades-background {
    border-top-left-radius:0;
    border-top-right-radius:0;
    border-bottom-left-radius:0;
    min-height:none;
    width:50%;
  }
}

.especialidades-details{
  padding:4.1875em 5%;
}

.especialidades-details h2{
    color: #3176A3;
    font-size: 1.8em;
    font-family: "DINProRegular";
}

@media screen and (min-width: 700px) {
  .especialidades-details {
    width:50%;
  }
}

.especialidades-details h1, .especialidades-details h4 {
  font-weight:500;
  margin:0;
}

.especialidades-details h1 {
  font-size:125%;
  line-height:1;
  margin-bottom:0.35em;
}



.especialidades-tags ul {
  list-style-type:none;
  margin:0;
  padding:0;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -ms-flex-wrap:wrap;
      flex-wrap:wrap;
  font-size:87.5%;
  margin-top:0.35em;
  text-transform:lowercase;
}



.especialidades-tags li {
  margin:0 0.35em 0.35em 0;
}

.especialidades-tags a {
  background-color:#191e20;
  border-radius:50px;
  display:block;
  padding:0.3125em 1.25em;
  text-decoration:none;
  -webkit-transition:color 0.3s ease;
  -o-transition:color 0.3s ease;
  transition:color 0.3s ease;
}

.especialidades-tags a:hover, .especialidades-tags a:focus {
  color:#e37544;
}

.especialidades-details p {
}


 