/* gallery widget */
.gallery {
	display: flex;
	flex-flow: row wrap;
	position: relative;
}
.gallery .image {
	flex: 1 0 calc(40% - 8px);
	padding: 5px;
}
.gallery .image1 {flex: 1 0 calc(20% - 8px);}
.gallery .image2 {flex: 1 0 calc(30% - 8px);}
.gallery .image3 {flex: 1 0 calc(40% - 8px);}
.gallery img {
	border-radius: 5px;
	width: 100%;
}
div .not-resizable .resizable {
	width: 100%;
	height: 100%;
}
.block-widget {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	background-color: #CCC;
}
.handler {
	font-size: 12px;
	border-bottom-right-radius: 4px;
	border-bottom-left-radius: 4px;
	margin: 0 auto;
	width: 120px;
	text-align: center;
	background: rgba(0, 0, 0, 0.4);
	color: #FFF;
}
.dinamic-widget {
	width: 100%;
	max-height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background: rgb(255, 0, 0, 0.4);
	padding: 2px;
	border: 1px solid #FFF;
}
/* products widget */
.products {
	display: flex;
  flex-flow: row wrap;
  position: relative;
}
.products .image {
	flex: 1 0 calc(40% - 8px);
	padding: 5px;
	max-height: 100%;
	margin-bottom: 0px;
}
.products .image1 {flex: 1 0 calc(30% - 8px);}
.products .image2 {flex: 1 0 calc(40% - 8px);}
.products img {
	border-top: 1px solid #000;
	border-left: 1px solid #000;
	border-right: 1px solid #000;
	border-top-right-radius: 4px;
	border-top-left-radius: 4px;
	width: 100%;
}
.name-product, .price-product {
	width: 100%;
	background-color: rgb(0, 0, 0, 0.8);
	color: #FFF;
	padding-bottom: 3px;
	position: relative;
	top: -25px;
	font-size: 14px;
	text-align: center;
	border-left: 1px solid #000;
	border-right: 1px solid #000;
}
.price-product {
	border-bottom: 1px solid #000;
	border-bottom-right-radius: 4px;
	border-bottom-left-radius: 4px;
}
.link-product {
	position: relative;
	top: -20px;
	border: 1px solid #000;
	background: rgb(0, 0, 0, 0.5);
	width: 100%;
	color: #FFF;
	text-align: center;
}
.link-product a {
	width: 100%!important;
	text-decoration: none;
	color: #FFF;
}
/* profile widget */
.profiles {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
.profiles .image {
	background-color: rgb(255, 0, 0, 0.5);
	width: 30%;
	margin: 6px;
	border-radius: 5px;
	text-align: center;
}
.profiles .image1 {flex: 1 0 calc(30% - 8px);}
.profiles .image2 {flex: 1 0 calc(40% - 8px);}
.profiles img {
	border-radius: 100px;
	width: 100px;
	height: 100px;
	margin: 5px;
}
.name {
	width: 100%;
	background-color: rgb(0, 0, 0, 0.8);
	color: #FFF;
	padding-bottom: 3px;
	position: relative;
	top: -25px;
	font-size: 14px;
	text-align: center;
}
.description {
	font-size: 12px;
}
.profiles .image .name {
	font-weight: bold;
}
.profiles .image .description, .social {
	position: relative;
	top: -25px;
}
.description {
	margin-top: 5px;
}
.social {
	margin-top: 20px;
}
.social span {
	margin: 2px;
}
.social span a {
	color: #FFF;
}
/* slide widget */
.slide-cover {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 99;
}
@keyframes slidy {
	0% { left: 0%; }
	20% { left: 0%; }
	25% { left: -100%; }
	45% { left: -100%; }
	50% { left: -200%; }
	70% { left: -200%; }
	75% { left: -300%; }
	95% { left: -300%; }
	100% { left: -400%; }
}

div.slide { overflow: hidden; }
div.slide figure img { width: 20%; float: left; }
div.slide figure { 
  position: relative;
  width: 500%;
  margin: 0;
  left: 0;
  text-align: left;
  font-size: 0;
  animation: 20s slidy infinite; 
}

/* buttons menu */
.invisible-button {
	background: rgba(0, 0, 0, 0)!important;
	border: none!important;
	border: 1px solid red!important;
}
.invisible-button a {
	color: rgba(0, 0, 0, 0)!important;
}
.buttons_menu {
	max-width: 100%;
	display: flex;
	justify-content: space-between;
	flex-direction: row;
	flex-wrap: wrap;
}
.buttons_menu div {
	text-align: center;
	margin-bottom: 10px;
	background: #000;
	padding: 10px;
	border-radius: 5px;
	border: 1px solid #FFF;
}
.buttons_menu div:hover {
	border: 1px dashed red;
}
.buttons_menu div a {
	width: 100%;
	text-decoration: none;
	color: #FFF;
}

.custom-form {
	background: #FFF;
	text-align: center;
	padding: 3px;
	border-radius: 5px;
}
.custom-form a {
	text-decoration: none;
}
.custom-element-widget {
	width: 100%;
	margin-top: 4px;
}
.custom-element-widget label {
	width: 100%;
	margin:  0px!important;
	padding: 0px!important;
}
input.custom_field {
	height: 30px!important;
}
input.custom_field, select.custom_field {
	width: 100%;
	margin: 0px;
	border-radius: 4px;
	border: 1px solid #c5c5c5;
}
textarea.custom_field,  select.custom_field {
	border-radius: 4px;
	border: 1px solid #c5c5c5;
}

#page2, #page3, #page4, #page5, #page6, #page7, #page8 {
	display: none;
}

.multiple {
	height: 100px!important;
}

fieldset {
	margin-top: 10px;
}
legend {
	margin: 0;
	font-size: 16px!important;
	font-weight: bold;
	text-align: center;
}
.custom-form-width {
	padding-top: 20px;
	padding-bottom: 20px;
}
.selected-item {
	background: rgb(255,0,0,0.7)!important;
}
.menu-audio-select {
	overflow: auto;
	height: 150px;
	background-color: #FFF;
	color: #000;
	margin: 0;
	padding: 0;
}
.element-audio {
	display: flex;
	width: 100%;
}
.audio-item .play {
	cursor: pointer;
}
.audio-item .stop {
	cursor: pointer;
}
.audio-name {
	font-size: 12px;
	font-weight: bold;
	margin: 0;
	padding-left: 7px;
}
.audio-item {
	background: rgb(0, 5, 81, 0.2);
	color: #000;
	display: flex;
	justify-content: space-around;
	align-items: center;
	width: 100%;
	margin: 0;
}
.audio-item .sub-item {
	padding: 5px;
}
.audio-item img {
	width: 100%;
	height: 34px;
}

.audio {
	display: none;
}

.videos {
	display: flex;
	flex-wrap: wrap;
	padding: 10px;
}
.video div {
	position: absolute;
	bottom: 0px;
	width: 100%;
	z-index: 10;
	text-align: center;
	background: rgb(0, 0, 0, 0.6);
	color: #FFF;
}
.video {
	position: relative;
	width: 50%;
	display: flex;
	align-items: center;
	border: 1px solid rgb(0, 0, 0, 1);
}
.video-preview {
	max-width: 100%;
	z-index: 2;
	padding: 0;
}

iframe.video-preview {
	position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
	display: none;
	padding: 0;
}
.contact-button-retangle a, .contact-button-square a {
	text-decoration: none!important;
}
.contact-button-square {
	width: 100%;
}
.element-button a:hover {
	color: #FFF;
}
.element-button a {
	display: block;
	color: #FFF;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}
.alert-message {
	font-size: 16px;
	width: 100%;
	border-radius: 5px;
	color: #FFF;
	padding: 10px;
	margin-top: 10px;
}
.success {background: rgb(0,255,0,0.6);}
.erro {background: rgb(255,0,0,0.6);}
.emojis {font-size: 12px;}
.emojis a{font-weight: bold;}