/*
Theme Name: JCMS 2018
Theme URI: https://www.johann-carl-mueller-stiftung.de/
Description: JCMS 2018
Author: JCMS
Version: 1.0
*/

/* 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-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+ */
  }

  /* rosario-regular - latin */
@font-face {
    font-family: 'Rosario';
    font-style: normal;
    font-weight: 400;
    src: local(''),
         url('./fonts/rosario-v27-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('./fonts/rosario-v27-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* rosario-700 - latin */
  @font-face {
    font-family: 'Rosario';
    font-style: normal;
    font-weight: 700;
    src: local(''),
         url('./fonts/rosario-v27-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('./fonts/rosario-v27-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }

  /* sanchez-regular - latin */
@font-face {
    font-family: 'Sanchez';
    font-style: normal;
    font-weight: 400;
    src: local(''),
         url('./fonts/sanchez-v13-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('./fonts/sanchez-v13-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }

.clearfix:after,
.footer_menu ul:after {
    display: table;
    content: '';
    clear: both;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
    line-height: 25px;
    font-weight: 400;
    color: #222222;
    /*overflow-x: hidden;*/
}

.skip-links {
  position: absolute;
  top: 0;
  left: 0;
  background: #000;
  z-index: 100;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 8px 16px;
  background: #000;
  color: #fff;
  clip: auto;
  clip-path: none;
  text-decoration: none;
  z-index: 1000;
}

a {
    color: #173583;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

p {
    display: block;
    margin: 0 0 20px 0;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
    padding: 0;
    margin: 0 0 20px 0;
    font-weight: 400;
    line-height: normal;
    font-family: 'Sanchez', serif;
    color: #173583;
}

h1, .h1 {
    font-size: 24px;
}

h2, .h2 {
    font-size: 24px;
}

h3, .h3 {
    font-size: 24px;
}

h4, .h4 {
    font-size: 22px;
    border-bottom: 2px solid #173583;
    margin: 0 0 10px 0;
    padding: 0 0 5px 0;
}

.container {
    width: 100%;
    max-width: 1070px;
    margin: 0 auto 0 auto;
    box-sizing: border-box;
}

header {
    background-color: #ffffff;
    -webkit-box-shadow: 0px 6px 15px 0px rgba(0,0,0,0.4);
    -moz-box-shadow: 0px 6px 15px 0px rgba(0,0,0,0.4);
    box-shadow: 0px 6px 15px 0px rgba(0,0,0,0.4);
    padding: 10px 0 25px 0;
    position: relative;
    z-index: 100;
}

footer {
    padding: 30px 0 30px 0;
    border-top: 7px solid #eaf1fa;
}

.mobile-nav-wrapper {
    display: none;
}

.logo,
.logo-footer {
    float: right;
    display: block;
}

.logo img {
    width: auto;
    height: 133px;
}

.logo-footer img {
    width: 336px;
    height: auto;
}

.logo-footer-links {
    width: 325px;
    clear: both;
    float: right;
}

.footer_menu {
    float: left;
}

.footer_menu ul {
    list-style: none;
    margin: 0 -15px 0 -15px;
    padding: 0;
}

.second_menu {
    padding-top: 15px;
}

.home .second_menu {
    display: none;
}

.second_menu ul {
    list-style: none;
    margin: 0 0 0 0;
    padding: 0;
}

.wrapper-menu {
    float: left;
    padding-top: 46px;
    min-width: 69%;
}

.home .wrapper-menu {
    padding-top: 90px;
}

.students-menu {
    border-top: 1px solid #222222;
    border-bottom: 1px solid #222222;
    padding: 3px 0 3px 0;
    margin-bottom: 10px;
}

.students-menu-left {
    float: left;
    width: 68%;
    background-color: #a8c5e3;
    text-align: center;
    color: #ffffff;
    font-weight: bold;
    font-style: italic;
    padding: 3px 0 3px 0;
}

.students-menu-right {
    float: right;
    width: 32%;
    padding: 2px 0 2px 0;
    text-align: right;
}

.students-menu-right a,
.students-back {
    text-decoration: none;
    color: #222222;
}

.students-menu-right a:hover,
.students-menu-right .active,
.students-back:hover {
    color: #1e3482;
    font-weight: bold;
}

.main_menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #222222;
    border-bottom: 1px solid #222222;
}

.main_menu ul li,
.footer_menu ul li {
    display: inline-block;
    padding: 0 15px 0 15px;
}

.second_menu ul li {
    width: 33.33%;
    float: left;
    text-align: center;
}

.second_menu ul li:nth-child(1) {
    background-color: #245ea9;
}

.second_menu ul li:nth-child(2) {
    background-color: #597fb0;
}

.second_menu ul li:nth-child(3) {
    background-color: #a8c5e3;
}

.main_menu ul li a,
.footer_menu ul li a,
.second_menu ul li a {
    text-decoration: none;
    line-height: 35px;
    color: #222222;
}

.second_menu ul li a {
    color: #ffffff;
    font-size: 16px;
}

.main_menu ul li a:hover,
.main_menu ul .current-menu-item a,
.footer_menu ul li a:hover,
.footer_menu ul .current-menu-item a {
    color: #003883;
    font-weight: bold;
}

.second_menu ul li a:hover,
.second_menu ul .current-menu-item a {
    font-style: italic;
    font-weight: bold;
}

.button-home {
    display: flex;
    width: 100%;
    border: 15px solid #245ea9;
    height: 120px;
    box-sizing: border-box;
    position: relative;
    align-items: center;
    text-decoration: none;
    line-height: normal;
    padding-left: 110px;
    background-position: 20px center;
    background-repeat: no-repeat;
    background-size: 70px auto;
    font-size: 17px;
}

.button-home-1 {
    background-image: url(./img/icon-service-wohnen.png);
}

.button-home-2 {
    background-image: url(./img/icon-ambulante.png);
    border: 15px solid #597fb0;
}

.button-home-3 {
    background-image: url(./img/icon-studierende.png);
    border: 15px solid #b5d0ed;
}

.button-home:hover {
    border: 15px solid #222222;
}

.button-home:before {
    content: "";
    position: absolute;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    height: 0px;
    width: 0px;
    left: 0;
    top: 50%;
    border-left: 15px solid #245ea9;
    z-index: 100;
    margin-top: -14px;
}

.button-home-2:before {
    border-left: 15px solid #597fb0;
}

.button-home-3:before {
    border-left: 15px solid #b5d0ed;
}

.button-home:hover:before {
    border-left: 15px solid #222222;
}

.home-buttons {
    padding: 0 8px 0 8px;
}

.home-buttons .vc_column_container>.vc_column-inner {
    padding-left: 8px;
    padding-right: 8px;
}

.text-indent {
    padding: 0 0 0 100px;
}

.h-full {
    background-color: #06256c;
    overflow: unset !important;
}

.h-full .wpb_text_column {
    margin-bottom: 0;
}

.h-full h2 {
    color: #ffffff;
    padding: 15px 0 15px 0;
    position: relative;
}

.h-full h2:after {
    content: "";
    position: absolute;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    height: 0px;
    width: 0px;
    left: 0;
    bottom: -15px;
    border-top: 15px solid #06256c;
    z-index: 100;
}

.h-full-1 {
    background-color: #597fb0;
}

.h-full-1 h2:after {
    border-top: 15px solid #597fb0;
}

.h-full-2 {
    background-color: #a8c5e3;
}

.h-full-2 h2:after {
    border-top: 15px solid #a8c5e3;
}

.pad-1 {
    padding-bottom: 35px;
}

.pad-2 {
    padding-top: 35px;
}

.pad-3 {
    padding-bottom: 70px;
}

.row-slider {
    padding-top: 50px;
    padding-bottom: 20px;
}

#slider-prev,
#slider-next {
    color: #06256c;
    background-repeat: no-repeat;
    display: block;
    height: 40px;
    line-height: 40px;
    cursor: pointer;
    background-color: transparent;
    border: none;
}

#slider-prev {
    background-image: url(./img/arrow-prev.png);
    background-position: left center;
    padding-left: 60px;
    float: left;
}

#slider-next {
    background-image: url(./img/arrow-next.png);
    background-position: right center;
    padding-right: 60px;
    float: right;
}

.form-home {
    margin: 0 -5px 0 -5px;
}

.form-home p {
    padding-left: 5px;
    padding-right: 5px;
}

.form-home select,
.form-home input[type='text'],
.form-home input[type='email'],
.form-home textarea {
    width: 100%;
    margin: 0 0 10px 0 !important;
    border: none;
    box-sizing: border-box;
    padding: 10px;
    color: #000;
}

.form-home textarea {
    height: 200px;
}

.form-home label {
    font-size: 14px;
}

.form-home .left {
    width: 60%;
    float: left;
    padding: 0 5px 0 5px;
    box-sizing: border-box;
}

.form-home .left .half {
    width: 50%;
    float: left;
    box-sizing: border-box;
}

.form-home .left > .clearfix .half:first-child {
    padding-right: 5px;
}

.form-home .left > .clearfix .half:last-child {
    padding-left: 5px;
}

.form-home .right {
    width: 40%;
    float: right;
    padding: 0 5px 0 5px;
    box-sizing: border-box;
}

.form-home span.wpcf7-list-item {
    margin: 0 0 0 0;
}

.form-home input[type="checkbox"] {
    margin: 0 3px 0 0;
    width: 19px;
    height: 19px;
    vertical-align: middle;
}

.button {
    background-color: #173583;
    text-align: center;
    color: #ffffff;
    padding: 10px 20px 10px 20px;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.button:hover {
    background-color: #222222;
}

.button-form {
    width: 54%;
    float: right;
    margin-right: 10px;
}

#return-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    border: 1px solid #173583;
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 999;
}

#return-to-top i {
    color: #173583;
    margin: 0;
    position: relative;
    left: 16px;
    top: 11px;
    font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#return-to-top:hover {
    border: 2px solid #173583;
}

.featured-img {
    width: 100%;
    height: auto;
    margin-bottom: 35px;
}

.vc_row-has-fill+.vc_row-full-width+.vc_row>.vc_column_container>.vc_column-inner {
    padding-top: 0;
}

.list-1 {
    list-style: none;
    margin: 0;
    padding: 0;
}

.list-1 li {
    display: block;
    width: 100%;
    border-bottom: 2px solid #e1e1e1;
    padding: 15px 0 15px 0;
    font-size: 18px;
}

.list-1 li a {
    font-family: 'Sanchez', sans-serif;
    text-decoration: none;
    display: block;
    position: relative;
    padding-right: 30px;
}

.list-1 li a:hover {
    color: #222222;
}

.list-arrow a:after {
    position: absolute;
    top: 0;
    right: 0;
    content: '\f0da';
    font-family: 'FontAwesome';
    font-size: 20px;
}

.slider-stiftung .row-slide {
    width: calc(100% + 30px);
}

.slider-stiftung .row-slide > .wpb_column > .vc_column-inner > .wpb_wrapper {
    border: 20px solid #ffffff;
    background-color: #eaf1fa;
    color: #173583;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
    padding: 60px 100px 30px 100px;
}

.slider-stiftung .slider-stiftung-nav {
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 900;
    width: 100%;
    margin-top: -20px;
    padding: 0 30px 0 30px;
    box-sizing: border-box;
}

@media screen and (max-width: 1030px) {
    .container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .logo img {
        width: auto;
        height: 100px;
    }

    .home .wrapper-menu,
    .wrapper-menu {
        padding-top: 60px;
    }

    .text-indent {
        padding: 0 0 0 0;
    }
}

@media screen and (max-width: 800px) {
    .logo img {
        width: auto;
        height: 80px;
    }

    .home .wrapper-menu,
    .wrapper-menu {
        padding-top: 10px;
    }

    .main_menu ul li, .footer_menu ul li {
        display: inline-block;
        padding: 0 12px 0 12px;
    }

    .home-buttons {
        padding-bottom: 30px;
    }

    .home-buttons .vc_col-sm-4 {
        width: 100%;
        float: none;
    }

    .home-buttons .vc_col-sm-4 .wpb_raw_html {
        margin-bottom: 10px;
    }
.page-template-p-students-php .logo, .logo-footer {
    float: none;
    display: block;
    text-align: center;
}
.page-template-p-students-php  .wrapper-menu {
    float:none;

}
.page-template-p-students-php .students-menu-left {
    float: none;
    width: 90%;
    margin: 10px auto;
 }
.page-template-p-students-php .students-menu-right {
    float: none;
    width: 90%;
    padding: 2px 0 2px 0;
    text-align: center;
    margin: 0 auto;
}
.page-template-default #mainmenu{
    display:none;
}
.logo, .logo-footer {
    float: none;
    display: block;
    text-align: center;
}
#wprmenu_menu_ul {
    margin-top: 32px!important;
}
.footer_menu {
    float: none;
    text-align: center;
}
}

.grecaptcha-badge {
    display: none;
}
