/*
Theme Name: Divi Child Theme
Description: A child theme to house custom coding which modifies the Divi parent theme by Elegant Themes. 
Author:   Joe DiDomenico
Author URI: https://www.embryodesign.com
Template: Divi
Version: 2.0
*/


	@font-face {
		font-family: Atletico;
		src: url(https://nationalgunrights.org/wp-content/themes/Divi-child/fonts/AtleticoRegular.otf);
	}
	@font-face {
		font-family: AtleticoBold;
		src: url(https://nationalgunrights.org/wp-content/themes/Divi-child/fonts/AtleticoBold.otf);
	}
	@font-face {
		font-family: AtleticoLight;
		src: url(https://nationalgunrights.org/wp-content/themes/Divi-child/fonts/AtleticoLight.otf);
	}
	@font-face {
		font-family: AtleticoMedium;
		src: url(https://nationalgunrights.org/wp-content/themes/Divi-child/fonts/AtleticoMedium.otf);
	}
	@font-face {
		font-family: AtleticoThin;
		src: url(https://nationalgunrights.org/wp-content/themes/Divi-child/fonts/AtleticoThin.otf);
	}
	@font-face {
		font-family: AtleticoUltraLight;
		src: url(https://nationalgunrights.org/wp-content/themes/Divi-child/fonts/AtleticoUltraLight.otf);
	}	
	@font-face {
		font-family: Roboto;
		src: url(https://nationalgunrights.org/wp-content/themes/Divi-child/fonts/Roboto-Regular.ttf);
	}	
	
	body, div, p {
		font-family: Roboto;
	}
	
	h3, h4, h5, h6 {
		font-family: Atletico !important;
	}
	h1 {
		font-family: AtleticoBold !important;
		font-size: 36px;
	}
	h2 {
		font-family: AtleticoMedium !important;
		font-size: 30px;
	}
	h3 {
		font-size: 24px;
	}
	h3 a {
		font-size: 21px;
	}
	h4 {
		font-size: 18px;
	}
	h5 {
		font-size: 16px;
	}
	h6 {
		font-size: 14px;
	}
	/* Original CSS BEGIN */
	.oppose {color:#F00;}
	.support {color:#0C0;}
	.padding_four {padding:4px;}
	.padding_four td, .padding_four th {padding: 4px;}
	/* Original CSS END */

	/* Main menu sub-menu rollovers BEGIN */
	.nav ul li a:hover {
		background-color:#273e6a !important;
		opacity:1 !important;
		color:#fff !important;
	}
	.et_pb_menu_0_tb_header.et_pb_menu .nav li ul.sub-menu a:hover {
		color:#fff !important;
	}
	/* Main menu sub-menu rollovers END */

	/* Gutenber default colors BEGIN */
	.has-blue-color {color: #273e6a!important;}
	.has-green-color {color: #00a887!important;}
	.has-orange-color {color: #ff7f00!important;}
	.has-light-orange-color {color: #d9534f!important;}
	.has-red-color {color: #bf1e2e!important;}
	.has-light-red-color {color: #ff1f55!important;}
	.has-purple-color {color: #ff00ff!important;}
	.has-cyan-color {color: #00ffff!important;}
	.has-yellow-color {color: #ffff00!important;}
	.has-golden-color {color: #ffdf00!important;}
	.has-gold-color {color: #fbc926!important;}
	.has-dark-pink-color {color: #ff7faa!important;}
	.has-pink-color {color: #ffccff!important;}
	.has-dark-green-color {color: #009f00!important;}
	.has-sky-blue-color {color: #00bfff!important;}
	.has-cherry-color {color: #ff00aa!important;}
	.has-plum-color {color: #d49fff!important;}
	.has-ether-color {color: #aa00ff!important;}
	.has-violet-color {color: #7f3fff!important;}
	.has-royal-blue-color {color: #557fff!important;}
	.has-sea-water-color {color: #00bfaa!important;}
	.has-olive-color {color: #808000!important;}
	.has-sour-cherry-color {color: #800080!important;}
	.has-dark-sea-water-color {color: #008080!important;}
	.has-brown-color {color: #800000!important;}
	.has-salad-color {color: #d4ff00!important;}
	.has-salada-color {color: #00ffaa!important;}
	.has-navy-color {color: #000080!important;}
	.has-grays-color {color: #9ea0a4!important;}
	.has-gray-color {color: #d2d1d4!important;}
	.has-white-color {color: #ffffff!important;}
	.has-black-color {color: #000000!important;}
	.has-oran-color {color: #d49f00!important;}
	.has-bluan-color {color: #a6caf0!important;}
	.has-grian-color {color: #c0dcc0!important;}
	/* Gutenber default colors END */

	/* For all Posts BEGIN */
	.single-post h1, .single-post h2, .single-post h3, .single-post h4, .single-post h5, .single-post h6 {
		line-height: 1.4em;
		font-weight: 300;
	}
	.single-post h3 {font-size: 20px;}
	.single-post h4 {font-size: 16px;}
	.single-post h1 a, .single-post h2 a, .single-post h3 a, .single-post h4 a, .single-post h5 a, .single-post h6 a {color:#337ab7 !important;}
	blockquote {
		margin-top:0 !important;
		border-color: #eeeeee !important;
	}
	blockquote p {font-size:120%;}
	pre.wp-block-verse {
		margin-top: 0px !important;
		margin-bottom: 5px !important;
		padding-top: 0px !important;
		padding-left: 25px !important;
	}
	/* For all Posts END */

	/***[Switch column order on mobile]***/
	@media only screen and ( max-width: 980px ) {
		.flip {
		display: -webkit-flex;
		-webkit-flex-direction: column-reverse;
		display: flex;
		flex-direction: column-reverse !important;}
	}
	sub, sup {
	  font-size: 60%;
	  line-height: 0;
	  position: relative;
	  vertical-align: baseline;
	}
	sup {top: -1em;}
	sub {bottom: -0.2em;}
	/* for HTML table on Bill Watch page */
	.page-id-44 .entry-content tr th {color: #fff !important;}
	/*---------------------------------------------------------------*/ 
	/*------Replace the Search Button with an Icon by Divi Soup------*/ 
	/*---------------------------------------------------------------*/
	/*Hide the search button*/
	.ds-icon-search input.et_pb_searchsubmit,
	.widget_search input#searchsubmit {
		background: transparent;
		color: transparent;
		border: none;
		width: 55px;
		z-index: 2;
	}
	/*Add padding to the search input field*/
	.ds-icon-search input.et_pb_s,
	.widget_search input#s {
		padding-right: 55px !important;
	}
	/*Add the icon*/
	.ds-icon-search .et_pb_searchform:before,
	.widget_search::before {
		content: '\55';
		position: absolute;
		font-family: 'ETModules';
		z-index: 1;
		right: 0;
		font-size: 20px;
		padding: 8px 20px;
		color: #fff;
	}
	/*---------------------------------------------------------------*/ 
	/*---End - Replace the Search Button with an Icon by Divi Soup---*/ 
	/*---------------------------------------------------------------*/
	.et_right_sidebar #main-content .container:before { background: none !important;} /* removes the vertical line on sidebar */
	/* Make search results blog posts full width BEGIN */
	body.search-results #content-area #left-area {
		width: 100%!important;
	}
	body.search-results #content-area {
		padding-top: 0!important;
	}
	/* Make search results blog posts full width END */
	.pagination {
		background-color:#f2f2f2;
		padding:10px;
		border:1px solid #eaeaea;
		-moz-border-radius: 8px !important;
		-webkit-border-radius: 8px !important;
		border-radius: 8px !important;
	}
	.pagination .alignleft, .pagination .alignright {
		border:1px solid #273e6a;
		-moz-border-radius: 8px !important;
		-webkit-border-radius: 8px !important;
		border-radius: 8px !important;
		padding:5px;
	}

	/*adjust margin below blog post featured image BEGIN */
	.et_pb_post .entry-featured-image-url {
		margin-bottom: 0px;
	}
	.et_pb_gutters3 .et_pb_column_2_3 .et_pb_blog_grid .column.size-1of2 .et_pb_post, .et_pb_gutters3.et_pb_row .et_pb_column_2_3 .et_pb_blog_grid .column.size-1of2 .et_pb_post {
		margin-bottom: 0%;
	}
	.et_pb_blog_grid .et_pb_post {
		padding-left:0!important;
		padding-right:0!important;
	}
	.et_pb_blog_grid .et_pb_post h2.entry-title {
		margin-left:-20px;
		margin-right:-20px;
	}
	/*adjust margin below blog post featured image END */

	/* formating tables BEGIN */
	.entry-content table:not(.variations), body.et-pb-preview #main-content .container table {border: 0px solid #fff;}
	.entry-content tr td, body.et-pb-preview #main-content .container tr td {
		border: 1px solid #dddddd;
		/* padding: 4px 5px; */
	}
	td h6 {line-height: 1em!important; padding-bottom: 2px!important;}
	/* formating tables END */

	 @media only screen and ( min-width: 981px ) {
		.et_pb_menu--style-left_aligned .et_pb_menu__logo-wrap {display:none;} /* removing the logo wrapper on desktop to remove the extra space on left */
	}
	/* changing toggle icons BEGIN */
	.et_pb_toggle_title:before {
	   content: "\4c";
	   transition: all .3s ease-in-out;
	}
	.et_pb_toggle_open .et_pb_toggle_title:before {
	   content: "\4b";
	   transform: rotate(180deg);
	}
	/* changing toggle icons END */
	.postid-14 .et_pb_title_featured_container {display:none;} /* removing featured image from this page: https://nationalgunrights.org/resources/news/tap-rack-bang-ep-2-constitutional-carry-nysrpa-v-corlett-more/ */
	.et_pb_text ul, .et_pb_text ol {margin: 0px 20px 0px 20px;} /* increasing indent on lists */
	.clear {
		clear: both;
	}
	.home-join div {
		margin: 14px 0px;
	}
	.home-join .right {
		text-align: right;
	}
	.home-join .center {
		text-align: center;
	}
	.home-join .label {
		background-color: #ccc;
		border: 1px solid #333;
		border-radius: 5px 0px 0px 5px;
		float: left;
		font-family: AtleticoMedium !important;
		padding: 3px 14px;
		text-align: center;
		width: 147px;
	}
	.home-join .input {
		float: left;
	}
	.home-join input {
		border: 1px solid #333;
		border-radius: 0px 5px 5px 0px;
		font-family: Atletico !important;
		margin: 0px 0px 0px -4px;
		padding: 7px 14px;
		width: 402px;
	}
	.formSubmit, .formSubmit .input {
		width: 100%;
	}
	#formSubmit {
		background-image: -webkit-linear-gradient(top,#428bca 0,#3071a9 100%);
		background-image: -o-linear-gradient(top,#428bca 0,#3071a9 100%);
		background-image: linear-gradient(to bottom,#428bca 0,#3071a9 100%);
		background-repeat: repeat-x;
		border-color: #2d6ca2;
		color: #fff;
		filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0);
		font-family: AtleticoMedium !important;
		font-size: 18px;
		width: 100%;
	}