BODY {
  min-height: 100%;
  background: #ffffff;
  font-size: 16px;
  line-height: 1.3;
  font-family: Arial, Verdana, serif;
  color: #4f4f4f;
}

IMG,
EMBED,
OBJECT,
VIDEO {
  max-width: 100%;
  height: auto !important;
}

IFRAME {
  max-width: 100%;
}

H1 {
  display: block;
}

H1,
.bg3 {
  clear: both;
  background-color: #254888;
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  padding: 7px;
  margin: 0px;
  text-align: left;
}

H2 {
  font-size: 11px;
  color: #000000;
  font-weight: bold;
}

HR {
  margin: 0px;
  padding: 0px;
  border: 0px;
  height: 1px;
  background-color: #cccccc;
}

INPUT,
SELECT {
  vertical-align: middle;
  border: 1px solid #cccccc;
  background-color: #f7f8fa;
  color: #000000;
  padding: 4px;
}

INPUT {
  padding: 5px;
}

INPUT:focus,
INPUT:active,
TEXTAREA:focus,
TEXTAREA:active,
SELECT:focus,
SELECT:active {
  background-color: #ffffff;
}

TEXTAREA {
  border: 1px solid #cccccc;
  background-color: #f7f8fa;
  color: #000000;
  padding: 4px;
}

INPUT[type="submit"],
INPUT[type="submit"]:hover,
INPUT[type="submit"]:focus,
.btn-primary,
.btn-primary.active,
.btn-primary:active,
.btn-primary:hover,
.open > .dropdown-toggle.btn-primary {
  cursor: pointer;
  vertical-align: middle;
  margin-bottom: 2px;
  margin-top: 2px;
  border: 0px none;
  background: #275899;
  border: 1px solid #275899;
  color: #ffffff;
  padding: 6px;
  transition: all 0.2s ease-in-out;
}

INPUT[type="submit"]:hover,
.btn-primary.focus,
.btn-primary:focus {
  opacity: 0.8;
}

.bootstrap-select {
  width: 100%;
}

INPUT[type="checkbox"].styled,
INPUT[type="radio"].styled {
  margin: 0px;
  margin-right: 10px;
  border: 1px solid #275899;
  width: 15px;
  height: 15px;
  outline: 0px none;
  padding: 1px;
}

LABEL {
  font-weight: normal;
}

A {
  color: #275899;
  text-decoration: none;
}

A:hover {
  color: #ff6600;
  text-decoration: none;
}

A:focus {
  outline: 3px solid #000000;
}

/* Usunięcie profilera*/

A.copy,
A.copy:link,
A.copy:visited,
A.copy:active {
  font-family: Trebuchet, Arial, serif;
  color: #37415e;
  font-weight: normal;
  font-size: 9px;
  text-decoration: none;
}

A.copy:hover,
A.copy:focus {
  color: #1a41b2;
  font-weight: normal;
  font-size: 9px;
}

A.md,
A.md:link,
A.md:visited,
A.md:active {
  font-family: Trebuchet, Arial, serif;
  color: #919191;
  font-size: 12px;
  font-weight: bold;
  text-decoration: none;
}

A.md:hover,
A.md:focus {
  color: #000000;
  text-decoration: none;
}

.serwis {
  font-size: 9px;
  color: #707070;
}

.t1 {
  background-color: #616161;
}

.t2 {
  overflow: auto;
  background-color: #204f8b;
  color: #ffffff;
  background-image: url("../img/t2.gif");
  background-position: top left;
  background-repeat: repeat-x;
}

.t3 {
  background-color: #dfdddf;
}

.t4 {
  background-color: #f37e1b;
}

.t5 {
  color: #ffffff;
  background-image: url("../img/tmenu1.gif");
  background-position: top left;
  background-repeat: repeat-x;
}

.t6 {
  background-color: #c9c9cc;
}

.banners {
  text-align: center;
}

.banners IMG {
  border: 1px solid #cccccc;
}

/* table empty elements  */
.nodata {
  font-weight: bold;
  padding: 15px;
  text-align: center;
}

/* lewe menu */

#l_menu {
  border-bottom: 3px solid #dfdfdf;
}

.l_item1,
.l_item1:visited,
.l_item1:link,
.l_item1:active {
  font-weight: normal;
  display: block;
  font-size: 11px;
  font-family: Tahoma, Trebuchet, serif;
  color: #3f3f3f;
  text-align: left;
  padding-left: 25px;
  padding-right: 10px;
  padding-top: 4px;
  padding-bottom: 4px;

  background-image: url("../img/m1.gif");
  background-position: top left;
  background-repeat: no-repeat;

  border-left: 4px solid #dfdfdf;
  border-right: 4px solid #dfdfdf;
  border-bottom: 1px solid #dfdfdf;
}

.l_item1:hover,
.l_item1:focus {
  color: #000000;
  background-color: #f7f6f7;
  background-image: url("../img/m2.gif");
  background-position: top left;
  background-repeat: no-repeat;
}

.l_item2,
.l_item2:visited,
.l_item2:link,
.l_item2:active {
  font-weight: normal;
  display: block;
  font-size: 11px;
  font-family: Tahoma, Trebuchet, serif;
  color: #3f3f3f;
  text-align: left;
  padding-left: 33px;
  padding-right: 10px;
  padding-top: 4px;
  padding-bottom: 4px;

  background-color: #ffffff;
  background-image: url("../img/m21.gif");
  background-position: top left;
  background-repeat: no-repeat;
  text-decoration: none;
}

.l_item2:hover,
.l_item2:focus {
  color: #000000;
  background-color: #f7f6f7;
  background-image: url("../img/m22.gif");
  background-position: top left;
  background-repeat: no-repeat;
}

#columns {
  clear: both;
  padding-top: 5px;
  text-align: left;
}

#left_k {
  width: 210px;
  text-align: left;
  overflow-x: hidden;
  float: left;
}

#center_k {
  width: 580px;
  text-align: center;
  float: left;
  overflow-x: hidden;
}

#center_k2 {
  width: 570px;
  text-align: center;
  margin: auto;
}

#right_k {
  width: 190px;
  text-align: left;
  float: left;
  overflow-x: hidden;
}

#main_k {
  width: 770px;
  text-align: left;
  float: left;
  overflow: hidden;
}

#main_k2 {
  width: 765px;
  text-align: left;
  float: right;
}

.menu_item a {
  display: block;
  background: none;
  padding: 6px 2px 6px 5px;
  font-weight: normal;
  background: #ffffff;
  border-bottom: 1px solid #cccccc;
}

.menu_item a:hover,
.menu_item a:focus,
.menu_item2 a {
  display: block;
  padding: 6px 2px 6px 5px;
  background: #f2f2f2;
  text-decoration: none;
  border-bottom: 1px solid #000000;
}

.menu_item IMG,
.menu_item2 IMG {
  margin-bottom: -3px;
  margin-right: 3px;
}

#glowne_menu {
  padding: 0px;
  margin: 0px;
  width: 100%;
  display: block;
  height: 40px;
  list-style-type: none;
}

#glowne_menu LI {
  display: block;
  list-style-type: none;
  float: left;
}

#glowne_menu A,
#glowne_menu A:link,
#glowne_menu A:visited,
#glowne_menu A:active {
  display: block;
  float: left;
  font-size: 14px;
  background-color: #204f8b;
  color: #ffffff;
  border-right: 1px solid #275798;
  border-left: 1px solid #0c244f;
  padding-left: 15px;
  padding-right: 15px;
  height: 40px;
  line-height: 40px;
  text-decoration: none;
}

#glowne_menu A:hover,
#glowne_menu A:focus {
  color: #ffffff;
  text-decoration: none;
  background-color: #2b62ac;
  background-image: none;
}

.glosy {
  background-position: top left;
  background-repeat: repeat-x;
  width: 75px;
  height: 15px;
  float: left;
}

.glosy0 {
  background-image: url("../img/sys/glosy0.gif");
}

.glosy1 {
  background-image: url("../img/sys/glosy1.gif");
}

.glosy2 {
  background-image: url("../img/sys/glosy2.gif");
}

.glosy_wartosc {
  float: left;
  font-size: 12px;
  padding-left: 7px;
  font-weight: bold;
  height: 15px;
  line-height: 15px;
}

@media only screen and (max-width: 480px) {
  #facebook_pan {
    background: #3b5998;
    float: none;
    padding: 0;
    position: static;
    right: auto;
    top: auto;
    width: 100%;
    z-index: 1;
  }

  #facebook_pan2 {
    margin-left: 0px;
    overflow: hidden;
  }

  #menu1 A.item1 {
    padding-left: 12px;
    padding-right: 12px;
    font-size: 15px;
  }

  #g_menu,
  #menu1 {
    overflow-y: auto;
    background: #ffffff;
    width: 100%;
    display: block;
  }

  #mobnav-btn {
    display: block;
    clear: both;
  }

  .mobnav-subarrow {
    display: block;
    background-color: #0a5ba1;
    opacity: 0.3;
    height: 20px;
    width: 30px;
    background-position: top left !important;
    position: absolute;
    top: 8px;
    right: 10px;
    border-radius: 5px;
    cursor: pointer;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.1s ease-in-out;
  }

  #menu1 {
    width: 100% !important;
    display: none;
  }

  #menu1.xactive {
    display: block !important;
  }

  #menu1 {
    float: none;
    text-align: left;
    width: 100%;
  }

  #menu1 > LI {
    float: none;
    width: 100%;
    position: static;
    border-right: 0px none;
    background: #ffffff;
  }

  #menu1 UL {
    position: static !important;
    display: block !important;
    width: 100%;
  }

  #menu1 UL LI {
    width: 100%;
    white-space: normal;
    text-align: left;
  }
}

@media only screen and (max-width: 768px) and (min-width: 481px) {
  #facebook_pan {
    background: #3b5998;
    float: none;
    padding: 0;
    position: static;
    right: auto;
    top: auto;
    width: 100%;
    z-index: 1;
  }

  #facebook_pan2 {
    margin-left: 0px;
    overflow: hidden;
  }
}

@media print {
  * {
    background: transparent !important;
    color: #000 !important; /* Black prints faster: h5bp.com/s */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group; /* h5bp.com/t */
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  @page {
    margin: 0.5cm;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }

  DIV {
    max-width: 100%;
  }
}

/* Layout elements moved from tpl/layout/portal.php and helpers/layout_portal.php (inline styles, 2.11) */
.portal-top {
  overflow: auto;
  height: 40px;
}

.portal-top__user {
  width: 450px;
  max-width: 100%;
  float: left;
  text-align: right;
  padding-top: 12px;
}

.portal-top__user a {
  color: #ffffcf;
}

.portal-gap {
  font-size: 1px;
  height: 10px;
}

.portal-line {
  font-size: 1px;
  height: 1px;
}

.portal-menu {
  height: 28px;
  border-bottom: 1px solid #cccccc;
}

.portal-bottom {
  font-size: 1px;
  height: 3px;
}

.user-card__name,
.user-card__city {
  padding-bottom: 3px;
}

.user-card__links {
  line-height: 25px;
  height: 25px;
}

/* Result bars (polls, statistics) in the portal colour – see components.css */
.result-bar {
  --result-bar-color: #275899;
}
