/*****
/*  ~fonts
*****/

@font-face {
    font-family: 'montserratlight';
    src: url('../fonts/montserrat-light-webfont.woff2') format('woff2'),
         url('../fonts/montserrat-light-webfont.woff') format('woff');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'montserratsemi_bold';
    src: url('../fonts/montserrat-semibold-webfont.woff2') format('woff2'),
         url('../fonts/montserrat-semibold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'WooCommerce';
    src: url('../fonts/WooCommerce.woff') format('woff'),
         url('../fonts/WooCommerce.ttd') format('ttd'),
         url('../fonts/WooCommerce.eot') format('eot'),
         url('../fonts/WooCommerce.svg') format('svg');
    font-weight: 100;
    font-style: normal;
}

/*****
/*  ~body & backgrounds
*****/

.page-wrapper {
	background: #fff url(../images/bg_main.jpg) center -100px no-repeat;
	background-size: 100%;
	padding: 50px;
	min-height: 100vh;
}

.tax-product_tag .page-wrapper,
.woocommerce-account.logged-in .page-wrapper {
	background: #44556d url(../images/bg_alt.jpg) center -100px no-repeat;
	background-size: 100%;
	padding: 20px;
}

.page-wrapper .assign-tag {
	padding: 20px;
	background: #fff;
}

/*****
/*  ~typography
*****/

body {
    background: #fff;
	font-size: 14px;
	font-family: 'montserratlight', 'Pingfang SC', 'Heiti SC', STHeiti, 'Microsoft YaHei',  SimHei, SimSun, 'Droid Sans Fallback', sans-serif;
	min-width: 320px;
	max-width: 780px;
	margin: 0 auto;
}

h2 {
	font-size: 1.154em;
}

/*****
/*  ~buttons
*****/

.button {
	border: none;
	width: 100%;
	padding: 10px 0;
	display: block;
	text-transform: uppercase;
	font-weight: normal;
	cursor: pointer;
	text-align: center;
}

.button:hover,
.button:active {
	opacity: 0.6;
	color: inherit;
	text-decoration: none;
}

.button-primary {
	border-radius: 50px;
	background: #44556d;
	color: #fff;
}

.button-primary:hover {
	color: #fff;
}

.button-secondary {
	background: #ececec;
	color: #777777;
}

.button-alt {
	border-radius: 5px;
	background: #1c5f97;
	color: #fff;
}

.button-alt:hover {
	color: #fff;
}

.button:disabled {
	background: #ececec;
	color: #777777;
}

.button-outline {
	border-radius: 5px;
	border: 1px solid #fff;
	background: none;
	color: #fff;
}

.button.inline {
	display: inline-block;
}

.button.small {
	font-size: 14px;
	padding: 5px 10px;
}

/*****
/*  ~forns
*****/

*:focus {
    outline: none;
}

.input-text {
	width: 100%;
	background: none;
	border: none;
	border-bottom: 1px solid #555555;
	padding-bottom: 10px;
    border-radius: 0;
}

.center {
	text-align: center;
}

.form-row-first,
.form-row-last {
    float: left;
    width: 50%;
    margin: 0;
}

.form-row-first {
	margin-left: -5px;
}

.form-row-last {
	margin-right: -5px;
	margin-left: 10px
}

.half-width-form-control {
	display: inline-block;
	width: calc(50% - 3px);
}

/*****
/*  ~tabs navigation
*****/

.nav-tabs {
    border-bottom: none;
    top: -1px;
    position: relative;
}

.nav-tabs a.nav-link {
    border: none;
	border-radius: none;
	border-bottom: 1px solid transparent;
	color: #ffffff;
    padding-left: 0;
    padding-right: 0;
    margin: 0 5px 0 10px;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-item .nav-link:hover {
	background: none;
    color: #ffba00;
    border: none;
	border-bottom: 4px solid #ffba00;
}

.tabs-stage {
	background: #f0f0f0;
	margin-top: 0px;
	padding: 20px;
	border-radius: 3px;
}

.tabs-stage .innerwrap {
	padding: 10px;
}

.tabs-stage .innerwrap h5 {
	font-size: 14px;
}

.tabs-stage .tab-pane,
.MyAccount-content fieldset {
	background: #fff;
	border-radius: 3px;
	border-bottom: 3px solid #dadada;
	padding: 20px;
    overflow: hidden;
    position: relative;
}

/*****
/*  ~tables
*****/

table.table {
	margin-bottom: 0;
}

table.table tr td {
	border-top: none;
	font-size: 0.846em;
}

table.table tr:nth-child(odd) {
	background: #f0f0f0;
}

table.table tr td:first-child {
	font-weight: bold;
}

/*****
/*  ~woocommerce errors
*****/

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
    padding: 1em 2em 1em 3.5em;
    margin: 0 0 2em;
    position: relative;
    background-color: #f7f6f7;
    color: #515151;
    border-top: 3px solid #a46497;
    list-style: none outside;
    width: auto;
    word-wrap: break-word
}

.woocommerce-error::after,
.woocommerce-error::before,
.woocommerce-info::after,
.woocommerce-info::before,
.woocommerce-message::after,
.woocommerce-message::before {
    content: ' ';
    display: table
}

.woocommerce-error::after,
.woocommerce-info::after,
.woocommerce-message::after {
    clear: both
}

.woocommerce-error::before,
.woocommerce-info::before,
.woocommerce-message::before {
    font-family: WooCommerce;
    content: '\e028';
    display: inline-block;
    position: absolute;
    top: 1em;
    left: 1.5em
}

.woocommerce-error .button,
.woocommerce-info .button,
.woocommerce-message .button {
    float: right
}

.woocommerce-error li,
.woocommerce-info li,
.woocommerce-message li {
    list-style: none outside!important;
    padding-left: 0!important;
    margin-left: 0!important
}

.rtl.woocommerce div.product div.images .flex-control-thumbs li {
    float: right
}

.woocommerce-message {
    border-top-color: #8fae1b
}

.woocommerce-message::before {
    content: '\e015';
    color: #8fae1b
}

.woocommerce-info {
    border-top-color: #1e85be
}

.woocommerce-info::before {
    color: #1e85be
}

.woocommerce-error {
    border-top-color: #b81c23
}

.woocommerce-error::before {
    content: '\e016';
    color: #b81c23
}

/*****
/*  ~icons
*****/

.ico-close {
	background: url(../images/ico_close.png) no-repeat;
    background-size: 100%;
	display: none;
    position: absolute;
    top: 10px;
    right: 10px;
	width: 22px;
	height: 22px;
	cursor: pointer;
}

.ajax-loader {
	display: none;
	position: absolute;
    top: 50%;
    left: 50%;
}

/*****
/*  ~overlay
*****/

#overlay-bg {
	background-color: #000000;
	height: 100%;
    left: 0;
    position: absolute;
    top: 0;
	width: 100%;
	z-index: 99;
	display: none;
	opacity: 0;
	cursor: pointer;
}

#overlay {
	background-color: #fff;
	bottom: 0;
	box-shadow: 0px -3px 5px 0px rgba(0,0,0,0.3);
	height: 0;
	left: 0;
	position: absolute;
	width: 100%;
	z-index: 100;
	-webkit-box-shadow: 0px -3px 5px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px -3px 5px 0px rgba(0,0,0,0.3);
}

.overlayinner {
	background: #fff;
	padding: 20px;
}

.overlayinner.loader:before {
    opacity: 0.3;
}

.overlayinner h3 {
	font-size: 16px;
	text-transform: uppercase;
}

.overlayinner p,
.overlayinner ul li {
	font-size: 14px;
}

.overlayinner ul {
	margin: 0;
	padding: 0;
}

.overlayinner ul li {
	list-style: none;
	padding: 10px 0;
	margin: 0;
	border-bottom: 1px solid #f1f1f1;
	width: 100%;
}

.overlayinner ul li span.action {
	float: right;
}

.overlayinner ul li p.name {
	line-height: 1;
	position: relative;
    top: 1px;
    margin: 0;
    padding: 0;
    float: left;
}

.overlayinner ul li span.lastscan {
	font-size: 10px;
	text-transform: uppercase;
}

.overlayinner .form-check-label {
	padding: 11px 0;
    border: 1px solid #f1f1f1;
    margin-bottom: 10px;
    margin-left: -20px;
    padding-left: 30px;
    width: 100%;
    cursor: pointer;
}

.loader::before {
    height: 1em;
    width: 1em;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -.5em;
    margin-top: -.5em;
    content: '';
    -webkit-animation: spin 1s ease-in-out infinite;
    animation: spin 1s ease-in-out infinite;
    background: url(../images/loader.svg) center center;
    background-size: cover;
    line-height: 1;
    text-align: center;
    font-size: 2em;
    color: rgba(0, 0, 0, .75)
}

/* !-- Image alignment -- */
.alignleft, img.alignleft {
	margin-right: 1.5em;
	display: inline;
	float: left;
}

.alignright, img.alignright {
	margin-left: 1.5em;
	display: inline;
	float: right;
}

.aligncenter, img.aligncenter {
	margin-right: auto;
	margin-left: auto;
	display: block;
	clear: both;
}

.main img {
  max-width: 100%;
  height: auto;  
}
