/*
Theme Name: Medrecki
*/


@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700,800&display=swap');
body {
    overflow-x: hidden;
    font-family: 'Open Sans', sans-serif;
}/*
html{
	margin-top:0!important;
}*/
p {
    line-height: 1.75;
}

a {
    color: #8d288f;
}

a:hover {
    color: #8d288f;
}
.zespol{
	padding:20px 0;
}
.text-primary {
    color: #8d288f !important;
}
.bg-dark{
    background-color: #231f20;
    color:#fff;
}
.bg-grey{
    background-color: #f5f5f5;
}
.purple{
    color:#8d288f;
}
.dropdown-menu{
	left:auto!important;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    font-family: 'Open Sans', sans-serif;
}

.page-section {
    padding: 100px 0;
}

.page-section h2.section-heading {
    font-size: 40px;
    margin-top: 0;
    margin-bottom: 15px;
}

.page-section h3.section-subheading {
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 75px;
    text-transform: none;
    font-family: 'Open Sans', sans-serif;
}

@media (min-width: 768px) {
    section {
        padding: 80px 0;
    }
}

::-moz-selection {
    background: #8d288f;
    text-shadow: none;
}

::selection {
    background: #8d288f;
    text-shadow: none;
}

img::-moz-selection {
    background: transparent;
}

img::selection {
    background: transparent;
}

img::-moz-selection {
    background: transparent;
}

.btn {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
}

.btn-xl {
    font-size: 18px;
    padding: 20px 40px;
}

.btn-primary {
    background-color: #8d288f;
    padding-left: 25px;
    padding-right: 25px;
    border-color: #771979;
}

.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
    background-color: #771979 !important;
    border-color: #771979 !important;
    color: white;
}
.btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #771979;
	opacity:1;
    border-color: #771979;
}
.btn-primary:active, .btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(254, 209, 55, 0.5) !important;
}
.btn-primary2 {
    background-color: #343a40 ;
    padding-left: 25px;
    padding-right: 25px;
    border-color: #771979;
}

.btn-primary2:active, .btn-primary2:focus, .btn-primary2:hover {
    background-color: #000 !important;
    border-color: #000 !important;
    color: white;
}
.btn-primary2.disabled, .btn-primary2:disabled {
    color: #fff;
    background-color: #343a40 ;
	opacity:1;
    border-color: #343a40 ;
}
.btn-primary2:active, .btn-primary2:focus {
    box-shadow: 0 0 0 0.2rem rgba(254, 209, 55, 0.5) !important;
}
#mainNav {
    background-color: #212529;
}

#mainNav .navbar-toggler {
    font-size: 12px;
    right: 0;
    padding: 13px;
    text-transform: uppercase;
    color: white;
    border: 0;
    background-color: #8d288f;
    font-family: 'Open Sans', sans-serif;
}

#mainNav .navbar-brand {
    color: #8d288f;

}

#mainNav .navbar-brand.active, #mainNav .navbar-brand:active, #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
    color: #8d288f;
}
/*
#mainNav .navbar-nav .nav-item .nav-link {
    font-size: 90%;
    font-weight: 400;
    padding: 0.75em 0;
    letter-spacing: 1px;
    color: white;
}*/
#mainNav .navbar-nav .nav-item .nav-link {
    font-size: 90%;
    font-weight: 400;
    padding: 0.75em 0;
    letter-spacing: 1px;
    color: #020203;
}
#mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
    color: #8d288f;
}

@media (min-width: 992px) {
  /*  #mainNav {
        padding-top: 25px;
        padding-bottom: 25px;
        transition: padding-top 0.3s, padding-bottom 0.3s;
        border: none;
        background-color: rgba(0,0,0,0.5);
    }*/
	   #mainNav {
        padding-top: 25px;
        padding-bottom: 25px;
        transition: padding-top 0.3s, padding-bottom 0.3s;
        border: none;
        background-color: rgba(255,255,255,0.9);
    }
    #mainNav .navbar-brand {
        font-size: 1.75em;
        transition: all 0.3s;
    }
    #mainNav .navbar-nav .nav-item .nav-link {
        padding: 1.1em 1em !important;
    }
    #mainNav.navbar-shrink {
        padding-top: 0;
        padding-bottom: 0;
        background-color: #fff;
        /*background-color: #000;*/
    }
    #mainNav.navbar-shrink .navbar-brand {
        font-size: 1.25em;
        padding: 12px 0;
    }
}

header.pagehead {
    background-color: #020203;
    padding:50px 0;
}
.title-section-page{
    text-align: left;
}
.title-section-page h2{
    border-left: 3px solid #8d288f;
    text-transform: uppercase;
    padding-left: 20px;
    margin-bottom: 30px;
}
header.masthead .wpcf7-list-item-label a{
	color:#fff;
	text-decoration:underline;
}
header.masthead {

    color: white;
    background-image: url("img/header-bg2.jpg");
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
    background-color: #020203;
}

header.masthead .intro-text {
    padding-top: 120px;
    padding-bottom: 100px;
}

header.masthead .intro-text .intro-lead-in {
    font-size: 22px;
    /*font-style: italic;*/
    line-height: 22px;
    margin-bottom: 25px;

}

header.masthead .intro-text .intro-heading {
    font-size: 50px;
    font-weight: 700;
    line-height: 50px;
    margin-bottom: 25px;

}
.masthead h1{
	font-size:30px;
	margin-bottom:50px;
}
.masthead h1 .bg_h1{
	font-size:50px;
	background:#313131;
line-height: 70px;
}
.masthead h2{
	font-size:18px;
}
.masthead h2 span{
	font-size:28px;
}
.home-form{
    width: 100%;
    color:#343434;
    border:solid 4px #706974;
    padding:15px;
    background-color: #fff;
    border-radius: 8px;
}
.home-form h2{
    font-size: 24px;
}
.home-form p{
    font-size: 16px;
}
.home-form .form-check{
    font-size: 10px;
}
.home-statics{
    text-align: center;
}
.home-statics .h{
    font-size: 48px;
    font-weight: bold;
    padding:0;
    margin: 0;
}
.home-statics .s{
    font-size: 16px;
    line-height: 20px;
    font-weight: bold;
    padding:0;
    margin: 0;
}
@media (min-width: 768px) {
    header.masthead .intro-text {
        padding-top: 150px;
        padding-bottom: 50px;
    }
    header.masthead .intro-text .intro-lead-in {
        font-size: 24px;
        font-style: normal;
        font-weight: bold;
        line-height: 30px;
        margin-bottom: 10px;
    }
    header.masthead .intro-text .intro-heading {
        font-size: 16px;
        font-weight: 400;
        line-height: 25px;
        margin-bottom: 10px;
    }
}/*
.phone-numer{
    display: block;
    position: absolute;
    top: -15px;
    float: right;
    right: 0;
    color:#fff;
    font-size: 20px;
    font-weight: bold;
}*/
.phone-numer{
    display: block;
    position: absolute;
    top: -15px;
    float: right;
    right: 0;
    color:#020203;
    font-size: 20px;
    font-weight: bold;
}
.phone-numer i{
    color: #8d288f;
}
.navbar-expand-lg .navbar-collapse{
    position: relative;
}
.navbar-shrink .phone-numer{
    display: none;
}
.title-section{
    width: 100%;
    margin:20px 0 50px;
    text-align: center;
}
.bg-dark .title-section h2{
    color:#fff;
}

.title-section h2{
    font-weight: bold;
    text-transform: uppercase;
    color:#2b1e3e;
    font-size: 30px;
}
.title-section hr{
    width:80px;
    margin:0 auto;
    height: 2px;
    background-color: #8d288f;
}
.form-control{
    border: 1px solid #8d288f;
}
figure{
    overflow: hidden;

    width: 100%;
}
figure img{
    padding: 20px;
    z-index: 9;
    position: relative;
}
figure .background{
    background-color: #8d288f;
    width: 80%;
    height: 225px;
    display: block;
    position: absolute;
    top: 0;
    padding: 0;
    margin: 0px 0 0 45px;
}
.btn-cirkle {
    background-color: #8d288f;
    color:#fff;
    padding: 3px 10px;
    border-radius: 60px;
}
.item-offer{
	margin-bottom:30px;
    text-align: center;

}
.item-offer p{
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
}

#onas{
    padding:0;
    margin-bottom: -11px;
}
#onas p{
    padding:5px 0;
    line-height: 24px;
    text-align: justify;

}

#onas .text-onas {
    padding-top:70px ;
}
#onas .text-onas img{
    margin-bottom: 20px;
}
#onas .img-onas{
    margin-top: -22px;

    position: relative;

    top: 11px;
}

.item-team h4{font-size: 18px;font-weight: bold; color:#333333;}
.item-team p{
    font-size: 16px;color:#333333;
}
.item-team a{
    color:  #8d288f;
    font-size: 16px;
}
.item-team .bg-team{
    padding:100px 0 30px;
    position: relative;
    top:-100px;
    text-align: center;
    background-color: #fff;
}
/*
.item-team  figure{
    overflow: hidden;

    width: 100%;
}*//*
.item-team  figure img{
    padding: 10px 20px;
    z-index: 9;
    position: relative;
}
.item-team  figure .background{
    background-color: #8d288f;
    width: 85%;
    height: 225px;
    display: block;
    position: absolute;
    top: 0;
    padding: 0;
    z-index: 8;
    margin: 0px 0 0 45px;
}
*/


#kontakt h5{
    margin-bottom: 30px;
    font-size: 18px;
}
#kontakt img{
    margin-bottom: 20px;
}
#kontakt p{
    margin-bottom: 10px;
    font-size: 16px;
}
footer{
    padding:30px;
}
footer ul li a{
    color:#fff;
}
footer ul{

    font-size: 14px;
    list-style: none;
}
footer ul li{
    padding: 5px 10px;
    display: inline;
}


.flag-icon{width:24px;
    height: 16px;
    background-size: cover;
    display: inline-block;}
.flag-icon-pl{
    background-image: url("img/flags/pl_flag.png");

}
.flag-icon-cz{
    background-image: url("img/flags/cz_flag.png");

}
.flag-icon-en{
    background-image: url("img/flags/en_flag.png");
}

.flag-icon-de{background-image: url("img/flags/de_flag.png");
}
.flag-icon-sl{background-image: url("img/flags/slo_flag.png");
}
.sidebar{
    margin-bottom: 30px;
}
.sidebar .card-header{
    background-color: #8d288f;
}
.sidebar .card-header h4{
    color:#fff;
    font-size: 28px;
    text-align: center;
}
.sidebar .card-body{
    background-color: #e8e7e8;
}
.sidebar .card-body p{
    text-align: center;
    font-size: 18px;
}
.sidebar .card-body .btn {
    text-align: center;
}
.sidebar .form-check{
    padding-left: 0;
}

.item-news{
  text-align: center;
	margin-bottom:20px;
}

.item-news {
	width:100%;
	position:relative;
	z-index:3;
	
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;

}
.box-bg{
		position:relative;
	z-index:2;
	background-color:#000;
}
.item-news:hover {
		cursor:pointer;
}
.item-news:hover .box-image{
	opacity:0.2;

}
.box-image {
    width: 100%;
    position: relative;
    z-index: 3;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    height: 230px;
}
.lupa{
	background-image:url(img/lupa.png);
	display:block;
	top:90px;
	left:40%;
	position:absolute;
	width:60px;
	height:60px;
}
figure .background {
    background-color: #8d288f;
     width:80%;
    height: 50%;
    display: block;
    position: absolute;
    top: -10px;
    padding: 0;
    margin: 0px 0 0 45px;
    right: 6px;
}
.item-news:hover .lupa{
	display:block;
}
.item-news{
    text-align: center;
    margin-bottom: 30px;
}
.item-news h4{
    padding:0 0px 0 0px;
    font-size: 18px;
    text-align: left;
    font-weight: bold;
}
.item-news p{
    padding:0 0px 0 0px;
    font-size: 14px;text-align: justify;
    font-weight: normal;
    line-height: 18px;
}
.item-news .btn-other{
    color:  #8d288f;
    text-transform: uppercase;
    font-size: 16px;text-align: center;
    font-weight: normal;
}
.zespol .box-image {
    width: 100%;
    position: relative;
    z-index: 3;
    background-size: cover !important;
    background-position: top !important;
    background-repeat: no-repeat !important;
    height: 230px;
}

.zespol  figure .background {
    background-color: #8d288f;
    width: 160px;
    height: 160px;
    display: block;
    position: absolute;
    top: -10px;
    padding: 0;
    margin: 0px 0 0 45px;
    right: 6px;
}
.zespol .card{
	border:0;
	margin-bottom:30px;
}
.zespol .card .card-body p{
	font-size:14px; text-align:justify;
	line-height:18px;
}
.item-offer .box-image {
    width: 100%;
    position: relative;
    z-index: 3;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    height: 280px;
}
.item-offer figure .background {
    background-color: #8d288f;
    width:80%;
    height: 70%;
    display: block;
    position: absolute;
    top: -8px;
    padding: 0;
    margin: 0px 0 0 45px;
    right: 6px;
	
}
.item-offer .lupa{
	background-image:url(img/lupa.png);
	display:block;
	top:120px;
	left:40%;
	position:absolute;
	width:60px;
	height:60px;
}
.item-offer:hover .lupa{
	display:block;
}
.item-offer:hover {
		cursor:pointer;
}
.item-offer:hover .box-image{
	opacity:0.2;

}



.item-team .box-bg{
		position:relative;
	z-index:2;
	background-color:#000;
	margin:20px;
}
.item-team:hover {
		cursor:pointer;
}
.item-team:hover .box-image{
	opacity:0.2;

}
.item-team .box-image {
    width: 100%;
margin: 0 auto;
    position: relative;
    z-index: 3;
    background-size: cover !important;
    background-position: top !important;
    background-repeat: no-repeat !important;
    height: 320px;
}
.item-team .lupa{
	background-image:url(img/lupa.png);
	display:block;
	top:90px;
	left:40%;
	position:absolute;
	width:60px;
	height:60px;
}
.item-team figure .background {
    background-color: #8d288f;
     width:80%;
    height: 47%;
    display: block;
    position: absolute;
    top: 4px;
    padding: 0;
    margin: 0px 0 0 45px;
    right: 6px;
	z-index: 1;
}
.item-team:hover .lupa{
	display:block;
}



#kontaktpage{
	padding-top:150px;
}
#kontaktpage #google-maps {
    height: 750px;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -2;
}

#kontakt #google-maps {
    height: 350px;
  
    top: 0;
    left: 0;
    width: 100%;
}

#kontaktpage .frame{
	padding: 30px 20px;
	background:#8d288f;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
}

#kontaktpage .frame p{
	color:#fff;
}
.date-content {
    position: absolute;
    right: 15px;
    z-index: 999;
    top: 8px;
    background-color: #8d288f;
    font-weight: 700;
    color: #fff;
    font-size: 10px;
    padding: 6px;
}
.btn-cta{
	color: #fff;
	background-color: #771979 !important;
border-color: #771979 !important;
padding: 10px 40px;
text-align: center;
vertical-align: middle; 	
display: inline-block;
border-radius: .25rem;
}
.btn-cta:hover{
	color:#fff;
}
#oferta h2{
	text-align:left;
}
#oferta ul {
  list-style: none;
  padding-left: 0;
}
#oferta ul li {
  position: relative;
  padding-left: 35px;
  padding-top: 5px;
  padding-bottom: 5px;
}
#oferta ul li:before {
  content: '';
  width: 26px;
  height: 26px;
  position: absolute;
  background-image: url('img/check.png');
  background-size: cover;
  background-position: center;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
#news h2{
	text-align:left;
}
#news ul {
  list-style: none;
  padding-left: 0;
}
#news ul li {
  position: relative;
  padding-left: 35px;
  padding-top: 5px;
  padding-bottom: 5px;
}
#news ul li:before {
  content: '';
  width: 26px;
  height: 26px;
  position: absolute;
  background-image: url('img/check.png');
  background-size: cover;
  background-position: center;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.page table tr td{
	border: 1px solid #eee; 
	font-size:12px;
	padding: 5px;
}
.page table tr:first-child td{
background-color:#8d288f;
color:#fff;

}
.wpcf7-list-item-label{
	font-size:12px;
}
.overflov-img{
	margin-bottom:30px;
}

.counter{
	padding: 20px 0;
	margin-top:30px;
	background-color:#f7f7f7;
}

.counter .counter-item h3{
	font-size:45px;
	color: #8d288f;
}
.counter .counter-item p{
	font-size:18px;
	line-height:22px;
	font-weight:bold;
	color: #000000;
}
.wpcf7-textarea{
	height:100px!important;
}


.dropdown .nav-link::after {

    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;

}
.sub-menu .nav-link {
	color:#000!important;
}
.sub-menu .nav-link::after {
	display: none;
}

@media (max-width: 768px) {
.header.pagehead{
    background-color: #fff;
}
.navbar-brand img{
	width:150px;
}
#mainNav {
    background-color: #fff;
}
.phone-numer {
    display: block;
    position: relative;
    top: 5px;
	float:none;
	margin:10px 0;
}
}


