@media only screen and (max-width: 1280px) {
  .container {
    padding: 0 15px;
    box-sizing: border-box;
  }
  .container-small {
    padding: 0 15px;
    box-sizing: border-box;
  }
  .secondary-nav .cover {
    padding: 5px 15px;
    box-sizing: border-box;
  }
  .hero .background {
    height: 380px;
  }
  .about.page-content2>img ,
  .about.page-content>img {
      display: none;
  }
  .about.page-content2.page-content-image-preserve > img {

      display: block;
      height: auto;
      width: 100%;

  }
  .hero .overlay .row .input {
    float: left;
    clear: none;
    text-align: inherit;
    width: 31.77083%;
    margin-left: 0%;
    margin-right: 2.34375%;
  }
  .hero .overlay .row .input::after {
    content: '';
    display: table;
    clear: both;
  }
  .hero .overlay .row .input .input-container {
      width: 100%;
      margin: 5px 0px;
  }

  .hero .overlay .row .input .row {
    width: 100%;
  }
  .hero .overlay .row .gallery {
    float: left;
    clear: none;
    text-align: inherit;
    width: 40.29948%;
    margin-left: 0%;
    margin-right: 2.34375%;
  }
  .hero .overlay .row .gallery::after {
    content: '';
    display: table;
    clear: both;
  }
  .hero .overlay .row .gallery:last-child {
    margin-right: 0%;
  }
  .blog-page.blog-post h1 {
    float: left;
    clear: none;
    text-align: inherit;
    width: 74.41406%;
    margin-left: 0%;
    margin-right: 2.34375%;
    text-align: center;
  }
  .blog-page.blog-post h1::after {
    content: '';
    display: table;
    clear: both;
  }
  .blog-page.blog-post h1:last-child {
    margin-right: 0%;
  }
  .blog-page .main .content {
    float: left;
    clear: none;
    text-align: inherit;
    width: 74.41406%;
    margin-left: 0%;
    margin-right: 2.34375%;
  }
  .blog-page .main .content::after {
    content: '';
    display: table;
    clear: both;
  }
  .blog-page .main .content:last-child {
    margin-right: 0%;
  }
  .blog-page .main aside {
    float: left;
    clear: none;
    text-align: inherit;
    width: 23.24219%;
    margin-left: 0%;
    margin-right: 2.34375%;
  }
  .blog-page .main aside::after {
    content: '';
    display: table;
    clear: both;
  }
  .blog-page .main aside:last-child {
    margin-right: 0%;
  }
.about.page-content2 .col1 .row .item {
    flex-grow: 1;
  }
  .about.page-content2 .col-single {
    display: block;
    clear: both;
    float: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .about.page-content2 .col-single:first-child {
    margin-left: auto;
  }
  .about.page-content2 .col-single:last-child {
    margin-right: auto;
  }
  .about {
    height: 320px;
  }
  .about.page-content {
    height: auto;
    min-height: auto;
    max-height: 100%;
  }
  .about.page-content .about-bg {
    height: auto;
    max-height: 100%;
  }
  .about.page-content2 {
    height: auto;
    min-height: auto;
    max-height: 100%;
  }
  .about.page-content2 .about-bg {
    height: auto;
    min-height: auto;
    max-height: 100%;
  }
  .about .about-bg {
    height: 320px;
  }
  .about.page-content {
    height: 100%;
    max-height: 100%;
  }
  .about.page-content .about-bg {
    display: none;
  }
  .about.page-content .container {
    height: auto;
    display: flex;
    flex-direction: column-reverse;
    padding: 20px;
  }
  .about.page-content .overlay {
    display: block;
    position: static;
    background: #413F3F;
  }
  .about.page-content .col1 {
    display: block;
    clear: both;
    float: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .about.page-content .col1:first-child {
    margin-left: auto;
  }
  .about.page-content .col1:last-child {
    margin-right: auto;
  }
  .about.page-content .col2 {
    display: block;
    clear: both;
    float: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .about.page-content .col2:first-child {
    margin-left: auto;
  }
  .about.page-content .col2:last-child {
    margin-right: auto;
  }
  .about.page-content2 {
    height: 100%;
  }
  .about.page-content2 .about-bg {
    display: none;
  }
  .about.page-content2.page-content-image-preserve .about-bg {
    display: block;
    min-height: 100%;
  }
  .about.page-content2 .container {
    height: auto;
    display: flex;
    flex-direction: column-reverse;
    padding: 20px;
  }
  .about.page-content2 .overlay {
    display: block;
    position: static;
    background: #413F3F;
  }
  .about.page-content2 .col1 {
    display: block;
    clear: both;
    float: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .about.page-content2 .col1:first-child {
    margin-left: auto;
  }
  .about.page-content2 .col1:last-child {
    margin-right: auto;
  }
  .about.page-content2 .col2 {
    display: block;
    clear: both;
    float: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .about.page-content2 .col2:first-child {
    margin-left: auto;
  }
  .about.page-content2 .col2:last-child {
    margin-right: auto;
  }
}

@media only screen and (max-width: 1100px) {
  header .main .links a:nth-child(2){
    margin: 0px;
  }
}
@media only screen and (max-width: 1024px) {
  .login-view {
      position: absolute;
      float: right;
      right: 0px;
      bottom: -35px;
      z-index: 999;
  }
  .login-text{
    top: 25px;
  }
  header .main{
    position: relative;
  }
  header .main .action-holder:last-child{
    padding: 0px;
  }
  header .main {
    display: block;
  }
  header .main::after {
    content: '';
    display: table;
    clear: both;
  }
  header .main .logo {
    display: block;
    clear: both;
    float: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 20px;
  }
  header .main .logo:first-child {
    margin-left: auto;
  }
  header .main .logo:last-child {
    margin-right: auto;
  }
  header .main .search {
    position: relative;
    padding: 0;
    float: left;
    clear: none;
    text-align: inherit;
    width: auto;
    margin-left: 0%;
    margin-right: 2.34375%;
  }
  header .main .search::after {
    content: '';
    display: table;
    clear: both;
  }
  header .main .search:last-child {
    margin-right: 0%;
  }
  header .main .search .mobile-handle {
    display: block;
    font-size: 22px;
    cursor: pointer;
    color: #00505f;
    text-align: right;
    display: none;
  }
  header .main .search .mobile {
    flex-direction: row;
    position: relative;
    top: 0px;
    left: 0px;
    z-index: 10;
    width: 300px;
    display: block;
  }
  .search.has-menu form {
    float: left;
    width: auto;
  }
  #suche_page .input-container.inputsx2 .holder_inputs input {
    width: 97%;
  }
  header .main .search .mobile input[type="text"] {
    width: 66.66667%;
  }
  header .main .search .mobile input[type="submit"] {
    width: 33.33333%;
  }
  header .main .links {
    float: left;
    clear: none;
    text-align: inherit;
    width: auto;
    margin-left: 0%;
    margin-right: 2.34375%;
    position: relative;
    padding-top: 5px;
  }
  header .main .links::after {
    content: '';
    display: table;
    clear: both;
  }
  header .main .links:last-child {
    margin-right: 0%;
  }

  header .main .links .mobile a {
    display: inline;
    margin-right: 5px;
  }
  header .main .action-holder {
    float: left;
    clear: none;
    text-align: inherit;
    width: 23.24219%;
    margin-left: 0%;
    margin-right: 2.34375%;
    margin-right: 2.34375% !important;
  }
  header .main .action-holder::after {
    content: '';
    display: table;
    clear: both;
  }
  header .main .action-holder:last-child {
    margin-right: 0%;
  }
  header .main .action-holder .button {
    padding: 0px 20px 3px;
  }
  header .menu {
    position: relative;
    height: 40px;
  }
  header .menu .mobile-handle {
    display: block;
    border: 1px solid #00505f;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 100%;
    padding-top: 10px;
    box-sizing: border-box;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    margin: 0 auto;
    position: absolute;
    z-index: 9;
    background: #fff;
    left: 50%;
    top: 10px;
    transform: translate(-50%, 0);
  }
  header .menu ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    z-index: 999;
    background: #fff;
    left: 50%;
    transform: translate(-50%, 0);
    border-radius: 10px;
    top: 38px;
    padding: 10px;
    padding-top: 30px;
    display: none;
    border: 1px solid rgba(0, 80, 95, 0.3);
    border-bottom: 1px solid rgba(0, 80, 95, 0.5);
    border-top: 0;
    box-shadow: 0 4px 23px -4px rgba(0, 80, 95, 0.5);
  }
  header .menu ul li {
    margin-bottom: 10px;
    text-transform: uppercase;
  }
  .hero {
    height: 380px;
  }
  .hero .background {
    height: 380px;
  }
  .hero .overlay .title {
    font-size: 20px;
    margin-bottom: 30px;
    line-height: initial;
  }
  .hero .overlay .row .logo {
    display: block;
    clear: both;
    float: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    max-width: 150px;
    margin-bottom: 30px;
  }
  .hero .overlay .row .logo:first-child {
    margin-left: auto;
  }
  .hero .overlay .row .logo:last-child {
    margin-right: auto;
  }
  .hero .overlay .row .input {
    float: left;
    clear: none;
    text-align: inherit;
    width: 48.82812%;
    margin-left: 0%;
    margin-right: 2.34375%;
  }
  .hero .overlay .row .input::after {
    content: '';
    display: table;
    clear: both;
  }

  .hero .overlay .row .input .input-container {
    width: 100%;
  }
  .hero .overlay .row .input .row {
    width: 100%;
  }
  .hero .overlay .row .gallery {
    float: left;
    clear: none;
    text-align: inherit;
    width: 48.82812%;
    margin-left: 0%;
    margin-right: 2.34375%;
  }
  .hero .overlay .row .gallery::after {
    content: '';
    display: table;
    clear: both;
  }
  .hero .overlay .row .gallery:last-child {
    margin-right: 0%;
  }
  .about {
    height: 320px;
  }
  .about .about-bg {
    height: 320px;
  }
  .video .video-soruce {
    width: 100%;
    min-height: 300px;
  }
  .secondary-nav {
    padding-top: 22px;
  }
  .booking-box {
    width: auto;
    max-width: 1280px;
    float: none;
    display: block;
    margin-right: auto;
    margin-left: auto;
    padding-left: 0;
    padding-right: 0;
    flex-direction: column;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-radius: 0;
  }
  .booking-box::after {
    content: '';
    display: table;
    clear: both;
  }
  .booking-box .content {
    width: 100%;
    flex-direction: column;
    text-align: center;
    border: 0;
  }
  .booking-box .content .img-holder {
    margin: 0;
  }
  .booking-box .action {
    width: 100%;
  }
  .page-action {
    flex-direction: column;
  }
  .page-action .text {
    width: 100%;
    margin-bottom: 30px;
  }
  .page-action .action {
    width: 100%;
  }
  .chat-page .chat-content {
    padding: 0 15px;
    display: flex;
    flex-direction: column-reverse;
  }
  .chat-page .chat-content .message-container {
    display: block;
    clear: both;
    float: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .chat-page .chat-content .message-container:first-child {
    margin-left: auto;
  }
  .chat-page .chat-content .message-container:last-child {
    margin-right: auto;
  }
  .chat-page .chat-content .contact-list {
    display: block;
    clear: both;
    float: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
  }
  .chat-page .chat-content .contact-list:first-child {
    margin-left: auto;
  }
  .chat-page .chat-content .contact-list:last-child {
    margin-right: auto;
  }
  .favourites-box {
    padding: 0 15px;
  }
  .profile-box .form-container {
    padding: 0 15px;
  }
  .profile-box .form-container.partner {
    padding: 0 15px;
  }
  .search .filter .center {
    padding: 0 15px;
  }
  .search .filter .center .row {
    flex-direction: column;
    margin-bottom: 0;
  }
  .search .filter .center .row .input-container {
    margin-bottom: 15px;
    width: 100%;
  }
  .search .filter .center .row .input-container.inputsx2 input {
    width: 50%;
  }
  .search .page-filter .input-container {
    width: 40%;
  }
  .course-detail .hero {
    height: 200px;
  }
  .course-detail .row {
    flex-direction: column;
  }
  .course-detail .row .col {
    width: 100%;
    margin-bottom: 20px;
    margin-right: 0;
  }
  .course-detail .row .col .line {
    margin-bottom: 30px;
  }
  .course-detail .tabs .tab-handles {
    flex-direction: column;
  }
  .course-detail .tabs .tab-handles a {
    margin-bottom: 10px;
    margin-right: 0;
  }
  .blog-page.blog-post h1 {
    display: block;
    clear: both;
    float: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .blog-page.blog-post h1:first-child {
    margin-left: auto;
  }
  .blog-page.blog-post h1:last-child {
    margin-right: auto;
  }
  .blog-page .main .content {
    display: block;
    clear: both;
    float: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .blog-page .main .content:first-child {
    margin-left: auto;
  }
  .blog-page .main .content:last-child {
    margin-right: auto;
  }
  .blog-page .main aside {
    display: block;
    clear: both;
    float: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
  }
  .blog-page .main aside:first-child {
    margin-left: auto;
  }
  .blog-page .main aside:last-child {
    margin-right: auto;
  }
  .about-us .values .row .col {
    display: block;
    clear: both;
    float: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    width: auto;
    max-width: 500px;
    float: none;
    display: block;
    margin-right: auto;
    margin-left: auto;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 30px;
  }
  .about-us .values .row .col:first-child {
    margin-left: auto;
  }
  .about-us .values .row .col:last-child {
    margin-right: auto;
  }
  .about-us .values .row .col::after {
    content: '';
    display: table;
    clear: both;
  }
  .about-us .presentation .row:first-child {
    display: flex;
    flex-direction: column-reverse;
  }
  .about-us .presentation .row .col {
    display: block;
    clear: both;
    float: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
  }
  .about-us .presentation .row .col:first-child {
    margin-left: auto;
  }
  .about-us .presentation .row .col:last-child {
    margin-right: auto;
  }
  .booking-steps {
    padding: 0 15px;
  }
  header .menu {
      position: relative;
      height: 64px;
  }
  header .menu .mobile-handle {
      display: block;
      border: 1px solid #00505f;
      width: 50px;
      height: 50px;
      text-align: center;
      border-radius: 100%;
      padding-top: 10px;
      box-sizing: border-box;
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1);
      cursor: pointer;
      margin: 0 auto;
      position: absolute;
      z-index: 9;
      background: #fff;
      left: 10px;
      top: 5px;
      transform: translate(0%, 0);
  }
 header .menu .mobile {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1rem;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  header.menu .mobile.open {
    display: block !important;
  }


  header .main .action-holder:last-child {
      margin-right: 0%;
      position: relative;
      top: 35px;
      left: 0px;
      width: auto;
      height: 0px;
  }
  header .menu ul{
    left: 0px;
    transform: translate(0px ,0px);
  }
  .course-detail .partner_owner {
      position: absolute;
      top: 40%;
      left: 20%;
      transform: translate(0,-50%);
      border-radius: 10px;
      width: 100px;
  }
  header .main .logo img {
      max-width: 260px;
      width: 100%;
  }
  header .main .action-holder:last-child{
    top: 70px;
  }
  .about.page-content {
    height: auto;
    min-height: auto;
    max-height: 100%;
  }
  .about.page-content .about-bg {
    height: auto;
    max-height: 100%;
  }
  .about.page-content2 {
    height: auto;
    min-height: auto;
    max-height: 100%;
  }
  .about.page-content2 .about-bg {
    height: auto;
    min-height: auto;
    max-height: 100%;
  }
  .about .about-bg {
    height: 320px;
  }
  header .main .links{
    float: right;
  }
}

@media only screen and (max-width: 900px) {
  .item-text-holder .title{
    font-size: 21px;
  }
}
@media only screen and (max-width: 800px) {
  .about.page-content .col1 .row {
    flex-direction: column;
  }
  .about.page-content .col1 .row .item {
    margin-bottom: 20px;
  }
  .about.page-content1 {
    height: 100%;
    max-height: 100%;
  }
  .about.page-content1 .col1 .row {
    flex-grow: 1;
    flex-direction: column;
  }
  .about.page-content1 .col1 .row .item {
    margin-bottom: 20px;
    margin-right: 0;
  }
  .about.page-content2 {
    height: 100%;
    max-height: 100%;
  }
  .about.page-content2 .col1 .row {
    flex-grow: 1;
    flex-direction: column;
  }
  .about.page-content2 .col1 .row .item {
    margin-bottom: 20px;
    margin-right: 0;
  }
  .hero {
    height: 380px;
  }
  .hero .background {
    height: 380px;
  }
  .hero .overlay .title {
    font-size: 20px;
    margin-bottom: 30px;
    line-height: initial;
  }
  .hero .overlay .row .logo {
    display: block;
    clear: both;
    float: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    max-width: 150px;
    margin-bottom: 30px;
  }
  .hero .overlay .row .logo:first-child {
    margin-left: auto;
  }
  .hero .overlay .row .logo:last-child {
    margin-right: auto;
  }
  .hero .overlay .row .input {
    display: block;
    clear: both;
    float: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .hero .overlay .row .input:first-child {
    margin-left: auto;
  }

  .hero .overlay .row .input .input-container {
    width: 100%;
  }
  .hero .overlay .row .input .row {
    width: 100%;
  }
  .hero .overlay .row .gallery {
    display: block;
    clear: both;
    float: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .hero .overlay .row .gallery:first-child {
    margin-left: auto;
  }
  .hero .overlay .row .gallery:last-child {
    margin-right: auto;
  }
  .secondary-nav .cover {
    flex-direction: column;
  }
  .secondary-nav .cover .menu-item {
    width: 100%;
    margin-bottom: 1.41243%;
  }
  .about {
    max-height: 500px;
    height: 500px;
  }
  .about .about-bg {
    height: 500px;
    max-height: 500px;
  }
  .about .overlay {
    padding-top: 30px;
  }
  .about .overlay .container {
    flex-wrap: wrap;
  }
  .about .overlay .container .col:first-child {
    width: 100%;
    text-align: center;
  }
  .about .overlay .container .col:first-child img {
    width: auto;
    width: 150px;
  }
  .about .overlay .container .col:nth-child(2) {
    width: 90%;
  }
  .about .overlay .container .col.follow-us:first-child {
    padding-top: 70px;
    margin-bottom: 50px;
    width: 100%;
  }
  .about .overlay .container .col.follow-us:last-child {
    text-align: center;
    width: 100%;
  }
  .advantages .row .col {
    float: left;
    clear: none;
    text-align: inherit;
    width: 48.82812%;
    margin-left: 0%;
    margin-right: 2.34375%;
    text-align: center;
    margin-bottom: 30px;
  }
  .advantages .row .col::after {
    content: '';
    display: table;
    clear: both;
  }
  .advantages .row .col:nth-child(n) {
    margin-right: 2.34375%;
    float: left;
    clear: none;
  }
  .advantages .row .col:nth-child(2n) {
    margin-right: 0%;
    float: right;
  }
  .advantages .row .col:nth-child(2n + 1) {
    clear: both;
  }
  .advantages .row .col:last-child {
    display: block;
    clear: both;
    float: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .advantages .row .col:last-child:first-child {
    margin-left: auto;
  }
  .advantages .row .col:last-child:last-child {
    margin-right: auto;
  }
  .blog .row .col {
    display: block;
    clear: both;
    float: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .blog .row .col:first-child {
    margin-left: auto;
  }
  .blog .row .col:last-child {
    margin-right: auto;
  }
  footer .main .col {
    float: left;
    clear: none;
    text-align: inherit;
    width: 48.82812%;
    margin-left: 0%;
    margin-right: 2.34375%;
    margin-bottom: 20px;
  }
  footer .main .col::after {
    content: '';
    display: table;
    clear: both;
  }
  footer .main .col:nth-child(n) {
    margin-right: 2.34375%;
    float: left;
    clear: none;
  }
  footer .main .col:nth-child(2n) {
    margin-right: 0%;
    float: right;
  }
  footer .main .col:nth-child(2n + 1) {
    clear: both;
  }
  .profile-box .form-container {
    width: auto;
    max-width: 1280px;
    float: none;
    display: block;
    margin-right: auto;
    margin-left: auto;
    padding-left: 0;
    padding-right: 0;
    padding: 0 15px;
  }
  .profile-box .form-container::after {
    content: '';
    display: table;
    clear: both;
  }
  .profile-box .form-container.partner {
    padding: 0 15px;
  }
  .profile-box .form-container .input-container {
    flex-direction: column;
  }
  .profile-box .form-container .input-container .label {
    width: 100%;
    text-align: left;
    margin-bottom: 10px;
  }
  .profile-box .form-container .input-container .input {
    width: 100%;
  }
  .favourites-box .slide {
    width: calc(50% - (5.65371%/2));
    margin-bottom: 5.65371%;
  }
  .favourites-box .slide:nth-child(3n) {
    margin-right: 5.65371%;
  }
  .favourites-box .slide:nth-child(2n) {
    margin-right: 0;
  }
  .search .favourites-box.search-content .slide {
    float: left;
    clear: none;
    text-align: inherit;
    width: 48.82812%;
    margin-left: 0%;
    margin-right: 2.34375%;
  }
  .search .favourites-box.search-content .slide::after {
    content: '';
    display: table;
    clear: both;
  }
  .search .favourites-box.search-content .slide:nth-child(n) {
    margin-right: 2.34375%;
    float: left;
    clear: none;
  }
  .search .favourites-box.search-content .slide:nth-child(2n) {
    margin-right: 0%;
    float: right;
  }
  .search .favourites-box.search-content .slide:nth-child(2n + 1) {
    clear: both;
  }
  .setad .form-container .row {
    flex-direction: column;
  }
  .setad .form-container .row .input-container {
    margin-right: 0;
    width: 100%;
  }
  .setad .form-container .input-container .input.is-file label {
    max-width: 100%;
  }
  .blog-page .main .content .articles .article {
    display: block;
  }
  .blog-page .main .content .articles .article img {
    margin: 0 auto;
    margin-bottom: 30px;
  }
  .booking-steps {
    padding: 0 15px;
  }
  .booking-steps .profile-box .datepicker_wrapper {
    padding: 0 15px;
  }
  .booking-steps .profile-box .input-container {
    padding: 0 15px;
  }
  .booking-steps .booking-table .row .td:first-child {
    width: 62%;
  }
  .booking-steps .step-action {
    text-align: center;
  }
  .booking-steps .step-action .button {
    float: none;
  }
  .booking-steps .step-action .button:first-child {
    margin-bottom: 10px;
  }
}
@media only screen and (max-width: 790px) {
  .item-class-image, .item-text-holder{
    width: 100%;
  }
  .item-class-image:nth-child(2) img {
      float: none;
      width: auto;
      margin: 0 auto;
      text-align: center;
  }
  .item-class-image:nth-child(2){
    text-align: center;
  }
  .item-text-holder .title{
    height: auto;
  }
  .text-holder,.custom-section-seven-page .item-text-holder .text-holder{
    min-height: auto;
  }
}
@media (max-width: 770px) {

  .about .about-bg {
      height: 535px;
      max-height: 535px;
  }
  .hero {
      height: 380px;
  }
  header .main .action-holder:last-child {
      top: 64px;
  }
}
@media (max-width: 640px) {
  header .main .action-holder:last-child{
    top: 69px;
  }
}
@media only screen and (max-width: 630px) {
  header .main .search{
    float: left;
    width: 100%;
  }
  .search.has-menu form {
    float: none;
    width: 300px;
    margin: 0 auto;
    display: block;
  }
  header .main .links{
    width: 100%;
  }
  header .main .links .mobile{
    text-align: center;
  }
  header .main{
    padding: 19px 0px;
  }
  header .main .action-holder:last-child{
    top: 35px;
  }
  header .main .search form{
    float: none;
  }
  .mobilelinkdisplay {
      display: block;
      float: left;
  }
  .linkondesktopdisplay{
    display: none !important;
  }
}
@media only screen and (max-width: 580px) {
  header .main .links.loggedin{
    width: 100%;
  }
  .courses-gallery .partners-slider .slide .title,
  .courses-gallery .courses-slider .slide .title{
    height: auto;
  }
  .login-view{
    clear:both;
  }
  .courses-gallery .courses-slider .slide .info{
    min-height: 265px; 
  }
  .about .overlay .container .col.follow-us:first-child{
    padding-top: 0px; 
  }
  #suche_page .input-container.inputsx2 .holder_inputs input {
    width: 100%;
  }
  .uc-store-address-field .form-item label{
    width: 100%;
    text-align: center;
    clear: both;
    float: left;
  }
  #edit-panes-billing{
    text-align: center;
  }
  .uc-store-address-field .form-item input,.uc-store-address-field .form-item select{
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    float: none;
    display: block;
  }
  header .main .links .mobile {
    right: 0px;
    width: 100%;
  }
  .hero {
    height: 380px;
  }
  .hero .background {
    height: 380px;
  }
  .about {
    max-height: 550px;
    height: 550px;
  }
  .about .about-bg {
    height: 550px;
    max-height: 550px;
  }
  .about .overlay {
    padding-top: 30px;
  }
  .about .overlay .container {
    flex-wrap: wrap;
    flex-direction: row;
  }
  .about .overlay .container .col a {
    display: inline;
    margin-bottom: 0;
    margin-right: 3%;
  }
  .about .overlay .container .col a:last-child {
    margin: 0;
  }
  .about .overlay .container .col:first-child {
    width: 100%;
    text-align: center;
  }
  .about .overlay .container .col:first-child img {
    width: auto;
    width: 150px;
  }
  .about .overlay .container .col:nth-child(2) {
    width: 100%;
  }
  .about .overlay .container .col:last-child {
    padding-top: 0;
    text-align: center;
  }
  .about .overlay .container .col .input input[type="text"] {
    border-radius: 15px 15px 0 0;
    width: 100%;
  }
  .about .overlay .container .col .input input[type="text"]::placeholder {
    color: #fff;
  }
  .about .overlay .container .col .input input[type="submit"] {
    margin-left: 0;
    border-radius: 0 0 15px 15px;
    width: 100%;
  }
  .advantages .row .col {
    display: block;
    clear: both;
    float: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 30px;
  }
  .advantages .row .col:first-child {
    margin-left: auto;
  }
  .advantages .row .col:last-child {
    margin-right: auto;
  }
  .advantages .row .col:last-child {
    display: block;
    clear: both;
    float: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .advantages .row .col:last-child:first-child {
    margin-left: auto;
  }
  .advantages .row .col:last-child:last-child {
    margin-right: auto;
  }
  footer .main .col {
    display: block;
    clear: both;
    float: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
  }
  footer .main .col:first-child {
    margin-left: auto;
  }
  footer .main .col:last-child {
    margin-right: auto;
  }
  .chat-page .chat-content .message-container .message-action {
    flex-direction: column;
  }
  .chat-page .chat-content .message-container .message-action textarea {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
  }
  .chat-page .chat-content .message-container .message-action .button {
    width: 100%;
  }
  .favourites-box {
    flex-direction: column;
  }
  .favourites-box .slide {
    width: 100%;
    margin: 0;
    margin-bottom: 40px;
  }
  .profile-box .form-container .input-container .input.is-file {
    flex-direction: column;
  }
  .profile-box .form-container .input-container .input.is-file img {
    margin: 0 auto;
    margin-top: 10px;
  }
  .profile-box .form-container .input-container .input.is-file img:last-child {
    margin-right: auto;
  }
  .search .filter .center {
    padding: 0 15px;
  }
  .search .filter .center .row {
    flex-direction: column;
    margin-bottom: 0;
  }
  .search .filter .center .row .input-container {
    margin-bottom: 15px;
    width: 100%;
  }
  .search .filter .center .row .input-container.inputsx2 {
    flex-direction: column;
  }
  .search .filter .center .row .input-container.inputsx2 input {
    width: 100%;
  }
  .search .filter .center .row .input-container.inputsx2 input:first-child {
    margin-bottom: 15px;
  }
  .search .favourites-box.search-content .slide {
    display: block;
    clear: both;
    float: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    margin: 20px auto !important;
    margin-bottom: 40px;
  }
  .search .favourites-box.search-content .slide:first-child {
    margin-left: auto;
  }
  .search .favourites-box.search-content .slide:last-child {
    margin-right: auto;
  }
  .search .favourites-box.search-content .slide:nth-child(2n) {
    margin: 0 auto;
    width: 100%;
    margin-bottom: 40px;
  }
  .services .action .button {
    width: auto;
  }
  .course-detail .col {
    padding: 15px 15px;
  }
  .course-detail .row .col {
    padding: 15px 15px;
  }
  .course-detail .row .col .line {
    flex-direction: column;
  }
  .course-detail .row .col .line span {
    width: 100%;
  }
  .booking-steps .step3 .payment-method .payment-table .row .content {
    padding-left: 0;
  }
  .booking-steps .step4 .profile-box {
    padding: 60px 10px;
  }
  .about .overlay .container{
    text-align: center;
  }
  #recaptcha_v2_widget, .g-recaptcha{
    width: 100%;
    max-width: 100%;
  }
  .layout_form.cr_form.cr_font {
      float: none;
      margin: 0 auto !important;
  }
  footer{
    text-align: center;
  }

  header .menu ul{
    top: 55px;
    left: 0px;
    transform: translate(0%, 0);
  }

  .editable_content input[type="text"]{
    width: 200px;
  }
  .editable_content .cr_button{
    margin-left: -21px;
  }
  .layout_form.cr_form.cr_font{
    width: 330px;
  }
  header .main{
    position: relative;
  }
  footer .main .col:nth-child(n) {
      width: 100%;
      text-align: center;
  }

  .course-detail .row .col .line {
      flex-direction: column;
      text-align: center;
  }
  .kalendar_sections .left {
      max-width: 100%;
      width: 100%;
      float: left;
      text-align: left;
      text-align: center;
      margin-bottom: 10px;
      padding-bottom: 10px;
      border-bottom: 1px solid #dedede;
  }
  .kalendar_sections .right {
      max-width: 100%;
      width: 100%;
      float: left;
  }
  .hero {
      height: 380px;
  }
  .hero .overlay .row .input .input-container {
      width: 100%;
      margin: 5px 0px;
  }
  .booking-box{
    max-width: 90%;
  }
  .layout-content.custom_login_page form,
  .layout-container.custom_reset_password form{
    padding: 0px 10px;
  }
  #user-pass .form-actions, #user-login-form .form-actions {
      margin: 0 auto 20px;
      padding: 0;
  }
  header .main .search .mobile input[type="text"] {
      width: 64.667%;
  }
  #user-pass input[type="submit"]{
    max-width: 270px;
  }
  header .menu ul li a{
    color: #00505f;
  }
  #user-login-form .js-form-item.form-item.js-form-type-checkbox.form-item-persistent-login.js-form-item-persistent-login label{
    margin-left: 26px;
  }
  header .main .links .mobile a {
      display: inline;
      margin-right: 5px;
      float: none;
  }
  header .main .links .mobile {
      right: 0px;
      width: 100%;
      text-align: center;
  }
}
@media only screen and (max-width: 460px) {
  .secondary-nav{
    margin-bottom: 20px;
  }
  header .main .search .mobile{
    width: 280px;
  }
  header .main .links .mobile {
      right: 0px;
      width: 100%;
      max-width: 280px;
      margin: 0 auto;
      text-align: left;
  }
  header .main .links .mobile a:nth-child(1){
    float: left;
    width: 100%;
    text-align: center;
  }
  header .main .links .mobile :nth-child(2){
    float: left;
    margin-left: 0px;
    width: 100%;
    text-align: center;
  }
  #block-hpbackgroundimageforsearch img {
      float: left;
      width: auto;
      height: 100%;
      position: absolute;
  }
}
@media (max-width: 361px) {
  header .main .search input[type="text"]{
    padding: 0px 23px 4px;
  }
  header .main .search input[type="submit"]{
    position: relative;
    top: 0px;
    border:1px solid #00505f;
  }
}
