/*szare napisy: #626262
szary jasny w tle (na wizytówce gminy): #f7f5f5
różowy/koralowy: #e96656
niebieski (prawie wszędzie): #478dff
niebieski (tylko na wizytówce gminy): #7fafff*/

/*@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,200&subset=latin,latin-ext);*/

html{

}

#my-scroll{
	
}

html, body{
    margin: 0px;
    padding: 0px;

}

.navbar-fixed-top{
	border-radius: 0px !important;
	box-shadow: none !important;
	background: #fff !important;
	margin-bottom: 0px !important;
	border: 0px;
	border-bottom: 1px solid #ddd;
    z-index: 1101;
}

.navbar-header{
	
}

.navbar button[data-toggle="collapse"] span{
    background-color: #e96656 !important;
}

.navbar button[data-toggle="collapse"]:hover, .navbar button[data-toggle="collapse"]:focus, .navbar button[data-toggle="collapse"]:active{
    background-color: #fff !important;
}

.logo{
	position: absolute;
	max-height: 40px;
	top: 5px;
}

#menu{
    float: right;
    font-weight: 500;
}

#menu a:hover, #menu a:focus, #menu a:active{
    color: #e96656 !important;
}

#menu.in, #menu.collapsing{
    float: none !important;
}

.container-background{
    position: fixed;
    background: url(../img/main/tlo.jpg) no-repeat;
  	background-size: cover;
	background-position: center;
    top: 50px;
    left: 0px;
    width: 100%;
    z-index: -1 !important;
}


@media screen and (min-width: 501px){
    .container-background{
        height: 520px;
    }
    
    .headers h1 {
        margin-top: 70px;
    }
}

@media screen and (min-width: 471px) and (max-width: 500px){
    .container-background{
        height: 500px;
    }
}

@media screen and (min-width: 401px) and (max-width: 470px){
    .container-background{
        height: 550px;
    }
}

@media screen and (max-width: 400px){
    .container-background{
        height: 620px;
    }
}

.container-image{
    position: relative;
    padding-top: 100px;
    padding-bottom: 100px;
    min-height: 550px;
}

/*header text*/

.headers h1, .headers h2{
    text-align: center;
    color: #fff;
}

.headers h1 {
    font-size: 2em;
}

.headers h1 mark {
    background-color: transparent;
    color: #fff;
    font-family: 'Maritime';
    font-size: 1.5em !important;
}

.headers h2{
    font-size: 1.5em;
}

/*header buttons*/

.buttons{
    text-align: center;
    margin-top: 30px;
}

.buttons .header-btn{
    width: 250px;
    margin: 5px 0px;
    background: none;
    border: 0px;
    box-shadow: none !important;
    text-shadow: none !important;
    background-color: rgba(255,255,255,0.8);
    font-weight: 500;
    color: #e96656;
     -webkit-transition: all linear .3s;
    -moz-transition: all linear .3s;
    -o-transition: all linear .3s;
    transition: all linear .3s;
}

@media screen and (max-width: 400px) {
    .buttons .header-btn {
        width: 220;
        font-size: 0.9em;
    }
}

.buttons .header-btn:hover{
    color: #478dff;
}

.white-background{
    background: #fff;
    padding: 0px;
}

/*searching in header*/
#searchgroup{
    position: relative;
    width: 100%;
}

#searchgroup input{
    width: 100%;
    padding-left: 35px;
    z-index: 1;
}

#search-icon{
    position: absolute;
    left: 5px;
    top: 5px;
    line-height: 1;
    font-size: 1.8em;
    z-index: 2;
    color: #e96656;
}

/*blocks shared*/
.more-btn-container{
    text-align: center;
    padding: 25px 0px;
}

.headers-section{
    margin-top: 30px;
    margin-bottom: 20px;
}

.headers-section h3, .headers-section h4{
    text-align: center;
    margin: 2px;
}

.more-btn-container .more-btn{
    -webkit-transition: all linear .3s;
    -moz-transition: all linear .3s;
    -o-transition: all linear .3s;
    transition: all linear .3s;
    background: none;
    border: 0px;
    box-shadow: none !important;
    text-shadow: none !important;
    color: #fff;
}

.more-btn-container .more-btn:hover, .more-btn-container .more-btn:focus, .more-btn-container .more-btn:active{
    background-color: #e96656 !important;
}

/* discover */
#discover{
    max-width: 750px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.commune-propositions{
    margin-bottom: 15px;
}

.commune a:hover, .commune a:focus{
    text-decoration: none !important;
}

@media screen and (max-width: 767px){
    #discover{
        position: relative;
        border-bottom: 0px !important;
    }
    
    #discover:after{
        content: '';
        display: block;
        position: absolute;
        left: 0px;
        bottom: 0px;
        height: 1px;
        width: 80%;
        margin-left: 10%;
    }
}

.commune{
        margin-bottom: 30px;
    }

.commune .circle-border{
    position: relative;
    height: 222px;
    width: 222px;
    margin: auto;
}
.commune .circle-border .circle-bg{
    position: absolute;
    height: 220px;
    width: 220px;
    background-image:
        linear-gradient(-70deg, transparent 50%, #e96656 50%),
        linear-gradient(285deg, white 50%, transparent 50%);
    display: block;
    border-radius: 50%;
    background-color: #e96656;
    border: 2px solid #fff;
    z-index: 1;
}

.commune .circle-border .circle-white-bg{
    position: absolute;
    height: 212px;
    width: 212px;
    border-radius: 50%;
    top: 4px;
    left: 4px;
    z-index: 2;
    background-color: #fff;
}

.commune .circle-border .circle-desc{
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
    text-align: center;
    z-index: 3;
    color: #e96656;
}

.commune .commune-img{
    position: absolute;
    height: 180px;
    width: 180px;
    border-radius: 50%;
    left: 20px;
    top: 20px;
    z-index: 4;
}

.commune .commune-name{
    text-align: center;
    font-size: 1.8em;
    margin: 0px;
    line-height: 1;
}

.more-btn{
    width: 140px;
    color: #fff;
    background-color: #478dff !important;
}

/* weekend */
#weekend{
    max-width: 750px;
}

.area, .high-col{
    position: relative;
    padding: 5px;
    padding-bottom: 5px !important;
    display: table-column;
}

.area .white-bg-img, .high-col .white-bg-img{
    position: absolute;
    background: rgba(255,255,255,0.3);
    opacity: 0;
    -webkit-transition: all linear .3s;
    -moz-transition: all linear .3s;
    -o-transition: all linear .3s;
    transition: all linear .3s;
    z-index: 2;
}

.area .white-bg-img:hover, .high-col .white-bg-img:hover{
    opacity: 1;
}

.area .white-bg-img{
    width: 100%;
    height: 100%;
}

.high-col .white-bg-img{
    width: calc(100% - 10px);
    height: calc(100% - 10px);
}

.area .area-img{
    position: relative;
    height: 220px;
    background-position: center;
    background-size: cover;
}

.area p, .high-col p{
    position: absolute;
    display: table-cell;
    left: 0px;
    top: 0px;
    bottom: 0px;
    right: 0px;
    width: 200;
    height: 40px;
    font-size: 2em;
    font-weight: 400;
    text-align: center;
    margin: auto;
    color: #fff;
}

.high-col > a > div.area-img{
    height: 450px;
    background-position: center;
    background-size: cover;
}

.high-col p{

}

.no-padding{
    padding: 0 !important;
}

/* about */
#about{
    background-image: url(../img/main/mapa.png);
    background-position: center;
    background-size: cover;
    font-weight: 400;
    padding-bottom: 20px;
}

#about > .container{
    max-width: 750px;
}

.about-content .col-sm-4:nth-child(1){
    font-size: 2em;
    text-align: right;
}

@media screen and (max-width: 400px) {
    .about-content .col-sm-4:nth-child(1) {
        font-size: 1.8em;
    }
}

.graph-col > div > div{
    display: inline-block;
}

.graph{
    position: relative;
    margin-right: 5px;
}

.graph img{
    width: auto;
    height: auto;
}

.graph-col span{
    line-height: 50px;
    width: 100%;
    text-align: center;
    font-weight: 400;
    font-size: 2em;
    color: #e96656;
}

.graph-col .text{
    width: 100%;
    font-size: 0.9em;
}

.graph-col .text > p:first-child{
    margin-bottom: 5px;
    font-weight: bold;
}

@media screen and (max-width: 767px){
    .graph-col{
        padding-top: 20px;
    }
    
    .graph-col > div > div{
        margin: auto;
        display: block;
    }
    
    .graph-col span{
        display: block;
        margin: auto;
    }
    
    .graph-col img{
        margin: auto;
    }
    
    .graph-col p{
        width: 100%;
        text-align: center;
    }
    
    .about-content .col-sm-4:nth-child(1){
        padding: 20px 20px 30px 20px;
        text-align: center;
    }
    
}

/* soon events */
#soon-events-bg {
	position: relative;
	padding: 40px 0px 60px 0px;
	background-color: #6d769e;
}

#soon-events-bg.loading:after {
	position: absolute;
	display: block;
	content: '';
	background: rgba(255, 255, 255, 0.2);
	left: 0px;
	top: 0px;
	bottom: 0px;
	right: 0px;
}

#soon-events {
	max-width: 750px;
}

#soon-events-bg h3, #soon-events-bg p, #soon-events-bg a, #soon-events-bg span {
	color: #fff !important;
}

#soon-events .section-header h3 {
	text-align: center;
	margin-bottom: 40px;
}

#soon-events .soon-event {
	box-sizing: border-box;
	position: relative;
	padding-left: 50px;
	padding-bottom: 15px;
	margin-bottom: 10px;
	cursor: pointer;
	border-bottom: 1px solid #fff;
	border-right: 1px solid #fff;
	margin: 5px;
}

@media screen and (min-width: 768px) {
	
	#soon-events .soon-events-container > .row {
		display: flex;
	}
	
	#soon-events .soon-event {
		align-items: stretch;
	}	
	
}

@media screen and (max-width: 767px) {
	
	#soon-events .soon-event {
		border: 0px !important;
		padding-top: 15px;
		margin: 0px;
	}
	
	#soon-events .soon-event .side:nth-child(1) {
		position: absolute;
		left: 10px;
		top: 17px !important;
	}
	
	#soon-events .soon-events-container > .row:first-child .soon-event:first-child:after {
		border-bottom: 0px solid #fff !important;
	}
	
	#soon-events .soon-event:after {
		position: absolute;
		content: '';
		height: 1px;
		width: calc(100% - 30px);
		top: 0px;
		left: 15px;
		border-bottom: 1px solid #fff;
	}
}

#soon-events .soon-event.not-actual {
	opacity: 0.6;
}

#soon-events .soon-event .side {
	display: inline-block;
	vertical-align: top;
}

#soon-events .soon-event .side:nth-child(1) {
	position: absolute;
	left: 10px;
	top: 2px;
}

#soon-events .soon-event .side:nth-child(2) p {
	margin: 0px;
}

#soon-events .soon-event .side p.commune-name {
	font-weight: 600 !important;
}

#soon-events .soon-event p.event-date {
	margin-top: 20px;
	text-align: right;
	text-decoration: underline;
}

/* table */
#calendar {
	margin-bottom: 40px;
}

#soon-events .calendar-desc {
	height: 200px;
}

#soon-events .calendar-desc > .text-wrapper > p:first-child {
	font-size: 1.1em;
}

#soon-events .calendar-desc > .text-wrapper > p:last-child {
	font-size: 1.5em;
	text-align: center;
	margin-top: 50px;
	font-family: 'Maritime' !important;
}

#soon-events div.ui-datepicker {
	border: 2px solid #fff;
	margin: auto;
}

#calendar .ui-datepicker-prev.actual-month {
	display: none;
}

#calendar .ui-datepicker-prev .ui-icon {
	background-image: url(/img/common/prev.png);
	cursor: pointer;
	width: 15px;
}

#calendar .ui-datepicker-next .ui-icon {
	background-image: url(/img/common/next.png);
	cursor: pointer;
	width: 15px;
}

#soon-events table td {
	position: relative;
}

#soon-events table td a{
	text-align: center;
	cursor: default;
}

#soon-events table td.active-event a {
	border: 2px solid #fff;
	border-radius: 50%;
	cursor: pointer;
}

/* last added showplaces */
#last-added-bg {
	background-image: url(/img/main/tlo_atrakcje.jpg);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	background-color: #f7f7f7;
}

#last-added {
    margin: 40 auto;
    max-width: 750px;
}

#last-added .headers-section {
    margin-bottom: 30px;
}

#last-added .last-added {
    padding-left: 5px;
    padding-right: 5px;
	margin-bottom: 10px;
}

#last-added .added-image {
    position: relative;
    height: 240px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#last-added .added-desc-container {
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
}

#last-added .added-desc {
    position: relative;
    width: 100%;
}

#last-added .added-desc > * {
    display: inline-block;
}

#last-added .added-desc .added-desc-text {
    width: calc(100% - 50px);
    background-color: rgba(0, 0, 0, 0.5);
    vertical-align: bottom;
    padding: 5px 10px;
}

#last-added .added-desc .added-desc-text p {
    color: #fff;
    margin-bottom: 0px;
}

#last-added .added-desc .added-desc-text p:first-child {
    font-size: 1.1em;
}

#last-added .added-desc .added-desc-text p:last-child {
    font-size: 0.9em;
}

#last-added .added-desc .added-desc-img {
    position: absolute;
    bottom: 0;
    right: 0;
    top: 0;
    width: 50;
    text-align: center;
    display: flex;
    align-items: center;
}

#last-added .added-desc .added-desc-img.showplace {
    background: #E0206B;
}

#last-added .added-desc .added-desc-img.church {
    background: #6D769E;
}

#last-added .added-desc .added-desc-img.gastronomic {
    background: #1F9CD9;
}

#last-added .added-desc .added-desc-img.hotel {
    background: #E0206B;
}

#last-added .added-desc .added-desc-img.nature {
    background: #6B962D;
}

#last-added .added-desc .added-desc-img img {
    margin-left: 12px;
	width: 28px;
}

/* last added showplaces */

/* provinces map */

.leaflet-container {
    background: #fff;
}

.leaflet-label {
	border-color: #f5f5f5;
	border-radius: 4px;
	border-style: solid;
	border-width: 4px;
	background: #f5f5f5;
	color: #626262;
}

#provinces {
	border-top: 1px solid #4F6575;
	margin-top: 50px;
	padding-bottom: 20px;
	padding-top: 20px;
}

#provinces-map {
	height: 500px;
	cursor: default;
}

/* /provinces map */

/* about us */
#about-us{
    background-color: #478dff !important;
    padding-bottom: 20px;
}

#about-us > .container{
    max-width: 750px;
}

#about-us .headers-section h3, #about-us .headers-section h4{
    color: #fff;
}

#about-us .headers-section{
    margin-bottom: 50px;
}

.card{
    padding: 10px;
    background-color: #fff;
    margin-bottom: 20px;
    font-weight: 500;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3)
}

.card > p:first-child{
    font-size: 0.95em;
}

.card .sign{
    font-size: 1em;
    font-style: italic;
}

/* our team */
#our-team{
    max-width: 750px;
    padding-bottom: 0px;
    padding-top: 20px;
}

#our-team .headers-section{
    margin-bottom: 30px;
}

.team{
    padding: 20px 0px;
}

.team-member img{
    border-radius: 50%;
    max-width: 120px;
    margin: auto;
    margin-bottom: 20px;
}

.team-member{
    text-align: center;
    position: relative;
}

@media screen and (max-width: 767px){
    .team-member{
        margin-bottom: 30px;
    }
}

.team-member span{
    font-weight: bold;
}

.team-member:first-child span:after{
    position: absolute;
    bottom: -5px;
    margin-left: calc(50% - 35px);
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    border-bottom: 2px solid #e96656;
}

.team-member:nth-child(2) span:after{
    position: absolute;
    bottom: -5px;
    margin-left: calc(50% - 40px);
    content: '';
    display: block;
    width: 50px;
    height: 1px;
    border-bottom: 2px solid #69c492;
}

.team-member:nth-child(3) span:after{
    position: absolute;
    bottom: -5px;
    margin-left: calc(50% - 25px);
    content: '';
    display: block;
    width: 20px;
    height: 1px;
    border-bottom: 2px solid #41a6df;
}

.team-member:nth-child(4) span:after{
    position: absolute;
    bottom: -5px;
    margin-left: calc(50% - 35px);
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    border-bottom: 2px solid orange;
}

/*contact form*/
.contact-us{
    background-image: url(../img/main/tlo.jpg) !important;
}

.contact-us h3{
    margin-bottom: 0px !important;
    color: #626262 !important;
}

.contact-us h4{
    color: #626262;
    font-size: 1.2em;
    margin-bottom: 50px;
}

.contact-us > .container{
    max-width: 750px;
}

.contact-us form button[type="submit"]{
    background: none;
    box-shadow: none !important;
    text-shadow: none !important;
    background-color: #478dff !important;
    min-width: 140px;
    border: 0px !important;
    padding: 7px 15px 7px 15px;
}

.contact-us form input, .contact-us form textarea{
    border: 0px;
    box-shadow: 0px;
}

.contact-us form input{
    padding-top: 10px;
    padding-bottom: 10px;
    height: 40px;
}

.contact-us form textarea{
    padding-top: 10px;
    padding-bottom: 10px;
}

h3.thankyou{
    position: relative;
    top: -10;
    opacity: 0;
    color: #fff !important;
}