/*
Theme Name: IDV 2022
Theme URI: https://idv.uy
Author: Pablo Revetria
Author URI: https://pablorevetria.com/
*/

/*///////////////////*/
/*///////////// Base */
/*///////////////////*/

@import url('https://fonts.googleapis.com/css2?family=Rambla:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
  --font-family-rambla: 'Rambla', sans-serif;
  --font-size-global: 18px;
  --light-color: #FFFFFF;
  --primary-color: #005689;
  --secondary-color: #56C1DD;
  --gray-color: #CCCCCC;
  --transition: all .8s .4s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #FFFFFF;
  font-family: var(--font-family-rambla);
  font-size: var(--font-size-global);
  color: var(--primary-color);
  position: relative;
  height: 100%;
  overflow-x: hidden;
}

a {
  color: var(--primary-color);
  font-weight: 500;
}

a:hover,
a:focus {
  color: var(--primary-color);
  text-decoration: underline;
  cursor: pointer;
}

ol, ul {
  list-style: none
}

/*//// Opacity */

.opacity-0 { opacity: 0 !important; }

.opacity-1 { opacity: 1 !important; }

/*//// Height */

.h-10px { height: 10px !important;}

.h-20px { height: 20px !important;}

.h-30px { height: 30px !important;}

.h-40px { height: 40px !important;}

.h-50px { height: 50px !important;}

.h-60px { height: 60px !important;}

.h-70px { height: 70px !important;}

.h-80px { height: 80px !important;}

.h-90px { height: 90px !important;}

.h-100px { height: 100px !important;}

/*//// Colors */

.primary-color { color: var(--primary-color) !important; }

.bg-primary-color { background-color: var(--primary-color) !important; }

.secondary-color { color: var(--secondary-color) !important; }

.bg-secondary-color { background-color: var(--secondary-color) !important; }

.light-color { color: var(--light-color) !important; }

.bg-light-color { background-color: var(--light-color) !important; }

.gray-color { color: var(--gray-color) !important; }

.bg-gray-color { background-color: var(--gray-color) !important; }

/*//// Texts */

.regular { font-weight: 400; }

.bold { font-weight: 700; }

p {
  color: var(--primary-color);
  font-size: var(--font-size-global);
  font-weight: 400;
  line-height: 180%;
}

p:last-child {
  margin-bottom: 0;
}

h1 {
  font-size: 22px;
  line-height: 170%;
  font-weight: 700;
}

@media (min-width: 768px) {
  h1 {
    font-size: 28px;
    line-height: 180%;
  }
}

h2 {
  font-size: 30px;
  line-height: 180%;
  font-weight: 700;
}

h3 {
  font-size: 26px;
  line-height: 180%;
  font-weight: 700;
}

/*///////////////////*/
/*///////// Wrapper */
/*///////////////////*/

#wrapper {
}

@media (min-width: 576px) {
  .container,
  .container-fluid,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    padding-right: 12px;
    padding-left: 12px;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .container,
  .container-sm {
    max-width: 100%;
  }
}

@media (min-width: 576px) {  } /* sm */

@media (min-width: 768px) {  } /* md */

@media (min-width: 992px) {  } /* lg */

@media (min-width: 1200px) {  } /* xl */

/*///////////////////*/
/*/////////// Header */
/*///////////////////*/

/*//// Progress bar */

.progress-container {
  width: 100%;
  height: 4px;
  background: transparent;
  top: 0;
  left: 0;
  position: fixed;
  z-index: 9998;
}

.progress-bar {
  height: 4px;
  background: var(--secondary-color);
  width: 0%;
  border-radius: 0 10px 10px 0;
}

header {
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

/*//// Navbar Brand */

@media (max-width: 767px) {
  .navbar-brand {
    margin-left: auto;
    margin-right: auto;
  }
}

.navbar-brand img {
  height: 30px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .navbar-brand img {
    height: 34px;
  }
}

/*//// Navbar Nav */

ul.navbar-nav {
  margin: 0;
}

ul.navbar-nav li a,
ul.navbar-nav li .nav-link {
  font-weight: normal;
  font-style: normal;
  font-size: 16px;
  font-stretch: normal;
  color: var(--secondary-color);
  display: block;
  margin: 0 15px;
}

ul.navbar-nav li a:hover,
ul.navbar-nav li .nav-link:hover,
ul.navbar-nav li a:focus,
ul.navbar-nav li .nav-link:focus {
  color: var(--light-color);
}

ul.navbar-nav li.current-menu-item a,
ul.navbar-nav li a.active {
  color: var(--light-color);
}

/*///////////////////*/
/*/////////// Section */
/*///////////////////*/

.section {
  padding: 60px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 100px 0;
  }
}

/*//// Counter */

.counter {
  width: 50%;
  margin: 0 0 40px;
  float: left;
}

@media (min-width: 992px) {
  .counter {
    width: 20%;
    margin: 0 2.5%;
  }
}

.counter div {
  font-size: 70px;
  line-height: 100%;
}

@media (min-width: 576px) {
  .counter div {
    font-size: 80px;
  }
}

.counter div span {
  font-size: 50px;
  line-height: 100%;
}

@media (min-width: 576px) {
  .counter div span {
    font-size: 60px;
  }
}

/*///////////////////*/
/*/////////// Slider */
/*///////////////////*/

.slider h3::before {
  height: 1px;
  width: calc(100% - 150px);
  right: 0;
  top: 50%;
  content: '';
  display: block;
  background: var(--primary-color);
  position: absolute;
}

.slider .slide {
  margin: 30px 0;
}

.slider .slide .carousel-item p {
  font-style: italic;
  background-image: url('img/quote-left.svg'), url('img/quote-right.svg');
  background-position: top left, 100% 85%;
  background-size: 26px 21px;
  background-repeat: no-repeat;
  margin-bottom: 0;
  padding: 0 40px 45px;
  border-bottom: 1px solid var(--primary-color);
}

@media (min-width: 768px) {
  .slider .slide .carousel-item p {
    background-position: top left, 100% 45px;
    padding: 0 66px 45px;
  }
}

.slider .slide .carousel-item span {
  background: url('img/quote.png') no-repeat 65px 0;
  padding: 35px 20px 20px 65px;
  margin-top: -1px;
}

@media (max-width: 767px) {
  .carousel-control-next,
  .carousel-control-prev {
    display: none;
  }
}

.carousel-control-next {
  width: 30px;
  height: 30px;
  bottom: 19px;
  top: auto;
  right: 0;
  left: auto;
  opacity: .8;
}

.carousel-control-next .carousel-control-next-icon {
  background: url('img/arrow-right.svg') no-repeat 0 0;
  background-size: 30px 30px;
  width: 30px;
  height: 30px;
}

.carousel-control-prev {
  width: 30px;
  height: 30px;
  bottom: 19px;
  top: auto;
  right: 40px;
  left: auto;
  opacity: .8;
}

.carousel-control-prev .carousel-control-prev-icon {
  background: url('img/arrow-left.svg') no-repeat 0 0;
  background-size: 30px 30px;
  width: 30px;
  height: 30px;
}

/*///////////////////*/
/*///////// Contacto */
/*///////////////////*/

#contacto form {
}

::-webkit-input-placeholder {
  font-size: 14px;
  color: var(--primary-color);
  opacity: 1;
}

:-ms-input-placeholder {
  font-size: 14px;
  color: var(--primary-color);
  opacity: 1;
}

::placeholder {
  font-size: 14px;
  color: var(--primary-color);
  opacity: 1;
}

#contacto form input[type=text],
#contacto form input[type=email],
#contacto form input[type=tel],
#contacto form select,
#contacto form textarea {
  font-size: 14px;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 15px 10px;
  border-radius: 0;
  outline: none;
}

#contacto form input[type=text]:hover,
#contacto form input[type=email]:hover,
#contacto form input[type=tel]:hover,
#contacto form select:hover,
#contacto form textarea:hover,
#contacto form input[type=text]:focus,
#contacto form input[type=email]:focus,
#contacto form input[type=tel]:focus,
#contacto form select:focus,
#contacto form textarea:focus {
  border-bottom: 1px solid var(--secondary-color);
  color: var(--primary-color);
  box-shadow: none;
  outline: none;
}

#contacto form input[type=text]:active,
#contacto form input[type=email]:active,
#contacto form input[type=tel]:active,
#contacto form select:active,
#contacto form textarea:active {
  border-bottom: 1px solid var(--secondary-color);
  box-shadow: none;
  color: var(--primary-color);
  outline: none;
}

#contacto form input[type=text],
#contacto form input[type=email],
#contacto form input[type=tel],
#contacto form select {
  height: 50px;
}

#contacto form textarea,
#contacto form input[type=text],
#contacto form input[type=email],
#contacto form input[type=tel],
#contacto form select {
  width: 100%;
}

#contacto form textarea,
#contacto form input[type=text],
#contacto form input[type=email],
#contacto form input[type=tel],
#contacto form select {
  margin-bottom: 5px;
}

#contacto form textarea {
  height: 150px !important;
}

input:-internal-autofill-selected {
  appearance: menulist-button;
  background-image: none !important;
  background-color: var(--light-color) !important;
  color: var(--primary-color) !important;
}

/*//// HQ */

.hq {
  font-size: 14px;
}

.hq span {
  margin: 0 5px;
}

/*//// Buttons */

.btn {
  background-color: var(--primary-color);
  border-radius: 0;
  border: none;
  padding: 16px 30px;
  font-size: 13px;
  color: var(--light-color);
  font-weight: 700;
  letter-spacing: 1px;
}

.btn:hover,
.btn:focus {
  background-color: var(--secondary-color);
  border: none;
  color: var(--light-color);
}

.btn:active {
  background-color: var(--primary-color);
  border: none;
  color: var(--secondary-color);
}

/*///////////////////*/
/*//////////// wpcf7 */
/*///////////////////*/

.wpcf7 form .wpcf7-spinner {
  width: 24px;
}

.wpcf7 form .wpcf7-response-output {
	margin: 2em 0 0;
	padding: 6px 12px;
	border: 1px solid #00a0d2;
  background: #bae9f8;
  color: #147493;
  border-radius: 0;
  font-size: 14px;
  line-height: 18px;
}

.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
	display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #46b477;
  background: #b6f4d2;
  color: #27814f;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	border-color: #dc3232;
  background: #facccc;
  color: #883838;
}

.wpcf7 form.spam .wpcf7-response-output {
	border-color: #FF5100;
  background: #fdc9b1;
  color: #7a3718;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	border-color: #ffb900;
  background: #ffebb6;
  color: #796122;
}

.wpcf7 form .wpcf7-not-valid-tip {
  color: #dc3232;
  font-size: 12px;
}

/*///////////////////*/
/*/////////// Footer */
/*///////////////////*/

footer p {
  font-size: 14px;
}

/*//// Top */

.cd-top {
  border-radius: 50%;
  height: 50px;
  width: 50px;
  position: fixed;
  bottom: 10px;
	right: 10px;
	z-index: 10;
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	background: url('img/top.svg') no-repeat center center;
	background-size: 40px 40px;
  background-color: var(--light-color);
	visibility: hidden;
	opacity: 0;
	-webkit-transition: opacity .3s 0s, visibility 0s .3s;
	-moz-transition: opacity .3s 0s, visibility 0s .3s;
	transition: opacity .3s 0s, visibility 0s .3s;
}

.cd-top.cd-is-visible,
.cd-top.cd-fade-out,
.no-touch .cd-top:hover {
	-webkit-transition: opacity .3s 0s, visibility 0s 0s;
	-moz-transition: opacity .3s 0s, visibility 0s 0s;
	 transition: opacity .3s 0s, visibility 0s 0s;
}

.cd-top:hover,
.cd-top.cd-fade-out:hover{
  opacity: 1;
}

.cd-top.cd-is-visible {
  visibility: visible;
  opacity: 1;
}

.cd-top.cd-fade-out {
  opacity: .5;
}

.no-touch .cd-top:hover {
  opacity: 1;
}

@media only screen and (min-width: 768px) {
  .cd-top {
    right: 20px;
    bottom: 20px;
  }
}

@media only screen and (min-width: 1024px) {
  .cd-top {
    height: 60px;
    width: 60px;
    right: 30px;
    bottom: 30px;
  }
}
