﻿#component-popup
{
	z-index: 1500;
	display: table;
	position: absolute;
	top: 0px;
	left: 0px;

	width: 100%;
	height: 100%;

	background-color: rgba(0, 0, 0, 0.5);

	transition: width 0.5s, left 0.5s;
}

#component-popup.hidden
{
	display: none;
}

#component-popup > .inner
{
	display: table-cell;
	width: 100%;
	height: 100%;

	padding: 10px;

	vertical-align: middle;
}

#component-popup > .inner > .box
{
	position: relative;

	margin: 0px auto;

	width: 100%;
	max-width: 900px;
	height: 100%;
	max-height: 500px;

	background-color: #F1F1F2;
	box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.5);
}

#component-popup > .inner > .box > .top
{
	position: absolute;
	top: 0px;

	width: 100%;
	height: 38px;

	background-color: #424243;
	border-bottom: 2px solid #b7b9ba;
}

#component-popup > .inner > .box > .top > .title
{
	margin-right: 38px;

	color: #fff;
	font-weight: bold;
	text-align: center;

	height: 40px;
	line-height: 40px;
}

#component-popup > .inner > .box > .top > .close.button
{
	float: right;
	cursor: pointer;

	margin: 5px;

	width: 28px;
	height: 28px;

	color: #fff;
	font-weight: bold;
	line-height: 28px;
	text-align: center;

	border-radius: 5px;
	background-color: #4a6a7a;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

#component-popup > .inner > .box > .bottom
{
	position: absolute;
	top: 38px;

	margin: 17px;
	
	width: calc(100% - 40px);
	height: calc(100% - 38px - 40px);

	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

#component-popup > .inner > .box > .bottom .spacer
{
	clear: both;
	margin: 10px 10px 15px 10px;
	border-bottom: 1px solid #888;
}

#component-popup > .inner > .box > .content img
{
	float: left;

	margin: 0px 15px 15px 0px;

	width: 50%;
}

#component-popup > .inner > .box > .bottom .title
{
	color: #641212;
	font-size: 24px;
	font-weight: bold;
}

#component-popup > .inner > .box > .bottom .sub-title
{
	color: #641212;
	margin-top: 15px;
	font-weight: bold;
	font-size: 18px;
}