/*!
Theme Name: Lawsuit Injury support
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: lawsuit-injury-support
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Lawsuit Injury support is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */


/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

.navbar-nav{
	> li.menu-item-has-children{
		position: static;
		>.sub-menu{
			@media(min-width: 992px){
				position: absolute;
				top: 100%;
				left: 0px;
				width: 100%;
				background-color: #fff;
				padding: 50px 0px;
				transition: all 0.3s;
				box-shadow: 0px 1px 5px rgba(0,0,0,0.10);
				visibility: hidden;
				opacity: 0;
				pointer-events: none;
				transform: translate(0px, 10px);
			}
			@media(max-width: 991px){
				background-color: rgba(0,0,0, 0.15);
				margin: 0px -50px 0px -15px;
                padding: 10px 20px;
				display: none;
			}
		}
		&:hover{
			>.sub-menu{
				@media(min-width: 992px){
					visibility: visible;
					opacity: 1;
					pointer-events: unset;
					transform: translate(0px, 0px);
				}
			}
		}
		@media(max-width: 991px){
			position: relative;
		}
	}
	.sub-menu{
		li{
			a{
				text-decoration: none;
				color: #000;
				font-size: 16px;
				display: block;
				padding: 8px 0px 8px 25px;
				position: relative;
				border-radius: 8px;
				&:before,&:after{
					content: "";
					position: absolute;
					top: 46%;
					border-style: solid;
					border-color: #ed1c24;
					border-width: 0px 1px 1px 0px;
					padding: 3px;
					transform: rotate(-45deg) translate(0px, -50%);
					transition: all 0.3s;
				}
				&:before{
					left: 0px;
				}
				&:after{
					left: 5px;
				}
				&:hover{
					@media(min-width: 992px){
						color: #ed1c24;
						background-color: #f7f7f7;
						&:before{
							left: 7px;
						}
						&:after{
							left: 12px;
						}
					}
				}
				@media(max-width: 991px){
					color: #fff;
					font-size: 14px;
				}
			}
		}
	}
	.container{
		display: block;
		> a{
			display: none !important;
		}
		>.sub-menu{
			display: flex;
			flex-wrap: wrap;
			> li{
				flex: 0 0 33.333%;
				max-width: 33.333%;
				padding: 0px 30px;
				&:not(:last-child){
					border-right: 1px solid #eee;
				}
				> a{
					font-size: 24px;
					line-height: 30px;
					font-family: "Bitter", sans-serif;
					color: #000;
					font-weight: 700;
					position: relative;
					margin-bottom: 10px;
					padding: 8px 0px;
					&:before{
						content: "";
						position: absolute;
						top: unset;
						bottom: 0px;
						left: 0px;
						width: 100px;
						height: 2px;
						background-color: #ed1c24;
						padding: 0px;
						transform: unset;
					}
					&:after{
						content: none;
					}
					&:hover{
						@media(min-width: 992px){
							color: #ed1c24;
							background-color: transparent;
						}
					}
					@media(max-width: 991px){
						color: #fff;
						font-size: 20px;
						line-height: 24px;
					}
				}
				@media(max-width: 991px){
					flex: 0 0 100%;
					max-width: 100%;
					padding: 0px 0px;
					&:not(:last-child){
						border-right: 0px;
					}
				}
			}
		}
		@media(max-width: 991px){
			padding: 0px;
		}
	}
	.menu-arrow {
		position: absolute;
		top: 0px;
		right: 0px;
		width: 50px;
		height: 40px;
		cursor: pointer;
		&:before{
			content: "";
			position: absolute;
			top: 13px;
			left: 18px;
			border-style: solid;
			border-color: #fff;
			border-width: 0px 0px 2px 2px;
			padding: 4px;
			transform: rotate(-45deg);
			transition: all 0.3s;
		}
		&.active{
			&:before{
				transform: rotate(135deg);
			}
		}
		@media(min-width: 992px){
			display: none;
		}
	}
}