/*
 Theme Name:     MyRentSource
 Description:    Custom theme created for MyRentSource.
 Author:         XDC Marketing & Branding
 Author URI:     https://xdcmb.com/
 Template:       Divi
 Version: 1.0.0
*/

:root {
	--theme-color: #002377;
	--theme-secondary-color: #006fd1;
	--tertiary-color: #f7f7f7;
	--light-color: #ffffff;
    --light-blue: #5595f4;
	--dark-color: #000000;
}

::-webkit-scrollbar {
	height: 12px;
	width: 6px;
	background: var(--tertiary-color);
}

::-webkit-scrollbar-thumb {
	background: var(--light-blue);
	-webkit-border-radius: 0;
	-webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.75);
}

:root :where(#page-container a:where(:not(.wp-element-button))) {
	text-decoration: none;
}

#et-main-area {
	position: relative !important;
	z-index: 0 !important;
	margin-top: calc(97.8px + 42.8px) !important;
}

.signed-in #et-main-area {
	margin-top: calc(97.8px + 42.8px  + 32px) !important;
}

.image-4-3 img {
	aspect-ratio: 4/3;
	object-fit: cover;
}

.desktop {
	display: block !important;
}

.mobile {
	display: none !important;
}

.signed-in {
	margin-top: 32px;
}

blockquote {
	border-left: 6px solid var(--theme-color);
	padding: 10px 20px;
	font-style: italic;
}

.custom-page-header {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 250px 20px 200px 20px;
	transition: all 0.2s ease-in-out;
}

.custom-page-header .custom-page-header-content {
	max-width: 800px;
}

.custom-page-header h1,
.custom-page-header h2 {
	text-align: center;
	color: var(--light-color);
}

.custom-page-header h1 {
	font-size: 3rem;
	font-weight: 1000;
}

.custom-page-header h2 {
	font-size: 2rem;
	font-weight: 600;
}

.text-no-padding {
    padding: 0;
}

form.fluent_form_3 .ff-btn-submit:not(.ff_btn_no_style) {
    background-color: var(--theme-color) !important;
    color: var(--dark-color) !important;
    border: 2px solid var(--dark-color) !important;
    padding: 10px 20px !important;
}

.custom-footer-link:hover a {
    text-decoration: underline;
}

@media (max-width: 980px) {
    .page-title {
        font-size: 2rem;
    }
}

/*** Change Mobile Columns By VictorDuse.com.com ***/

/* 2 Columns Mobile */
@media all and (max-width: 767px) {
    html .et-db .two-col-mob .et_pb_column {
        width:47.25% !important;
    }
    
html .et-db .two-col-mob .et_pb_column:nth-last-child(-n+2) {
        margin-bottom:0;
    }

    html .et-db .two-col-mob .et_pb_column:not(:nth-child(2n)) {
            margin-right:5.5% !important;
    }
}

/* 3 Columns Mobile */
@media all and (max-width: 767px) {
    html .et-db .three-col-mob .et_pb_column {
        width:29.6667% !important;
    }

    html .et-db .three-col-mob .et_pb_column:nth-last-child(-n+3) {
        margin-bottom:0;
    }

    html .et-db .three-col-mob .et_pb_column:not(:nth-child(3n)) {
        margin-right:5.5% !important;
    }
}

/* 4 Columns Mobile */
@media all and (max-width: 767px) {
    html .et-db .four-col-mob .et_pb_column {
        width:20.875% !important;
    }

html .et-db .four-col-mob .et_pb_column:nth-last-child(-n+4) {
        margin-bottom:0;
    }

    html .et-db .four-col-mob .et_pb_column:not(:nth-child(4n)) {
        margin-right:5.5% !important;
    }
}

/* 5 Columns Mobile */
@media all and (max-width: 767px) {
    html .et-db .five-col-mob .et_pb_column {
        width:15.6% !important;
    }

    html .et-db .five-col-mob .et_pb_column:nth-last-child(-n+5) {
        margin-bottom:0;
    }

    html .et-db .five-col-mob .et_pb_column:not(:nth-child(5n)) {
        margin-right:5.5% !important;
    }
}

/* 6 Columns Mobile */
@media all and (max-width: 767px) {
    html .et-db .six-col-mob .et_pb_column {
        width:12.083% !important;
    }

    html .et-db .six-col-mob .et_pb_column:nth-last-child(-n+6) {
        margin-bottom:0;
    }

    html .et-db .six-col-mob .et_pb_column:not(:nth-child(6n)) {
        margin-right:5.5% !important;
    }
}

/*** Change Tablet Columns By VictorDuse.com.com ***/

/* 1 Column Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
    html .et-db .one-col-tab .et_pb_column {
        margin-right:0 !important;
        width:100% !important;
    }
    
        html .et-db .one-col-tab .et_pb_column:not(:last-child) {
        margin-bottom:30px !important;
    }
}

/* 2 Columns Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
    html .et-db .two-col-tab .et_pb_column {
        width:47.25% !important;
    }

.two-col-tab .et_pb_column:nth-last-child(-n+2) {
        margin-bottom:0;
    }

    html .et-db .two-col-tab .et_pb_column:not(:nth-child(2n)) {
        margin-right:5.5% !important;
    }
}

/* 3 Columns Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
    html .et-db .three-col-tab .et_pb_column {
        width:29.6667% !important;
    }

html .et-db .three-col-tab .et_pb_column:nth-last-child(-n+3) {
        margin-bottom:0;
    }

    html .et-db .three-col-tab .et_pb_column:not(:nth-child(3n)) {
        margin-right:5.5% !important;
    }
}

/* 4 Columns Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
    html .et-db .four-col-tab .et_pb_column {
        width:20.875% !important;
    }

html .et-db .four-col-tab .et_pb_column:nth-last-child(-n+4) {
        margin-bottom:0;
    }

    html .et-db .four-col-tab .et_pb_column:not(:nth-child(4n)) {
        margin-right:5.5% !important;
    }
}

/* 5 Columns Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
    html .et-db .five-col-tab .et_pb_column {
        width:15.6% !important;
    }

.five-col-mob .et_pb_column:nth-last-child(-n+5) {
        margin-bottom:0;
    }
    
    html .et-db .five-col-tab .et_pb_column:not(:nth-child(5n)) {
        margin-right:5.5% !important;
    }
}

/* 6 Columns Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
    html .et-db .six-col-tab .et_pb_column {
        width:12.083% !important;
    }

    html .et-db .six-col-tab .et_pb_column:nth-last-child(-n+6) {
        margin-bottom:0;
    }

    html .et-db .six-col-tab .et_pb_column:not(:nth-child(6n)) {
        margin-right:5.5% !important;
    }
}

@media (max-width: 980px) {
	.desktop {
		display: none !important;
	}
	.mobile {
		display: block !important;
	}
	.custom-page-header h1 {
		font-size: 2rem;
	}
	.custom-page-header h2 {
		font-size: 1.5rem;
	}
	.custom-row-gold-border {
		gap: 5px !important;
	}
	.custom-row-gold-border .et_pb_column {
		display: block !important;
	}
}

@media (max-width: 600px) {
	.signed-in {
		margin-top: 46px;
	}

	.signed-in #et-main-area {
		margin-top: calc(97.8px + 42.8px  + 46px) !important;
	}

	#wpadminbar {
		position: fixed;
	}
}