/* 
 Theme Name:     Gradeo
 Author:         markhendriksen.com
 Author URI:     https://www.markhendriksen.com
 Template:       Divi
 Version:        1.0
*/


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */

/* ############################### */
/* ######## CHANGE COLORS ######### */
/* ############################### */

/* ###### FIRST MENU ###### */

/*prevent white text flash in first menu*/
.et_pb_bg_layout_dark.et_pb_fullwidth_menu ul li a {
	color: #cc0000!important;
}

.first_menu .fullwidth-menu-nav {
	/*background-color: #20bec6;*/
	background-color: #ffcc01;
}

li.home_icon {
	/*background-color: #76397c;*/
	background-color: #cc0000;
}

@media all and (max-width: 980px) {
.first_menu.et_pb_fullwidth_menu {
    /*background-color: #76397c !important;*/
	background-color: #cc0000 !important;
}

.first_menu .mobile_menu_bar:before {
	/*color: #fff;*/
	color: #cc0000;
}}

.blurb_home .et_pb_blurb_content:hover span.et-pb-icon,
.blurb_home .et_pb_blurb_content:hover h4 {
	color: #20bec6 !important;
}

/* ###### SECOND MENU ###### */

.second_menu ul li {
	/*background-color: #76397c;*/
	background-color: #cc0000;
}

.second_menu ul li a {
	color: #fff !important;
}

/* ############ BLOG BUTTON COLOR ############# */

.et_pb_posts .more-link {
    /*background-color: #76397c;*/
	background-color: #cc0000;
    color: #fff;
}

/* ############ FOOTER SWIRL COLOR ############# */

.footer_swirl {
	/*fill: #76397C;*/
	fill: #076324;
}

/* ######## LINE TITLES ######### */

.Title_line h1:before,
.Title_line h1:after,
.Title_line h2:before,
.Title_line h2:after,
.Title_line h3:before,
.Title_line h3:after {
  	background: #ffffff;
}

/* ######## END CHANGE COLOR ######### */

#main-header {
	display: none;
}

#page-container {
	padding-top: 0px !important;
}

/* ###### FIRST MENU ###### */

.first_menu .fullwidth-menu li {
    padding-right: 42px;
}

.first_menu .fullwidth-menu-nav>ul {
    padding-top: 0px !important;
	padding-left: 0px !important;
}

.first_menu .fullwidth-menu li> a {
    padding-bottom: 20px;
	padding-top: 20px !important;
}

.home_icon .fa {
	font-size: 26px !important;
}

li.home_icon {
	padding-left: 25px !important;
	padding-right: 25px !important;
	margin-right: 17px;
}

@media all and (max-width: 980px) {

.first_menu .mobile_menu_bar {
    text-align: center;
}}

.social_header li a.icon {
    width: 40px !important;
    height: 40px !important;
    padding: 0;
}

.social_header li a.icon::before {
    width: 40px !important;
    height: 40px !important;
    font-size: 16px;
    line-height: 40px !important;
}

@media (max-width: 980px) {
.social_header {
    text-align: center;
}

.social_header_column {
	margin-bottom: 0px !important;
}}

@media (min-width: 981px) and (max-width: 1300px) {
.first_menu .et_pb_row {
	width: 95% !important;
}}

.et_mobile_menu li.home_icon {
    padding-left: 0px !important;
}

@media (min-width: 981px) {
.first_menu .sub-menu li > a {
    padding-bottom: 10px;
    padding-top: 10px !important;
	background-color: rgba(0,0,0,.2);
	margin-bottom: 5px;
	font-size: 15px !important;
}

.first_menu .sub-menu {
	margin-top: -2px;
}

.et_mobile_menu li a:hover, .nav ul li a:hover {
    opacity: .7;
    background-color: rgba(0,0,0,.1);
}

.fullwidth-menu .menu-item-has-children>a:first-child:after {
    top: 15px;
}}


/* ###### SECOND MENU WIDGET ###### */

.second_menu {
	margin: 0px !important;
	width: 100% !important;
	padding-top: 3px;
}

.second_menu ul.menu {
	float: right;
}

.second_menu ul li {
	padding-right: 0px;
	display: inline-block;
	float: left;
	margin-left: 5px;
	min-width: 125px;
	text-align: center;
    padding: 4px 10px 2px 10px !important;
}

.second_menu ul li a {
	text-align: center;
	min-width: 125px;
	font-family: 'Catamaran',Helvetica,Arial,Lucida,sans-serif;
    text-transform: uppercase;
    font-size: 18px;
}

@media all and (max-width: 479px) {
.second_menu ul li {
	margin-left: 5px;
	min-width: 90px;
    padding: 4px 10px 2px 10px !important;
}

.second_menu ul.menu {
	display: table;
    margin: 0 auto;
	float: none;
}

.second_menu ul.menu li:first-child {
	margin-left: 0px;
}

.second_menu ul li a {
	min-width: 100px;
    font-size: 14px;
}}

@media all and (max-width: 980px) {
.et_pb_column .second_menu:nth-child(n) {
	width: 100% !important;
}

.second_menu div {
	margin: 0 auto;
    display: table;
}}

/* ###### GENERAL ###### */

@media all and (max-width: 1300px) {
.custom_row {
	width: 95% !important;
}}

.block_shadow .et_pb_column {
	box-shadow: 0px 2px 38px 0px rgba(0,0,0,0.2);
}

/* ############ HOME PAGE ############# */

@media (min-width: 981px) and (max-width: 1300px) {
.custom_row_blocks {
	width: 95% !important;
}}

.blurb_home {
	width: 33%;
    float: right;
}

.blurb_home .et_pb_main_blurb_image {
    margin-bottom: 15px;
}

.blurb_home .et_pb_blurb_content span.et-pb-icon,
.blurb_home .et_pb_blurb_content h4 {
	-webkit-transition: all .4s ease-out;
    -moz-transition: all 0.4s ease-out;
    -ms-transition: all 0.4s ease-out;
    -o-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out
}

.blurb_home .et_pb_blurb_content:hover span.et-pb-icon, .blurb_home .et_pb_blurb_content:hover h4 {
	color: #cc0000!important;
}

/* ############ ABOUT US PAGE ############# */

.et_pb_team_member_image {
    display: table-cell;
    float: left;
    position: relative;
    max-width: 100%;
	margin-bottom: 25px !important;
}

/* ############ ABOUT US PAGE ############# */

.et_pb_posts .more-link {
	display: inline-block !important;
    /*background-color: #76397c;*/
	background-color: #cc0000;
    color: #fff;
    text-transform: uppercase;
    padding: 3px 15px;
    border-radius: 2px;
    margin-top: 15px;
}

/* ###### CONTACT PAGE ###### */

@media (min-width: 981px) {
.et_pb_column_1_3 .google_map .et_pb_map {
    height: 100% !important;
}

.google_map {
	height: 100%;
}}

@media (min-width: 981px) and (max-width: 1150px) {
.contact_details {
	padding-left: 25px !important;
	padding-top: 25px !important;
}

.et_pb_column_1_3 .contact_detail_blurb.et_pb_blurb {
	padding-left: 20px !important;
}}

/* ############ CENTERED LINE ############# */

.Title_line h1,
.Title_line h2,
.Title_line h3 {
  	display: inline-block;
  	padding: 0 15px;
	position: relative;
}

.Title_line h1:before,
.Title_line h1:after,
.Title_line h2:before,
.Title_line h2:after,
.Title_line h3:before,
.Title_line h3:after {
  	content: "";
  	display: block;
  	height: 2px;
 	position: absolute;
    top: 50%;
  	width: 400%;
}

.Title_line h1:before,
.Title_line h2:before,
.Title_line h3:before {
 	right: 100%;
}

.Title_line h1:after,
.Title_line h2:after,
.Title_line h3:after {
  	left: 100%;
}

.Title_line {
  	overflow: hidden;
  	text-align: center;
}

/* ###### BLURB HEADER ###### */

.blurb_header {
    width: 25%;
    float: right;
}

.blurb_header .et_pb_main_blurb_image {
	margin-bottom: 0px;
}

/* ###### SINGLE BLOG ###### */

.single .et_pb_title_container {
	padding-top: 25px;
}

.single .et_pb_post {
    margin-bottom: 0px;
}

.single .post {
    padding-bottom: 0px;
}

@media (min-width: 981px) {
#left-area {
    padding-bottom: 0px;
}

.single #left-area ul li ul {
    padding: 10px 0 10px 0px !important;
}}

/* ###### FOOTER ###### */

#Layer_1 {
	margin-bottom: -10px;
	width: 100%;
	height: 100%;
}

/* ###### 404 PAGE ###### */

.error404 .custom_row_header .et_pb_row {
z-index: 1 !important;
}

@media (max-width: 980px) {
.error404 .custom_row_header  {
z-index: 1 !important;
}}

.error404  .header-content-container {
margin-top: -150px;
}
