/**
 *
 * @author Deniz Cengiz, dc@rehbrand.de
 * @copyright (c) 2016, Rehbrand GmbH, www.rehbrand.de
 * 
*/

::selection {
    background: #289bd2;
    color: #fff;
    -webkit-text-stroke-color: #fff;
}

::-moz-selection {
    background: #289bd2;
    color: #fff;
}

.hyphenate {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

.highlight {
    color: #289bd2;
    -webkit-transition: all 0.25s ease;
    -moz-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    -ms-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: 'Open Sans',sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 18px;
    color: #333;
}

a {
    color: inherit;
    -webkit-transition: all 0.25s ease;
    -moz-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    -ms-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

a:hover,
a:focus {
    color: #289bd2;
    outline: none !important;
    text-decoration: none;
}

ul, ol, p {
    padding: 0;
    margin: 0;
}

h1, h2, h3 {
    font-weight: 700;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}




/* -----------------------------------------------------------------------------

  HEADER
    * header-top: hotline, social, search, top-menu
    * header-bottom: logo, navigation
  
----------------------------------------------------------------------------- */


/* general header styles */ 

#dc-header {
    display: block;
}

/* logo */

#dc-logo {
    margin-top: 25px;
    display: block;
    width: 139px;
    height: 50px;
    background: url('../img/sgm-logo.svg') no-repeat scroll center center / contain;
}

@media all and (max-width: 991px) {
    #dc-logo {
        margin: 15px 0 15px 15px;
    }
}


/* navigation + dropdown */

#dc-navbar {
    background: #fff;
    border: none;
    margin: 0;
}

.navbar-header {
    position: relative;
}

.navbar-nav > li > a {
    padding-top: 40px;
    padding-bottom: 40px;
    font-size: 18px;
    color: #000;
    position: relative;
    display: block;
}
/*
.navbar-nav > li:before,
.navbar-nav > li:after {
    content: "";
    width: 0%;
    height: 2px;
    position: absolute;
    left: calc(50% - 15px);
    background: transparent;
    -webkit-transition: all 0.25s ease;
    -moz-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    -ms-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

.navbar-nav > li:before {
    top: 30px;
}

.navbar-nav > li:after {
    bottom: 30px;
}

.navbar-nav > li:hover:before,
.navbar-nav > li:focus:before,
.navbar-nav > li:hover:after,
.navbar-nav > li:focus:after,
.navbar-nav > li.current-menu-item:before,
.navbar-nav > li.current-menu-item:after {
    width: 30px;
    background: #289bd2;
}

.navbar-nav > li:hover:before,
.navbar-nav > li:focus:before,
.navbar-nav > li.current-menu-item:before {
    top: 20px;
}

.navbar-nav > li:hover:after,
.navbar-nav > li:focus:after,
.navbar-nav > li.current-menu-item:after {
    bottom: 20px;
}*/

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus,
.navbar-nav > li.current-menu-item > a,
.nav .open > a,
.nav .open > a:focus,
.nav .open > a:hover {
    background: transparent;
    color: #289bd2;
}

.navbar-toggle {
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 500;
    line-height: 30px;
    color: #289bd2;
    border-radius: 0;
    border: none;
    padding: 25px;
    float: none;
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
}

@media all and (max-width: 991px) {
    .dc-wrapper {
        padding-top: 80px;
    }

    #dc-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    .navbar-header {
        float: none;
    }

    .navbar-right {
        float: none !important;
        margin-right: 0;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse.collapse {
        display: none !important;
    }

    .collapse.in{
        display: block !important;
    }

    .navbar-nav {
        float: none !important;
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .navbar-collapse {
        border: none;
        box-shadow: none;
    }

    .navbar-nav > li {
        border-top: 1px solid #ddd;
        float: none;
    }

    .navbar-nav > li:first-child {
        border: none
    }

    .navbar-nav > li:before,
    .navbar-nav > li:after {
        content: none;
        display: none;
    }

    .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 18px;
        text-transform: none;
    }

    /* dropdown */
    .dropdown a.dropdown-toggle {
        position: relative;
    }

    .dropdown-toggle {
        width: 60px;
        height: 40px;
        border: none;
        box-shadow: none;
        position: absolute;
        top: 0;
        right: 0;
        background: transparent;
    }

    .dropdown .dropdown-toggle:after {
        content: "\f078";
        font-family: 'FontAwesome';
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        font-size: 10px;
        font-weight: normal;
        font-style: normal;
        line-height: 40px;
        width: 40px;
        text-align: center;
        color: #444;
    }

    .dropdown .dropdown-toggle:hover:after {
        color: #289bd2;
        cursor: pointer;
    }

    .dropdown.open .dropdown-toggle:after,
    .dropdown.open .dropdown-submenu.open .dropdown-toggle:after {
        content: "\f077";
        color: #444;
    }

    .dropdown.open .dropdown-submenu .dropdown-toggle:after {
        content: "\f078";
    }

    .dropdown-menu {
        padding: 0;
    }

    .dropdown-menu > li > a {
        padding: 10px 20px !important;
        color: #444;
        white-space: normal;
        font-size: 16px;
    }

    .navbar-nav .open .dropdown-menu {
        background-color: transparent;
        border: 0 none;
        box-shadow: none;
        float: none;
        margin-top: 0;
        position: static;
        width: auto;
    }

    .dropdown-menu > li > a:focus,
    .dropdown-menu > li > a:hover {
        background: #ddd;
    }

    .dropdown-submenu.open .dropdown-menu > li > a {
        padding-left: 40px !important;
        position: relative;
    }

    .dropdown-submenu.open .dropdown-menu > li > a:before {
        content: "\f054";
        font-family: 'FontAwesome';
        font-size: 10px;
        font-weight: normal;
        font-style: normal;
        line-height: 40px;
        display: block;
        position: absolute;
        left: 25px;
        top: 0;
    }
}

@media all and (max-width: 767px) {
    .navbar-right {
        margin-right: -15px;
    }
}


/* dropdown */

@media all and (min-width: 992px) {
    ul.nav li.dropdown:hover > ul.dropdown-menu {
        display: block;
    }

    .dropdown-toggle {
        display: none;
    }

    .dropdown-menu {
        background: #f8f8f8;
        border-color: #ddd;
    }

    .dropdown-menu > li > a {
        color: #444;
        padding: 10px 20px;
        white-space: normal;
    }

    .dropdown-menu > li > a:hover,
    .dropdown-menu > li > a:focus {
        background: #444;
        color: #f8f8f8;
    }

    .dropdown-submenu {
        position:relative;
    }
    .dropdown-submenu>.dropdown-menu {
        top:0;
        left:100%;
        margin-top:-6px;
        margin-left:-1px;
        -webkit-border-radius:0 6px 6px 6px;
        -moz-border-radius:0 6px 6px 6px;
        border-radius:0 6px 6px 6px;
    }
    .dropdown-submenu>a:after {
        display:block;
        content:" ";
        float:right;
        width:0;
        height:0;
        border-color:transparent;
        border-style:solid;
        border-width:5px 0 5px 5px;
        border-left-color:#cccccc;
        margin-top:5px;
        margin-right:-10px;
    }
    .dropdown-submenu:hover>a:after {
        border-left-color:#555;
    }
    .dropdown-submenu.pull-left {
        float:none;
    }
    .dropdown-submenu.pull-left>.dropdown-menu {
        left:-100%;
        margin-left:10px;
        -webkit-border-radius:6px 0 6px 6px;
        -moz-border-radius:6px 0 6px 6px;
        border-radius:6px 0 6px 6px;
    }

}





/* -----------------------------------------------------------------------------

  FOOTER
  
----------------------------------------------------------------------------- */


/* main footer */

.dc-footer-container {
    background: #289bd2;
}

.dc-footer-content {
    padding: 30px 0;
    color: #fff;
    font-size: 13px;
    line-height: 25px;
}

.dc-footer-content-headline {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 20px;
    margin-bottom: 15px;
    padding: 0 0 5px;
    text-transform: uppercase;
}

.dc-footer-content ul > li {
    border-bottom: 1px solid #5bc5f2;
    list-style-type: none;
    padding: 8px 0;
}

.dc-footer-content .fa {
    color: #fff !important;
}

.dc-footer-content a:hover,
.dc-footer-content a:focus {
    color: #e9e9e9;
}

@media all and (max-width: 767px) {
    .dc-footer-content {
        padding-top: 30px;
	padding-bottom: 30px;
    }
}



/* subfooter */

.dc-subfooter-container {
    background-color: #444;
    border-top: 4px solid #202020;
    font-size: 14px;
    color: #fff;
    padding-top: 20px;
    padding-bottom: 20px;
}

.dc-subfooter-container ul {
    list-style-type: none;
    display: inline-block;
}

.dc-subfooter-container ul > li {
    float: left;
    display: block;
    padding: 0 5px;
    margin: 0 5px;
    position: relative;
}

.dc-subfooter-container ul > li:after {
    content: "|";
    font-size: 14px;
    line-height: 40px;
    color: #fff;
    position: absolute;
    top: 0;
    right: -9px;
}

.dc-subfooter-right ul {
    float: right;
}

.dc-subfooter-left ul > li:first-child,
.dc-subfooter-right ul > li:first-child {
    padding-left: 0;
    margin-left: 0;
}

.dc-subfooter-right ul > li:last-child,
.dc-subfooter-left ul > li:last-child {
    padding-right: 0;
    margin-right: 0;
}

.dc-subfooter-right ul > li:last-child:after,
.dc-subfooter-left ul > li:last-child:after {
    content: none;
}

.dc-subfooter-container ul > li > a {
    line-height: 40px;
}

@media all and (max-width: 767px) {
    .dc-subfooter-right ul {
        float: none;
    }

    .dc-subfooter-container ul > li > a,
    .dc-subfooter-container ul > li:after {
        line-height: normal;
    }
}


/* -----------------------------------------------------------------------------

  ELEMENTS
  
----------------------------------------------------------------------------- */


/* pagination */

.pagination {
    margin-bottom: 40px;
}

.page-numbers {
    border: 1px solid #000;
    color: #000;
    margin: 0 2px;
    padding: 5px 10px;
}

.page-numbers:hover,
.page-numbers:focus,
.page-numbers.current{
    border-color: #289bd2;
    color: #fff;
    background: #289bd2;
}

.page-numbers.dots {
    border: medium none;
    margin: 0;
    padding: 0;
}




/* dc-search-result */

#dc-search h1 {
    margin-top: 40px;
}

.dc-search-result {
    border-top: 1px solid #c9c9c9;
    margin-bottom: 40px;
    padding-top: 30px;
}

.dc-search-result:first-child {
    border: medium none;
    padding-top: 0;
}

.dc-search-result-title {
    margin: 0;
    margin-bottom: 20px;
    padding: 0;
}




/* dc-blog-post */

.dc-blog-post-holder {
    border-top: 1px solid #c9c9c9;
    padding: 40px 0;
}

.dc-blog-post-holder:first-child {
    border: none;
    padding-top: 0;
}

.dc-blog-post-image {
    margin-left: -15px;
}

.dc-blog-post-title {
    font-size: 24px;
    font-weight: 700;
    color: #289bd2;
    position: relative;
    padding-bottom: 10px;
    margin: 0;
    display: block;
    border-bottom: 2px solid #289bd2;
}

.dc-blog-post-title a {
    position: relative;
    display: inline-block;
}

.dc-blog-post-title a:hover {
    color: #000;
}

.dc-blog-post-date {
    font-size: 14px;
    font-style: italic;
    color: #888;
    display: block;
    margin: 10px 0 10px 0;
}

.dc-blog-post-text {
    padding-bottom: 40px;
}

.dc-blog-sidebar {
    padding-right: 45px;
}


@media all and (max-width: 991px) {
    .dc-blog-post-image {
        margin-left: 0;
        margin-bottom: 30px;
    }

    .dc-blog-sidebar {
        padding-right: 0;
    }
}



/* single post */
.dc-blog-post-single .dc-blog-post-image {
    margin-left: 0;
    margin-bottom: 30px;
}





/* visual composer */

.vc_row {
    margin-bottom: 25px;
}

.wpb_text_column ul  {
    padding-left: 15px;
}





/* contact form 7 */

div.wpcf7 {
    margin-bottom: 35px !important;
}

.wpcf7 label {
    font-weight: 300;
    display: block;
    width: 100%;
}

.wpcf7-form-control {
    border: 1px solid #d2d2d2;
}

.wpcf7-form-control.wpcf7-recaptcha {
    border: none;
}

.wpcf7-not-valid {
    border: 1px solid #289bd2;
}

.wpcf7-not-valid-tip {
    color: #289bd2 !important;
}

.wpcf7-form-control-wrap,
.wpcf7 input:not(.wpcf7-submit),
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    margin-bottom: 20px;
}

.wpcf7 .dc-btn {
    text-align: center !important;
    padding: 0;
    margin-top: 10px;
}

.wpcf7 input.wpcf7-submit {
    background: none;
    border: none;
    box-shadow: none;
    -webkit-box-shadow: none;
    padding: 15px 40px;
    margin-right: -20px;
    text-transform: uppercase;
}

div.wpcf7 img.ajax-loader {
    margin: 0;
    margin-right: 5px;
}

div.wpcf7-response-output {
    margin: 2em 0 1em !important;
    border: none !important;
    color: #fff;
    font-weight: 700;
    padding: 20px !important;
}

div.wpcf7-validation-errors {
    background: #289bd2;
}

div.wpcf7-mail-sent-ok {
    background: #87D37C;
}







/* cookie consent */

.cc_container {
    font-family: 'Open Sans', sans-serif !important;
    font-style: normal;
    font-weight: 300;
}

.cc_container .cc_btn,
.cc_container .cc_btn:visited {
    border-radius: 0 !important;
    background-color: #289bd2 !important;
    color: #fff !important;
    max-width: 140px !important;
}

.cc_container .cc_btn:hover,
.cc_container .cc_btn:active {
    background-color: #fff !important;
    color: #289bd2 !important;
}

.cc_container a,
.cc_container a:visited {
    color: #289bd2 !important;
}

.cc_container a:hover,
.cc_container a:active {
    color: #ddd !important;
}