/*
*,
:before,
:after {
  box-sizing: border-box;
}

html {
  font: 18px 'Helvetica Neue', sans-serif;
}

body {
    text-align: center;
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}
h1 {
    color: #4d4d4d;
    line-height: 1;
    font-size: 1.625rem;
    text-align: center;
    margin: 10px 0 20px;
}

#wrapper {
    background-color: #f4f4f4;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #f4f4f4;
    -o-box-shadow: 10px 30px 15px -20px rgba(0, 0, 0, 0.3);
    -ms-box-shadow: 10px 30px 15px -20px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 10px 30px 15px -20px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 10px 30px 15px -20px rgba(0, 0, 0, 0.3);
    box-shadow: 10px 30px 15px -20px rgba(0, 0, 0, 0.3);
    position: absolute;
    padding: 40px 60px 60px;
}

*/

.signature-component {
    text-align: left;
    display: inline-block;
    max-width: 100%;
}
.signature-component button {
    background: #1966af;
    color: #ffffff;
    text-shadow: none;
    border: 0 none;
    box-shadow: none;
    padding: 12px;
    border-radius: 4px;
    font-family: FuturaPTCond-Medium, Helvetica, Arial, sans-serif;
    letter-spacing: 0.05em;
    font-size: 14px;
    margin: 1.25rem 0.625rem 0 0;
}
.signature-component button.toggle {
    background: rgba(255, 0, 0, 0.2);
}
.signature-component canvas {
    display: block;
    position: relative;
    border: 1px solid #717375;
    border-radius: 0;
    background-color: #fff;
}
.signature-component img {
    position: absolute;
    left: 0;
    top: 0;
}



/***********************************************/

#wrapper {
	width: 100%;
	height: 450px;
	height: 28.125rem;
	max-width: 800px;
	max-width: 50rem;
	position: relative;
}

#signature {
	position: relative;
	width: 100%;
	height: 100%;
}

.signature-component {
	width: 100%;
	height: 100%;
}

#signature-pad {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

.signature-pad--body {
	width: 100%;
	position: relative;
	height: 350px;
	height: 21.875rem;
}

.signature-pad--footer {
	position: relative;
	width: 100%;
	height: 100px;
	height: 6.25rem;
}

#wrapper .signature-component .message {
	text-align: left;
	margin: 10px 0 0 0;
	margin: 0.625rem 0 0 0;
}

@media screen and (max-width: 479px) {

	#wrapper {
		height: 385px;
	}
	
	.signature-pad--body {
		width: 100%;
		position: relative;
		height: 250px;
	}
	
	.signature-pad--footer {
		padding: 10px 0 0 0;
		height: 135px;
	}
	
	.signature-component .signature-pad--footer button {
		margin: 10px 0;
		width: 100%;
		display: block;
	}
	
	#wrapper .signature-component .message {
		text-align: center;
	}
	
}