/*
  Theme Name: Tickled Pink
  Description: Child theme for Tickled Pink
  Author: The Web Office
  Author URI: https://theweboffice.co.za/
  Template: sydney
  Version: 1.0.1
*/

/* General */

p,
ol,
ul,
.textwidget {
  font-weight: 300;
}

/* Logo */

.site-logo {
  max-height: 76px;
}

.site-logo.sticky,
.site-logo.mobile {
  display: none;
}

.site-header.float-header .site-logo {
  display: none;  
}

.site-header.float-header .site-logo.sticky {
  display: inline-block;
  max-height: 17px;
  margin: 10px 0;
}

@media screen and (max-width: 1024px) {
  
  .site-logo {
    display: none;
  }
  
  .site-logo.mobile {
    display: inline-block;
    max-height: 26px;
  }
  
}

/* Main nav */

#mainnav ul li a,
#mainnav-mobi ul > li > a {
  text-transform: uppercase;
  letter-spacing: 3px;
}

/* Slider */

#slideshow .slide-item:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url('images/black-fade.png') repeat-x left top;
  z-index: 9;
}

#slideshow .slide-item:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url('images/black-bg.png') repeat-x center center;
  z-index: 9;
}

#slideshow .slide-inner {
  z-index: 10;
}

.text-slider .maintitle {
  font-weight: 200;
  text-transform: uppercase;
  padding: 0 30px 10px 30px;
}

@media screen and (min-width: 768px) {
 
  .text-slider .maintitle {
    font-size: 47px;
    line-height: 57px;
  }
  
}

@media screen and (max-width: 767px) {
  
  #slideshow .slide-item:before {
    opacity: .2;
  }
  
  #slideshow .slide-item:after {
    opacity: .5;
  }
  
}

/* Home */

.roll-project {
  padding-bottom: 0;
}

#our-services .service {
  margin-bottom: 60px;
}

#testimonials .overlay {
  opacity: .4;
}

.home .blog-post .entry-title {
  text-transform: uppercase;
  font-weight: 200;
  font-size: 18px;
}

.roll-icon-box .icon {
  border: none;
  margin: 0 auto 0;
}

.roll-icon-box .icon i.tp-bottle {
  display: inline-block;
  width: 55px;
  height: 61px;
  background-image: url('images/bottle.png');
  background-repeat: no-repeat;
  background-size: 55px 61px;
}

/* General */

ol, ul {
  margin-bottom: 20px;
}

ol li, ul li {
  margin-bottom: 10px;
}

.panel-grid-cell .widget-title {
  font-weight: 200;
}

@media screen and (max-width: 744px) {
  
  .page .page-wrap .content-wrapper, .single .page-wrap .content-wrapper {
    padding: 0 30px 30px 30px;
  }
  
}

/* Page Header Title */

.page-header-title {
  position: absolute;
  bottom: 40px;
  width: 100%;
  font-family: 'Martel Sans', sans-serif;
  font-size: 40px;
  line-height: 50px;
  font-weight: 200;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
}

@media screen and (max-width: 1024px) {
  
  .page-header-title {
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }
  
}

@media screen and (max-width: 767px) {
  
  .page-header-title {
    font-size: 30px;
    line-height: 40px;
  }
  
}

@media screen and (max-width: 450px) {
  
  .page-header-title {
    font-size: 20px;
    line-height: 30px;
  }
  
}

.overlay {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
  filter: alpha(opacity=40);
  opacity: 0.4;
}

/* Blog */

.blog .fullwidth,
.archive .fullwidth {
  max-width: 900px;
  margin: 0 auto;
  float: none;
}

.hentry .title-post {
  text-transform: uppercase;
  font-weight: 200;
}

.single .meta-post a, .classic-alt .meta-post a {
  text-transform: none;
  letter-spacing: normal;
}

/* Past Events */

.single-tp-events .entry-content {
  padding: 0 20px;
}

.event-gallery {
  text-align: center;
}

.event-gallery img {  
  display: inline-block;
  width: 300px;
  background: url('images/ajax-loader.gif') no-repeat center center;
}

.event-gallery a {
  position: relative;
  display: inline-block;
  margin: 20px;
}

.event-gallery a span {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(238,161,162,0);
  transition: all .3s ease;
}

.event-gallery a:hover span {
  background: rgba(238,161,162,.6);
}

.single-tp-events .entry-content .entry-title {
  text-transform: uppercase;
  font-weight: 400;
}

.event-content,
.event-credits {
  padding: 20px;
}

.event-credits .event-credit {
  margin-bottom: 20px;
}

.event-media-gallery {
  text-align: center;
  margin-top: 50px;
}

.event-media-gallery h3 {
  text-align: left;
}

.event-media-gallery img {
  width: 200px;
}

.event-media-gallery a {
  position: relative;
  display: inline-block;
  margin: 20px;
}

@media screen and (min-width: 781px) {
  
  .single-tp-events .entry-content .entry-title {
    text-transform: uppercase;
    font-weight: 400;
  }
  
}

@media screen and (max-width: 630px) {
  
  .single-tp-events .entry-content .entry-title {
    text-align: center;
  }
  
  .event-content,
  .event-credits {
    padding: 20px 0 20px 0;
  }
  
}

/* Past Events archive */

.past-event {
  display: inline-block;
  position: relative;
  width: 45%;
  margin: 20px;  
}

.past-event .entry-title {
  position: absolute;
  width: 100%;
  bottom: 0;
  text-align: center;
  font-weight: 200;
  text-transform: uppercase;
  font-size: 25px;
  line-height: 35px;
  z-index: 2;
  transition: all .3s ease;
}

.past-event:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: -moz-linear-gradient(top, rgba(0,0,0,0) 50%, rgba(0,0,0,0.8) 100%);
  background: -webkit-linear-gradient(top, rgba(0,0,0,0) 50%,rgba(0,0,0,0.8) 100%);
  background: linear-gradient(to bottom, rgba(0,0,0,0) 50%,rgba(0,0,0,0.8) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 );
  z-index: 1;
  transition: all .3s ease;
  pointer-events: none;
}

.past-event:hover:after {
  background: rgba(238,161,162,.7);
}

.past-event:hover .entry-title {
  bottom: 10%;
  pointer-events: none;
}

.past-event:hover .entry-title a {
  color: #fff;
}

@media screen and (max-width: 994px) {
  
  .past-events {
    width: 40%;
  }
  
  .past-events .entry-title {
    font-size: 20px;
    line-height: 30px;
  }
  
}

@media screen and (max-width: 744px) {
  
  #past-events {
    padding: 40px 15px !important;
  }
  
  .past-event {
    width: 100%;
    margin: 20px 0;
  }
  
  .past-event .entry-title {
    font-size: 25px;
    line-height: 35px;
  }
  
}

@media screen and (max-width: 450px) {
  
  .past-event .entry-title {
    font-size: 20px;
    line-height: 30px;
  }
  
}

/* Services */

.services-title h3,
.services-title-pink h3 {
  color: #fff !important;
  font-size: 28px !important;
  line-height: 38px !important;
  font-weight: 200 !important;
  margin-bottom: 0;
}

.services-title-pink h3 {
  color: #eea1a2 !important;
  text-transform: uppercase;
}

.services-title p {
  color: #fff !important;
  font-size: 28px !important;
  line-height: 38px !important;
  font-weight: 200 !important;
  margin-bottom: 0;
}

/* Gravity Forms */

.gform_wrapper .top_label .gfield_label {
  display: none !important;
}

.gform_wrapper input[type=text],
.gform_wrapper textarea,
.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
	padding: 4px 20px !important;
  color: #5d5d5e;
}

.gform_wrapper textarea {
  padding: 15px 20px !important;
}

.gform_wrapper input:-moz-placeholder,
.gform_wrapper textarea:-moz-placeholder,
.gform_wrapper input::-moz-placeholder,
.gform_wrapper textarea::-moz-placeholder {
  color: #9b9a9b;
}

.gform_wrapper input:-ms-input-placeholder,
.gform_wrapper textarea:-ms-input-placeholder {
  color: #9b9a9b;
}

.gform_wrapper input::-webkit-input-placeholder,
.gform_wrapper textarea::-webkit-input-placeholder {
  color: #9b9a9b;
}

body .gform_wrapper div.validation_error {
  color: #eea1a2;
  border-top: none;
  border-bottom: none;
}

body .gform_wrapper li.gfield.gfield_error, body .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
  background-color: transparent;
  border-top: none;
  border-bottom: none;
}

body .gform_wrapper .validation_message {
  color: #eea1a2;
}

/* Footer */

#sidebar-footer .widget_fp_social {
  margin-bottom: 0;
}

#sidebar-footer .widget_fp_social div ul li {
  padding: 5px 15px;
}

#sidebar-footer .widget_text {
  padding-top: 30px;
  margin-bottom: 0;
}

#sidebar-footer .textwidget {
  text-align: center;
}

#sidebar-footer .textwidget p:last-child {
  margin-bottom: 0;
}