/*
 Theme Name:   Divi Child For SR
 Theme URI:    http://sherirubin.com/wp-content/themes/Divi-child
 Description:  Divi Child Theme For SR
 Author:       SR
 Author URI:   http://sherirubin.com
 Template:     Divi
 Version:      0.0.5
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         footer, custom fonts, contact changes
 Text Domain:  Divi-child
*/

/*-----------------*/
/* IMPORTS SECTION */
/*- ---------------*/

@import url("webfonts/arquitecta/arquitecta-regular.eot");


/*---------------*/
/* FONT-FACE CSS */
/*---------------*/

/* ARQUITECTA */
@font-face {
	font-family: Arquitecta-Regular;  
	src: 
		url("arquitecta-regular.eot") format('embedded-opentype'),
		url("arquitecta-regular.woff2") format('woff2'), 
		url("arquitecta-regular.woff") format('woff'),
		url("arquitecta-regular.ttf") format('truetype');
	font-weight: normal;  
}
@font-face {
	font-family: Arquitecta-Heavy;  
	src: 
		url("arquitecta-heavy.eot") format('embedded-opentype'),
		url("arquitecta-heavy.woff2") format('woff2'), 
		url("arquitecta-heavy.woff") format('woff'),
		url("arquitecta-heavy.ttf") format('truetype');
	font-weight: normal;  
}


/*---------------------------*/
/* FONT STYLE CUSTOMIZATIONS */
/*---------------------------*/

/* ADDING ARQUITECTA TO VARIOUS FONT FAMILIES */
#top-menu {
	font-family: "Arquitecta-Regular", Arial, sans-serif;
}
body {
	font-family: "Arquitecta-Regular", Arial, sans-serif;
}
p {
	font-family: "Arquitecta-Regular", Arial, sans-serif;
}
#main-content {
	font-family: "Arquitecta-Regular", Arial, sans-serif;
}
h1 {
	font-family: "Arquitecta-Heavy", Arial, sans-serif;
}
h2 {
	font-family: "Arquitecta-Heavy", Arial, sans-serif;
}
h3 {
	font-family: "Arquitecta-Heavy", Arial, sans-serif;
}
h4 {
	font-family: "Arquitecta-Heavy", Arial, sans-serif;
}
h5 {
	font-family: "Arquitecta-Heavy", Arial, sans-serif;
}
h6 {
	font-family: "Arquitecta-Heavy", Arial, sans-serif;
}
.widgettitle {
	font-family: "Arquitecta-Heavy", Arial, sans-serif;
}


/* FONT COLOR AND WEIGHT CHANGES */
#top-menu {
	color: #7952ad !important;
	font-weight: 700;
}
body {
	color: #000;
}
p {
	color: #000;
}
h1 {
	color: #6f4b9e;
}
h2 {
	color: #6f4b9e;
}
h3 {
	color: #6f4b9e;
}
.widgettitle {
	color: #6f4b9e;
}
.post-1698 .et_pb_text_0 h1 {
	color: #6f4b9e;
	font-weight: 700;
}


/* LINK COLOR AND FORMAT CUSTOMIZATIONS */
#top-menu a {
	color: #7952ad !important;
	font-weight: 700;
}
#top-menu > li > a:hover {
	color: #61418b !important;
	font-weight: 700;
}
#top-menu li li a:hover {
    background-color: rgba(238, 238, 238, 1);
}
#main-content a {
	color: #7952ad !important;
}
#main-content a:hover {
	color: #61418b !important;
	text-decoration: underline;
}
.post-meta a {
	color: #7952ad !important;
	text-decoration: underline;
}
.post-meta a:hover {
	color: #61418b !important;
	text-decoration: underline;
}
#main-content a:visited {
	color: #61418b !important;
}
.post-meta a:visited {
	color: #61418b !important;
}
.et_mobile_menu a {
	color: #7952ad !important;
}


/*--------------------------*/
/* BASE SITE CUSTOMIZATIONS */
/*--------------------------*/

/* CHANGES BACKGROUND TO PURE WHITE */
body {
	background-color: #fff;
}

/* REDUCES TOP MARGIN ON BLOG POST TITLE LINKS ON HOME PAGE AND BLOG LISTING PAGES LIKE ARCHIVES */
.et_pb_post h2.entry-title {
	margin-top: 0px !important;
}


/*-------------------------*/
/* MAIN NAV CUSTOMIZATIONS */
/*-------------------------*/

/* INCREASE MAIN NAV MENU WIDTH - DESKTOP */
@media (min-width: 980px){
	.et_vertical_nav #page-container #main-header {
	width: 275px;
	}
}


/* MAKES MAIN NAV MENU COMPLETELY FIXED EVEN AFTER MAIN NAV WIDTH CHANGES --PER ET FORUMS WAS SUPPOSED TO WORK ON MOBILE */
@media (max-width: 980px){
	.et_fixed_nav #main-header, .et_fixed_nav #top-header {
	position: fixed!important;
	width: 100%;
	}
}

/* ADJUST POSITIONING OF DROPDOWN RELATIVE TO PRIMARY MENU */
.et_vertical_nav #main-header #top-menu li ul {
    left: 235px;
}

/* PRIMARY DROPDOWN MENU CUSTOMIZATIONS */
.nav li ul {
    width: 300px;
}
#top-menu li li a {
    padding: 5px 0 5px 0;
    width: 260px;
}

/* ADD NAV MENU "DROPDOWN" ARROWS - DESKTOP */
#top-menu .menu-item-has-children > a:first-child:after, #et-secondary-nav .menu-item-has-children > a:first-child:after {
    /*position: absolute;
    top: 0;
    right: 0;*/
    font-family: "ETmodules";
    font-size: 16px;
    content: "5";
}

/* SEARCH FORM IN TOP MENU STYLE CHANGES */
span#et_search_icon:before,
span.et_close_search_field:after,
.et_vertical_nav .container.et_search_form_container .et-search-form input {
	color: #61418b;
}
#main-header .et_search_outer .et-search-field {
	color: #61418b;
}
.et_vertical_nav.et_search_form_container input, .et_close_search_field:after {
	color: #61418b !important;
}
#et-info .et-top-search .et-search-field {
	color: #61418b !important;
}
#main-header .et-search-form input {
	color: #61418b !important;
	font-size: 18px !important;
}
.et-search-field::-webkit-input-placeholder { /* Chrome/Opera/Safari */
color: #61418b !important;
}
.et-search-field::-moz-placeholder { /* Firefox 19+ */
color: #61418b !important;
}
.et-search-field:-ms-input-placeholder { /* IE 10+ */
color: #61418b !important;
}
.et-search-field:-moz-placeholder { /* Firefox 18- */
color: #61418b !important;
}



/*-----------------------*/
/* FOOTER CUSTOMIZATIONS */
/*-----------------------*/

/* ADD BORDER AND MARGIN TO WIDGET TITLES */
h4.widgettitle {
	border-bottom: solid 2px #7952ad;
	margin-bottom: 15px;
	font-weight: 700;
}

/* REMOVE SCREEN READER LABEL - DUPE OF WIDGET TITLE */
.widget_archive label.screen-reader-text {
display: none;
}
.widget_categories label.screen-reader-text {
display: none;
}

/* CUSTOMIZES COLOR OF ARCHIVES AND CATEGORIES WIDGETS */
#main-footer select {
	border: 2px solid #7952ad;
	color: #7952ad;
}
#main-footer .widget_archive {
	margin-bottom: 25 px
}

/* CUSTOMIZES COLOR OF SEARCH WIDGET */
#main-footer .widget_search input#s {
	border: 2px solid #7952ad;
	color: #7952ad;
	height: 32px !important;
}
#main-footer .widget_search #searchsubmit {
	background-color: #eee;
	height: 32px !important;
}
#main-footer .widget_search input#searchsubmit {
	border:2px solid #7952ad;
	color: #7952ad;
	background-color: #eee;
	height: 32px !important;
	padding: 0
}

/* ADJUST BOTTOM MARGIN OF GET IN TOUCH MENU WIDGET IN FOOTER */
.et_pb_gutters2.et_pb_footer_columns4 .footer-widget .fwidget {
    margin-bottom: 10px;
    
/* ADJUSTS PADDING ON MAIN FOOTER */
#main-footer .container {
	margin-top: 10px;
	margin-right: auto;
	margin-bottom: 10px;
	margin-left: auto;
}
#main-footer .footer-widget }
	margin: 0 3% 1% 0
}
#main-footer #footer-widgets.clearfix {
	padding: 3% 0 0 0;
}
#main-footer .footer-widget.last {
	padding: 0;
	margin-bottom: 10px;
}
#footer-widgets {
    padding: 3% 0 1% 0;
}

/* REMOVE PADDING ON FOOTER INFO - BOTTOM BAR */
#footer-info {
	padding-bottom: 0px;
}
/*#footer-bottom {
	height: 32px;
	padding: 0px 0px 5px 0px;
}*/


/*---------------------------------*/
/* HOME PAGE SLIDER CUSTOMIZATIONS */
/*---------------------------------*/

#main-content .post-1698 .et-pb-active-slide .et_pb_slide_description {
	animation: 0s ease 0s normal none 1 running none !important;
	-webkit-animation: 0s ease 0s normal none 1 running none !important;
}
.custom_slider a.et_pb_more_button.et_pb_button:hover {
text-decoration: none !important;
}

/*--------------------------------------*/
/* HOME PAGE BLOG MODULE CUSTOMIZATIONS */
/*--------------------------------------*/

/* CREATES DIVIDER LINE ON HOME PAGE BLOG MODULE TO SEPARATE BLOG MODULE AND BLURBS */
.post-1698 .cu_column {
	border-right:2px solid #eee;
}

/*-------------------------------*/
/* SEARCH RESULTS CUSTOMIZATIONS */
/*-------------------------------*/
.search-results #sidebar {
display: none;
}
.search-results div#left-area {
width: 100%;
}
.search-no-results #sidebar,
.search-no-results #main-content .container:before {
display: none;
}
.search-no-results div#left-area {
width:100%;
}
.error404 #sidebar{
display:none; 
}
.archive #sidebar,
.archive #main-content .container:before {
display: none;
}
.archive div#left-area {
width:100%;
}

/*-------------------------------*/
/* CONTACT FORM 7 CUSTOMIZATIONS */
/*-------------------------------*/
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea
	{
	 background-color: #eee !important;
	 border: none !important;
	 width: 100% !important;
	 border-radius: 0 !important; 
	 font-size: 16px; 
	 color: #000 !important;
	 padding: 16px !important;
	 box-sizing: border-box; 
	}

.random-math-quiz input[type="text"],
.wpcf7-quiz input[type="text"]
	{
	 width: 50px !important;
	 padding: 16px !important; 
	}

.wpcf7 input:hover
	{
	 background: rgba( 0, 0, 0, 0.05 );
	 border: 2px solid transparent;
	 /* padding: 6px 20px 6px 20px !important; */
	}

.wpcf7 input[type="submit"]
	{
	 color: #7952ad !important;
	 font-size: 20px;
	 font-weight: 500;
	 border-radius: 3px !important;
	 padding: 6px 20px !important;
	 line-height: 1.7em;
	 background: transparent !important;
	 border: 2px solid !important;
	 -moz-transition: all 0.2s;
	 -webkit-transition: all 0.2s;
	 transition: all 0.2s;
	 position: relative;
	 float: right;
	}

.wpcf7-select
	{
	 font-size: 16px;
	 width: 100%;
	}

.wpcf7 input[type="submit"]:hover
	{
	 background: rgba( 0, 0, 0, 0.05 ) !important;
	 border: 2px solid transparent !important;
	 /* padding: 6px 20px 6px 20px !important; */
	}

body .wpcf7-mail-sent-ok
	{
	border: 2px solid #7952ad;
	}

body .wpcf7-validation-errors
	{
	border: 2px solid #F00;
	}

/*-------------*/
/* TIFF EDITS */
/*-----------*/
#main-content #left-area { letter-spacing: .029em; }

#main-content #left-area ol em {letter-spacing: .05em;}

#main-content #left-area ol {padding-left: 1em; padding-bottom: .5em;}
#main-content #left-area ul {margin-left: 1em;}

#main-content #left-area .type-post .entry-content li {padding-bottom: .8em;}

.et_pb_post .entry-content {padding-top: 8px !important;}

#main-content #left-area h5 {font-size: 1.095em;}
#main-content #left-area h5 strong {font-weight: 500;}
#main-content #left-area h4 {font-size: 1.4em;}
#main-content #left-area h3 {font-size: 1.68em;}
#main-content #left-area h2 {font-size: 2.02em;}
#main-content #left-area h1 {font-size: 2.5em;}

#about-image {margin-bottom: 2px !important;}
#main-footer #aboutmewidget-3 .clearfix {line-height: 1.2em;}
sup {bottom: .5em; font-size: .8em;}