#block-moje-profily-block h2
{
    text-align: center;
}

#edit-field-fotografie-wrapper > div
{
    width: 100%;
}

#edit-field-fotografie-wrapper .tabledrag-toggle-weight, #edit-field-fotografie-wrapper .tabledrag-changed-warning,
#edit-field-fotografie-wrapper .tabledrag-changed
{
    display: none !important;
}

#node-komparzista-form input::-webkit-outer-spin-button,
#node-komparzista-form input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
#node-komparzista-form input[type=number] {
  -moz-appearance: textfield;
}

#node-komparzista-form .fieldgroup, #node-komparzista-form .form-item.form-group
{
    border-bottom: 1px solid #ccc;
}

#node-komparzista-form legend
{
    font-weight: bold;
    font-size: inherit;
    margin-bottom: 0;
    border-bottom: none;
}

#edit-odstranit
{
    padding-left: 30px;
    padding-right: 25px;
}

#edit-odstranit:hover
{
    color: #fff !important;
}

.oznam-odpovedi
{
    color: red;
}

tr.duplicita
{
    background: #f2dede !important;
}

#block-views-block-moje-profily-block-1 h2
{
    text-align: center;
}

.panel-oznacene
{
    line-height: 2.5em;
}

#edit-komparzisti
{
    min-width: 1000px;
}

.navbar-fixed-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse
{
    max-height: inherit;
}

#node-komparzista-form textarea
{
    width: 100%;
}

.oblicej-postava img, .fotky img
{
    box-sizing: border-box;
    border: 1px solid #ccc;
    width: 164px;
    height: auto;
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 5px;
}

.form-required::after
{
    background-image: url(../img/required.png);
    background-size: 8px 8px;
    width: 8px;
    height: 8px;
}

.logo img
{
    width: 250px;
    height: auto;
}

.label
{
    color: inherit;
}

.form-item-email-predvolba,.form-item-email-predvolby
{
    display: inline-block;
}

#komparz-nastaveni-exportu .checkbox
{
    display: inline;
    margin: 0;
}

#komparz-nastaveni-exportu table label
{
    display: inline;
    margin: 0;
}

#komparz-komparzisti label
{
    display: inline;
}

.fotky, .field--name-field-fotografie, .oblicej-postava
{
    display: flex;
    flex-wrap: wrap;
}

.field
{
    clear: both;
}

.page-header
{
    text-align: center;
}

.form-control, .select-wrapper
{
    width: auto;
}

label
{
    display: block;
}

input[type="file"]
{
    width: auto;
    height: auto;
}

.image-widget
{
    display: flex;
}

.navbar-brand
{
    padding: 0 15px;
}

.region-header
{
    display: flex;
    align-items: center;
}

.region-header section
{
    padding-right: 15px;
    padding-left: 15px;
}

.n-profily
{
    color: red;
}

@media (max-width:768px)
{
    .region-header, .image-widget
    {
       display: block;
    }
    
    .image-widget button
    {
        margin-top: 1em;
    }

    .pull-left
    {
       float: none !important;
    }
}