/*
Theme Name: Divi Child
Template: Divi
Version: 1.0
*/
/* ==========================================================
   PROJECT PAGES (CPT: projecten)
   Custom Divi layout overrides
   ========================================================== */


/*
 * DIVI MAIN CONTENT CONTAINER
 *
 * Divi's .container controls the overall page content width.
 *
 * Maximum width: 1280px
 * On smaller screens: keeps 30px space on the left and right.
 */
body.single-projecten #main-content > .container {
    width: calc(100% - 60px) !important;
    max-width: 1280px !important;
}


/*
 * REMOVE DIVI DEFAULT POST TITLE AND META
 *
 * Removes:
 * - WordPress post title (e.g. KNB3)
 * - Author
 * - Published date
 */
body.single-projecten .et_post_meta_wrapper {
    display: none !important;
}


/*
 * REMOVE DIVI SIDEBAR
 *
 * Removes the default WordPress/Divi sidebar containing:
 * - Search
 * - Recent Posts
 * - Recent Comments
 */
body.single-projecten #sidebar {
    display: none !important;
}


/*
 * EXPAND MAIN CONTENT AREA
 *
 * Divi normally reduces #left-area width when a sidebar exists.
 * Since the sidebar has been removed, allow the content area
 * to use the full width of the parent Divi container.
 */
body.single-projecten #left-area {
    width: 100% !important;
    padding-right: 0 !important;
    float: none !important;
}


/*
 * REMOVE DIVI SIDEBAR SEPARATOR
 *
 * Divi adds a vertical line between the content area and sidebar
 * using the .container::before pseudo-element.
 */
body.single-projecten #main-content .container::before {
    display: none !important;
}


/*
 * CUSTOM PROJECT PAGE WRAPPER
 *
 * .page-wrapper is defined in project-page.php.
 *
 * The parent Divi container already controls the maximum width,
 * so the custom wrapper should use all available parent width
 * instead of narrowing the content again.
 */
body.single-projecten .page-wrapper {
    width: 100% !important;
    max-width: none !important;
}

.xiel-project-description{
   padding-bottom: 1em;
    font-family: Open Sans, Arial, sans-serif;
    font-size: 14px;
       font-size: 100%;
    color: #666;
    line-height: 1.7em;
    -webkit-font-smoothing: antialiased;
}

.login-box {
      padding: 50px;
    margin: 50px auto;
    max-width: 450px;
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}
	
.login-box h1{
	font-family: 'Josefin Sans', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
	padding:0px;
	margin:0px;
}
.login-box p{
    padding-bottom: 10px;
    line-height: 22px;
    font-size: 18px;
	color: #666;
}
.login-box p.error{
    line-height: 15px;
    font-size: 14px;
	color: #ff0000
}
	
.login-box input{
	 -webkit-appearance: none;
    background-color: #fff;
    width: 100%;
    border-width: 1;
    border-radius: 0;
    color: #666;
    font-size: 18px;
    padding: 16px;
	margin:20px 0px;
	font-weight:600;
	text-align:left;
	}
.project-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 30px 17px 30px;
    border: none;
    border-radius: 0px;
    border-color: #f5a81c !important;
    background-color: #f5a81c !important;
    color: #fff;
    font-family: 'Josefin Sans', Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: 0 10px 25px rgba(244, 122, 85, 0.35);
}

.project-btn:hover {
    background: #e7663f;
    box-shadow: 0 16px 35px rgba(244, 122, 85, 0.45);
}

.project-btn:active {
    transform: translateY(0);
    box-shadow: 0 6px 15px rgba(244, 122, 85, 0.3);
}

.project-btn:focus {
    outline: none;
    box-shadow:
        0 0 0 4px rgba(244, 122, 85, 0.2),
        0 12px 30px rgba(244, 122, 85, 0.35);
}
	.flex-right{
		display:flex;
		align-items:flex-end;
		justify-content:flex-end;
	}

.page-wrapper h1{
    font-family: 'Josefin Sans', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 700;
    font-size: 36px !important;
    line-height: 1.8em;
	color: #f5a81c !important;
}
	
.xiel-project-description p{
   padding-bottom: 1em;
    font-family: Open Sans, Arial, sans-serif;
    font-size: 16px !important;
    color: #666;
    line-height: 1.8em;
    -webkit-font-smoothing: antialiased;
}
.page-wrapper-noprojects{
	padding: 50px;
	margin: 50px auto 100px auto;
	max-width: 1280px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.page-wrapper-noprojects h1{
    font-family: 'Josefin Sans', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.4em;
	text-align: center;
}
	
.page-wrapper-noprojects p{
   padding-bottom: 1em;
    font-family: Open Sans, Arial, sans-serif;
    font-size: 16px !important;
    color: #666;
    line-height: 1.8em;
    -webkit-font-smoothing: antialiased;
	text-align: center;
}
