/*
 Theme Name:     Mister Rogers & Me
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    A theme for Mister Rogers & Me based on a Divi Child Theme
 Author:         Hildebrand Design Co.
 Author URI:     https://www.hildebranddesigns.co
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

/*
===================================
Website Background
===================================
*/

body.custom-background {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#fdc47f+0,cf9648+50,935f23+100 */
	background: #fdc47f; /* Old browsers */
	background: -moz-linear-gradient(top,  #fdc47f 0%, #cf9648 50%, #935f23 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #fdc47f 0%,#cf9648 50%,#935f23 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #fdc47f 0%,#cf9648 50%,#935f23 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdc47f', endColorstr='#935f23',GradientType=0 ); /* IE6-9 */
}

/*
===================================
Secondary Header
===================================
*/

div#top-header > .container {
    text-align: center;
}

#et-secondary-menu {
	float: none;
}

@media (max-width: 980px) {
	.et_secondary_nav_only_menu #top-header {
	    display: block;
		position: relative !important;
		top: 0 !important;
	}
	.et_fixed_nav #main-header {
		position: relative !important;
		top: 0 !important;
	}
	.et_fixed_nav.et_secondary_nav_only_menu.admin-bar #main-header {
		top: 0 !important;
	}
	#et-secondary-menu, #et-secondary-nav {
	    display: block !important;
	}
}

/*
===================================
Secondary Header Icons
===================================
*/

.amazon > a:before {
	content: " ";
	height: 1.5em;
	width: 2em;
	margin-right: .75em;
	display: inline-block;
	background: url("https://www.misterrogersandme.com/wp-content/uploads/2020/07/amazon-brands-1.svg") no-repeat center;
	background-size: contain;
	vertical-align: middle;
}

.pbs > a:before {
	content: " ";
	height: 1.5em;
	width: 2em;
	margin-right: .75em;
	display: inline-block;
	background: url("https://www.misterrogersandme.com/wp-content/uploads/2020/07/pbs-icon-1.svg") no-repeat center;
	background-size: contain;
	vertical-align: middle;
}

.apple > a:before {
	content: " ";
	height: 1.5em;
	width: 2em;
	margin-right: .75em;
	display: inline-block;
	background: url("https://www.misterrogersandme.com/wp-content/uploads/2020/07/apple-brands-1.svg") no-repeat center;
	background-size: contain;
	vertical-align: middle;
}

@media (max-width: 600px) {
	#et-secondary-menu>ul>li:not(:first-child) a {
		font-size: 0;
		height: 40px;
		line-height: 40px;
	}

	#et-secondary-menu>ul>li a:before {
		font-size: 14px;
	}

	#et-secondary-menu>ul>li:first-child a {
		padding: 0 !important;
	}

	#et-secondary-menu>ul>li:first-child {
		position: relative;
		top: 5px;
	}
}

/*
===================================
Logo
===================================
*/

@media (min-width: 769px) {
	.et_header_style_left .logo_container a {
	    padding-top: 30px;
	    display: inline-block;
	    max-width: 400px;
	    width: 100%;
	}
}

.et_header_style_left .et-fixed-header .logo_container a {
    max-width: 400px;
    padding-top: 10px;
}


.et-fixed-header #et-top-navigation {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

@media (max-width: 1300px) and (min-width: 981px) {
	.et_header_style_left .logo_container a {
		width: 30%;
	}
}

@media (max-width: 600px) {
	.et_header_style_left #logo, .et_header_style_split #logo {
		max-width: 65%;
	}
}

/*
===================================
Navigation
===================================
*/

@media (max-width: 1300px) and (min-width: 981px) {
	.et_fixed_nav #et-top-navigation {
	    /*padding-left: 0 !important;
	    padding-top: 100px !important;*/
		width: 60%;
		padding-top: 20px !important;
		padding-left: 0 !important;
		width: 70%;
	}
	#top-menu li {
		padding-right: 10px;
	}
	nav#top-menu-nav {
		float: right;
	}
}

@media only screen and (min-width: 981px) {
	.et_header_style_left #et-top-navigation {
		padding: 35px 0 0 0 !important;
	}
	.et_header_style_left .et-fixed-header #et-top-navigation {
		padding-top: 20px !important;
	}
	#top-menu li {
		padding-right: 16px !important;
	}
}

#top-menu li a {
	text-transform: lowercase;
	position: relative;
    display: inline-block;
    font-size: 22px;
    line-height: 24px;
    font-weight: bold;
    color: #351e03;
    text-decoration: none;
    padding: 5px !important;
}

#top-menu li.current-menu-item>a {
    background-color: #fed6a6;
    color: #351e03 !important;
}

#top-menu li#menu-item-22.current-menu-item>a {
	background-color: rgba(0,0,0,0);
}

/*
===================================
Gravity Forms/Popup
===================================
*/

/* Gravity Forms */

div#popmake-3996 {
    padding: 0;
}

.pum-content.popmake-content {
    padding-bottom: 20px;
    text-align: center;
}

.popmake-content > *:not(:first-child) {
 	padding-left: 20px;
	padding-right: 20px;
}

.popmake-content h2 {
    text-align: center;
}

input#gform_submit_button_1 {
	background: #351e03 !important;
    padding: 0.3em 1em!important;
    color: #FFF;
	min-width: 200px;
	transition: all 300ms ease 0ms;
	font-family: 'Courier Prime',monospace;
	font-size: 20px;
	border: 2px solid;
    border-radius: 3px;
	cursor: pointer;
	text-transform: uppercase;
	font-weight: 700;
}

input#gform_submit_button_1:hover, input#gform_submit_button_1:active, input#gform_submit_button_1:focus {
    color: #351e03!important;
	background: #FFF !important;
}

.gform_footer.top_label {
    text-align: center;
}

/* End Gravity Forms */

.pum-theme-186 .pum-content, .pum-theme-lightbox .pum-content {
    font-weight: 400 !important;
}

/*
===================================
Mobile Menu
===================================
*/

.mobile_menu_bar:before {
	color: #351e03 !important;
}

.et_mobile_menu {
	border-top: 3px solid #351e03 !important;
}

/*
===================================
Change Gallery Column Numbers
===================================
*/

/** Desktop **/
@media (min-width: 981px){
	.col-width .et_pb_gallery_item {
	width: 20% !important; /*six columns*/
	clear: none !important;
	}
}
 
/** Tablet **/
@media (max-width: 980px){
	.col-width .et_pb_gallery_item {
	width: 25% !important; /*four columns*/
	clear: none !important;
	}
}
 
/** Small Tablet and Large Phone **/
@media (max-width: 767px){
	.col-width .et_pb_gallery_item {
	width: 33.33% !important; /*three columns*/
	clear: none !important;
	}
}
 
/** Phone **/
@media (max-width: 479px){
	.col-width .et_pb_gallery_item {
	width: 50% !important; /*two columns*/
	clear: none !important;
	}
}

/*
===================================
Content Area Mobile Padding
===================================
*/

@media (max-width: 980px) {
	.et_pb_section_0.et_pb_section {
		padding-top: 0 !important;
	}
}

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

.footer-widget > * {
    float: none !important;
    text-align: center;
}

#footer-info span {
    font-size: 14px;
    font-weight: 400;
    font-style: italic;
}

#footer-bottom .container.clearfix {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
}

#footer-bottom .container.clearfix > * {
    flex-direction: column;
    display: flex;
    width: 50%;
    align-content: center;
    justify-content: center;
    padding: 0 20px;
}

.et-social-icons li {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#footer-bottom .container.clearfix > .et-social-icons {
    flex-direction: row;
}

@media (min-width: 769px) {
	#footer-bottom .container.clearfix > * {
		text-align: right;
	}
	#footer-bottom .container.clearfix > .et-social-icons {
	    justify-content: flex-start;
	}
	.footer-widget {
	    margin-bottom: 2% !important;
	}
}

@media (max-width: 768px) {
	#footer-bottom .container.clearfix > * {
		width: 100%;
	}
}