/*======================================
Theme Name: J Beckon Collection
Theme URI: https://jbeckoncollection.com/
Description: J Beckon Collection Theme
Version: 1.0
Author: Left Plus Right
Author URI: http://leftplusright.com
Template: Divi
======================================*/


/* General Styles
 * =================================== */

h1, h2, h3 {
	font-family: big-caslon-fb, serif;
	font-weight: 400;
	font-style: normal;
}
body {
	font-weight: 300;
}

/* Button Styles
 * =================================== */
a.et_pb_button.text-link {
    padding: 0px 30px 0px 0px !important;
    background: url(https://jbeckonbeds.com/wp-content/uploads/2020/03/arrow.png) no-repeat center right !important;
    background-size: 20px !important;
	background-color: transparent !important;
}
a.et_pb_button.text-link:hover {
	padding: 0px 38px 0px 0px !important;
	background: url(https://jbeckonbeds.com/wp-content/uploads/2020/03/arrow.png) no-repeat center right !important;
	background-size: 20px !important;
	background-color: transparent !important;
}

/* Header Navigation Styles
 * =================================== */
#top-menu li {
    margin: 0px 25px;
}
#top-menu li.current-menu-item a {
    color: #000 !important;
    border-bottom: 4px solid #000;
    padding: 0px 0px 10px 0px !important;
}
header#main-header {
    box-shadow: none;
}

.et-fixed-header #logo {
content: url(https://jbeckonbeds.com/wp-content/uploads/2020/01/favicon.png);
}

/* Mobile Menu
 * =================================== */
.mobile_menu_bar:before {
	color: #000;
}
.et_mobile_menu {
	border-top: 3px solid #000;
}


/* Footer Menu
 * =================================== */

.ftr-menu .et_pb_text_inner {
    display: flex;
	flex-direction: row;
    justify-content: space-around;
    max-width: 600px;
    align-items: center;
    text-align: center;
    margin: 0px auto;
    padding: 20px 0px;
}

@media screen and (max-width: 700px) {
	.ftr-menu .et_pb_text_inner {
		flex-direction: column;
	}
}


/* Homepage
 * =================================== */
.gal-dots-bkgd::before {
    content: " ";
    position: absolute;
    left: -40px;
    width: 550px;
    display: block;
    height: 500px;
    background: url(https://jbeckonbeds.com/wp-content/uploads/2020/03/dot-group-1.png);
    bottom: -130px;
    background-size: 400px;
}

@media screen and (max-width: 700px) {
	.gal-dots-bkgd::before {
		background: unset;
	}
}


/* Swap Columns on Mobile */

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


	/* Column Reordering on Mobile
	 * ============================== */
	.custom_row {
	  display: -webkit-box;
	  display: -moz-box;
	  display: -ms-flexbox;
	  display: -webkit-flex;
	  display: flex;
	-webkit-flex-wrap: wrap; /* Safari 6.1+ */
	flex-wrap: wrap;
	}

	.first-on-mobile {
	-webkit-order: 1;
	order: 1;
	}

	.second-on-mobile {
	-webkit-order: 2;
	order: 2;
	}

	.third-on-mobile {
	-webkit-order: 3;
	order: 3;
	}

	.fourth-on-mobile {
	-webkit-order: 4;
	order: 4;
	}
	/* add margin to last column */
	.custom_row:last-child .et_pb_column:last-child {
	margin-bottom: 30px;
	}
}



