/*
Theme Name: dma WordPress Theme
Theme URI: http://taoti.com
Description: Custom theme dma.
Version:      1.0
*/

/*
Edits by:	Gino
	Note:	I will try to document as many of the fixes I've made to the site as possible.

	Edits:	(1)	Events and Webinars
				Problem:		Event Date and CTA Button found inside event pages are not padded on the left side.
				Solution:		padding-left:20px for the event date was added. (.event-meta)
								margin-left:20px for the cta button was added. (.single-events-learn-more)
				Location: 		(styles/css/style-critical.css)

			(2) Events and Webinars
				Problem:		Event Start Date and Event End Date are showing a different time on the frontend
								compared to what was set on the backend. Taoti had 3 lines of code meant for customizing
								the timezone of the event page through the 'Event TimeZone' field in the page editor.
								Not only does this field not working, but it was also messing up the event's start and end date.
				Solution:		Those 3 lines of code were deactivated through //.
				Location: 		(single-events-and-webinars.php)
				Notes:			The 'Event Time' field group found in ACF, a code I created, is now removed.
								This served as a point of reference on what time I should be putting in the event start and end date fields
								to get the correct time to show up on the frontend.

			(3)	Heading 3, 4 and 5
				Notes:			text-transform:uppercase was added, but it doesn't seem to be working. More research needs to be done. (.h3,h3)
								text-transform:uppercase was added. (.h4,h4)
								text-transform:uppercase was added. (.h5,h5)
								color:#316195 (DMA BLUE) was added. (.h5,h5)
				Location: 		(styles/css/style-critical.css)

			(4)	Bullets
				Notes:			.wysiwyg__item ul {margin-left: 2rem;} was added.
				Location: 		(styles/css/style-critical.css)

			(5)	Horizontal Line
				Notes:			hr{margin-bottom:30px;} was added.
				Location: 		(styles/css/style-critical.css)

			(6) Quote Slider Block
				Notes:			Multiple changes were made in this block: 1. Hid navigational dots, 2. Shrunk quote text, 3. Shrunk quote name, 4. Shrunk quote title
									1.	Original:	.module--quote-slider .slick-dots{margin-top:5rem;text-align:center}
										Revised:	.module--quote-slider .slick-dots{content-visibility:hidden;margin:0px;text-align:center}
									2.	Original:	.module--quote-slider .quote-text{color:#fff;font-family:proxima-nova,sans-serif;font-size:clamp(2.2rem,3vw,3.4rem);font-weight:300;line-height:1.4;margin:auto auto 1rem;max-width:920px}
										Revised:	.module--quote-slider .quote-text{font-family:proxima-nova,sans-serif;font-size:1.8rem;font-weight:300;line-height:1.4;margin:auto auto 1rem;max-width:920px}
									3.	Original:	.attribution-name{color:#fff;font-size:2.2rem;font-weight:900;text-transform:uppercase}
										Revised:	.attribution-name{color:#4f5e78;font-size:1.8rem;font-weight:900;line-height:1;text-transform:uppercase}
									4.	Original:	.attribution-title{color:#a5c5ed;font-size:2.2rem;font-weight:900;text-transform:uppercase}
										Revised:	.attribution-title{color:#4f5e78;font-size:1.8rem;line-height:1.2;}
				Location: 		(styles/css/style-critical.css)

			(7) WYSIWYG Improvement – Document this better.
								Revised .module--wysiwyg a{color: #FE5F00;word-break:break-word}
								Original .module--wysiwyg a{word-break:break-word}

			(8) From:			ul>li>ul{padding-left:28px;}
				To:				ul>li>ul{padding-left:20px;margin-bottom:0px!important;}
				Location: 		(styles/css/style-critical.css)

			(9) WYSYWYG Restrictions Removed
				Code removed:	'post_types'      => array( 'page', 'post', 'news-and-insights', 'leadership', 'partners', 'solutions', 'industries', 'expertise', 'practice-areas', 'service', 'events-and-webinars' ),
				Location: 		Line 27, (blocks/wysiwyg-block/wysiwyg-block.php)

			(10) Accordion Height Adjusted
				 From:			.accordion-toggle:checked~.accordion-text{margin:2.4rem 0;max-height:100vh;
				 To:			.accordion-toggle:checked~.accordion-text{margin:2.4rem 0;max-height:300vh;
				 Location: (styles/css/style-critical.css)

			(11) H2 for Two Col Text Form Adjusted
			1.	 From:
			 	.module--two-cols-text-form .two-cols-text-form__inner .two-cols-text-form .headline h2{font-size:30px;font-weight:400}
				 To:
				.module--two-cols-text-form .two-cols-text-form__inner .two-cols-text-form .headline h2{}
			2.	 From:
			 	.module--two-cols-text-form .two-cols-text-form__inner .two-cols-text-form .headline{50px}
				 To:
				.module--two-cols-text-form .two-cols-text-form__inner .two-cols-text-form .headline{}
				 Location: (styles/css/style-critical.css)

			(12) Margin added: .two-cols-people-block--people{max-width:835px;min-width:835px;margin-top:2.5rem;
			Location: (styles/css/style-critical.css)

			(13) Top padding added:.module--text-image.widescreen.left_top,.module--text-image.widescreen.right_top{padding-bottom:1.8rem;padding-top:1.8rem;}
			Location: (styles/css/style-critical.css)

			(14) Blockquote font size changed:
			From: blockquote{color:#11284a;font-family:proxima-nova,sans-serif;font-size:clamp(2.4rem,4.25vw,3.4rem);font-style:normal;font-weight:400;line-height:4.5rem}
			To: blockquote{color:#11284a;font-family:proxima-nova,sans-serif;font-size:2.5rem;font-style:normal;font-weight:400;line-height:4.5rem}
			Location: (styles/css/style-critical.css)

			(15) Quotation mark removed for Blockquote Style
			From:
				(1) .module--wysiwyg blockquote p:last-child:after{content:"”";display:inline;font-size:.94em;line-height:0}
				(2) .module--wysiwyg blockquote:after{content:"“";font-size:.94em;left:-.7em;line-height:1;position:absolute;top:0}
			To:
				(1) .module--wysiwyg blockquote p:last-child:after{display:inline;font-size:.94em;line-height:0}
				(2) .module--wysiwyg blockquote:after{font-size:.94em;left:-.7em;line-height:1;position:absolute;top:0}
			Location: (styles/css/style-critical.css)

			(16) Margin top was removed for Two-col People Block
			From: .module--text-image.option_2:not([class*=no_offset]).block-spacing-thin,.module--text-image.option_3:not([class*=no_offset]).block-spacing-thin{margin-top:102px}
			To: .module--text-image.option_2:not([class*=no_offset]).block-spacing-thin,.module--text-image.option_3:not([class*=no_offset]).block-spacing-thin{margin-top:0px}
			Location: (styles/css/style-critical.css)

			(17) Margin top removed for table from 4em to 0px: .module--wysiwyg h4+table,.module--wysiwyg h5+table,.module--wysiwyg h6+table{margin-top:0px}
			Location: (styles/css/style-critical.css) 

			(18) Tag Button adjusted to inline-flex from flex.
			.tag-button{align-items:center;background-color:initial;border:2px solid #4f5e78;border-radius:30px;color:#11284a;cursor:pointer;display:inline-flex;font-size:1.4rem;font-weight:700;line-height:1;padding:.5rem 1.4rem;position:relative;text-align:center;text-transform:uppercase;width:-moz-fit-content;width:fit-content}
			Location: (styles/css/style-critical.css)

			(19) Button Display set to Unset from Flex
			.button{align-items:center;background-color:initial;border-radius:30px;border-width:2px;color:#11284a;cursor:pointer;display:unset;font-size:1.4rem;font-weight:700;padding:1rem 2rem;position:relative;text-align:center;text-transform:uppercase;width:-moz-fit-content;width:fit-content}
			Location: (styles/css/style-critical.css)

			(20) H2 font size changed
			From: .h2,h2{text-transform:uppercase;font-size:clamp(3.2rem,4.5vw,5rem)
			To: .h2,h2{text-transform:uppercase;font-size:3.8rem;
			Location: (styles/css/style-critical.css)


*/