.boxy-top {
    margin: 0 auto;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
	position: relative;
}

.boxy-top h1 {
    text-align: center;
    font-size: 28px;
    margin: 25px 0 5px 0;
    font-weight: 500;
}

.boxy-top .adresa {
    color: #b00000;
    display: inline-block;
    margin: 0 5px;
}

.boxy-top .adresa:nth-of-type(2) {
    margin: 0 0 0 15px;
}

.kratySEO br {
    display: none;
}

.kratySEO a,
#bottom-popis a {
    text-decoration: underline;
}

#boxy .col,
#boxy .links,
#users {
    position: relative;
    min-height: 1px;
}

#boxy .links-cont:before,
#boxy .links-cont:after,
#cameras .temperature:before,
#cameras .temperature:after,
#helpful .money:before,
#helpful .money:after  {
    display: table;
    content: " ";
}

#content:after,
#boxy:after,
#boxy .links-cont:after,
#cameras .temperature:after,
#helpful .money:after {
    clear: both;
}

#boxy {
    margin-top: 30px;
    position: relative;
}

#boxy .col {
    margin-right: 14px;
    margin-bottom: 40px;
    width: 50%;
    width: calc(50% - 14px);
    box-sizing: border-box;
}

#boxy .col-rema {
    margin-right: 14px;
    margin-bottom: 40px;
    margin-top: -10px;
    width: 50%;
    width: calc(50% - 14px);
    box-sizing: border-box;
    display: block;
    /*overflow: visible;*/
    overflow: hidden;
    font-size: 9px;
    position: relative;
    background: white;
    height: 172px;
}

#boxy .box-rema {
    display: table;
    margin: 0 auto;
    width: 100%;
    /*position: relative;
    top: -10px;*/

}

#boxy .box-rema img {
    margin: 0 auto;
}

@media (min-width: 790px) { .box-rema { height: 160px; } }

#boxy .col-rema img {
    display: block;
    /*min-height: 60px;*/
    width: auto;
}

#boxy .rema-our {
    height: 72px;
    background: none;
}

#boxy .rema-our .box-rema {
    height: 60px;
    width: auto;

}

#boxy .rema-our .reklama-popisek {
    width: 350px;
    margin: 0 auto;
}

#boxy .boxright {
    margin-right: 0;
    margin-left: 14px;
    position: absolute;
    left: 50%;
}

#boxy .col-title {
    position: relative;
    height: 36px;
}

#boxy .col-ico {
    position: absolute;
    left: 10px;
    top: -16px;
    border-radius: 6px;
    width: 36px;
    height: 36px
}

#boxy .col-title-text {
    position: relative;
    padding: 8px 2px 2px 60px;
    font: 14px Verdana;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#funicular .link-box {
    height: 50px;
    display: table-cell;
    vertical-align: middle;
}

#cykling .links a,
#pruvodce .links a,
#routes .links a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#cameras .col-title a,
#snow .col-title a,
#cameras .col-title-text a,
#snow .col-title-text a {
    font: 11px Verdana;
    text-decoration: underline;
    line-height: 16px;
    position: absolute;
    right: 3px;
    top: -16px;
}

#contest .col-title-text {
    padding: 8px 2px 2px 60px;
}

#boxy .col-cont {
    margin: 0;
    border: 0;
    width: 100%;
    min-height: 40px;
}

#others .col-cont {
    min-height: 92px;
}

#boxy .col-footer {
    width: 100%;
    font-size: 13px;
    font-weight: 700;
    line-height: 25px;
    min-height: 10px;
}

#others .col-footer {
    min-height: 1px;
}

#boxy .col-footer a {
    padding: 0 0 0 10px;
    display: block;
}

#boxy .col-footer a:hover {
    text-decoration: none;
}

#users .col-footer a {
    text-align: right;
    padding-right: 10px;
    box-sizing: border-box;
}

#boxy .addhotel {
    text-align: right;
    height: 20px
}
#boxy .addhotel a {
    font-size: 12px;
    text-align: right;
    font-weight: 700;
    text-decoration: underline;
    position: absolute;
    right: 5px;
    line-height: 20px;
}
/* styling the links */
#boxy .links-cont {
    margin: 0;
    padding-top: 10px;
}

#koupani .links-cont,
#funicular .links-cont {
    padding-top: 0;
}

#boxy .links {
    width: 100%;
    text-decoration: none;
}

#boxy .links a {
    display: block;
    padding: 0 10px 0 20px;
    overflow: hidden;
}

#boxy .links a:hover {
    text-decoration: none;
}

#koupani .vysvetlivky:before,
#mostwanted .links-main a:before,
#accommodation .links a:before,
#routes .links a:before,
#guide .links a:before,
#cykling .links a:before,
#users .links a:before,
#others .links a:before,
#car-routes .links a:before,
#helpful .links a:before,
#forum .links a:before,
#funicular .links a:before {
    content: "»"; /*insert doble arrow and blank space before every "a" tag*/
    position: absolute;
    left: 9px;
}

#loginbox .col-cont {
    min-height: 202px;
}


#loginbox .description {
    padding: 10px 5px 5px 20px;
    font-size: 13px;
    line-height: 22px;
}

#loginbox .login-desc {
    height: 138px;
    padding: 0 10px;
    display: table;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    box-sizing: border-box;
}

#loginbox .links-title img {
    position: relative;
    margin: -5px 5px -5px 0;
    vertical-align: middle;
    height: 24px;
}

#boxy .email-box {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    text-align: center;
}

#boxy .barva {
    text-overflow: ellipsis;
    overflow: hidden;
    position: absolute;
    margin: auto;
    width: 100%;
}

#loginbox .login-desc-text,
#loginbox .login-desc-img {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

#loginbox .login-desc-img {
    min-width: 120px;
    height: 120px;
    padding-top: 5px;
}

#loginbox .login-desc-img img {
    max-width: 120px;
    max-height: 120px;
    display: block;
    margin: 0 auto;
}
#loginbox .upozorneni {
    background: #FFDF00;
    font-weight: normal;
    font-size: 13px;
    padding: 2px 0;
    text-align: center;
    border-bottom: 1px solid #DDD;
}
#loginbox .button-part {
    display: table;
    box-sizing: border-box;
    width: 100%;
    padding: 15px 0;
    table-layout: fixed;
    border-collapse: collapse;
    background: #EEEEEE;
}

#loginbox .button {
    box-sizing: border-box;
    height: 45px;
    display: table-cell;
    width: 40%;
    text-align: center;
    text-decoration: none;
    outline: none;
    cursor: pointer;
    overflow: hidden;
    color: white;
    vertical-align: middle;
    border: 15px #EEEEEE solid;
}

#loginbox .button-2 {
    box-sizing: border-box;
    display: block;
    max-width: 250px;
    text-align: center;
    text-decoration: none;
    outline: none;
    cursor: pointer;
    overflow: hidden;
    color: white;
    vertical-align: middle;
    border: 5px white solid;
    padding: 3px 5px;
    margin: 0 auto;
}

#loginbox a:hover {
    opacity: 1.0;
}

#loginbox .seznam:before {
    content: "•"; /*insert point and blank space before every "a" tag*/
    position: absolute;
    left: 9px;
}

#loginbox .seznam-host {
    height: 44px;
}

#mostwanted .links-cont {
    padding-top: 10px;
    height: 160px;
    overflow-y: auto;
    box-sizing: border-box;
}

#mostwanted .links-main {
    margin-top: 0;
}

#mostwanted .links-second {
    margin-left: 22px;
    color: #666;
}

#mostwanted .links-second a {
    display: inline-block;
    vertical-align: bottom;
    color: #666;
    padding: 0;
}

/* ToDo kvuli presnosti vypoctu to bude potreba dat asi i do boxu koupani. */
/* Vyska radku je urcovana vyskou toho co je vevnitr, tedy text a ikonky. To v mojem prohlizeci vychazi na 26.8px
    Abychom odbourali nepresnost je radek nastaven na tvrdo na 27px a s tim muzememe pocitat pri vypoctech
*/
#cameras .links tr {
    height: 27px;
}

#koupani .links td img,
#cameras .links td img {
    height: 20px;
    width: 20px;
}

#cameras .links td:last-child {
    width: auto;
}

#boxy .links-title {
    padding: 5px 10px;
    font-weight: 700;
}

#loginbox .links-title-2 {
    padding: 5px 10px;
    font-weight: 700;
    text-align: center;
    border-bottom: 1px solid #DDD;
}

/* cameras links style */
#cameras .links a {
    padding: 0;
}

#cameras table {
    border-collapse: collapse;
}

#cameras td:first-of-type {
    padding-left: 5px;
    width: 24px;
}
#cameras td:nth-of-type(2) {
    width: 24px;
}

#cameras td {
    text-align: center;
}

#cameras td:last-of-type {
    text-align: left;
}

#cameras .links a {
    display: block;
    padding: 0;
    line-height: 20px;
}

#cameras .temperature p {
    padding: 0 10px;
    margin: 0;
}

#helpful .money {
    text-align: center;
}

#forum table {
    text-align: left;
    border-spacing: 2px;
    padding: 0;
    width: 98%;
    margin: 0 auto;
}

#forum td a {
    width: 100%;
    display: block;
}

#forum td a:hover {
    text-decoration: none;
}

#forum .subject {
    width: 50%;
}

#forum .date,
#forum .author {
    width: 25%;
}

#cameras hr,
#helpful hr {
    margin: 0 auto;
    border: 0;
    height: 1px;
    width: 97%;
}

#helpful hr {
    margin-bottom: 8px;
}

#cameras span {
    float: right;
    padding: 0;
    margin: 0;
}

#region-map .col-cont a {
    display: block;
    padding: 10px 5px;
}

#region-map .col-cont img {
    max-height: 150px;
    margin: 0 auto;
    display: block;
}

#aktualita .description,
#contest .description,
#funicular .description,
#guide .description,
#users .description {
    font-size: 13px;
    line-height: 18px;
    padding: 0 5px 0 10px;
}

#aktualita .description {
    padding: 10px 10px 0 10px;
    height: 67px;
    overflow-y: auto;
    box-sizing: border-box;
}

#place .links-title a {
    text-decoration: underline;
}

#place .links-title a:hover {
    text-decoration: none;
}

#guide .description,
#place .description {
    padding: 0 10px 0 10px;
    box-sizing: border-box;
    overflow: hidden;
    display:  block;
}

#place .lines-4 {
    height: calc(4 * 25px)
}
#place .lines-3 {
    height: calc(3 * 25px)
}
#place .lines-2 {
    height: calc(2 * 25px)
}


#place .description:after {
    content: "";
    text-align: right;
    position: absolute;
    bottom: 36px;
    right: 0;
    width: 40%;
    height: 25px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 50%);
}

#guide .description {
    position: relative;
}

#users .description {
    padding: 0;
    display: block;
    width: 100%;
    padding-bottom: 3px;
}

#users .photo,
#users .our-users {
    display: table;
    width: 100%;
    vertical-align: middle;
    padding: 0 10px;
    box-sizing: border-box;
    table-layout: fixed;
}

#users .photo img,
#users .our-users img {
    border: 1px solid black;
}

#users .our-users a {
    display: block;
}

#users .photo a,
#users .our-users-cell {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

#users .our-users-cell:first-of-type {
    width: 120px;
}

#users .our-users-cell {
    vertical-align: top;
    padding: 0 5px;
}

@media screen and (max-width: 960px){
    #users .photo a:nth-of-type(6),
    #users .our-users-cell:nth-of-type(7) {
        display: none;
    }
}
@media screen and (max-width: 830px){
    #users .photo a:nth-of-type(5),
    #users .our-users-cell:nth-of-type(6) {
        display: none;
    }
}
@media screen and (max-width: 640px){
    #users .photo a:nth-of-type(4),
    #users .our-users-cell:nth-of-type(5) {
        display: none;
    }
}
@media screen and (max-width: 490px){
    #users .our-users-cell:nth-of-type(4) {
        display: none;
    }
    #users .photo a:nth-of-type(1),
    #users .photo a:nth-of-type(2),
    #users .photo a:nth-of-type(3),
    #users .photo a:nth-of-type(4){
        display: inline-block;
        width: 49%;
    }
    #users .photo a:nth-of-type(1),
    #users .photo a:nth-of-type(2){
        padding-bottom: 10px;
    }
    #users .photo{
        display: block;
        text-align: center;
    }
}
@media screen and (max-width: 350px){
    #users .photo a:nth-of-type(3),
    #users .photo a:nth-of-type(4),
    #users .our-users-cell:nth-of-type(3) {
        display: none;
    }
    #users .photo a:nth-of-type(1),
    #users .photo a:nth-of-type(2){
        width: 100%;
    }
    #users .photo a:nth-of-type(2){
        padding-bottom: 0;
    }
    #users .our-users-cell:first-of-type {
        width: auto;
    }
}
#contest .description {
    padding: 5px 10px 0 10px;
    min-height:	55px;
    display: table;
}

#contest .description img {
    width: 86px;
    height: 35px;
    border: 0;
    padding-right: 5px;
    padding-top: 8px;
    padding-bottom: 8px;
}
#contest .description .text {
    display: table-cell;
    vertical-align: middle;
}
#contest .description .pics {
    display: table-cell;
    vertical-align: middle;
}

#snow table {
    border-collapse: collapse;
    border: 0;
    width: 100%;
    text-align: center;
    vertical-align: middle;
}

#snow th > img {
    height: 25px;
    width: 25px;
}

#snow tr > th {
    height: 31px;
}

#snow .col-title::after {
    content:"";
    display: block;
    width: 1px;
    height: 31px;
    position: absolute;
    right: 0;
    top: 36px;
}

#snow td > img {
    height: 20px;
    width: 20px;
}


#snow tr > td {
    width: 30px;
}

#snow tr > th,
#snow tr > td {
    line-height: 20px;
    width: 8.695%;
    text-align: center;
    padding: 0;
    white-space: nowrap;
}

#snow tr > td:first-child {
    width: 47.85%;
    text-align: left;
    padding: 0 0 0 5px;
    white-space: normal;
}

#koupani .koupani-box {
    width: 100%;
    border-spacing: 0;
    border-bottom: 1px solid #e0e0e0;
}

#koupani .koupani-box tr:nth-of-type(odd) {
    background: #f0f0f0;
}

#koupani .koupani-box a:hover {
    background: none !important;
    /*color: #b00000;*/
    text-decoration: underline;
}

#koupani td {
    /*border-bottom: 1px solid #e0e0e0;*/
    padding: 0;
    vertical-align: middle;
}

#koupani td:first-child .koupani-areal,
#koupani td:first-child a {
    padding: 4px 10px 3px;
    font-size: 13px;
}

#koupani td:last-child img {
    margin: 0 20px;
    width: 18px;
    height: 18px;
    display: block;
}

#koupani .vysvetlivky {
    font-size: 12px;
    font-weight: 900;
    padding-top: 7px !important;
    padding-bottom: 4px !important;
    margin-bottom: 3px;
}

#koupani .box-cont {
    width: 90%;
    border: 1px solid black;
    background: white;
    position: absolute;
    /*bottom: 0;*/
    left: 10px;
    font-size: 12px;
    padding: 5px;
    z-index: 2;
}

#koupani .box-cont img {
    width: 15px;
    height: 15px;
    bottom: 0;
    margin: 2px 10px 2px 0;
    vertical-align: top;
    display: inline-block;
}

#koupani .box-cont .popis {
    width: calc(100% - 25px);
    display: inline-block;
    margin: 1px 0 3px 0;
}

#users {
    width: 100%;
    margin-bottom: 40px;
}

/*float some elements to left or right*/
#boxy .left {
    float: left;
}

#boxy .right {
    float: right;
}

/* on how many lines to display text*/
#guide .txt-ln-2 {height: calc(2 * 18px);}
#guide .txt-ln-3 {height: calc(3 * 18px);}
#guide .txt-ln-4 {height: calc(4 * 18px);}
#guide .txt-ln-5 {height: calc(5 * 18px);}

#forum .txt-ln-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    max-height: 18px;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

#cameras .half,
#guide .half,
#others .half {
    width: 50%;
}

/* add some space between some elements */
.spacing-up {
    margin-top: 8px;
}

.spacing-down {
    margin-bottom: 8px;
}

/* text sizes and line height */
.ln-20-txt-13 {
    font-size: 13px;
    line-height: 20px;
}

.ln-25-txt-14 {
    font-size: 14px;
    line-height: 25px;
}

.ln-18-txt-13 {
    font-size: 13px;
    line-height: 18px;
}

.ln-18-txt-12 {
    font-size: 12px;
    line-height: 18px;
}

#bottom-popis {
    text-align: justify;
    margin-bottom: 40px;
    line-height: 1.5;
}

#bottom-special {
    margin-bottom: 40px;
    text-align: center;
}

#bottom-special .bottom-special-nadpis {
    font-weight: 900;
}

#bottom-special .bottom-special-links a:first-of-type {
    font-weight: 900;
}

#bottom-special .bottom-special-links {

}

#bottom-hory {
    margin-bottom: 20px;
    text-align: center;
}

#bottom-hory .bottom-hory-nadpis {
    font-weight: 900;
}

#bottom-hory .bottom-hory-links {

}

#bottom-hory .bottom-hory-links a {

}

#bottom-hory .bottom-hory-footer {

}

#bottom-hory .bottom-hory-footer a {
    text-decoration: underline;
}

@media screen and (max-width: 1000px) {
    #boxy {
        width: 100%;
    }

    #boxy .col {
        width: calc(50% - 14px);
        /*margin-left: 1%;*/
        /*margin-right: 1%;*/
    }

    #users {
        /*width: auto;*/
        /*margin-left: 1%;
        margin-right: 1%;*/
    }
    #guide .description:after {
        content: "";
        text-align: right;
        position: absolute;
        bottom: 0;
        right: 0;
        width: 30%;
        height: 18px;
        background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 50%);
    }
}

@media screen and (max-width: 960px){
    #snow .funicular{
        display: none;
    }
}

@media screen and (max-width: 880px){
    #snow .snow-type{
        display: none;
    }
}

@media screen and (max-width: 800px) {
    #boxy .hide400 {
        display: none;
    }
}

@media screen and (max-width: 750px){
    #snow .snow-new{
        display: none;
    }
    #forum .date span {
        display: none;
    }

    #forum td,
    #forum th {
        width: 45%;
    }

    #forum .date {
        width: 10%;
    }
}
@media screen and (max-width: 960px) {

    #cameras .hide,
    #guide .hide {
        display: none;
    }

    #cameras .half,
    #guide .half {
        width: 100%;
    }
    #cameras .temperature span span {
        display: inline-block;
    }
}

@media screen and (max-width: 800px) {
    #forum .author {
        display: none;
    }
}

@media screen and (max-width: 790px) {
    #boxy .col {
        width: 100%;
        margin-right: 0;
    }

    #boxy .col-rema {
        /*height: auto;*/
    }

    #boxy .boxright {
        margin-left: 0;
        position: static;
        margin-right: 0;
        left: 50%;
    }

    #users {
        position: static;
    }

    #cameras .hide,
    #guide .hide {
        display: block;
    }
    #snow .funicular,
    #snow .snow-type,
    #snow .snow-new{
        display: table-cell;
    }

    #cameras .half,
    #guide .half,
    #others .half {
        width: 50%;
    }
    #cameras .temperature span span {
        display: inline-block;
    }

    #boxy .col-rema {

        width: 100%;
    }

    #boxy .col-rema img {
        width: auto;
        min-height: auto;
    }

    #boxy .rema-our,
    #boxy .rema-our .box-rema {
        height: auto;
    }

    #forum .date span {
        display: inline-block;
    }

    #forum .date {
        width: 120px;
    }

    #forum .author {
        display: table-cell;
    }

    #cykling .links a,
    #pruvodce .links a,
    #routes .links a {
        white-space: normal;
    }
    #boxy .hide400 {
        display: inline-block;
    }
    #mostwanted .links-cont {
        max-height: 160px;
        height: auto;
    }
    #others .col-footer {
        min-height: 10px;
    }
    #others .col-cont {
        min-height: 40px;
    }
    #place .lines-4 {
        height: calc(2 * 25px)
    }
    #place .lines-3 {
        height: calc(2 * 25px)
    }
    /* on how many lines to display text*/
    #guide .txt-ln-2,
    #guide .txt-ln-3,
    #guide .txt-ln-4,
    #guide .txt-ln-5 {
        height: auto;
    }

    #guide .description:after {
        background: none;
    }

    #loginbox .seznam-host {
        height: auto;
    }
    #loginbox .col-cont {
        min-height: auto;
    }
}

@media screen and (max-width: 440px){
    #boxy .col-rema img {
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 486px){
    #snow .funicular{
        display: none;
    }
}

@media screen and (max-width: 444px){
    #snow .snow-type{
        display: none;
    }
}

@media screen and (max-width: 388px){
    #snow .snow-new{
        display: none;
    }
}

@media screen and (max-width: 400px) {
    #cameras .hide,
    #guide .hide {
    }

    #cameras .half,
    #guide .half,
    #others .half {
        width: 100%;
    }
    #boxy .hide400 {
        display: none;
    }
    #forum .date span {
        display: none;
    }

    #forum .date {
        width: 10%;
    }

    #loginbox .nofix {
        table-layout: initial;
    }

}
@media screen and (max-width: 350px) {
    #cameras .hide,
    #guide .hide {
        display: none;
    }

    #cameras .half,
    #guide .half,
    #others .half {
        width: 100%;
    }

    #forum .author {
        display: none;
    }

    #cameras .temperature span span {
        display: inline-block;
    }
}

.pfko {
		display: block !important;
        color: #b00000;
		font-weight: 900;
		position: absolute;
		top: -57px;
		right: 0;
    }
	
@media screen and (max-width: 450px) {
.pfko {
    top: -28px;
    position: relative;
    margin-bottom: -46px;
    padding-top: 5px;
    text-align: right;
    }	
}

#cameras .fav-cam,
#snow .fav-snow {
    background: #f9efa6 !important;
	background-image: linear-gradient(
    to bottom, #f9efa6 calc(100% - 2px), white 2px
  )  !important;
}

#cameras .fav-cam a:hover {
    text-decoration: underline;
    background: none !important;
}