

/* Basic global styles */
body { font-size: 1em; line-height: 1.6; background: #f5f5f5; -moz-tab-size: 4; -o-tab-size: 4; tab-size: 4; }
html, button, input, select, textarea { color: #666; }




/* Select styles */
::-moz-selection { background: #4d4d4d; color: #fff; text-shadow: -1px -1px 0 #222; }
::selection { background: #4d4d4d; color: #fff; text-shadow: -1px -1px 0 #222; }

/* Element styles */
img { vertical-align: middle; }


textarea:focus,
input[type="text"]:focus, input[type="password"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus,
input[type="date"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, input[type="number"]:focus,
input[type="email"]:focus, input[type="url"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="color"]:focus {
	outline: 0; outline: thin dotted \9; /* IE6-9 */ color: #fff; background: #3a3c47;
}


input:-moz-placeholder,
textarea:-moz-placeholder,
input:-ms-input-placeholder,
textarea:-ms-input-placeholder,
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder { color: #999999; }



script { display: none !important; width: 0 !important; height: 0 !important; overflow: hidden !important; }



/* ==========================================================================
   Helper classes
   ========================================================================== */

.fl { float: left; }
.fr { float: right; }

.ir { background-color: transparent; border: 0; overflow: hidden; *text-indent: -9999px; }
.ir:before { content: ""; display: block; width: 0; height: 150%; }

.hidden { display: none !important; visibility: hidden; }

.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

.invisible { visibility: hidden; }

.clearfix:before,
.clearfix:after { content: " "; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

body { font-family: Arial, Helvetica, sans-serif }
form {
    text-align: center;
    margin: 0;
}
.input-container {
    position: relative;
    display: inline-block;
} 
input[name=word] {
  font-size: 16px;
  border-radius: 25px;
  border: 1px solid #ddd;
  margin: 10px auto 15px;
  display: inline-block;
  padding: 10px 15px;
  width: 100%;
}
input[type=reset] {
    display: inline-block;
    font-size: 16px;
    border-radius: 35px;
    min-width: 30px;
    min-height: 30px;
    background: #fff;
    border: none;
    position: absolute;
    right: -25px;
    top: 15px;    
}

label[for=word] {
    display: block;
    text-align: center;
    margin-top: 40px;
}
.image-container {
    max-height: 602px;
    overflow: scroll;
}
img.word {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto; 
    max-height: 500px;
    margin: 0 auto;
}


/* Example wrapper */
.wrap {
	position: relative;
	margin: 0;
}

/* Frame */
.frame {
	height: 250px;
	line-height: 250px;
	overflow: hidden;
}
.frame ul {
	list-style: none;
	margin: 0;
	padding: 0;
	height: 100%;
	font-size: 50px;
}
.frame ul li {
	float: left;
	width: 227px;
	height: 100%;
	margin: 0 1px 0 0;
	padding: 0;
	background: #f5f5f5;
	color: #ddd;
	text-align: center;
	cursor: pointer;
}
.frame ul li.active {
	color: #fff;
	background: #f5f5f5;
}

/* Scrollbar */
.scrollbar {
	margin: 0 0 30px 0;
	height: 2px;
	background: #ccc;
	line-height: 0;   
}
.scrollbar .handle {
	width: 100px;
	height: 100%;
	background: #292a33;
	cursor: grab;
}
.scrollbar .handle .mousearea {
	position: absolute;
	top: -9px;
	left: 0;
	width: 100%;
	height: 20px;
    background: #000;
    border-radius: 15px;    
}
.scrollbar .handle:active {
    cursor: grabbing;
}

/* Pages */
.pages {
	list-style: none;
	margin: 20px 0;
	padding: 0;
	text-align: center;
}
.pages li {
	display: inline-block;
	width: 14px;
	height: 14px;
	margin: 0 4px;
	text-indent: -999px;
	border-radius: 10px;
	cursor: pointer;
	overflow: hidden;
	background: #f5f5f5;
	box-shadow: inset 0 0 0 1px rgba(0,0,0,.2);
}
.pages li:hover {
	background: #aaa;
}
.pages li.active {
	background: #666;
}




.vocabline { height: 545px; line-height: 545px; }
.vocabline ul li { width: 1140px; }
.vocabline ul li.active img { border: 3px dashed rgb(40, 233, 10); }
.wordbuttons {
    width: 80%;
    overflow: hidden;
    margin: auto;
}
.wordbuttons button {
    margin: 5px;
    float: left;
    font-size: 15px;
    padding: 10px;
}

@media (max-width: 767px) {
    .vocabline ul li.active img {
        border: 0;
    }
}
@media (max-width: 500px) {
    .vocabline { height: 500px; line-height: 500px; }
    .wordbuttons button {
        margin: 2px;
        font-size: 12px;
        padding: 2px;
    }    
}
