/*
Theme Name: OnOffice   
*/

/*---------------------------------------------------------*/
/*Wordpress Core*/
/*---------------------------------------------------------*/
/**
 * Codex: http://codex.wordpress.org/CSS
 */

 /* open-sans-300 - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    src: local(''),
         url('./fonts/open-sans-v34-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('./fonts/open-sans-v34-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* open-sans-regular - latin */
  @font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: local(''),
         url('./fonts/open-sans-v34-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('./fonts/open-sans-v34-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* open-sans-600 - latin */
  @font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: local(''),
         url('./fonts/open-sans-v34-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('./fonts/open-sans-v34-latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* open-sans-700 - latin */
  @font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: local(''),
         url('./fonts/open-sans-v34-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('./fonts/open-sans-v34-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* open-sans-800 - latin */
  @font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 800;
    src: local(''),
         url('./fonts/open-sans-v34-latin-800.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('./fonts/open-sans-v34-latin-800.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }

body#m-body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%; 
}

form label {
    font-weight: 100;
}

input, select, textarea {
    border: 1px solid #D8D8D8;
    color: #444;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 100;
    padding: 8px;
    width: 100%;
    transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
    /*min-width: 358px;*/
}

input[type="submit"] {
    background: #2a3786;
    color: #fff;
    /*max-width: 358px;*/
}

input[type="submit"]:hover {
    cursor: pointer;
}

.green {
    color: #2a3786;
}

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

div#map, div#mapfoot, div#mapdetail {
    height: 300px;
}

.firmen {
    padding: 50px 0;
}

.firmen .col-md-4 img {
    width: 100%;
}

.block {
    margin-bottom: 40px;
}

/*.block img {
    width: 100%;
}*/

.form-inline {
    text-align: center;
}

.form-inline .form-group {
    margin: -30px 0 0;
}

@media screen and (max-width: 800px ) {

    .form-inline .form-group {
        margin: 5px 0 0;
    }

    .col-xs-12.col-xs-4,
    .col-xs-12.col-xs-8 {
        width: 100%;
    }
}

.form-group .form-control {
    font-size: 14px;
    padding: 8px 15px;
    border-radius: 0;
    height: auto;
    min-width: 200px;
}

h3.form-control {
    background: #020f5a;
    color: #fff;
    text-transform: uppercase;
    font-weight: 800;
    margin: 0 0 -8px;
}

.kontaktinfo {
    background: #fff;
    padding: 15px;
    height: 300px;
}

#copyright {
    background: #ccc;
    text-align: right;
    padding: 20px 0;
    color: #fff;
}

#copyright img {
    width: 130px;
}

.copyright-logo {
    display: flex;
    justify-content: flex-end;
}

.copyright-logo .onoffice-logo {
    color: #333333;
}

.top-slogan {
    color: #333;
    text-align: center;
    margin: 0 0 50px;
}

.top-slogan.green {
    color: #2a3786;
    font-size: 40px;
    margin: 0;
}

.top-slogan.green + h3 {
    color: #333;
    text-align: left;
    margin: 20px 0 63px;
}

.tab-content {
    margin-top: 28px;
}

.nav.nav-tabs > li > a {
    border-radius: 0;
}

.panel.panel-default {
    border-radius: 0;
}

.height {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.sf-menu li a, #navi li ul li a {
    color: #333333;
    text-transform: uppercase;
    font-size: 14px;
}

.sf-menu li:hover a, .sf-menu li.sfHover a, #navi li ul li:hover a {
    color: #2a3786;
    font-weight: 800;
}

.sf-menu li.current-menu-item {
    background: none !important;
}

.sf-menu .current-menu-item a, .current-menu-parent a {
    color: #FFF !important;
    font-weight: 800 !important;
}


#navi li ul.sub-menu {
    width: 198px;
    margin: 0px 0 0 -3px;
    border: 3px solid #fff;
    background-color: #d9d9d9;
    border-radius: 0;
    outline: 0;
}

#navi li ul.sub-menu li {
    padding: 0;
    border: 0;
}

#navi li ul.sub-menu a {
    font-size: 14px;
    padding: .75em 1em;
    border-bottom: 3px solid #fff;
    font-weight: 100;
}

#navi li ul.sub-menu a:hover {
    font-weight: 600;
}

.container-content {
    margin-top: 50px;
}

.sf-menu .current-menu-item .sub-menu a {
    color: #333 !important;
    font-weight: 100 !important;
}

.sf-menu .current-menu-item .sub-menu a:hover {
    color: #2a3786 !important;
    font-weight: 800 !important;
}

.obj-listobject-top table,
.obj-listobject-top tr {
    width: 100%;
}

.einheit-title {
    line-height: 40px;
    border-bottom: 1px solid #ddd;
}

.einheit-daten {
    line-height: 27px;
}

.pdf,
.status,
.objektnr_extern {
    text-align: center;
}

    /* -------------------------------------------------------------
    Einheiten
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

    .einheit {
        margin:0px 0px -6px 0px;
        background: #f5f5f5;
        width: 100%;
        display: inline-block;
    }

    .einheiten {
        margin:0px 0px 20px 0px;
    }

    .einheit .one-sixth {
        margin:0px 0px 0px 0px;
        
    }

    .einheit-opener , .zum-projekt {
        /*background:#767779;*/
        border-bottom:1px solid #ffffff;
        color:#333;
        cursor:pointer;
        z-index:2;
        margin:0px;
        position: relative;
    }

    .einheit-opener .icon-caret-down {
        position: absolute;
        top: 10px;
        right: 20px; 
        padding: 0;  
        -webkit-transition-duration: 0.3s;
        -moz-transition-duration: 0.3s;
        -o-transition-duration: 0.3s;
        transition-duration: 0.3s;
        -webkit-transition-property: -webkit-transform;
        -moz-transition-property: -moz-transform;
        -o-transition-property: -o-transform;
        transition-property: transform; 
    }

    .stammobjekt.open .einheit-opener .icon-caret-down {
        -moz-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        -webkit-transform: rotate(180deg);  
    }

        .einheit-opener i , .zum-projekt i {
            padding:0px 10px 0px 0px;
            font-size:16px;
            color:#333;
        }

        .einheit-opener .one-fourth , .zum-projekt , .einheit-opener .one-fifth , .zum-projekt  {
            padding:10px 15px;
            font-size:12px;
            margin:0px;
            text-align:left;
        }

        .einheit-opener .one-fourth.grund-preis , .einheit-opener .one-fifth.grund-preis {
            text-align:right;
        }

        .einheit-opener .one-fourth  .icon-chevron-down , .einheit-opener .one-fifth .icon-chevron-down {
            font-size:19px;
        }

        .zum-projekt {
            padding:11px 15px 10px 15px;
            box-sizing:border-box; 
        }

            .zum-projekt a {
                color:#ffffff;
                display:block;
                text-align:center;
                margin:0px;
                padding:0px;
            }

                .zum-projekt a i {
                    text-decoration:none;
                    color:#dc8500;
                    display:inline-block;
                    margin:0px 10px 0px 0px;
                }

    .einheit-inhalt {
        /*display: none;*/
        max-height: 0;
        text-align: center;
        padding: 0px !important;
        margin: 0 0 -4px;
        overflow: hidden;
        width: 100%;
        -webkit-transition: all 300ms ease-out;
        -moz-transition: all 300ms ease-out;
        -o-transition: all 300ms ease-out;
        transition: all 300ms ease-out;
    }

    .stammobjekt.open .einheit-inhalt {
        max-height: 999px;
        /*display: block;*/
        padding: 40px 40px 40px !important;
    }

    .einheit .einheit-inhalt img {
        max-height: 600px;
        width: auto;
        margin: 0 auto 20px;
    }

    .einheit .one-fifth{
        width: 16.6%;
        float: left;
    }
	
@media screen and (min-width: 1051px ) {

    .mob-n-btn {
        display: none;
    }

    #main-nav {
        display: block;
    }
}

@media screen and (max-width: 1050px ) {
    
    .header-details .col-xs-3 {
        display: none;
    }

    .mob-n-btn {
        display: block;
        color: #333 !important;
        cursor: pointer;
    }

    #main-nav {
        display: none;
    }
}


@media screen and (min-width: 751px ) {
    
    #footer .col-md-4 {
        width: 33.33%;
    }

    #footer .col-md-8 {
        width: 66.66%;
    }
}

@media screen and (max-width: 750px ) {
    
    #footer .col-md-4 {
        width: 100%;
    }

    .firmen {
        padding-bottom: 0;
    }

    .firmen .col-md-4 {
        margin-bottom: 50px;
    }

    #footer .col-md-8 {
        width: 100%;
    }
}

@media screen and (max-width: 500px ) {
    
    .header .header-p1 {
        text-align: left;
        padding: 15px 10px;
    }

    .header .header-p1 .custom-logo {
        width: 200px;
    }
}

input[type="checkbox"] {
	width: auto;
	
}

.kontakt-immo, .kontakt-immo:hover {
	border: 1px solid #D8D8D8;
	color: #fff;
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	padding: 8px;
	width: 100%;
	transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
	background: #283389;
	
}
.checkbox-form {
    border-left: 1px solid #d8d8d8;
    padding: 0 0 0 10px;
    margin: 0 0 20px;
}


.form-check, .help-block {
    font-size: 12px;
}