﻿.ms-rtestate-field a,
.ms-rtestate-field a:visited,
.ms-rtestate-field a:hover,
.ms-rtestate-field a:focus,
.mc-marti-footerWp-description a,
.mc-marti-footerWp-description a:visited,
.mc-marti-footerWp-description a:hover,
.mc-marti-footerWp-description a:focus,
.marti-localnav ul > li > a:hover,
.mc-marti-locationslistWp-results-emailvalue a:hover,
.mc-marti-locationslistWp-results-webpagevalue a:hover,
.mc-marti-referencesdetailwWp-htmllink,
.marti-color,
.refinement-title:hover,
.localnav-span-new:hover,
.refinement-item .ms-displayInline:hover {
	color: #ffc800 !important; 
    /* red */
}

#marti-dropdown-ln.visible-xs .dropdown-menu > li > a:hover {    
    background-color: transparent;
}

#marti-headerrow .smallNavigation a:hover,
#s4-workspace .contentPlaceHolderMain a:hover,
#s4-workspace .contentPlaceHolderMain a:focus,
.smallNavigation .nav-pills > li > a:hover, 
.smallNavigation .nav-pills > li > a:focus,
.navbar-default .mainNavigation .nav-pills > li > a:hover,
.navbar-default .mainNavigation .navbar-nav > li > a:hover, 
.navbar-default .mainNavigation .navbar-nav > li > a:focus, 
.navbar-default .mainNavigation .navbar-nav > li > a.selected,
.mainNavigation li.dynamic a span.menu-item-text:hover,
.localnav-menuitem-selected,
.localnav-menuitem-selected-3,
.localnav-menuitem-selected-4,
.localnav-a-selected-3,
.localnav-a-selected-3 a,
.localnav-a-selected-4,
.cycle-pager span.cycle-pager-active,
.localnav-a-selected,
.mc-marti-referencesdetailWp-infolocation,
.mc-marti-referencesoverviewWp a,
.mc-marti-referencesdetailWp a,
.mc-marti-pagenavigationWp a,
.mc-marti-news-overview-Part a,
.mc-marti-news-overview-small-Part a,
.mc-marti-news-overview-small2-Part a,
.mc-marti-news-overview-realestate-Part a,
.toggleContactInfo i.down-arrow-icon,
.toggleContactInfo i.up-arrow-icon,
.mc-marti-locationslistWp-results-city,
.mc-marti-locationslistWp-results-pdftitle,
.mc-marti-mapWp-divInfo .mc-marti-mapWp-divInfo-row-city,
.smallNavigation  #startSeachDialogIcon:hover,
.ms-srch-result .ms-srch-item-path,
.ms-srch-result .ms-srch-item-deepLinks a { 
    color: #ffc800 !important; 
    /* red */
}

.mc-marti-mapWp-divpoint,
#jobapp .mc-marti-jobapp-bvalid {
    background-color: #ffc800 !important; 
    /* red */
}


@media (max-width: 767px) {
    .mainNavigation li.dynamic a.sub-selected span.menu-item-text {
        color: #ffc800 !important;
         /* red */
    }
}

.mc-marti-referencesdetailWp-back:hover,
.mc-marti-referencesdetailWp-headerlinks-back > a, 
.mc-marti-pagenavigationWp-back:hover, 
.mc-marti-pagenavigationWp-headerlinks-back > a {
    color: #ffc800 !important; 
    /* red */
}

/* Don't show construction sum in references overview webpart */
.mc-marti-referencesoverviewWp-results-info div:nth-child(3) {
    display: none;
}

.mc-marti-contactform-bvalid {
    background-color: #ffc800 !important;
}

@media (max-width: 767px) {
    .mc-marti-contactform-bvalid {
        background-color: #ffc800 !important;
    }
}

#mc-marti-single-contact div.mc-marti-contact-header {
    padding: 2px 3px 3px 12px;
}

/*** ====== Top navigation ====== ***/


/* Reduce the height, remove the borders & shadows and add red bottom border of the top navigation band */

#marti-headerrow {
    height: 60px;
    box-shadow: none;
    border-bottom-color: #ffc800;
    border-bottom-width: 5px;
    border-bottom-style: solid;
}


/* Vertically center align the main navigation menus */

#marti-headerrow nav.navbar .headerNavigationContainer .mainNavigation {
    position: absolute;
    height: 50%;
    margin: auto;
}

#marti-headerrow nav.navbar .navbar-collapse.cbp-spmenu-open .headerNavigationContainer .mainNavigation {
    position: relative;
}


/* Auto fit the site logo in the top navigation band */

#marti-headerrow nav.navbar .headerBrand.navbar-brand #siteIcon {
    min-width: auto;
    height: 50px;
    line-height: 50px;
}

#marti-headerrow nav.navbar .navbar-brand #siteIcon {
    float: right;
}

#marti-headerrow nav.navbar .navbar-toggle #siteIcon {
    float: left;
}
/* Reduce the height of the site logo placeholder */

#marti-headerrow nav.navbar .headerBrand.navbar-brand #siteIcon #DeltaSiteLogo {
    line-height: normal !important;
}


/* Auto fit the site logo in the top navigation band */

#marti-headerrow nav.navbar .headerBrand.navbar-brand #siteIcon #DeltaSiteLogo .ms-siteicon-img {
    width: auto;
    height: 50px;
    max-height: 50px;
}

@media (max-width: 479px) {
    #marti-headerrow .ms-siteicon-img {
        max-width: none;
        width: 190px;
        height: 40px !important;
        margin-top: 4px;
    }    
}


/* Hide the search box */

#marti-headerrow nav.navbar .headerNavigationContainer .smallNavigation {
}


/*** ====== Mobile navigation ====== ***/
@media screen and (max-width: 1279px) {
    .cbp-spmenu {
        top: 79px;
    }
    #marti-header-metanav.headerNavigationContainer {
        min-height: calc(100% - 55px);
        padding-top: 55px;
    }
    #marti-headerrow nav.navbar .headerNavigationContainer .mainNavigation {
        position: relative;
        top: 0px;
    }
        #marti-headerrow nav.navbar .headerNavigationContainer .mainNavigation .searchDialog {
            top: 12px !important;
        }
}


/*** ====== S4 workspace ====== ***/
#wrap #s4-workspace {
    padding-top: 79px;   
}


/* Reduce the top padding of the workspace */

/*** ====== Header pictures ====== ***/
#s4-workspace .contentPlaceHolderMain .mc-marti-headerPicPlaceholder .cycle-overlay.custom > span a:link,
#s4-workspace .contentPlaceHolderMain .mc-marti-headerPicPlaceholder .cycle-overlay.custom > span a:visited,
#s4-workspace .contentPlaceHolderMain .mc-marti-headerPicPlaceholder .cycle-overlay.custom > span a:hover,
#s4-workspace .contentPlaceHolderMain .mc-marti-headerPicPlaceholder .cycle-overlay.custom > span a:active {
    color: inherit !important;
    text-decoration: none !important;
    letter-spacing: 0.65px;
}

/* bugfix: Firefox - navigation menu shifts header to right */
.open > .dropdown-menu {
	float:right;
	position: absolute;
	top:17px
}

#marti-new-local-nav {
    margin-top: 17px;
}

/* Chrome specific */
/*@media screen and (-webkit-min-device-pixel-ratio:0) { */
@media screen and (-webkit-min-device-pixel-ratio:0) and (min-resolution:.001dpcm) {
    #marti-localnavHeader {
        top: -82px !important;
    }
		
	/* submenu mobile */
	#drpDwnLocalNavigation ul.dropdown-menu, ul.localnav-ul {
		margin-top: -18px !important;
	}
	
	/* flushing content with navigation menu */
	.mc-marti-wpzone-33 {
		margin-top:-19px;
	}
	
	.open > .dropdown-menu {
		top:34px
	}
}

@media screen and (max-width: 1216px) {
    #marti-localnavHeader {
        top: -73px !important;
    }
}

/* Firefox specific */
@-moz-document url-prefix(){
	#marti-localnavHeader {
        top: -82px !important;
    }
	
	#drpDwnLocalNavigation {
		margin-top: -17px !important;
	}
	
	.open > .dropdown-menu {
		top:17px
	}
	
	/* submenu mobile */
	#drpDwnLocalNavigation ul.dropdown-menu, ul.localnav-ul {
		margin-top: -1px !important;
	}
	
	/* flushing content with navigation menu */
	.mc-marti-wpzone-33 {
		margin-top:0px;
	}
}

/* IE Edge specific */
@supports (-ms-ime-align:auto) {
	#marti-localnavHeader {
        top: -82px !important;
    }
}


/*
<!--[if IE]>
    #marti-localnavHeader {
		top: -83x !important;
	 }
<![endif]-->
*/


/*** ====== Footer ====== ***/


/* Increase vertical padding and change background & foreground colors */

.footerContainer {
    background-color: #292929;
    color: #fff;
    padding-top: 40px !important;
    padding-bottom: 80px !important;
}


/* Change contact details link foreground color */

.footerContainer .footerContactDetails div a {
    color: #fff;
}


/* Change footer link foreground color */

.footerContainer .footerLinkContainer div a {
    color: #fff;
}

/*Change head tile text position and height*/
.tileNavItemText {	
	top:0px;
    height:40px;
    padding: 3px 0px 3px;
}

.tileNavItemText > .rubrik,
.tileNavItemText > .introText {	
	display:none
}

.tileNavItemText > .title {
    top: 50%;
    transform: translateY(-50%);
    padding-bottom: unset;
}

/* SRE: No padding for content editor
.ms-WPBody > .ms-rtestate-field{
	padding-left: 15px;	
}*/

.mc-marti-news-overview-realestate-title
{
	font-size:18px
}

/* Tile navigation */
@media (max-width: 479px) {
    .mc-marti-tileNavWp {
        width: 100%;
    }
	.mc-marti-tileNavWp>div {
		max-width: 100%;
	}
    .tileNavTile {
        width: 290px;
        /* height: 198px; */ /*SRE: for responsive images in tiles */
        margin-right: 0;
    }
}

@media all and (max-width:479px) {
    .mc-marti-tileNavWp, .mc-marti-tileNavWpHigh {
        margin-left: 0;
        margin-right: 0;
        position: relative;
        z-index: 10;
        letter-spacing: 0.05em;
    }
}

/* Marti.css (1188, 26) */
@media all and (max-width:479px) {
    .mc-marti-tileNavWp {
        width: 100%;
    }
}

/* Marti.css (1893, 19) */
@media all and (max-width:479px) {
    .tileNavTile {
        width: 100%;
        margin-right: 0px;
    }
}

/* Dockable filters */

.dockableFilterArea.mc-marti-referencesoverviewWp-search.docked {
    top: 79px;
}

@media all and (max-width: 767px) {
    .dockableFilterArea.mc-marti-referencesoverviewWp-search.docked {
        position: static;
    }
}

/* Responsive References overview web part */

.page-layout.container#page-layout-13 .ms-webpart-zone,
.page-layout.container#page-layout-13 .ms-webpart-cell-vertical,
.page-layout.container#page-layout-13 .ms-webpart-chrome-vertical {
    display: block;
}

.mc-marti-referencesoverviewWp-results-divitem {
    width: 325px;
}

@media all and (min-width: 1350px) {
    .page-layout.container#page-layout-13 .mc-marti-referencesoverviewWp-results-divitem {
        width: 291px;
    }
}

.mc-marti-referencesoverviewWp {
    display: flex;
    flex-wrap: wrap;
}

.mc-marti-referencesoverviewWp-results {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

/* MARTICMS-326 START */

.navbar-brand {
    float: right;
}

@media (min-width: 768px) {
    .searchDialog {
        right: auto;
        left: 0;
    }
    .smallNavigation,
    .mainNavigation {
        right: auto;
        left: 0;
    }
}

.navbar-toggle {
    float: left;
}

.mainNavigation .nav-pills>li>a {
    padding: 0 31px 0 0;
}

.smallNavigation .nav-pills>li>a {
    padding: 0 21px 0 0;
}

.smallNavigation .marti-langselect {
    margin: 0 30px 0 0;
}


/** Mirror the mobile push menu **/

@media (max-width: 479px) {
    .searchDialog {
        padding-left: 0;
    }
    .searchDialog,
    .smallNavigation,
    .mainNavigation {
        margin-left: 0;
    }
}

@media (min-width: 480px) and (max-width: 560px) {
    .headerNavigationContainer {
        padding-left: 0;
    }
    .searchDialog {
        padding-left: 0;
    }
}

@media (min-width: 561px) and (max-width: 1279px) {
    .headerNavigationContainer {
        padding-left: 0;
    }
    .searchDialog {
        padding-left: 0;
    }
}

@media (min-width: 480px) and (max-width: 1279px) {
    .headerNavigationContainer {
        left: 0px;
        position: absolute;
    }
}

@media (max-width: 1279px) {
    .headerNavigationContainer {
        right: unset;
    }
    .mainNavigation .nav-pills>li>a,
    .smallNavigation .nav-pills>li>a,
    .mainNavigation li.dynamic-children>ul li.dynamic {
        width: 100%;
        padding: 8px 10px 10px 0px;
    }
}

/* MARTICMS-326 END */

/* MARTICMS-345 START */
.mc-marti-contact-infodiv-arrowcontainer {
    display: none;
}
/* MARTICMS-345 END */