/* 
    Created on : 27-Jul-2014, 10:32:44
    Author     : js
*/

* {margin: 0; font: 13px tahoma, verdana, sans-serif; padding: 0;}
form {padding-top: 10px; width: 310px;}
li {clear: both; list-style-type: none; margin: 0 0 10px;}
label {display: block; float: left; margin: 0 10px 0 0; padding: 5px; 
       text-align: right; width: 100px}
input {background-position: 3px 5px; background-repeat: no-repeat; 
       border-radius: 5px; padding: 5px 5px 5px 25px; width: 155px;}
input:focus {outline: none;}
/*input:invalid:required {background-image: url(asterisk.png); 
                        box-shadow: 0px 0px 5px #f0bb18; border: 2px solid #f0bb18;}
input:focus:invalid {background-image: url(invalid.png); 
                     box-shadow: 0px 0px 5px #b01212; border: 2px solid #b01212;}
input:valid {background-image: url(accept.png); border: 2px solid #7ab526;}*/
input[type=submit] {background: #7ab526; border: none; 
                    box-shadow: 0px 0px 5px #7ab526; color: #fff; cursor: pointer; float: right; font-weight: bold;
                    padding-left: 5px; width: auto; margin: 5px;}

input[type=button], button {background: #7ab526; border: none; 
                    box-shadow: 0px 0px 5px #7ab526; color: #fff; cursor: pointer; float: right; font-weight: bold;
                    padding-left: 5px; width: auto; margin: 5px;}


.button-left {float: left;}

#synonymText {margin: 5px;}
#downloadFile {float: right;}

//for some IE browsers
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,
section {display:block;}


//various div properties
div#wrapper {width:80%; margin: 0 auto;}
header, nav, footer {clear:both;}
header,nav,footer,article,aside {margin:5px; border:1px solid #999;
                                 padding:10px;}
article {width:72%;float:left;}
aside {width:22%;float:left;}
nav ul {margin:0; padding:0;}
nav ul li {display:inline; margin-right:30px;}
footer {font-size:0.7em; color:#000;}

header hgroup {font-weight:bold;}
article hgroup {font-weight:normal;}
aside hgroup {text-decoration:none;}            

body {
    margin: 12px;
    background: #357357; 
    color: #fff; 
    font: normal 95.5%/1.6 Yanone Kaffeesatz, tahoma, verdana, sans-serif;
    font-size:large;
    background: url(gradient.gif); /* for browsers that can't do gradients */
    background: -moz-linear-gradient(black, blue);
    background: -webkit-linear-gradient(black, blue);
    background: -linear-gradient(black, blue);}

h1 {
    left: 10px;
    position: absolute;
    top: 160px;
    text-align: left;
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
}
h2 {
    font-weight: bold;
    font-size: 1em;
    margin-bottom: 10px;
    text-align: center;
}
figure {
    background: #369;
    border: 1px solid #BFBFBF;
    -webkit-box-shadow: 2px 2px 4px rgba(0,0, 0, 0.3);
    -moz-box-shadow: 2px 2px 4px rgba(0,0, 0, 0.3);
    box-shadow: 2px 2px 4px rgba(0,0, 0, 0.3);
    display: block;
    float: right;
    margin: 20px 20px 50px 50px;
    padding: 5px;
    text-align: center;
    -webkit-transform: rotate(10deg);
    -moz-transform: rotate(10deg);
    -o-transform: rotate(10deg);
    -ms-transform: rotate(10deg);
    transform: rotate(10deg);
    -webkit-border-radius: 10px;
    border-radius: 10px;
}
figcaption {
    clear: both;
    display: block;
    font-weight: bold;
    padding: .5em 0;
}
p {
    margin: 0 0 1em;
}
a {color: #CCC;}

nav a {
    background: #silver;
    border-radius: 5px;
    display: block;
    float: left;
    padding: 5px;
    text-align: center;
    width: 125px;
    -webkit-transition: all 1s ease-in;
    -moz-transition: all 1s ease-in;
    -o-transition: all 1s ease-in;
    transition: all 1s ease-in;
}
nav a:hover {
    background: #000;
    color: #silver;
}

figure img {
    background: #357;
    border: 1px solid #BFBFBF;
    display: block;
    float: left;
    height: 125px;
    margin: 0 10px 0 0;
    padding: 5px;
    width: 125px;
    -webkit-box-shadow: 2px 2px 4px rgba(0,0, 0, 0.3);
    -moz-box-shadow: 2px 2px 4px rgba(0,0, 0, 0.3);
    box-shadow: 2px 2px 4px rgba(0,0, 0, 0.3);
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
}
figure img:hover {
    -webkit-transform: rotate(10deg) scale(2);
    -moz-transform: rotate(10deg) scale(2);
    -o-transform: rotate(10deg) scale(2);
    -ms-transform: rotate(10deg) scale(2);
    transform: rotate(10deg) scale(2);
}

input::-webkit-input-placeholder {color: red;}
input:-moz-placeholder {color: red;}

input, textarea {
    border: none;
    -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, .4);
    box-shadow: 0 1px 5px rgba(0, 0, 0, .4);
    -webkit-border-radius: 10px;
    border-radius: 10px;
    /*cursor: pointer;*/
    color: #aaa;
    font: bold 1.2em Arial, Helvetica, sans-serif;
    margin: 0 10px 0 0;
    padding: 5px 5px 5px 15px;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
}
/*
input[type="textarea"] {
    cursor:text;
}
*/
/*
input[type="Submit"] {
    background: url(accept.png) 8px 55% no-repeat #91BD09;
    background: url(accept.png) 8px 55% no-repeat, -webkit-linear-gradient(#91BD09,#578730);
    background: url(accept.png) 8px 55% no-repeat, -moz-linear-gradient(#91BD09,#578730);
    background: url(accept.png) 8px 55% no-repeat, -linear-gradient(#91BD09,#578730);
}
*/

input[value="Cancel"] {
    background: url(cross.png) 8px 55% no-repeat #b53109;
    background: url(cross.png) 8px 55% no-repeat, -webkit-linear-gradient(#b53109,#540303);
    background: url(cross.png) 8px 55% no-repeat, -moz-linear-gradient(#b53109,#540303);
    background: url(cross.png) 8px 55% no-repeat, -linear-gradient(#b53109, #540303);
}

input[value="Reset"] {
    background: url(cross.png) 8px 55% no-repeat #f0bb18;
    background: url(cross.png) 8px 55% no-repeat, -webkit-linear-gradient(#f0bb18,#a46b07);
    background: url(cross.png) 8px 55% no-repeat, -moz-linear-gradient(#f0bb18,#a46b07);
    background: url(cross.png) 8px 55% no-repeat, -linear-gradient(#f0bb18, #a46b07);
}




/* styles for smartphones and very small screen resolution */
@media only screen and (min-width: 320px) and (max-width: 400px)
{
    body {background: blue;}
}
/* styles for screen resolutions bigger than smartphones but smaller or equal to
1024px */
@media only screen and (min-width: 401px) and (max-width: 1024px)
{
    body {background: olivedrab;}
}
/* styles for screen resolutions for a very wide resolution */
@media only screen and (min-width: 2000px)
{
    body {background: green;}
}

/* devices smaller than 480px; mobiles, iPhone and normal screens */
@media handheld and (max-width: 480px), screen and (max-device-width: 480px),
screen and (max-width: 480px) {
    body {background: purple;}
}
/* layout for iPad in landscape mode */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and
(orientation: landscape) {
    body {background: greenyellow;}
}

#entryForm
{
    padding: 0.5em;
    width: 95%;
}

textarea {
    outline: none;
    cursor: text;
    width: 100%;
    resize: vertical;
    overflow: visible;
}

#left {display: inline-block;}
#right {display: inline-block;}
