﻿/*
	Procedure Image
*/

@import url('template/procedure-backgrounds.css');

.page-wrapper
{
	overflow: hidden;
}

.page-content
{
	height: 100%;
	min-height: initial;

	overflow: visible;
}

.large-text
{
	font-size: 22px;
	font-weight: 700;
	margin: 5px;
}

.video-swipe-panel
{
	display:none;
}

#title-card .wrapper
{
	z-index: 100;

	width: 100%;
}

#title-card.snapped .wrapper
{
	position: fixed;
	top: 60px;
	left: 0px;
}

#title-card .card
{
    text-align: center;
	box-sizing: border-box;

	width: 100%;

	transition: opacity 0.25s, background 0.25s;
}

#title-card.snapped .card
{
	opacity: 1.0;
	background-color: #20292f;
}

#title-card .card > h2
{
	margin: 0px;
	padding: 0px;

	color: #C8C04C;
	font-size: 1.2em;
}

#title-card .card > h3
{
	margin: 0px;
	padding: 0px;

	color: #fff;
	font-size: 16px;
}

.video-wrapper
{
	height:34%;
	background-color: #b9bbbd;
    box-sizing: border-box;
}


.video-wrapper .non-video-element
{
	height: 100%;
    position: absolute;
    clip: rect(0px, 900px, 35vh, 0px);
}

.video-wrapper .non-video-element img
{
	height: auto;
    margin: auto;
    display: block;
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
}

.video-player
{
	display: none;
}

.video-wrapper video
{
    height: 100%;
    width: 100%;
	margin: auto;
}

.step-container
{
	height: calc(65% - 65px);
	position: relative;
}

table tr
{
	vertical-align: top;
}

table td
{
	display: inline-block;
}

.step-container .scroll-container
{
	display: inline-block;
	overflow: hidden;
	width: calc(100% - 270px);
}

.step-container
{
	overflow:hidden;
}


.step-wrapper
{
	width: 300%;
	position: relative;
	left: -100%;
	height: 100%;
}

.step-wrapper .previous-step
{
	position: absolute;
	left: 0;
	top: 0;
	height: 80%;
	width: 33.3%;
}

.step-wrapper .next-step
{
	position: absolute;
    left: 66.6%;
    width: 33.3%;
	height:80%;
}

.step-scroller
{
	padding: 0;
	margin: 0;
	white-space:nowrap;
	list-style: none;
	position: relative;
	transition: left 0.5s;
	left: 0;
}

.step-selector
{
	background-color: #1F3E49;
	height: 50px;
	vertical-align:middle;
	line-height: 40px;
	text-align: center;
}

.step-selector ul
{
	padding: 0;
	margin: 0;
}

.step-selector ul li:first-of-type
{
    background-image: url('../images/procedure/info-icon-white.svg');
    background-size: 135%;
    background-position: center center;
}

.step-selector ul li:first-of-type.active
{
    background-image: url('../images/procedure/info-icon-denim.svg');
}

.step-selector ul li:last-of-type
{
    background-image: url('../images/procedure/checkmark-icon-white.svg');
    background-size: 100%;
    background-position: center center;
}

.step-selector ul li:last-of-type.active
{
    background-image: url('../images/procedure/checkmark-icon-denim.svg');
}


.step-selector table
{
	table-layout:fixed;
	width: 100%;
}

.step-selector .step-selection
{
	height:33px;
	width: 33px;

	border-radius: 20px;

	background-color:#1F3E49;

	border: 1px solid #C8C04C;

	box-sizing: border-box;

	display: inline-block;
	margin: 0 6px;
	cursor: pointer;

	color: white;

	vertical-align: middle;
	line-height: 30px;

	padding: 0;

	text-align: center;
}

.step-selector .step-selection.active
{
	background-color: #c8c04c;
	color: #1f3e49;
    font-weight: 900;
    font-size: 1.2em;
    height: 35px;
	width: 35px;
    line-height: 32px;
    box-shadow: 0px 2px 3px 0px #000;
}

.step-selector .step-selection.dim
{
	opacity: 0.5;
}


.step-selector .step-selection.disabled
{
	visibility: hidden;
	cursor: auto;
}

.step-selector .selector-previous, .step-selector .selector-next
{
    background-image: url(../images/procedure/prev-icon.svg);
    border: none;
    position: relative;
    left: -28px;
}

.step-selector .selector-next
{
    background-image: url('../images/procedure/next-icon.svg');
    left: 28px;
}

.step-title
{
	min-height: 40px;

	background-color: #E6E6E6;
	color: #1F3E49;

	vertical-align:middle;
	line-height: 40px;
	text-align: center;

	font-weight:bold;
	font-size: 1.1em;

	border-bottom: 1px solid #b9bbbd;
}

.step-content {
	height: 100%;
	width: 33.3%;
	position: absolute;
	left: 33.3%;
}

.step-text
{
	overflow-y: scroll;
	height: calc(77% - 37px);
	width: calc(100% - 40px);
	margin: 0 auto;
    padding: 0px 20px 20px;
}

.footer
{
	background-color: #1f3e49;
	border-top: 3px solid #356A7C;
	height:55px;
	width:100%;
	position:fixed;
	bottom: 0;
}

.footer .inner {
    max-width: 900px;
    height: 100%;
    margin: 0 auto;
}

.footer .procedure-menu
{
	float: left;

	cursor: pointer;

	background-image: url('../images/procedure/procedure-menu.svg');
	background-repeat: no-repeat;
	background-size: contain;

	height: 32px;
	width: 40px;
    width: 43px;

	box-sizing:border-box;

	margin-left:11px;
	margin-top: 12px;
}

.footer .procedure-menu.opened
{
	background-image: url('../images/procedure/procedure-menu-opened.svg');
}

.footer .next-proc-step {
    float: right;
    min-width: 110px;
    font-size: 1.1em;
    color: #fff;
    font-weight: bold;
    position: relative;
    right: 5px;
    bottom: -5px;
    cursor: pointer;
    padding: 4.5px 23px 0px;
    background-color: #a50000;
    border: 2px solid #750a0a;
}

.footer .next-proc-step span {
    position: relative;
    top: -10px;
}

.footer .next-proc-step img
{
	margin-left: 7px;
    position: relative;
    right: -2px;
    height: 30px;
}


.step-menu
{
	height: 551px;
	width: 100%;
	min-width: 400px;

	position: absolute;
	top: calc(100% + 139px);
	left: 0;
	transition: top 0.5s;

	background-color: white;
	color: #9C9EA0;
	overflow-y: scroll;
}

.step-menu.active
{
	top: calc(50% - 100px);
	border-top: 4px solid #b9bbbd;
}

.step-menu ul
{
	list-style:none;
}

.step-menu ul li
{
	margin: 10px 0px;
	padding: 10px 0px;
	cursor: pointer;
}

.step-menu .procedure-menu-title
{
	 color: #1F3E49;
    padding: 20px 0px 0px 20px;
    font-weight: bold;
    font-size: 16px;
}



/* Start Media Queries*/
@media screen and (max-width: 800px) and (min-width: 500px)
{
    #title-card .card > h2
    {
        font-size: 1.8em;
    }

}

@media screen and (max-width: 800px)
{
	.step-container .scroll-container
	{
		display: inline-block;
		overflow: hidden;
		width: calc(100% - 233px);
	}

	.video-swipe-panel
	{
		position: fixed;
		height: calc(33% - 60px);
		z-index: 1;
		width: 100%;
		display: block;
	}
}

@media screen and (max-width: 500px)
{
	#title-card .card > h2
	{
		margin-top: 12px;
	}

	.step-container
	{
    height:calc(67% - 50px);
	}

}

@media screen and (min-width: 700px)
{
    #title-card .card > h2
    {
	    margin: 18px;
	    font-size: 1.8em;
    }

    .step-container
    {
        height: calc(66% - 65px);
    }

    .step-text
    {
        padding: 0px 20px 50px;
        height: calc(80% - 50px);
    }

    .step-title
    {
        font-size: 1.3em;
    }


}

@media screen and (min-width: 1024px)
{
    #title-card .card > h2
    {
	    font-size: 1.2em;
    }

    .footer .next-proc-step
    {
        right: -1px;
    }

    .footer .procedure-menu
    {
        margin-left: 0px;
    }
}

@media (min-width: 768px) and (max-width: 1024px)
{
    .step-container
    {
        height: calc(73% - 105px);
    }

}
