// Footer
.footer {
	padding: 50px 0 5px;
	background: #fff;
	&.dark {
		background: $black;
		color: rgba(255,255,255,0.8);
		a:not(.post-social-share) {
			color: #fff;

			&:not([class*="btn"]):after {
				background: #fff;
			}
		}
		label {
      color: #fff;
    }
		.widget {
			color: rgba(255,255,255,0.8);
			h6 {
				color: #fff;
			}
		}
		input[name="jetpack_subscriptions_widget"] {
			color: #fff;
		}
		input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], textarea {
			@extend .dark-form-elements;
		}
		.btn-text {
			@extend .light-button-text;
		}
		.post {
			@extend .white-post-content;
		}
	}
	.footer-logo-holder {
		display: flex;
		justify-content: center;
		align-items: center;

		.footer-logolink {
			display: block;
			margin-bottom: 60px;
			.logoimg {
				max-height: 80px;
			}
		}
	}
	&.footer-full-width-on {
		.row.footer-row {
			max-width: none;
		}
	}
}
// Sub Footer
.subfooter {
	background: #fff;
	width: 100%;
	z-index: 10;
	font-size: 14px;
	padding: 40px 0;
	p {
		margin-bottom: 15px;
		font-size: inherit;
		opacity: 0.8;
		@include min-break($break-small) {
			margin-bottom: 0;
		}
	}
	.footer-logo-holder {
		text-align: center;
		margin-bottom: 25px;

		.footer-logolink {
			display: inline-block;
		}
    .logoimg {
      max-height: 40px;
    }
	}

	.thb-social-links-container.thb-social-horizontal .thb-social-link-wrap {
		margin-bottom: 0;

		.thb-social-link {
			min-width: 20px;
		}
		.thb-social-icon-container {
			@include min-break($break-medium) {
				font-size: 20px;
			}
		}
		&:last-of-type {
			@include min-break($break-small) {
				padding-right: 0;
			}
		}
	}
	.thb-full-menu {
		display: inline-flex;
		flex-wrap: wrap;
		justify-content: center;
		a {
			padding: 0;
			margin-bottom: 15px;
		}
		.footer-logolink {
			display: flex;
		}
		&>li a:not(.logolink) {
			padding: 0;
		}

		li.menu-item-has-children>a:after {
			display: none;
		}
		@include min-break($break-small) {
			a {
				margin-bottom: 0;
			}
		}
		&.thb-underline>li>a:before {
			top: calc(100% + 2px);
		}
	}
	.subfooter-row {
		.rtl & {
			flex-direction: row-reverse;
		}
	}
	&.subfooter-full-width-on {
		.row.subfooter-row {
			max-width: none;
		}
	}
	&.style2 {
		p {
			@include min-break($break-small) {
				margin-bottom: 30px;
			}
		}
		.footer-payment-icons,
		.thb-social-links-container {
			display: block;
		}
		.thb-social-links-container + .footer-payment-icons {
			margin: 30px 0 0 0;
		}
		.thb-full-menu {
			padding: 0 15px;
			justify-content: center;
			margin-bottom: 0px;
		}
		.thb-social-links-container.circle-color {
			.thb-social-link-wrap {
				padding: 0 4px;
			}
			.thb-social-link .thb-social-icon-container {
				width: 38px;
				height: 38px;
				font-size: 16px;
			}
		}
	} // .style2
	&.style3 {
		.thb-full-menu {
			@include min-break($break-small) {
				justify-content: flex-end;
			}
		}
	} // .style3
	&.style4 {
		.footer-logo-holder {
			margin: 15px 0;
			@include max-break($break-small) {
				margin-bottom: 30px;
			}
		}
		p {
			margin-top: 15px;
			text-transform: uppercase;
    	font-size: 10px;
		}
	} // .style4
	&.style5 {
		border-top: 1px solid $border;
		.menu-footer-container,
		.subfooter-text-container {
			display: inline-flex;
		}
		.subfooter-text-container {
			& + .thb-full-menu {
				margin-left: 30px;
			}
		}
	} // .style5
	&.style6 {
		.footer-logo-holder {
			text-align: left;
			@include min-break($break-small) {
				margin: 0;
			}

		}
		.thb-social-links-container.thb-social-horizontal .thb-social-link-wrap .thb-social-icon-container {
			font-size: 16px;
		}
		hr {
			border-color: $border;
			margin: 30px 0 0;
			max-width: none;
		}
	}
	&.dark {
		background: $black;
		color: #fff;
		a:not(:hover) {
			color: #fff;
		}
		.widget h6 {
			color: #fff;
		}
		p {
			opacity: 0.6;
		}
		.thb-social-links-container {
			a {
				color: #fff;
			}
		}
		.thb-full-menu.thb-line-marker>li>a:hover {
			color: #fff;
		}
		&.style5 {
			border-top: none;
		}
		&.style6 {
			border-color: rgba(#fff, 0.1);
		}
		&.style2 {
			.thb-social-links-container.circle-color .thb-social-link {
				.thb-social-icon-container {
					background: #fff;
					color: $black;
					line-height: 0;
				}
				@each $profile, $color in $social {
	        &.social-link-#{$profile} {
	          &:hover {
	            .thb-social-icon-container {
	              color: $color;
	            }
	          }
	        }
	      }
			}
		}
	}
}/* .subfooter End */

.paymenttypes {
		display: inline-block;
		margin: 0;
		width: 50px;
		height: 30px;
		vertical-align: middle;

		svg {
			width: 100%;
			height: 100%;
		}
		&.payment_pp,
		&.payment_discover,
		&.payment_amazon,
		&.payment_wirecard,
		&.payment_payfast {
			width: 70px;
		}
		&.payment_diners {
			width: 30px;
		}
		&.payment_jcb {
			width: 35px;
		}
		@include min-break($break-small) {
			margin-left: 10px;
		}
	}