/* www.digitalmedia.cz - layout. */
/* Trimmed to the rules reachable from index.html. */

/* ---------- Generic HTML ---------- */
html { margin: 0; padding: 0; }
.bstyle { font: 75% /1.8em "Source Sans Pro", "Lucida Grande", Helvetica, Arial, "Microsoft JhengHei", "Lucida Sans Unicode", Verdana, Tahoma, sans-serif; width: 100%; margin: 0 0 10px 0; padding: 0; }

@media screen and (max-width: 640px) {
/*disable text size adjustment for mobile clients*/
html { -webkit-text-size-adjust: none; }
}

a { color: #f00000; text-decoration: none; font-weight: 300; font-weight: 600; }
a:hover { color: #9D0000; text-decoration: none; }

p { font-size:1rem; line-height: 24px; font-weight: 300; margin: .5em 0; }
p.ammann { font-size: 1.125em; }
.semibold { font-weight: 600; }

h1 { font-size: 48px; color: #333; margin: 0; padding-top: 30px;  font-weight: 400; line-height: normal; }


/* ---------- GENERAL CONTENT ELEMENTS ---------- */
#content img { display: block; margin-left: auto; margin-right: auto; -moz-box-sizing: border-box; box-sizing: border-box; max-width: 100% }
.stdContent { width:1396px; max-width:100%; margin-left: auto; margin-right: auto; display: block; }
#content .stdContent .spc  { padding: 20px 30px 20px 30px; }


/* ---------- RESPONSIVE COLUMNS ---------- */
.col-lg-12 { display: inline-block; vertical-align: top; margin: 0 1.4880952381%; width: 97.0238095238%; }


/* ---------- ROWS DEFINITION ---------- */
.row { padding: 20px 0; }


/* ---------- FORMS ---------- */
.button { color: #fff; background-color: #f00000; font-size: 20px; font-weight: bold; padding: 10px 20px; cursor: pointer; display:inline-block; min-width:200px;  text-align:center; border: none;}
.button:hover { background-color: #9D0000; text-decoration: none; color: white; }
.button:visited { text-decoration: none; color: white; }

input.ammannField {
	width: 320px;
    display: inline-block;
    border: 1px solid #CCC;
    font-size: 16px;
    font-family: inherit;
    padding: 6px;
    background: none repeat scroll 0 0 #FFFFFF;
    margin-top: 2px;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}


/* ---------- BUTTONS ---------- */
.btn { font-size: 20px; font-weight: bold; padding: 10px 20px; cursor: pointer; display:inline-block; min-width:200px;  text-align:center;}
.btn.primary { color: #fff; background-color: #f00000; }
.btn.primary.learnMore { margin-top:1em;}
.btn.primary:hover { background-color: #9D0000; text-decoration:none;}


/* ---------- LAYOUT ---------- */
#contentHeader { width: 100%; margin: 0px auto; height:523px; display:block; position:relative;   }
#contentHeader #chTitle { position:absolute;left:5%; bottom:10%;z-index: 10;   }
#contentHeader #chTitle h1 { color:white; font-weight: bold; background-color: #f00000; margin: 0; padding: 10px 15px;}

#contentWrapper { width: 100%; overflow: auto; }
#content { width: 100%; color: #666; font-size: 1.5em; margin: 0px auto; background: white; }

#footerWrapper { width: 100%; background: #484c4b; }
#footer { width: 1396px; margin: 0px auto; color: white; padding-top: 30px; padding-bottom: 50px; font-size:14px; color:#aaa; }
#footer p  {color:#aaa; }
#footer .quickLinks a { display:inline-block; padding:0 .5em; color:white; font-weight:300; border-bottom:1px solid transparent;}
#footer .quickLinks a:hover { color:white; border-bottom:1px solid; text-decoration:none;  }

/* iPad Portrait */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
#content, #footer { width: 100%; }
}

/* iPad Landscape */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
#content, #footer { width: 100%; }
}

@media only screen and (max-width: 480px) {
#content, #footer { width: 100%; }
}

@media only screen and (min-width: 481px) and (max-width: 1200px) {
#content, #footer { width: 100%; }
}


/* ---------- HORIZONTAL RULE ---------- */
.xhr {
    border-bottom: 1px solid #ddd;
    border-left: none;
    border-right: none;
    border-top: none;
    margin: .1em 0;
}


/* ---------- Break elements ---------- */
.break { height: 1px; font-size: 1px; clear: both; overflow: hidden; visibility: hidden; }
.breakspace50 { height: 50px; font-size: 1px; clear: both; overflow: hidden; display: block; width: 100%; }


/* ---------- RESPONSIVE OVERRIDES ---------- */
@media screen and (max-width:1200px) {
.stdContent { width: 95%; }
}

@media screen and (max-width:952px) {
#contentHeader { height:300px;}
.col-md-12 { width: 97.0238095238%; }
#contentHeader #chTitle h1 { font-size: 42px; line-height:normal; }
}

@media screen and (max-width:767px) {
.dm-cols>div>img { display: block; margin-left: auto; margin-right: auto }
.dm-cols { margin: 0 !important; width: 100% !important }
}

@media screen and (max-width:480px) {
#contentHeader { height:160px;}
.col-sm-12 { width: 97.0238095238%; }
#contentHeader #chTitle { width: 100%; margin: 0px auto; padding-top: 0px; padding-bottom:10px;   }
#contentHeader #chTitle h1 { font-size: 30px; line-height:normal; }
}
