#globalSearch{
	display: none;
	position:fixed;
	width:100%;
	height:100%;
	top:0;
	left: 0;
	z-index: 9999;
}
#globalSearch.active{
	display: block;
}
#globalSearch.inactive{
	display: none;
}

#globalSearch ::-webkit-scrollbar { 
    display: none; 
}

.no-events{
	pointer-events: none;
}


#globalSearch,
#globalSearch *{
	-webkit-box-sizing:border-box;
	-o-box-sizing:border-box;
	-ms-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}
#globalSearch input{
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	-o-appearance: none;
	appearance: none;
	border-radius: 0;
	border:0;
}
#globalSearch input:focus{
	outline: none;
	border-color: inherit;
	-webkit-box-shadow: none;
	-ms-box-shadow: none;
	-o-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

#globalSearch #globalSearchBar{
	position: relative;
    width: 100%;
    height: 20%;
    background: #f2f2f2;
    padding:0px 20px;
    display: table;
}
#globalSearchBar > img.close{
	position: absolute;
	width: 25px;
	height: 25px;
	top: 10px;
	right: 25px;
	vertical-align: top;
	cursor:pointer;
	z-index: 2;
}
#globalSearchBar .container{
	position: relative;
	width: 100%;
	height:auto;
	overflow: hidden;
	display: table-cell;
	vertical-align: middle;
}
#globalSearch #globalSearchBar h3{
	position: relative;
	width: 100%;
	margin:0;
	font-size: 18px;
	margin-bottom:10px;
}
#globalSearch #globalSearchBar input{
	position: relative;
	width: 100%;
	height: 50px;
	border:1px solid #434343;
	padding:15px 10px;
}


#globalSearch #globalSearchContentWrapper{
	position: relative;
	width: 100%;
	height: 80%;
	overflow: hidden;
	background-color:#151515;

	display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
	display: -ms-flexbox;  /* TWEENER - IE 10 */
	display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
	display: flex;

	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;


	-webkit-align-items: stretch;
	-ms-align-items: stretch;
	align-items: stretch;

}
#globalSearch #globalSearchContentWrapper:before{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	content:'';
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	background-image:url('/wp-content/themes/magazinevibe/assets/img/map_overlay.png');
	opacity: 0.1;
	opacity: 0.05;
}

#globalSearch #globalSearchFilters{
	position: relative;
	width: 100%;
	height: 16%;
	overflow: hidden;
	//padding:30px 0px;
	display: table;
}
#globalSearch #globalSearchFilters:before{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	border-bottom: 1px solid #ffffff;
	content:'';

	-webkit-transition:opacity .2s ease-out;
	-o-transition:opacity .2s ease-out;
	-ms-transition:opacity .2s ease-out;
	-moz-transition:opacity .2s ease-out;
	transition:opacity .2s ease-out;

	-webkit-transform:translate3d(0,0,0);
	-ms-transform:translate3d(0,0,0);
	-o-transform:translate3d(0,0,0);
	-moz-transform:translate3d(0,0,0);
	transform:translate3d(0,0,0);

	opacity: 0;
}
#globalSearch #globalSearchFilters.active:before{
	opacity: 1;
}

#globalSearch #globalSearchFilters .globalSearchFiltersList{
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	text-align: center;
	list-style: none;
	font-size: 0;
	display: table-cell;
	vertical-align: middle;
}
#globalSearch #globalSearchFilters .globalSearchFiltersList .globalSearchFiltersItem{
	position: relative;
    display: inline-block;
    padding: 5px 20px 0px 20px;
    width: auto;
    font-size: 12px;
    cursor: pointer;
    text-transform: uppercase;
    -webkit-transition:color .3s ease-out;
    -ms-transition:color .3s ease-out;
    -o-transition:color .3s ease-out;
    -moz-transition:color .3s ease-out;
    transition:color .3s ease-out;
}
#globalSearch #globalSearchFilters .globalSearchFiltersList .globalSearchFiltersItem.selected,
#globalSearch #globalSearchFilters .globalSearchFiltersList .globalSearchFiltersItem:hover
{
	color:#f2f2f2;
}

#globalSearch #globalSearchCategories{
	position: relative;
	width: 100%;
	height: 84%;
	overflow-x:hidden;
	overflow-y:auto;
	padding:20px 20px 100px 20px;
	-webkit-flex-grow: 1;
	-ms-flex-grow: 1;
	flex-grow: 1;
}
#globalSearch #globalSearchCategories > article{
	position: relative;
	width: 33.333%;
	float: left;

	/*-webkit-transition:width .3s cubic-bezier(1, 0, 0, 1);
	-o-transition:width .3s cubic-bezier(1, 0, 0, 1);
	-ms-transition:width .3s cubic-bezier(1, 0, 0, 1);
	-moz-transition:width .3s cubic-bezier(1, 0, 0, 1);
	transition:width .3s cubic-bezier(1, 0, 0, 1);*/
}
#globalSearch #globalSearchCategories > article#articles.active{
	width:100%;
	float: right;
}
#globalSearch #globalSearchCategories > article#countriesAndContinent.active{
	width: 50%;
	float: none;
	margin: 0 auto;
}



#globalSearch #globalSearchCategories > article > .title{
	position: relative;
	width: 100%;
	margin: 0;
	margin-bottom: 40px;
	opacity: 0.2;
	color:#ffffff;
	font-size: 24px;
	text-align: left;

	-webkit-transition:opacity .3s ease-out;
	-ms-transition:opacity .3s ease-out;
	-o-transition:opacity .3s ease-out;
	-moz-transition:opacity .3s ease-out;
	transition:opacity .3s ease-out;

}
#globalSearch #globalSearchCategories > article:hover > .title{
	opacity: 1;
}


#globalSearch #globalSearchCategories > article > ul{
	position: relative;
	width: 100%;
	overflow: hidden;
	text-align: center;
	list-style: none;
}
#globalSearch #countriesAndContinent{
	padding-right:10px;
}
#globalSearch #categories{
	padding-right:10px;
	padding-left:10px;
}
#globalSearch #globalSearchCategories > article#articles{
	padding-left:10px;
	width:66.666%;
}

#globalSearch #countriesAndContinent > .globalSearchCcList > .globalSearchCcItem{
	position: relative;
	width: 100%;
	min-height:80px;
	margin-bottom:20px;
	padding:10px 20px;
	display: table;
	-webkit-transform:translate3d(0,10px,0);
	-o-transform:translate3d(0,10px,0);
	-ms-transform:translate3d(0,10px,0);
	-moz-transform:translate3d(0,10px,0);
	transform:translate3d(0,10px,0);

	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
#globalSearch #countriesAndContinent > .globalSearchCcList > .globalSearchCcItem:before{
	content:'';
	position:absolute;
	top:0;
	left:0;
	width: 100%;
	height: 100%;
	background-color:rgba(0,0,0,0.66);

	-webkit-transition:background .3s ease-out;
	-o-transition:background .3s ease-out;
	-ms-transition:background .3s ease-out;
	-moz-transition:background .3s ease-out;
	transition:background .3s ease-out;

}
#globalSearch #countriesAndContinent > .globalSearchCcList > .globalSearchCcItem:hover:before{
	background-color:rgba(0,0,0,0.2);	
}

#globalSearch #countriesAndContinent > .globalSearchCcList > .globalSearchCcItem a{
	position: relative;
	width: 100%;
	height: 100%;
	display: table-cell;
	vertical-align: middle;
}
#globalSearch #countriesAndContinent > .globalSearchCcList > .globalSearchCcItem a .title{
	position: relative;
	width: 100%;
	font-size: 24px;
	color:#f2f2f2;
	margin:0;
	text-align: left;
}

#globalSearch #categories > ul > .globalSearchCategoryItem{
	position: relative;
	width: 100%;
	border-top: 10px solid #ae180f;
	overflow:hidden;
	-webkit-transform:translate3d(0,10px,0);
	-o-transform:translate3d(0,10px,0);
	-ms-transform:translate3d(0,10px,0);
	-moz-transform:translate3d(0,10px,0);
	transform:translate3d(0,10px,0);
}
#globalSearch #categories > ul > .globalSearchCategoryItem a{
	position: relative;
	width: 100%;
	height: 100%;
	float:left;
	padding-top: 20px;
	padding-bottom: 50px;
}
#globalSearch #categories > ul > .globalSearchCategoryItem a .title{
	position: relative;
	width: 100%;
	display: table-cell;
	vertical-align: middle;
	font-size: 24px;
	color:#f2f2f2;
	margin:0;
	text-align: left;
}


#globalSearch #articles .globalSearchArticlesItem{
	position: relative;
    width: 50%;
    float: left;
    overflow: hidden;
    margin-bottom: 20px;
    height: 120px;
    opacity: 0;
    -webkit-transform:translate3d(0,10px,0);
	-o-transform:translate3d(0,10px,0);
	-ms-transform:translate3d(0,10px,0);
	-moz-transform:translate3d(0,10px,0);
	transform:translate3d(0,10px,0);
}
#globalSearch #articles .globalSearchArticlesItem:nth-child(even){padding-left:10px;}
#globalSearch #articles .globalSearchArticlesItem:nth-child(odd){padding-right:10px;}

#globalSearch #articles .globalSearchArticlesItem .image{
	position: absolute;
    top: 0;
    width: 120px;
    height: 120px;
    left: 0;
    background-size: cover;
    background-position: center;
    background-repeat:no-repeat;

    -webkit-transition:-webkit-transform .4s ease-out;
	-o-transition:transform .4s ease-out;
	-ms-transition:transform .4s ease-out;
	-moz-transition:transform .4s ease-out;
	transition:transform .4s ease-out; 

	z-index: 2;
}
#globalSearch #articles .globalSearchArticlesItem .image:before{
	content:'';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color:#000000;
	opacity: 0;

	-webkit-transform:translate3d(0,0,0);
	-o-transform:translate3d(0,0,0);
	-ms-transform:translate3d(0,0,0);
	-moz-transform:translate3d(0,0,0);
	transform:translate3d(0,0,0);

	-webkit-transition:opacity 0.3s ease-out;
	-o-transition:opacity 0.3s ease-out;
	-ms-transition:opacity 0.3s ease-out;
	-moz-transition:opacity 0.3s ease-out;
	transition:opacity 0.3s ease-out;
}
#globalSearch #articles .globalSearchArticlesItem .image:hover{
	-webkit-transform:scale3d(1.02,1.02,1.02);
	-o-transform:scale3d(1.02,1.02,1.02);
	-ms-transform:scale3d(1.02,1.02,1.02);
	-moz-transform:scale3d(1.02,1.02,1.02);
	transform:scale3d(1.02,1.02,1.02);
}
#globalSearch #articles .globalSearchArticlesItem .image:hover:before{
	opacity: 0.5;
}


#globalSearch #articles .globalSearchArticlesItem .title{
	position: relative;
	width: 100%;
	float: left;
	text-align: left;
	font-size: 18px;
	padding-left: 130px;
	color:#c3c3c3;
	margin:0;
}
#globalSearch #articles .globalSearchArticlesItem .title a{
	font-size:inherit;
	float:left;
	width: 100%;
	position: relative;
	color:inherit;
}
#globalSearch #articles .globalSearchArticlesItem .date{
	position: relative;
	width: auto;
	float: left;
	text-align: left;
	font-size: 10px;
	padding-left: 130px;
	color:#c3c3c3;
	margin:0;
}
#globalSearch #articles .globalSearchArticlesItem > a,
#globalSearch #articles .globalSearchArticlesItem .image a{
	position: absolute;
	top: 0;
	left:0;
	width: 100%;
	height: 100%;
	z-index: 1;
}




/* Queries */
@media all and (max-width:768px){
	#globalSearch #globalSearchCategories > article{
		width:100% !important;
		float: left;
		clear: both;
		padding:0;
	}
	#globalSearch #articles .globalSearchArticlesItem{
		padding:0px;
		width: 100%;
	}
}

@media all and (max-width:475px){
	#globalSearchBar > img.close{
		width: 20px;
		height: 20px;
		right: 20px;
	}
}


.fadein{
	-webkit-animation:fadein .6s ease-out forwards;
	-o-animation:fadein .6s ease-out forwards;
	-moz-animation:fadein .6s ease-out forwards;
	animation:fadein .6s ease-out forwards;
}
@-webkit-keyframes fadein{
	from{ opacity: 0;}
	to{ opacity: 1; -webkit-transform:translate3d(0,0,0);}
}
@-o-keyframes fadein{
	from{ opacity: 0;}
	to{ opacity: 1; -o-transform:translate3d(0,0,0);}
}
@-moz-keyframes fadein{
	from{ opacity: 0;}
	to{ opacity: 1; -moz-transform:translate3d(0,0,0);}
}
@keyframes fadein{
	from{ opacity: 0;}
	to{ opacity: 1; transform:translate3d(0,0,0);}
}


.fadeout{
	-webkit-animation:fadeout .6s ease-out forwards;
	-o-animation:fadeout .6s ease-out forwards;
	-moz-animation:fadeout .6s ease-out forwards;
	animation:fadeout .6s ease-out forwards;
}
@-webkit-keyframes fadeout{
	from{ opacity: 1;}
	to{ opacity: 0;}
}
@-o-keyframes fadeout{
	from{ opacity: 1;}
	to{ opacity: 0;}
}
@-moz-keyframes fadeout{
	from{ opacity: 1;}
	to{ opacity: 0;}
}
@keyframes fadeout{
	from{ opacity: 1;}
	to{ opacity: 0;}
}

.fadeFlyIn{
	-webkit-animation:fadeFlyIn .3s ease-out forwards;
	-o-animation:fadeFlyIn .3s ease-out forwards;
	-moz-animation:fadeFlyIn .3s ease-out forwards;
	animation:fadeFlyIn .3s ease-out forwards;
}
@-webkit-keyframes fadeFlyIn{
	from{
		opacity: 0;
		-webkit-transform:scale3d(1.5,1.5,1.5);
	}
	to{
		opacity: 1;
		-webkit-transform:scale3d(1,1,1);
	}
}
@-moz-keyframes fadeFlyIn{
	from{
		opacity: 0;
		-moz-transform:scale3d(1.5,1.5,1.5);
	}
	to{
		opacity: 1;
		-moz-transform:scale3d(1,1,1);
	}
}
@-o-keyframes fadeFlyIn{
	from{
		opacity: 0;
		-o-transform:scale3d(1.5,1.5,1.5);
	}
	to{
		opacity: 1;
		-o-transform:scale3d(1,1,1);
	}
}
@keyframes fadeFlyIn{
	from{
		opacity: 0;
		transform:scale3d(1.5,1.5,1.5);
	}
	to{
		opacity: 1;
		transform:scale3d(1,1,1);
	}
}



.fadeFlyOut{
	-webkit-animation:fadeFlyOut .3s ease-out forwards;
	-o-animation:fadeFlyOut .3s ease-out forwards;
	-moz-animation:fadeFlyOut .3s ease-out forwards;
	animation:fadeFlyOut .3s ease-out forwards;
}
@-webkit-keyframes fadeFlyOut{
	from{
		opacity: 1;
		-webkit-transform:scale3d(1,1,1);
	}
	to{
		opacity: 0;
		-webkit-transform:scale3d(1.5,1.5,1.5);
	}
}
@-moz-keyframes fadeFlyOut{
	from{
		opacity: 1;
		-moz-transform:scale3d(1,1,1);
	}
	to{
		opacity: 0;
		-moz-transform:scale3d(1.5,1.5,1.5);
	}
}
@-o-keyframes fadeFlyOut{
	from{
		opacity: 1;
		-o-transform:scale3d(1,1,1);
	}
	to{
		opacity: 0;
		-o-transform:scale3d(1.5,1.5,1.5);
	}
}
@keyframes fadeFlyOut{
	from{
		opacity: 1;
		transform:scale3d(1,1,1);
	}
	to{
		opacity: 0;
		transform:scale3d(1.5,1.5,1.5);
	}
}

