@font-face {

    font-family: 'Open Sans';

    font-style: normal;

    font-weight: 400;

    src: url(../fonts/OpenSans.eot);

    src: local('Open Sans'),
    url(../fonts/OpenSans.ttf) format('truetype'),
    url(../fonts/OpenSans.eot) format('embedded-opentype'),
    url(../fonts/OpenSans.woff) format('woff');

}
#kosmetika_loga{
    display:flex;
    flex-wrap:wrap;
    flex-direction:row;
    align-items:center;
    /*margin: 20px 0;*/
    justify-content: space-around;
}

#kosmetika_loga img{
    margin: 30px;
}

* {

    margin: 0px;

    padding: 0px;

}

body {

    background: #FFFFFF;

    font-family: "Open Sans", sans-serif;

    color: #666;

}

p {

    color: #666;

}

h1, h2, h3, h4, h5, h6, h7 {

    /*color: #666;*/
    color:#444794;

}

/*for ie 10 and 11*/

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {

    body {

        font-family: sans-serif;

        line-height: 145%;

        letter-spacing: 0.2px;

    }

}

header.main {

    width: 100%;

    /*height: 120px;*/

    background: #ffffff;

    position: relative;

    z-index: 20;

}

.shadow-point {

    height: 339px;

    margin-bottom: -310px;

}

.shadow-point img {

    width: 100%;

}

.content {

    width: 1060px;

    margin: auto;

}

header .logo {

    margin: 35px 0px 0px 15px;

}

.header-right-top {

    float: right;

    width: 350px;

    margin-top: 37px;

}

.header-right-bottom {

    clear: both;

    float: right;

    margin-top: -20px;

}

.telephone {

    padding-left: 40px;

    background: url(../img/telefon.png) no-repeat;

    float: left;

    margin-top: 9px;

    margin-right: 6px;

}

.telephone a {

    color: #14B227;

    text-decoration: none;

}

.rezervacni-system {

    float: right;

    width: 160px;

    height: 40px;

    display: inline-block;

    background: url(../img/rezervace.png) no-repeat;

}

.rezervacni-system:hover {

    background-position: 0px -40px;

}

.main-menu {

    text-transform: uppercase;

}

.main-menu li {

    display: inline-block;

    list-style: none;

    /*width: 90px;*/

    margin: 5px 10px 0px 10px;

    /*padding-bottom: 10px;*/

    cursor: pointer;

}

.main-menu li:hover ul.sub{
    display:block;
}

.main-menu li ul.sub{
    display:none;
    position:absolute;
    z-index: 3;
    background-color:  #444794;
    padding:15px;
    color:white;
}

.main-menu li ul.sub li{
    display:block;
    text-transform: none;
    font-weight: normal;
    font-size: 1em;
    line-height: 1.5em;
    margin:0;
}

.main-menu li ul.sub li.sub:hover,
.main-menu li ul.sub li.sub:active,
.main-menu li ul.sub li.sub.active{
    border-bottom: none!important;
    text-decoration:underline;
}

.main-menu li ul.sub li a{
    color:white;
}

.main-menu li.active {

    font-weight: bold;

    border-bottom: 3px  #444794 solid;

}

.main-menu li:hover {

    border-bottom: 3px  #444794 solid;

}

.main-menu li a {

    color: #000000;

    text-decoration: none;

    display: block;

    padding-bottom: 12px;

}

.main-menu li:hover a,
.main-menu li.active a {

    /*color: #344D96;*/
    color:#444794;
}

h1 {

    color: #20569B;

    font-size: 26px;

    font-weight: normal;

    text-transform: uppercase;

    margin: 40px 0px 20px 0px;

}

p {

    margin-top: 20px;

    margin-bottom: 20px;

}

.center {

    text-align: center;

}

.home-bg {

    /*position: relative;*/

    position: absolute;

    height: 410px;

    margin: -388px 0px -43px 0px;

    /*margin-top: -254px;*/

}

.home-bg img {

    width: 100%;

    height: 410px;

}

.home1 {

    border-bottom: 1px #D4D4D4 solid;

    position: relative;

    z-index: 5;

}

.home1 .services_wrapper {

    margin-bottom: 55px;

}

.home1 .service {

    height: 190px;

    color: #000000;

    text-shadow: 1px 1px #ffffff;

    text-transform: uppercase;

    text-align: center;

    background: #E1E3E4;

    float: left;

    margin: 20px 20px 0px 0px;

    cursor: pointer;

}

.home1 .service:hover {

    /*background: #0B3364;*/
    background-color: #444794;

    color: #ffffff;

    text-shadow: 1px 1px #000000;

}

.home1 .last {

    margin-right: 0px;

}

.home1 .service_name {

    padding-top: 10px;

}

.home1 .actual {

    border: 1px #CCCCCC solid;

    padding: 12px 25px 12px 25px;

    margin: 20px 0px 20px 0px;

}

.home1 .actual span {

    font-weight: bold;

    color: #344D96;

}

.home2 {

    position: relative;

    z-index: 5;

}

.home2 .text .header {

    color: #1E74B6;

    margin: 60px 0px 25px 0px;

    font-size: 23px;

}

.home2 .text {

    width: 530px;

}

.home2 .slecna {

    display: inline-block;

    margin: -37px -170px -25px -90px;

}

.home2 .btnandtext {

    margin-top: 60px;

}

.home2 .rezervovat-btn {

    width: 270px;

    height: 60px;

    background: url(../img/rezervovat-btn.png) no-repeat;

    display: block;

}

.home2 .rezervovat-btn:hover {

    background-position: 0px -60px;

}

.home2 .small-text {

    margin: 20px 0px 0px 0px;

    width: 180px;

    text-align: right;

    font-size: 12px;

    color: #333333;

}

.home3 {

    margin-top: 60px;

    color: #666666;

}

.home3 .header {

    text-transform: uppercase;

    font-size: 16px;

    margin-bottom: 30px;

}

.home3 .provozovna {

    margin-right: 15px;

}

.home3 .provozovna.last {

    margin-right: 0px;

}

.content {

    position: relative;

    z-index: 4;

}

.left-menu {

    width: 250px;

    text-indent: 20px;

    margin-top: 46px;

}

.left-menu header {

    color: #ffffff;

    background: #354D97;

    height: 37px;

    padding-top: 13px;

    border: 1px #D8EAF4 solid;

    font-weight: bold;

}

.left-menu ul li {

    list-style: none;

    background-color: #ffffff;

    display: block;

    border: 1px #D8EAF4 solid;

    border-top: none;

}

.left-menu ul li a {

    color: #000000;

    display: block;

    text-decoration: none;

    height: 37px;

    padding-top: 13px;

}

.left-menu ul li.active a {

    font-weight: bold;

}

.left-menu ul li:hover a, .left-menu ul li.active a {

    color: #344D96;

    text-decoration: underline;

}

.sluzby-content {

    width: 100%;

}

footer.main {

    width: 100%;

    color: #666666;

    font-size: 14px;

}

footer .footer-wrapper {

    border-top: 1px #D4D4D4 solid;

    border-bottom: 1px #D4D4D4 solid;

    height: 310px;

    padding-top: 40px;

}

.kde-nas-najdete, .jsme-na-fb {

    width: 490px;

}

.fb-like-box {

    margin-top: -8px;

}

#map_canvas {

    width: 180px;

    height: 180px;

    margin: 0px 20px 0px 0px;

}

.patka-copy {

    font-size: 13px;

    color: #888888;

    margin-top: 10px;

    height: 40px;

}

footer header {

    text-transform: uppercase;

    font-size: 16px;

    margin-bottom: 30px;

}

.left {

    float: left;

}

.right {

    float: right;

}

.cyan {

    color: #1793C9;

}

.clear {

    height: 1px;

    background: transparent;

    clear: both;

}

#mobile_menu {

    display: none;

}

.subcontent h1 {

    color:  #444794;

    font-weight: normal;

}

.subcontent h2 {

    color: #444794;

    font-weight: normal;

    margin: 30px 0px 23px 0px;

}

.subcontent h3 {

    color: #000000;

    font-weight: normal;

    margin: 30px 0px 15px 0px;

}

.subcontent:not(.services):not(.services) ul li {

    list-style-image: url(../img/ul-li.png);

    margin: 10px 0px 0px 23px;

    padding-left: 13px;

}

.subcontent:not(.services):not(.services) .section-images-list li {

    list-style-image: none;

    list-style-type: none;

    display: inline-block;

    margin-left: 0;

    padding-left: 5px;

    padding-right: 5px;
}

.subcontent:not(.services) table {

    border-collapse: collapse;

    width: 100%;

    text-align: left;

}

.pricelist-table table td:first-child {

    width: 800px;

}

.subcontent:not(.services) table td, .subcontent:not(.services) table th {

    border: 1px #cccccc solid;

    padding: 6px 10px 6px 14px;

}

.subcontent:not(.services) table th {

    /*color: #20569B;*/
    color: #444794;

}

.subcontent:not(.services) table.nastymtable td {

    border: none;

    text-align: center;

    font-size: 16px;

    line-height: 40px;

}

#kontakt_map {

    width: 90%;

    height: 500px;

    margin: auto;

}

#top-services-menu {
}

#top-services-menu .half {
    padding-top: 20px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#top-services-menu .half div {
    box-sizing: border-box;
    width: 22%;
    background-color: white;
    -webkit-box-shadow: 0px 0px 2px 0px rgba(136,136,136,1);
    -moz-box-shadow: 0px 0px 2px 0px rgba(136,136,136,1);
    box-shadow: 0px 0px 2px 0px rgba(136,136,136,1);
    color: #333;
}

#top-services-menu div.active {
    background-color: #444794;
    color:white;
}

#top-services-menu div a {
    display: flex;
    flex-direction: row;
    text-decoration: none;
    color:inherit;
}
#top-services-menu .half div:hover{
    background-color: #444794;
    color:white;
}

#top-services-menu .half div div {
    height: 50px;
    width: 50px;
    background-position-x: 60%;
    background-position-y: 20%;
    background-size: 220%;
}

#top-services-menu div span {
    padding: 2px 10px;
    color:inherit;
    margin:auto 0;
    font-size: 0.9em;
    line-height: 1em;
    text-transform: uppercase;
}