/* vim: set ts=2 sw=2 sts=2 et: */

/**
 * Copyright (c) 2001-present X-Cart Holdings LLC. All rights reserved.
 * See https://www.x-cart.com/license-agreement.html for license details.
 */

.themetweaker-modal-mask {
	position: fixed;
	z-index: 1000000;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, .5);
	display: table;
	transition: opacity .3s ease;
}

body.live-css-reloading .themetweaker-modal-container * {
	transition: none !important;
}

.themetweaker-modal-wrapper {
	display: table-cell;
	vertical-align: middle;
}

.themetweaker-modal-wrapper h3 {
  color: #141414;
}

.themetweaker-modal-footer {
	margin-top: 30px;
}

.themetweaker-modal-container {
	width: 500px;
	margin: 0px auto;
  padding: 24px 45px 24px 24px;
  background-color: #fff;
	border-radius: 6px;
	transition: all .3s ease;
	position: relative;
  text-align: left;
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.16);
	font-family: 'Open Sans', sans-serif !important;
}

.themetweaker-modal-container p,
.themetweaker-modal-container span {
	font-size: 14px;
  text-align: left;
}

.themetweaker-modal-button {
	padding: 0 20px;
	height: 100%;
	vertical-align: middle;
	font-size: 14px;
	min-height: 35px;
}

.themetweaker-modal-close {
	position: absolute;
	right: 22px;
	top: 22px;
	cursor: pointer;
}

.themetweaker-modal-close svg {
	width: 18px;
	height: 18px;
	vertical-align: top;
}

.themetweaker-modal-close svg path {
	fill: #9b9b9b;
}

.themetweaker-modal-close:hover svg path,
.themetweaker-modal-close:focus svg path {
	fill: #0ba2e8;
}

.themetweaker-modal-button + .themetweaker-modal-button {
	margin-left: 20px;
}

button.themetweaker-modal-button,
a.themetweaker-modal-button {
	cursor: pointer;
	border-radius: 6px;
	border: none;
	min-width: 80px;
	color: #fff;
  padding: 10px 13px;
  background-color: #2b7616;
}

button.themetweaker-modal-button span,
a.themetweaker-modal-button span {
	color: #fff;
}

.themetweaker-modal-button:hover,
.themetweaker-modal-button:focus {
	background-color: #5ab237;
}

.themetweaker-modal-button.secondary {
	background: #fff;
	border: solid 1px #ababab;
}

.themetweaker-modal-button.secondary:hover span,
.themetweaker-modal-button.secondary:focus span {
	color: #2c5fa6;
}

.themetweaker-modal-button.secondary span {
	color: #2274a6;
}

/*
 * the following styles are auto-applied to elements with
 * transition "modal" when their visiblity is toggled
 * by Vue.js.
 *
 * You can easily play with the modal transition by editing
 * these styles.
 */

.modal-enter, .modal-leave-to {
	opacity: 0;
}

.modal-enter .themetweaker-modal-container,
.modal-leave-to .themetweaker-modal-container {
	transform: scale(1.1);
}
