/* ==========================================================================
   Author's custom styles
   ========================================================================== */


/* Geral */

:root{
	--font-family: 'Archivo', sans-serif;
	--bs-white: #fff;
	--text-color: #6A6A6A;
	--forms-border-color: #CCC;
	--forms-bg: #fff;
	--forms-color: #999;
	--brown: #3D1E14;
	--dark-brown: #24120C;;
	--bs-dark: #000;
	--bs-dark-rgb: 0, 0, 0;
	--bs-primary: #F76711;
	--bs-primary-rgb: 247, 103, 17;
}

body {
	font-family: var(--font-family);
	font-size: 16px;
	color: var(--text-color);
	background: var(--bs-white);
}

*:focus {
	outline: none !important;
	box-shadow: none !important
}

.indent {
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden
}

a,
a:link,
a:visited,
a:active,
a:focus {
	color: var(--bs-dark-green);
	-webkit-transition: all 500ms ease 0s;
	-moz-transition: all 500ms ease 0s;
	-o-transition: all 500ms ease 0s;
	transition: all 500ms ease 0s
}

a,
a:visited,
a:active,
a:focus {
	text-decoration: none
}

a:hover {
	color: var(--brown);
	text-decoration: underline
}

.bolder {
	font-weight: 800;
}

.content {
	padding-top: 30px;
	padding-bottom: 30px;
	min-height: 500px;
	z-index: 2;
	position: relative;
}

.text-o {
	color: var(--bs-primary);
}

.text-secondary {
	color: var(--brown) !important;
}

.text-big {
	font-size: 1.3em;
}

@media (min-width: 992px) {
	.rounded-lg-start-pill {
		border-top-left-radius: 50rem !important;
		border-bottom-left-radius: 50rem !important;
	}
}

.btn-primary,
.btn-primary:hover,
.btn-primary.primary:focus,
.btn-primary:active {
	background: var(--bs-primary);
	border-color: var(--bs-primary);
	color: var(--bs-white);
	-webkit-transition: all 500ms ease 0s;
	-moz-transition: all 500ms ease 0s;
	-o-transition: all 500ms ease 0s;
	transition: all 500ms ease 0s;
}

.btn:hover {
	opacity: .7;
}

/* Footer */

#social-media {
	background: var(--brown);
	color: var(--bs-white);
	font-size: 16px;
}

#social-media .lead {
	font-size: 1.8em;
	font-weight: 500;
}

#social-media .fab {
	vertical-align: middle;
	display: inline-block;
	font-size: 3em;
}

#social-media a:hover {
	color: var(--bs-white);
	opacity: .5;
}

#patrocinadores {
	background: var(--bs-primary);
	color: var(--bs-white);
	font-size: 9px;
}

#copyright {
	background: var(--bs-dark);
	color: var(--bs-white);
	font-size: 13px;
}

#copyright a:hover {
	color: var(--bs-white);
}

/* Header */

#header {
	padding: 30px 0;
	background: var(--bs-primary);
	background-size: cover;
}

@media (max-width: 767px) {

	#header {
		background-position: center 0;
	}

}

#header .container {
	position: relative;
}

#pg-home > #header {
	display: none;
}


/* Menu */

@media (min-width: 768px) {
	.navbar-nav {
		float: none;
		margin: 0 auto;
		display: table;
		table-layout: fixed;
	}
}

#nav {
	font-size: 14px;
	font-weight: bold;
	text-transform: uppercase;
	background-color: var(--bs-dark);
}

#navbar .navbar-nav > li > a {
	color: var(--bs-white);
	text-decoration: none;
}

#navbar .navbar-nav > li > a:hover,
#navbar .navbar-nav > .active > a,
#navbar .navbar-nav > .active > a:hover,
#navbar .navbar-nav > .active > a:focus {
	color: var(--bs-primary);
}

#navbar .navbar-nav > .open > a,
#navbar .navbar-nav > .open > a:hover,
#navbar .navbar-nav > .open > a:focus {
  color: var(--bs-white) !important;
  background: none;
}

#navbar .navbar-nav > .dropdown:hover > a {
	color: var(--bs-primary);
}

#navbar .navbar-nav > .dropdown > a > span {
	font-size: 12px
}

.dropdown-menu {
	border-radius: 0;
	border: none;
	background-color: var(--bs-dark);
	font-size: 12px;
}

.dropdown-menu > li > a {
	color: var(--bs-white) !important;
	text-decoration: none;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li.active > a {
	background-color: var(--bs-primary) !important;
	color: var(--bs-white);
}

.dropdown:hover > .dropdown-menu {
	display: block;
}

.affix {
	top: 0;
	width: 100%;
	z-index: 9999 !important
}

.navbar-collapse,
.navbar-header {
	border: none;
}

.affix {
	position: fixed;
	top: 0;
	width: 100%;
	opacity: 1;
}
  
.affix-top {
	position: static;
	opacity: 0.8;
}

.offcanvas {
    background-color: var(--bs-primary);
    border: none;
    max-width: 98%;
}


/* Conteudo */

#top .container {
	height: 250px;  
}

@media (max-width: 767px) {

	#top .container {
		height: 150px;
	}

}

h1,
h2,
h3,
h4 {
	font-weight: bold;
	text-align: left
}

h1 {
	font-size: 54px;
	color: var(--bs-primary);
	font-weight: 800;
}

h2 {
	font-size: 32px;
	color: var(--bs-dark-green);
}

h3 {
	font-size: 18px;
	color: var(--bs-dark-green);
}

h1 small {
	text-transform: none
}

blockquote {
	background: #f9f9f9 url(../img/big-quote-marks-opening.png) no-repeat 10px 15px;
	border-left-color: #d8d8d8;
	color: var(--bs-dark-green);
	font-size: 20px;
	font-style: italic;
	font-weight: bold;
	padding-left: 60px;
}

@media (min-width: 768px) {
	.dl-horizontal dt {
		width: 60px;
	}
	.dl-horizontal dd {
		margin-left: 70px;
	}
}

.rotate-270 {
	transform: rotate(270deg);
	display: inline-block;
}


/* Breadcrumb */

.breadcrumb {
	color: var(--bs-dark-green);
	font-size: 14px;
	text-align: right;
	background: none;
}

.breadcrumb > li + li:before {
	color: var(--bs-dark-green);
}

.breadcrumb a {
	color: var(--bs-dark-green);
}

.breadcrumb .active a {
	color: var(--bs-dark-green);
}


/* Hospedagem e Alimentacao */

.accordion,
.accordion:link,
.accordion:visited,
.accordion:active,
.accordion:focus  {
	color: var(--bs-primary);
	border-bottom: 2px solid var(--bs-primary);
	padding: 20px 0;
	display: block;
	text-transform: uppercase;
}

.accordion:hover {
	text-decoration: none;
	color: var(--bs-primary);
}

.panel {
	display: none;
}

.map-responsive {
	overflow: hidden;
	padding-bottom: 56.25%;
	position: relative;
	height: 0;
}

.map-responsive iframe {
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	position: absolute;
}


/* Programacao */

.box .c {
	background: #F1F1F1;
	margin-bottom: 20px;
	padding-bottom: 10px
}

.box h2 {
	padding: 10px;
	background: var(--bs-white);
}

.box h2 span {
	background: var(--bs-primary);
	color: var(--bs-white);
	padding: 10px;
	margin-left: -10px
}

.box p,
.box h3 {
	padding: 0 10px;
	margin: 10px 0
}

.box h3 {
	color: var(--bs-primary)
}

.box li {
	margin-left: 30px
}

.programacao {
	min-height: 150px
}


/* Fale Conosco */

textarea,
input {
	resize: none;
	border: 2px solid var(--bs-dark) !important;
}

input:hover,
input:focus,
textarea:hover,
textarea:focus {
	border-color: var(--bs-primary) !important
}

#map {
	height: 450px
}

input.error,
textarea.error {
	border-color: red;
	color: red
}

div.error {
	color: red;
	font-size: 11px
}


/* Galeria */

.galeria a {
	float: left;
	margin: 0 1px 1px 0;
	border: 1px solid var(--bs-white);
}

.galeria a:hover {
	opacity: .5;
	border-color: var(--bs-primary)
}


/* Home */

#slide {
	background: url(../img/loading.gif) no-repeat center center;
}

#slide>ul {
	opacity: 0;
}

.slide-description {
	position: absolute;
	z-index: 10;
	background-color: rgba(255, 255, 255, 0.8);
	padding: 20px;
	bottom: 30px;
	left: 30px;
	text-align: right;
}

.slide-description p {
	color: #6a6a6a;
	font-size: 16px;
	margin: 10px 0
}

.slide-description .t {
	font-weight: bold;
	color: #05542b;
	font-size: 18px;
	margin: 0;
	white-space: nowrap;
	line-height: 30px;
}

.slide-description .t span {
	color: #000;
	font-weight: normal;
}

.slide-description a {
	padding: 10px 15px;
	color: var(--bs-primary);
	display: inline-block;
}

.slide-description a:hover {
	text-decoration: none;
}

.slide-description img {
	float: left;
	display: block;
	width: 24px;
	margin: 5px 0 5px 20px;
}

.data {
	line-height: 32px;
	text-align: center;
	background: var(--bs-primary);
	font-size: 42px;
	color: var(--bs-white);
}

.countdown {
	line-height: 32px;
	text-align: center;
	background: var(--bs-primary);
	font-size: 32px;
	color: var(--bs-white);
	font-weight: bold;
}

.count {
	font-size: 60px;
	line-height: 20px;
	margin: 0;
	padding: 0;
	padding-top: 20px;
}

.countdown small {
	font-size: 11px;
	line-height: 40px;
	text-transform: uppercase;
	font-weight: bold;
}

.bg-cover {
	background: no-repeat center 0;
	background-size: cover;
}

.d-flex {
	display: flex;
}

#inscricoes {
	background: var(--brown);
	font-size: 2em;
	text-align: center;
	line-height: 1;
}

#inscricoes a {
	color: var(--bs-white);
	text-decoration: none;
}

#inscricoes strong {
	font-weight: 700;
}


/*  */


.d {
	padding: 50px 0;
	text-align: center
}

.d a {
	color: var(--bs-white);
	background: var(--bs-dark-green);
	border: 3px solid var(--bs-dark-green);
	border-radius: 40px;
	text-decoration: none !important;
	padding: 10px 20px;
	font-style: normal;
	font-size: 24px;
	font-weight: bold
}

.d a:hover {
	opacity: .7;
}


/* Videos Youtube */

.embed-container { 
	position: relative; 
	padding-bottom: 56.25% !important; 
	height: 0; 
	overflow: hidden; 
	max-width: 100%; 
} 
.embed-container iframe, 
.embed-container object, 
.embed-container embed { 
	position: absolute; 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%; 
}


@media (max-width: 767px) {
	h1 {
		text-align: center;
		font-size: 24px;
	}
	#top {
		background-size: cover
	}
	#home .row {
		display: block;
	}
	#home .desc {
		width: 100%
	}
}


@media (max-width: 580px) {
	.countdown {
		font-size: 18px;
	}
	.data {
		font-size: 28px;
	}
	.count {
		font-size: 36px;
	}
	.countdown small {
		font-size: 12px;
	}
	.slide-description {
		display: none;
	}
	.embed-container { 
		padding-bottom: 0 !important; 
		height: auto; 
		position: static;
	} 
	.embed-container iframe, 
	.embed-container object, 
	.embed-container embed { 
		position: static; 
		top: auto;
		left: auto;
	}
	.redes {
		text-align: center;
	}
}


.main-timeline{
	overflow: hidden;
	position: relative;
}
.main-timeline:before{
	content: "";
	width: 3px;
	height: 100%;
	background: var(--brown);
	color: var(--bs-white);
	position: absolute;
	top: 0;
	left: 50%;
}
.main-timeline .timeline{
	padding-right: 30px;	
	position: relative;
}
.main-timeline .timeline:before,
.main-timeline .timeline:after{
	content: "";
	display: block;
	width: 100%;
	clear: both; 
}
.main-timeline .timeline:first-child:before,
.main-timeline .timeline:last-child:before{
	content: "";
	width: 13px;
	height: 13px;
	border-radius: 50%;
	border: 2px solid var(--brown);
	background: var(--bs-white);
	margin: 0 auto;
	position: absolute;
	top: 0;
	left: 0;
	right: -3px;
}
.main-timeline .timeline:last-child:before{
	top: auto;
	bottom: 0;
}
.main-timeline .timeline-icon{
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--bs-white);
	border: 2px solid #ececec;
	box-sizing: content-box;
	margin: auto;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: -4px;
}
.main-timeline .timeline-icon:before{
	content: "";
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--bs-primary);
	margin: auto;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}
.main-timeline h2 {
	color: var(--bs-primary);
}
.main-timeline a {
	color: var(--bs-primary);
}
.main-timeline .year{
	display: inline-block;
	padding: 8px 20px;
	margin: 0;
	font-size: 14px;
	color: var(--bs-white);
	background-color: var(--bs-primary);
	text-align: center;
	position: absolute;
	top: 50%;
	right: 35%;
	transform: translateY(-50%);
}
.main-timeline .year:before{
	content: "";
	border-right: 18px solid var(--bs-primary);
	border-top: 18px solid transparent;
	border-bottom: 18px solid transparent;
	position: absolute;
	top: 0;
	left: -18px;
}
.main-timeline .timeline-content{
	width: 46.5%;
	padding: 43px 50px 0;
	margin: 0 20px 0 0;
	background: var(--brown);
	color: var(--bs-white);
	position: relative;
}
.main-timeline .timeline-content:after{
	content: "";
	border-left: 20px solid var(--brown);
	border-top: 20px solid transparent;
	border-bottom: 20px solid transparent;
	position: absolute;
	top: 50%;
	right: -20px;
	transform: translateY(-50%);
}
.main-timeline .title{
	float: left;
	font-size: 24px;
	font-weight: bold;
	color: #504f54;
	margin: 0 20px 20px 0;
}
.main-timeline .post{
	display: inline-block;
	font-size: 14px;
	color: #999;
	margin-top: 6px;
}
.main-timeline .description{
	font-size: 14px;
	color: #7d7b7b;
	line-height: 24px;
	margin: 0;
	clear: both;
}
.main-timeline .timeline:nth-child(2n){ padding: 0 0 0 30px; }
.main-timeline .timeline:nth-child(2n) .year{
	right: auto;
	left: 35%;
}
.main-timeline .timeline:nth-child(2n) .year:before{
	border: 18px solid transparent;
	border-right: none;
	border-left: 18px solid var(--bs-primary);
	left: auto;
	right: -18px;
}
.main-timeline .timeline:nth-child(2n) .timeline-content{
	float: right;
	margin: 0 0 0 20px;
}
.main-timeline .timeline:nth-child(2n) .timeline-content:after{
	border-left: none;
	border-right: 20px solid #f2f2f2;
	right: auto;
	left: -20px;
}
@media only screen and (max-width: 1200px){
	.main-timeline .year{ right: 30%; }
	.main-timeline .timeline:nth-child(2n) .year{ left: 30%; }
}
@media only screen and (max-width: 990px){
	.main-timeline .year{ right: 25%; }
	.main-timeline .timeline:nth-child(2n) .year{ left: 25%; }
}
@media only screen and (max-width: 767px){
	.main-timeline:before{ left: 10px; }
	.main-timeline .timeline{
		padding: 0 0 0 30px;
		margin-bottom: 20px;
	}
	.main-timeline .timeline:last-child{ margin-bottom: 0; }
	.main-timeline .timeline:first-child:before,
	.main-timeline .timeline:last-child:before{ display: none; }
	.main-timeline .timeline-icon{
		margin: 0;
		position: absolute;
		top: 7px;
		left: 0;
	}
	.main-timeline .year,
	.main-timeline .timeline:nth-child(2n) .year{
		display: block;
		font-weight: bold;
		margin: 0 0 32px 30px;
		z-index: 1;
		position: relative;
		top: auto;
		left: auto;
		right: auto;
		transform: none;
	}
	.main-timeline .timeline:nth-child(2n) .year:before{
		border-left: none;
		border-right: 18px solid  var(--bs-primary);
		right: auto;
		left: -18px;
	}
	.main-timeline .timeline-content{ padding: 20px; }
	.main-timeline .timeline-content,
	.main-timeline .timeline:nth-child(2n) .timeline-content{
		width: auto;
		float: none;
		margin: 0 0 0 30px;
	}
	.main-timeline .timeline-content:after,
	.main-timeline .timeline:nth-child(2n) .timeline-content:after{
		border: none;
		border-bottom: 20px solid #f2f2f2;
		border-left: 20px solid transparent;
		border-right: 20px solid transparent;
		top: -20px;
		left: 50%;
		right: auto;
		transform: translateX(-50%);
	}
}
@media only screen and (max-width: 480px){
	.main-timeline .title{
		float: none;
		margin: 0;
	}
	.main-timeline .year,
	.main-timeline .timeline:nth-child(2n) .year{ margin-left: 20px; }
	.main-timeline .timeline-content,
	.main-timeline .timeline:nth-child(2n) .timeline-content{ margin-left: 10px; }
	.main-timeline .post{ margin: 5px 0; }
}


/* A Feira */

@media only screen and (min-width: 768px){

	#bg-feira {
		background: url(../img/bg-feira-2.png) repeat-x center 300px;
	}

	#bg-feira .content {
		background: url(../img/bg-feira-1.png) center top;
	}

}

/* Como Chegar */

#bg-como-chegar-1 {
	background: url(../img/bg-como-chegar-1.png) repeat-y center top;
}

#bg-como-chegar-2 {
	background: url(../img/bg-como-chegar-2.png) no-repeat left bottom;
}

/*  Fancybox */

.fancybox-content {
	padding: 0 !important;
}
  

/* Expositores */

.expositor {
	border: solid 2px var(--bs-primary);
    border-radius: 30px;
    aspect-ratio: 3 / 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expositor img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
