/* fonts */
@import url(https://fonts.googleapis.com/css?family=Titillium+Web:400,300,300italic,400italic,600,600italic,700,700italic,900);
@import url(https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic);

/* body */
body {
  font-family: 'Titillium Web', sans-serif;
  color: #4b4b4b;
  overflow-x: hidden;
}

@media (max-width: 768px) { 
  body {
    padding-top: 50px;
  }
}

/* navbar-top */
.navbar-top {
  min-height: 30px;
  background-color: #f1f1f1;
  border-color: #dadada;
  box-shadow: inset 0 -1px 3px rgba(0,0,0,0.05);
  margin-bottom: 0;
}
.navbar-nav > li+li {
  border-left: 1px solid rgba(0,0,0,0.1);
}
.navbar-nav > li > a {
  padding: 5px 15px;
  color: #999;
  font-size: 12px;
}
.navbar-nav > .open > a, 
.navbar-nav > .open > a:focus, 
.navbar-nav > .open > a:hover {
  color: #333 !important;
  background-color: #fff !important;
}
.navbar-nav .dropdown-menu {
  border: none;
  border-radius: 0;
}

@media (max-width: 768px) { 
  .navbar-fixed-top {
    background-color: #f1f1f1;
    border-color: #dadada;
    box-shadow: inset 0 -1px 3px rgba(0,0,0,0.05);
    margin-bottom: 0;
  }
  .navbar-brand {
    padding: 0 15px;
  }
  .navbar-brand > img {
    display: block;
    max-height: 100%;
    width: auto;
  }
  .navbar-toggle {
    padding: 0;
    margin: 0 !important;
    border: none;
    border-radius: 0;
    font-size: 26px;
    width: 50px;
    height: 50px;
    line-height: 50px;
  }
  .navbar-collapse.in {
    border-top: 1px solid #dbdcdc;
  }
  .navbar-nav+.navbar-nav {
    padding-top: 7.5px;
    border-top: 1px solid #dbdcdc;
  }
}

/* header */
header .brand {
  display: block;
}
header .brand > img {
  max-height: 100px;
}
header .nav {
  display: none;
  margin-right: -15px;
}
header .nav > li+li {
  border-left: 1px solid rgba(0,0,0,0.1);
  margin-left: 0;
}
header .nav > li > a,
header .nav-pills>li.active>a {
  position: relative;
  padding: 5px 15px;
  color: #888;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 600;
  border-radius: 0;
  background-color: transparent;

  -webkit-transition: all .25s ease-in-out;
  -moz-transition: all .25s ease-in-out;
  transition: all .25s ease-in-out; 
}
header .nav > li > a:hover,
header .nav > li > a:focus {
  background-color: transparent;
  color: #222222;
}
header .nav .open>a, 
header .nav .open>a:focus, 
header .nav .open>a:hover {
  background-color: transparent;
  border-color: transparent;
}
header .nav .open>a,
header .nav-pills>li.active>a:focus,
header .nav-pills>li.active>a:hover {
  color: #222222;
  background-color: transparent;
}
header .nav > li > a:after {
  position: absolute;
  display: block;
  content: '';
  left: 50%;
  right: 50%;
  bottom: 0;
  border-bottom: 1px solid #015daa;

  -webkit-transition: all .25s ease-in-out;
  -moz-transition: all .25s ease-in-out;
  transition: all .25s ease-in-out; 
}
header .nav .open > a:after,
header .nav > li.active > a:after,
header .nav > li > a:hover:after,
header .nav > li > a:focus:after {
  left: 15px;
  right: 15px;
}
header .dropdown-menu {
  border: none;
  border-radius: 0;
  box-shadow: none;
}
header .dropdown-menu > li > a {
  padding: 5px 15px;
  color: #888;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;

  -webkit-transition: all .25s ease-in-out;
  -moz-transition: all .25s ease-in-out;
  transition: all .25s ease-in-out; 
}
header .dropdown-menu > li > a:focus, 
header .dropdown-menu > li > a:hover {
  color: #222222;
  text-decoration: none;
  background-color: transparent;
  outline: none;
}

/* section */
section {
  padding-top: 50px;
  padding-bottom: 50px;
}
section.gray {
  background-color: #ecedee;
  border-top: 1px solid #dbdcdc;
  border-bottom: 1px solid #dbdcdc;
}
section.border {
  border-top: 1px solid #ccc;
}
section h1 {
  margin-top: 0;
  font-family: 'Crimson Text', serif;
  font-size: 45px;
  font-weight: 700;
  font-style: italic;
  color: #015daa;
}
section h2 {
  font-family: 'Crimson Text', serif;
  font-size: 40px;
  font-weight: 700;
  font-style: italic;
  color: #015daa;
}
section h3 {
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  color: #222222;
}
section h4 {
  margin-top: 15px;
  font-size: 18px;
  font-weight: 700;
  color: #4b4b4b;
  text-transform: uppercase;
}
section p {
  font-size: 16px;
}
section p.small {
  font-size: 14px;
  color: #777777;
}
section ul {
  list-style: square;
  padding-left: 20px;
  font-size: 16px;
}
section ul ul {
  list-style: circle;
}
section blockquote {
  position: relative;
  font-family: 'Crimson Text', serif;
  font-size: 40px;
  font-style: italic;
  color: #015daa;
  border-left: none;
  padding-left: 70px;
  margin-top: 30px;
  margin-bottom: 30px;
  line-height: 1;
}
section blockquote:before {
  position: absolute;
  left: 10px;
  top: -10px;
  content: '“';
  display: block;
  font-family: 'Crimson Text', serif;
  font-size: 200px;
  font-style: italic;
  color: #cacaca;
  z-index: -1;
}
section blockquote:after {
  position: absolute;
  right: 85px;
  bottom: -400px;
  content: '”';
  display: block;
  font-family: 'Crimson Text', serif;
  font-size: 500px;
  font-style: italic;
  color: #eeeeee;
  z-index: -1;
}
section .square {
  padding: 20px;
  padding-bottom: 5px;
  margin-bottom: 20px;
  border: 1px solid #c9cacb;
}
section .square h4 {
  margin-top: 0;
  margin-bottom: 15px;
}
section .square .form-group {
  margin-bottom: 15px;
}
section .square .form-group label {
  font-size: 16px;
  font-weight: 400;
  color: #777777;
}
section .square .form-control {
  border-color: #fff;
  box-shadow: none;
}
section .square .form-control:focus {
  border-color: #66afe9;
}
section .square .has-error .form-control {
  border-color: #a94442;
}
section .alert {
  background-color: #fff;
  padding: 30px 40px;
  border-radius: 0;
  margin-bottom: 0;
  margin-top: 30px;
}
section .alert .fa {
  float: left;
  margin-right: 30px;
  width: 60px;
  height: 60px;
  font-size: 45px;
  text-align: center;
  color: #fff;
  line-height: 60px;
  border-radius: 100%;
  background-color: #015daa;
}
section .alert h3 {
  margin-top: 0;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  color: #222222;
}
section .alert p {
  font-size: 16px;
  color: #777777;
}
section .well {
  box-shadow: none;
  border-radius: 0;
  border: none;
  background-color: #ecedee;
  font-size: 16px;
  color: #777777;
}
section .well a {
  color: inherit;
}
section .well ul {
  padding-left: 20px;
  list-style: square;
  font-size: 16px;
}
section .well p {
  font-size: 16px;
}
section .value {
  margin-top: 30px;
  text-align: center;
}

@media (max-width: 768px) { 
  section {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  section h1,
  section h2 {
    font-size: 32px;
  }
  section p,
  section ul {
    font-size: 14px;
  }
}

/* thumbnails */
.thumbnail {
  position: relative;
  border-radius: 0;
}
.thumbnail > .picture {
  position: absolute;
  left: 15px;
  top: 15px;
  bottom: 15px;
  width: 200px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}
.thumbnail > .caption {
  margin-left: 215px;
  padding: 15px;
}
.thumbnail h4 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 21px;
  font-weight: 700;
  color: #015daa;
}
.thumbnail h6 {
  margin-top: 0;
  margin-bottom: 5px;
  color: #c9cacb;
}
.thumbnail p {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 200;
  color: #777777;
}
.thumbnail .btn {
  text-transform: uppercase;
  font-weight: 600;
}
a.thumbnail:hover,
a.thumbnail:focus {
  color: inherit;
  text-decoration: none;
  border-color: #015daa;
}

@media (max-width: 768px) { 
  .thumbnail > .picture {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: auto;
    height: 250px;
  }
  .thumbnail > .caption {
    margin-left: 0;
  }
}

/* contacto */
.contacto {
  margin-top: 30px;
}
.contacto .form-group label {
  font-size: 16px;
  font-weight: 400;
  color: #777777;
}
.contacto .form-control {
  box-shadow: none;
}
.contacto .form-control:focus {
  border-color: #66afe9;
}
.contacto .has-error .form-control {
  border-color: #a94442;
}

/* highlight */
.highlight+.highlight {
  margin-top: 60px;
}
.highlight h3 {
  margin-left: 85px;
  font-size: 24px;
  font-weight: 700;
  color: #222222;
}
.highlight p {
  margin-left: 85px;
  font-size: 16px;
  color: #777777;
}
.highlight ul {
  list-style: square;
  margin-left: 85px;
  font-size: 16px;
  color: #777777;
}
.highlight .icon {
  font-size: 35px;
  color: #fff;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 100%;
  text-align: center;
  background-color: #015daa;
}

@media (max-width: 768px) { 
  .highlight h3 {
    margin-left: 48px;
    line-height: 36px;
  }
  .highlight p {
    margin-left: 0;
  }
  .highlight .icon {
    font-size: 21px;
    width: 36px;
    height: 36px;
    line-height: 36px;
  }
}

/* featured */
.featured {
  position: relative;
  display: block;
  background-color: #fff;
  border: 1px solid #dbdcdc;
  border-radius: 6px;
  min-height: 300px;
  text-align: center;
  overflow: hidden;

  -webkit-transition: border .25s ease-in-out;
  -moz-transition: border .25s ease-in-out;
  transition: border .25s ease-in-out; 
}
a.featured:hover,
a.featured:focus {
  border-color: #015daa;
  text-decoration: none;
}
.featured-productos {
  overflow: visible;
}
.featured > .picture {
  position: relative;
  height: 100px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: grey;
}
.featured > .picture > .icon {
  position: absolute;
  top: 100%;
  left: 50%;
  margin-top: -40px;
  margin-left: -40px;
  width: 80px;
  height: 80px;
  border-radius: 100%;
  background-color: #015daa;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  border: 10px solid #fff;

  -webkit-transition: all .25s ease-in-out;
  -moz-transition: all .25s ease-in-out;
  transition: all .25s ease-in-out; 
}
.featured:hover > .picture > .icon,
.featured:focus > .picture > .icon {
  transform: scale(1.1, 1.1);
  -webkit-transform: scale(1.1, 1.1);
}
.featured > .caption {
  padding: 15px;
}
.featured > .caption > h3 {
  margin-top: 27px;
  font-size: 18px;
  font-weight: 700;
  color: #222222;
  text-transform: uppercase;

  -webkit-transition: all .25s ease-in-out;
  -moz-transition: all .25s ease-in-out;
  transition: all .25s ease-in-out; 
}
.featured:hover > .caption > h3,
.featured:focus > .caption > h3 {
  color: #015daa;
}
.featured > .caption > p {
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 200;
  color: #777777;
}
.featured.wide {
  min-height: 165px;
}
.featured.wide > .picture {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 30%;
  height: auto;
}
.featured.wide > .picture > .icon {
  top: 50%;
  left: 100%;
  width: 70px;
  height: 70px;
  margin-top: -35px;
  margin-left: -35px;
}
.featured.wide > .caption {
  margin-left: 37%;
  text-align: left;
}
.featured.wide > .caption > h3 {
  margin-top: 15px;
}
.featured.smaller {
  margin-top: 30px;
}
.featured.smaller > .caption > h3 {
  font-size: 15px;
}
.featured.smaller > .caption > p {
  font-size: 14px;
}
.featured.table-fix {
  min-height: 100%;
}
.featured.table-fix > .picture {
  position: relative;
  left: auto;
  top: auto;
  bottom: auto;
  display: table-cell;
}
.featured.table-fix > .caption {
  display: table-cell;
  padding: 30px 50px;
}
.featured.table-fix.smaller > .caption {
  padding: 30px 30px 30px 50px;
}
.featured.table-fix > .caption > h3 {
  margin-top: 0;
}

@media (max-width: 768px) { 
  .featured {
    margin-bottom: 15px;
  }
  .featured.smaller {
    margin-top: 0;
  }
}

/* search */

.form-cta {
  margin-bottom: 15px;
  margin-top: 15px;
  display: flex;
}

.btn-vademecum {
  width: 100%;
}

.search {
  position: relative;
  padding: 20px;
  display: block;
  background-color: #fff;
  text-align: center;
}
.search .row {
  margin-left: -3px;
  margin-right: -3px;
}
.search .row > div {
  padding-left: 3px;
  padding-right: 3px;
}
.search .form-group {
  margin-bottom: 6px;
}
.search .btn-default,
.search .btn-default:hover,
.search .btn-default:focus {
  padding: 6px 12px !important;
  border-color: #dbdcdc !important;
}
.main-search {
  margin: auto;
  max-width: 720px;
}
.main-search #form-search {
  font-size: 24px;
  font-style: italic;
  font-weight: 300;
  padding: 12px 20px;
  height: auto;
  border-color: #fff;
  box-shadow: none;
}
.main-search #btn-search {
  margin-left: 0;
  font-size: 30px;
  padding: 9px 40px;
  border-color: #015daa;
  background-color: #015daa;
}
.main-search #btn-search:hover,
.main-search #btn-search:focus {
  border-color: #347dbb;
  background-color: #347dbb;
}
.main-search #btn-search-cancel {
  position: absolute;
  left: -50px;
  font-size: 30px;
  padding: 9px 10px;
  color: #dadada;
  border-color: transparent;
  background-color: transparent;
  z-index: 5;
}
.main-search #btn-search-cancel:hover,
.main-search #btn-search-cancel:focus {
  color: #2e343a;
  box-shadow: none !important;
  outline: none !important;
}
.main-search .row {
  margin-left: -3px;
  margin-right: -3px;
}
.main-search .row > div {
  padding-left: 3px;
  padding-right: 3px;
}

/* main-banner */
.main-banner {
  position: relative;
  height: 165px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: #ecedee;
}
.main-banner > .container {
  position: relative;
  height: 100%;
}
.main-banner h1 {
  position: absolute;
  left: 15px;
  top: 50%;
  margin: 0;
  max-width: 50%;
  padding: 15px;
  font-size: 35px;
  font-weight: 700;
  color: #fff;
  background-color: #015daa;

  -webkit-transform: translate(0, -50%);
  -moz-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  -o-transform: translate(0, -50%);
  transform: translate(0, -50%);
}
.main-banner h1 > small {
  display: block;
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  color: #fff;
}

@media (max-width: 768px) { 
  .main-banner h1 {
    max-width: 65%;
    font-size: 24px;
  }
}

/* util */
.container.narrow {
  max-width: 970px;
}
.container.margin-bottom {
  margin-bottom: 50px;
}
.row.margin-bottom {
  margin-bottom: 30px;
}
.space-divider {
  height: 15px;
}
.img-content {
  margin-bottom: 15px;
}
.img-thumbnail {
  border-radius: 0;
  margin: 2px;
}
.polaroid {
  border: 1px solid #dbdcdc;
  padding: 3px;
  margin-bottom: 15px;
}
.polaroid > span {
  display: block;
  padding: 5px 5px 2px;
  font-size: 12px;
  font-style: italic;
  text-align: right;
}

/* productos */
.productos tr > td {
  font-size: 13px;
  color: #777777;
  vertical-align: middle !important;
}
.productos tr.details > td {
  border-top: none;
}

.panel-group {
  border-bottom: 1px solid #979a9d;
}
.panel-group .panel {
  border-radius: 0;
  border-color: #979a9d;
  border-left: none !important;
  border-right: none !important;
  border-bottom: none !important;
}
.panel-group .panel+.panel {
  margin-top: 0;
}
.panel-header {
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 600;
  color: #808080;
}
.panel-heading {
  background-color: transparent !important;
  cursor: pointer;
}
.panel-heading:hover {
  background-color: #f1f1f1 !important;
}
.panel-heading > .row {
  display: table;
  table-layout: fixed;
  width: 100%;
}
.panel-heading > .row > div {
  display:table-cell;
  vertical-align:middle;
  float: none;
}
.panel-heading .img-responsive {
  display: inline-block;
}
.panel-heading h4 {
  margin: 0 !important;
  text-transform: none !important;
}
.panel-body p {
  color: #777777;
}
.panel-body .well,
.panel-body .well ul {
  margin-bottom: 0;
  color: #777777;
  font-size: 13px;
}
.panel-body .btn {
  text-transform: uppercase;
  font-weight: 600;
}
.panel-default>.panel-heading+.panel-collapse>.panel-body {
  border-top: 1px dotted #ddd;
}

@media (max-width: 768px) { 
  .panel-group {
    margin-bottom: 30px;
  }
}

/* google-map */
#google-map {
  min-height: 600px;
}

/* btn */
.btn-submit {
  padding: 10px 40px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}
.btn-search {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ddd;
  background-color: #015daa;
  border-color: #015daa;
}
.btn-search:hover,
.btn-search:focus {
  color: #fff;
  background-color: #347dbb;
  border-color: #347dbb;
}
.btn-inverse {
  color: #ddd;
  background-color: #2e343a;
  border-color: #2e343a;
}
.btn-inverse:hover,
.btn-inverse:focus {
  color: #fff;
  background-color: #22272b;
  border-color: #22272b;
}
.btn-inline {
  color: inherit;
  font-size: 18px;
}
.btn-inline:hover,
.btn-inline:focus {
  color: #015daa;
  text-decoration: none;
}
.btn-inline .fa {
  width: 42px;
  height: 42px;
  line-height: 32px;
  background-color: #015daa;
  color: #ecedee;
  font-size: 18px;
  text-align: center;
  border-radius: 100%;
  border: 5px solid #ecedee;
}

@media (max-width: 768px) { 
  .btn-inline {
    font-size: 16px;
  }
}

/* footer */
footer {
  padding-top: 30px;
  padding-bottom: 30px;
  background-color: #2e343a;
  font-size: 12px;
  color: #a5a7a9;
  line-height: 1.2;
}
footer .brand {
  display: block;
}
footer a {
  color: inherit;
}
footer a:hover,
footer a:focus {
  color: #fff;
  text-decoration: none;
}
footer ul > li.header {
  font-size: 14px;
  font-weight: 700;
  color: #e0e1e1;
  text-transform: uppercase;
}
footer ul > li+li {
  margin-top: 10px;
}
footer .sitemap {
  position: relative;
}
footer .sitemap:after {
  content: '';
  display: table;
  clear: both;
}
footer .sitemap > li {
  width: 50%;
  float: left;
}
footer ul > li.header {
  width: 100%;
  float: none;
}

@media (max-width: 768px) { 
  footer ul {
    margin-top: 30px;
  }
}

/* legales */
.legales {
  font-size: 12px;
  color: #a5a7a9;
  background-color: #22272b;
}
.legales a {
  margin-top: -16px;
  width: 80px;
  display: block;
  padding: 5px;
  font-size: 10px;
  font-weight: 600;
  color: #a5a7a9;
  text-transform: uppercase;
  text-align: center;
  background-color: #22272b;
}
.legales a:hover,
.legales a:focus {
  color: #fff;
  text-decoration: none;
}
.legales #aviso-legal > .inner {
  padding-top: 15px;
  padding-bottom: 15px;
}

/* added */ 
.aviso-g a{
  border: 2px solid #0067b1;
  color:#0067b1 !important;
}
.aviso-g a:hover{
  color:#888 !important;
  border-color: #888 !important;
}
.aviso-g a:after{
  border-bottom: 0px !important;
}
.aviso-g.aviso-g-xs{
  background-color: #0067b1;
}
.aviso-g.aviso-g-xs a{
  text-transform: uppercase;
  color:white !important;
}
.aviso-g.aviso-g-xs a:hover{
  border-color: #0067b1 !important;
}

#footer-paf {
    color: #ccc !important;
    text-align: right !important;
}
