/**
 * Stylesheet Framework for Contao Open Source CMS
 * Copyright © 2011-2013 Dominik Raubuch
 *
 * CSS-Layout for Contao Open Source CMS.
 *
 * @copyright	Copyright © 2011-2013 Dominik Raubuch
 * @author		Dominik Raubuch <info@raubuch.net>
 * @package		styles
 * @version		2.0
 * 
 * Rights for file modifications
 * @copyright	Copyright ©
 * @author		Author
 * @version		modification 0.0
 */

@media all
{
	.brand-primary { color: #004480; }
	.bold { font-weight: bold; }
	.line { border-bottom: 1px solid #004480; display: block; margin-bottom: 4px; }
	
	
	.mkLn .mod_article .stunden input,
	.mkLn .mod_article .stunden select,
	.mkLn .mod_article .stunden div,
	.mkLn .mod_article .teile input,
	.mkLn .mod_article .teile select,
	.mkLn .mod_article .teile div {
		box-sizing: border-box;
	}
	
	.mod_ln_edit .teile input,
	.mod_ln_edit .teile select,
	.mod_ln_edit .stunden input,
	.mod_ln_edit .stunden select {
		margin-bottom: 10px;
	}
	
	.mkLn .mod_article .stunden div,
	.mkLn .mod_article .teile div {
		float: left;
		margin-left: 4px;
	}
	
	.mkLn .mod_article .stunden input,
	.mkLn .mod_article .stunden select,
	.mkLn .mod_article .stunden div {
		width: 12.8%;
		margin-right: 0.5%;
	}
	
	.mkLn .mod_article .teile input,
	.mkLn .mod_article .teile select,
	.mkLn .mod_article .teile div {
		width: 19.5%;
		margin-right: 0.5%;
	}
	.mkLn .mod_article .teile input.modul,
	.mkLn .mod_article .teile select.modul,
	.mkLn .mod_article .teile div.modul { width: 54%; }
	
	.mkLn .mod_article .stunden br,
	.mkLn .mod_article .teile br {
		display: none;
	}
	
	
	.mkLn .mod_article p.error { display: none; }
	.mkLn .mod_article input.error { border-color: #c33; }
	
	.mod_ln_show { line-height: 1.5em; }
	.mod_ln_show .th { font-weight: bold; }
	.mod_ln_show h4 { color: #004480; }
	
	
	.mod_ln_send input.checkbox { width: auto; height: auto; }
	
	.mod_ln_send input.submit { margin-top: 6px; }
}





/************* Signature Pad ***********/
.m-signature-pad--body,
.m-signature-pad {
	width: 600px;
}

.m-signature-pad {
	margin: 0 auto 30px auto;
}
.m-signature-pad--body {
	border: 1px solid #000;
	background-color: #fff;
	margin-bottom: 20px;
}

.m-signature-pad:before, .m-signature-pad:after {
	position: absolute;
  z-index: -1;
  content: "";
	width: 40%;
	height: 10px;
	left: 20px;
	bottom: 10px;
	background: transparent;
}

.m-signature-pad--footer > div {
	float: left; margin-right: 25px;
}

.m-signature-pad--footer button {
	padding: 3px;
}

/*#signature-pad-outer {
	position: relative;
	height: 400px;
}

.m-signature-pad {
	position: absolute;
	width: 700px;
	height: 400px;
	left: 50%;
	margin-left: -350px;
	border: 1px solid #e8e8e8;
	background-color: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.08) inset;
	border-radius: 4px;
}

.m-signature-pad:before, .m-signature-pad:after {
	position: absolute;
  z-index: -1;
  content: "";
	width: 40%;
	height: 10px;
	left: 20px;
	bottom: 10px;
	background: transparent;
	-webkit-transform: skew(-3deg) rotate(-3deg);
	-moz-transform: skew(-3deg) rotate(-3deg);
	-ms-transform: skew(-3deg) rotate(-3deg);
	-o-transform: skew(-3deg) rotate(-3deg);
	transform: skew(-3deg) rotate(-3deg);
	box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
}

.m-signature-pad:after {
	left: auto;
	right: 20px;
	-webkit-transform: skew(3deg) rotate(3deg);
	-moz-transform: skew(3deg) rotate(3deg);
	-ms-transform: skew(3deg) rotate(3deg);
	-o-transform: skew(3deg) rotate(3deg);
	transform: skew(3deg) rotate(3deg);
}

.m-signature-pad--body {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 20px;
  bottom: 80px;
  border: 1px solid #f4f4f4;
}

.m-signature-pad--body
  canvas {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
  }

.m-signature-pad--footer {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  height: 60px;
}

.m-signature-pad--footer
  .description {
    color: #C3C3C3;
    text-align: center;
    font-size: 1.2em;
    margin-top: 1em;
  }

.m-signature-pad--footer
  .left, .right {
    position: absolute;
    bottom: 0;
  }

.m-signature-pad--footer
  .left {
    left: 0;
  }

.m-signature-pad--footer
  .right {
    right: 0;
  }

@media screen and (max-width: 1024px) {
  .m-signature-pad {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto;
    min-width: 250px;
    min-height: 140px;
    margin: 5%;
  }
  #github {
    display: none;
  }
}

@media screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  .m-signature-pad {
    margin: 10%;
  }
}

@media screen and (max-height: 320px) {
  .m-signature-pad--body {
    left: 0;
    right: 0;
    top: 0;
    bottom: 32px;
  }
  .m-signature-pad--footer {
    left: 20px;
    right: 20px;
    bottom: 4px;
    height: 28px;
  }
  .m-signature-pad--footer
    .description {
      font-size: 1em;
      margin-top: 1em;
    }
}*/
