/*  -----------------------------------------------------------------------------------------------
    Topbar
    @package v.1.0.0
--------------------------------------------------------------------------------------------------- */

.topbar
{
	background: $accent_color;
	color: $white;
	padding: 7px 0;
	font-size: 14px;
	transition: all .25s;
	border-bottom: 1px solid $grey;
	@include elements_padding_on_sides;
	
	@include media('<=tablet')
	{
		display: none;
	}

	.full-screen-background-image:not(.body-offcanvas-opened) &,
	.show-gradient-effect:not(.body-offcanvas-opened) &
	{
		@include relative;
	}
	
	.wrapper
	{
		@extend .flex-item;
		-webkit-justify-content: space-between;
		        justify-content: space-between;
		    
	    @include media('<=tablet')
	    {
	    	flex-direction: column;
	    }
		    
		.topbar-right
		{
			display: flex;
			padding-left: 12px;
			
			@include media('<=tablet')
			{
				padding-left: 6px;
			}
		}

		p
		{
			margin: 0;
		}

		ul 
		{
			@extend .flex-item;
			list-style-type: none;
			padding: 0;
			margin: 0;
			display: flex;
			flex-wrap: wrap;
			
			li
			{
				margin-right: 12px;
				
				@include media('<=tablet')
				{
					margin-right: 6px;
				}
				
				&:last-child
				{
					margin-right: 0;
				}
			}
		}

	    a
	    {
	    	@extend .flex-item;
	    	color: $white;
	    	
	    	.screen-reader-texts
	    	{
	    		display: none;
	    	}

	    	&:hover,
	    	&:focus
	    	{
	    		color: $black;
	    	}

	    	svg
	    	{
	    		width: 18px;
	    		height: 18px;
	    		fill: $white;
	    	}
	    }

	    .topbar-date
	    {
	    	@extend .flex-item;
	    	text-transform: uppercase;
	    	color: $white;
	    	margin-left: 24px;
	    }

	    .woocommerce-link
	    {
	    	margin-left: 12px;
	    	
	    	@include media('<=tablet')
	    	{
	    		margin-left: 6px;
	    	}
	    }
	}
}

.topbar-content
{
	display: none;
	margin: 24px 0;
	
	@include media('<=tablet')
	{
		display: block;
	}

	.nav
	{
		list-style-type: none;
		padding: 0;
		margin: 0;
		
		li
		{
			text-transform: uppercase;
		}
	}
}

.full-screen-background-image:not(.body-offcanvas-opened),
.show-gradient-effect:not(.body-offcanvas-opened)
{
	.topbar
	{
		background: transparent !important;
	}
}