/*
 Theme Name:     Twenty Seventeen Child Theme
 Theme URI:      http://hyperlinkcode.com/blog/twenty-seventeen-child-theme/
 Description:    Main theme for SomeWomen.uk
 Author:         Ihtezaz Anwar
 Author URI:     http://www.ezau.com/
 Template:       twentyseventeen
 Version:        1.0.0
*/
 
/* Add Custom CSS after this line */


/*-----------Main site-------------*/

/* Change header colour */

.custom-header-media:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: auto;
  bottom: auto;
  width: 100%;
  height: 100%;
  background-color: rgba(132, 38, 118, 0.8);
  z-index: 0;
}

/* Change header size */

div.custom-header {
  height: 230px!important;
  margin-bottom: 10px!important;
}

.single-post:not(.has-sidebar) #primary,
.page.page-one-column:not(.twentyseventeen-front-page) #primary,
.archive.page-one-column:not(.has-sidebar) .page-header,
.archive.page-one-column:not(.has-sidebar) #primary {
  margin: 0px;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

.site-branding {
  margin-bottom: 22px!important;
}

h1.entry-title {
  font-size: 1.4rem!important;
  font-weight: 600!important;
  letter-spacing: 0px!important;
  text-align: center;
}

@media screen and (min-width: 48em) {
  .site-content {
    padding: 4rem 0 0!important;
  }
}

@media screen and (min-width: 48em) {
  .page.page-one-column .entry-header,
  .twentyseventeen-front-page.page-one-column .entry-header,
  .archive.page-one-column:not(.has-sidebar) .page-header {
    margin-bottom: 1em!important;
  }
}

/* Make all pages 100% */

@media screen and (min-width: 48em) {
  .wrap {
    max-width: 100%;
    padding-left: 3em;
    padding-right: 3em;
    padding-bottom: 2.5em;
  }
}

/*-----------Main Page-------------*/

/* adds a purple background color to elements */

#MCCmain:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: auto;
  bottom: auto;
  width: 100%;
  height: 100%;
  background-color: rgba(132,38,118,.8);
  z-index: 0;
}

/* Remove padding on posts */

#post-862.panel-content.wrap {
  padding-top: 3em!important;
}

/* Edit the events section */

#eventSection {
  text-align: center;
}

#eventSection h5 {
  margin-bottom: 25px;
  font-size: 14px;
}

.tribe-events-list-widget-events {
  margin-bottom: 25px;
}

ol.tribe-list-widget {
  list-style: none;
}

.tribe-events-widget-link {
  display: inline-block;
  padding: 10px;
}

.tribe-events-widget-link:hover {
  color: white;
}

.tribe-events-widget-link a {
  box-shadow: none!important;
  padding: 10px;
  border: 1px solid #41a536;
  color: #41a536;
  font-weight: 600;
}

.tribe-events-widget-link a:hover {
  color: white!important;
  background-color: #41a536;
}

/* Removes the entry header */

#post-862 .entry-header {
  display: none;
}

@media screen and (min-width: 48em) {
  .panel-content .wrap {
    padding-bottom: 0.5em!important;
    padding-top: 0em!important;
  }
}

/*------------All Post Page-------------*/

/* Edit posts filter bar */

.pgafu-filter li a {
  color: #41a536;
  background-color: rgb(255, 255, 255);
  border: 1px solid #41a536;
  font-weight: 700;
  box-shadow: none!important;
}

.pgafu-filter li a:hover,
.pgafu-filter li a:focus {
  color: white!important;
  background-color: #41a536;
  border: 1px solid #41a536;
  font-weight: 700;
  box-shadow: none!important;
}

.pgafu-filter li.pgafu-active-filtr a,
.pgafu-filter li.pgafu-active-filtr a:focus {
  background: #41a536;
  color: #fff;
  border: 1px solid #41a536;
}

.pgafu-filter li {
  margin: 5px!important;
}

ul.pgafu-filter {
  margin: 0 0 2.5em!important;
}

/* edit post content */

.pgafu-post-grid-main.pgafu-design-1 .pgafu-post-grid-content {
  background: #d3d3d36e;
}

.pgafu-post-grid-main h2.pgafu-post-title a {
  color: #8e3484;
  text-decoration: none!important;
  box-shadow: none;
  font-size: 1.1rem !important;
}

.pgafu-post-grid-main h2.pgafu-post-title a:hover {
  color: #4a1e45;
  text-decoration: none!important;
  box-shadow: none;
  font-size: 1.1rem !important;
}

.pgafu-image-fit .pgafu-post-image-bg img:hover {
  -moz-transition: all 0.5s;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

.pgafu-image-fit .pgafu-post-image-bg img:hover {
  -moz-transform: scale(1.3);
  -webkit-transform: scale(1.3);
  transform: scale(1.3);
}

.pgafu-post-grid-main.pgafu-design-1 .pgafu-post-grid-content .pgafu-post-date {
  padding: 20px;
  border-top: 1px solid  #0a0a0a38;
}

.pgafu-post-grid-main.pgafu-design-1 .pgafu-post-grid-content .pgafu-post-title {
  margin: 30px!important;
  font-weight: 500;
}

/* edit post next button */

.next.page-numbers,
.prev.page-numbers {
  background-color: #842676!important;
  box-shadow: none!important;
  padding: 10px!important;
  font-size: 18px!important;
}

.next.page-numbers:hover,
.prev.page-numbers:hover {
  box-shadow: none!important;
  background-color: white!important;
  color: #842676!important;
}

/*-----------Single Post Page-------------*/

/* Remove post image */

.single-featured-image-header {
  display: none;
}

/* Make sidebar smaller and content bigger */

@media screen and (min-width: 48em) {
  .has-sidebar #secondary {
    float: right;
    padding-top: 0;
    width: 25%;
  }
}

@media screen and (min-width: 48em) {
  .has-sidebar:not(.error404) #primary {
    float: left;
    width: 70%;
  }
}

/* Remove post name */

header div.entry-meta {
  display: none;
}

/* Remove comments and footer */

.comments-area, .entry-footer{
   display:none;	
}

/*------------Events Page-------------*/

.tribe-events-page-title {
  display: none!important;
}

Input.tribe-events-button.tribe-no-param {
  background: #842676;
}

.tribe-events-list.type-tribe_events {
  background-color: #e6e6e6;
  padding: 10px;
}

.tribe-events-read-more {
  background-color: #41a536;
  color: white;
  padding: 10px;
  font-weight: 600;
  display: inline-block;
}

.eventLeft{
  width:33%;
	margin:0 15px 0 0;
	float:left; 
	position: relative;
}

.eventRight{
  width:66%;
	padding:0;
	float:left;
}


/*------------Footer-------------*/

footer {
  background-color: #842676;
  color: white;
}

.footerCol a {
  color: white!important;
}

.site-footer {
  margin-top: 0px!important;
  border-top-color: hsl(119, 78%, 25%)!important;
}

.site-footer .widget-area {
  padding-bottom: 0em!important;
  padding-top: 2em;
}

.widget {
  padding-bottom: 0.5em!important;
}

.site-info {
  display: none;
}
@media screen and (min-width: 48em){
body:not(.has-sidebar):not(.page-one-column) .page-header, body.has-sidebar.error404 #primary .page-header, body.page-two-column:not(.archive) #primary .entry-header, body.page-two-column.archive:not(.has-sidebar) #primary .page-header{
	 float: none!important;
    width: 100%!important;
	
	}

}