/*
 Theme Name:     Divi-Child
 Description:    Divi Child Theme
 Author:         Martin Blaettler
 Author URI:     http://www.gymperformance.ch
 Template:       Divi
 Version:        1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */

//No Grey SIde Bars on Mobile Phones
@media (max-width: 980px) {
#main-content > .container { width: 100% !important; }
}
@media (max-width: 480px) {
#main-content > .container { width: 100% !important; }
}

//WooCOmmerce SIngle Picture SIzes
.woocommerce div.product div.images, .woocommerce-page div.product div.images {
    width: auto !important;
}

//Comment Box on Page Builder SItes
.et_pb_pagebuilder_layout #comment-wrap {
width: 75%;
margin: 0 auto 40px auto;
}

/* === Style WP-PageNavi Pagination === */

/* Center the pagination */
.wp-pagenavi { text-align:center; }

/* Add a border */
.wp-pagenavi span, .wp-pagenavi a, .wp-pagenavi :last-child { 
    border: 1px solid #bbb !important; 
    padding: 6px 12px; 
    margin: 0;  
}
.wp-pagenavi span, .wp-pagenavi a { border-right: none !important; }

/* Style the default text */
.wp-pagenavi span, .wp-pagenavi a { 
    font-weight: bold !important; 
    color: #999 !important
}

/* Style the current / hovered page link */
.wp-pagenavi span.current,
.wp-pagenavi a:hover { 
    color: #666 !important; 
    background-color: #ddd !important; 
}

/* Style the page count text */
.wp-pagenavi :first-child { color: #666 !important; }
