/* Master Stylesheet
 * Version: 1.0
 *
 * Powered by VLThemes
 *
 */

$c1: #ffffff;
$c2: #fbfbfb;
$c3: #ebebeb;
$c4: #aaaaaa;

$info: #00a0d2;
$true: #46b450;
$false: #dc3232;

.vlt-theme-dashboard {
	margin: 10px 20px 0 2px;

	*[class^='vlt-col'] {
		margin-bottom: 20px;
	}

	.vlt-col-2 {
		max-width: 16.666667%;
		flex: 0 0 16.666667%;

		@media (max-width: 992px) {
			max-width: 33.333333%;
			flex: 0 0 33.333333%;
		}

		@media (max-width: 768px) {
			max-width: 100%;
			flex: 0 0 100%;
		}

	}

	.vlt-col-4 {
		max-width: 33.333333%;
		flex: 0 0 33.333333%;

		@media (max-width: 992px) {
			max-width: 50%;
			flex: 0 0 50%;
		}

		@media (max-width: 768px) {
			max-width: 100%;
			flex: 0 0 100%;
		}

	}

	.vlt-col-6 {
		max-width: 50%;
		flex: 0 0 50%;

		@media (max-width: 768px) {
			max-width: 100%;
			flex: 0 0 100%;
		}

	}

	* {
		box-sizing: border-box;
	}

	p {
		margin: 0 0 1rem;

		&.submit {
			padding: 0;
		}

		&.small {
			font-size: 80%;
			color: $c4;
		}

		&:last-of-type {
			margin-bottom: 0;
		}

	}

	img {
		width: 100%;
		height: auto;
	}

	label {
		display: block;
		margin-bottom: 5px;
	}

	input[type="text"] {
		width: 100%;
	}

	.vlt-form-group {
		margin-bottom: 1rem;
	}

	.vlt-form-group p.small {
		margin-top: .5rem;
	}

	mark {
		background-color: transparent;
	}

	mark.true {
		color: $true;
	}

	mark.false {
		color: $false;
	}

	mark.elements {
		background: -webkit-linear-gradient(180deg, #5C61CE, #FE3658);
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
	}

	.badge {
		color: $c1;
		background-color: $info;
	}

	.badge.false {
		color: $c1;
		background-color: $false;
	}

	.badge.true {
		color: $c1;
		background-color: $true;
	}

	.notice {
		margin-right: 0;
		margin-left: 0;
	}

	.vlt-wrap+.vlt-wrap {
		margin-top: 2rem;
	}

	.vlt-row {
		display: flex;
		max-width: 1200px;
		margin-top: 2rem;
		margin-right: -15px;
		margin-left: -15px;
		flex-wrap: wrap;

		&::after {
			content: '';
			display: table;
			clear: both;
		}

	}

	.vlt-col-2,
	.vlt-col-4,
	.vlt-col-6 {
		position: relative;
		width: 100%;
		padding-right: 15px;
		padding-left: 15px;
	}

	&__title {
		margin: 0 0 20px;
	}

	&__subtitle {
		display: block;
		font-size: 16px;
		line-height: 1.8;
	}

	.mb-sm {
		margin-bottom: 1rem;
	}

	.mt-sm {
		margin-top: 1rem;
	}

	.mt-md {
		margin-top: 1.5rem;
	}

	.tgmpa .tablenav.top {
		display: none;
	}

}

.vlt-drop-content {
	display: none;
}

.tippy-content {
	padding: 20px;
	font-size: 12px;
	text-align: left;

	a {
		color: rgba($c1, .6);

		&:hover {
			color: $c1;
		}

	}

}

.vlt-widget {
	display: inline-block;
	width: 100%;
	padding: 0;
	margin: 0;

	&+.vlt-widget {
		margin-top: 30px;

	}

	&__title {
		position: relative;
		padding: 15px 20px;
		font-size: 16px;
		font-weight: 600;
		background-color: $c2;
		border: 1px solid $c3;
		border-bottom: none;

		.badge {
			position: absolute;
			top: 50%;
			right: 20px;
			padding: 4px 12px;
			font-size: 12px;
			font-weight: 400;
			border-radius: 3px;
			transform: translateY(-50%);
		}

	}

	&__content {
		padding: 20px;
		background-color: $c1;
		border: 1px solid $c3;

		table {
			margin: 0;
			border: none;
			box-shadow: none;

			td {
				padding: 10px 0;

				&:first-child {
					padding: 10px 15px 10px 0;
					font-weight: 700;
				}

				&:last-child {
					text-align: right;
				}

			}

		}

	}

}