@charset "UTF-8";
sup {
  vertical-align: baseline;
  position: relative;
  top: -0.5em;
  font-size: 80%;
}

/*::selection {
	background-color: transparent !important;
	color: inherit  !important;
}*/
#header {
  box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

/* logo */
#header .logo img {
  height: 80px;
  width: auto;
  margin: 20px;
}

.image-overlay {
  display: none !important;
}

.avia-image-overlay-wrap a.avia_image .image-overlay {
  display: none !important;
}

/* main menu */
.avia-menu-text {
  text-transform: uppercase;
}

.avia-menu-fx {
  bottom: 40px;
  width: 80%;
  margin: 0 10%;
}

/*  headings */
h2 {
  font-weight: 300 !important;
  font-size: 22px;
  text-transform: uppercase;
}

.av-special-heading .av-special-heading-tag .heading-wrap:before,
.av-special-heading .av-special-heading-tag .heading-wrap:after {
  border-color: #000 !important;
}

.section-spaced .content,
.flex_column_div.section-spaced {
  box-sizing: border-box;
  padding: 25px 100px !important;
}
@media only screen and (max-width: 960px) {
  .section-spaced .content,
.flex_column_div.section-spaced {
    padding: 20px 50px !important;
  }
}
@media only screen and (max-width: 480px) {
  .section-spaced .content,
.flex_column_div.section-spaced {
    padding: 10px 10px !important;
  }
}

/* gallery hover */
.avia-gallery .avia-gallery-thumb a:hover {
  opacity: 1 !important;
}

/*  background graphics */
.av_default_container_wrap.main_color,
.avia-section.main_color,
.main_color,
#main .container {
  background-color: transparent !important;
  border-color: transparent !important;
}

#main {
  background: url(../img/magnapharm-graphics.png) calc(50% - 800px) 500px no-repeat, url(../img/magnapharm-graphics.png) left calc(50% + 800px) bottom 100px no-repeat;
}
#main .container {
  background-color: #fff;
}

@media only screen and (min-width: 1580px) {
  #main {
    background: url(../img/magnapharm-graphics.png) -150px 500px no-repeat, url(../img/magnapharm-graphics.png) right -150px bottom 100px no-repeat;
  }
}
/* header social links */
#top #wrap_all .av-social-link-facebook a,
#top #wrap_all .av-social-link-facebook:hover a {
  color: #fff;
  background-color: #0370b7;
}

#top #wrap_all .av-social-link-facebook:hover a {
  background-color: #388ecc;
}

/* footer & socket */
#socket .container {
  background-color: #d9eaf4 !important;
  /*text-align: right;*/
}
#socket .container .copyright {
  /*float: right;*/
}
@media only screen and (max-width: 960px) {
  #socket .container .copyright {
    float: none;
    display: block;
    text-align: center;
  }
  #socket .container .menu li {
    float: none;
    text-align: center;
    line-height: 2em;
  }
}

/* lekarny */
.lekarny_container {
  display: flex;
  flex-wrap: no-wrap;
  justify-content: center;
}
@media only screen and (max-width: 960px) {
  .lekarny_container {
    flex-wrap: wrap;
  }
}
.lekarny_container .lekarna_box {
  width: 20%;
  max-width: 170px;
  padding: 20px;
}
.lekarny_container .lekarna_box img {
  max-width: 100%;
  height: auto;
}
@media only screen and (max-width: 960px) {
  .lekarny_container .lekarna_box {
    padding: 10px;
  }
}
@media only screen and (max-width: 767px) {
  .lekarny_container .lekarna_box {
    width: 30%;
  }
}

h3.product_title {
  color: #0e4194 !important;
  font-weight: normal;
  margin-top: 1.25em;
  margin-bottom: 0em !important;
}

/* produkty */
.products_list_container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.products_list_container .product_list_box {
  display: block;
  transition: all 0.2s;
  line-height: 0 !important;
  width: 30%;
  margin: 0 1.66% 3.33%;
  /*text-align: center;*/
}
.products_list_container .product_list_box:hover {
  transform: scale(1.02);
  -webkit-box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.2);
}
@media only screen and (max-width: 960px) {
  .products_list_container .product_list_box {
    width: 48%;
    margin: 0 1% 2%;
  }
}
@media only screen and (max-width: 767px) {
  .products_list_container .product_list_box {
    width: 100%;
    margin: 0 0 2%;
  }
}
.products_list_container .product_list_box .product-thumb-img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto;
}
.products_list_container .product_list_box .image-overlay {
  display: none !important;
}

.product_box {
  margin: 10px !important;
}
.product_box p {
  margin: 0 !important;
}
.product_box img.aligncenter {
  margin: 0px auto 5px !important;
  padding: 0 !important;
}

/* úprava galerie */
.avia-gallery .avia-gallery-thumb {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
}
@media only screen and (max-width: 960px) {
  .avia-gallery .avia-gallery-thumb a {
    width: 50% !important;
  }
}
@media only screen and (max-width: 767px) {
  .avia-gallery .avia-gallery-thumb a {
    width: 100% !important;
  }
}

@media only screen and (max-width: 767px) {
  .responsive #top #wrap_all .flex_column p {
    text-align: center;
  }
}
/*================================
=            Rosakalm            =
================================*/
.rosakalm h2 {
  color: #ed6f87 !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  font-size: 25px;
}
.rosakalm h3 {
  text-transform: uppercase;
  font-size: 16px !important;
}
.rosakalm strong {
  color: #666666 !important;
}
.rosakalm ul li {
  list-style: none;
  padding-left: 10px;
  position: relative;
  margin-left: 8px;
}
.rosakalm ul li:before {
  content: " ";
  width: 0;
  heigt: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #65c2c4;
  position: absolute;
  left: 0;
  top: 10px;
}

.rosakalm-bg {
  background-color: #ed6f87;
}
.rosakalm-bg h2 {
  color: #fff !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  font-size: 25px;
}
.rosakalm-bg h3 {
  color: #fff !important;
  text-transform: uppercase;
  font-size: 16px !important;
}

.rosaklm-bg, .rosakalm-bg {
  background: #ed6f87 !important;
  color: #fff !important;
}

.rosakalm-red, .rosakalm-red strong, strong.rosakalm-red {
  color: #ed6f87 !important;
}

.rosakalm-green, .rosakalm-green strong {
  color: #65c2c4 !important;
}

.rosaklm-bg-green {
  background: #65c2c4 !important;
  color: #fff;
}

.rosakalm-box, .rk-box {
  padding: 20px;
  margin-top: 5px;
  margin-bottom: 40px;
}

.rosakalm-box table tr, .rosakalm-box table td {
  border: 0;
  background: #fff !important;
  font-size: 16px;
  color: #666 !important;
}
.rosakalm-box table td.big {
  font-size: 25px;
  color: #ed6f87 !important;
  white-space: nowrap;
}

i.arrow {
  width: 16px;
}
i.arrow:before {
  content: " ";
  display: block;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 8px solid #65c2c4;
}

.minh {
  min-height: 200px;
}

.bg-flower {
  color: #fff;
  padding-right: 55%;
  background: #65c2c4 url(https://www.magnapharm.cz/wp-content/uploads/2021/03/hvezdnicka.png) !important;
  background-position: right center !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
}
.bg-flower ul li {
  line-height: 18px;
}
.bg-flower ul li:before {
  border: 0 !important;
  top: 3px;
  content: "-";
}
@media only screen and (max-width: 767px) {
  .bg-flower {
    padding-right: 20px;
    padding-bottom: 250px !important;
    background-position: center bottom !important;
  }
}

.bg-rkcomplex {
  color: #fff;
  padding-right: 25%;
  background: #ed6f87 url(https://www.magnapharm.cz/wp-content/uploads/2021/03/rk-komplex.png) !important;
  background-position: right 30px center !important;
  /*background-size: contain !important;*/
  background-repeat: no-repeat !important;
}
@media only screen and (max-width: 767px) {
  .bg-rkcomplex {
    padding-right: 20px;
    padding-bottom: 200px !important;
    background-position: center bottom 30px !important;
  }
}
.bg-rkcomplex ul li {
  line-height: 16px;
}
.bg-rkcomplex ul li:before {
  border: 0 !important;
  top: 3px;
  content: "-";
}

h3.rosakalm-green {
  font-size: 25px !important;
  text-transform: uppercase;
  font-weight: 500;
}
h3.rosakalm-green strong {
  font-weight: 700;
  color: #65c2c4 !important;
}

.rosakalm-border {
  border: 1px solid #ed6f87 !important;
}

.rosakalm-bg-light {
  background: #fdecef !important;
}

.rosakal-title.av-special-heading {
  padding-top: 40px;
}
.rosakal-title.av-special-heading .av-special-heading-tag {
  float: none;
  color: #ed6f87;
  text-transform: uppercase;
  margin-bottom: 3px;
  font-size: 24px;
  line-height: 30px;
}
.rosakal-title.av-special-heading .special-heading-border {
  border-top: 1px solid #ed6f87;
  height: 27px;
  padding: 0;
  padding-left: 10px;
}
.rosakal-title.av-special-heading .special-heading-border .special-heading-inner-border {
  width: 0;
  height: 0;
  border-left: 75px solid transparent;
  border-right: 75px solid transparent;
  border-top: 25px solid #ed6f87;
  top: 0;
  opacity: 1;
}

.roskimg {
  position: absolute;
  top: -100px;
}
@media only screen and (max-width: 767px) {
  .roskimg {
    position: static;
    top: 0;
  }
}

.rosnumber {
  position: absolute;
  top: -50px;
}
@media only screen and (max-width: 767px) {
  .rosnumber {
    position: static;
    top: 0;
  }
}

@media only screen and (max-width: 767px) {
  .mobile-center {
    text-align: center;
  }
  .mobile-center .alignright {
    float: none;
    margin: 0 auto;
    /*display: block;
    position: relative;*/
  }
  .mobile-center .alignleft {
    float: none;
    margin: 0 auto;
    /*display: block;
    position: relative;*/
  }
}
/*===============================
=            Excilor            =
===============================*/
#excilor-section #excilor-banner {
  min-height: 500px;
  position: absolute;
  z-index: 1000;
}

/*====================================
=            Six columns           =
====================================*/
.section-6col .flex_column.av_one_fifth {
  width: 14.5%;
  margin-left: 2%;
}

.section-6col .flex_column.av_one_fifth.first {
  clear: none;
  margin-left: 2%;
}

.section-6col .flex_column.av_one_fifth:nth-child(6) {
  margin-top: 0 !important;
}

/*================================
=            Filmogel            =
================================*/
.postid-420 #scroll-top-link,
.postid-422 #scroll-top-link {
  display: none;
}
.postid-420 .av-content-full,
.postid-422 .av-content-full {
  padding-bottom: 0px !important;
  padding-top: 0px !important;
}

.filmogel b, .filmogel strong {
  color: #000 !important;
}
.filmogel h2 {
  color: #006ab4 !important;
}
.filmogel h2 {
  font-weight: bold !important;
}
.filmogel h3 span {
  font-weight: bold;
  text-transform: uppercase;
}
.filmogel ul li {
  list-style: none;
  padding-left: 10px;
  position: relative;
  margin-left: 8px;
}
.filmogel ul li:before {
  content: " ";
  width: 0;
  heigt: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #006ab4;
  position: absolute;
  left: 0;
  top: 10px;
}

.filmogel-btn {
  position: relative;
}
.filmogel-btn:before {
  position: absolute;
  width: 100%;
  left: 0;
  top: 25px;
  content: " ";
  border: 1px solid #006ab4;
}
.filmogel-btn .avia-button {
  -moz-border-radius: 10px;
  -webkit--radius: 10px;
  border-radius: 10px;
  border: 0;
}
.filmogel-btn .avia-button:hover {
  opacity: 1;
  border: 0;
}

.btn-top-wrapper {
  border-bottom: 2px solid #006ab4 !important;
  padding-top: 30px;
  margin-bottom: 20px;
  overflow: auto;
  /*
  	&:after {
  	  content: "";
  	  clear: both;
  	  display: table;
  	}*/
}
.btn-top-wrapper a {
  display: block;
  position: relative;
  float: right;
  width: 150px;
  height: 25px;
}
.btn-top-wrapper a:before {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  border-bottom: 25px solid #006ab4 !important;
  border-left: 75px solid transparent !important;
  border-right: 75px solid transparent !important;
  overflow: none;
}
.btn-top-wrapper a span {
  display: inline-block;
  background-color: #006ab4;
  color: #fff !important;
  position: relative;
  left: 58px;
  top: 4px;
  height: 15px;
  line-height: 15px;
  overflow: hidden;
  /*width: 40px;
  height: 10px;
  left: -15px;
  top: 4px;*/
}

.grid-box {
  width: 400px;
  height: 230px;
}

body .av-special-heading.elegant-centered .av-special-heading-tag {
	padding-top: 10px!important;
}