/* sazanamisoftware.com */

/*:root {
  color-scheme: light dark;
    --form-text-color: #000;
    --form-background-color:#acacac;
}

@media screen and (prefers-color-scheme: dark) {
  :root {
    --form-text-color: #fff;
    --form-background-color:#a9a9a9;
  }
}*/

html {
	height: 100%;
	background: -webkit-linear-gradient(#666, #e0e0e0/*, #666*/);
	background: -moz-linear-gradient(#666, #e0e0e0, #666);
	background-image: -ms-linear-gradient(#666,#e0e0e0);
	background-attachment: fixed;
	margin-top:0.5em;
}

body {
	text-align:center;
	margin:0 auto;
	padding: 10px;
	/*behavior:url(PIE.htc);*/
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
	color: black;
}

img {
	border: 0; 
}
	
#wrapper {
	margin: 0 auto;
}

#container {
	margin: 0 auto;
	width: 260px;
	height: 100%;
}

.w3-row {
	margin-top: 0.7em;
}

.w3-col {
	-webkit-border-radius: 19px;
	-moz-border-radius: 19px;
	border-radius: 19px;
	float: left;
	width: 235px;
	height: 180px;
	padding: 10px;
	margin-bottom: 20px;
	white-space: normal;
}

.w3-col a {
	width: 235px;
	height: 180px;
	display: block;
}

.w3-col:hover {
	background-color: #999;
	opacity: 0.9;
	-moz-opacity: 0.9;
	-khtml-opacity: 0.9;
}

.w3-col h1 {
	font: 14px/20px optima, verdana,arial;
	position: relative;
	top: -35px;
	margin: 0;
}

#support-icons {
	padding: 0 0 10px 0;
	margin: 0;
}

#support-icons div {
	display:inline-block;
}

#support-icons img {
	margin:0 5px 0 0;
	padding: 0;
	height:50px;
	-webkit-box-reflect:below 1px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(50%, transparent), to(rgba(255,255,255,0.2)));
}

#wishotouch {
	background:url(../img/main/wishotouch-icon.png) top center no-repeat; background-size: 50% !important;
}

#idioms {
	background:url(../img/main/idioms-icon.png) top center no-repeat; background-size: 50% !important;
}

#proverbs {
	background:url(../img/main/proverbs-icon.png) top center no-repeat; background-size: 50% !important;
}

#onomatope {
	background:url(../img/main/onomatope-icon.png) top center no-repeat; background-size: 50% !important;
}
	
#appstore {
	margin: 0 auto; 
	padding-top:1.5em;
}

.appliv {
	margin:10px auto;
	height:18px;
	width:117px;
	white-space:nowrap;
	background:white
}

.appliv_logo {
	display:inline;
	height:18px;
	width:85px;
	padding:0;
	margin:0;
}

.appliv_review {
	font:10px/18px optima, verdana,arial;
	display:inline;
	float:right;
	height:18px;
	padding:0 5px;
	width:50px;
	color:#666;
	opacity:0.8;
	background-color:#ccc;
	overflow:hidden
}

/* support form */

form {
	margin:0;
	padding:0;
}

.columns {
	width:260px;
	margin-top:20px
}

h4, h2, strong, blockquote{
	font:12px/18px optima,verdana,arial;
	font-weight:400;
}

h4{
	margin:0;
	padding:0;
}

h1{
	font-size:18px;
	margin-top:.5em
}
	
.columns-container {
	text-align:left;
	margin:0 auto;
	padding:0;
}

#text {
	width:99%;
	text-align:left;
	font:14px/20px optima, verdana,arial;
	padding-top:0.25em;
	margin:0 auto;
}

#alert {
	font:14px/20px optima,verdana,arial;
	width:240px;
	height:24px;
	text-align:center;
	color:#cd0100;
	white-space:nowrap
}

#result {
	width:260px;
}

select, textarea, input {
	margin-bottom:10px;
}

input {
	width:240px;
}

textarea {
	width:240px;
}

select {
	width:245px;
}

textarea {
	height:40px;
	width:240px;
	resize:vertical;
}

input, textarea
{
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

#send {
	font:12px/18px optima,verdana,arial;
	height:24px; 
	width:250px;
	border:1px solid #000;
	-webkit-border-radius:4px;
	text-align:center;
	vertical-align:middle;
	background-color: #d3d3d3;
	/*-webkit-tap-highlight-color: black;*/
}

#send:active {
	color: white;
	background-color: black;
}

.firstcolumn{
	width:100%;
}

.firstcolumn:first-child {
	margin-top:20px;
}

/* footer */

ul#nav{
	position:relative;
	top:35px;
	text-align:center;
	width:100%;
	margin:0;
	padding:6px 0 4px
}

ul#nav li{
	display:inline;
	list-style-type:none;
	background-image:none;
	padding:0 10px;
	font-size:14px;
	letter-spacing:2px;
	color:#000
}

a:link,a:visited {
	color:#000;
	text-decoration:none;
	border:none;
	text-align:center;
	outline:none;
	-webkit-tap-highlight-color: transparent;
}

.footer{
	max-width:375px;
	margin:0 auto;
	padding:0.5em 0.75em;
	font:14px/20px optima, verdana,arial;
	text-align:center;
	clear: both;
}

.footer a:hover{
	color:#fff
}

.smallprint{
	font-size:11px;
	height:4em;
	padding:1.5em 0;
}

@media (min-width:601px){ /* desktop etc */
	
	html {
		margin-top:0;
	}
	
	#container {
		width:90%;
	}
	
	#container.text {
		width:590px;
	}
	
	.w3-row {
		width:auto;
		margin:4.1em 1%;
		display:inline-block;
	}

	.w3-col {
		height:360px;
		width: 235px;
		padding:15px;
		-webkit-border-radius: 60px;
		-moz-border-radius: 60px;
		border-radius: 60px;
		margin: 0 10px
	}

	.w3-col a {
		height:360px;
	}

	#wishotouch {
		background:url(../img/main/wishotouch-icon.png) top center no-repeat; background-size: 90% !important;
	}

	#idioms {
		background:url(../img/main/idioms-icon.png) top center no-repeat; background-size: 90% !important;
	}

	#proverbs {
		background:url(../img/main/proverbs-icon.png) top center no-repeat; background-size: 90% !important;
	}

	#onomatope {
		background:url(../img/main/onomatope-icon.png) top center no-repeat; background-size: 90% !important;
	}
	.columns {
		width:620px;
	}
	
	.firstcolumn {
		display:inline-block;
		vertical-align:top;
		text-align:left;
		height:200px;
		width:300px;
		margin-top:20px;
	}
	
	#result {
		width:280px;
	}
	
	#text {
		margin-top:1em;
		height:480px;
	}
	
	select, input, textarea {
		box-shadow: none !important;
		border:1px solid black;
		-webkit-border-radius:4px;
		background-color:#d3d3d3;
	}
	
	textarea {
		height:60px;
	}
}

@media
(min-device-width: 320px)
and (min-device-height: 357px) {

	.footer{
		max-width:320px;
		margin:0 auto;
		padding:0.5em 0.5em;
		font:12px/18px optima, verdana,arial;
		text-align:center;
		clear: both;
	}

	select, input, textarea {
		-webkit-appearance: none;
		-webkit-border-radius:3px;
		padding:3px;
		color: black;
		background-color:#d3d3d3;
		border:1px solid black;
	}
	
	select {
		padding:3px;
	}
}

/*@media screen and (inverted-colors: inverted) { 
	img {
		-webkit-filter: invert(1); 
	}
}*/
