/*
    Theme Name:     Drive Profit
    Theme URI:      https://www.driveprofit.com/
    Description:    Drive Profit - Divi Child Theme
    Author:         George
    Author URI:     http://georgeivan.ro/
    Template:       Divi
    Version:        1.0.1
*/

body {
	line-height: 1.618;
}

/*
	Cookie notice
*/

#cookie-notice {
    background: rgba(0, 0, 0, .5) !important;
}

.cookie-notice-container {
    padding: 1em;
}

#cookie-notice .button {
    color: #333;
    -webkit-transition: all .25s;
    transition: all .25s;
    font-weight: bold;
}

#cookie-notice .button#cn-accept-cookie {
    background: rgba(255, 255, 255, .75);
    padding: .8em 1em;
    display: inline-block;
    border-radius: 3px;
}

#cookie-notice .button#cn-accept-cookie:hover {
    background: #fff;
}

#cookie-notice .button#cn-more-info {
    border-bottom: 1px dotted #333;
}

#cookie-notice .button#cn-more-info:hover {
    color: #fff;
    border-bottom-color: #fff;
}

/*
	Simple grid system - up to 4 columns
*/

.cf { zoom: 1 }
.cf:before, .cf:after { content: ''; display: table }
.cf:after { clear: both }

.row .col {
    float: left;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

.col.c11 { width: 100% }
.col.c12 { width: 50% }
.col.c13 { width: 33.33333333% }
.col.c14 { width: 25% }
.col.c23 { width: 66.66666666% }
.col.c34 { width: 75% }

.col.padding, .row.padding { padding: 1em }
.col.margin, .row.margin { margin: 1em 0 0 0 }

.row:first-child, .col:first-child { margin: 0 }

/*
	Typography
*/

h1, h2, h3, h4, h5, h6, p, ul, ol {
    padding: 0 !important;
    margin: 1.618em 0 0 0;
	line-height: 1.618;
}

p#footer-info {
	margin: 0;
}

h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child, p:first-child, ul:first-child, ol:first-child {
    margin: 0;
}

.et-fb-settings-heading {
    padding: 21px 30px !important;
}

ul, ol {
    list-style-position: outside !important;
    padding-left: 1em !important;
}

li {
    line-height: 1.5;
    margin: .5em 0 0 0;
}

li.et-social-icon {
	margin-top: 0;
}

li:first-child {
    margin: 0;
}

/*
	Menu styling
*/

#menu-bar .et_pb_fullwidth_image img {
	max-height: 115px;
}

ul.sub-menu {
	margin: 0 !important;
	padding: 0 !important;
}

#top-menu li li {
	padding: 0;
	width: 100%;
}

#top-menu li li a {
	display: block;
	width: 100%;
}

#top-header .et-social-icons {
	margin: 0 !important;
}

.inner-content h1, .inner-content h2, .inner-content h3 {
	display: inline-block;
}

.inner-content h3:before {
	content: none;
}

#menu-bar ul li a::after {
	top: auto;
}

.fullwidth-menu .menu-item-has-children > a:first-child {
	padding-right: 0;
}

#menu-bar ul li ul a::after {
	content: none;
}

.nav li ul {
	border: none;
}

.et_pb_fullwidth_menu_0.et_pb_fullwidth_menu .nav li ul {
	left: -20px;
	border-radius: 2px;
	overflow: hidden;
}

.nav li li {
	background-color: #484240;
	width: 100%;
	padding: 10px 0 !important;
	margin: 0 !important;
}

#menu-bar ul ul li a {
	display: block;
	opacity: 1 !important;
	width: 100%;
	text-transform: none;
}

.et_mobile_menu .menu-item-has-children > a {
	font-weight: normal;
}

.site-footer li ul {
	display: none;
}

#main-header .et_mobile_menu li ul, .et_pb_fullwidth_menu .et_mobile_menu li ul {
	padding-left: 10px !important;
}

/*
	Tables
*/
.entry-content table {
	margin-top: 1.618em !important;
}

/*
	Posts
*/
.et_pb_post .et_overlay {
    border: 0;
}

.post-meta {
    margin-top: .5em;
}

/*
	404
*/
#main-content.wrapper-404 {
	background: transparent;
}

.wrapper-404 .et_pb_section {
	background: transparent;
	padding-top: 150px;
}

.wrapper-404 h1, .wrapper-404 p {
	color: #9f9f9f;
}

@media screen and (max-width: 1050px) {
	.wrapper-404 .et_pb_section {
		padding-top: 100px;
	}
	.site-footer .et_pb_row:first-child {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
}









