/*
Theme Name: Pebblebed
Theme URI: http://profglobal.ru/
Author: Vitaliy Karakushan
Author URI: http://profglobal.ru/
Description:
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: pebblebed
Text Domain: pebblebed

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

.alignnone {
    margin: 5px 20px 20px 0;
}
.aligncenter, div.aligncenter {
    margin: auto;
}
.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
.alignleft {
    float:left;
    margin: 5px 20px 20px 0;
}
.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
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;
}
.page-numbers {
    color: #000;
    text-align: center;
}
.page-numbers li{
    display: inline-block;
}
.pagination {
    padding-bottom: 100px;
}
span.page-numbers.current {
    color: #f30;
}
.text-center{
    text-align: center;
}

.second-width:after, .second-width-inverted:after, .third-width:after, .fourth-width:after, .fifth-width:after, .second-width:before, .second-width-inverted:before, .third-width:before, .fourth-width:before, .fifth-width:before{
  content: "";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden; 
}

.second-width li, .second-width-inverted li, .third-width li, .fourth-width li, .fifth-width li {
  display: inline-block;
  float: left; 
}

.second-width li {
  width: 34%; }
  @media (max-width: 768px) {
    .second-width li {
      width: 34%; 
	} 
  }
  
 .second-width-inverted li {
  width: 66%; }
  @media (max-width: 768px) {
    .second-width-inverted li {
      width: 66%; 
	} 
  }
  .second-width li.big-item {
    width: calc(100% - (100% / 3)); }
    @media (max-width: 768px) {
      .second-width li.big-item {
        width: 50%; 
	  } 
	}

.third-width li {
  width: calc(100% / 3); }
  @media (max-width: 768px) {
    .third-width li {
      width: 100%; 
	} 
  }

.fourth-width li {
  width: calc(100% / 4); }
  @media (max-width: 1024px) {
    .fourth-width li {
      width: 50%; 
	} 
  }
  
  @media (max-width: 768px) {
    .fourth-width li {
      width: 100%; 
	} 
  }

.fifth-width li {
  width: calc(100% / 5); }
  @media (max-width: 1024px) {
    .fifth-width li {
      width: 50%; 
	} 
  }
  
  @media (max-width: 768px) {
    .fifth-width li {
      position: initial;
      width: 100%; 
	} 
  }
  
.section .images__item {
	height: 480px;
	background-size: cover;
	background-position: top;
	overflow: hidden; 
}	

.section .images__item__inverted {
	height: 480px;
	background-size: cover;
	background-position: top;
	overflow: hidden; 
}	

@media (max-width: 768px) {
	.section .images__item {
		width: 34%; 
	}
	.section .images__item__inverted {
		height: 164px;
	}
	.section .images__item {
		height: 164px;
	}
	}
	.section .images__item img {
		opacity: 0; 
	}
	.section .images__item__inverted {
		width: 66%; 
	} 
	.section .images__item__inverted img {
		opacity: 0; 
	}
	
.section .images__item:first-child {
      width: 66%;
      max-height: 500px; 
}

.section .images__item__inverted:first-child {
      width: 34%;
      max-height: 500px; 
}
.tribe-events-month-event-title{
	color: black;
}
.tribe-events-month-event-title a {
	color: black;
}
.tribe-events-nav-next a {
	color: black;
}
.tribe-events-nav-previous a {
	color: black;
}
@media (max-width: 768px) {
	.e-tabs__image img {
			width: 100%;
	}
}
.clintonFooter {
	position: relative;
	top: -30px;
	right: 323px;	
}
	
.bictonFooter{
	position: relative;
	top: -23px;
	right: 178px;	
}
@media (max-width: 480px) {
	.clintonFooter {
		top: -112px;
		right: -34px;
	}
	
	.bictonFooter{
		top: -25px;
		right: 23px;
	}
	
	.b-footer__top p a {
		margin-right: 0;
		margin-bottom: 60px;
		padding-right: 0;
		top: 100px;
		display: block;
	}
}

img {
    outline: none !important;
}

.doDontMobile {
	display: none;
}
@media (max-width: 480px) {
	.doDontMobile {
		display: block;
	}
	.doDont {
		display: none;
	}
}
.c-events__item a {
	padding: 29px 30px;
}
.c-events li {
	height: 475px;
	max-height: 100%;
}
@media (max-width: 640px){
	.c-events li {
		height: 100%;
	}
	.c-events__item:first-child {
		display: inherit;
	}
	li.mobile-hidden {
		display:none;
	}
}