@media (min-width:768px) {
    #head .motto {
        margin-top: -2em;
    }
    #head .container {
        position: relative;
        padding: 5em 10px 20px 10px !important;
    }
    img.orin {
        position: absolute;
        width: 140px;
        left: 360px;
        top: 80px;
    }
    img.hradec {
        position: absolute;
        width: 140px;
        left: 560px;
        top: 80px;
    }
    .mask a{
        width: 280px;
        height: 116px;
    }
}
@media (max-width:767px) {
    #head .motto {
        width: 100%;
        position: absolute;
        left: 0;
        bottom: .5em;
    }
    #head .container {
        position: relative;
        padding-bottom: 4em !important;
    }
    img.orin {
        position: absolute;
        width: 75px;
        right: 10px;
        top: 45px;
    }
    img.hradec {
        position: absolute;
        width: 75px;
        right: 10px;
        top: 70px;
    }
    .mask a{
        width: 200px;
        height: 83px;
    }
}
#head > .container {
    display: flex;
    flex-direction: row;
}
#head > .container nav {
    order: 2;
}
/* START â€“ SHINE EFFECT */
.mask a{
    position: relative;
    display:block;
    text-align:center;
    margin: 0 !important;
    -webkit-filter: drop-shadow(1px 1px 2px rgba(0,0,0,.5));
    animation: 5s shineEffect infinite;
    transition: all 5s;
}
@media (max-width:767px) {
    .mask a{
        margin: auto;
    }
}
.mask a:hover,
.mask a:focus{
    background-position: 10px 0;
    transition: all 1s;
}
.mask a::after{
    content:'';
    position: absolute;
    pointer-events: none;
    top:0; left:0; right:0; bottom: 0;
    background: radial-gradient(0 0,circle farthest-side, rgba(255,255,255,0) 90%,rgba(255,255,255,.8) 98%,rgba(255,255,255,0) 100%) no-repeat;
    background: radial-gradient(circle farthest-side at 0 0, rgba(255,255,255,0) 90%,rgba(255,255,255,.8) 98%,rgba(255,255,255,0) 100%) no-repeat;
    background-position: inherit; 
    -webkit-mask: url('https://infoinzert.luciadesign.cz/plugins/templates/akce/images/logo.png') center;
    mask: url('#mask-firefox');
}
@keyframes shineEffect {
    0% {
        background-position: -320px 0;
    }
    75% {
        background-position: -320px 0;
    }
    100% {
        background-position: 80px 0;
    }
}
/* END â€“ SHINE EFFECT */
/* tagy */
@font-face {
    font-family: "Arial", Tahoma;
    font-style: normal;
    font-weight: 400;
    src: local('Oswald '), local('Oswald'), url('../images/font.woff') format('woff');
}
[class*="g-cl-"] {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: space-between;
    grid-template-rows: auto auto;
    gap: 6em;
    padding-bottom: 6em;
    transition: 0.66s all ease-in-out;
}
[class*="g-cl-"] img {
    transition: 0.66s all ease-in-out;
}
[class*="g-cl-"] img:hover {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 5px 10px 15px 10px #00000026;
}
[class*="g-cl-"] img:not(:hover) {
    transform: scale(1) rotate(0deg);
    box-shadow: -2px -1px 3px 1px #0000004d;
}
img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1170px;
    margin: 0 auto;
    padding-left: 10px;
    padding-right: 10px;
}

#newsletter {
    margin-top: 0;
    float: right;
}

body {
    margin: 0;
    padding: 0 20px 20px 20px;
    background: #e8e8e8 url('../images/background.jpg') no-repeat top center;
    text-align: justify;
    font-family: "Arial", Tahoma, Helvetica, Verdana;
    font-size: 13px;
    color: #000;
}

#topline {
    background-color: #666666;
    text-align: center;
    color: #fff;
    font-size: 14px;
    padding: 10px 0;
}

#topline a {
    color: #fff;
    text-decoration: none;
}

#topline a:hover {
    text-decoration: underline;
}

#head {
    border-bottom: 16px solid red;
    background: transparent;
}

#head .container {
    border-left: 1px solid #d2d2d2;
    border-right: 1px solid #d2d2d2;
    padding: 10px;
}

#head .logo {
    grid-area: logo;
    text-align: center;
    margin: 0;
}

#head logo img {
    max-width: 90%;
}

#head .motto {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    grid-area: motto;
}

#head nav {
    text-align: right;
    position: relative;
}

#head nav .menu_toggle {
    width: 33px;
    height: 25px;
    display: inline-block;
    background-image: url("../images/menu.svg");
    background-size: cover;
    margin-right: 0;
    margin-left: auto;
}

#head nav .menu_toggle.opened {
    background-position: bottom;
}

#head nav .menu {
    margin: 0;
    padding: 10px;
    list-style: none;
    position: absolute;
    left: -11px;
    width: 100%;
    background-color: red;
    border: 1px solid red;
    display: none;
    text-align: left;
}

#head nav .menu > li {
    position: relative;
    padding: 10px 0;
}

#head nav .menu > li.menu-dropdown {
    padding-bottom: 0;
}

#head nav .menu a {
    color: #fff;
    font-size: 20px;
    text-decoration: none;
}

#head nav .menu a:hover {
    color: red;
}

#head nav .menu li ul {
    list-style: none;
    margin: 10px 0 0 0;
}

#head nav .menu li ul li a {
    white-space: nowrap;
    line-height: 35px;
    font-size: 16px;
}

#head nav .menu li:hover ul {
    display: block;
}

#box {
    width: 250px;
    float: left;
    padding: 0 5px 0 5px;
    border: 0 solid red
}

#content {
    border-left: 1px solid #d2d2d2;
    border-right: 1px solid #d2d2d2;
}

.form {
    width: 100%;
    max-width: 700px;
    margin: auto;
}

.form table {
    width: 100%;
}

.form span {
    color: red;
}

.form table td {
    text-align: left;
}

.form table td.area {
    vertical-align: top;
}

.form table .spacer {
    height: 5px;
}

.form table td input[type="text"],
.form table td textarea {
    width: 100%;
    box-sizing: border-box;
}

.form table td textarea {
    padding: 10px;
}

.alert {
    padding: 10px 20px;
}

.alert-success {
    background-color: #D1E7DD;
    border: 1px solid #a3cfbb;
    color: #146c43;
}

.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f1aeb5;
    color: #b02a37;
}

#fb {
    height: 20px;
    margin-left: 10px;
    float: left
}

#fb a {
    background: url('../images/fb.png') no-repeat left center;
}

#fb a {
    padding-left: 25px;
    color: #000000;
    text-decoration: none;
    font-family: "Oswald", serif;
    font-weight: bold;
    font-size: 14px;
<!-- text-shadow: 1 px - 1 px 0 px #740000;
-->
}

#fb a:hover {
    text-decoration: underline;
}

/* footer */
#paticka {
    background: url('../images/footer.png') no-repeat;
    text-align: right;
    border-left: 1px solid #d2d2d2;
    border-right: 1px solid #d2d2d2;
    height: 30px;
    line-height: 30px;
}

#paticka a {
    font-weight: bold;
    color: #000000;
    text-decoration: none;
}

#paticka a:hover {
    font-weight: bold;
    color: #000000;
    text-decoration: underline;
}


.box-title {
    border: 0 solid red;
    line-height: 35px;
    padding: 0 10px;
    background: url('../images/box-title.png') no-repeat;
    font-family: "Arial", Tahoma;
    text-shadow: 1px -1px 0 #016f82;
    font-weight: normal;
    margin: 0;
    font-size: 14px;
    color: #FFF;
    letter-spacing: 0.1em;
}

.box-item {
    border: 0 solid red;
    padding: 5px;
    margin-bottom: 15px;
    width: 238px;
    background: #def0f3 url('../images/box-item.png') repeat-x left 1px
}

h1 {
    padding: 0;
    margin: 0 0 10px 0;
    color: #f51e24;
    text-shadow: 1px -1px 0 #740000;
}

h2, h3, h4, h5, h6 {
    padding: 0;
    margin: 0 0 10px 0;
    color: #f51e24;
}

h1 {
    font-size: 20px;
}

h2 {
    font-size: 18px;
}

a {
    color: #f51e24;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

p {
    line-height: 130%
}

li {
    line-height: 20px;
}

/* navigace, hledani*/
#navigace {
    height: 30px;
    color: #797979;
    border: 0 solid red
}

#navigace a {
    color: #797979;
    text-decoration: none;
}

#vyhledavani {
    width: 235px;
    height: 35px;
    text-align: right;
    border: 0 solid red
}

#vyhledavani input[type="submit"] {
    padding: 2px 4px;
    background: url('../images/input.png') repeat-x;
    border-left: 1px solid #f4f4f4;
    border-top: 1px solid #f4f4f4;
    border-bottom: 1px solid #848484;
    border-right: 1px solid #848484;
    cursor: pointer;
}

#vyhledavani input[type="submit"]:focus {
    background: url('../images/input.png') repeat-x;
    border-right: 1px solid #fafafa;
    border-bottom: 1px solid #fafafa;
    border-top: 1px solid #848484;
    border-left: 1px solid #848484;
}

#vyhledavani .q {
    padding: 2px;
    background: url('../images/set-search.png') no-repeat 140px center;
    width: 155px;
    border: 1px solid #b2b2b2
}


/* hodnoceni */
.star {
    background: url('../images/star.gif') repeat-x left bottom;
    float: left;
    height: 16px;
}

.star-invisible {
    background: url('../images/star.gif') repeat-x left top;
    float: left;
    height: 16px;
    width: 80px;
    cursor: help;
}

.star-1 {
    width: 80px;
}

.star-2 {
    width: 64px;
}

.star-3 {
    width: 48px;
}

.star-4 {
    width: 32px;
}

.star-5 {
    width: 16px;
}

.td-last {
    width: 90px;
}

/* box uznavam */
#box .menu {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

#box .menu li {
    line-height: 28px;
    border-bottom: 1px dotted #b7dde3
}

#box .menu li a {
    color: #005c6a;
    text-decoration: none;
    padding: 0 0 0 5px;
    display: block;
}

#box .menu li a:hover {
    background: #b7dde3
}


/* komentare */
#nove-komentare tr:hover {
    transition: all .1s ease-out;
    -o-transition: all .1s ease-out;
    -moz-transition: all .1s ease-out;
    -webkit-transition: all .1s ease-out;
}

#nove-komentare {
    width: 238px;
    font-size: 12px;
    font-family: "Arial", Tahoma, Helvetica, Verdana;
}

#nove-komentare tr:hover {
    background: #b7dde3;
    padding: 0 2px 0 2px
}

#nove-komentare td {
    padding: 2px 0 3px 5px;
    border-bottom: 1px solid #b7dde3
}

#nove-komentare a {
    color: #000;
    display: block;
    line-height: 18px;
    text-decoration: none;
}

#nove-komentare a:hover {
    text-decoration: none;
}

#nove-komentare .dnes {
    color: green;
    font-weight: bold;
}

#nove-komentare .vz {
    color: #0078E8;
    font-weight: bold;
    font-size: 10px;
    float: right;
    padding-right: 5px
}


/* tabulka */
.table {
    border: 1px solid #D9D9D9;
    border-bottom: 0;
    width: 100%;
    margin: 10px 0 10px 0;
}

.table td {
    border-bottom: 1px solid #E7E9EC;
    padding: 3px 8px 3px 8px;
    border-top: 1px solid #FFF;
    font-size: 13px
}

.table-head td {
    padding: 2px 8px 2px 8px;
    font-weight: bold;
    font-size: 13px;
    color: #000;
    padding-top: 3px !important;
    line-height: 23px;
    background: #ececec
}

.table td a {
    color: #000000 !important
}

.table .chr a {
    display: block;
    padding: 5px;
    text-align: center;
    text-decoration: none !important;
    color: #000000
}

.table .chr a:hover {
    background-color: #ececec;
    color: #000000
}

.table .chr {
    border-right: 1px solid #D9D9D9;
    padding: 0
}

.table-head h1 {
    font-weight: bold;
    font-size: 13px;
    color: #000;
    padding-top: 3px !important;
    line-height: 21px;
}

.table .aktivni:hover td {
    transition: all .1s ease-out;
    -o-transition: all .1s ease-out;
    -moz-transition: all .1s ease-out;
    -webkit-transition: all .1s ease-out;
}

.table .aktivni:hover td {
    background: #f3f3f3 !important
}

.table .invisible {
    display: none;
}

.table .rating {
    width: 80px;
}

.left .table {
    padding: 0;
    margin: 0;
    width: 315px;
}

.right .table {
    padding: 0;
    margin: 0;
    width: 315px;
}

.table .info {
    position: relative;
    z-index: 24;
    color: #000;
    text-decoration: none;
    display: block;
    line-height: 20px;
    cursor: help;
}

.table .info:hover {
    z-index: 25;
    text-decoration: underline;
}

.table .info span {
    display: none
}

.table .info:hover span {
    display: block;
    position: absolute;
    top: 40px;
    left: 30px;
    width: 400px;
    padding: 10px;
    border: 1px solid #BEBEBE;
    background-color: #F7F7F7;
    color: #000;
}

.table .pridat-hodnoceni {
    padding: 2px 4px;
    font-size: 12px;
    text-decoration: none;
    color: #000;
    background: url('../images/input.png') repeat-x;
    border-left: 1px solid #f4f4f4;
    border-top: 1px solid #f4f4f4;
    border-bottom: 1px solid #848484;
    border-right: 1px solid #848484;
    cursor: pointer;
}


.left .table {
    width: 340px;
}

.right .table {
    width: 340px;
}

.lekariavatar {
    max-width: 200px;
}

/* rating */
.rating-cancel, .star-rating {
    float: left;
    width: 17px;
    height: 15px;
    text-indent: -999em;
    cursor: pointer;
    display: block;
    background: transparent;
    overflow: hidden
}

.rating-cancel, .rating-cancel a {
    background: url('../images/delete.gif') no-repeat 0 -16px
}

.star-rating, .star-rating a {
    background: url('../images/star.gif') no-repeat 0 0
}

.rating-cancel a, .star-rating a {
    display: block;
    width: 16px;
    height: 100%;
    background-position: 0 0;
    border: 0
}

.star-rating-on a {
    background-position: 0 -16px !important
}

.star-rating-hover a {
    background-position: 0 -32px
}

.star-rating-readonly a {
    cursor: default !important
}

.star-rating {
    background: transparent !important;
    overflow: hidden !important
}

/* card div */
#card table {
    width: 100%;
}

#card td {
    border-bottom: 1px solid #DFDFDF;
    padding: 7px 5px 7px 5px;
}

#card .rpad {
    width: 200px;
    text-align: right;
}

#card label {
    line-height: 23px;
}

#card .one {
    color: green;
}

#card .five {
    color: red;
}

#card em {
    color: gray;
}

/* card index*/
#card-index .index-article-one {
    margin: 0 0 25px 0;
    padding: 10px 0 0 0;
    float: left
}

#card-index .index-article-one .one {
    width: 270px;
    float: left;
}

#card-index .index-article-one .one img {
    width: 250px;
    padding: 1px;
    border: 1px solid #d2d2d2;
}

#card-index .index-article-one .one img:hover {
    border: 1px solid #909090;
}

#card-index .index-article-one .two {
    width: 450px;
    float: left;
}

#card-index .index-article-one .two h1 {
    font-size: 16px;
    margin: 0;
    padding: 0;
    line-height: 22px;
    font-weight: bold;
}

#card-index .index-article-one .two p {
    font-size: 14px;
}

#card-index .index-article-one .three {
    width: 450px;
    height: 17px;
    float: left;
    text-align: right;
}

#card-index .box {
    margin: 10px 0 0 0
}

#card-index .box .img {
    float: left;
    margin: 10px 10px 20px 10px
}

#card-index .box p {
    margin-top: 10px;
    margin-right: 15px;
    line-height: 20px;
    font-size: 13px;
}

#card-index a {
    text-decoration: none !important;
    font-family: "Oswald", serif;
    font-weight: normal;
    font-size: 20px;
}

#card-index a:hover {
    text-decoration: underline !important
}

#card-index #index-article-two {
    padding: 0;
}

#card-index #index-article-two .index-article-two {
    width: 360px;
    height: 100px;
    float: left;
}

#card-index #index-article-two .one {
    width: 125px;
    float: left;
}

#card-index #index-article-two .one img {
    width: 110px;
    padding: 1px;
    border: 1px solid #d2d2d2;
    margin-top: 0
}

#card-index #index-article-two .one img:hover {
    border: 1px solid #909090;
}

#card-index #index-article-two .two {
    width: 220px;
    height: 60px;
    float: left;
}

#card-index #index-article-two .two p {
    padding: 0;
    margin: 5px 0 0 0
}

#card-index #index-article-two .two h2 {
    font-size: 13px;
    margin: 0;
    padding: 0;
    text-align: left;;
}

#card-index #index-article-two .two h2 a {
    line-height: 17px;
    font-size: 15px;
}

#card-index #index-article-two .three {
    width: 220px;
    height: 17px;
    float: left;
    text-align: right;
}

#card-index .three span {
    color: #2c2c2c;
    padding: 2px 10px 2px 0;
    line-height: 16px;
    font-size: 12px;
}


.roz td {
    padding: 10px; /*background: #eaf3f6 url('../images/prechod.png') repeat-x;*/
    width: 320px; /*border: 1px solid #e2f1f6*/
}

.roz td img {
    max-width: 100px;
    padding: 1px;
    border: 1px solid #d2d2d2;
    float: left;
    margin: 0 8px 0 0
}

.roz .list-title {
    padding: 0 !important;
    margin: 0 0 5px 0 !important
}

.roz .list-title a {
    text-decoration: none;
    font-size: 14px;
}

.roz .list-title a:hover {
    text-decoration: underline;
}

.roz p {
    margin-top: 3px !important;
    text-align: left !important;
    font-size: 12px;
    line-height: 17px;
}

.magazine {
    margin: auto;
    text-align: center;
}

.magazine td {
    padding: 10px;
}


/* css3*/
.box-item, #center {
    -webkit-border-bottom-right-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

@media screen and (min-width: 700px) {
    body {
        padding: 0 0 20px 0;
    }

    #topline {
        text-align: right;
    }

    #head .container {
        display: grid;
        grid-template-columns: 30% 70%;
        border-left: 1px solid #d2d2d2;
        border-right: 1px solid #d2d2d2;
        padding: 20px 10px;
        grid-template-areas:
            "menu menu"
            "logo logo"
            "motto motto";
    }

    #head .motto {
        font-size: 22px;
    }

    #head nav {
        grid-area: menu;
        align-self: end;
    }

    #head nav .menu_toggle {
        display: none;
    }

    #head nav .menu {
        display: flex;
        justify-content: space-between;
        background: none;
        position: relative;
        left: 0;
        width: auto;
        border: none;
        padding: 0;
        margin: 0;
    }

    #head nav .menu > li {
        padding: 0;
    }

    #head nav .menu > li.act > a {
        color: red;
    }

    #head nav .menu a {
        color: #000;
        font-size: 20px;
        text-decoration: none;
    }

    #head nav .menu a:hover {
        color: red;
    }

    #head nav .menu li ul {
        display: none;
        position: absolute;
        padding: 10px;
        background-color: #e4e4e4;
        width: auto;
        margin: 0;
    }

    #head nav .menu li ul li a {
        font-size: 18px;
    }
}

@media screen and (min-width: 1000px) {
    #head .logo {
        margin: 0;
    }

    #head .motto {
        font-size: 26px;
        text-align: right;
    }

    #head .container {
        grid-template-areas:
    "logo motto"
    "logo menu";
    }
}