/* FONTS */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');








/* COMMON STYLES */

body {
    background-color: #fff;
    font: 400 18px 'Open Sans', sans-serif;
    line-height: 26px;
}






/* COLORS */

.navbar-right .dropdown-menu,
.search-form {
    background-color: #d0d0d0;
}

.contact_phone,
.section-title h1:after,
.btn:hover,
.btn:focus,
#navigation .navbar-right li.active>a,
.bottom-socials ul li a:hover,
#navigation .navbar-right li i:hover,
.nav>li>a:hover,
#navigation .navbar-right .dropdown-menu li a:hover,
#navigation .navbar-right .dropdown-menu li a:active,
#main-slider .slider-inner .btn:hover,
#our-services .col-sm-6.col-md-3:nth-of-type(1):before,
#our-services .col-sm-6.col-md-3:nth-of-type(2):before,
#our-services .col-sm-6.col-md-3:nth-of-type(3):before,
#parallax-one .nav-tabs li.active a,
ul.filter li a:hover,
ul.filter li a.active,
.post-time,
.entry-meta span:before,
#testimonial .carousel-inner,
.footer-widget h1:after,
.footer-bottom,
.single-table.featured-table h2,
.single-table.featured-table .btn.btn-primary,
.single-table:hover .btn.btn-primary:hover,
.pricing-table-one .single-table .btn.btn-primary,
.contact-wrap .btn.btn-primary:before,
#comment-form .btn.btn-primary:before,
.contact-wrap .btn.btn-primary:after,
#comment-form .btn.btn-primary:after,
.post-content.media .post-format i,
.widget.tab_widget .nav,
.widget.tag-cloud ul li a:hover,
.footer-widget-wrapper:before,
.pricing-table-one .price,
.object-caption,
.btn,
.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>.active>span,
.pagination>.active>span:focus,
.pagination>.active>span:hover {
    background-color:  #3E4164 !important
}

#navigation .navbar-right li a.active,
#navigation .navbar-right li a:hover {
    background: transparent!important;
    color: #3E4164!important;
}

.link-suche,
.link-uebersicht,
.contact_object_box {
    background-color: #F5F6F8 !important;
}

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>.active>span,
.pagination>.active>span:focus,
.pagination>.active>span:hover {
    border-color:  #3E4164
}

.btn {
    border: none;
}

.object-address {
    color: rgba(255, 255, 255, .5);
}

.link-suche:hover,
.link-suche:focus {
    background-color: #000 !important;
}

a:focus,
a:hover,
#navigation .navbar-right .dropdown-menu-large li a:hover,
#navigation .navbar-right .dropdown-menu-large li a:active,
.service-content i,
#parallax-one .nav-tabs li a i,
.project-filter .active,
.necessary i,
.post:hover a.entry-title,
.post:hover a.entry-title h2,
.entry-meta span a:hover,
.contact-info i,
.contact-info a:hover,
.contact-widget i,
.twitter-widget i,
.social li a:hover,
#countdown ul li p,
#countdown .socials li a:hover,
.coming-soon .copyright a,
.widget-area .widget_search button.btn:hover i,
.widget.tab_widget ul li.active a,
.widget ul li a:hover,
.post-comment a.btn-reply:hover,
.pagination>li>a:hover,
.pagination>li>a.active,
.pagination>li>span:hover,
.pagination>li>a:focus,
.pagination>li>span:focus {
    color: #000
}

.btn_projektas:hover,
.btn_projektas:focus,
.btn-default,
.p-invert {
    color: #fff;
}

a,
.link-uebersicht,
.pagination>li>a,
.pagination>li>span,
.link-suche {
    color: #3E4164
}

#navigation .navbar-right li a,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
}

h3 {
    margin-bottom: 1em;
}

footer {
    background-color: #3E4164;
    color: #fff;
}

footer a,
footer a:hover,
footer a:focus,
footer a:active {
    color: #fff!important;
}

footer a:hover,
footer a:focus,
footer a:active {
    opacity: .7;
}

footer a img {
    height: 33px;
}

footer .container {
    width: 100%;
}



.team,
.team_row {
    background: #fff;
}

.team_box {
    border-color: #fff;
    color: #000;
    font-weight: bold;
}

.btn-default.active,
.btn-default.focus,
.btn-default:active,
.btn-default:focus,
.btn-default:hover,
.open>.dropdown-toggle.btn-default {
    color: #3E4164;
    background-color: #fff !important;
}

.innerPage {
    margin: 4em auto;
}


/* LOGO */

.navbar-header_projektas .navbar-brand {
    padding: 0;
    margin-top: 5px;
}

/* FOOTER */

footer {
    padding: 35px 30px 20px;
}


/* HEADER */

#navigation {
    background-color: #fff;
    height: auto !important;
    padding: 1px 0 5px;
}

#navigation .container {
    width: 100%;
}

#navigation .navbar-brand {
    max-width: 160px;
}

#navigation .navbar-brand img {
    max-height: 106px;
    width: auto;
}

#navigation {
    height: 100px;
}

#main-slider {
    margin-top: 100px;
}

#navigation .navbar-right li a {
    margin-top: 16px;
    text-transform: none;
    font-size: 18px;
}

#\32 788812 {
    display: block;
    margin-top: -100px;
}

.mainsearch {
    background-color: #3E4164;
    border: none;
    margin-top: -40px;
    width: 100%;
    text-align: center;
}

.mainsearch h4 {
    margin-bottom: 20px;
    color: #F5F6F8;
}

.mainsearch h4 span[style] {
    font: normal 36px 'Open Sans', sans-serif!important;
    display: block;
    margin-top: 5px;
}

.mainsearch .container {
    padding-left: 0;
}

.philosophy_full .phil_content {
    display: none;
}

.navbar_projektas .col-sm-2 {
    display: flex;
    flex-direction: row-reverse;
    padding-right: 15px;
}

/* FIX */

.button_wrapper_left,
.off-canvas>section>div>div>div:nth-child(1),
.contact_phone,
#progressar {
    display: none;
}

.philosophy {
    margin-top: 0;
}

.default {
    background-color: #fff;
    margin-top: 0;
    border-top: none;
    padding: 50px 0 0;
}

#navigation + .default {
    margin-top: 70px;
}

.default h1,
.default h2,
.section_h2,
.contact h2,
.topprojekte h2 + h2 {
    color: #000;
    font-size: 50px;
}

.default h2,
.topprojekte h2 + h2 {
    text-align: center;
    margin-bottom: 40px;
}



.default h2::before,
#\35 673210 + .default h1::before,
#body > section:nth-child(24) > div > div > div.col-sm-10 > h1::before,
#\35 731316 + section h2+h2::before,
#body > section:nth-child(26) > div > div > div.col-sm-10 > h1::before,
.topprojekte h2 + h2::before
 {
    content: ' ';
    background: url('https://berlin.organisazia.com/doc/6758975/decor.svg');
    height: 30px;
    width: 452px;
    display: block;
    margin: 0 auto .5em;
}

#\35 731316 + section h2::after {
    display: none;
}

.contact h2 {
    text-transform: none;
    text-align: center;
    margin: 1em auto .75em;
}

.team_content {
    display: none;
}

.team_content .col-sm-6 {
    width: 100%
}

#scroll_team>div.row.team_content>div>h2 {
    margin-top: 70px !important;
}

.team_row {
    padding-top: 0;
}

.contact {
    width: 100%;
    margin-top: -40px;
    padding-top: 30px;
}

.contact .csc-default {
    margin: 0 auto;
}

.contact_object_box {
    color: #000;
    margin: 0;
    text-align: center;
    padding-left: 0;
}

.contact_object_box h1 {
    color: #666;
    margin-top: 0;
    margin-bottom: 30px;
}

.contactform_wrapper {
    margin-top: 30px;
}

.button_wrapper_right {
    width: 100%
}

.btn-contact {
    width: auto;
    margin: 40px auto 70px;
    display: block;
    font-size: 18px;
    padding: 10px 30px;
    height: auto;
}

.btn-contact:hover,
.btn-contact:active {
    color: #fff;
    background-color: #3E4164!important;
}

.contact textarea {
    height: 115px;
}

.team h2 {
    color: #000;
}

.phil_content {
    font-size: 24px;
    padding: 50px 80px;
}

.phil_content li {
    line-height: 35px;
    font-weight: normal;
    color: #545774;
}

#scroll_philosophy_full>div>div>div>h2 {
    display: none;
}

#scroll_team>div.row.team_row>div>div[style] {
    background-color: transparent !important;
}

.topprojekt_box .caption {
    text-align: center;
}

.section_h2 {
    font-size: 38px;
}

.top_h3::after,
.section_h2::after {
    content: ' ';
    height: 2px;
    width: 3em;
    background: #3E4164;
    display: block;
    margin: .75em auto;
}

.btn-topprojekt {
    margin-top: 10px;
    width: auto;
    padding: .25em 1em;
}

.topprojekte {
    background-color: #F5F6F8;
    margin-top: 0;
}

#\35 779746 + .default,
#\32 788812 + .topprojekte,
.intro_content,
.team_box,
#\32 785575 + .default {
    background: #fff;
}

#\32 785575 + .default {
    margin-top: 60px;
}

.contact_object_box {
    background: transparent!important
}

.team_box {
    text-align: center;
}

.philosophy {
    margin-top: 3em;
}

.row.phil_hl{
    margin-left: 0!important;
    margin-right: 0!important;
}

.phil_hl {
    background-position: 50% 50%;
}

.phil_hl .section_h2 {
    display: none;
}

.top_h3 {
    font: 700 24px 'Open Sans', sans-serif;
    line-height: 130%;
}

.philosophy_full .phil_hl {
    height: 400px;
    background-size: cover;
    background-attachment: fixed; 
}

#\35 779805 + .default {
    padding-bottom: 4em;
}

#\35 779805 + .default p {
    text-align: left;
}

.phil_content {
    background-color: #F5F6F8;
}

.phil_content li,
.innerList li {
    list-style: square;
    color:  #3E4164;
    margin-bottom: .5em;
}

.contact input[type=text],
.contact textarea {
    font: 400 18px 'Open Sans', sans-serif;
    background: #F5F6F8;
}

.contact textarea {
    height: 114px;
}

.thumbnail,
.footer_row {
    line-height: 26px;
}

.phil_content h3,
.object-title,
.object-price {
    font: 700 24px 'Open Sans', sans-serif;
}

.phil_content p,
.object-address {
    font-size: 18px;
    line-height: 26px;
}

.object-title {
    line-height: 36px;
}

.contact_object_box h1 {
    color: #000;
    font: 700 24px 'Open Sans', sans-serif;
    padding-top: 15px;
}

.contact_object_box h1::after {
    margin-top: 1.5em;
}

.contact_object_box p {
    line-height: 26px;
}

/* SEARCH */

#navigationPanel .dropdown-toggle .caret {
    margin-left: 3px !important
}

#navigationPanel .glyphicon,
#navigationPanel .glyphicon[style] {
    margin-right: 5px !important;
}

#estatesPagedViewSection {
    float: right;
}

#topPagingNavigator {
    margin: -19px 0 0 15px
}

#searchContainer {
    padding-left: 0;
    padding-right: 30px;
}

.description>p>a {
    margin-left: 5px;
}

#navigationPanel {
    margin-top: -30px;
    margin-left: -15px;
}

#navigationPanel .navbar-default {
    background: none;
    border: none;
}

.off-canvas .nav>li>a:hover {
    background: none !important;
    color:  #3E4164;
}

.btn {
    font-size: 16px;
}

.buttons {
    padding-right: 15px;
}

.off-canvas>section>div>div>div.col-sm-10 {
    width: 100%;
}

.off-canvas .default {
    background-color: #fff;
    margin-top: 126px;
}

.off-canvas footer {
    margin-top: 0
}

#maincontent\20 maps {
    padding-top: 0;
    padding-bottom: 60px;
}

/* CUSTOM */

#\35 561115 + .philosophy {
    margin-top: 0;
}

#\35 561115 + .philosophy .intro_content {
    background: #F5F6F8;
}

#main-slider, 
#main-slider .item {
    background-position: 50% 50%;
    background-size: contain;
}

.phil_hl {
    height: 700px;
}

#\35 561123 + .default .col-sm-10 {
    text-align: center;
}

#\35 561123 + .default ul {
    list-style: disc inside;
    text-align: left;
}

#\35 561123 + .default li {
    max-width: 13.5em;
    margin: 0 auto 1em;
}

#\35 561123 + .default {
    padding-top: 0;
    padding-bottom: 6em;
}

#\35 561123 + .default h2 {
    margin-top: 0;
}

.header-section {
    display: flex;
    flex-direction: row-reverse;
}

.header-section .navbar-right {
    float: left!important;
}

.header-section .navbar-right li a {
    padding-right: 0!important;
}

/* INNER  */

#navigation + .philosophy_full .phil_hl[style] {
    height: 200px;
    margin-top: 200px;
    background-size: 100%;
    background-position: 0 0!important;
    background-repeat: no-repeat;
    background-attachment: inherit;
}

#navigation + .philosophy_full + a + section li,
#\35 731340 + section li {
    list-style: square;
    color:  #3E4164;
    margin-bottom: .5em;
}

#navigation + .philosophy_full + a + section li p,
#\35 731340 + section li p {
    color: #323232;
}


#\35 731316 + section .team_row {
    padding-bottom: 0;
}

#\35 731340 + section h3 {
    margin-top: 2em;
}

#\35 731340 + section h3:first-of-type {
    margin-top: 0;
}

/* FIX2 */

.owl-carousel {
    opacity: 0;
}

.imagesDayNight {
    display: none;
}

.languages {
    display: block;
    left: 30px;
    top: 53px!important;
    z-index: 10000;
    width: 3.5em;
}

#navigation .languages li.active a,
#navigation .languages li a:hover {
    color: #3E4164;
    opacity: .7;
}

#navigation .navbar-right {
    margin-left: 4em;
}

footer p b {
    line-height: 200%;
}

.off-canvas #navigation + .default {
    margin-top: 100px!important;
}

.off-canvas #navigation + .default > .container {
    padding: 0;
}

#filtersFormPanel {
    z-index: 2;
}

#copyright {
    display: block;
    background: #545774;
}

#copyright,
#copyright a {
    color: #C6C6CE;
    font-size: 12px;
}

#copyright a:hover,
#copyright a:focus,
#copyright a:active {
    opacity: .75;
}

#copyright p {
    margin-top: .5em;
}

.objects-grid {
    margin: 2em 0;
}

.contact .plz {
    width: 27%!important;
}

.contact .city {
    width: 71%!important;
}

#\35 673248 + .default {
    background-color: #F5F6F8;
}

#navigation .contact_responsive_tel {
    position: absolute;
    right: 90px;
    top: 15px;
    width: 160px;
}

#\35 673207 + .default h2 {
    margin-bottom: 0!important;
}

#\35 733404 + .default {
    background-color: #F5F6F8;
    margin: 2em 0;
}

#\35 925306 + .default .col-sm-1 {
    display: none;
}

#\35 925306 + .default .col-sm-10 {
    width: 100%;
}

.innerList img {
    margin: 0 0 2em;
}

/* MEDIA */

@media (max-width: 489px) {
    .default h2::before,
    #\35 673210+.default h1::before,
    #body>section:nth-child(24)>div>div>div.col-sm-10>h1::before,
    #\35 731316+section h2+h2::before,
    #body>section:nth-child(26)>div>div>div.col-sm-10>h1::before,
    .topprojekte h2+h2::before {
        background-size: contain!important;
        height: 25px;
        background-position: 50% 50%;
        width: auto;
    }
    .philosophy_full .phil_hl {
        background-repeat: no-repeat;
    }
}

@media (min-width: 490px) {
    #navigation .contact_responsive_tel {
        right: 35%;
    }
}

@media (min-width: 753px) {
    .header-section .navbar-right {
        margin-top: 11px;
    }
    
    .header-section .navbar-right li a::after {
        margin-left: 10px;
    }
    .header-section .navbar-right li a::after,
    .header-section .navbar-right li:first-child a::before {
        content: ' ';
        display: inline-block;
        width: 2px;
        height: 36px;
        background-color: #C6C6CE;
        margin-left: 20px;
        margin-bottom: -15px;
    }
    .header-section .navbar-right li:first-child a::before {
        margin-left: 0;
        margin-right: 20px;
    }
    .header-section .navbar-right li:last-of-type a::after {
        background-color: #fff;
    }
}

@media (min-width: 753px) and (max-width: 991px) {
    #navigation .navbar-right li a {
        padding: 20px 5px!important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #navigation .languages {
        top: 38px!important;
    }
}

@media (min-width: 768px) {
    .dl-horizontal dd {
        margin: 0 15px
    }

    .estate-img {
        width: 150%;
    }

    .details.basic-details {
        padding-left: 33%;
        font-size: 15px;
    }
    #navigation .contact_responsive_tel {
        right: 100%;
    }

    .innerList .col-sm-6:first-of-type {
        padding-right: 3em;
    }
    .philosophy .col-sm-6:first-of-type {
        padding-right: 0!important;
    }
    .philosophy_mirror .col-sm-6:last-of-type {
        padding-left: 0!important;
    }
}

@media (min-width: 992px) {
    #navigation .navbar-brand {
        margin-left: 30px;
    }
    #main-slider {
        margin-top: 100px;
    }
    .phil_content {
        height: auto;
    }
    .phil_content h1 {
        margin-bottom: .5em;
    }
    #body > section:nth-child(24) > div > div > div.col-sm-10 > h1 {
        margin-bottom: 1em;
    }
    #main-slider .item {
        height: 650px!important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) { 
    #navigation .languages {
        top: 44px!important;
    }
}   

@media (min-width: 1200px) {
    .contact .csc-default {
        width: 1075px;
        margin: 0 auto;
    }
    .topprojekt_box {
        min-height: 560px;
    }
    footer {
        padding-left: 60px;
        padding-right: 50px;
    }
    #navigation .contact_responsive_tel {
        left: -16vw;
        top: 55px;
    }
}

@media (min-width: 1201px) {
    #navigation .contact_responsive_tel {
        left: -13vw;
    }
}

@media (min-width: 1267px) {
    #navigation .contact_responsive_tel {
        left: -7vw;
    }
}

@media (min-width: 1320px) {
    #navigation .contact_responsive_tel {
        left: -10vw;
    }
}

@media (min-width: 1380px) {
    #navigation .contact_responsive_tel {
        left: -13vw;
    }
}

@media (min-width: 1450px) {
    #navigation .contact_responsive_tel {
        left: -17vw;
    }
}

@media (min-width: 1500px) {
    #navigation .contact_responsive_tel {
        left: -19vw;
    }
}

@media (min-width: 1600px) {
    #navigation .contact_responsive_tel {
        left: -23vw;
    }
}

@media (min-width: 1700px) {
    #navigation .contact_responsive_tel {
        left: -26vw;
    }
}

@media (min-width: 1800px) {
    #navigation .contact_responsive_tel {
        left: -29vw;
    }
}

@media (min-width: 1900px) {
    #navigation .contact_responsive_tel {
        left: -32vw;
    }
}

@media (min-width: 2100px) {
    #navigation .contact_responsive_tel {
        left: -37vw;
    }
}

@media (min-width: 2300px) {
    #navigation .contact_responsive_tel {
        left: -41vw;
    }
}

@media (min-width: 2500px) {
    #navigation .contact_responsive_tel {
        left: -44vw;
    }
}

@media (min-width: 2700px) {
    #navigation .contact_responsive_tel {
        left: -47vw;
    }
}

@media (max-width: 479px) {
    .default {
        margin-top: 0!important;
    }
}

@media (max-width: 767px) {
    #navigation .navbar-toggle {
        float: none!important;
        position: absolute;
        left: 0;
    }
    #navigation .header-section .col-sm-2 {       
        width: 100%;

    }
    #navigation .header-section .col-sm-2 .navbar-header {
        justify-content: flex-end;
        display: flex;
    }
    .default h2::before, #\35 673210 + .default h1::before,
    #body > section:nth-child(24) > div > div > div.col-sm-10 > h1::before,
    #\35 731316 + section h2+h2::before {
        width: 100%;
        height: 24px;
        background-size: contain;
        background-position: 50% 50%;
        background-repeat: no-repeat;
    }
    .philosophy {
        margin-top: 0;
    }
    .phil_content {
        padding: 30px 60px!important;
    }
    #scroll_team>div.row.team_content>div>h2 {
        margin-top: 0!important;
        padding: 1em 0 0!important;
    }
    #scroll_team>div.row.team_content>div>h2 {
        font-size: 20px!important;
    }
    .team_box {
        padding-bottom: 0!important;
    }
    .team_box img {
        max-height: 15em;
        height: auto;
        width: auto;
    }
    .phil_content {
        font-size: 16px;
    }
    .phil_content li {
        margin-bottom: 0;
    }
    #text {
        margin-bottom: 1.25em;
    }
    .footer_row {
        text-align: center;
    }
    #footer > div > div > div:nth-child(3) > p > img {
        float: none!important;
        margin-top: .5em!important;
    }
    #navigation .navbar-right {
        margin-top: 2.5em;
        position: absolute;
        background: #fff;
        padding: 1em 2em 1em 1em;
    }
    .navbar_projektas .container {
        padding-left: 0;
    }
    .languages {
        left: 10px;
    }
    .philosophy_full .phil_hl {
        width: 100vw!important
    }
    .innerList img {
        margin: .5em auto 2em;
    }
    #\35 673208 + .philosophy {
        margin-top: 45px;
    }
    .off-canvas #navigation + .default {
        margin-top: 0!important;
        padding-top: 30px;
    }
}

@media (max-width: 769px) {
    .off-canvas .navbar-toggle {
        float: right;
    }

    .navbar-toggle_projektas {
        border-color: #d0d0d0;
    }

    .navbar-header [data-toggle="websearch-collapse"],
    .off-canvas .navbar-header [data-toggler] {
        color: #d0d0d0;
    }

    #searchContainer {
        padding-right: 0
    }

    .search-wrapper {
        margin: 0 15px;
    }

    .details-container .basic-details dd {
        background-color: rgba(0, 0, 0, .2)
    }

    .details-section .inforequestFormTable .inforequest-right {
        padding-left: 15px;
        width: 95%
    }

    #scroll_team .section_h2 {
        margin-bottom: 0 !important;
    }

    #main-slider .item {
        height: 550px!important;
    }
}

@media (min-width: 768px) and (max-width: 815px) {
    #navigation .navbar-right li a {
        padding: 20px 3px!important;
    }

}


@media (min-width: 768px) and (max-width: 960px) {
    .header-section .navbar-right li:first-child a::before {
        margin-right: 10px;
    }
    .header-section .navbar-right li a::after, .header-section .navbar-right li:first-child a::before {
        margin-left: 10px;
    }
    #navigation .navbar-right li a {
        font-size: 11px!important;
    }
}


@media (min-width: 768px) and (max-width: 991px) {    
    .topprojekt_box {
        min-height: 600px;
    }
    .intro_content .col-sm-6,
    .phil_hl,
    .phil_content {
        height: 810px;
    }
    #scroll_team .section_h2 {
        padding: 0;
    }
    .phil_content {
        font-size: 21px;
    }
    .languages {
        left: 10px;
    }
    #navigation .navbar-right {
        margin-left: 2.25em;
    }
}

@media (min-width: 760px) and (max-width: 1200px) {
    .phil_content {
        padding: 60px !important;
    }
    #main-slider {
        margin-top: 78px;
    }
    #scroll_projects .caption p,
    #scroll_projects .caption .top_h3 {
        height: auto!important
    }
    #navigation .navbar-right {
        margin-right: 0;
    }
}

@media (min-width: 961px) and (max-width: 1106px) {
    #navigation .navbar-right li a {
        padding: 25px 8px!important;
    }

    #navigation .navbar-right li a::before {
        margin-right: 15px;
    }

    #navigation .navbar-right li a::after {
        margin-left: 15px;
    }
}

@media (max-width: 1266px) and (min-width: 1201px) {
    #navigation .navbar-right li a {
        padding: 25px 5px!important;
    }
    .header-section .navbar-right li a::after, .header-section .navbar-right li:first-child a::before {
        margin-left: 10px;
    }
    .header-section .navbar-right li:first-child a::before {
        margin-right: 10px;
    }
}

@media (max-width: 1199px) {
    .contactform_wrapper {
        margin-top: 0;
    }
    .contactform_wrapper:first-of-type {
        margin-top: 20px;
    }
    #main-slider .item {
        height: 600px;
    }
}

@media (max-width: 991px) {
    #navigation + .philosophy_full .phil_hl[style] {
        background-size: cover!important;
        background-position: 50% 50%!important;
        margin-top: 50px!important;
    }
}

@media (max-width: 767px) {
    #navigation {
        position: relative;
    }
    #navigation .navbar-brand img {
        max-width: 100%
    }
    #main-slider {
        margin-top: 0;
    }
    #main-slider,
    #main-slider .item {
        background-position: top center!important;
        background-size: cover;
    }
    #navigation .navbar-brand img {
        width: 90px!important;
    }
    #scroll_philosophy_mirror .phil_hl {
        height: 400px!important;
    }
}

@media (max-width: 479px) {
    #navigation .navbar-brand img {
        max-width: 100px;
    }
    .phil_content {
        padding: 15px 45px;
    }
    .phil_content h4 {
        margin-top: 25px;
    }
    .team_row,
    #\35 561123 + .default {
        padding-top: 0!important;
    }
    .default h1, .default h2, .section_h2, .contact h2 {
        font-size: 32px;
    }
    #\35 561123 + .default {
        margin-top: 0!important;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 3em;
    }
    #text {
        margin-bottom: 15px;
    }
    #scroll_philosophy_mirror .phil_hl {
        height: 300px!important;
    }
    #main-slider .item {
        height: 400px!important;
    }
    .default ul {
        padding: 0 1.5em;
    }

}

@media (min-width: 992) and (max-width: 1050px) {
    #navigation .navbar-right li a {
       font-size: 12px!important; 
    }
    .header-section .navbar-right li:first-child a::before {
        margin-right: 10px!important;
    }
    .header-section .navbar-right li a::after, .header-section .navbar-right li:first-child a::before {
        margin-left: 10px!important;
    }
}

@media (min-width: 1267px) and (max-width: 1350px) {
    #navigation .contact_responsive_tel {
        right: 55%;
        top: 55px;
    }
    #navigation .navbar-right li a {
        padding: 25px 13px;
    }
}


@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2) {
    .philosophy_full .phil_hl {
        background-size: contain;
        background-attachment: scroll;
    }
}

@media only screen 
    and (device-width: 375px) 
    and (device-height: 812px) 
    and (-webkit-device-pixel-ratio: 3) { 
    .philosophy_full .phil_hl {
        background-size: contain;
        background-attachment: scroll;
    }
}


@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 1) {
    .philosophy_full .phil_hl {
        background-size: contain;
        background-attachment: scroll;
    }
}

@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 2) {
    .philosophy_full .phil_hl {
        background-size: contain;
        background-attachment: scroll;
    }
}

@media only screen 
  and (min-device-width: 834px) 
  and (max-device-width: 1112px)
  and (-webkit-min-device-pixel-ratio: 2) {
    .philosophy_full .phil_hl {
        background-size: contain;
        background-attachment: scroll;
    }
}

@media only screen 
  and (min-device-width: 1024px) 
  and (max-device-width: 1366px)
  and (-webkit-min-device-pixel-ratio: 2) {
    .philosophy_full .phil_hl {
        background-size: contain;
        background-attachment: scroll;
    }
}