/*--------------------------------------------------------------
/= Header
--------------------------------------------------------------*/

.site-branding img {
	width: 206px;
	pointer-events: none!important;
	user-select: none!important;
}

.site-header .site-search {
	margin: -2px 0 0 20px;
	flex: 0 0 31%;
	position: relative;
	line-height: 16px;
}

.site-header .site-search .search-form-content {
	margin: 0;
	max-width: 400px;
	position: relative;
	top: 9px;
}

.site-header .site-search .form-group {
	display: flex;
	max-width: 400px;
	flex-direction: row;
	flex-wrap: wrap;
	margin: -10px 228px 0 auto;
	position: relative;
}

.site-header .site-search .form-group .submit-search {
	padding: 0px 5px;
	width: 47px!important;
	margin-left: -47px;
	border-radius: 0 43px 43px 0;
}

.site-header .site-search .search-list-posts {
	position: absolute;
	right: 0px;
	width: 100%;
	list-style:none!important;
	margin-top: 7px;
	background: #fff;
	padding: 10px 5px;
	max-width: 400px;
	z-index: 5;
	border-radius: 13px;
	box-shadow: 2px 3px 11px 5px #12111140;
	display: none;
	flex-direction: column;
}

.site-header .site-search.active .search-list-posts {
	display: flex;
}

.site-header .site-search .search-list-posts::before {
	display: block;
	content:'';
	border-left: solid 9px transparent;
	border-right: solid 9px transparent;
	border-bottom: solid 9px #fff;
	filter: drop-shadow(0 0 30px #333);
	height: 0;
	width: 0;
	position: absolute;
	margin-top: -19px;
	left: 50%;
	margin-left: -7px;
}

.site-header .site-search .search-list-posts ul {
	list-style:none;
}

.site-header .site-search .search-list-posts li a {
	display:flex;
	flex-direction:row;
	align-items: stretch;
	padding: 11px 5px;
	width: 100%;
	border: 5px;
}

.site-header .site-search .search-list-posts li a:hover,
.site-header .site-search .search-list-posts li a:focus {
	background: #ededed;
	opacity: 0.8;
}

.site-header .site-search .search-list-posts .thumbnail {
	width: 50px;
	background: #f2efef;
	margin-right: 8px;
	line-height: 0;
	height: 50px;
	flex: 0 0 50px;
}

.site-header .site-search .search-list-posts .thumbnail  img {
	width: 50px;
	height: 50px;
	display: block;
	border-radius: 6px;
}

.site-header .site-search .search-list-posts .title {
	font-size: 16px;
	color: #000;
	line-height: 1.3em;
	display: flex;
	align-self: center;
}

.site-header .search-mobile {
		display:none;
}

.site-header .site-button {
	margin: 20px 21px 0;
}

.site-header .site-search .site-button {
	display: none;
	margin: 0px 36px;
}

.site-header .site-button a, 
#primary-menu .site-button a {
	background: #ff1478;
	border: 2px solid #ff1478;
	color: #fff!important;
	font-size: 16px;
	line-height: 1;
	padding: 7.5px 17px;
	font-weight: 500;
	cursor: pointer;
	transition: all linear 300ms;
	border-radius: 11px;
	position: relative;
	top: -10px;
	display: inline-block;
	font-family: 'Nunito',sans-serif;
}

@media screen and ( max-width: 1130px) {
	.site-header .site-search {
		flex: 0 0 15%;
	}
	
	.site-header .site-search .search-form-content {
		left: auto;
		right: 0;
	}
	
}


@media screen and ( max-width: 1023px) {
	.site-header .site-search {
		display: none!important;
		position: fixed;
		left: 0;
		top: 0;
		height: 100vh;
		width: 100vw;
		background: #f3f3f3;
		margin: 0;
		padding: 0 10px;
		z-index: 5;
		overflow: hidden;
		flex-direction: column;
		max-width: 100%;
	}

	.search-active.site-header .site-search  {
		display: flex!important;
	}

	.search-active.site-header .search-mobile  {
		display: block!important;
	}

	body.admin-bar .search-active.site-header .site-search {
		padding-top: 60px;
	}

	body.admin-bar .site-header .search-header .icon-close {
		top: 70px;
	}

	.site-header .search-header {
		padding: 4% 0;
	}

	.site-header .site-search .form-group {
		padding: 0 10px;
		margin: 0;
		position: relative;
		height: 58px;
	}

	.site-header .search-header .icon-close {
		position: absolute;
		right: 20px;
		top: 19px;
	}

	.site-header .search-header .serch-title {
		display: block;
		text-align: center;
		font-weight: bold;
		font-size: 1.1rem;
		margin: 2em 15% 1em;
	}

	.site-header .site-search .search-form-content {
		height: auto;
		min-height: 100px;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		margin: 0 auto;
		width: 360px;
		left: 0;
		right: 0;
	}

	.site-header .site-search .search-list-posts {
		margin: 10px 10px 35px 10px;
		min-height: 150px;
		min-height: 50px;
		width: auto;
		flex: 1;
		position: inherit;
	}

	.site-header .site-search .search-list-posts ul {
		overflow: scroll;
		max-height: 100%;
	}
}

@media screen and (max-width: 500px) {

	.site-header .site-search .search-form-content {
		width: 100%;
	}
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
#site-navigation {
	z-index: 0;
	margin: 21px 0 0 0;
	width: 100%;
	display: flex;
	flex: 0 0 100%;
	}

body.admin-bar #site-navigation .menu-toggle {
	top: 21px;
}

#site-navigation .primary-menu-container {
	display: flex;
	flex-direction: row;
}



@media screen and (min-width:1285px) {
	#site-navigation {
		margin-left: -20px;
	}
}


@media screen and (max-width:768px) {
	body.admin-bar #site-navigation .primary-menu-container {
	    margin-top: 84px;
	}
}

#primary-menu a {
	color: #ffffff;
	font-size: 1rem;
	line-height: 18px;
	padding: 8px 1.2rem;
	display: block;
	transition: all linear 0.3s;
	font-family: 'Nunito',sans-serif;
}

#primary-menu > li > a:hover,
#primary-menu > li > a:focus {
	opacity:0.75;
}

#primary-menu li.menu-item-arrow a::after {
	content: "\edbe";
	font-family:'icons'!important;
	font-size: 9px;
	padding-left: 6px;
}


/* Menu Icons */

#primary-menu .sub-menu li.menu-item-icon a {
    display:flex;
    flex-direction:row;
    align-items: center;
}

#primary-menu .sub-menu li.menu-item-icon a .menu-icon {
    font-size: 22px;
    min-width: 44px;
    transition: transform .2s;
    /* height: 14px; */
}

#primary-menu .sub-menu li.menu-item-icon:hover a .menu-icon {		
    transform: scale(1.2);
}

/* Menu Version Desktop */
@media screen and (min-width: 1200px) {
	#primary-menu {
		display: flex;
		flex-direction: row;
		margin: 0;
		z-index: 999;
		padding: 0;
		transition: opacity 0.2s linear;
	}

	/*.search-active #primary-menu {
		visibility: hidden;
		opacity: 0;
		overflow: hidden;
	}*/

	#site-navigation .menu-toggle {
		display: none;
	}

	#primary-menu > li {
		flex: 1 0 auto;
		display: flex;
		height: 49px;
	}		

	#primary-menu li.menu-item-mobile {
		display:none!important;
	}

	.menu-amp ul li section[expanded] header::after,
	#primary-menu > li.menu-item-has-children.focus > a::after {
		-ms-transform: rotate(180deg);
		-webkit-transform: rotate(180deg);
		transform: rotate(180deg);
	}

	#primary-menu .sub-menu {
		box-shadow: 0 3px 3px #3c3c3c42;
		min-width: 250px;
		height: auto;
		background: #ff1478;
		opacity: 0;
		transition: max-height linear 0.6s, opacity 0.4s;
		width: auto;
		max-width: 100%;
		padding-bottom: 14px;
		position: absolute;
		visibility: hidden;
		z-index: 999;
		padding: 0;
		margin: 37px 0 0 20px;
		list-style: none;
		border-radius: 3px;
	}

	#primary-menu .sub-menu li {
		overflow:hidden;
	}

	#primary-menu .sub-menu li a {
		padding: 11px 16px;
		transition: all ease-in .2s; 
		font-size: 14px;
	}

	#primary-menu .sub-menu li a:hover,
	#primary-menu .sub-menu li a:focus {
		background: #ff5ba1;
		transform: scale(1.01);
	}

	#primary-menu li:hover > .sub-menu {
		visibility: visible;
		opacity: 1;
	}	

	.site-header .site-search {
		padding-right: 105px;
	}
	
	.site-header .site-search .site-button {
		padding-left: 14px;
		position: absolute;
		right: 0;
		top: 12px;
		display: block;
		margin: 0;
	}
	
	.site-header .main-navigation .site-button {
		 display: none; 
	} 
	

	
}

/* Menu Version Mobile */
@media screen and (max-width: 1199px) {
	body.menu-toggled {
		overflow-y: hidden;
	}
	
	body.menu-toggled #mobile-boxshadow {
		background: #020c22;
		position: fixed;
		top: 0;
		left: 0;
		width: 100vw;
		height: 100vh;
		opacity: 0.8;
		z-index: 9999;
	}

	#masthead {
		min-height: 90px;
		margin-bottom: 3rem;
		width: 100%;
	}
	
	#masthead .site-branding {
		display: flex;
		width: 100%;
		justify-content: center;
		max-width: 300px;
		flex: 0 0 100%;
	}	

	#primary-menu a {
		color: #414042;
		padding: 12px 19px;
		position: relative;
	}
	
	#site-navigation .menu-toggle {
		background: transparent;
		border: 0;
		cursor: pointer;
		display: block;
		height: 36px;
		overflow: hidden;
		padding: 0;
		position: absolute;
		left: 16px;
		text-align: center;
		top: 23px;
		width: 40px;
		z-index: 99999;
		color: #fff;
		border-radius: 0;
	}

	#site-navigation .menu-toggle:focus, 
	#site-navigation .menu-toggle:hover {
		outline-color:#040404;
	}
	
	#site-navigation .menu-toggle .ln {
		display: block;
		background: #ffffff;
		height: 3px;
		-webkit-transition: all 0.4s ease-out;
		-moz-transition: all 0.4s ease-out;
		-ms-transition: all 0.4s ease-out;
		-o-transition: all 0.4s ease-out;
		transition: all 0.4s ease-out;
		width: 27px;
		-ms-transform: rotate(0deg);
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
		margin: 0 auto 5px auto;
	}

	#site-navigation .menu-toggle .l2 { 
		-ms-transform:translateX(0px); 
		-webkit-transform:translateX(0px); 
		transform:translateX(0px); 
	}
	
	#site-navigation .menu-toggle .l3 { 
		margin-bottom: 0; 
	}
	
	#site-navigation .menu-toggle.menu-toggled .l2 {
		-ms-transform:translateX(50px);
		-webkit-transform:translateX(50px);
		transform: translateX(50px);
	}
	
	#site-navigation .menu-toggle.menu-toggled .l1 {
		-ms-transform: translateY(7px) rotate(-45deg);
		-webkit-transform: translateY(7px) rotate(-45deg);
		transform: translateY(7px) rotate(-45deg);
	} 
	
	#site-navigation .menu-toggle.menu-toggled .l3 {
		-ms-transform: translateY(-9px) rotate(45deg);
		-webkit-transform: translateY(-9px) rotate(45deg);
		transform: translateY(-9px) rotate(45deg);
	}

	#site-navigation .primary-menu-container {
		visibility: hidden;
		max-height: 0;
		transition: max-height ease-in-out 0.6s, opacity 0.6s;
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		background: #051d7c;
		background: #fff;
		opacity: 0;
		overflow: hidden;
		z-index: 10006;
		display: flex;
		flex-direction: column;
		margin-top: 90px;
	}

	#site-navigation.menu-toggled  .primary-menu-container {
		max-height: 9999px;
		max-height: 100vh;
		visibility: visible;
		opacity: 1;
		padding: 20px 0 30px;
		height: 100%;
		height: 100vh;
		overflow: scroll;
	}

	.primary-menu-container #primary-menu {
		max-height: 80%;
		max-height: 80vh;
		overflow: scroll;
	}

	/* Sub-menus */
	#primary-menu > li {
		padding-left: 20px;
	}

	#primary-menu > li li a {
		font-size: 14px;
	}

     #primary-menu .sub-menu {
		visibility: hidden;
		max-height: 0;
		opacity: 0;
		transition: max-height ease-in 0.3s, opacity 0.3s;
		margin-left: 20px;
		list-style: none;
	}

	#primary-menu li.focus > .sub-menu {
		visibility: visible;
		opacity: 1;
		max-height: 999px;
	}

	#primary-menu .sub-menu li.menu-item-icon a .menu-icon {
        font-size:16px;
        min-width: 34px;
 }
}

/* Tablet Version */

@media screen and (min-width: 1200px) and (max-width: 1400px) {
    #primary-menu a {
    	padding: 8px 15px;
    }
}