@charset "utf-8";
/* CSS Document */

body {
	font-family: 'Montserrat', sans-serif;
	}
	
.bg-red {
	background-color:#911;
}

header {
  position: relative;
  background-color: black;
  height: 60vh;
  min-height: 25rem;
  width: 100%;
  overflow: hidden;
}

header video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

header .container {
  position: relative;
  z-index: 2;
}

header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 0.5;
  z-index: 1;
}

#wrapper-portf {
	background-repeat: no-repeat;
    height: 380px;
    background-size: cover;
}

.overlay-portf {
	background-color: rgba(153,17,17,.9);
    height: 100px;
	/*opacity: 0;*/
	transition: height .5s ease;
}

#wrapper-portf:hover .overlay-portf {
	/*opacity:1*/
	height: 100%;
}

.content-portf {
	opacity: 1;
	transition: .75s ease;
}

#wrapper-portf:hover .content-portf {
	opacity:1
}

#imagem {
	height: 285px;
    overflow: hidden;
	margin-bottom: 20px;
}

#imagem img {
	width: auto;
    height: 100%;
}

.loginMenu {
	border: 1px solid #fff;
    border-radius: 5px;
    margin-left: 15px;
	}
	
.loginMenu a {
 color: rgba(255,255,255,1) !important;
	}
	
.box-login {
	border: 1px solid #ccc;
	padding: 30px;
	border-radius:5px;
	}
	
.carousel-caption {
    bottom: 10% !important;
    top: 20%;
    color: #333 !important;
}
	
#insta h2 {
	font-size: 3rem;
	}
	
#insta iframe {
	height:255px
	}
	
.brbox {
    border-right: 2px solid #fff;
}

.img-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.img-container img{
    object-fit: cover;
    height: 400px;
    width: 400px;
    max-width: 100%;
}

.page-item.active .page-link {
     color: #fff;
    background-color: #c82333;
    border-color: #c82333;
}

.page-link {
    color: #c82333;
 }

.page-link:hover {
    color: #c82333;
 }
	
@media screen and (max-width: 1128px) {
.loginMenu {
	display:none
	}
}

@media screen and (max-width: 1023px) {

.navbar-nav {
	background-color: #911;
    padding-left: 10px;
	}

}

@media screen and (max-width: 767px) {
	
#insta h2 {
	font-size: 2rem;
	}
	
#insta iframe {
	height:580px
	}
	
.brbox {
    border-bottom: 2px solid #fff;
}

}


@media (pointer: coarse) and (hover: none) {
  header {
    background: url('http://senepol.org.br/aquitem/img/bg-topo.jpg') black no-repeat right center scroll;
	background-size:cover;
  }
  header video {
    display: none;
  }
}