h1#section_title {
    background: #030303 url(/assets/rpd/images/template/heading.jpg) no-repeat scroll 0 -6px;
    height: 34px;
    margin-left: -10px;
    margin-top: -20px;
    padding-top: 10px;
    position: relative;
    top: 10px;
    width: 100%;
}

body {
    color: #333;
    font-family: Verdana,Arial,Helvetica,sans-serif;
    font-size: 14px;
    line-height: 21px;
    word-spacing: 1px;
    background-image: url(/assets/rpd/images/template/patterns/dark-brick-wall.png); 
    background-color: #ddd;

    text-shadow:0 0 1px transparent;
    text-rendering: optimizeLegibility;
}
#main_wrapper {
    border-top:none;
}

/* header style */
#header,
#header p,
#header h1,
#header ul {
    margin: 0;
    padding: 0;
}
#header {
    height: 170px;
    position: relative;
}

.crisp {
    image-rendering:optimizeSpeed;             /* Legal fallback */
    image-rendering:-moz-crisp-edges;          /* Firefox        */
    image-rendering:-o-crisp-edges;            /* Opera          */
    image-rendering:-webkit-optimize-contrast; /* Safari         */
    image-rendering:optimize-contrast;         /* CSS3 Proposed  */
    image-rendering:crisp-edges;               /* CSS4 Proposed  */
    image-rendering:pixelated;                 /* CSS4 Proposed  */
    -ms-interpolation-mode:nearest-neighbor;   /* IE8+           */
}
a.logo {
    max-height: 113px;
    max-width: 126px;
    width: 40vw;
    height: 40vh;
    display: inline-block;
    background: url(/assets/rpd/images/template/logo.png) no-repeat center center;
    background-size: contain;

    position: absolute;
    top: 50%;
    left: 50%;
}
a.logo.silver {
    filter: grayscale(100%) brightness(110%) contrast(100%);
}
a.logo-center:hover {
    opacity: 0.75;
}
a.logo-left,
a.logo-right {
    width: 16vw;
    height: 16vh;
    -webkit-transform: translate(0, -50%);
    -moz-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
}
a.logo-left {
    left: 0;
}
a.logo-right {
    left: inherit;
    right: 0;
}
a.logo-center {
    max-width: 286px;
    max-height: 146px;
    background-image:url(/assets/rpd/images/template/header.png);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
body.english a.logo-center {
    max-width: 300px;
    background-image:url(/assets/rpd/images/template/header.en.png);
}

#header,#footer {
    width: 100%;
    margin: 0 auto;
/* IE fix */
    text-align: center;
}

/* footer style */
#footer {
    color: #ccc;
    text-align: center;
    width: 100%;
    display: block;
    font-size: 9px;
    min-height: 80px;
    background-color: rgba(255,255,255,0.05);
/* ie fix */
    text-align: center;
}

#footer,
#footer a {
    color: #777;
}
#footer a {
    text-decoration: underline;
    font-weight: 700;
}

#footer a:hover {
    text-decoration: none;
    color: #000;
}

#footer .menu {
    font-size: 11px;
    line-height: 24px;
    padding-top: 16px;
}

#footer .menu a.selected {
    color: #555;
    text-decoration: none;
}

#menu {
    list-style: none;
}

#menu li {
    float: left;
    line-height: 1.4;
    margin-left: auto;
    margin-right: auto;
    background: transparent;
}

#menu li a {
    color: #111;
    text-decoration: none;
    font-size: 11px;
    text-transform: uppercase;
}

#menu li a:hover,#menu li a:active {
    background-position: center left;
}

#menu li a.selected
#menu li a.selected:hover
#menu li a.selected:active {
    background-position: bottom left;
}

ol {
    padding: 10px;
    padding-left: 25px;
}
ol.numbers {
    list-style-type: decimal;
}

/* Misc Styles */

a:hover {
    text-decoration: none;
}

a {
    color: #FFF;
    text-decoration: underline;
}

a:link,a:visited {
    color: #fff;
}

h1 span {
    display: none;
}

p {
    padding: 5px 0;
    line-height: 20px;
    margin-bottom: 5px;
    margin-top: 0;
}

em {
    font-style: italic;
}
.city {
    text-transform: uppercase;
}

a {
    outline: none;
}

form,table {
    margin: 0;
    padding: 0;
}

/*shared*/
.l {
    text-align: left;
}

.r {
    text-align: right;
}

.c {
    text-align: center;
}

span.clr {
    display: block;
    clear: both;
}

/*headings & link colors*/
h1,h2,h3,h4 {
    padding: 0;
    color: #333;
    font-weight: bold;
    margin: 16px 0 8px;
    text-align: left;
}

h1 { 
    font-size: 150%; 
    color: #fff;
    margin: 8px 16px;
}
h2 { font-size: 140%; }
h3 { font-size: 120%; }

h2 {
    border-bottom: 2px solid #404040;
}

h2 i {
    background: #FFF none repeat scroll 0 0;
    bottom: -7px;
    left: -7px;
    display: block;
    float: left;
    height: 8px;
    position: relative;
    width: 8px;
}

h1 i {
    background: #FFF none repeat scroll 0 0;
    bottom: -10px;
    display: block;
    float: left;
    height: 10px;
    left: 0;
    margin-right: 5px;
    position: relative;
    width: 10px;
}

img {
    border: none;
}

p.quote {
    background: url(/assets/rpd/images/template/quote_b.gif) no-repeat 0 5px;
    padding-left: 26px;
    font-size: 16px;
    text-shadow: 1px 2px 1px #131315;
}

p.quote em {
    font-weight: 400;
    font-style: italic;
    color: #f6e4c8;
}

p.small {
    font-style: italic;
    font-size: 13px;
    color: #777;
}

p.quote a:link,div.quote a:visited {
    color: #c17878;
}

div.block a:hover,div.block a:active {
    color: #faec8f;
}

div.sidebar,div.block {
    padding-top: 8px;
    font-size: 11px;
    color: #ccc;
    font-family: verdana;
    line-height: 15px;
}

div.altblock {
}

div.sidebar-left {
    margin-left: -10px;
}

div.sidebar-right {
    margin-right: -10px;
}

div.altblock div.line i,div.line i {
    display: block;
    border-top: #030303 2px solid;
}

div.altblock div.line i {
    border-top-color: #404040;
}

div.altblock {
    color: #ccc;
}

div.altaltblock {
    color: #ccc;
}

div.altaltblock em,div.altblock em,div.block em {
    color: #fff;
    font-style: normal;
}

em a {
    color: #FFF;
    font-style: normal;
    text-decoration: none;
    text-transform: uppercase;
}

em a:hover {
    color: #E00;
}

div.floaty {
    float: left;
    width: 210px;
}

div.floaty h2 {
    background: #5aa860;
    color: #fff;
    font-size: 16px;
    margin-bottom: 5px;
    border: none;
}

div.first {
    width: 350px;
    margin-right: 10px;
    margin-bottom: 10px;
    padding-right: 10px;
    border-right: 1px solid #aaa;
}

div.full {
    clear: both;
    float: none;
}

table {
    width: 100%;
    border: 0;
    border-collapse: collapse;
}

th,td {
    padding: 4px 10px;
}

th {
    text-align: left;
}

th h3 {
    font-size: 13px;
}

td {
    vertical-align: top;
}

h2.section,h2.options {
    font-size: 15px;
    color: #faec8f;
    padding-left: 15px;
    background: url(/assets/rpd/images/template/arrow.gif) no-repeat left center;
}

#container h2.section a,#container h2.options a {
    display: block;
    text-decoration: none;
    color: #faec8f;
}

/* ikonice */
i.icon {
    display: block;
    width: 20px;
    height: 23px;
    clear: left;
    float: left;
    position: relative;
    overflow: hidden;
    padding: 2px;
}

i.mail {
    background: transparent url(/assets/rpd/images/template/ico_pismo.gif) no-repeat scroll 0 0;
    left: -2px;
}

i.tel {
    background: transparent url(/assets/rpd/images/template/ico_tel.gif) no-repeat scroll 0 0;
    top: -2px;
}

/* image shadows */
div.shadow {
    box-shadow: 0 0 5px #000;
    margin: 16px;
    margin-top: 8px;
    padding: 0;
    position: relative;
}

div.shadow img {
    background-color: #fff;
    border: 1px solid #a9a9a9;
    display: block;
    padding: 4px;
    position: relative;
}
.inline-image img {
    width: 200px;
}

.bb {
    border-bottom: 1px solid #333;
}

/*====================================*/
/*=        LANGUAGES                 =*/
/*====================================*/
#jezici {
    position: absolute;
    left: 50%;
    margin-left: -35px;
    width: 70px;
    top: 8px;
    z-index: 2;
}

#jezici a {
    width: 30px;
    height: 20px;
    position:relative;
    display: inline-block;
    top: 0;
    background: transparent;
    background-size: cover;
    box-shadow: 0 0 5px #000;
}
#jezici a:hover {
    top: 2px;
}

#jezici a.sr {
    background-image: url(/assets/rpd/images/template/flag_sr.png);
}

#jezici a.en {
    background-image: url(/assets/rpd/images/template/flag_uk.png);
}

.left {
    border-right: 1px solid #303030;
    float: left;
    width: 460px;
}

.right {
    float: right;
    width: 280px;
}

.right h2 {
    border: 0 none;
    margin: 0 0 20px!important;
    padding: 0;
    text-align: center;
}

.altblock.pp.l.rel.sidebar-left iframe {
    background: none repeat scroll 0 0 #FFF;
    box-shadow: 0 0 5px #000;
    margin: 60px 0 0 120px;
    padding: 4px;
}

/* menu */
#slidemenu_holder {
    box-shadow: 0 6px 20px -5px #000;
}
#slidemenu {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding:0;
    margin-bottom: 0;
}
#slidemenu #slides {
    width: 100%;
    overflow: hidden;
    position : absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
#slidemenu .menu_holder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index:100;
}
#slidemenu .menu_holder #menu {
    width: 100%;
    margin: 0;
    padding: 0;
}
#slidemenu .menu_holder,
#slidemenu .menu_holder ul,
#slidemenu .menu_holder li {
    height:100%;
}

#slidemenu ul {
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
}
#slidemenu #menu ul {
    width: 100%;
    height: 100%;
}
#slidemenu #menu li {
    text-align:center;
    list-style:none;
    padding: 0;
    margin: 0;
    width: calc(100% / 6);
    height: 100%;
}
#slidemenu #menu li:last-child a {
    border-right: none;
}
#slidemenu ul li a {
    padding: 0;
    margin: 0;
    display:block;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0);
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding-top: 10px;
}

#slidemenu ul li a.selected,
#slidemenu ul li a:hover {
    background: rgba(0,0,0,0.5);
    text-shadow: 0 0 20px black;
    padding-top: 20px;
}
#slidemenu ul li a:hover {
    background: rgba(0,0,0,0.4);
}

.stacked-menu {
    display: flex;
    flex-direction: column;
}
.stacked-menu a {
    box-sizing: border-box;
    padding: 20px;
    text-decoration: none;
    text-align: center;
    color: #555;
}
.stacked-menu a:hover,
.stacked-menu a.selected {
    background: rgba(0,0,0,0.5);
    text-shadow: 0 0 20px black;
    color: #fafafa;
}

/* Ribbon */

.ribbon-wrapper {
    position: relative;
}
.ribbon {
    background-color: #333333;	
    border: 1px solid #555;
    width: auto;
    padding: 5px;
    background-image: url(/assets/rpd/images/template/patterns/navy.png);
    -moz-box-shadow: 0 0 4px rgba(0,0,0,0.55);
    -khtml-box-shadow: 0 0 4px rgba(0,0,0,0.55);
    -webkit-box-shadow: 0 0 4px rgba(0,0,0,0.55);
    -o-box-shadow: 0 0 4px rgba(0,0,0,0.55);
}

/* Generic borders */
.light-border { border: 1px solid rgba(255, 255, 255, 0.3); }
.light-border-top { border-top: 1px solid rgba(255, 255, 255, 0.3); }
.light-border-bottom { border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.light-border-left { border-left: 1px solid rgba(255, 255, 255, 0.3); }
.light-border-right { border-right: 1px solid rgba(255, 255, 255, 0.3); }

.dark-border { border: 1px solid rgba(0, 0, 0, 0.2); }
.dark-border-top { border-top: 1px solid rgba(0, 0, 0, 0.2); }
.dark-border-bottom { border-bottom: 1px solid rgba(0, 0, 0, 0.2); }
.dark-border-left { border-left: 1px solid rgba(0, 0, 0, 0.2); }
.dark-border-right { border-right: 1px solid rgba(0, 0, 0, 0.2); }

br { 
border-top: 1px solid rgba(255, 255, 255, 0.3);
border-bottom: 1px solid rgba(0, 0, 0, 0.2); 
}


/* Content style */
#page_content {
    padding: 2em 3em;
}
#page_content ul {
    list-style-type: square;
    padding-left: 3em;
    padding-bottom: 1em;
}
#page_content a {
    color: #333;
    font-weight: bold;
    text-decoration: none;
}
#page_content a:hover {
    text-decoration: underline;
}
#page_content p {
    text-align: justify;
}
/* Quote */
blockquote {
    font-family: Georgia, serif;
    font-size: 18px;
    line-height: 36px;
    background: #d7d7d7;
    font-style: italic;
    margin: 1.5em 10px;
    padding: 0.5em 10px;
    quotes: "\201C""\201D""\2018""\2019";
    text-align: center;
}
blockquote::after,
blockquote::before {
    color: #555;
    font-size: 50px;
    line-height: 36px;
    vertical-align: -0.3em;
}
blockquote::before {
    content: "\201C";
    margin-right: 0.25em;
    padding-left: 36px;
}
blockquote::after {
    content: "\201D";
    margin-left: 0.25em;
    padding-right: 36px;
}
blockquote cite {
    color: #555;
    font-size: 14px;
    display: block;
    margin-top: 5px;
}
  
blockquote cite::before {
    content: "\2014 \2009";
}

blockquote p {
    display: inline;
}
/* Gallery */
#page_content ul.gallery {
    list-style: none;
    padding: 0;
}
ul.gallery li {
    float: left;
    margin: 8px;
    width: calc(100%/6 - 16px);
}

ul.gallery li img {
    width: 100%;
    height: auto;
    border: 4px solid #fff;
    box-shadow: 0 0 5px #000;
}
ul.gallery li img:hover {
    opacity: 0.7;
}
.narrow {
    margin: 0 auto 20px;
}



/* Services override */
body.services #page_content {
    padding: 20px 0;
}
#page_content .service-tabs-wrapper .pws_tabs_list {
    padding: 0;
    top: inherit;
}
#page_content .service-tabs-wrapper .pws_tab_single {
    padding: 2em 3em;
    top: 0;
    left: 0;
}
body.services .pws_tabs_list {
    background-color: transparent;
    border-top: 1px solid #ddd;
    margin-top: -1px;
}
body.services .pws_tabs_container.pws_theme_grey ul.pws_tabs_controll li a.pws_tab_active {
    background-color: transparent;
    border: 1px solid #ddd;
}
body.services .pws_tabs_container.pws_theme_grey ul.pws_tabs_controll li a {
    background-color: #d7d7d7;
    color: #333;
    font-weight: bold;
}
body.services #page_content  ul.pws_tabs_controll {
    padding-bottom: 0;
}
body.services #page_content  ul.pws_tabs_controll li a {
    color: #333;
}
body.services .service-tabs-wrapper {
    overflow: hidden;
    padding-bottom: 50px;
}
body.services .service-tabs {
    overflow: visible;
}

/* ikonice */
i.icon {
    display: block;
    width: 20px;
    height: 23px;
    clear: left;
    float: left;
    position: relative;
    overflow: hidden;
    padding: 2px;
}

i.mail {
    background: transparent url(/assets/rpd/images/ico_pismo.gif) no-repeat scroll 0 0;
    left: -2px;
}

i.tel {
    background: transparent url(/assets/rpd/images/ico_tel.gif) no-repeat scroll 0 0;
    top: -2px;
}
/* lists */
ul.columns {
  overflow:hidden;
}

.columns li {
  float:left;
  display:inline;
  text-align: center;
}

.two.columns li   { margin:0;padding:0;width:50%;}
.three.columns li { margin:0;padding:0;width:33.333%; }
.four.columns li  { margin:0;padding:0;width:25%; }

.hbox, .vbox {
    display: flex;
    flex-direction: row;
}
.vbox {
    flex-direction: column;
}
.hbox.same-size > *, .vbox.same-size > * {
    flex: 1;
}
.hbox.center, .vbox.center {
    justify-content: center;
    align-items: center;
}
.hbox.space-between, .vbox.space-between {
    justify-content: space-between;
    align-items: center;
}
.hbox.space-around, .vbox.space-around {
    justify-content: space-around;
    align-items: center;
}
.hbox.space-evenly, .vbox.space-evenly {
    justify-content: space-evenly;
    align-items: center;
}
.hbox.start, .vbox.start {
    justify-content: flex-start;
    align-items: flex-start;
}
.hbox.end, .vbox.end {
    justify-content: flex-end;
    align-items: flex-end;
}
.hbox.wrap, .vbox.wrap {
    flex-wrap: wrap;
}
.hbox.wrap-reverse, .vbox.wrap-reverse {
    flex-wrap: wrap-reverse;
}
.hbox.no-wrap, .vbox.no-wrap {
    flex-wrap: nowrap;
}
.hbox.reverse, .vbox.reverse {
    flex-direction: row-reverse;
}


/* certificates */
ul.gallery li.cert img {
    width: 100px;
    height: 140px;
    box-shadow: 0 0 5px #000;
    display: inline-block;
    font-size: 30px;
    text-align:center;
    margin: 8px;
    line-height: 140px;
    text-decoration: none;
    text-shadow: 1px 2px 1px #ffffff;
    cursor: pointer;
}

/* contact form */
body.contact form{
    font: 95% Arial, Helvetica, sans-serif;
    max-width: 400px;
    margin: 10px auto;
    padding: 16px;
    background: #F7F7F7;
}
body.contact form h1{
    background: #43D1AF;
    padding: 20px 0;
    font-size: 140%;
    font-weight: 300;
    text-align: center;
    color: #fff;
    margin: -16px -16px 16px -16px;
}
body.contact form input[type="text"],
body.contact form input[type="date"],
body.contact form input[type="datetime"],
body.contact form input[type="email"],
body.contact form input[type="number"],
body.contact form input[type="search"],
body.contact form input[type="time"],
body.contact form input[type="url"],
body.contact form textarea,
body.contact form select 
{
    outline: none;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 100%;
    background: #fff;
    margin-bottom: 4%;
    border: 1px solid #ccc;
    padding: 3%;
    color: #555;
    font: 95% Arial, Helvetica, sans-serif;
}
body.contact form input[type="text"]:focus,
body.contact form input[type="date"]:focus,
body.contact form input[type="datetime"]:focus,
body.contact form input[type="email"]:focus,
body.contact form input[type="number"]:focus,
body.contact form input[type="search"]:focus,
body.contact form input[type="time"]:focus,
body.contact form input[type="url"]:focus,
body.contact form textarea:focus,
body.contact form select:focus
{
    box-shadow: 0 0 5px #555;
    padding: 3%;
    border: 1px solid #555;
}

body.contact form input[type="text"],
body.contact form input[type="date"],
body.contact form input[type="datetime"],
body.contact form input[type="email"],
body.contact form input[type="number"],
body.contact form input[type="search"],
body.contact form input[type="time"],
body.contact form input[type="url"],
body.contact form textarea,
body.contact form select,
#slidemenu ul li a,
#jezici a,
ul.gallery li img,
a.logo {
    -webkit-transition: all 0.2s ease-out;
    -moz-transition:    all 0.2s ease-out;
    -ms-transition:     all 0.2s ease-out;
    transition:         all 0.2s ease-out;
}


body.contact form input[type="submit"],
body.contact form input[type="button"]{
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 100%;
    padding: 3%;
    background: #d7d7d7;
    border-bottom: 2px solid #333;
    border-top-style: none;
    border-right-style: none;
    border-left-style: none;    
    color: #fff;
    font-size: 110%;
}
body.contact form input[type="submit"]:hover,
body.contact form input[type="button"]:hover{
    background: #333;
}

#mapa_kontakt {
    height:250px;
    width:430px;
}
.error {
    color: red;
}
/* partners */
body.partners #page_content ul {
    list-style-type: none;
    width: 50%;
}
body.partners #page_content ul li {
    border-bottom: 1px solid #dadada;
    padding: 4px;
}
body.partners #page_content ul li:hover {
    background: #e6e6e6;
}
/* alerts */
.alert-box {
    color:#555;
    padding:10px 10px 10px 36px;
    margin:10px;
}
.alert-box span {
    font-weight:bold;
    text-transform:uppercase;
}
.alert-box.error {
    background:#ffecec url('/assets/rpd/images/error.png') no-repeat 10px 50%;
    border:1px solid #f5aca6;
}
.alert-box.success {
    background:#e9ffd9 url('/assets/rpd/images/success.png') no-repeat 10px 50%;
    border:1px solid #a6ca8a;
}
.alert-box.warning {
    background:#fff8c4 url('/assets/rpd/images/warning.png') no-repeat 10px 50%;
    border:1px solid #f2c779;
}
.alert-box.notice {
    background:#e3f7fc url('/assets/rpd/images/notice.png') no-repeat 10px 50%;
    border:1px solid #8ed9f6;
}
/* notes */
.note {
    position: relative;
    width: 80%;
    padding: 1em 1.5em;
    margin: 2em auto;
    color: #fff;
    background: #999;
    overflow: hidden;
}

.note::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    border-width: 0 16px 16px 0;
    border-style: solid;
    border-color: #eee #eee #777 #777;
    background: #777;
    /* Firefox 3.0 damage limitation */
    display: block; width: 0;
}

/* Large desktop */
@media (min-width: 1200px) { 
    body {
        padding-left: 50px;
        padding-right: 50px;
    }

    .ribbon h1 {
        text-shadow: 1px 1px rgba(0,0,0,0.4);
    }

    #slidemenu ul li a {
        text-shadow: 1px 1px #333, 0 0 4px #000;
    }

    #slidemenu ul li a span {
        padding: 4px;
        font-size: 120%;
    }
    #slidemenu ul li a.selected span {
        font-size: 130%;
    }
    #super_wrapper {
        width: 80%;
    }
    .ribbon {
        margin: 0 -16px;
    }

    .ribbon::after,
    .ribbon::before {
        content: "";
        border-style: solid;
        height:0;
        width:0;
        position: absolute;
        border-width: 14px; 
        border-color: transparent;
        z-index: -1;
    }
    .ribbon-bottom-left::before {
        /* 2 * border-width + border outline */
        left: -29px; 
        bottom: -14px;
        border-color: transparent #000000 transparent transparent;
    }
    .ribbon-bottom-right::after {
        /* 2 * border-width + border outline */
        right: -29px;
        bottom: -14px;
        border-color: transparent transparent transparent #000000;
    }
}


/* Portrait tablet to landscape and desktop */
@media only screen
    and (min-width: 768px) 
    and (max-width: 1199px) { 
    ul.gallery li {
        width: calc(100%/8 - 16px);
    }
    #page_content {
        padding: 2em;
    }
    #super_wrapper {
        width: 95%;
    }
    .ribbon {
        margin: 0 -16px; /* 100% wide + 6px + 1px border on each side */
    }

    .ribbon::after,
    .ribbon::before {
        content: "";
        border-style: solid;
        height:0;
        width:0;
        position: absolute;
        border-width: 14px; 
        border-color: transparent;
        z-index: -1;
    }
    .ribbon-bottom-left::before {
        left: -29px; /* 2 * border-width + border outline */
        bottom: -14px;
        border-color: transparent #000000 transparent transparent;
    }
    .ribbon-bottom-right::after {
        right: -29px; /* 2 * border-width + border outline */
        bottom: -14px;
        border-color: transparent transparent transparent #000000;
    }
}

/* Landscape phone to portrait tablet */
@media (max-width: 767px) { 
    a.logo-right,
    a.logo-left {
        display: none;
    }
    ul.gallery li {
        width: calc(100%/4 - 16px);
    }
    #page_content {
        padding: 1em;
    }
    blockquote::before {
        padding-left: 0;
    }

    body.services #page_content  ul.pws_tabs_controll {
        padding-left: 4px;
    }
    body.services #page_content  ul.pws_tabs_controll li {
        width: 100%;
    }
    body.contact #page_content tr td {
        float: left; width: 100%
    }
    #mapa_kontakt {
        width: 100%;
    }

    #menu li a span {
        word-wrap: break-word;
        font-size: 0.75em;
    }
    #header {
        height: 130px;
    }
    h1 {
        font-size: 120%;
    }
    body.partners #page_content .fl,
    body.partners #page_content .fr {
        float: none !important;
    }
    body.partners #page_content .fl div.shadow img {
        width: 100%;
    }
    body.partners #page_content .fl div.shadow {
        width: 70%;
        margin: 0 auto;
    }
    body.partners #page_content ul {
        padding: 0;
        width: 100%;
    }
}

/* Landscape phones and down */
@media only screen
    and (min-width: 320px) 
    and (max-width: 480px) { 
    a.logo-right,
    a.logo-left {
        display: none;
    }
    ul.gallery li {
        width: calc(100%/2 - 16px);
    }

    #page_content {
        padding: 1em;
    }
    #footer_wrapper {
        height: 130px;
    }
    #content_wrapper {
        padding-bottom: 120px;
    }
    blockquote::before {
        padding-left: 0;
    }
    body.services #page_content  ul.pws_tabs_controll {
        padding-left: 4px;
    }
    body.services #page_content  ul.pws_tabs_controll li {
        width: 100%;
    }
    body.contact #page_content tr td {
        float: left; width: 100%
    }
    #mapa_kontakt {
        width: 100%;
    }

    #menu li a span {
        word-wrap: break-word;
        font-size: 0.75em;
    }

    #header {
        height: 120px;
    }
    h1 {
        font-size: 120%;
    }

    body.partners #page_content .fl,
    body.partners #page_content .fr {
        float: none !important;
    }
    body.partners #page_content .fl div.shadow img {
        width: 100%;
    }
    body.partners #page_content .fl div.shadow {
        width: 70%;
        margin: 0 auto;
    }
    body.partners #page_content ul {
        padding: 0;
        width: 100%;
    }
}
