/* CSS Document */
/*
 Theme Name:   mk2 Divi Child Uschi Rabe
 Theme URI:    
 Description:  New / extendable Divi Child Theme for Agentur Uschi Rabe
 Author:       
 Author URI:   
 Template:     Divi
 Version:      1.0.1
 License:      GNU General Public License v3 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         responsive-layout, minimalistic
 Text Domain:  divi-child-ur
*/


/*load fonts from local server */

@import url("fonts/raleway-v12-latin/raleway-v12-latin.css");

body {font-family: "Raleway", Helvetica, Arial, Lucida, sans-serif;}
h1, h2, h3, h4, h5, h6 {font-family: "Raleway", Helvetica, Arial, Lucida, sans-serif;}

/* Global */
html {
	overflow-x: hidden;
}

/* Logo */

@media all and (min-width: 981px) and (max-width: 1280px){
.et_header_style_centered #logo {	
	max-height: 38% !important;
}
} 


/* navigation */

.current_page_item,
.current-page-ancestor,
.fullwidth-menu .current_page_item,
.fullwidth-menu .current-page-ancestor {
font-weight: 700 !important;

}

#top-menu .current_page_item > a,
#top-menu .current-page-ancestor > a,
#top-menu .fullwidth-menu .current_page_item > a,
#top-menu .fullwidth-menu .current-page-ancestor > a {
border-bottom: 1px solid rgba(0,0,0,0.6) !important;
padding-bottom: 4px !important;
margin-bottom: 24px !important;
}

#top-menu-nav > ul > li > a:hover,
#et-secondary-menu > ul > li > a:hover {
	opacity: 0.35 !important;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
	
}

#et-secondary-menu {
	float: right !important;
	text-transform: lowercase;
}

/* instagram link in artist menu */

#top-menu .ur-menu-link-instagram:before {
	font-family: 'ETmodules' !important;
	content: '\e09a';
	display: inline;
	padding-right: 0.4em;

}
#top-menu .ur-menu-link-instagram a {
	display: inline;
	
}


/* mobile navigation */

.et_header_style_centered #main-header .mobile_nav {
	background-color: rgba(0, 0, 0, 0.01);
	border-radius: 0px;
}
.et_header_style_centered .et_mobile_menu {
	top: 39px;
}
.et_mobile_menu {
	border: 1px solid rgba(175,175,175,0.5);	
	/*border-top: 2px solid #000;*/
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;	
	
}
.et_mobile_menu li a:hover {
	background-color: rgba(0, 0, 0, 0.01);
}
.mobile_menu_bar::before {
	color: #000;
}
.mobile_nav .select_page {
	font-weight: 500;
}

#mobile_menu .menu-item-type-custom {
	text-transform: lowercase;
	
}
#mobile_menu .menu-item-type-custom:nth-last-of-type(3) {
	margin-top: 25px !important;
}
#mobile_menu .current_page_item > a {
	color: rgb(175,175,175);
}
#mobile_menu .nc_menu-item-noshow {
	display: none;
}

#main-header {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}


/*** artists & portfolio pages ***/

.ur_main_artists_txt_module {
	margin-top: 35px !important;
}
.ur_main_artists_txt_module:first-child {
	margin-top: 0;
}
.ur_main_artists_txt_module li {
	text-transform: uppercase;
}
.ur_main_artists_txt_module h2 {
	font-size: 19px;
}

.artist_branding_full_row {
width: 80%;
max-width: 794px;
margin-left: auto;
margin-right: auto;
}


/* project portfolio module */

.nc_et_pb_proj_portfolio {
	/*max-width: 1080px;*/
	max-width: 1160px;
	margin-left: auto;
	margin-right: auto;
	
}

.portfolio_module_row {
	/*max-width: 1500px !important;	*/
	/*max-width: 1130px !important;	*/
}

.et_pb_module_header a {
	/*color: #afafaf;*/
	color: #666666;
}

.portfolio_overview_image {
margin-top: 60px !important;
}

.portfolio_overview_text {
margin-top: 10px !important;
}

.overview_row .et_pb_text p {
padding-bottom: 0.2em;
}
.overview_row .et_pb_text h3,
.overview_row .et_pb_text h2 {
padding-bottom: 0.1em;
}


/*** project portfolio module ***/

.nc_et_pb_proj_portfolio_0 {
	/*background-color: #FCFCFC;*/
}

.et_pb_column .nc_proj_portfolio_grid_items .et_pb_grid_item.nc_grid_item {
clear: unset;
}

.et_pb_column .nc_proj_portfolio_grid_items .et_pb_grid_item.nc_grid_item {
	width: 28.25% !important;
	float: left;
	overflow: hidden;
	margin-top: 5% !important;
	margin-right: 2.5% !important;
	margin-left: 2.5% !important;
}
/*.et_pb_column .nc_proj_portfolio_grid_items .et_pb_grid_item.nc_grid_item:nth-child(3n) {
margin-right: 0 !important;
}*/

.et_pb_column .nc_proj_portfolio_grid_items .nc_landscape.et_pb_grid_item {
width:45%;
}
/*.et_pb_column .nc_proj_portfolio_grid_items .nc_landscape.et_pb_grid_item:nth-child(2n) {
margin-right: 0 !important;
}*/


.nc_et_pb_proj_portfolio_0 .et_overlay {
	border: none;
	background: rgba(255, 255, 255, 0.4);
}
.nc_et_pb_proj_portfolio_0 .et_overlay::before {
	color: #111;
	display: none;
}

/* project image gallery */

.type-project .et_pb_text,
.type-project .et_pb_gallery{
	/*max-width: 842.12px;*/
	max-width: 1002.12px;
	margin-left: auto;
	margin-right: auto;
}

.type-project .et_pb_text .et_pb_text_inner {
	margin-left: 2.5%;
}
.nc_gallery_items .nc_grid_item {
	margin-left: 2.5%;
	margin-right: 2.5%;
	
}



/*** devices ***/

@media all and (max-width: 767px ) {
.et_pb_column .nc_proj_portfolio_grid_items .et_pb_grid_item.nc_grid_item {
width: 45% !important;
}
/*.et_pb_column .nc_proj_portfolio_grid_items .et_pb_grid_item.nc_grid_item:nth-child(2n) {
margin-right: 0 !important;
}*/

.et_pb_column .nc_proj_portfolio_grid_items .nc_landscape.et_pb_grid_item:nth-child(n) {
width:95% !important;
float: none;
/*margin-left: auto !important;
margin-right: auto !important;*/
}

}