:root {
  --theme-grey-light: #f4f4f4;
  --theme-grey-dark: #ededed;
  --theme-beige: #eeeee5;
  --theme-brown-light: #5e4345;
  --theme-brown-dark: #584445;
  --theme-orange: #cf7751;
  --fs-base: 18px;
}

.c-white {
  color: white;
}
.c-grey-light {
  color: var(--theme-grey-light);
}
.c-brown-light {
  color: var(--theme-brown-light);
}
.c-brown-dark {
  color: var(--theme-brown-dark);
}
.c-orange {
  color: var(--theme-orange);
}

.bg-grey-light {
  background: var(--theme-grey-light);
}
.bg-brown-light {
  background: var(--theme-brown-light);
}
.bg-brown-dark {
  background: var(--theme-brown-dark);
}
.bg-orange {
  background: var(--theme-orange);
}
.bg-beige {
  background: var(--theme-beige);
}

.f-400 {
  font-weight: 400;
}

.f-500 {
  font-weight: 500;
}

.f-700 {
  font-weight: 700;
}

.no-overflow {
  overflow: hidden;
}

@font-face {
  font-family: 'Portrait';
  src:  url('/ka/apps/clinicaredondo/fonts/Portrait-Regular-Web.woff2') format('woff2'),
        url('/ka/apps/clinicaredondo/fonts/Portrait-Regular-Web.woff') format('woff');
}

* {
  font-family: 'DM Sans', sans-serif;
}

body {
  background: var(--theme-grey-dark);
}

h1, h2, h3 {
  font-family: 'Portrait';
}





label {
  font-size: 15px;
}


h1 {
  font-size: 2.2rem;
}

p, li {
  font-size: 1.125rem;
}


@media (max-width: 768px) {
  h1 {
    font-size: 1.75rem;
  }
  
  p,li {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }
  
  p,li {
    font-size: 0.875rem;
  }
}


@media (min-width: 1920px) {
  h1 {
    font-size: 3.75rem;
  }
  
  p,li {
    font-size: 1.5rem;
  }

}



a {
  color: var(--theme-brown-light);
  text-decoration: none;
}
  a:hover {
    color: var(--theme-brown-light);
    text-decoration: underline;
  }


ul {
  padding-left: 20px;
}
li {
  margin-bottom: 5px;
}

header > [class*="container"] {
  padding: 36px 5%;
  background-color: var(--theme-beige);
}
  header [class*="col-"] {
    display: flex;
    justify-content: end;
    flex-direction: column;
  }

#header-logo {
  width:360px;
  max-width: calc( 100% - 20px );
}

#img-1 {
  position: absolute;  
  height: 100%;
  object-fit: contain;
  aspect-ratio: 0.96777 / 1;
  top: 0;
  right: 5%;
}
#img-2 {
  position: absolute;
  height: 100%;
  max-width: 55%;
  object-fit: cover;
  aspect-ratio: 1.04777 / 1;
  top: 0;
  left: -15px;
}
#img-3 {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media screen and (max-width: 1299px){
  #img-3 {
    object-fit: cover;
  }
}
@media screen and (max-width: 990px){
  #img-1,
  #img-2 {
    position: initial;
    max-width: initial;
    width: 100%;
  }
}

form {
  background: white;
  padding: 15px;
}

#form1 {
  position: relative;
  top: -8vh;
}
@media screen and (max-width:990px){ 
  #form1 {
    top: -15px;
  }
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #333 !important;
  opacity: 1 !important; /* Firefox */
}

form input[type="text"],
form input[type="email"],
form select,
form textarea {
  border-radius: 0 !important;
  border: 2px solid var(--theme-brown-dark) !important;
  margin-bottom: 10px;
}

form input[type="checkbox"] {
  border-radius: 0 !important;
  width:18px;
  height:18px;  
}
.form-check {
  margin-bottom: 10px;
}

button {
  border: none;
  padding: 10px 15px;
  color: white;  
  min-width: 300px;
}
  button:hover {
    background: var(--theme-brown-light);    
  }

@media screen and (max-width:575px){ 
  button {
    width: calc( 100% - 10px);
  }
}

#rrss {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

span.error {
  color: red;
  display: block;
  text-align: left;
  position: relative;
  top: -8px;
  font-size: 12px;
}
input.has-error, textarea.has-error {
  outline: 2px solid red;
  outline-offset: -2px;
}
label {
  margin-bottom: 10px !important;
  line-height: 1.2;
  display: block;
}

#section1-content,
#section2-content {
  z-index: 1;  
  margin: 10%;
  max-width: 600px;
}
#section4-content > div {
  padding: 0 2%;
}

.btn-light {
  background: white;
  color: var(--theme-brown-dark);
}
  .btn-light:hover {
    background:  var(--theme-brown-dark);
    color: white;
  }

.btn-orange {
  background: var(--theme-orange);
  color: white;
}
  .btn-orange:hover {
    background:  var(--theme-brown-dark);
    color: white;
  }

#comillas {
  margin: 0 auto; position: relative; top: -25%; width:75%; min-width: 50px;
}
@media screen and (max-width: 767px) {
  #comillas {
    top: -1rem;
    left: -2.5rem;    
  }
}

.btn-alt,
.btn-alt2 {
  background: white;
  color: var(--theme-orange);
}
.btn-alt2:hover {
  background: var(--theme-orange);
}