/* reset */
body { margin: 0; }
.panel-group .panel+.panel { margin-top: 0px; }

hr {
	border-color: #46463e;
	width: 90px;
	margin-top: 7px;
  margin-bottom: 40px;
}

.triangle {
	position: absolute;
    width: 0;
    height: 0;
    border: solid 10px;
    border-color: #fff transparent transparent transparent;
    margin: auto;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

#nav-sticking-out { transform: matrix(1, 0, 0, 1, 0, -70); }

.serif-style-text {
	font-family: 'Georgia', serif;
    color: #46463e;
    letter-spacing: 2px;
}

/* Bar at the bottom of Tabbed Nav */
.bottom-bar {
    transform: matrix(1, 0, 0, 1, 0, -70);
    position: absolute;
    top: 60px; /* 70 - 10 */
    width: 100%;
    z-index: 9;
    height: 10px;
    background-color: #46463e;
}

.titles h1,
.featured-titles h1 {
    position: absolute;
    top: 40%;
    width: 100%;
    font-size: 5.6vw;
    font-family: 'Georgia', serif;
    color: #fff;
    letter-spacing: 2px;
}

.featured-titles h2 {
    font-family: 'Georgia', serif;
    letter-spacing: 2px;
}

.featured-titles h4 {
    font-family: 'Calibri', sans-serif;
    letter-spacing: 2px;
    text-transform: none;
}

.featured-titles h1 {
    position: initial;
    font-size: 5.5vw;
}

.titles {
    position: absolute;
    top: 0;
    width: 100%;
    margin: 0 auto;
    height: 100%;
    color: #FFFFFF;
    text-align: center;
    text-transform: uppercase;
}

.featured-titles {
    margin: 0 auto;
    color: #FFFFFF;
    text-transform: uppercase;
    text-align: left;
    width: 80%;
    position: relative;
    height: auto;
    top: 15%;
    padding-right: 35%;
}

#hero-area .nav-stuff { z-index: 9; }

#hero-area .cover,
#half-hero-area .cover,
#hero-area .nav-stuff {
    height: 100%;
    width: 100%;
    position: absolute;
}

#hero-area,
#half-hero-area {
    height: -webkit-calc(100vh - 50px);
    height: calc(100vh - 50px);
    width: 100%;
    margin-top: 50px;
    position: fixed;
    top: 0;
    z-index: 1;
    overflow: hidden;
    background-color: #ffffff;
}

#half-hero-area {
    width: 50%;
    float: left;
}

#hero-area .bg-img,
#half-hero-area .bg-img {
    background-size: cover;
    height: 100%;
    width: -webkit-calc(100% + 50px);
    width: 100%;
    display: block;
    overflow: hidden;
    background-position: center;
}

#hero-area .bg-img-featured { background-position: 90%; }

#hero-area .bg-video {
    background-size: cover;
    width: -webkit-calc(100% + 50px);
    width: 100%;
    background-position: 90%;
    display: block;
    overflow: hidden;

    background-position: center;
}

#hero-area .bg-video video {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);

  /*video always fit*/
  object-fit: cover;
  object-position: center top;

   width: 100%;
   /* height: 100%; */
	 min-height: 100%;
}

#hero-area .news-bg-img,
#half-hero-area .news-bg-img {
    /*height: 70vh;*/
    background-position: center;
}

#hero-area.news-hero-area { height: 70vh; }

#hero-area .cover,
#half-hero-area .cover { position: absolute; }

#hero-area .cover,
#hero-area .nav-stuff,
#half-hero-area .cover {
    height: 100%;
    width: 100%;
    position: absolute;
}

#with-top-image-content-holder {
    z-index: 2;
    position: relative;
    margin-top: 100vh;
    margin-bottom: -70px;
}

#no-top-image-content-holder {
    position: relative;
    min-height: 100%;
    padding-top: 30px;
    margin-top: 0px;
}

#no-top-image-content-holder .body-content-holder { transform: none; }

#main-content-container {
    z-index: 2;
    position: relative;

    width: 50%;
    float: right;
    height: 100vh;
    margin-top: 0;
}

@media (max-width: 1200px){
	.container { padding: 0 40px; }
}

@media (max-width: 1340px){
	.container { padding: 0 60px; }
}

.container {
    width: 100%;
    max-width: 1500px;
    padding: 0 80px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

/* content */
.body-content-holder {
    background-color: #fff;
    transform: matrix(1, 0, 0, 1, 0, -70);
}

.half-body-content-holder {
    background-color: #fff;
    padding: 200px 50px;
}

.body-content .container { z-index: 2; }

.content-intro {
	padding: 40px 20px 50px 20px;
	font-family: 'Calibri', sans-serif;
	/*letter-spacing: 1px;*/
	color: #46463e;
	font-size: 16px;
}

.content-intro h4 {
	color: #860007;
	font-weight: bold;
	margin-bottom: 3px;
	margin-top: 0;
}

.content-intro p { margin-bottom: 10px; }

.body-content-holder h2,
.half-body-content-holder h2 {
	font-size: 46px;
    text-align: center;
}
.half-body-content-holder hr {
    margin-left: 0;
}
.half-body-content-holder h2 {
   text-align: left;
}

/* others */
.final-red-dot {
	color: #860007;
	font-size: 8px;
	width: 100%;
}

/* background bars */
.background-img-bar {
    height: 200px;
    text-align: center;
    background-color: #e7d7d8;
    left: 0;
    position: absolute;
}

.surrounded {
    padding: 5px 10px;
    border: 3px solid #860007;
    color: #860007;
    transform: matrix(1, 0, 0, 1, 0, 40);
    display: inline-block;
    background-color: transparent;
}

.surrounded:link,
.surrounded:visited {
    color: #860007;
    text-decoration: none;
}
.surrounded:hover,
.surrounded:active {
    color: #000000;
    border-color: #000000;
    text-decoration: none;
}
.csColumn img {
    display: block;
    margin-bottom: 20px;
    margin-top: 10px;
    width: auto !important;
    height: auto !important;
    max-height: 400px;
}
.csRow { position: relative; }

.download-file-img {
    height: 70px !important;
    padding-left: 20px;
    padding-right: 20px;
}
.download-file-link { color: #46463e; }
.no-transforms { margin-top: 80vh; }
.no-transforms #nav-sticking-out,
.no-transforms .bottom-bar,
.no-transforms .body-content-holder {
   transform: none !important;
}

.surrounded-container { margin-top: 50px; }

.content-intro img {
    max-width: 90%;
    height: auto;
}

.content-caption {
    color: #8f8f8a;
    letter-spacing: 1px;
    font-size: 11pt
}

.colorful-background {
    background-color: #e7d7d8;
    position: absolute;
}

/* Medium devices (desktops, 992px and up) */
@media (max-width: 991px) {
    .content-intro p { font-size: 10pt; }
    .container { padding: 0 40px; }
}

@media (max-width: 800px) {
    /* Two Columns content to One Column */
    .container {
        width: 100%;
        padding: 0 50px;
    }
    .csColumn {
        margin-bottom: 40px !important;
        padding: 0 30px;
    }
    .csColumn img { margin: 0 auto 20px auto !important; }
    .content-intro * { text-align: center !important; }
    .half-body-content-holder .content-intro * { text-align: left !important; }
    .content-caption { margin: auto !important; }
}

/* Small devices */
@media (max-width: 767px) {
    .featured-titles {
        top: 5%;
        margin-left: 50px;
    }
    #main-content-container {
        width: 100%;
        height: auto;
    }
    .half-body-content-holder {
        padding-top: 0;
        padding-bottom: 0;
    }
    #hero-area {
        /*height: 70vh !important;*/
        height: 70vh;
        width: 100%;
    }
    #half-hero-area {
        height: 70vh !important;
        width: 100%;
        position: initial;
    }
		#with-top-image-content-holder {
			margin-top: 70vh !important;
		}

    #half-hero-area .cover { height: 70vh !important; }
    /*#with-top-image-content-holder { margin-top: 70vh !important; }*/

    /* background bars */
    .background-img-bar { height: 150px; }

    .bottom-bar {
        position: initial;
        margin-top: -5px;
        transform: none;
    }
    #nav-sticking-out,
    .body-content-holder { transform: matrix(1, 0, 0, 1, 0, 0); }
    #with-top-image-content-holder { margin-bottom: 0; }
    .half-body-content-holder .content-intro * { text-align: center !important; }
    .half-body-content-holder .content-intro hr { margin-left: auto; }
}

/* Increase size of content */
@media (max-width: 530px) {
    .featured-titles {
        top: 5%;
        margin-left: 20px;
    }
    .container { padding: 0; }

    .titles h1,
    .featured-titles h1 { font-size: 36px; }
    .featured-titles h2 { font-size: 24px; }
    .featured-titles h4 { font-size: 16px; }

    .surrounded-container {
        margin-bottom: 20px;
        text-align: center;
    }
}

/* Increase size of content */
@media (max-width: 360px) {
    .content-intro {
        padding-left: 15px;
        padding-right: 15px;
    }
    /* background bars */
    .background-img-bar { height: 100px; }

    /* titulos em cima das imagens de destaque */
    .titles h1,
    .featured-titles h1 { font-size: 30px; }
    .featured-titles h2 { font-size: 20px; }
    .featured-titles h4 { font-size: 14px; }
}

/* mobile indicator */
#mobile-indicator { display: none; }
#tablet-indicator { display: none; }

@media (max-width: 767px) {
    #tablet-indicator { display: block; }
}
@media (max-width: 530px) {
    #mobile-indicator { display: block; }
}

.uppercase { text-transform: uppercase; }

.body-content .container {
	display: none;
}
/* fadein fadeout do titulo bem vindo acima do video inicial */
@-webkit-keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@-webkit-keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.fadeIn {
    -webkit-animation: fadeIn;
    animation: fadeIn;
    opacity: 1;
}

.fadeOut {
    -webkit-animation: fadeOut;
    animation: fadeOut;
    opacity: 0;
}

.fast {
    -webkit-animation-duration: 1s;
    animation-duration: 1s
}
