/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */

/* ========================================================================
   Use this file to add custom CSS easily
 ========================================================================== */

@font-face {
    font-family: b; /* deklarace fontu */
    src: url("EuclidFlex-Bold.otf"); /* propojení na umístění souboru */
}


@font-face {
    font-family: r; /* deklarace fontu */
    src: url("EuclidFlex-Regular.otf"); /* propojení na umístění souboru */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: b !important;
}

html {
    font: 300 16px / 26px r !important;
}

/* Logo footer */
.tm-footer .tm-logo-footer { margin-top: -10px; }

/* Pozadí - parallax */
.uk-width-large-3-4 {
    width: 100%;
}

/* změna barvy hlavičky */

body.tm-navbar-fixed:not(.tm-header-offset) > .uk-container > .uk-sticky-placeholder, .tm-navbar {
    background: rgba(21,31,42,0.6);
}

body.tm-navbar-fixed.tm-header-offset .tm-navbar:not(.tm-navbar-attached) {
    background: #282f33;
    box-shadow: none;
}

/* změna ikony menu */
.tm-icon-menu::after {
    background-color: white;
}
.tm-icon-menu::before {
    background-color: white;
}
[class*='tm-icon-'] {
    position: absolute;
    top: 50%;
    width: 25px;
    height: 3px;
    background-color: white;
}

/* oprava položek v menu aby se nepřekrývaly */

ul.uk-navbar-nav.uk-hidden-small >li {
    display: inline-block;
}

/* Projekt Novomlýnská */

.projekt-novomlynska .uk-text-contrast {
    color: #282f33 !important;
}

.projekt-novomlynska .uk-contrast h3, .uk-contrast h4 {
    color: #282f33 !important;
}

.projekt-novomlynska-small .uk-text-contrast {
    color: #282f33 !important;
}

.projekt-novomlynska-small .uk-contrast h3, .uk-contrast h4 {
    color: #282f33 !important;
}

/*.projekt-novomlynska-small {
    padding-left: 20px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}
*/
.tm-block-texture-1 {
    background-image: none;
}

.o-nas .uk-contrast h1, .uk-contrast h2, .uk-contrast h3, .uk-contrast h4 {
    color: #282f33 !important;
}

/* změna velikosti footeru */

.tm-footer, .tm-padding-around {
    padding: 20px;
}

.o-nas .uk-panel-title {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 36px;
    line-height: 42px;

}

.o-nas {
    padding-left: 100px;
}

/* okraje kolem 4 bodu */

#tm-bottom-b {
    padding: 0px;
}

/* barva písma na úvodu - o projektu */

.projekt-novomlynska .uk-overlay-panel {
    color: #000000;
}

/* okraje mapka úvod */

.uk-block {
    padding-top: 0px;
    padding-bottom: 0px;
}
.uk-block-muted .uk-panel-box:not(.uk-panel-box-primary), .uk-block-muted .uk-panel-box-secondary {
    background-color: #151f2a !important;
    padding: 50px;
}

.uk-panel.uk-panel-box.o-nas {
    background: #ffffff !important;
}

h3.uk-panel-title.uk-margin-bottom-remove {
    color: #ffffff;
    bottom: 100px;
}

.tm-gallery h3 {
    position: relative;
    text-transform: none;
    margin: 20px !important;
}

.uk-width-9-10.uk-width-small-4-5.uk-width-medium-2-3.uk-width-large-1-2.uk-panel {
    width: 80%;
}

.menu {
    padding:50px;
}

.tm-overlay-menu .uk-navbar-nav > li > a {
    height: 50px;
    background: none;
    color: #2c3343;
    font-size: 32px;
    line-height: 50px;
    -webkit-transform: translateZ(0);
    width: 1000px;
}


/* galerie - okraje */
.uk-block-muted .uk-panel-box:not(.uk-panel-box-primary), .uk-block-muted .uk-panel-box-secondary {
    padding-bottom: 0px;
    padding-top: 70px;
}

/* hlavička */
.tm-navbar-fixed.tm-header-offset .tm-navbar:not(.tm-navbar-attached) {
    background: rgba(21,31,42,0.6) !important;
    box-shadow: none;
}

.uk-navbar-toggle {
    font-size: 20px;
    color: #ffffff !important;
    text-decoration: none;
}

.uk-navbar-nav > li > a {
    font-family: inherit;
}

.tm-navbar-content.uk-navbar-content.uk-navbar-center.uk-visible-small {
    background-color: #151f2a;
}

.uk-navbar-toggle.tm-navbar-toggle.uk-visible-small {
    background-color: #151f2a;
}

/* Úvod - galerie */
.tm-gallery h3 {
    font-family: r!important;
}

.uk-grid-width-1-1.uk-grid.uk-grid-match.uk-grid-collapse.uk-text-left.uvod-projekt {
    padding: 28px;
}

.tm-navbar {
    max-height: 95px !important;
}

.uk-block-muted {
    background: #ffffff;
}

.uk-nav-offcanvas>li>a {
    color: #ffffff;
    padding: 10px 15px;
}

/* N - pozadí */

@media (max-width:2000px) {
    .novomlynska {
        background-size: 100% !important;
    }

    .tm-header .uk-grid {
        background-color: #ffffff !important;
    }
}

@media (max-width:1940px) {
    .novomlynska {
        background-size: 100% !important;
    }

    .tm-header .uk-grid {
        background-color: #ffffff !important;
    }
}

@media (max-width:1680px) {
    .novomlynska {
        max-height: 1065px !important;
    }
    .pozadi {
        height: inherit !important;
        margin-top: 10%;
    }
}

@media (max-width:1500px) {
    .novomlynska {
        background-size: 100% !important;
    }

    .tm-header .uk-grid {
        background-color: #ffffff !important;
    }
}

@media (max-width:1366px) {
    .novomlynska {
        background-size: 100% !important;
        max-height: 1065px !important;
    }

    .pozadi {
        height: inherit !important;
        margin-top: -18%;
    }
}

@media screen and (max-width: 1280px), 
screen and (max-height: 1024px) {
    .novomlynska {
        max-height: 1065px !important;
    }
    .pozadi {
        height: inherit !important;
        margin-top: 7%;
    }
}

@media screen and (max-width: 1280px), 
screen and (max-height: 800px) {
    .novomlynska {
        max-height: 1065px !important;
    }
    .pozadi {
        height: inherit !important;
        margin-top: 2%;
    }
}

@media (max-width:1024px) {
    .novomlynska {
        max-height: 900px !important;
    }
    .pozadi {
        height: inherit !important;
        margin-top: -20%;
    }
}

@media (max-width:1005px) {
    .novomlynska {
        background-size: 100% !important;
    }

    .tm-header .uk-grid {
        background-color: #ffffff !important;
    }
}

@media (max-width: 988px) {
    .novomlynska {
        max-height: 600px !important;
    }
    .pozadi {
        height: inherit !important;
        margin-top: -25%;
    }
}

@media (max-width:768px) {
    .sipka{
        top:-150px;
    }
}

@media (max-width: 767px) {
    .tm-navbar {
        display: block;
        background: #151f2a !important;
    }
}

@media (max-width:640px) {
    .pozadi {
        height: inherit !important;
        margin-top: 10%;
    }
    
      .sipka{
        top:-150px !important;
       margin-top: 20px !important;
    margin-bottom: -71px !important;
    }

    .novomlynska {
        background-size: 100% !important;
    }

    .tm-header .uk-grid {
        background-color: #ffffff !important;
    }
    .novomlynska-small {
        height: 150px !important;
        margin-top: -70px !important;
    }
}

@media (max-width:605px) {
    .pozadi {
        height: inherit !important;
        margin-top: 5%;
    }

    .novomlynska {
        background-size: 100% !important;
    }

    .tm-header .uk-grid {
        background-color: #ffffff !important;
    }
    .novomlynska-small {
        height: 150px !important;
        margin-top: -100px !important;
    }
}

@media (max-width: 480px) {
    .novomlynska {
        max-height: 400px !important;
        background-size: 100% !important;
    }
    .pozadi {
        height: inherit!important;
        margin-top: -19%;
    }

    .tm-header .uk-grid {
        background-color: #ffffff !important;
    }
    .novomlynska-small {
        margin-top: -210px !important;
        height: 200px !important;
    }

.home-top-a{
    margin-top:-100px;
}

.sipka{
    
}

   .sipka > img{
        top:-190px !important;
      margin-top: -20px !important;
    }

 }

@media (max-width: 360px) {
    .novomlynska {
        max-height: 400px !important;
        background-size: 100% !important;
        margin-top: 0px !important;
    }
    .pozadi {
        height: inherit!important;
        margin-top: -50% !important;
    }

    .tm-header .uk-grid {
        background-color: #ffffff !important;
    }
    .novomlynska-small {
        margin-top: -240px !important;
        height: 300px !important;
    }
    .uk-sticky-placeholder {
        background: rgba(21,31,42,1) !important;
    }
}


@media (max-width:320px) {
    .novomlynska {
        background-size: 100% !important;
        margin-top: -100px !important;
        max-height: 300px !important;
    }

    .tm-header .uk-grid {
        background-color: #ffffff !important;
    }
    .novomlynska-small {
        margin-top: -250px !important;
        height: 300px !important;
    }
    .pozadi {
        height: inherit!important;
        margin-top: 286% !important;
    }
}

@media (max-width:240px) {
    .novomlynska {
        background-size: 100% !important;
        margin-top: -60px !important;
        max-height: 300px !important;
    }

    .tm-header .uk-grid {
        background-color: #ffffff !important;
    }
    .novomlynska-small {
        margin-top: -360px !important;
        height: 500px !important;
    }
    .pozadi {
        height: inherit!important;
        margin-top: 326% !important;
    }
}

/*konec pozadi */
