
html,
body {
    height: 100%;
    font-family: 'Roboto', sans-serif !important;
}

body {
    position: relative;
}

h1.blue, h2.blue, h3.blue, h4.blue {
    color: #7ca2d1;
}
h1.pointer, h2.pointer, h3.pointer, h4.pointer {
    cursor: pointer;
}

.header_underline {
    text-decoration: underline;
}

.noListStyle  {
    list-style-type: none;
}

.center{

    margin: 1% 50% 1% 50%


}

.wrap {
    position: relative;
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
	overflow-x: hidden;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.wrap nav {
    border-bottom: 1px solid #e2e2e2 !important;
    box-shadow: 0 10px 5px 0 rgba(150,150,150, 0.2);
}

.section p, .section-grey p {
    text-align: justify;
    font-size: 16px;
}

.carousel-inner .item .carusel-header-text
{
    position: absolute;
    word-break: break-all;
    top: 50%;
    left: 15%;
}

.carousel-inner .item .carusel-header-text h1 {
    color: #fff;
    font-size: 3em;
    text-shadow: 1px 1px 1px #000;
}

.carousel-inner .item .carusel-header-text span {
    color: #fff;
    font-size: 3em;
    text-shadow: 1px 1px 1px #000;
}

/***** Go Top Button *****/

#go-top {
    position: fixed;
    bottom: 25px;
    right: 0px;
    z-index: 100;
}

/****** Mobile Buttons ******/

.mobileOverlay {
    position: fixed;
    bottom: 80px;
    left: 10px;
}

/****** MAP ******/

.mapImage
{
    height: 300px;
    margin-top: 25px;
    position: relative;
    background: url('../img/map.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mapImage h4 {
    font-weight: bold;
}

.mapImage p {
    padding: 15px;
    background: #777;
    color: #fff;
}

/*****  Footer *****/

.footer-spacer {
    height: 5px;
    background: #e2e2e2;
    margin-bottom: 5px;
}

.footer {
    background: #004075;
    color: #fff;
    text-transform: uppercase;
}

.footer h4 {
    text-decoration: underline;
}

.footer ul {
    list-style-type: none;
}

.footer ul li a:hover, .footer ul li a:focus {
    color: #7ca2d1 !important;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\e151";
}

a.desc:after {
    content: "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/***** Custom *****/

.container-fluid {
    padding: 0;
}

.section-grey {
    /*background: #e2e2e2;*/
    background: #666;
    background: url('../img/11_Grey.png');

    background-position: center;
    background-repeat: no-repeat;
}

/***** Rechtsanwälte *****/

.section .personInfo {
    display: block;
    margin: 5px 0;
}

.person-wrapper {
    position: relative;
    width: 35%;
    min-height: 70vh;
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #e3e3e3;
    box-shadow: 6px 6px 6px rgba(150,150,150,0.5);
}

.simple-badge {
    padding: 5px;
    border: 1px solid #333;
    background: #f5f5f5;
    border-radius: 15px;
}

.person-vita {
    min-height: 225px;
}

.team_details_info {
    background: #f5f5f5;
    padding: 10px;
    min-height: 80vh;
    width: 35%;
    border: 1px solid #e3e3e3;
    box-shadow: 6px 6px 6px rgba(150,150,150,0.2);
}

/***** Background Images *****/

.bgimage {
    height: 385px;
}

.bgimage1 {
    background: url('../img/01_Slider.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.bgimage2 {
    background: url('../img/02_Slider.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.bgimage3 {
    background: url('../img/09_Slider.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.bgimage4 {
    background: url('../img/10_Slider.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.bgimage5 {
    background: url('../img/11_Slider.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/***** Flex *****/

.flex-wrapper {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    height: 200px;
    background: #004075;
}

.person-bottom-line {
    width: 100%;
    padding: 10px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.person-bottom-line span {
    margin-right: 10px;
}

.flex-wrapper-col {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    height: 200px;
    background: #004075;
}

/***** BlueHeader *****/

.blueHeader {
    background: #004075;
    color: #fff;
    padding: 20px 10px;
    margin: 0;
}

/***** BlueBox *****/

.bluebox {
    background: #7ca2d1;
    padding: 15px;
    margin: 20px;
}

.bluebox-header {
    margin-right: 100px;
    border-bottom: 2px solid #004075;
    margin-bottom: 15px;
}

.bluebox-header h4 {
    margin-bottom: 0;
}

/***** Blue List *****/

.blueList {
    list-style-type: none;
    text-align: center;
}

.blueList li{
    border-top: 2px solid #7ca2d1;
    padding: 15px;
    font-size: 20px;
    font-weight: bold;
}

.blueList li:last-of-type {
    border-bottom: 2px solid #7ca2d1;
}

.blueList.blueList-small li:last-of-type {
    border-bottom: none;
}

/***** Netzwer *****/

.netzwerk {
    min-height: 385px;
}

.netzwerk h2, .netzwerk h4 {
    color: #004075;
}

.link-wrapper img {
    max-height: 90px;
    max-width: 150px;
}

.bottom-info p {
    color: #fff;
    padding: 15px;
}

/***** Navbar *****/

nav {
    background: #fff !important;
    border: none !important;
}

nav ul {
    width: 85%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    padding-top: 15px;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

    /* Nav Bootstrap overwrite*/

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
    background: #fff;
    border-bottom: 3px solid #7ca2d1;
    padding-bottom: 5px;
}

.navbar-header{
    margin-right:15px !important;
}
/***** Slider *****/

.slider {
    background-color: #e2e2e2;
}

.slider .carousel-inner {
    height: 100%;
    max-height: 45vw;
    object-fit: cover;
    object-position: center;
}

.slider .carousel-inner img {
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.slider-info {
    position: absolute;
    width: 30vw;
    height: 30vh;
    bottom: 15%;
    right: 15%;
    background: #f5f5f5;
    z-index: 10;
    padding: 20px;
    opacity: 0.8;
}

.slider-info-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-info-inner button {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.slider-header {
    text-transform: uppercase;
}

/***** Impressum *****/

.impressum p, .datenschutz p {
    font-size: 1.1em;
}

/*************  Datenschutz *************/

.small-text p {
    font-size: 0.8em;
}


/*************** Kontakt ******************/

.contactImage {
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.mobileNavTitle {
    display: none;
}

/****************************************************/
/******************* MEDIA **************************/
/****************************************************/
@media(max-width:1470px){
    .person-bottom-line{
        flex-direction: column;
    }
    .bgimage4 {
    background: url('../img/10_Slider.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

}

@media (max-width: 1300px)
{
    .carousel-inner .item .carusel-header-text h2 {
        font-size: 2.6em;
    }
}

@media (max-width: 1200px)
{
    .carousel-inner .item .carusel-header-text h2 {
        font-size: 2.2em;
    }

    nav ul {
        margin: -40px auto !important;
    }
}

@media(max-width:767px) {

    .mobileNavTitle {
        display: inline-block;
        position: fixed;
        top: 25px;
        right: 25px;
        color: #000;
        z-index: 10000;
    }

    .person-wrapper {
        width: 90vw;
        margin: 10px;
    }

    .team_details_info
    {
        width: 90vw;
        margin: 10px;
    }

    .bgimage {
        height: 150px;
    }

    .mobileNavTitle p {
        font-size: 4vw;
    }

    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
	
	.navbar-collapse
	{
		border: none;
	}
	
    nav ul {
        width: 100%;
        display: block;
        margin: 50px auto !important;
        text-align: center;
        background: #7ca2d1 !important;
    }
    nav .navbar-brand img {
        height: 40px;
    }
    nav ul li a {
        color: #fff !important;
    }
    nav ul li a:hover {
        color: #004075 !important;
    }

    ul.blueList {
        padding-left: 0 !important;
    }

    .slider .carousel-inner {
        height: 30vh;
    }

    .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
        background: #7ca2d1;
        color: #004075;
    }

    #go-top {
        right: 20%;
    }

    .section p, .section-grey p {
        font-size: 1.2em;
        text-align: justify;
    }

    .section blockquote p q {
        font-size: 0.8em;
    }

    h2.bluebox-header {
        font-size: 1.5em;
        word-wrap: break-spaces;
        text-decoration: none;
        border-bottom: none;
    }

    #text_kanzlei {
        padding: 10px 5px;
    }

    #toggleKanzleiCollapse {
        width: 100%;
        padding: 10px;
        font-size: 1.3em;
    }

    .blueHeader {
        text-align: center;
    }

    .blueList.bluelist-first li:last-of-type {
        border-bottom: none;
        padding-bottom: 0;
    }

    footer {
        text-align: center;
    }

    footer ul {
        padding: 0;
    }

    .footer-ul-2
    {
        margin-top: 20px;
    }

    .flex-wrapper {
        height: auto;
    }


}

@media screen and (max-width:720px)
{
    .slider .carousel-inner {
        height: 100%;
    }

}
@media (max-width:765px) and (orientation:landscape){
    #mobilheader{
        margin: -5px 100px 10px !important;
    }
}


#mobilheader{
    margin: 10px 25px 10px;
			display: none;
}

@supports (-ms-ime-align:auto) {
    .justify-evenly {
        justify-content: center !important;
    }
}

/* Cookie */
#cookie-popup {
    text-align: center;
    background: #fff;
    position: fixed;
    top: 0px;
    left: 0;
    right: 0;
    z-index: 9999;
    font-size:14px;
    line-height:20px;
    padding: 20px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
    }

  #cookie-popup.hidden {
    display: none;
}

/****** HELPER ******/

/* Margin Top */

.mt-5 {
   margin-top: 5px;
}
.mt-10 {
    margin-top: 10px;
}
.mt-15 {
    margin-top: 15px;
}
.mt-20 {
    margin-top: 20px;
}
.mt-25 {
    margin-top: 25px;
}
.mt-30 {
    margin-top: 30px;
}
.mt-35 {
    margin-top: 35px;
}
.mt-40 {
    margin-top: 40px;
}
.mt-45 {
    margin-top: 45px;
}
.mt-50 {
    margin-top: 50px;
}

/* Margin Bottom */

.mb-5 {
    margin-bottom: 5px;
}
.mb-10 {
    margin-bottom: 10px;
}
.mb-15 {
    margin-bottom: 15px;
}
.mb-20 {
    margin-bottom: 20px;
}
.mb-25 {
    margin-bottom: 25px;
}
.mb-30 {
    margin-bottom: 30px;
}
.mb-35 {
    margin-bottom: 35px;
}
.mb-40 {
    margin-bottom: 40px;
}
.mb-45 {
    margin-bottom: 35px;
}
.mb-50 {
    margin-bottom: 50px;
}


/* Spacer */

.spacer-10 {
    height: 10px;
}

.spacer-15 {
    height: 15px;
}

.spacer-25 {
    height: 25px;
}

.spacer-50 {
    height: 50px;
}
.spacer-75 {
    height: 75px;
}

.spacer-100 {
    height: 100px;
}
.spacer-150 {
    height: 150px;
}
.spacer-200 {
    height: 200px;
}
.spacer-250 {
    height: 250px;
}

/*FLEXBOX*/

.flex-row {
    display: flex;
    flex-direction: row;
}
.flex-col {
    display: flex;
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-nowrap {
    flex-wrap: nowrap;
}

.flex-margin-10 {
    margin: 10px;
}

.flex-margin-20 {
    margin: 20px;
}

.justify-center { justify-content: center; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end;}
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around;}
.justify-evenly { justify-content: space-evenly;}

.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.align-end { align-items: flex-end; }
.align-stretch { align-items: stretch; }
.align-base { align-items: baseline; }

.download-title,
.sub-heading
{
    font-size: large;
}

.section-grey .container
{
        width: 100%;
    margin: 0;
    padding: 0;
}