/* -------------------------------- 

Primary style

-------------------------------- */
*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: 'Baloo', sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: #666666;
  background-color:#ffffff;
  padding-top: 100vh;
}

img {
  max-width: 100%;
}

.input-lg {
    height: 56px;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.25);
    color: #FFF;
    border: solid 2px #ddd;
    transition: all 0.3s;
    border-radius: 35px;
    box-shadow: none;
}
label {
  font-weight: 300;
  font-size: 16px;
  margin-left: 15px;
}
.form-group {
  margin-bottom: 10px;
}
.form-control:focus {
  background: rgba(0, 0, 0, 0.45);
  box-shadow: none;
  border-color: #ddd;
}
.btn-une {
  background: #b90000;
  border: solid 2px #ffffff;
  color: #ffffff;
  transition: all 0.3s;
  text-shadow: none;
  border-radius: 25px;
}
.no-touch .btn-une:hover, .btn-une:focus {
  background: #ffffff;
  color: #b90000;
}

.btn-une-contact {
  background: #ffffff;
  border: solid 2px #b90200;
  color: #b90200;
  transition: all 0.3s;
  text-shadow: none;
  border-radius: 25px;
}
.no-touch .btn-une-contact:hover, .btn-une-contact:focus {
  background: #b90200;
  color: #ffffff;
}
.btn-top {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 50px;
  border-radius: 50% 50% 0 0;
  border: solid 2px #b90200;
  border-bottom: none;
  background: #b90200;
  color: #ffffff;
  transition: all 0.3s;
  font-size: 28px;
}
.no-touch .btn-top:hover, .btn-top:focus {
 background: #ffffff;
 color: #b90200;
}

.logo-responsive {
  display: none;
}
.sucesso-envio {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 99999;
  max-width: 960px;
  width: 70%;
  font-size: 1em;
  display:none;
  -webkit-transform: translate3d(-50%,-5px,0);
  transform: translate3d(-50%,-5px,0);
  padding: 20px 30px;
  border: 1px solid #268400;
  border-radius: 0;
  box-shadow: 0 2px 5px 1px rgba(0,0,0,0.2);
}

/* -------------------------------- 

Main components 

-------------------------------- */
.box-intro {
  background: #960000 url("../img/bg-box.jpg") no-repeat center;
  background-size: cover;
  display: flex;
  align-items: center;
  height: 100vh;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}
.box-intro::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 40%;
  left: 0;
  bottom: 0;
  background: #000000;
  background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, #000000 100%);
  background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,#000000 100%);
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,#000000 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#960000',GradientType=0 );
  filter: blur(top 20px);
  z-index: 1;
  opacity: .5;
}

.cd-image-container {
  position: relative;
  width: 100%;
  /* max-width: 768px; */
  margin: 0em auto;
}
.cd-image-container::before {
  /* content: ""; */
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: #000000;
  opacity: .6;
}
.cd-image-container img {
  display: block;
  transition: all 1s;
}
.cd-image-container-out img {
  transform: scale(0);
}

.cd-image-label {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 0;
  margin-top: -210px;
  color: rgba(255, 255, 255, 1);
  text-transform: uppercase;
  text-align: center;
  font-size: 4rem;
  font-weight: bold;
  padding: 0 1em;
  text-shadow: -2px 2px 3px rgba(0, 0, 0, 0.42);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 0;
  -webkit-transform: translateY(20px);
  -moz-transform: translateY(20px);
  -ms-transform: translateY(20px);
  -o-transform: translateY(20px);
  transform: translateY(20px);
  -webkit-transition: -webkit-transform 0.3s 0.7s, opacity 0.3s 0.7s, margin 1s;
  -moz-transition: -moz-transform 0.3s 0.7s, opacity 0.3s 0.7s, margin 1s;
  transition: transform 0.3s 0.7s, opacity 0.3s 0.7s, margin 1s;
}
.cd-image-label.is-hidden {
  visibility: hidden;
}
.is-visible .cd-image-label {
  opacity: 1;
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}
.label-right-out {
  margin-right: -500px;
}
.label-left-out {
 margin-left: -500px;
}

.cd-resize-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  overflow: hidden;
  border-right: dotted 1px rgba(255, 255, 255, 0.6);
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.cd-resize-img::before {
  /* content: ""; */
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: #000000;
  z-index: 1;
  opacity: .6;
}
.cd-resize-img img {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
}
.cd-resize-img .cd-image-label {
  right: auto;
  left: 0;
}
.is-visible .cd-resize-img {
  width: 50%;
  /* bounce in animation of the modified image */
  -webkit-animation: cd-bounce-in 1s;
  -moz-animation: cd-bounce-in 1s;
  animation: cd-bounce-in 1s;
}

@-webkit-keyframes cd-bounce-in {
  0% {
    width: 0;
  }
  60% {
    width: 55%;
  }
  100% {
    width: 50%;
  }
}
@-moz-keyframes cd-bounce-in {
  0% {
    width: 0;
  }
  60% {
    width: 55%;
  }
  100% {
    width: 50%;
  }
}
@keyframes cd-bounce-in {
  0% {
    width: 0;
  }
  60% {
    width: 55%;
  }
  100% {
    width: 50%;
  }
}
.cd-handle {
  position: absolute;
  z-index: 5;
  height: 150px;
  width: 150px;
  /* center the element */
  left: 50%;
  top: 50%;
  margin-left: -75px;
  margin-top: -220px;
  border-radius: 50%;
  background: #ffffff url("../img/logo-une.svg") no-repeat center center;
  background-size: 95%;
  cursor: move;
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.2), 0 0 10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  opacity: 0;
  -webkit-transform: translate3d(0, 0, 0) scale(0);
  -moz-transform: translate3d(0, 0, 0) scale(0);
  -ms-transform: translate3d(0, 0, 0) scale(0);
  -o-transform: translate3d(0, 0, 0) scale(0);
  transform: translate3d(0, 0, 0) scale(0);
}
.cd-handle::before {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  top: 50%;
  left: -70px;
  margin-top: -25px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.cd-handle::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  top: 50%;
  right: -70px;
  margin-top: -25px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.cd-handle.draggable {
  /* change background color when element is active */
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.2), 0 0 10px rgba(255, 255, 255, 0.6), inset 0 1px 0 rgba(0, 0, 0, 0.3);
}
.is-visible .cd-handle {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0) scale(1);
  -moz-transform: translate3d(0, 0, 0) scale(1);
  -ms-transform: translate3d(0, 0, 0) scale(1);
  -o-transform: translate3d(0, 0, 0) scale(1);
  transform: translate3d(0, 0, 0) scale(1);
  -webkit-transition: -webkit-transform 0.3s 0.7s, opacity 0s 0.7s, margin 1s;
  -moz-transition: -moz-transform 0.3s 0.7s, opacity 0s 0.7s, margin 1s;
  transition: transform 0.3s 0.7s, opacity 0s 0.7s, margin 1s;
}
.handle-up {
  margin-top: -1500px;
}

.info {
  position: fixed;
  z-index: 6;
  top: calc(50% - 70px);
  left: 0;
  width: 100%;
  color: #ffffff;
  text-shadow: 0 2px 2px #000;
  transition: margin 1s;
}
.info-out {
  margin-top: 1000px;
}
.info h2 {
  display: inline-block;
  color: #ffffff;
  font-size: 24px;
  margin: 10px 0 20px 0;
  padding: 10px;
  border: 1px solid #ffffff;
  border-left: 0;
  border-right: 0;
  font-weight: 300;
  text-transform: uppercase;
}
.info p span {
  font-weight: 400;
  margin-bottom: 20px;
  display: inline-block;
}

.contato {
	min-height: 100vh;
  display: flex;
  background: #ffffff;
  position: relative;
  z-index: 100;
}
.contato .child {
	width: 100%;
}
.contato .child.formulario {
	display: flex;
	align-items: center;
	background: url('../img/une-contact.png') no-repeat left bottom; 
	background-size: contain;
}
.contato .child.formulario h1 {
	font-size: 56px;
	color: #b90200;
	margin: 0;
}
#mapa{
  width: 100%; 
  height: 100%;
  color: #b90200;
  text-align: center
}
#mapa h2 {
  margin-top: 0;
}
#mapa p {
  margin-bottom: 0;
  color: #777;
}
#mapa img {
  width: 20px;
}
@media (max-width: 767px) {
	body {
		font-size: 15px;
	}
	.info h2 {
		margin: 20px 0;
	    padding: 20px 0;
	    font-size: 20px;
	}
	span{
		display: block;
	}
	.contato {
		height: auto;
		display: flex;
		flex-wrap: wrap;
	}
	.contato .child {
		width: 100%;
	    min-height: 100vh;
	}
	.contato .child.formulario {
		display: flex;
		align-items: center;
		padding: 50px 15px; 
	}
	.contato .child.formulario h1 {
		font-size: 36px;
  }
  .logo-responsive {
    display: block;
    position: absolute;
    z-index: 5;
    height: 120px;
    width: 120px;
    left: 50%;
    top: 50%;
    margin-left: -60px;
    margin-top: -220px;
    border: solid 3px #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.2), 0 0 10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
  .info {
    top: calc(50% - 90px);
  }
}
