/*
 Theme Name:   The Barbershop Child Theme
 Theme URI:    http://kobusswartz.co.za/barbershop/
 Description:  The Friendly Barber
 Author:       Prut Udomwattawee
 Author URI:   http://apzentral.com
 Template:     thebarbershop
 Version:      1.0.0
 Tags:         barber, barber shop
 Text Domain:  friendly-barber-child
*/

/* =Theme customization starts here
-------------------------------------------------------------- */

@import '../../../wp-content/themes/thebarbershop-child/css/689237-custom.css';

/**
 * Utilities
 */
.text-left {
    text-align: left;
}
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}
a.tel-number:link {
    color: #888;
}
.feature a.tel-number:link {
    color: #fff;
}

h1.heading.no-border {
    background: none;
}

body.home {
    margin-bottom: 0;
}

.footer .footer-logo p {
    background: url("../../../wp-content/themes/thebarbershop-child/img/407377-friendly-barber-small.png") no-repeat scroll 50% 10px
        rgba(0, 0, 0, 0);
    padding: 55px 0 0;
}

/**
 * Button
 */
.btn {
    /* display: inline-block;*/
    /* padding: 0.7em 2.3em;*/
    /* margin: 0.5em 0.3em;*/
    /* border-radius: 0.2em;*/
    /* box-sizing: border-box;*/
    /* text-decoration: none;*/
    /* font-family: "Roboto", sans-serif;*/
    /* font-weight: 400;*/
    /* color: #ffffff;*/
    /* background-color: #3369ff;*/
    /* box-shadow: inset 0 -0.6em 1em -0.35em rgba(0, 0, 0, 0.17),*/
    /*inset 0 0.6em 2em -0.3em rgba(255, 255, 255, 0.15),*/
    /*inset 0 0 0em 0.05em rgba(255, 255, 255, 0.12);*/
    /* text-align: center;*/
    /* position: relative;*/
}

.btn:active {
    /*box-shadow: inset 0 0.6em 2em -0.3em rgba(0, 0, 0, 0.15),*/
    /*inset 0 0 0em 0.05em rgba(255, 255, 255, 0.12);*/
}

.btn.book-now {
    background-color: #2979ff;
    color: #fff;
    border-bottom: none;
    font-size: 18px;
    padding-left: 50px;
    padding-right: 50px;
    margin-bottom: 30px;
}

@media all and (max-width: 30em) {
    .btn {
        /*display: block;*/
        /*margin: 0.4em auto;*/
    }
}

/**
 * Main Menu
 */
.show-bg nav.main ul li {
    padding-bottom: 0;
}

/**
 * Slider
 */
.slider .bx-wrapper .bxslider {
    height: 100%;
}
.slider .bx-wrapper .bx-controls .bx-pager {
    position: relative;
}
.slider .bxslider.show-title li > div {
    position: relative;
}
.slider .bxslider.show-title li h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: center;
    width: 100%;
    line-height: 35px;
    margin: 0;
    padding: 0;
    background: rgba(0, 0, 0, 0.4);
    bottom: 3px;
}
.gallery .barbers {
    text-align: start;
    margin-bottom: 0;
}

/**
 * Feature
 */
.feature {
    background: none repeat scroll 0 0 #242424;
    min-height: 526px;
}
.feature .slider {
    padding: 10px 0 35px;
}
.feature .slider .bx-viewport {
    margin-bottom: 20px;
}
.feature .slider .bx-pager-item a.active {
    opacity: 0.3;
}
.feature .feat-info {
    padding-top: 10px;
    font-size: 14px;
}

.feature .feat-time {
    margin: 20px auto;
}
.feature .feat-time > ul {
    width: 220px;
    margin: auto;
}
.feature .feat-time > ul li {
    font-size: 13px;
    text-align: right;
}
.feature .feat-time > ul li strong {
    width: 70px;
    display: inline-block;
    font-weight: normal;
    margin-right: 20px;
}

/**
 * Services
 */
@media (min-width: 767px) {
    #services .service-icons .columns {
        min-height: 400px;
    }
}

#services .about .text .long {
    padding-left: 40px;
    list-style: square;
    margin-bottom: 20px;
}

#services .about .text .long li {
    padding-left: 10px;
}

#services .about .columns.last {
    padding-right: 0;
    border-right: none;
}

.about ul.clean {
    width: 98%;
}

/**
 * Testimonials
 */
.testimonials {
    background: none repeat scroll 0 0 #242424;
}

/**
 * Portfolio
 */
#photobooth #portfolio li p {
    width: auto;
}
#photobooth #portfolio li strong {
    width: 100%;
    text-align: center;
}

/**
 * Barbers
 */
#barbers .clean .columns {
    margin-bottom: 35px;
}

#barbers .barbers {
    margin-bottom: 0;
}

#barbers .clean li.columns {
    margin-bottom: 0;
}

@media (min-width: 767px) {
    #barbers .clean li.columns {
        min-height: 620px;
    }
}

@media (max-width: 767px) {
    #barbers .clean .attachment-team-members {
        max-width: 180px !important;
    }
}

/**
 * Address
 */
.cover .hello .heading {
    margin-bottom: 35px;
}
.cover ul.clean {
    margin-bottom: 30px;
}
.cover .details {
    color: #888;
    font-size: 18px;
    margin-bottom: 35px;
}
.cover .details address {
    text-decoration: none;
    font-style: normal;
}
.cover .details address > strong {
    font-weight: bold;
    display: block;
    color: #333;
    font-size: 24px;
    margin-bottom: 24px;
}
.cover .details address .tel-number {
    display: block;
    margin-top: 25px;
}
.cover table.business-hours {
    width: 300px;
    margin: 0 auto 35px;
}
.cover .business-hours caption {
    color: #333;
    font-size: 24px;
    margin-bottom: 24px;
    font-weight: bold;
}

@media (max-width: 767px) {
    .cover .map {
        margin: 0 auto 30px;
        width: auto;
        border-width: 3px;
    }
    .cover .map iframe {
        max-height: 230px;
    }
}

/**
 * Footer
 */
.footer .container {
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    .footer {
        padding-bottom: 30px;
    }
    .footer .container {
        margin-bottom: 70px;
    }
    .footer .social-links .clean {
        margin: 20px 0 0;
        padding: 0;
        text-align: center;
    }
    .footer .social-links .clean li {
        float: none;
        display: inline;
    }
    .footer .social-links .clean li:hover {
        float: none;
        display: inline;
    }
}

/**
 * iPad
 */
@media (max-width: 769px) and (min-width: 760px) {
    .container {
        margin-right: 0;
        width: 100%;
    }
    .feature {
        padding-left: 0;
        padding-right: 0;
    }
    header nav.main ul {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .services p.lead {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
    .about .columns.text {
        border: none;
        width: 95%;
        padding: 0 !important;
        margin: auto !important;
    }
    #barbers p.intro {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
}


/**
 * New Wordpress
 **/
.feature .feat-info {
  border-bottom: 1px solid #fff;
  padding-bottom: 0;
  padding-top: 0;
}
.feature .feat-info .column {
    float: none;
}
.feature .feat-info p {
    text-align: center;
}

.feature .feat-time {
    color: #fff;
}

.slider .bxslider.show-title li h3 {
    color: #fff;
}


/* photo booth */

.photobooth .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.photobooth .gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photobooth .gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.photobooth .gallery img {
    border: 4px solid #ffffff;
    height: 225px;
    width: 100%;
    object-fit: cover;
}