/* Grid */

.col-md-1,
.col-md-2,
.col-md-25,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-85,
.col-md-9,
.col-md-10,
.col-md-11, 
.col-md-12 {
    float: left; 
}

.col-md-1 {
    width: 8.33333%; 
}
.col-md-2 {
    width: 16.66667%; 
}
.col-md-25 {
    width: 20%; /* 25% - 1.1% margin from both sides */
}
.col-md-3 {
    width: 25%; /* 25% - 1.1% margin from both sides */
}
.col-md-4 {
    width: 33.33333%; /* 33% - 1.1% margin from both sides */
}
.col-md-5 {
    width: 41.66667%; 
}
.col-md-6 {
    width: 50%; 
}
.col-md-7 {
    width: 58.33333%; 
}
.col-md-8 {
    width: 66.66667%; 
}
.col-md-85 {
    width: 71.5%; 
}
.col-md-9 {
    width: 75%; 
}
.col-md-10 {
    width: 83.33333%; 
}
.col-md-11 {
    width: 91.66667%; 
}
.col-md-12 {
    width: 100%; 
}

@media (max-width:767px) {
    .col-sm-3{
        width: 100%;
    }
    .col-sm-6{
        width: 100%;
    }
    .col-sm-12{
        width: 100%;
    }
}


/* Basics */

body{
    padding: 0;
    margin: 0;
    font-family: Neuzeit Office Pro Regular, Helvetica, Arial, sans-serif; /*   dočasně  */
    font-size: 21px;
    line-height: 26px;
    
}

header{
    font-size: 17px;
    line-height: 25px;
}

footer{
    font-size: 17px;
    line-height: 25px;
}

h1, h2, h3, cite{
    font-size: 39px;
    line-height: 42px;
}

h1, h2, h3, cite{
    font-family: Georgia, 'Cantata One', serif;
    font-weight: bold;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    text-align: center;
    margin: 0;
}

h4, h5, h6{
    /* neuzeit grotesk */
    font-weight: normal;
    text-align: center;
    margin: 0;
}

nav{
    text-align: center;
}

nav, ul:not(#adaptive), ul:not(#adaptive) li{
    font-size: 21px;
    list-style-type: none;
    letter-spacing: -0.2px;
    display: inline;
}


.clearfix{
    clear: both;
}

.center{
    text-align: center;
}

.block{
    padding-right: 10px;
    text-align: justify;
}


/* Btn */
input[type:button]{
    background-color: #915798;
    color: white;
    border-radius: 100px;
}

a.help{
    background-image: url('../img/btn.svg');
    background-repeat: no-repeat;
    background-size: cover;
    width: 245px;
    height: 39px;
    display: block;
    position: absolute;
    margin-top: -65px;
    right: 25px;
    opacity: 0;
    transition: all 0.2s ease;
}
a.help:hover{
    background-image: url('../img/btn_active.svg');
}
a.help.show{
    opacity: 1;
}


/* Href */

a{
    text-decoration: underline;
    transition: color 0.2s ease;
    
}
a:hover{
    text-decoration: none;
    
}

header a, #nase-sluzby a{
    text-decoration: none;
}
header a, #nase-sluzby a{
    color: #915798;
}
header a:hover, #nase-sluzby a:hover, #kontakt a:hover{
    color: #80a1d1;
}

#cms a, #cms3 a{
    color: white;
}



/* Content */

#logo{
    background-image: url('../img/logo.svg');
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    margin: 0 auto;
    transform: translateX(63px);
    width: 343px;
    height: 137px;
}

#cms, #cms2, #cms3{
    background-color: #915798;
    color: white;
    font-size: 16px;
    padding-left: 20px;
    text-align: left;
    transition: all 0.8s ease;
    height: 0px;
    opacity: 0;
}
#cms p, #cms3 p{
    -webkit-font-smoothing: antialiased;
}
#cms p span, #cms3 p span{
    -webkit-font-smoothing: subpixel-antialiased;
}

#cms.active, #cms3.active{
    height: 160px;
    opacity: 1;
}
#cms2.active{
    height: 40px;
    opacity: 0.85;
    text-align: center;
}

#cms p, #cms3 p{
    margin: 0;
    padding: 6px;
}
#cms2 p{
    margin: 0;
    padding: 8px;
}

header{
    padding: 16px;
    padding-top: 18px;
    height: 158px;
}

header #tel{
    font-size: 18px;
    position: absolute;
    right: 20px;
    margin-top: -140px;
}

header #hours{
    font-size: 18px;
    position: absolute;
    right: 20px;
    margin-top: -106px;
}

header #job{
    background-color: #915798;
    border-radius: 100px;
    padding: 6px;
    padding-top: 8px;
    padding-left: 25px;
    padding-right: 25px;
    position: absolute;
    left: 15px;
    font-size: 16px;
    margin-top: -138px;
    color: white;
    transition: all 0.4s ease;
}
header #job:hover{
    background-color: #80a1d1;
}
header #job2{
    background-color: #915798;
    border-radius: 100px;
    padding: 6px;
    padding-top: 8px;
    padding-left: 25px;
    padding-right: 25px;
    position: absolute;
    left: 190px;
    font-size: 16px;
    margin-top: -138px;
    color: white;
    transition: all 0.4s ease;
}
header #job2:hover{
    background-color: #80a1d1;
}
.rounded_button{
    border-radius: 100px;
    margin-left: 10px;
    margin-right: 10px;
    padding: 11px;
    padding-top: 13px;
    padding-left: 25px;
    padding-right: 25px;
    font-size: 16px;
    margin-top: -138px;
    border: 1px solid #9b9b9b;
    color: #9b9b9b !important;
    transition: all 0.4s ease;
}
.rounded_button:hover{
    background-color: #80a1d1;
    border: 1px solid #80a1d1;
    color: #fff !important;
}
.bottom .rounded_button{
    font-size: 12px;
}
.bottom{
    background-color: #ececec;
    width: 100% !important;
    height: 110px;
    line-height: 50px;
    padding-top: 15px;
    float: left;
    width: 100%;
    text-align: center;
}
@-moz-document url-prefix() {
    .bottom{
        min-height: 300px;
    }
}
.bottom a{
    text-decoration: none;
}
header #help{
    background-color: #915798;
    border-radius: 100px;
    padding: 6px;
    padding-top: 8px;
    padding-left: 25px;
    padding-right: 25px;
    position: absolute;
    right: 15px;
    font-size: 16px;
    margin-top: -70px;
    color: white;
    transition: all 0.4s ease;
}
header #help:hover{
    background-color: #80a1d1;
}


nav{
    display: block;
    width: 100%;
    margin: 0 auto;
}

nav ul{
    display: block;
    width: 1100px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

nav a{
    color: #915798;
}

nav a:hover, nav a.active{
    color: #80a1d1;
}

nav ul li{
    padding-left: 97px;
}
nav ul li:first-of-type{
    padding-left: 0;
}
nav.mobile, #mfPreviewBar{
    display: none
}

#slider{
    /* basic */
    background-color: #f0eeed;
    background-image: url('../img/photo_2_basic.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    width: 100%;
    height: 43vw;
    transition: opacity 0.2s ease;
}
@media (min-width:1440px) {
    /* large */
    #slider{
        background-image: url('../img/photo_2_large.jpg');
    }
}
@media (min-width:1921px) {
    /* extra large */
    #slider{
        background-image: url('../img/photo_2_xl.jpg');
    }
}



.content>div{
    width: 1095px;
    margin: 0 auto;
}
#nase-sluzby.content>div{
    width: 100%;
    max-width: 1280px;
}

section{
    padding-top: 65px;
    letter-spacing: -0.2px;
}

section h1, h2, h3{
    padding-bottom: 60px;
    letter-spacing: 0;
}

#nase-sluzby{
    background-color: rgba(157, 102, 165, 0.16);;
    color: #9e67a5;
    padding-bottom: 20px;
}

#nas-tym{
    background-image: url("../img/portret.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% -130px;
    background-color: #634569;
    color: white;
    text-align: right;
    height: 100vh;
    height: calc(100vh);
    overflow: hidden;
    padding: 0;
}
#nas-tym>div#slide>div{
    transform: translateY(45vh);
    cursor: pointer;
}
#nas-tym>div>div>p{
    text-indent: 60px;
    color: #eac1ef;
    font-size: 24px;
    margin: 0;
    margin-right: 10px;
    margin-top: 20px;
}
#nas-tym>div>div i.btn-more{
    display: block;
    background-image: url("../img/more.svg");
    background-repeat: no-repeat;
    background-size: contain;
    width: 19px;
    height: 32px;
    margin: 0 auto;
    margin-bottom: 60px;
    transition: all 0.5s ease;
    cursor: pointer;
    position: absolute;
    right: 40px;
    margin-top: -75px;
}
#nas-tym>div>div:hover i.btn-more{
    transform: translateX(10px);
    opacity: 0.5;
}
#nas-tym #slide{
    float: right;
    display: none;
}
#nas-tym #slide>div{
    padding-right: 80px;
}
#nas-tym #slide.active{
    display: block;
}
#nas-tym #bio{
    background-color: #fff;
    color: black;
    width: 100%;
    height: 100vh;
    padding: 0;
    margin-top: 0;
    text-align: left;
    transform: translateX(110vw);
    transition: transform 1.4s cubic-bezier(.34,1,.64,.98);
}
#nas-tym #bio h4{
    color: #eac1ef;
    text-align: left;
}
#nas-tym #bio.active{
    transform: translateX(0px);
}
#nas-tym #bio{
    padding-top: 65px;
}

.tmave_fialova{
    background-color: #634569;
}

.bila{
    background-color: white;
}

#cely-tym {
    height: 78px;
    padding-top: 0;
    font-size: 19px;
    line-height: 24px;
    cursor: pointer;
}

#cely-tym .plus{
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
}

#cely-tym>div {
    width: 100%;
}

#cely-tym p{
    margin: 0;
    margin-block-end: 0;
    color: #fff;
    height: 11px;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    width: 100%;
}

#cely-tym i.btn-plus { 
    display: inline-block;
    background-image: url("../img/plus.svg");
    background-repeat: no-repeat;
    background-size: contain;
    width: 32px;
    height: 32px;
    transition: transform 0.1s ease;
    margin: 0;
    position: absolute;
    right: 20px;
    margin-top: -6px;
}

#cely-tym div.active i.btn-plus{
    transform: rotate(-45deg);
}

#poznejte {
    padding-top: 45px;
    padding-bottom: 30px;
    font-size: 18px;
    line-height: 23px;
    color: #141414;
}
#poznejte h2 {
    color: #805986;
}

#poznejte img{
    width: calc(100% - 15px);

}
#poznejte div.active i.btn-plus{
    transform: rotate(-45deg);
}

#poznejte p{
    padding-right: 40px;
    margin-bottom: 30px;
    margin-top: 0;
    text-align: justify;
    -webkit-font-smoothing: antialiased;
}
@media (max-width:1180px) {
    #poznejte {
        padding-top: 75px;
    }
    #cely-tym i.btn-plus{
        display: block;
        margin: 0 auto;
        margin-top: 15px;
        text-align: center;
        position: initial;
    }
    #cely-tym{
        height: 130px;
    }
 
    #cely-tym .plus{
        padding-top: 10px;
    }  
}
@media (max-width:768px) {
    #kontakt>#adresa>div>a:first-of-type, #kontakt>#adresa>div>a:nth-of-type(2){
        margin: 0 auto;
        display: block;
        text-align: center;
    }
    #cms, #cms3{
        font-size: 14px;
    }
    #cely-tym{
        height: 150px;
        padding: 0px 20px;
    }
    #poznejte p br{
        display: none;
    }
    #poznejte .col-sm-12{
        width: 95%;
        padding-left: 20px;
    }
}
@media (max-width:580px) {
    #cely-tym p{
        font-size: 11px;
    }
 
    #cely-tym .plus{
        padding-top: 0;
    }
}
@media (max-width:330px) {
    #cely-tym{
        font-size: 13px;
    }

}
#poznejte .jmena-lekaru{
    color: #805986;
    margin-bottom: 0;
}

#nase-sluzby>div>div{
    cursor: pointer;
}
#nase-sluzby>div>div p, #objednani #download{
    display: none;
    margin: 0;
    padding-left: 10px;
    padding-right: 10px;
}
#objednani #download{
    padding-left: 0;
}

#nase-sluzby>div>div>i.btn-plus { 
    display: block;
    background-image: url("../img/plus.svg");
    background-repeat: no-repeat;
    background-size: contain;
    width: 32px;
    height: 32px;
    transition: transform 0.1s ease;
    margin: 0 auto;
    margin-top: 6px;
    margin-bottom: 60px;
}
#nase-sluzby>div>div.active>i.btn-plus{
    transform: rotate(-45deg);
}

#nas-tym.hide>div>div>i.btn-plus { 
    display: block;
    background-image: url("../img/plus_pink.svg");
    background-repeat: no-repeat;
    background-size: contain;
    cursor: pointer;
    width: 32px;
    height: 32px;
    transition: transform 0.9s ease 0.6s;
    margin: 0 auto;
    margin-top: 6px;
    margin-bottom: 60px;
    position: absolute;
    right: 60px;
    transform: rotate(0deg);
}
#nas-tym.hide>div>div>i.btn-plus{
    transform: rotate(-45deg);
}

.mobile-only{
    display: none;
}

#objednani{
    background-color: #805986;
    padding-bottom: 55px;
    color: white;
    line-height: 25px;
    -webkit-font-smoothing: antialiased;
}
#objednani h2{
    padding-bottom: 45px;
}
#objednani i.nmb{
    border: solid 2px #eac1ef;
    border-radius: 100px;
    width: 51px;
    height: 80px;
    display: block;
    font-style: normal;
    font-size: 40px;
    line-height: 85px;
    margin: 0 auto;
    margin-bottom: 40px;
    padding-left: 29px;
    color: #eac1ef;
}
#objednani a{
    color: #eac1ef;
    text-decoration: none;
}

#pomahame{
    background-color: #ececec;
    color: #9e67a5;

}
#pomahame>div>div p{
    padding-right: 30px;
}
#pomahame>div>div img{
    width: 90%;
    margin-left: 10%;
}
#pomahame .small{
    width: auto;
    margin-top: 20px;
    margin-right: 20px;
    margin-left: 0;
}
#reference{
    background-color: #6b527a;
    color: white;
    padding-bottom: 30px;
    -webkit-font-smoothing: antialiased;
}
#reference h3{
    color: #cccccc;
}
#reference p{
    margin-top: 30px;
    padding-right: 10%;
}
#reference i.star{
    display: block;
    background-image: url("../img/star.svg");
    background-repeat: no-repeat;
    background-size: contain;
    width: 21px;
    height: 21px;
    float: left;
    margin-left: 4px;
}
#reference i.star-empty{
    display: block;
    background-image: url("../img/star_empty.svg");
    background-repeat: no-repeat;
    background-size: contain;
    width: 21px;
    height: 21px;
    float: left;
    margin-left: 4px;
}
#kontakt{
    padding-top: 0;
    color: black;
    font-size: 19px;
    line-height: 27px;
}

#kontakt p{
    margin: 0;
}

#kontakt a{
    text-decoration: none;
    color: #9e67a5;
}
#kontakt a:hover{
    text-decoration: none;
    color: #80a1d1;
}

#kontakt h3{
    color: #9e67a5;
    font-size: 29px;
    text-align: left;
    padding-bottom: 30px;
}
#kontakt p.day{
    width: 50px;
    float: left;
    margin: 0;
}
#kontakt .move-right>*{
    padding-left: 35px;
}

#map{
    left:0;
    top:0;
    height:40vh;
    width:100%;
    margin-bottom: 50px;
}
#kontakt .footer{
    padding-top: 50px;
    padding-bottom: 15px;
    color: #404040;
}
#kontakt .footer>img{
    margin-top: 10px;
    margin-left: 40px;
}

#kontakt #copy{
    width: 300px;
    height: 115px;
    position: absolute;
    top: 37px;
    right: 28px;
    text-align: right;
    color: #5d527a;
    line-height: 0;
    float: right;
    font-size: 13px;
    position: absolute;
    right: 0;
    margin-top: -101px;
}
#cop{
    float: right;
    font-size: 14px;
    position: absolute;
    right: 45px;
    font-size: 13px;
    color: #9e67a5;
}
#adresa{
    color: #404040;
}
#kontakt .important{
    font-family: Georgia, 'Cantata One', serif;
    font-size: 20px;
    line-height: 32px;
}


footer h4{
    text-align: left;
}
@media (min-width:1681px) {
    #nas-tym{
        background-position: 50% -180px;
    }
}
@media (min-width:1920px) {
    #nas-tym{
        background-position: 50% -190px;
    }
    #nas-tym>div#slide>div {
        transform: translateY(50vh);
    }
}
@media (min-width:2200px) {
    #nas-tym{
        background-position: 50% -240px;
    }
    #nas-tym>div#slide>div {
        transform: translateY(50vh);
    }
}


 
    
/* Content Responsive */
@media (max-width:1230px) {
    #nas-tym {
        height: 45vw;
    }
}
@media (max-width:1125px) {
    #bio .center{
        width: 10%;
    }
    .content>div:not(.bottom){
        width: auto !important;
        margin: 0;
    }
    nav ul{
        width: 100%;
    }
    nav ul li{
        padding-left: 6%;
    }
    
    #nas-tym {
        background-size: 100%;
        background-position: 50% 0px;
        height: 55vw;
    }
    .block{
        padding-left: 50px;
        padding-top: 0px;
    }
    #cop{
        float: right;
        font-size: 14px;
        position: static;
        margin-right: 0;
        font-size: 13px;
        text-align: center;
        width: 100%;
    }
    header #job2{
        left: 15px;
        margin-top: -88px;
    }
}
@media (max-width:1024px) {
    #adresa, section{
        padding-left: 20px;
        padding-right: 20px;
    }
    
    #cms.active, #cms3.active{
        height: 148px;
        opacity: 1;
    }
}
@media (max-width:1000px) {
    #nas-tym>div#slide>div{
        transform: translateY(48vh);
    }
    header #job{
        margin-top: -190px;
    }
    header #job2{
        left: 190px;
        margin-top: -190px;
    }
    header{
        margin-top: 50px;
    }   
    section#pomahame>div>div{
        width: 100% !important;
    }
    section#pomahame>div>div img{
        margin-bottom: 25px;
    }
    nav ul li{
        padding-left: 2%;
    }
    #nase-sluzby>div>div>p{
        padding-left: 40px;
        padding-right: 40px;
        margin-top: 16px;
    }
    #nas-tym #bio>div{
        padding-left: 40px;
        padding-right: 40px;
    }
    #nas-tym {
        background-size: cover;
        background-position: 50% -70px;
        height: 55vw;
    }
    
    #nas-tym #bio>div>div{
        width: 80%;
        font-size: 16px;
        line-height: 20px;
        height: 88vw;
        overflow: scroll;
    }
    #nas-tym #bio>div>div:first-of-type br{
        display: none;
    }
    #nas-tym>div>div>i.btn-plus{
        right: 30px;
        top: 20px;
    }
    #nas-tym.hide>div>div>i.btn-plus{
        right: 38px;
    }
    #objednani>div>div>p{
        padding-left: 30px;
        padding-right: 30px;
    }
    #pomahame>div>div p{
        padding-left: 30px;
        padding-right: 30px;
    }
    #pomahame>div>div img{
        transform: translateY(10px);
        width: 100%;
        margin-left: 0;
    }
    #reference p{
        padding-left: 0px;
        padding-right: 60px;
    }
    #reference ul{
        margin-left: 30px;
    }
    #kontakt .footer{
        margin-top: 30px;
    }
    .block{
        padding-left: 0px;
        padding-top: 0px;
    }
    
}



@media (max-width:767px) {
    .desktop-only{
        display: none;
    }
    header #job{
        margin-top: -55px;
        font-size: 13px;
        padding: 4px;
        padding-left: 12px;
        padding-right: 12px;
        left: 10px;
    }
    header #job2{
        margin-top: -55px;
        font-size: 13px;
        padding: 4px;
        padding-left: 12px;
        padding-right: 12px;
        right: 10px;
        left:auto;
    }
    #nas-tym #bio>div>div{
        width: 80%;
        font-size: 16px;
        line-height: 20px;
        height: 50vw;
        overflow: scroll;
    }
    #nas-tym {
        background-position: 50% -50px;
        height: 80vw;
    }
    #adresa, section{
        padding-left: 0;
        padding-right: 0;
    }
    #kontakt .move-right>*{
        padding-right: 25px;
    }
    .help, #help, header #hours, a.help.show{
        display: none; !important;
    }
    #cms2.active{
        padding-left: 0;
    }
    nav, ul:not(#adaptive), ul:not(#adaptive) li{
        display: block;
    }
    ul.lSPager, ul.lSPager li{
        display: inline !important;
    }
     
    #overlay{
        background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=0 ); /* IE6-9 */
        height: 300px;
        display: none;
        opacity: 0;
    }
    #overlay.active{
        display: block;
        opacity: 0.5;
    }
    #slider{
        margin-top: 30px;
    }
    
    .content>div{
        width: 100% !important;
        margin: 0;
    }
    #logo{
        display: none;
    }
    nav{
        display: none;
    }
    header{
        background-image: url('../img/logo_mobile.svg');
        background-repeat: no-repeat;
        background-size: 35%;
        background-position: center 20px;
    }
    nav.mobile{
        display: block;
        margin-top: 130px;
        position: absolute;
        left: 0;
        
    }
    nav.mobile ul{
        background-color: white;
        padding: 22px;
        padding-bottom: 8px;
        width: auto;
        height: 40px;
        text-align: left;
        transition: height 1s ease;
        overflow: hidden;
    }
    nav.mobile ul.show{
        height: 280px;
    }
    nav.mobile ul li{
        padding: 0;
        display: none;
        line-height: 40px;
    }
    nav.mobile ul.show li, nav.mobile ul li.open-menu{
        display: block;
    }
    nav.mobile ul li.open-menu i{
        background-image: url('../img/close.svg');
        background-repeat: no-repeat;
        background-size: 20px 20px;
        transition: transform 0.3s ease;
        display: block;
        width: 20px;
        height: 20px;
        float: right;
        margin-top: 6px;
    }
    nav.mobile ul.show li.open-menu i{
        transform: rotate(45deg);
    }
    nav.mobile ul li.open-menu a{
        color: #80a1d1 !important;
    }
    .mobile-only{
        display: block;
    }
    .mobile-only br{
        display: block !important;
    }
    a.help{
        float: none;
        margin: 0px auto;
    }
    
    #cms.active{
        height: 65px;
    }
    #nas-tym{
        background-color: #644469;
    }
    
    #nas-tym #slide{
        padding-right: 0;
        width: 100% !important;
    }
    #nas-tym #slide>div{
        padding-left: 20px;
        max-width: 80%;
        margin: 0 auto;
        text-align: left;
    }
    #nas-tym>div>div>p{
        text-indent: 0px;
    }
    #nas-tym #bio{
        height: 110vh;
    }
    #objednani p:not(#download)>br{
        display: none;
    }
    #objednani #download{
        padding-left: 30px;
    }
    #kontakt p{
        padding-left: 20px;
    }
    #reference{
        min-height: 400px;
    }
    #kontakt h3{
        padding-top: 40px;
        padding-left: 40px;
    }
    
    #kontakt>div{
        padding-left: 0px;
    }
    #kontakt div p{
        padding-left: 40px;
        
    }
    #nase-sluzby>div>div br{
        display: none;
    }
    #nas-tym>div#slide>div{
        transform: translateY(49vw);
    }
    #nas-tym{
        background-position: center top; /* change in case of different image */
        background-size: 130%;
        text-align: center;
        padding-right: 0px;
        height: 70vw;
        
    }
    #nas-tym cite{
        font-size: 22px;
        line-height: 24px;
    }
    .rounded_button{
        width: 100%;
        margin: 0;
        border: none;
        font-size: 14px !important;
        display: inline-block;
        padding: 0;
        line-height: 50px;
        
    }
    .rounded_button:hover{
        background-color: transparent;
        width: 100%;
        margin: 0;
        border: none !important;
        font-size: 14px !important;
        display: inline-block;
        padding: 0;
        line-height: 50px;
        color: #9b9b9b !important;
        
    }
    #kontakt .footer>img{
        margin-left: 10px;
        margin-right: 10px;
    }
    .bottom{
        background-color: #ececec;
        width: 100% !important;
        height: 100px;
        line-height: 50px;
        float: left;
        width: 100%;
        text-align: center;
    }
}

@media(max-width:1300px){
    .rounded_button{
        width: 100%;
        margin: 0;
        border: none;
        font-size: 14px !important;
        display: inline-block;
        padding: 0;
        line-height: 50px;
        
    }
    .rounded_button:hover{
        background-color: transparent;
        width: 100%;
        margin: 0;
        border: none !important;
        font-size: 14px !important;
        display: inline-block;
        padding: 0;
        line-height: 50px;
        color: #9b9b9b !important;
        
    }
}

@media (max-width:520px) {
    #pomahame .small{
        width: auto;
        height: 60px;
    }
    section h1, h2, h3{
        padding-bottom: 60px;
        padding-left: 20px;
        padding-right: 20px;
        letter-spacing: 0;
    }
    #nas-tym #bio>div>div{
        width: 80%;
        font-size: 16px;
        line-height: 20px;
        height: 80vw;
        overflow: scroll;
    }
    #nas-tym{
        background-position: center top; /* change in case of different image */
        background-size: 130%;
        text-align: center;
        padding-right: 0px;
        height: 120vw;
        
    }
    #nas-tym>div#slide>div{
        background-color: #644469;
        margin-top: 50px;
        padding-top: 20px;
        padding-bottom: 60px;
    }
    #nas-tym>div>div i.btn-more{
        margin-top: -100px;
    }
    
    #nas-tym>div#slide>div {
        transform: translateY(70vw);
    }
    #nas-tym cite{
        font-size: 16px;
        line-height: 19px;
    }
    #nas-tym>div>div>p{
        font-size: 18px !important;
    }
    #nas-tym #slide>div.active{
        padding-right: 15px !important;
    }
    #nas-tym>div>div>p{
        font-size: 15px;
        padding-top: 0px;
    }
    header{
        background-image: url('../img/logo_mobile.svg');
        background-repeat: no-repeat;
        background-size: 65%;
        background-position: center 20px;
    }
    #cms.active{
        height: 244px;
    }
}
@media (max-width:340px) {
    header{
        background-image: url('../img/logo_mobile.svg');
        background-repeat: no-repeat;
        background-size: 70%;
        background-position: center 20px;
    }
    #cms.active{
        height: 244px;
    }
    header #job{
        margin-top: -55px;
        font-size: 13px;
        padding: 4px;
        padding-left: 4px;
        padding-right: 4px;
        left: 10px;
    }
    header #job2{
        margin-top: -55px;
        font-size: 13px;
        padding: 4px;
        padding-left: 4px;
        padding-right: 4px;
        right: 10px;
        left:auto;
    }
    #cms br, #cms3 br{
        display: none;
    }
}



/* David Jindra, 2018 */
/* cojeblob.cz   whatisblob.com */

