/*
Theme Name: MetalCentrum
Theme URI: http://www.metalcentrum.cz
Author: Jan Koprajda
Author URI: http://jankoprajda.cz/
Version: 1.0
*/

/* =Reset
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
        margin: 0;
        padding: 0;
        border: 0;
        outline: 0;
        font-size: 100%;
        vertical-align: baseline;
}
body {
        line-height: 1;
}
ol, ul {
        list-style: none;
}
blockquote, q {
        quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
        content: '';
        content: none;
}
:focus {
        outline: 0;
}
ins {
        text-decoration: none;
}
del {
        text-decoration: line-through;
}
table {
        border-collapse: collapse;
        border-spacing: 0;
}

/* =Basic structure
-------------------------------------------------------------- */
html {
     overflow: -moz-scrollbars-vertical;
}

/*  ----- body -----  */
body {
    background: #fff;
    font-family: Arial, sans-serif, serif;
    font-size: 10pt;
    text-align: center;
    color: #333;
    padding: 0;
}
div.body {}

/*  ----- page -----  */
div#page {
    margin: 0 auto;
    position: relative;
    width: 962px;
    text-align: left;
    color: #333;
}

/*  ----- links -----  */
a:link    { color: #c50037; text-decoration: none; }
a:visited { color: #c50037; }

a:hover   {
    color: #c50037;
    text-decoration: underline;
}

/*  ----- titles -----  */
h1, h2.title {
    color: #c50037;
    font-size: 25pt;
    padding: 0 0 25px 0;
}

h2 {
    font-size: 14pt;
    line-height: 26px;
    padding: 0 0 2px 0;
}
.kontakty h2, .home h2 {
    padding-bottom: 15px;
}
h3 {
    font-size: 11pt;
    line-height: 24px;
}

/*  ----- ul -----  */
ul {
     list-style: none;
     font-size: 10pt;
     margin-left: 15px;
     line-height: 24px;
     margin: 5px 0 15px 0;
}
ul li {
    padding-left: 15px;
    margin-bottom: 5px;
    background: url('/wp-content/uploads/2014/04/list-bulltet.gif') no-repeat 0 0.7em transparent;
}

/*  ----- p -----  */
p { 
    line-height: 24px;
    margin-bottom: 20px;
    text-align: left;
}

/* ---- img ---- */
img {
    margin: 0;
    padding: 0;
}

/*  ----- table -----  */
table {
    width: 100%;
    border: 1px solid #EEEEEE;
    margin-bottom: 10px;
}
table tbody tr.even th, table tbody tr.even td {
    background: none repeat scroll 0 0 #F7F7F7;
}
table th, table td {
    border: 1px solid #C4B7B6;
    line-height: 17px;
    padding: 8px 8px 5px;
    text-align: left;
}
table th {
    font-weight: bold;
    text-align: right;
    vertical-align: top;
}
table tbody th {
    border-right: 1px solid #EEEEEE;
    text-align: right;
    width: 120px;
}
table tbody tr.even th, table tbody tr.even td {
    background: none repeat scroll 0 0 #F7F7F7;
}

/*  ----- forms base -----  */
select, input, textarea {
    font-size: 10pt;
    padding: 1px 2px 2px 2px;
}

/*  ----- Clear, Hide -----  */
.hide,
.blind a,
.print {
        left: -10000px;
        overflow: hidden;
        position: absolute;
        width: 0; height: 0;
}
         .clear { clear: both; }
     span.clear { display: block; }
#ie7 span.clear { display: inline; }

/* ----- images -----  */
.images ul {
    list-style: none;
    margin: 7px 0 0 0;
    padding: 0;
}
.images li {
    float: left;
    margin: 0 7px 0 0;
    padding: 0;
    background: none;
}
.images img {
    border: 4px solid #e7e7e7;
}
.images.left {
    float: left;
    margin: 0 10px 10px 0;
}
.images.right {
    float: right;
    margin: 0 0 10px 10px;
}

/* ----- header -----  */
div#header {
    width: 962px;
}
div#header-blocks {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* ----- logo -----  */
div#logo {
    position: relative;
    z-index: 199;
    width: 217px;
    height: 109px;
    float: left; 
    padding-right: 0px;
    margin-right: 0;
    color: #fff; 
    font-size: 0pt;
}
#logo h1,
#logo a {
    display: block;
    position: relative;
    width: 217px;
    height: 109px;
    margin-bottom: 0;
    color: #fff;
    font-size: 0pt;
}       
#logo h1 span,
#logo a span {
    display: block;
    position: absolute;
    width: 217px;
    height: 109px;
    left: 0;
    top: 0;
    color: #fff;
    font-size: 0pt;
    background: url('/wp-content/uploads/2014/04/logo.png') left top no-repeat transparent;
}
#logo a {
    cursor: pointer;
}

/* -- Info -- */
div#info {
    float: left;
    margin-right: 0;
    overflow: hidden;
}
#info div {
  margin: 5px 5px 5px 0;
}

/*  ----- left blocks -----  */
div#left-blocks {
  width: 962px;
  float: left;
  margin: 0;
  padding: 0 0 0px 0;
}
.home #left-blocks {
  margin-top: 210px;
  width: 642px;
}
.page-id-21 #left-blocks {
  width: 642px;
}

/* ----- content -----  */
div#content {
  position: relative;
  width: 720px;
  float: right;
  left: -1px;
  min-height: 400px;
  background: url('/wp-content/uploads/2014/04/content_bg.png') no-repeat right 100px #fff;
  border: 1px dashed #d7d7d7;
}
.home #content,
.page-id-21 #content {
    width: 400px;
    background-image: none;
}
#content .content-in {
    margin: 20px 165px 25px 20px;
}
#content .content-in.long {
    margin: 20px 20px 25px 20px;
}
.home #content .content-in,
.kontakty #content .content-in {
    margin: 20px 25px 25px 20px;
}
.border-top {
    border-top: 1px dashed #d7d7d7;
    padding-top: 20px;
}

/* ----- Left column -----  */
div#left-column {
  position: relative;
  z-index: 77;
  width: 240px;
  float: left;
  margin: 0;
}

/* ----- Right column -----  */
div#right-column {
  position: relative;
  z-index: 77;
  right: 1px;
  width: 320px;
  float: right;
}
.home #right-column {
  margin-top: 210px;
}

/* ----- footer -----  */
div#footer {
  font-size: 8pt;
  color: #a7a7a7;
  padding: 15px 0 15px 250px;
}
div#footer p {
  text-align: left;
  line-height: 16px;
}

/* =Main content, navigation, comment content
-------------------------------------------------------------- */

/*  ----- main navigation -----  */
.main-navigation {
    padding: 19px 0 20px 10px;
    background: #c50037;
}
.main-navigation ul {
    list-style-type: none;
    background: transparent;
    margin: 0 0 0 15px;
}
#ie7 .main-navigation ul,
#ie8 .main-navigation ul,
#ie9 .main-navigation ul {
    margin-left: 0;
}
.main-navigation ul li {
    margin: 0 0 5px 0;
    padding-left: 0;
}
.main-navigation ul li a {
    background: url('/wp-content/uploads/2014/04/arrow-red-menu.png') no-repeat scroll 100% 50% transparent;
    color: #fff;
    display: block;
    font-size: 11pt;
    padding: 2px 0;
    text-decoration: none;
    text-shadow: 1px 0 #666;
    width: 190px;
}
.main-navigation ul li.current-menu-item a,
.main-navigation ul li.current-page-ancestor a,
.main-navigation ul li.current_page_parent a,
.main-navigation ul li.current-post-ancestor a,
.main-navigation ul li.current_post_parent a {
    color: #000;
}

/* ----- content navigation -----  */
div.content-navigation ul {
    width: 100%;
    list-style: none;
    margin: auto;
    line-height: 22px;
}
.content-navigation li {
    width: 140px;
    min-height: 146px;
    float: left;
    margin: 6px 6px 16px 6px;
    text-align: center;
    padding: 7px 7px 0 7px;
    background: url('/wp-content/uploads/2014/04/cn-bg.png') repeat top left #d7d7d7;
}
.content-navigation li.order-1,
.content-navigation li.order-4,
.content-navigation li.order-7 {
    margin-left: 0;
}
.content-navigation a {
    display: block;
    padding-bottom: 10px;
}
.content-navigation li.current-menu-item a span {
    color: #000;
}       
.content-navigation span {
    width: 105px;
    padding: 0 0 0px 0;
    margin: 0px;
    font-size: 11pt; 
    clear: left;
}
.content-navigation a:hover {
    text-decoration: none;
    color: #333;
}
.content-navigation .block-bottom {
    clear: both;
}

/* --- header blocks --- */
#header-blocks .innerfade {
    width: 560px;
    height: 190px;
    float: left;
    overflow: hidden;
}
#header-blocks .innerfade h2 {
    display: none;
}
#header-blocks .innerfade ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
#header-blocks .innerfade ul li {
    background: none;
    padding: 0;
    margin: 0;
}

#header-blocks .shortly {
    width: 402px;
    height: 186px;
    float: right;
    background: #fff;
    border-bottom: 4px solid #c50037;
}
#header-blocks .shortly h2 {
    display: none;
}
#header-blocks .shortly ul {
    padding: 0 25px 0 20px;
    margin: 0;
    font-size: 13pt;
    list-style: none;
}
#header-blocks .shortly li {
    padding: 0 0 0 30px;
    margin: 0;
    line-height: 94px;
    background: url('/wp-content/uploads/2014/04/arrow-top-menu.png') no-repeat 0% 50% transparent;
}
#header-blocks .shortly li {
    border-bottom: 1px dashed #d7d7d7;
}
#header-blocks .shortly li.last {
    border-bottom: 1px solid #c50037;
}

#header-blocks .contact {
    width: 100%;
    height: 109px;
}
#header-blocks .contact .content {
        width: 350px;
        float: right;
        font-size: 8pt;
        color: #555;
        height: 109px;
        line-height: 1.5em;
        overflow: hidden;
}
#header-blocks .contact h2 {
    display: none;
}
#header-blocks .contact ul {
        list-style-type: none;
        text-align: right;
        font-size: 8pt;
        line-height: 1.5em;
        margin: 0;
}
#header-blocks .contact ul li {
    margin: 0;
    padding: 0;
    background: none;
}
#header-blocks .contact ul span.label {
        float: left;
        margin: 0 0 0 26px;
        text-align: left;
}
#header-blocks .contact div.adr {
        display: inline; /* IE6 double margin bug */
        margin: 0;
        width: 160px;
        float: left;
        padding-top: 22px;
}
#header-blocks .contact div.adr2 {
    float: right; 
    width: 160px;
    padding: 22px 30px 0 0;
}

/* --- right blocks --- */
#right-column .block {
    padding-bottom: 10px;
    background: #f6f6f6;
}
#right-column .block h2 {
    line-height: 28px;
    font-size: 11pt;
    color: #c50037;
    padding: 0 7px;
    background: url('/wp-content/uploads/2014/04/categories-bg-header.jpg') repeat-x top left transparent;
}
#right-column .block .content {
    font-size: 9pt;
}
#right-column .block .content p {
    margin: 0;
    padding: 0;
    line-height: 0;
}
#right-column .block .content p.up {
    line-height: 17px;
    margin: 0;
    padding: 9px 7px 7px 7px;
}
.show-detail {
    margin-top: -15px;
}

/* -- partner -- */
.partner {
    border-right: 1px dashed #ddd;
    background: #fff;
    margin: 0 0 0 0;
}
.partner h2 {
    position: relative;
    z-index: 10;
    color: #333;
    font-size: 14pt;
    height: 31px;
    font-weight: bold;
    padding: 20px 0 0 22px;
    margin-bottom: -10px;
}
.partner img {
    margin-left: -1px;
}
.partner a:hover {
    background: #fff;
}
.partner p.carton {
    font-size: 7pt;
    margin: -56px 0 0 57px;
}
.partner p.carton a {
    color: #1D3E6F;
}
.partner p.carton a:hover {
    text-decoration: none;
}
.partner .akartdesign img {
    width: 150px;
    margin: 25px 0 -18px 20px;
}

/* =Widgets
-------------------------------------------------------------- */
.widgets_on_page ul {
	margin: 0;
	padding: 0;
}
.widgets_on_page li {
	list-style: none;
	margin: 0;
        padding: 0;
	background: none;
}

/* =Calculator
-------------------------------------------------------------- */
#calculator {
	color: #414141;
	border-top: 1px dashed #D7D7D7;
        padding-top: 20px;
}
#calculator .calc-name {
	color: #C50037;
	margin-bottom: 20px;
}
#calculator img {
        width: 70px;
        height: 70px;
}

#calculator label, #calculator p {
        font-size: 12px;
        text-shadow: 0 1px 1px #ffffff;
}

#calculator p, #calculator strong {
        margin: 0 0 15px 20px;
}

#calculator strong {
        color: #e8233b;
}

#calculator div.tvar input {
        width: 40px;
        height: 16px;
        margin: -11px 10px 17px 10px;
        border: 1px solid #d4d4d4;
        -moz-box-shadow: 0 1px 1px #ffffff;
        -webkit-box-shadow: 0 1px 1px #ffffff;
        box-shadow: 0 1px 1px #ffffff;
        padding: 5px;
        font-size: 12px;
}

#calculator input.submit {
        background-color: #e8233b;
        border: 1px solid #585858 !important;
        -moz-box-shadow: inset 0 1px 0 #f6aab3 !important;
        -webkit-box-shadow: inset 0 1px 0 #f6aab3 !important;
        box-shadow: inset 0 1px 0 #f6aab3 !important;
        height: 28px !important;
        font-size: 12px !important;
        color: white !important;
        width: auto !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
}

#calculator div.material {
	display: none;
        padding-top: 10px;
        margin-left: 0px;
        margin-bottom: 50px;
        width: 500px;
        overflow: hidden;
}

#calculator div.material label, #calculator div.material input {
        float: left;
}

#calculator div.material label {
        margin-left: 5px;
        margin-right: 20px;
}

#calculator .clear {
        clear: left;
}

#calculator div.tvar {
        background-color: #eeeeee;
        overflow: hidden;
        float: left;
        margin-bottom: 10px;
        padding: 20px 20px 15px 20px;
        width: 638px;
        height: 190px;
        margin-right: 10px;
	border: 1px dashed #D7D7D7;
}
#calculator div.tvar.even {
	 margin-right: 0px;
}

#calculator div.tvar * {
	float: left;
}
#calculator div.tvar h2 {
        position: absolute;
        margin-left: 97px;
}
#calculator div.tvar img {
        margin: 20px 20px 20px 10px;
}
#calculator div#osmihran, #calculator div#sestihran {
        height: 150px;
}
#calculator div.zadani {
        width: 400px;
        margin-top: 80px;
        position: relative;
        float: left;
}
#calculator .ahoj {
        color: red;
}

/* =wpcf7-form
 * ----------------------------------------------- */
.wpcf7-form li {
	float: left;
	list-style: none;
	background: none;
	margin: 0 15px 15px 0;
	padding: 0;
	color: #111;
}
.wpcf7-form li.mandatory label {
	font-weight: bold;
}
.wpcf7-form input {
	width: 220px;
	margin: 0;
	padding: 5px;
	background: url("/wp-content/themes/metalcentrum/images/input.png") no-repeat scroll left top rgba(0, 0, 0, 0);
    	border: 1px solid #ADADAD;
    	color: #505050;
    	font-family: Arial,Helvetica,sans-serif;
    	font-size: 14px;
    	padding: 6px;
}
.wpcf7-form textarea {
	background: url("/wp-content/themes/metalcentrum/images/input.png") no-repeat scroll left top rgba(0, 0, 0, 0);
    	border: 1px solid #ADADAD;
    	color: #505050;
    	font-family: Arial,Helvetica,sans-serif;
    	font-size: 14px;
    	height: 140px;
    	margin: 0;
    	padding: 6px;
    	width: 470px;
}
.wpcf7-form li.submit input,
.order-button a {
	background: none repeat scroll 0 0 #009559;
	border: 0;
    	border-bottom: 4px solid #1C704E;
    	border-radius: 5px;
    	color: #FFFFFF;
    	display: inline-block;
    	font-family: sans-serif;
    	font-size: 18px;
	cursor: pointer;
    	padding: 15px 30px 13px 30px;
    	text-decoration: none;
}
.wpcf7-form li .wpcf7-not-valid-tip {
	color: #C50038;
}

.order-button {
    	padding: 20px 0 15px 0;
	text-align: center;
	background: url("/wp-content/uploads/2014/04/cn-bg.png") repeat scroll left top #D7D7D7;
}
.order-button.calculator {
	padding: 20px 0 5px 0;
	margin-top: 20px;
}
.order-button p {
	text-align: center;
}
.page-id-147 .order-button {
	display: none;
}

/* =Print
----------------------------------------------- */
@media print {
	body { 
		width:100% !important;
		margin:0 !important;
		padding:0 !important;
		line-height: 1.4;
		word-spacing:1.1pt;
		letter-spacing:0.2pt;
		font-family: Garamond,"Times New Roman", serif;
		color: #000;
		background: none;
		font-size: 12pt;
	}

	/* Headings */
	h1,h2,h3,h4,h5,h6 { font-family: Helvetica, Arial, sans-serif; }
	h1{font-size:19pt;}
	h2{font-size:17pt;}
	h3{font-size:15pt;}
	h4,h5,h6{font-size:12pt;}

	code { font: 10pt Courier, monospace; } 
	blockquote { margin: 1.3em; padding: 1em;  font-size: 10pt; }
	hr { background-color: #ccc; }

	/* img { float: left; margin: 1em 1.5em 1.5em 0; } */
	a img { border: none; }

	/* Links */
	a:link, a:visited { background: transparent; font-weight: 700; text-decoration: underline;color:#333; }
	a:link[href^="http://"]:after, a[href^="http://"]:visited:after { content: " (" attr(href) ") "; font-size: 90%; }
	a[href^="http://"] {color:#000; }

	/* Table */
	table { margin: 1px; text-align:left; }
	th { border-bottom: 1px solid #333;  font-weight: bold; }
	td { border-bottom: 1px solid #333; }
	th,td { padding: 4px 10px 4px 0; }
	tfoot { font-style: italic; }
	caption { background: #fff; margin-bottom:2em; text-align:left; }
	thead {display: table-header-group;}
	tr {page-break-inside: avoid;} 

	/* Hidden parts of site */
	.hide, .blind, #nav, #intro, form {display:none;}
}
