/****************************************************************************
 * Rechtsgebiete
 ****************************************************************************/
.rechtsgebiete {
    padding-bottom: 0;
}
.rechtsgebiete a:hover,
.rechtsgebiete a:focus {
    color: #ffffff;
}
.right_area_container {margin: 0 -1rem 0;}
.right_area_title {
    text-align: center;
    padding: 1.5rem 0;
    background-color: #d7d7d7;
    border-bottom: 1px solid #ffffff;
    font-size: 1.5rem;
    font-family: 'Old Standard TT', serif;
}
.right_area_wrapper_item:first-child .right_area_title {
    border-top: 1px solid #ffffff;
}

.right_area_wrapper_item:last-child .right_area_title {
    border: none;
}

.right_area_wrapper_item .right_area_content {
    max-height: 0;
    overflow: hidden;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
    background: #ffffff;
    color: #282828;
    padding: 0 2rem;
    
}

.right_area_wrapper_item.toggled .right_area_content {
    max-height: 100rem;
    display: block;
    padding: 2rem 2rem;
}
.right_area_wrapper_item.toggled .right_area_title {
    background-color: #cccccc;
}
.right_area_wrapper_item .right_area_title:hover {
    background-color: #cccccc;  
}

.right_area_title h3 {
	margin: 0;
}

/****************************************************************************
 * Ueber mich
 ****************************************************************************/
a.linkedin {
    position: relative;
    color: #282828;
    padding: 0.1rem 0 0 2.5rem;
}

a.linkedin:before {
    content: '';
    position: absolute;
    background-image: url(../img/linkedin.svg);
    background-size: 100%;
    background-repeat: no-repeat;
    width: 2rem;
    height: 2rem;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 0;
    right: auto;
}


 
@media screen and (min-width: 40em){
    /****************************************************************************
     * Rechtsgebiete
     ****************************************************************************/
    .right_area_container { margin: 0 -2rem; }
}


@media screen and (min-width: 64em){
    /****************************************************************************
     * Rechtsgebiete
     ****************************************************************************/

    .right_area_wrapper .right_area_wrapper_item {
        pointer-events: none; position: relative;
        margin-bottom: 1.5rem;
    }
	
    .content_section.right_area_content_section {
        background-color: transparent;
        font-size: 0;
        position: relative;
    }
    .right_area_wrapper_item.toggled .right_area_title {
        background-color: #ffffff;
        color: #282828;
        padding: 0 0 1.5rem;
        padding: 0;
    }
    .right_area_title h3 {
        font-size: 2rem;
    }
    .right_area_wrapper_item .right_area_title:hover {
        background-color: #ffffff;
    }
    .right_area_wrapper_item_inner{
        position: static;
        display: block;
    }
    .right_area_title {
        color: #282828; background-color: #ffffff; padding: 0 0 1.5rem;
        padding: 0;
    }
    .right_area_wrapper_item .right_area_content {
        max-height: none; padding-top: 1.5rem;
    }
    
    .content_section.right_area_content_section .right_area_container {
        font-size: 0; position: relative;
    }
    
    .content_section.right_area_content_section .right_area_wrapper {
        position: relative; padding: 1rem 2rem 0 .9375rem; font-size: 1rem;
        display: inline-block; width: 70%; vertical-align: top;
    }
    .content_section.right_area_content_section .right_area_navigation {
        position: relative; padding: 1rem .9375rem 0 2rem; font-size: 1rem;
        display: inline-block; width: 30%; vertical-align: top;
    }
    .content_section.right_area_content_section .right_area_navigation_inner {
        color: #282828; position: absolute; display: block; 
        top: 0; left: 2rem; right: .9375rem;
        -webkit-transition: all .5s ease;
        -moz-transition: all .5s ease;
        -ms-transition: all .5s ease;
        -o-transition: all .5s ease;
        transition: all .5s ease;
    }
    .content_section.right_area_content_section .content_title {
        background-color: transparent;
        color: #282828;
    }
    .content_section.right_area_content_section .content_title_inner {
        background-color: #ffffff;
    }
    .right_area_wrapper_item .right_area_content h5 {
        position: relative;
    }
    .right_area_wrapper_item .right_area_content h5:before {
        content: '';
        position: absolute;
        background-image: url(../img/paragraph.svg);
        background: url(../img/paragraph.svg) #ffffff;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 25%;
        width: 4rem;
        height: 2rem;
        max-height: 2rem;
        left: 0;
        right: 0;
        bottom: -3rem;
        margin: 0 auto;
        z-index: 3;
    }
    .right_area_wrapper_item .right_area_content h5:after {
        content: '';
        position: absolute;
        width: 100%;
        height: 1px;
        left: 0;
        right: 0;
        bottom: -2rem;
        margin: 0 auto;
        background-color: #d7d7d7;
        z-index: 0;
        
    }
    
    
    /****************************************************************************
     * Rechtsgebiete
     ****************************************************************************/
    .right_area_navigation_inner ul li {
        padding:  0 0 0 2rem;
        position: relative;
        -webkit-transition: all .5s ease;
        -moz-transition: all .5s ease;
        -ms-transition: all .5s ease;
        -o-transition: all .5s ease;
        transition: all .5s ease;
        
    }
    .right_area_navigation_inner ul li a {
        font-family: 'Old Standard TT', serif;
        font-size: 1.2rem;
        line-height: 1.8;
    }
        
    .right_area_navigation_inner ul li:before {
        content: '';
        height: 1px;
        width: 1rem;
        position: absolute;
        top: 0.95rem;
        -webkit-transition: all .5s ease;
        -moz-transition: all .5s ease;
        -ms-transition: all .5s ease;
        -o-transition: all .5s ease;
        transition: all .5s ease;
        left: 0;
        display: block;
        background-color: #282828;
    }
    .right_area_navigation_inner a:hover,
    .right_area_navigation_inner a:focus {
        color: inherit;
    }
    .right_area_navigation_inner li.active {
        padding-left: 3rem;
    }
    .right_area_navigation_inner li.active:before {
        width: 2rem;
    }
    .right_area_navigation_inner ul {
        list-style: none;
    }
    
}

/****************************************************************************
* Zertifikat
****************************************************************************/
a.certificate img {
	max-width:10rem;
	margin:0 1rem;
}

@media screen and (min-width: 64em){
	a.certificate {
		position:absolute;
		top:100%;
	}
	a.certificate:first-of-type {
		left:0;
	}
	
	a.certificate:nth-child(2) {
		left:50%;
		transform:translatex(-50%);
	}
	
	a.certificate:last-of-type {
		right:0;
	}
	a.certificate img {
		max-width:7rem;
	}
}
/*
@media screen and (min-width: 82em){
	a.certificate img {
		max-width:10rem;
	}
}*/
