/*
Theme Name: Global Market
Theme URI: 
Description: 
Version: 999
Author: Ido
Author URI: 
*/

/* --------------------------------- General ---------------------------------*/

* {
    padding: 0;
    margin: 0;
    font-family: Arimo, sans-serif;
    box-sizing: border-box;
    text-decoration: none;
}

button {
	background: none;
    user-select: none;
    border: none;
    font-size: 1rem;
}

html {
	min-height: 100%;
	display: flex;
	flex-direction: column;
}

body {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	font-size: 1rem;
	line-height: 1.625;
	margin: 0;
	color: #121212;
	min-height: 100%;
	width: 100%;
}

body.fixed {position:fixed}

header, footer {
	background: #364699;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	color: #fcd303;
}

header {
	font-size: 1.4rem;
	padding: .8rem 1rem;
}

header a {
	display: flex;
	color: #fcd303;
	align-items: center;
}

.header-title {
	text-align: center;
	margin-right: .5rem
}

hea

.trp-language-switcher {
	z-index: 99;
}

.tagline {
	display: block;
	font-size: 1rem;
	text-align: center;
	border-top: 1px solid #fcd303;
	padding-top: .4rem;
	margin-top: .4rem;
}

footer {
	border-top: 3px solid #fcd303;
	height: 3.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.menu a {color: white}
.menu a:hover {color: #fcd303}

.menu {
	text-align: center;
	list-style: none;
	z-index: 1;
	background: #364699;
	color: #fcd303;
	border-top: 3px solid #fcd303;
}

.banner {
	background: url("/wp-content/uploads/banner.jpg");
	width: 100%;
	height: 173px;
	background-repeat: no-repeat;
	background-position: center; 
}

.home article {
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.home p {
	text-align: center;
	font-size: 1.2rem;
	margin: 0 1rem;
}

.three {
	display: flex;
	margin: 1.5rem;
	justify-content: center;
}

.item {
	height: 170px;
	width: 170px;
	border-radius: 50%;
	background: #eee;
	color: #364699;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	margin: .5rem;
	padding: 1rem;
}

.item span {
	font-size: 1.1rem;
	margin-top: .5rem;
}

.item .fas {
	font-size: 1.8rem;
}

main {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
	position: relative;
}

h1 {
	margin: .8rem auto 1.5rem auto;
	text-align: center;
}

h2 {
	font-size: 1.3rem;
	margin: 2rem 0 1rem 0
}

p, ul, ol {margin-bottom: 1rem}
ol, ul {list-style-position: inside}

article a {color: #2a46d8}
article a:hover {color: #4f63c8}

div.wpforms-container-full {width: 90%}

#dropdown-opener {position: relative}

#dropdown-opener:hover #dropdown-content {display: block}

#dropdown-content {
	background: #364699;
	display: none;
	position: absolute;
	width: 200px;
	top: 26px;
	left: 0;
	padding-top: 8px;
}

#dropdown-content a {
	display: block;
	padding: .5rem 1rem;
	
}

#dropdown-content a:first-child {
	border-top: 3px solid #fcd303;
}

.lang-switcher {
	display: flex;
	flex-wrap: wrap;
}

.lang-switcher a {
	margin: 3px;	
}

@media(max-width:850px) {
	.pc {display: none}
	
	header {
		justify-content: space-between;
		height: 16vh
	}
	
	.lang-switcher {width: 60px}

	.logo {
		background: url("/wp-content/uploads/gm-header-logo-75.jpg");
		background-repeat: no-repeat;
		height: 75px;
		width: 75px;
	}
	
	main {
		background: white;
	}
	
	article {
		padding: 1rem;
	}
	
	.three {
		flex-direction: column;
	}
	
	.menu {
		display: flex;
		position: absolute;
		height: 0;
		flex-direction: column;
		align-items: center;
		overflow: hidden;
		transition: .8s;
		width: 100%;
		font-size: 1.1rem;
	}
	
	.menu.show {
		height: 84vh;
		overflow-y: auto;
	}
	
	.menu li {margin: .4rem 0}
	
	.menu li:first-child {margin-top: 1.5rem}
	
	.menu.show li {display: block}
}


@media(min-width:851px) {
	.mobile {display: none}
	
	main {
		background-image: url("/wp-content/uploads/bg.jpg");
		background-color: rgba(255,255,255,.5);
	}
	
	header {
		 justify-content: center;
	}

	.logo {
		background: url("/wp-content/uploads/gm-header-logo.jpg");
		background-repeat: no-repeat;
		height: 120px;
		width: 120px;
		margin: 0 1rem;
	}
	
	.home .item {margin: .5rem 1rem}

	.menu {justify-content: center;}
	
	.menu li {
		display: inline-block;
		margin: .5rem .9rem;
	}
	
	article {
		width: 750px;
		margin: 2rem auto;
		background: white;
		padding: 2.5rem;
		box-shadow: 2px 5px 10px rgba(0,0,0,.3);
	}
}