/*
 Theme Name:	Divi Contractor
 Theme URI:		https://divicontractor.aspengrovestudio.com/
 Description:	Divi Contractor Child Theme
 Author:		Divi Space
 Author URI:	https://divi.space
 Template:		Divi
 Version:		1.1.1
 License:		GPLv3
 License URI:	https://www.gnu.org/licenses/gpl-3.0.en.html
 Tags:			Divi, contractor, Child Theme
 Text Domain:	divi-contractor
 GitLab Theme URI: https://gitlab.com/aspengrovestudios/divicontractor/
 AGS Info:      ids.aspengrove 549386 ids.divispace 653360 legacy.key agstheme_divicontractor_license_key legacy.status agstheme_divicontractor_license_key_status adminPage admin.php?page=AGS_child_theme docs https://support.aspengrovestudios.com/article/598-divi-contractor
*/


/*
Divi Contractor Child Theme
Copyright (C) 2021  Aspen Grove Studios

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

==========

CREDITS:

Parts of this theme are based on and/or copied from WordPress, copyright 2011-2018
by the contributors. Licensed under the GNU General Public License (GPL), version
2 or later.

Parts of this theme are based on and/or copied from WooCommerce by Automattic,
copyright 2015 by the contributors. Licensed under the GNU General Public License
(GPL), version 3 or later.

Parts of this theme are based on and/or copied from Divi by Elegant Themes. Licensed
under the GNU General Public License (GPL), version 2. 


See the aspen-plugin-installer.php file for additional credit and licensing information.

See the files in the plugin's updater/ and aspen-demo-content/ directories for additional
credit and licensing information.

See the license.txt file in the theme's root directory for the text of the GPL, version 3.
See the GPL2.txt file in the theme's root directory for the text of the GPL, version 2.

==========

IMPORTANT: UTILIZING THE AUTOMATIC UPDATE FEATURE OF THIS CHILD THEME WILL OVERWRITE ANY CUSTOM CODE PLACED WITHIN THIS FILE.
IF YOU WISH TO AUTOMATICALLY UPDATE, PLEASE PLACE YOUR CODE IN THEME OPTIONS >> CUSTOM CSS OTHERWISE YOU CAN MANUALLY UPDATE
THE THEME FILES


This file modified by Dominika Rauk, Anna Kurowska a and/or others; last modified 2020-05-14

*/

/*
 * Table of content:
 * 1. GLOBAL:
 * - testimonials
 * - buttons
 * - meta
 * - toggle
 * - pagenavi
 * - tags
 * - widget
 * - sidebar
 * - back to top button
 * 3. PAGES
 * - portfolio
 * - blog
 * 4. FOOTER
*/


/* testimonials */
.et_pb_bg_layout_dark .et_pb_slide_description {
    text-shadow: none !important;
}

.divi-contractor-testimonial-slider .et_pb_slider_container_inner {
    display: block;
}

.divi-contractor-testimonial-slider .et_pb_slide_image {
    float: none;
    width: 100%;
    margin-top: 0 !important;
    position: relative;
}

.divi-contractor-testimonial-slider .et_pb_slide_description {
    float: none;
    width: 100%;
}


/* buttons */
.et_pb_button_helper_class .et_pb_button, .et_pb_button_helper_class .et_pb_button:hover {
    padding: 7px 25px !important;
}

/* meta */
.contractor-category {
    font-size: 12px !important;
    color: #ffffff;
    padding: 7px 15px !important;
    margin-bottom: 75px !important;
}

/* Toggle */
.et_pb_toggle_title:before, .et_pb_toggle_open .et_pb_toggle_title:before {
    content: '\4c';
    font-weight: bold;
    font-size: 30px;
}

/* portfolio navi */
.nav-single a {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.78;
    letter-spacing: normal;
    text-align: right;
    color: #000000 !important;
}

.nav-previous .meta-nav {
    vertical-align: middle;
    margin-right: 15px;
}

.nav-next .meta-nav {
    vertical-align: middle;
    margin-left: 15px;
}

/* tags */
.tag-cloud-link {
    padding: 5px;
    color: #ffffff !important;
}

/* widget */
.et_pb_widget_area_left {
    border-right: none !important;
}

.searchform input#s {
    border: 2px solid !important;
    border-radius: 100px;
}

.searchform input#searchsubmit {
    border-radius: 100px;
    color: #ffffff;
    font-size: 14px !important;
}

/* back to top button */

.et_pb_scroll_top:before {
    content: "6" !important;
}


/* Portfolio */
.contractor-portfolio .et_pb_post {
    position: relative !important;
    height: 480px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 60px 30px 30px;

}

.contractor-portfolio .et_pb_post .et_pb_image_container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    margin: 0;
}

.contractor-portfolio .et_pb_post .et_pb_image_container a {
    height: 100%;
}

.contractor-portfolio .et_pb_post .et_pb_image_container img {
    max-width: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contractor-portfolio .et_pb_post .et_overlay {
    border: none;
    z-index: 1;
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.8);
    display: block !important;
}

.contractor-portfolio .et_pb_post:hover .et_overlay {
    background-color: rgba(0, 0, 0, 0.8);
}

.contractor-portfolio .et_pb_post .et_overlay:before {
    display: none;
    content: '';
}

.contractor-portfolio .et_pb_post h2,
.contractor-portfolio .et_pb_post .post-content {
    display: block;
    z-index: 100 !important;
    position: relative;
}

.contractor-portfolio .et_pb_post .post-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.contractor-portfolio .et_pb_post h2 {
    margin-bottom: 14px;
}

.contractor-portfolio .et_pb_post a.more-link {
    margin-top: 30px;
}


.contractor-portfolio .et_pb_post:hover .post-content p {
    color: rgba(255, 255, 255, 0.8);
}

/* Blog */
.contractor-blog.et_pb_blog_grid .column .et_pb_post {
    display: flex;
    flex-direction: column;
}

.contractor-blog.et_pb_blog_grid .column .et_pb_post .post-meta {
    order: 1;
}

.contractor-blog.et_pb_blog_grid .column .et_pb_post .entry-title {
    order: 2;
}

.contractor-blog.et_pb_blog_grid .column .et_pb_post .post-content {
    order: 3;
}

/* Single post categories */

.cosntructor-post-categories a {
    color: #fff;
    padding: 8px 15px;
    margin: 5px;
    display: inline-block;
}

/* footer */
@media (max-width: 980px) {
    .contractor-footer .et_pb_column {
        margin-bottom: 0 !important;
    }
}

/* END */
