/* ==========================================================================
# Footer style - begin
========================================================================== */

footer {
	display: block;
	width: 100%;
	margin: 0 auto;
	z-index: 100;
	position: relative;
	@include edgtfBoxSizing(border-box);

	.edgtf-footer-inner {
		position: relative; /* for triangle back to top and ajax transitions */
	}

	.edgtf-container {
		background-color: inherit;
	}

	.edgtf-container-inner {
		position: relative;
	}

	.edgtf-container-inner > .widget{
		text-align: center;
	}

	a {
		text-decoration: none;
	}

	.edgtf-footer-ingrid-border-holder-outer {
		background-color: $first-main-color;
	}

	.edgtf-footer-top-border-holder,
	.edgtf-footer-bottom-border-holder {
		position: relative;
		display: block;
		width: 100%;
	}

	.edgtf-footer-top-border-holder.edgtf-in-grid,
	.edgtf-footer-bottom-border-holder.edgtf-in-grid {
		width: $grid-width;
		margin: 0 auto;
	}

	body:not(.error404) &.edgtf-footer-uncover {
		visibility: hidden;

		.touch & {
			visibility: visible;
		}

		.edgtf-column {
			@include edgtfTransition(opacity 1s cubic-bezier(0, 0, 0, 1));
			will-change: opacity;

			@include keyframes(edgtfPullDown) {
				0% {
					@include edgtfTransform(translate3d(0, -10px, 0));
				}

				100% {
					@include edgtfTransform(translate3d(0, 0, 0));
				}	
			}

			&.edgtf-showing {
				@include edgtfAnimation(edgtfPullDown .6s cubic-bezier(.5,.15,.33,.88) 1);
			}
		}
	}

	.edgtf-footer-top-holder {
		display: block;
		background-color: $first-main-color;
		position:relative;
		background-position:center center;
		background-size: cover;
	}

	.edgtf-footer-top {

		&.edgtf-footer-top-full {
			padding: 129px 145px 126px;
		}

		&:not(.edgtf-footer-top-full) .edgtf-container-inner {
			padding: 129px 0 126px;
		}

		&.edgtf-footer-top-aligment-center {
			text-align: center;
		}

		&.edgtf-footer-top-aligment-left {
			text-align: left;
		}

		&.edgtf-footer-top-aligment-right {
			text-align: right;
		}

	}

	
	.edgtf-footer-bottom-holder {
		width: 100%;
		background-color: $first-main-color;
		vertical-align: middle;
		text-align: center;
		padding: 24px 0;

		.edgtf-column-inner {
			text-align: center;
			vertical-align: middle;
		}

		.edgtf-three-columns .edgtf-column:first-child .edgtf-column-inner {
			text-align: left;
		}

		.edgtf-three-columns .edgtf-column:last-child .edgtf-column-inner {
			text-align: right;
		}

		.edgtf-two-columns-50-50 .edgtf-column:first-child .edgtf-column-inner {
			text-align: left;
		}

		.edgtf-two-columns-50-50 .edgtf-column:last-child .edgtf-column-inner {
			text-align: right;
		}

		.edgtf-footer-bottom-border-bottom-holder {
			clear: both;
		}

	}

}

/* Footer uncover - begin
========================================================================== */

.no-touch body:not(.error404) footer.edgtf-footer-uncover {
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 99;
	@include edgtfTransition(left 0.33s cubic-bezier(0.694, 0.0482, 0.335, 1));

	.cf7_custom_style_2 input.wpcf7-form-control.wpcf7-text,
	.cf7_custom_style_2 input.wpcf7-form-control.wpcf7-number,
	.cf7_custom_style_2 input.wpcf7-form-control.wpcf7-date,
	.cf7_custom_style_2 textarea.wpcf7-form-control.wpcf7-textarea,
	.cf7_custom_style_2 select.wpcf7-form-control.wpcf7-select,
	.cf7_custom_style_2 input.wpcf7-form-control.wpcf7-quiz {
		transform: none;
	}

}

/* Footer uncover - end
========================================================================== */

/* Footer boxed - begin
========================================================================== */

.boxed footer {
	width: 100% !important;
	box-sizing:border-box;
	-moz-box-sizing:border-box; /* Firefox */
}

/* Footer boxed - end
========================================================================== */

/* Footer disabled - begin
========================================================================== */

footer.edgtf-disable-footer {
	display: none;
}

/* Footer disabled - end
========================================================================== */


/* ==========================================================================
# Footer style - end
========================================================================== */

/* ==========================================================================
# Footer widgets - begin
========================================================================== */

footer .widget {
	color: rgba(255,255,255,.9);
	margin-bottom: 20px;

	a{
		color: $default-background-color;
	}

	&:last-child {
		margin-bottom: 0;
	}

	.edgtf-footer-widget-title {
		color: #ababab;
		padding: 10px 0 23px;
		margin-bottom: 15px;
		border-bottom: 1px solid #565656;
	}

	&.widget_edgtf_instagram_widget .edgtf-footer-widget-title{
		margin-bottom: 27px;
	}

	&.widget_nav_menu {

		.edgtf-footer-widget-title {
			margin-bottom: 12px;
		}

		.menu-blaze-footer-menu-container {
			li {
				display: inline-block;
                font-size: 25px;
                line-height: 1em;

                a {
                    padding: 0 22px;
                    margin: 0 10px;

                    &:after {
                    	content: '';
                    	position: absolute;
                    	bottom: -3px;
                    	left: 22px;
                    	width: 16px;
                    	height: 2px;
                    	background-color: currentColor;
                    	opacity: 0;
                    	@include edgtfTransition(opacity .2s ease-out);
                    }

                    &:hover {
                    	&:after {
                    		opacity: 1;
                    	}
                    }

                }
			}
		}
	}

	&.edgtf-latest-posts-widget .edgtf-item-info-section .edgtf-info-btm-left > div a{

		&:hover{
			color: #fff;
		}

	}

	#wp-calendar{
		#today{
			color: #fff;
			font-weight: 600;
		}
	}

	ul {
		list-style: none;

		li {
			a {
				color: rgba(255,255,255,.9);
			}
	
			&:hover {
				> a {
					color: #fff;
				}
			}
		}
	}

	.edgtf-item-title a{

		&:hover{
			color: #ababab;
		}
	}

	select,
	input[type="text"] {
		width: 100%;
		overflow: hidden;
		border: 1px solid #e9e9e9;
		background-color: #fff;
		padding: 10px 15px;
		outline: none;
		color: $default-text-color;
		font-family: inherit;
		@include edgtfBoxSizing(border-box);
	}

	&.widget_recent_entries {

		ul {
			li {
				a{
					color: #fff;
				}
			}
		}


		.post-date {
			display: block;
		}
	}

	.tagcloud a{
		color: #fff;

		&:hover{
			border-color: #fff;
		}
	}

	&.widget_archive,
	&.widget_categories,
	&.widget_pages,
	&.widget_meta,
	&.widget_nav_menu{
		
		li:hover a{
			color: #fff;
		}
	}

	&.widget_text{
		.edgtf-footer-widget-title{
			margin-bottom: 20px;
		}
	}

	&.widget_rss{
		.edgtf-footer-widget-title .rsswidget{
			color: #fff;
		}
	}

	&.widget_nav_menu .menu-item:hover a{
		color: #fff;
	}
}


/* ==========================================================================
# Footer widgets - end
========================================================================== */

