html, body {font-size: 14px; color: #644664;}

a {
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
  color: #a078a0;}
a:hover {color: #444;}
.mg-bottom-30 {margin-bottom: 30px;}

h1 {font-size: 1.2em; font-weight: 700;}
h2 {font-size: 1.1em; font-weight: 700;}

#panel-custom-1 .panel-heading,
#panel-custom-2 .panel-heading {
  display: none;
}

#panel-custom-2 a {
  display: block;
  padding: 5px 0;
  font-weight: bold;
}
#panel-custom-2 .fa {margin-right: 10px;}
#panel-custom-1 form {margin-top: 10px;}
#panel-custom-1 span {font-size: 14px; font-weight: 600;}

#panel-custom-2 a:nth-child(1) {color: #644664;}
#panel-custom-2 a:nth-child(2) {color: rgb(175,60,65);}
#panel-custom-2 a:nth-child(3) {color: rgb(120,150,60);}
#panel-custom-2 a:nth-child(4) {color: rgb(80,130,190);}

header {background-color: #fff;}
#logo img {max-height: 120px;}
body#index .navbar {
  margin-bottom: 20px;
  font-size: 15px;
}
header a {color: #634664;}

.navbar-nav > li {border-color: #fff;}
.navbar .navbar-nav > li > a {font-size: 15px; color: #644664; text-transform: uppercase; font-weight: bold;}
.navbar {background-color: #fff; border-bottom: 1px solid #eaeaea;}
.navbar-nav > li:after {
  content: '';
  display: block;
  margin: auto;
  height: 3px;
  width: 0;
  background: transparent;
  transition: width .5s ease, background-color .5s ease;
}
.navbar-nav > li:hover:after {
  width: 100%;
  background:  #e2e2e2;
}
.navbar-nav > li.active:after {
  width: 100%;
  background:  #644664;
}
.navbar .navbar-nav > .active > a,
.navbar .navbar-nav > .active > a:hover,.navbar .navbar-nav > .active > a:focus {color: #644664;}

.navbar-default .navbar-toggle {color: #fff; border-color: #644664; background: #644664;}

#topbar .col-sm-6 {float: right; margin-top: 20px;}
#list-navbar {text-transform: none; margin-left: 420px;}

#box-custom-header {font-size: 13px; text-align: right; padding: 15px;}
#box-custom-header span {display: inline-block;}
#box-custom-header span:nth-of-type(2) {margin-left: 113px;}

.home-box {
  position: relative;
  display: block;
  border: 1px solid #EAEAEA;;
  font-weight: 700;
  color: #644664;
  min-height: 180px;
  margin: 0 3% 3% 3%;
  padding-right: 10px;
}
.home-box:hover {text-decoration: none;}
.home-box ul {
  margin-top: 10px;
  padding-left: 28px;
  font-size: 14px;
}
.home-box li {margin-bottom: 5px;}
.home-box span {
  display: block;
  font-weight: 600;
  padding: 10px;
  margin-top: 10px;
}
.home-box:after {
  content : "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background-image: url("/obrazek/3/d-jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 100%;
  opacity : 0.1;
  z-index: -1;
  -webkit-transition: all 500ms;
  -moz-transition: all 500ms;
  -o-transition: all 500ms;
  transition: all 500ms;
}
.home-box-ready {color: rgb(170,65,60); /*border-color: rgb(170,65,60);*/}
.home-box-ready:after {background-image: url("/obrazek/3/a-png");}
.home-box-zalozeni {color: rgb(118,147,60); /*border-color: rgb(118,147,60);*/}
.home-box-zalozeni:after {background-image: url("/obrazek/3/b-jpg");}
.home-box-ostatni {color: rgb(80,130,190); /*border-color: rgb(80,130,190);*/}
.home-box-ostatni:after {background-image: url("/obrazek/3/c-png");}
.home-box:hover:after {opacity: 0.4;}
/*
.home-box:hover {
opacity: 0.9;
background: #fff;
text-decoration: none;
}
*/
footer {font-size: 13px;}
#bar-poweredby {font-size: 14px; padding: 5px;}
#bar-footer {font-size: 12px; padding: 10px;}
footer ul {padding-left: 18px;}
footer .row > div:first-of-type ul {list-style: none;}

.form-control {margin-bottom: 5px;}
body:not(#index):not(#article-376266) main {
  background: #fff;
  margin-bottom: 20px;
  border: 1px solid #EAEAEA;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .05);}
table {width: 100%; margin-bottom: 15px;}
td {border: 1px solid #d2d2d2; padding: 5px;}
tr.head {background: #644664; color: #fff;}
tr.head td {text-align: center;}
td.center {text-align: center;}
table tr:nth-child(even) {background: #fafafa;}

.btn-primary,
#topbar .btn-default,
#topbar .btn-default:focus
{
  background: #644664;
  border-color: #644664;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary,
#topbar .btn-default:hover
{
  background: #444;
  color: #fff;
  border-color: #444;
}
.input-group-btn:last-child > .btn {margin-left: 0;}

.img-float {float: right; margin: 10px 0 10px 10px; opacity: 0.8;}
main p {margin-bottom: 15px; text-align: justify;}
h1 {margin-bottom: 30px;}

#search .container form .col-sm-8 {line-height: 2.5;}

#orders {font-size: 14px;}
#orders .form-group:first-of-type {margin-top: 20px;}
#orders .form-group label {margin-right: 5px; font-weight: 600;}
#ordersCaptcha {width: 100px; display: inline-block; *zoom: 1; *display: inline;}
#orders .form-group .col-xs-8 {display: flex; justify-content: space-between;}

.readymade {color: rgb(175,60,65);}
.readymade a {color: rgb(175,60,65);}
.readymade .head {background: rgb(175,60,65);}
.zalozenispolecnosti {color: rgb(120,150,60);}
.zalozenispolecnosti a {color: rgb(120,150,60); text-decoration: underline;}
.zalozenispolecnosti .head {background: rgb(120,150,60);}
.ostatnisluzby {color: rgb(80,130,190);}
.ostatnisluzby .head {background: rgb(80,130,190);}
.ostatnisluzby a {color: rgb(80,130,190);}

#carousel-example-generic .carousel-caption h3 {text-align: left;}
#carousel-example-generic .carousel-caption {position: static; text-shadow: none; color: #634664; padding: 0 10%;}
#carousel-example-generic .carousel-control.left,
#carousel-example-generic .carousel-control.right {
  background-image: none;
}
#carousel-example-generic .carousel-indicators {display: none;}
#carousel-example-generic {background: white; border: 1px solid black; margin: 1.5% 3% 3% 3%; padding: 15px; border: 1px solid #eaeaea;}

#uvod {display: flex; flex-wrap: wrap;}
#uvod > div {flex: 50%;}

/* seznam spolecnosti */
.seznamspolecnosti table td { width: 15%; }
.seznamspolecnosti table td:first-child { width: 30%; }
.seznamspolecnosti table td:nth-child(3) { width: 25%; }


@media (max-width: 1200px) {
  #list-navbar {margin-left: 0;}
}

@media (max-width: 990px) {
  .img-float {
    display: block;
    text-align: center;
    margin: auto;
    float: none;
  }
  #logo {text-align: center;}
}

@media (max-width: 600px) {
  #uvod {flex-direction: column;}
}

/*vlastní formulář*/
.own-form .panel-heading {
  display:none;
}
.own-form .panel,
.own-form .panel-body {
  box-shadow:none;
  border:0;
}

.own-form .form-group {
    margin-bottom: 0px;
}

.own-form .form-group .col-sm-8,
.own-form .form-group .col-sm-3 {
  width:100%;
  display:inline-block;
  text-align:left;
}

 
.own-form .form-horizontal  .form-input-label .control-label{
  text-align:left;
  width:100%;
}
.kontaktovat .form-group:nth-of-type(5),
  .objednavka .form-group:nth-of-type(19) {
    padding-top:10px!important;
  }
.objednavka  .panel .panel-body,
.objednavka.section-container,
.objednavka.section-container .section-content {
  padding:0;
  margin:0;
}

@media (min-width:992px) {

.objednavka .form-group:nth-of-type(5),
.objednavka .form-group:nth-of-type(6),
.objednavka .form-group:nth-of-type(7){
  width:33%;
  display:inline-block;
}

  
.objednavka .form-group:nth-of-type(9),
.objednavka .form-group:nth-of-type(10){
  width:50%;
  display:inline-block;
}  
.objednavka .form-group:nth-of-type(12),
  .objednavka .form-group:nth-of-type(13){
  width:50%;
  display:inline-block;
}
  
.objednavka .form-group:nth-of-type(15),
.objednavka .form-group:nth-of-type(16),
.objednavka .form-group:nth-of-type(17),
.objednavka .form-group:nth-of-type(18){
  width:50%;
  display:inline-block;
}

  .objednavka .form-group:nth-of-type(19) .col-sm-8 input {
    width:calc(100% - 300px);
    display:inline-block;
  }
    .objednavka .form-group:nth-of-type(19) .col-sm-8 #captcha-img {
    display:inline-block;
  }

}
#panel-custom-1 .kontaktovat  form,
aside .kontaktovat  .form-control,
aside .kontaktovat  .panel,
aside .kontaktovat  .panel .panel-body,
.kontaktovat.section-container,
.kontaktovat.section-container .section-content {
  padding:0;
  margin:0;
}
aside .kontaktovat  .panel .panel-body {
  border:0;
}

aside .kontaktovat  .form-control[type=text] {
  height:30px;
}
aside .kontaktovat  textarea {
  height:90px;
}

#panel-custom-1 .kontaktovat  form {
  padding-top:0!important;
  padding-bottom:0!important;
}