/*
Theme Name: Jackmed
Author: Mateusz Cygan
Author URI: http://matcygan.com
Description: Szablon na potrzeby strony JackMed.pl
Version: 1.0
*/
/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

div {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

.wrapper {
  width: 100%;
  max-width: 1180px;
  padding: 0 20px;
  margin: 0 auto;
}

.wrapper .container, .wrapper .container-resp {
  margin-left: -1%;
  margin-right: -1%;
}

.wrapper:after {
  content: '';
  display: block;
  clear: both;
}

.container:after, .container-resp:after {
  content: '';
  display: block;
  clear: both;
}

.col1, .col1-2, .col1-3, .col1-4, .col2-3, .col3-4, .col1-5, .col2-5, .col3-5, .col4-5, .col1-6, .col5-6 {
  float: left;
  margin-left: 1%;
  box-sizing: border-box;
  margin-right: 1%;
  min-height: 1px;
}

.col1 {
  width: 98%;
}

.col1:after {
  content: '';
  display: block;
  clear: both;
}

.col1-2 {
  width: 48%;
}

.col1-3 {
  width: 31.333%;
}

.col1-4 {
  width: 23%;
}

.col1-5 {
  width: 18%;
}

.col1-6 {
  width: 14.666%;
}

.col2-3 {
  width: 64.666%;
}

.col3-4 {
  width: 73%;
}

.col2-5 {
  width: 38%;
}

.col3-5 {
  width: 58%;
}

.col4-5 {
  width: 78%;
}

.col5-6 {
  width: 81.333%;
}

@media (max-width: 980px) {
  .container-resp .col1-3, .container-resp .col1-4, .container-resp .col2-3, .container-resp .col3-4, .container-resp .col1-5, .container-resp .col2-5, .container-resp .col3-5, .container-resp .col4-5, .container-resp .col1-6, .container-resp .col5-6 {
    width: 48%;
  }
}

@media (max-width: 580px) {
  .container-resp .col1-2, .container-resp .col1-3, .container-resp .col1-4, .container-resp .col2-3, .container-resp .col3-4, .container-resp .col1-5, .container-resp .col2-5, .container-resp .col3-5, .container-resp .col4-5, .container-resp .col1-6, .container-resp .col5-6 {
    width: 98%;
  }
}

@media (max-width: 580px) {
  .none-sm {
    display: none;
  }
}

@media (max-width: 980px) {
  .none-md {
    display: none;
  }
}

.none {
  display: none !important;
}

.clear:after, .clearfix:after {
  content: '';
  display: block;
  clear: both;
}

::-moz-selection {
  color: #dbf6fb;
  background: #007aba;
}

::selection {
  color: #dbf6fb;
  background: #007aba;
}

body {
  margin: 0;
  font-family: 'Source Sans Pro', sans-serif;
  background-color: #fff;
  color: #07496d;
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: #007aba;
  text-decoration: none;
}

h1, h2, h3, h4, h5 {
  margin-top: 0;
  margin-bottom: 0.6em;
  font-weight: bold;
  color: #007aba;
}

h1 {
  color: #07496d;
  font-size: 2.4em;
  line-height: 1.1;
}

h2 {
  font-size: 2em;
  line-height: 1.2;
}

h3 {
  font-size: 1.5em;
  line-height: 1.2;
}

h4 {
  font-size: 1.2em;
}

h5 {
  color: #07496d;
  font-size: 1.1em;
  font-weight: normal;
}

p {
  margin-bottom: 1em;
  margin-top: 0;
}

ul {
  margin: 0 0 1em 0;
  padding: 0 0 0 20px;
}

ol {
  margin: 0 0 1em 0;
}

table {
  border: 1px solid #007aba;
  border-top: 3px solid #07496d;
  border-bottom: 3px solid #07496d;
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1em;
}

table tr {
  background: #fff;
}

table tr:nth-child(odd) {
  background: #dbf6fb;
}

table td {
  padding: 10px;
  border: 1px solid #07496d;
}

.site-content {
  padding-top: 85px;
  padding-bottom: 25px;
}

.page-content {
  padding-top: 20px;
  padding-bottom: 20px;
}

.child-pages {
  padding-top: 20px;
  border-top: 1px solid #cad2d8;
}

.btn-primary {
  display: inline-block;
  padding: 0.3em 50px 0.3em 1em;
  padding-right: calc(35px + 1em);
  background: url("img/btn-bg.jpg") no-repeat right center #007aba;
  transition: all 0.2s ease-in;
  cursor: pointer;
  color: #fff;
  text-transform: uppercase;
}

.btn-primary:hover {
  background-color: #005987;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 85px;
  border-bottom: 1px solid #cad2d8;
  background: #fff;
  border-bottom: 1px solid #cad2d8;
}

.header:after {
  content: '';
  display: block;
  clear: both;
}

.main-logo {
  line-height: 85px;
}

.main-logo img {
  vertical-align: middle;
}

@media (max-width: 1024px) {
  #menu-toggle {
    display: block;
    width: 30px;
    height: 30px;
    position: absolute;
    right: 10px;
    top: 30px;
    background: url("img/menu-toggle.png") no-repeat center center;
  }
  .main-logo {
    margin-right: 55px;
    display: block;
    max-width: 300px;
  }
  .header {
    overflow: hidden;
    transition: all 0.2s ease-in;
  }
  .header.header-open {
    height: auto;
    height: 100vh;
    overflow: auto;
    border-bottom: 0;
  }
  .header-menu {
    padding: 0;
    margin: 0;
    border-top: 1px solid #cad2d8;
  }
  .header-menu ul {
    padding: 0;
    margin: 0;
  }
  .header-menu li {
    list-style-type: none;
  }
  .header-menu li a {
    display: block;
    padding: 10px 15px;
    text-align: center;
    border-bottom: 1px solid #cad2d8;
    font-weight: bold;
    font-size: 1.1em;
  }
  .header-menu .sub-menu a {
    font-size: 1em;
    font-weight: normal;
    color: #07496d;
  }
}

@media (min-width: 1024px) {
  #menu-toggle {
    display: none;
  }
  .menu-menu-glowne-container {
    float: right;
  }
  .header-menu {
    padding: 0;
  }
  .header-menu > li {
    display: table-cell;
    position: relative;
  }
  .header-menu > li > a {
    display: block;
    line-height: 85px;
    padding: 0 20px;
    white-space: nowrap;
    text-transform: uppercase;
    color: #07496d;
    font-weight: bold;
    border-right: 1px solid #cad2d8;
    text-align: center;
    min-width: 70px;
    transition: all 0.2s ease-in;
    cursor: pointer;
  }
  .header-menu > li > a:hover {
    background-color: #dbf6fb;
  }
  .header-menu > li > ul {
    display: none;
  }
  .header-menu > li:first-child > a {
    border-left: 1px solid #cad2d8;
  }
  .header-menu .menu-item-has-children > a {
    background-image: url("img/caret-down.png");
    background-repeat: no-repeat;
    background-position: 50% 65px;
    cursor: default;
  }
  .header-menu .menu-item-has-children > a:hover {
    border-bottom: 1px solid #07496d;
  }
  .header-menu > li:hover ul {
    display: block;
    padding: 0;
    position: absolute;
    top: 85px;
    text-align: center;
    background: #fff;
    border-left: 1px solid #cad2d8;
    border-right: 1px solid #cad2d8;
    left: 0;
    left: calc(-130px + 50%);
  }
  .header-menu > li:hover ul li {
    list-style-type: none;
    width: 260px;
    border-bottom: 1px solid #cad2d8;
  }
  .header-menu > li:hover ul li:last-child {
    border-bottom: 2px solid #007aba;
  }
  .header-menu > li:hover ul li a {
    color: #07496d;
    transition: all 0.2s ease-in;
    cursor: pointer;
    display: block;
    padding: 5px 10px;
  }
  .header-menu > li:hover ul li a:hover {
    background: #dbf6fb;
  }
}

.footer {
  background: #07496d;
  width: 100%;
  padding: 10px 0;
  color: #fff;
  font-size: 0.8em;
}

@media (max-width: 980px) {
  .footer .col1-2 {
    width: 100%;
    margin: 10px 0;
    padding: 0 10px;
    text-align: center !important;
  }
}

.footer-widget {
  text-align: right;
  color: #fff;
}

.footer-widget h5 {
  display: inline-block;
  color: #fff;
  margin: 0;
  font-weight: bold;
  text-transform: uppercase;
  margin-right: 10px;
}

.footer-widget .textwidget {
  display: inline-block;
}

.copyright {
  text-transform: uppercase;
  opacity: 0.8;
}

.banner {
  width: 100%;
  background: #dbf6fb;
  border-bottom: 1px solid #cad2d8;
}

.banner .wrapper {
  background: url("img/banner-bg.png") no-repeat right center;
  min-height: 150px;
  padding-bottom: 15px;
}

@media (max-width: 780px) {
  .banner .wrapper {
    background-image: none;
  }
}

@media (max-width: 1024px) {
  .banner .wrapper {
    background-position: 200% center;
  }
}

.banner h1, .banner h2, .banner h3, .banner h4, .banner h5, .banner p {
  max-width: 420px;
}

.banner .parent-title {
  text-transform: uppercase;
  margin-bottom: 0;
}

.banner .page-title {
  margin-bottom: 0;
}

.banner:after {
  content: '';
  display: block;
  clear: both;
}

.page-titles .page-title:first-child {
  padding-top: 50px;
}

.page-titles .parent-title:first-child {
  padding-top: 25px;
}

.home-banner .wrapper {
  padding-bottom: 30px;
}

.home-banner h5 {
  font-size: 1.1em;
  margin-bottom: 0;
  padding-top: 30px;
}

.home-banner h5 + h5 {
  color: #007aba;
  padding-top: 0;
  padding-bottom: 20px;
  border-bottom: 1px solid #007aba;
  margin-bottom: 20px;
}

.home-banner h4 {
  text-transform: uppercase;
  font-size: 1.3em;
  margin-bottom: 0;
}

.home-banner h1 {
  padding-bottom: 30px;
  border-bottom: 1px solid #007aba;
  margin-bottom: 0;
}

.home-banner .btn-primary {
  font-size: 1.2em;
}

.sidebar {
  padding-top: 15px;
  border-top: 1px solid #cad2d8;
  margin-top: -1px;
}

.sidebar:after {
  content: '';
  display: block;
  clear: both;
}

@media (max-width: 980px) {
  .sidebar .col1-3 {
    width: 100%;
    margin: 20px 0;
  }
}

.sidebar .menu a {
  color: #07496d;
}

.sidebar .menu a:hover {
  text-decoration: underline;
}

.sidebar .textwidget p {
  margin-bottom: 0;
  text-align: justify;
  padding-bottom: 20px;
  border-bottom: 1px solid #07496d;
}

.contact-widget {
  padding: 20px;
  background: url("img/contact-bg.jpg") no-repeat center center #07496d;
  background-size: cover;
  margin-top: -15px;
  color: #fff;
}

.contact-widget h2 {
  color: #fff;
  padding-bottom: 20px;
  border-bottom: 1px solid #fff;
}

.contact-widget > div {
  font-size: 1.1em;
  padding-bottom: 20px;
}
