/* Brown Theme  (c) Sunghee Lee. ShhStudios, LLC */


/*	Resets
	------	*/

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, 
p, blockquote, pre, a, abbr, address, cite, code, del, dfn, em, 
img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, hr, 
dl, dt, dd, ol, ul, li, fieldset, form, label, legend, 
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figure, figcaption, hgroup, 
menu, footer, header, nav, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
}

article, aside, canvas, figure, figure img, figcaption, hgroup,
footer, header, nav, section, audio, video {
display: block;
}

a img {
border: 0;
}



/*	Typography presets
	------------------	*/

.gigantic {
font-size: 110px;
line-height: 120px;
letter-spacing: -2px;
}

.huge, h1 {
font-size: 68px;
line-height: 72px;
letter-spacing: -1px;
}

.large, h2 {
font-size: 42px;
line-height: 48px;
}

.bigger, h3 {
font-size: 26px;
line-height: 36px;
}

.big, h4 {
font-size: 22px;
line-height: 30px;
}

body {
font: 16px/24px Georgia, serif;
}

.small, small {
font-size: 13px;
line-height: 18px;
}

/* Selection colours (easy to forget) */

::selection {
background: rgb(255,255,158);
}
::-moz-selection {
background: rgb(255,255,158);
}
img::selection {
background: transparent;
}
img::-moz-selection {
background: transparent;
}
 
html {
background: #dbb486 url(../images/woodbg.jpg);
}

 
body {
width: 800px;
color: #17181a;
-webkit-text-size-adjust: 100%; /* Stops Mobile Safari from auto-adjusting font-sizes */
-webkit-tap-highlight-color: rgb(255,255,158);
margin: 0 auto;
font-family: 'Varela Round', Gill Sans, Gill Sans, MT, sans-serif;
}

a {
text-decoration: none;
color: inherit;
}
 
h1, h2 {
font: 18px  'Varela Round',Gill Sans, Gill Sans MT, sans-serif;
text-shadow: rgba(255, 255, 255, .2) 0 1px 1px;
color: rgb(76, 86, 108);
margin: 10px 20px 6px;
letter-spacing: 1px;
font-weight: normal;
}

h3 {
text-align: center;
text-transform: uppercase;
font-size: 15px;
letter-spacing: 1px;
color: #F33;
font-weight: normal;
padding: 7px 0 0 0;
margin: 0;
}
/*========header=======================*/

header {
clear: both;
width: 100%;
height: 80px;
padding-top: 15px;
padding-bottom: 15px;
position: relative;
}

#logo {
background: url(../images/logo80.png) no-repeat;
display: block;
width: 80px;
height: 80px;
float: left;
}

header h1 {
float: left;
display: block;
font-size: 34px;
letter-spacing: -0.5px;
font-family: 'Carter One', sans-serif;
color: #72534F;
}

.ie7_html header h1,
.ie8_html header h1{
background: url(../images/gaugefy.png) no-repeat left center;
width: 138px;
height: 80px;
padding: 0;
margin: 0;
margin-left: 20px;
text-indent: -9999px;
}

#apple_badge {
position: absolute;
right: 0;
top: 0;
width: 130px;
height: auto;
margin-top: 15px;
opacity: .8;
}

#android_badge {
position: absolute;
right: 145px;
top: 0;
width: auto;
height: 40px;
margin-top: 15px;
 opacity: .8;
}

#android_badge:hover,
#apple_badge:hover {
opacity: 1;
}

header .addthis_toolbox{
position: absolute;
right: -25px;
bottom: 5px;
}

/*========Pages=======================*/

#wrapper {
-webkit-border-radius: 30px;
-moz-border-radius: 30px;
border-radius: 30px;
height: 460px;
border-radius: 15px;
overflow: hidden !important;
}

#gauge {
width: 50%;
float: left;
background: #F5F1EB;
height: 460px;
}

.page_content {
position: relative;
}


/*==second page bg wrapper===*/
.toolsPage {
width: 50%;
height: 460px;
float: right;
background: #ad804c;
background: rgba(163, 118, 66, .7);
-webkit-box-shadow: inset -3px 3px 10px 0px rgba(142, 102, 98, .8);
-moz-box-shadow: inset -3px 3px 10px 0px rgba(142, 102, 98, .8);
box-shadow: inset -3px 3px 10px 0px rgba(142, 102, 98, .8);
overflow: hidden;
}

.toolsPage .itunes_link{
	color: #fff;
	border-bottom: 1px dotted #fff;
}


#adjustPage,
#createPage,
#about {
width: 98%;
float: right;
background: #F5F1EB;
height: 460px;
}

#aboutPage {
}

#aboutPage h2 {
color: #fff;
text-align: center;
font-size: 24px;
margin-top: 20px;
margin-bottom: 20px;
text-shadow: -1px -1px 0.5px #80615D;
}

#aboutPage p {
color: #fff;
text-align: left;
padding: 5px 30px;
color: #fff7ef;
text-shadow: -1px -1px 0.5px #80615D;
}

#aboutPage a:hover {
color: #ebebeb;
}

div#about {
text-shadow: rgba(255, 255, 255, 0.3) 0px -1px 0;
font-size: 13px;
text-align: center;
background: #F5F1EB;
}

div#about p {
margin-bottom: 8px;
}

div#about a {
color: #fff;
font-weight: bold;
text-decoration: none;
}



/* @group Toolbar */

.toolbar {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
border-bottom: 1px solid #2d3642;
padding: 10px;
height: 39px;
background: #72534F;
background: -webkit-gradient(linear, 0 0, 0 100%, color-stop(0, #80615D), color-stop(0.5, #72534F), color-stop(0.5, #664743), color-stop(1, #573733));
background-image: -moz-linear-gradient(center top, #80615D 0%, #72534F 50%, #664743 50%, #573733 100%);
-webkit-box-shadow: rgba(0, 0, 0, .2) 0 2px 1px 1px;
-moz-box-shadow: rgba(0, 0, 0, .2) 0 2px 1px 1px;
box-shadow: rgba(0, 0, 0, .2) 0 2px 1px 1px;
}

.black-translucent .toolbar {
margin-top: 20px;
}

.toolbar > h2 {
margin-top: 0;
font-size: 16px;
text-transform: uppercase;
font-weight: normal;
text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0;
text-align: center;
white-space: nowrap;
letter-spacing: 1px;
color: #fff;
}

 

#createPage .toolbar {
margin-bottom: 5px;
}
  
.leftButton,
.cancel {
left: 6px;
right: auto;
}

.add {
font-size: 24px;
line-height: 24px;
font-weight: bold;
}

/*===buttons==*/

.btn {
display: block;
padding: 5px;
text-align: center;
font-size: 16px;
font-weight: normal;
text-transform: uppercase;
letter-spacing: 1px;
text-decoration: none;
color: inherit;
margin: 5px;
-webkit-box-shadow: rgba(0, 0, 0, .2) 0 1px 1px 1px;
-moz-box-shadow: rgba(0, 0, 0, .2) 0 1px 1px 1px;
box-shadow: rgba(0, 0, 0, .2) 0 1px 1px 1px;
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
border-radius: 15px;
}

.btn:hover {
opacity: .8;
}

.brown_btn {
color: #FFFFFF;
background: #72534F;
background: -webkit-gradient(linear, 0 0, 0 100%, color-stop(0, #80615D), color-stop(0.5, #72534F), color-stop(0.5, #664743), color-stop(1, #573733));
background-image: -moz-linear-gradient(center top, #80615D 0%, #72534F 50%, #664743 50%, #573733 100%);
}

.no-cssgradients .brown_btn:hover {
background: #72534F;
}

.brown_btn:active {
background: #72534F;
}

.light_btn {
color: #444;
text-shadow: 0px -1px 1px #ccc;
background: #ddd;
background: -webkit-gradient(linear, 0 0, 0 100%, color-stop(0, #fff), color-stop(0.5, #ebebeb), color-stop(0.5, #ddd), color-stop(1, #ccc));
background-image: -moz-linear-gradient(center top, #fff 0%, #ebebeb 50%, #ddd 50%, #ccc 100%);
}

.no-cssgradients .light_btn:hover {
background: #ebebeb;
}

.light_btn:active {
background: #ebebeb;
}

.red_btn {
background: #c63929;
background: -webkit-gradient(linear, 0 0, 0 100%, color-stop(0, #ee432e), color-stop(0.5, #c63929), color-stop(0.5, #b51700), color-stop(1, #891100));
background-image: -moz-linear-gradient(center top, #ee432e 0%, #c63929 50%, #b51700 50%, #891100 100%);
color: #fff;
text-align: center;
text-shadow: 0px -1px 1px #3d0700;
border-radius: 0;
margin: 5px 0;
}

.no-cssgradients .red_btn:hover {
background: #b51700;
}

.red_btn:active {
background: #b51700;
}



/* @group Forms */
 
ul li input[type="text"],
ul li input[type="password"],
ul li input[type="tel"],
ul li input[type="number"],
ul li input[type="search"],
ul li input[type="email"],
ul li input[type="url"],
ul li textarea,
ul li select {
color: #444;
border: 0;
font: normal 16px Gill Sans, Gill Sans, MT, 'Varela Round', sans-serif;
padding: 0;
display: inline-block;
margin-left: 0px;
width: 100%;
text-align: center;
-webkit-appearance: textarea;
}

ul li textarea {
height: 120px;
padding: 0;
text-indent: -2px;
}

ul li input[type="checkbox"],
ul li input[type="radio"] {
margin: 0;
color: rgb(50,79,133);
padding: 10px 10px;
}

ul li input[type="checkbox"]:after,
ul li input[type="radio"]:after {
content: attr(title);
font: 17px Gill Sans, Gill Sans, MT, 'Varela Round', sans-serif;
display: block;
width: 246px;
margin: -12px 0 0 17px;
}

/* @end */
 

.note {
-webkit-border-radius: 11px;
background: #fff;
padding: 10px 15px;
margin: 10px;
}

.note p {
padding: 5px 0;
font-weight: normal;
}

.note ul {
padding: 5px;
border: none;
margin-left: 10px;
}

.note li {
list-style-type: disc;
border: none;
padding: 5px 0;
font-weight: normal;
text-align: left;
font-size: 13px;
}
  

 
/* @group Individual */

ul.individual {
border: 0;
background: none;
clear: both;
overflow: hidden;
}
ul.individual li {
width: 45%;
float: left;
display: block;
}
ul.individual li input {
border: 1px solid #ccc;
font-size: 16px;
text-align: center;
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
border-radius: 15px;
float: left ;
display: block;
padding: 5px 0;
background: #fff;
-webkit-box-shadow: inset 3px 3px 10px 0px #ebebeb;
-moz-box-shadow: inset 3px 3px 10px 0px #ebebeb;
box-shadow: inset 3px 3px 10px 0px #ebebeb;
}

ul.individual li input + li {
float: right;
}

ul.individual li input a {
color: rgb(50,79,133);
line-height: 16px;
margin: -11px -10px -14px -10px;
padding: 11px 10px 14px 10px;
-webkit-border-radius: 8px;
}

ul.individual li input a:hover {
color: #fff;
background: #36c;
}


/* @end */

/* @group Toggle */

.toggle {
width: 94px;
position: relative;
height: 27px;
display: block;
overflow: hidden;
margin: 0 auto;
}

.toggle input[type="checkbox"]:checked {
left: 0px;
}

.toggle input[type="checkbox"] {
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
margin: 0;
-webkit-border-radius: 5px;
background: #fff url(img/on_off.png) 0 0 no-repeat;
height: 27px;
overflow: hidden;
width: 149px;
border: 0;
-webkit-appearance: textarea;
background-color: transparent;
-webkit-transition: left .15s;
position: absolute;
top: 0;
left: -55px;
}

#choose_unit {
width: 160px;
margin: 10px auto 0 auto;
text-align: center;
display: block;
-webkit-border-radius: 15px;
font-size: 12px;
}

/* @end */

 
#createPage ul.gaugefy_selected {
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
background: #FFF5EB;
background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#FFF5EB));
background-image: -moz-linear-gradient(center top, #fff  , #FFF5EB );
-webkit-box-shadow: rgba(102, 71, 67, .3) 0 0 2px 1px;
-moz-box-shadow: rgba(102, 71, 67, .3) 0 0 2px 1px;
box-shadow: rgba(102, 71, 67, .3) 0 0 2px 1px;
}

ul.gaugefy_selected li input[type="text"] {
color: #880000;
}

#createPage ul.gaugefy_selected h3 {
color: #F33;
}

/*======Gaugefy Page========*/

 p.instruction {
font-size: 14px;
padding: 10px;
text-align: center;
}

.gauge_result,
.gauge_adjust_result {
padding-top: 5px;
padding-bottom: 15px;
margin: 10px 0;
background: #fff6ed;
background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#FFF5EB));
background-image: -moz-linear-gradient(center top, #fff  , #FFF5EB );
-webkit-box-shadow: rgba(102, 71, 67, .3) 0 0 2px 1px;
-moz-box-shadow: rgba(102, 71, 67, .3) 0 0 2px 1px;
box-shadow: rgba(102, 71, 67, .3) 0 0 2px 1px;
clear: both;
}

.no-boxshadow .gauge_result,
.no-boxshadow .gauge_adjust_result {
border-top: #ebebeb 1px solid;
border-bottom: #ebebeb 1px solid;
}

#gauge h3 {
padding-top: 5px;
}


.gauge_result h3 {
font-size: 17px;
padding-bottom: 0;
margin-bottom: 0;
}
.gStitches,
.gRows,
.sWidth,
.sLength,
.adjustedStitches,
adjustedRows {
color: #333;
}

.gauge_result p,
.gauge_adjust_result p,
.instruction {
font-size: 18px;
color: #666;
padding-top: 0;
margin-top: 0;
line-height: 1.2em;
}

.instruction a {
color: #666;
}



/*===general list===*/

 
#gauge ul.individual li ,
#adjustPage ul.individual li {
width: 43%;
}


#createPage ul.individual li {
float: left;
width: auto;
padding-left: 5px;
padding-right: 5px;
}

#createPage ul.individual li input {
float: left;
}

#createPage ul.individual li.withinput {
width: 130px;
}

/*=============Gauge Page=====*/
 #gauge ul {
width: 100%;
}


#gauge ul.individual li + li,
#gauge ul.individual li.second,
#gauge ul.individual li:last-child,
#adjustPage ul.individual li + li,
#adjustPage ul.individual li.second,
#adjustPage ul.individual li:last-child {
float: right !important;
width: 150px !important;
}

#gauge ul.individual  li  input,
#adjustPage ul.individual  li input {
width: 143px;
padding-left: 5px;
}
 
#createPage ul.individual li input {
width: 123px;
padding-left: 5px;
}

 


#gauge ul.individual,
#adjustPage ul.individual {
width: 90%;
margin: auto;
background: url(../images/multiply.png) no-repeat center;
}

 

#createPage h3 {
text-align: left;
padding: 7px 0 5px 13%;
color: #666;
}


/*==star to select===*/
#createPage ul.individual {
padding-bottom: 10px;
}

#createPage ul.individual li.gaugefy_select {
float: left;
width: 25px;
height: 26px;
display: block;
background: #fff;
background: url(../images/star_outline.png) no-repeat center;
cursor: pointer;
}

#createPage ul.individual .gaugefy_select:active,
#createPage ul.gaugefy_selected li.gaugefy_select {
background: url(../images/star_active.png) no-repeat center;
outline: none !important;
border: none !important;
}

#createPage ul.individual li.multiply {
width: 15px;
height: 30px;
background: url(../images/multiply.png) no-repeat center;
}


#createPage ul.individual li.gaugefy_go a {
padding: 5px;
padding-left: 7px;
margin: 2px 0 0 0;
width: 20px;
height: 20px;
line-height: 2em;
text-align: center;
color: #fff;
font-size: 11px;
background: #72534F;
background: -webkit-gradient(linear, 0 0, 0 100%, color-stop(0, #80615D), color-stop(0.5, #72534F), color-stop(0.5, #664743), color-stop(1, #573733));
-webkit-box-shadow: rgba(0, 0, 0, .2) 0 1px 0 0;
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
border-radius: 15px;
}

#createPage ul.individual li.gaugefy_go a:active {
background: #72534F;
}




/*=== misc ===*/
input:-moz-placeholder {
color: #ccc !important;
text-align: center;
}

.placeholder {
color: #aaa;
padding-left: 5px;
}

 
input:-webkit-placeholder,
input:placeholder {
color: #ccc !important;
text-align: center !important;
}
 
input[disabled] {
-webkit-text-fill-color: #666;
}
 

#about .toolbar .back {
font-weight: normal;
}

#about h3 {
color: #555;
}

.combo_btns {
margin: 0 15px;
margin-top: 5px;
clear: both;
overflow: hidden;
}
 

.combo_btns .clear {
width: 25%;
float: left;
}


.combo_btns .clear + a {
width: 60%;
float: right;
}

#clear2_btn {
margin-top: 10px !important;
}

 
.gauge_refer:active {
background: #ebebeb;
}


.help_icon {
width: 16px;
height: 16px;
display: inline-block;
background: url(../images/help.png) no-repeat center;
background-size: 16px;
}

.instruction_btn {
color: #72534F;
background: #fff;
background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ebebeb));
background: -moz-linear-gradient(center top, #fff, #ebebeb); 

border-top: 1px solid #ebebeb;
border-bottom: 1px solid #ccc;
border-radius: 15px;
padding: 2px;
margin: 10px;
margin-bottom: 0;
text-align: center;
cursor: pointer;
}

.instruction_btn:active {
background: #fff;
}

.floaty {
width: 90% !important;
padding: 10px;
color: #666;
font-size: 17px;
text-align: center;
position: absolute;
top: 230px;
left: 10px;
z-index: 1000;
background: rgb(254, 249, 183)  url('../images/delete.png') no-repeat right bottom;
background: rgba(254, 249, 183, .95) url('../images/delete.png') no-repeat right bottom;
-webkit-box-shadow: rgba(0,0,0, .5) 0px 2px 2px;
-moz-box-shadow: rgba(0,0,0, .5) 0px 2px 2px;
box-shadow: rgba(0,0,0, .5) 0px 2px 2px;
border: rgb(245, 235, 175) 1px solid;
cursor: pointer;
}

.howto {
top: 0 !important;
font-size: 13px;
text-align: left;
padding: 20px 20px;
width: 84% !important;
}

.floaty .small {
padding: 20px;
}

#createPage .floaty {
top: 180px;
}

.swatchmeasurement_help{
top: 50px;	
}

.help_icon{
cursor: pointer;
}

#ads {
}

footer {
font-size: 13px;
padding: 10px 5px ;
margin-bottom: 20px;
color: #573733;
overflow: hidden;
}
footer a {
color: #664743;
}
 
footer a:hover {
color: #ebebeb;
}

 
footer .feedback {
float: left;
width: 60%;
}

.twitter_link {
background: url(../images/twitter-bird.png) no-repeat left ;
padding-left: 20px !important;
}


footer .copyright {
float: left;
width: 40%;
text-align: right;
}
