/*
 Theme Name:   spaceship-v1
 Theme URI:    https://designitwise.co.uk
 Description:  A  Divi child theme with support for WooCommerce and Divi Projects.
 Author:       spaceship-v1
 Author URI:   https://designitwise.co.uk
 Author Email: info@designitwise.co.uk
 Template:     Divi
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  spaceship-v1
*/

body:not(.et-tb) #main-content .container, body:not(.et-tb-has-header) #main-content .container {
    padding-top: 8px!important;
}



/*** Take out the divider line between content and sidebar ***/
#main-content .container:before {background: none;}
 
/*** Expand the content area to fullwidth ***/
@media (min-width: 981px){
#left-area {
    width: 100%;
    padding: 23px 0px 0px !important;
    float: none !important;
}
}




/*** Hide Sidebar for archive pages ***/
.archive #sidebar {display:none;}

/*** Hide Sidebar for all pages ***/
.page  #sidebar {display:none;}

/*** Hide Sidebar for single posts ***/
.single  #sidebar {display:none;}

/*** Hide Sidebar for single project posts ***/
.single-project  #sidebar {display:none;}


/*** Hide Sidebar for category archive pages ***/
.category  #sidebar {display:none;}


/*** Hide Sidebar project category archive pages ***/
.tax-project_category  #sidebar {display:none;}


/*** Hide Sidebar for 404 pages ***/
.error404  #sidebar {display:none;}





/*** mobile colums same width ***/


@media only screen and (max-width: 980px) {

.two-columns .et_pb_column {
width: 50%!important;
}

.three-columns .et_pb_column {
width: 33.33%!important;
}

.four-columns .et_pb_column {
width: 25%!important;
}

}





/*place button modules next to each other in the same column*/
.pa-inline-buttons .et_pb_button_module_wrapper {
    display: inline-block;
}

.pa-inline-buttons {
    text-align: right !important;
}

@media only screen and (max-width: 980px) {
	
	.pa-inline-buttons {
    text-align: center !important;
}
}