/*
Theme Name:   mailboxsocks
Theme URI:    https://tigauk.com/
Description:  mailboxsocks theme
Author:       tigauk.com
Author URI:   https://tigauk.com/
Template:     unicase
Version:      1.0.0
Text Domain:  mailboxsocks
*/

body {
	background-color: #f2f8ff;
}

.search-area {
	margin-top: 0;
	border: none;
	border-radius: 0;

	& form {
		& .input-group-addon {
			border-radius: 0;
			background: transparent;
		}

		& .input-group-addon.search-categories {
			border: #555550 1px solid;
		}

		& .search-field {
			border-top: #555550 1px solid;
			border-bottom: #555550 1px solid;
		}

		& .twitter-typeahead + .input-group-addon {
			color: #fff;
			background-color: #3498db;
			background-image: url('assets/search-icon.svg');
			background-repeat: no-repeat;
			background-position: center;
			padding: 0;
			display: flex;
			align-items: stretch;

			& button {
				display: block;
				width: 100%;
			}
		}

		& .fa-search {
			display: none;
		}
	}
}

.header__contact {
}

.header__contact-btn {
	color: #fff;
	background-color: #3498db;
	text-transform: uppercase;
	text-align: center;
	font-weight: 400;
	display: block;
	padding: 6px 0 4px 0;
}

.top-cart-row {
	padding-top: 0;

	& .dropdown-cart .dropdown-trigger-cart .total-price-basket .cart-info {
		display: none;
	}

	& .dropdown-cart .dropdown-trigger-cart .total-price-basket .cart-icon {
		background-image: url('assets/basket.svg');
		background-position: center;
		background-repeat: no-repeat;
		background-color: #fff;

		& .icon {
			display: none;
		}		
	}
}

.top-bar,
.site-header,
.main-header {
	background-color: #9bd1fd;
}

.header-5 {
	.navbar {
		background-color: #f3f3f3;

		& .nav-bg-class {
			background-color: #f3f3f3;
		}

		& .nav-bg-class .navbar-collapse .nav-outer > .navbar-nav > li > a {
			color: #3498db;
		}
	}
}

.navbar .navbar-collapse .nav-outer .navbar-nav > li > a {
	text-transform: none;
}

body.unicase-style-2 .navbar .navbar-collapse .nav-outer .navbar-nav > li > a {
	font-size: 18px;
	line-height: 18px;
	padding-top: 24px;
	padding-bottom: 18px;
}

footer {

	&.site-footer {
		background-color: #f2f2f2;
		border-top-color: #f2f2f2;
	}

	.footer-top-widgets {
		background-color: #f2f2f2;
	}

	.footer-middle-contents-wrap {
		color: #fff;
		background-color: #000;

		a {
			color: #e4262b;
		}
	}

	.footer-bottom-contents-wrap {
		background-color: #555550;

		.footer-copyright-text {
			float: none;
			margin-left: auto;
			margin-right: auto;
			color: #fff;
			display: block;
			text-align: center;

			a {
				color: #3498db;
				font-weight: 400;
			}
		}
	}
}

.home__top-banner {
	color: #fff;
	background-color: #3498db;
	text-transform: uppercase;
	margin-bottom: 0;
	text-align: center;
	padding: 7px 0;
	font-size: 16px;
}

body.home {
	.inner-top-xs {
		padding-top: 0;
	}

	.product-category {
		& > a {
			display: block;
			position: relative;

			& > img {
				width: 100%;
				z-index: 0;
			}

			&::after,
			&::before {
				content: '';
				display: block;
				position: absolute;
			}

			&::before {
				z-index: 1;
				opacity: 0.08;
				mix-blend-mode: multiply;
				background-color: #000;
				top: 0;
				left: 0;
				width: 100%;
				height: 100%;
			}

			&::after {
				z-index: 2;
				border: solid #fff;
			}
		}

		.woocommerce-loop-category__title {
			position: absolute;
			z-index: 3;
			top: 50%;
			left: 0;
			transform: translateY(-50%);
			width: 100%;
			text-align: center;
			color: #fff;
			margin: 0;
			font-weight: normal;
		}

		.count {
			display: none;
		}
	}

	.section-title {
		color: #3498db;
		text-transform: none;
		border-bottom: none;
		text-align: center;
	}
}

@media (min-width: 768px) {

}

@media (min-width: 992px) {
	.main-header-content {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
	}

	.main-header {

		& .site-branding {
			float: none;
		}

		& .top-search-holder {
			float: none;
			margin-left: auto;
		}

		& .top-cart-row {
			float: none;
			width: auto;
		}

		.search-area .input-group {
			display: flex;
			flex-wrap: nowrap;
			flex-direction: row;
			align-items: stretch;
		}

		.twitter-typeahead + .input-group-addon {
			width: 40px;
			flex-shrink: 0;
			flex-grow: 0;
		}
	}

	.header__contact {

	}
}

@media (min-width: 1200px) {
	.main-header {
		& .top-search-holder {
			width: 374px;
		}
	}

	.search-categories {
		width: 155px;
	}

	.header__contact {
		width: 166px;
	}
	.header__contact-btn {
		font-size: 18px;		
	}

	body.home {
		.product-category {

			& > a {
				&::after {
					top: 20px;
					left: 20px;
					right: 20px;
					bottom: 20px;
					border-width: 4px;
				}
			}
			
			.woocommerce-loop-category__title {
				font-size: 46px;
				width: auto;
				left: 52px;
				right: 52px;
			}
		}

		.section-title {
			font-size: 38px;
		}
	}
}

.tax-product_cat__hero-img {
	display: block;
	width: 100%;
}
