/*
###########################################################
#
# Filename:			menu.css
#
# Copyright:		S-Inside
# Project:			www.novitas.nl
# Platform:			CSS
# Date created: 	17-11-2018
#
    used colours for this website:
    #30353b			grey (text)
	#9d9d9c			grey (links and headers)
    #8a8d90			grey (links)
	
    #ab2923			red (relatie)
	#ffa700			yellow (huis)
	#9069a3			purple (vermogen)
	#9a7e68			brown (erfenis)
	#9d9d9c			yellow (scheiden)
	#d87635			orange (ondernemen)
	#5f9812			green (levenstestament)
	#30353b			dark grey (testament)
	#00497f			blue (portaal)
#
###########################################################
*/



/* top column head menu, expands below */
#menu1 {
	display: none;
	position: relative;
	top: 0px;
	font-size: 1rem;
	margin: 0px;
	z-index: 100;
}

#menu1 ul.menu {
	/*width: 100%;*/
	padding: 0;
}

#menu1 ul.menu li {
	list-style: none;
	float: left;
  	margin-right: 1px !important;
}

#menu1 ul.menu li a {
	display: block;
	font-size: 10pt;
	height: 24px;
	line-height: 24px;
	padding: 5px 14px;
	float: left;
	letter-spacing: 1px;
	text-decoration: none;
}

#menu1 li ul.submenu li {
	list-style: none;
	width: 100%;
}

#menu1 ul.submenu li a {
	display: block;
	width: 100%;
	height: 28px;
	line-height: 28px;
    font-size: 9pt !important;
  	font-weight: normal;
  	text-decoration: none;
	letter-spacing: 1px;
	border-left: 1px solid #a40e0e;
	border-right: 1px solid #a40e0e;
	border-bottom: 1px solid #a40e0e;
	background-image: none;
	/*background-color: #f2f2f2;*/
    color: #a40e0e;
}
/*#menu1 ul.submenu li a:hover {color: #f2f2f2; background-color: #a40e0e;}*/
#menu1 ul.submenu li a.expand {}
/* end sub menu */


/* sub sub menu */
#menu1 ul.subsubmenu{
	position: absolute;
	width: 200px;
	left: -999px;
	float: none;
	z-index: 100;
}
#menu1 ul.submenu li:hover ul.subsubmenu {
	left: 208px;
	margin-top: -29px;
}

#menu1 ul.subsubmenu li {
	list-style: none;
}

#menu1 ul.subsubmenu li a {
	display: block;
	width: 100%;
	text-indent: 10px;
	height: 28px;
	line-height: 28px;
    font-size: 9pt !important;
  	font-weight: normal;
  	text-decoration: none;
	border-left: 1px solid #a40e0e;
	border-right: 1px solid #a40e0e;
	border-bottom: 1px solid #a40e0e;
	background-image: none;
	/*background-color: #f2f2f2;*/
    color: #a40e0e;
}

.firstsub.hidesubheadmenu{
    display: block !important;
}

div.extra_submenu {
	height: 30px;
	margin-top: 10px;
}
ul.extra_submenu {
	margin: auto;
	width: 100%;
	text-align: center;
}
ul.extra_submenu li {
	list-style: none;
	float: left;
	margin: 0px 10px;
}
ul.extra_submenu .hidesubheadmenu {
	display: none !important;
}
ul.extra_submenu > li > a{
    text-transform: uppercase;
    font-weight: 400;
    font-size: 16px;
	text-decoration: none;
}
body.relatie ul.extra_submenu > li > a{
	color: #ab2923;
}
body.huis ul.extra_submenu > li > a{
	color: #ffa700;
}
body.vermogen ul.extra_submenu > li > a{
	color: #9069a3;
}
body.erfenis ul.extra_submenu > li > a{
	color: #9a7e68;
}
body.levenstestament ul.extra_submenu > li > a{
	color: #5f9812;
}
body.testament ul.extra_submenu > li > a{
	color: #30353b;
}
body.scheiden ul.extra_submenu > li > a{
	color: #9d9d9c;
}
body.ondernemen ul.extra_submenu > li > a{
	color: #d87635;
}

#menu1{
    display: block;
    width: 400px;
    min-width: inherit;
    background: #fff;
    float: none;
    position: absolute;
    left: initial;
    top: -70px;
    right: -40px;
    font-size: 1rem;
    height: auto;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    visibility: hidden;
}
#menu1 ul{
    width: 100%;
}

#menu1 > ul{
    width: 260px;
    margin-left: 73px;
    margin-bottom: 50px;
    margin-top: 90px;
}

#menu1 > ul::after {
  content: "";
  clear: both;
  display: table;
}

#menu1 li{
    width: 100%;
    text-align: right;
    position: relative;
}

#menu1 li a{
    width: calc(100% - 28px);
}

#menu1 > ul > li > a{
    text-transform: uppercase;
    font-weight: 400;
    font-size: 14px;
}

#menu1 ul.submenu li a{
    width: calc(100% - 28px);
    border: 0px;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    color: #333;
    padding-top: 2px;
    padding-bottom: 2px;
    transition: all 0.2s ease-in-out;
    float: right;
}

#menu1 ul.submenu li a:hover{
    padding-right: 30px;
}

#menu1 li.expand ul{
    transition: all 0.5s ease-in-out;
    max-height: 0px;
    overflow: hidden;
    margin: 0px;
    padding: 0px;
}

#menu1 li.expand.open ul{
    max-height: 500px;
	position: relative;
}

#menu1 > ul > li > a:before{
    content: '';
    display: block;
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 10px;
    background: #000;
    right: 0px;
    top: 14px;
}

#menu1 > ul > li.open > a:before{
    display: none;
}

#menu1 > ul > li.open > a:after{
    content: '-';
    display: block;
    position: absolute;
    right: -2px;
    top: 2px;
    font-size: 21px;
}

.headermenu:before{
    content: '';
    position: fixed;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0;
    left: 0px;
    top: 0px;
    z-index: 90;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
}

a.expand{
    cursor: pointer;
}
#menu1 > ul > li.style-red > a:before{
    background: #ac2823;
}
li.style-red a, #menu1 ul li.style-red a:hover, #menu1 ul li.style-red a{
    color: #ac2823;
}
#menu1 > ul > li.style-yellow > a:before{
    background: #e89930;
}
li.style-yellow a, #menu1 ul li.style-yellow a:hover, #menu1 ul li.style-yellow a{
    color: #e89930;
}
#menu1 > ul > li.style-purple > a:before{
    background: #9069a2;
}
li.style-purple a, #menu1 ul li.style-purple a:hover, #menu1 ul li.style-purple a{
    color: #9069a2;
}
#menu1 > ul > li.style-brown > a:before{
    background: #9a7e68;
}
li.style-brown a, #menu1 ul li.style-brown a:hover, #menu1 ul li.style-brown a{
    color: #9a7e68;
}
#menu1 > ul > li.style-darkgray > a:before{
    background: #30353b;
}
li.style-darkgray a, #menu1 ul li.style-darkgray a:hover, #menu1 ul li.style-darkgray a{
    color: #30353b;
}
#menu1 > ul > li.style-gray > a:before{
    background: #9d9d9d;
}
li.style-gray a, #menu1 ul li.style-gray a:hover, #menu1 ul li.style-gray a{
    color: #9d9d9d;
}
#menu1 > ul > li.style-orange > a:before{
    background: #d77838;
}
li.style-orange a, #menu1 ul li.style-orange a:hover, #menu1 ul li.style-orange a{
    color: #d77838;
}
#menu1 > ul > li.style-green > a:before{
    background: #5f9812;
}
li.style-green a, #menu1 ul li.style-green a:hover, #menu1 ul li.style-green a{
    color: #5f9812;
}
#menu1 > ul > li.style-blue > a:before{
    background: #00497f;
}
li.style-blue a, #menu1 ul li.style-blue a:hover, #menu1 ul li.style-blue a{
    color: #00497f;
}

.menubutton{
    position: absolute;
    z-index: 300;
    right: 41px;
	top: 18px;
    font-size: 14px;
}

.menubutton:before{
    content: '';
    display: block;
    position: absolute;
    right: -14px;
    top: 0px;
    height: 25px;
    width: 25px;
    background-image: url("../img/menu.png");
    background-position: right center;
    background-repeat: no-repeat;
}

@media screen and (min-width: 1024px) {
    .headermenu:hover #menu1{
        opacity: 1;
        right: -40px;
        top: -40px;
        visibility: visible;
    }

    .headermenu:hover:before{
        opacity: 0.2;
    }
}

@media screen and (max-width: 1023px) {
    .headermenu.open #menu1{
        opacity: 1;
        right: -40px;
        top: -40px;
        visibility: visible;
    }

    .headermenu.open:before{
        opacity: 0.2;
    }

    .menubutton{
        cursor: pointer;
        right: 20px;
    }
    
    div.headermenu{
        right: 0px;
    }
    
    #menu1 > ul{
        margin-left: 94px;
    }
}

@-ms-viewport{
  width: device-width;
}

.mob_tel, .mob_email, .mob_team{
    display: none;
    width: 70%;
    text-align: center;
    background: #ac2823;
    padding: 10px 0px;
    color: #fff !important;
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.2s ease-in-out;
    border-radius: 10px 0 0 10px;
}

@media screen and (max-width: 700px) {
    .mob_tel, .mob_email, .mob_team{
        display: inline-block;
    }
    
    .not_mobile{
        display: none;;
    }
    
    #menu1{
        width: 100%;
    }
    
    div.headermenu{
        position: absolute;
        right: 0px;
        width: 100%;
    }
    
    div.headermenu #menu1, .headermenu.open #menu1{
        right: 0px;
    }
    
    .menubutton{
        right: 38px;
        top: -40px;
    }
    
    #menu1 > ul{
        /*width: 100%;*/
        margin: 0px;
        
        margin-top: 64px;
        margin-bottom: 20px;
        margin-right: 25px;
        width: 90%;
        float: right;
    }
    
    div.logo{
        width: 100%;
        text-align: left; /* center*/
		margin-left: 20px;
        height: auto;
    }
    
    div.logo img{
        width: 143px;
        height: auto;
    }
    
	#contentblock1 {
		background-position: 45% -20px;
	}
	#contentblock1 p {
		margin: 5px;
	}
	div.footertext {
		top: 120px;
		width: 100%;
	}
    div.header_address{
        width: 100%;
        text-align: center;
        height: auto;
        margin-bottom: 77px;
    }
	
	div.headermenu {
		top: 30px;
	}
}

