html {
    position: relative;
    min-height: 100%;
	font-size: 16px;
	font-family: 'Arial';
}

body {
	background: #323232;
	background-image: url(../images/dark-waves-texture.jpg);
	margin: 0 0 195px; /* bottom = footer height */
	-webkit-touch-callout: none;
}

body.small-footer {
	margin: 0 0 80px; /* bottom = footer height */
}

a {
	color: #C9C6BD;
}

a img {
	border: 0px;
	outline: none;
	border-style: none;
}

fieldset { 
	position: relative; 
	padding: 15px;
	margin-bottom: 10px;
	border: 2px solid #444;
	-webkit-border-radius: 4px; 
	-moz-border-radius: 4px; 
	border-radius: 4px;
	text-align: left;
	box-shadow: 0px 0px 40px 10px #FFF;
	-moz-box-shadow: 0px 0px 40px 10px #FFF;
	-webkit-box-shadow: 0px 0px 40px 10px #FFF;
}

legend { 
	position: absolute; 
	left: 10px; 
	top: -20px;
}

button {
	text-decoration: none;
	text-align: center;
	text-shadow: 1px 1px 0px #777;
	color: white;
	background-color: #D29105;
	border: 1px solid #E8B13A;
	-moz-box-shadow: 3px 3px 10px -4px #000;
	-webkit-box-shadow: 3px 3px 10px -4px #000;
	box-shadow: 3px 3px 10px -4px #000;
}


button:hover {
	color: #000;
	text-shadow: 1px 1px 0px #DDD;
	background-color: #E8B13A;
	border: 1px solid #d29105;
}

button.minor-action  {
	background-color: #A38B56;
}

button:hover.minor-action  {
	background-color: #D1BD90;
}

button.form-action {
	margin-right: 10px;
	margin-left: 10px;
	min-width: 90px;
	-moz-box-shadow: inset 0px 1px 0px 0px #fed897, 3px 3px 10px -4px #000;
	-webkit-box-shadow: inset 0px 1px 0px 0px #fed897, 3px 3px 10px -4px #000;
	box-shadow: inset 0px 1px 0px 0px #fed897, 3px 3px 10px -4px #000;
	background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #E8B13A), color-stop(1, #d29105) );
	background: -moz-linear-gradient( center top, #E8B13A 5%, #d29105 100% );
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#E8B13A', endColorstr='#d29105');
	background-color: #E8B13A;
	border: 1px solid #eda933;
	display: inline-block;
	color: #FFF;
	font-size: 15px;
	font-weight: bold;
	font-style: normal;
	height: 34px;
	line-height: 32px;
	text-shadow: 1px 1px 0px #cd8a15;
}


button.form-action:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #d29105), color-stop(1, #E8B13A) );
	background:-moz-linear-gradient( center top, #d29105 5%, #E8B13A 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#d29105', endColorstr='#E8B13A');
	background-color:#d29105;
}


button.form-action:active {
	top:1px;
}

.hide {
    display: none !important;
}

.show {
    display: block;
}

.large {
	max-width: 900px;
}

.very-large {
	max-width: 1000px;
}

.thin {
	max-width: 500px;
}

.very-thin {
	max-width: 150px;
}

.small {
	max-width: 100px;
}

.very-small {
	max-width: 70px;
}

.link-small {
	font-size: 17px;
}

.link-very-small {
	font-size: 15px;
}

.left-align, .main-panel.left-align {
	text-align: left;
}

.center-align, .main-panel.center-align, .main-panel-header.center-align {
	text-align: center;
}

.right-align, .main-panel.right-align {
	text-align: right;
}

.justify-align {
	text-align: justify;
}

.vertical-align-bottom {
	vertical-align: bottom;
}

.float-left {
	float: left;
}

.float-right {
	float: right;
}

.centered {
	margin: 0 auto;
}

.margin-top-small {
	margin-top: 5px;
}

.margin-top-medium {
	margin-top: 10px;
}

legend, .legend {
	padding: 5px 10px; 
	font-family: 'Raleway', sans-serif;
	font-weight: bold;
	background-color: #444;
	font-size: 13px;
	line-height: 15px;
	color: #FFF; 
	-webkit-border-radius: 4px; 
	-moz-border-radius: 4px; 
	border-radius: 4px; 
	box-shadow: 2px 2px 12px 1px #000; 
	-moz-box-shadow: 2px 2px 12px 1px #000; 
	-webkit-box-shadow: 2px 2px 12px 1px #000;
}

.content-wrapper, .content-panel, .message-panel, .main-panel, .box-wrap, .pagination {
	width: 80%;
}

.content-panel {
	text-align: justify;
	font-size: 15px;
	margin-bottom: 20px;
	border-width: 0;
	padding: 10px;
	padding-bottom: 15px;
}

.content-panel strong, .main-panel  strong, .message-panel strong {
	color: #E8B13A;
	font-family: 'Raleway', sans-serif;
}

.content-panel strong, .main-panel  strong, .message-panel strong, .main-panel-header {
	text-shadow: 1px 1px 0px #000;
}

.content-panel  strong {
	font-size: 16px;
}

.content-panel, .main-panel {
	color: #EEE;
}

.content-panel, .main-panel-content, .message-panel {
	-moz-box-shadow: 0px 0px 100px 6px #000;
	-webkit-box-shadow: 0px 0px 100px 6px #000;
	-o-box-shadow: 0px 0px 100px 6px #000;
	box-shadow: 0px 0px 100px 6px #000;
}

.nowrap {
	overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
	display: inline-block;
}

.disabled {
	background-color: #DDD !important;
}

.disabled-row {
	color: #AAA !important;
}

.centered, .centered-high-margin-top, .centered-low-margin-top {
	margin: 10px auto;
}

.centered-high-margin-top {
	margin-top: 130px;
	margin-bottom: 50px;
}

.centered-low-margin-top {
	margin-top: 50px;
	margin-bottom: 50px;
}

.winebox-header, .winebox-footer {
	background-color: #111;
	background-image: url(../images/black_thread.png);
}

.textured-content, .message-panel {
	background-color: #111;
	background-image: url(../images/crissXcross.png);
}

.main-panel-content, .box-wrap {
	padding-top: 20px;
	padding-left: 20px;
	padding-right: 20px;
}

.box-wrap {
	padding-bottom: 20px;
}

.main-panel, .message-panel {
	color: #EEE;
	text-align: center;
}

.main-panel  strong {
	font-size: 20px;
}

.main-panel-header {
	text-align: left;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 10px;
}

.main-panel-footer {
	text-align: right;
	padding-top: 10px;
	padding-bottom: 10px;
}

.main-panel-header.data-header strong {
	font-family: 'Alegreya SC';
	font-size: 20px;
	color: #EEE;
	text-shadow: 1px 1px 4px 1px #000;
}

.main-panel-content {
	color: #111;
	border-width: 0px 0px 3px 0px;
	border-style: solid;
	border-color: #E8B13A;
	background-color: rgba(255,255,255,0.85);
	padding-bottom: 10px;
}

.main-panel-footer-element {
	margin-bottom: 15px;
}

.message-panel {
	padding: 20px;
}

.inlineblk {
	display: inline-block;
}

.inline-field-container  span {
	display: inline-block;
	vertical-align: top;
}

.inline-field-container  span.vertical-align-bottom {
	vertical-align: bottom;
}

.field-container {
	margin-bottom: 15px;
	margin-right: 10px;
	margin-left: 10px;
}

.field, .validationMessage {
	width: 100%;
}

.field {
	font-size: 16px;
}

.field-label {
	margin: 0 auto;
	margin-bottom: 2px;
	text-align: left;
	font-size: 16px;
	font-family: 'Alegreya Sans', sans-serif;
	font-weight: bold;
}

.not-selectable, .field-label, .pagination-item {
	cursor: default;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.moderation, .moderation strong {
	font-style: italic;
	font-size: 15px;
	text-shadow: none;
	color: #000;
	font-family: 'Arial';
}

.moderation strong {
	font-weight: bold;
}

.rating img {
	margin: 5px;
	height: 22px;
}

.date-info {
	text-align: right;
	color: #CCC;
	font-size: 14px;
	font-family: 'Alegreya Sans', sans-serif;
}

.date-info a {
	color: #CCC;
	text-decoration: none;
}

.date-info a:hover {
	text-decoration: underline;
}

.category-header, .list-menu {
	background-color: #9F9F9F;
	color: #FFF;
	font-family: 'Alegreya SC';
	text-align: left;
	font-size: 17px;
	-moz-box-shadow: inset 0px 0px 30px -8px #000;
	-webkit-box-shadow: inset 0px 0px 30px -8px #000;
	box-shadow: inset 0px 0px 30px -8px #000;
	text-shadow: 1px 1px 0px #444;
}

.category-header { 
	padding: 2px 5px;
	margin-bottom: 10px;
	font-weight: bold;
}

#status-public-container {
	margin-top: 20px;
	margin-bottom: 10px;
	color: #666;
	font-size: 13px;
	font-weight: bold;
	font-style: italic;
	line-height: 19px;
	text-align: right;
	margin-right: 0px;
}

#status-public-container input {
	vertical-align: middle;
}

#newsfeed-status-container {
	margin-left: auto;
	margin-right: 0px;
	color: #666;
	font-style: italic;
	text-align: right;
}

.box-wrap {
	overflow: hidden;
	margin-bottom: 0px;
}

.box-wrap.with-pagination {
	padding-top: 0px;
	padding-bottom: 0px;
}

.box {
	width: 100%;
	margin: 0 auto;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding-top: 15px;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 5px;
}

.winebox {
	color: #FFF;
	background: #222;
	font-family: 'Raleway', sans-serif;
	border: 1px solid #666;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.winebox:hover {
	border-color: #E8B13A;
	box-shadow: 4px 4px 25px 2px #E8B13A;
	-moz-box-shadow: 4px 4px 25px 2px #E8B13A;
	-webkit-box-shadow: 4px 4px 25px 2px #E8B13A;
}

.winebox-selected {
	border-color: #E8B13A;
}

.winebox-header, .winebox-content, .winebox-footer {
	padding: 6px;
}

.winebox-header, .winebox-footer {
	color: #E8B13A;
}

.winebox-header {
	font-size: 16px;
	font-weight: bold;
	line-height: 16px;
	height: 35px;
	-moz-border-radius: 5px 5px 0px 0px;
	-webkit-border-radius: 5px 5px 0px 0px;
	border-radius: 5px 5px 0px 0px;
}

.winebox-header .minor-info {
	font-size: 12px;
}

.winebox-header .name {
	font-family: 'Alegreya SC';
	width: -moz-calc(100% - 30px);
	width: -webkit-calc(100% - 30px); 
	width: calc(100% - 30px);
}

.winebox-header .name.instock {
	width: -moz-calc(100% - 60px);
	width: -webkit-calc(100% - 60px); 
	width: calc(100% - 60px);
}

.winebox-header .vintage {
	font-size: 17px;
	font-family: 'Alegreya SC';
	font-weight: normal;
}

.winebox-header .box-avatar, .detail-row .box-avatar {
	float: right;
	margin-top: -30px;
	max-width: 48px;
	max-height: 48px;
	margin-right: 2px;
	border: solid 2px #777;
	background: #EEE;
	-moz-border-radius: 5px 5px 5px 5px;
	-webkit-border-radius: 5px 5px 5px 5px;
	border-radius: 5px 5px 5px 5px;
}

.winebox-content {
	font-size: 14px;
	color: #222;
	padding-top: 4px;
	background: #ffffff; /* Old browsers */
	background: -moz-linear-gradient(left,  #ffffff 0%, #B8B8B8 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,#ffffff), color-stop(100%,#B8B8B8)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left,  #ffffff 0%,#B8B8B8 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(left,  #ffffff 0%,#B8B8B8 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(left,  #ffffff 0%,#B8B8B8 100%); /* IE10+ */
	background: linear-gradient(to right,  #ffffff 0%,#B8B8B8 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#B8B8B8',GradientType=1 ); /* IE6-9 */
}

.winebox-content .date-info, .winebox-content .date-info a {
	color: #555;
	font-style: italic;
}

.winebox-content #conservation {
	margin-top: 10px;
	color: #A39979;
}

.winebox-footer {
	display: table;
	width: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 16px;
	font-family: 'Alegreya Sans', sans-serif;
	line-height: 18px;
	-moz-border-radius: 0px 0px 5px 5px;
	-webkit-border-radius: 0px 0px 5px 5px;
	border-radius: 0px 0px 5px 5px;
}

.winebox-footer .producer {
	color: #EEE;
	font-style: italic;
}

.winebox-footer .producer, .winebox-footer .flags-container {
	vertical-align: middle;
	display: table-cell;
}

.winebox-footer  img {
	float: right;
	height: 24px;
	margin-top: -1px;
	margin-left: 5px;
}

.winebox-footer .rating  img {
	margin: 0px;
	height: 22px;
}

.rating.rating-evino img {
	-moz-box-shadow: 0px 0px 8px 2px #E8B13A;
	-webkit-box-shadow: 0px 0px 8px 2px #E8B13A;
	box-shadow: 0px 0px 8px 2px #E8B13A;
	margin-left: 8px;
	margin-right: 2px;
	margin-top: 1px;
}

.flags-container .rating-user img {
	margin-top: 1px;
}

.invitation-label {
	vertical-align: middle;
	margin-left: 5px;
	margin-top: 3px;
	font-size: 14px;
	color: #EECC3A;
}

.invitation-label.accepted {
	color: #90D607;
}

.wine-menu {
	margin-top: 15px;
	text-align: right;
}

.wine-menu button {
	height: 30px;
	font-family: 'Alegreya SC';
	font-size: 14px;
	line-height: 26px;
	min-width: 80px;
	margin-left: 5px;
	margin-right: 5px;
	margin-bottom: 12px;
	border: solid 1px #000;
}

.message-panel .wine-menu {
	text-align: center;
}

.pagination {
	margin: 0 auto;
	text-align: center;
}

.pagination span {
	background-image: url(../images/black_thread.png);
	font-size: 16px;
	display: inline-block;
	margin: 5px;
}
 
.pagination .pagination-item {
	border: solid 1px #999;
	color: #EEE;
	display: block;
	float: left;
	padding: 3px 8px;
	text-decoration: none;
	font-weight: bold;
}

.pagination a:hover{
	border: solid 1px #E8B13A;
	cursor: pointer;
    cursor: hand;
}

.off .pagination-item {
	color: #555;
	border-color: #555;
}

.pagination .active {
	background: #E8B13A;
	font-weight: bold;
 }
 
.pagination .active .pagination-item {
	color: #111;
	border-color: #EEE;
}

.white-wine, .main-panel  strong.white-wine {
	color: #FAF9BB;
}

.red-wine, .main-panel  strong.red-wine {
	color: #D15662;
}

.pink-wine, .main-panel  strong.pink-wine {
	color: #F5E3D7;
}

.list-even {
	background-color: #CDCDCD;
}

.list-odd {
	background-color: #E7E7E7;
}

.list-menu {
	line-height: 20px;
	padding: 5px;
	padding-top: 3px;
	padding-left: 10px;
}

a.list-menu-button {
	text-decoration: none;
	cursor: default;
	padding: 0px 6px 0px 6px;
	border-width: 1px;
	border-style: solid;
	-moz-box-shadow: 2px 2px 5px 0px #888;
	-webkit-box-shadow: 2px 2px 5px 0px #888;
	-o-box-shadow: 2px 2px 5px 0px #888;
	box-shadow: 2px 2px 5px 0px #888;
	font-size: 13px;
	display: block;
	line-height: 26px;
}

.list-menu button, button.list-menu-button, a.list-menu-button {
	color: #FFF;
	min-height: 22px;
	margin-right: 6px;
	background-color: #555;
	border-color: #333;
}

.list-menu button:hover, button:hover.list-menu-button, a:hover.list-menu-button {
	color: #E8B13A;
	background-color: #5A5A5A;
	text-shadow: none;
	cursor: default;
}

.stock-details-container {
	margin-top: 10px;
}

.stock-details-container img {
	margin-top: 4px;
	margin-right: 8px;
}

.stock-details-loading {
	margin-bottom: 10px;
}

.stock-details-container .stock-details-title {
	color: #000;
	font-size: 17px;
	font-family: 'Alegreya SC';
	font-weight: bold;
}

.stock-details-container .stock-details-info {
	font-size: 15px;
	margin-left: 8px;
	font-family: 'Alegreya Sans';
}

.stock-details-container .stock-details-info-number {
	font-size: 18px;
	font-weight: bold;
}

.main-fieldset {
	padding-top: 20px;
	margin-top: 20px;
	margin-bottom: 20px;
}

.main-fieldset legend img {
	height: 12px;
	margin-left: 2px;
	margin-top: -2px;
}

.empty-space {
	margin-top: 40px;
}

.empty-space-small {
	margin-top: 25px;
}

.chosen-container .chosen-results div {
	margin-top: 2px;
	font-size: 13px;
	color: #888;
}

.status-container span {
	vertical-align: middle;
	font-style: italic;
	font-size: 13px;
	color: #917027;
}

.status-container img {
	width: 24px;
	margin-top: 0px;
	margin-right: 0px;
}

.legal-content {
	font-family: 'Arial';
	font-size: 15px;
	text-align: justify;
	color: #CCC;
	padding-top: 8px;
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 25px;
}

.legal-content .important-info {
	color: #E8B13A;
}

input, textarea {
	-webkit-transition: all 0.30s ease-in-out;
	-moz-transition: all 0.30s ease-in-out;
	-ms-transition: all 0.30s ease-in-out;
	-o-transition: all 0.30s ease-in-out;
	outline: none;
	padding: 2px;
	border: 1px solid #777;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
 
input:focus, textarea:focus {
	-moz-box-shadow: 0px 8px 0px 0px #E8B13A;
	-webkit-box-shadow: 0px 8px 0px 0px #E8B13A;
	box-shadow: 0px 0px 8px 0px #E8B13A;
	padding: 2px;
	border: 1px solid #E8B13A;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.notes-group {
	padding: 0px;
}

.notes-group textarea {
	padding-top: 15px;
	padding-right: 5px;
	padding-left: 5px;
	min-height: 100px;
	font-family: 'Alegreya Sans', sans-serif;
}

.answer-dd {
	max-width: 60px;
}

/* Validation */
.validationMessage {
	font-size: 14px;
	margin: 0 auto;
	text-align: left;
	color: #FC5B5B;
	font-family: 'Alegreya Sans', sans-serif;
}

.validationMessage.valid {
	color: #6EB84A;
}

.error-border, .w.error input {
	-moz-box-shadow:inset 0px 8px 0px 0px #FC5B5B;
	-webkit-box-shadow:inset 0px 8px 0px 0px #FC5B5B;
	box-shadow: 0 0 8px #FC5B5B;
	border: 1px solid #FC5B5B;	
}

.w.error input { 
	padding-right: 20px;
	margin-bottom: 5px;
	background: #fff url('../images/icon_error.png') no-repeat 99% center;
}

.valid-border, .w.valid input {
	-moz-box-shadow:inset 0px 8px 0px 0px #A5C8A6;
	-webkit-box-shadow:inset 0px 8px 0px 0px #A5C8A6;
	box-shadow: 0 0 8px #A5C8A6;
	border: 1px solid #A5C8A6;
}

.w.valid input { 	
	padding-right: 20px;
	margin-bottom: 0px;
	background: #fff url('../images/icon_valid.png') no-repeat 99% center;
}
/* -------- */

.modal {
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0px;
    left:       0px;
    height:     100%;
    width:      100%;
}

.modal-loading {
	background: rgba( 40, 40, 40, .8 ) 
                url('../images/loading_w.gif') 
                50% 50% 
                no-repeat;
}

html.loading, html.loading body, html.loading .body-wrapper {
    overflow: hidden;
	overflow-x: hidden;
    overflow-y: hidden;
}

html.loading .modal-loading {
    display: block;
}