/**************************************/
/* Default styles for Tanzpartnersuche extension */
/**************************************/


/* Fonts */
/* Webfont: Bitter-Regular */
@font-face {
    font-family: 'Bitter-Regular';
    src: url('../../Fonts/Bitter-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

/* Webfont: Bitter-Italic */
@font-face {
    font-family: 'Bitter-Italic';
    src: url('../../Fonts/Bitter-Italic.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

/* Webfont: Bitter-Bold */
@font-face {
    font-family: 'Bitter-Bold';
    src: url('../../Fonts/Bitter-Bold.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

/* Webfont: SourceSansPro-Regular */
@font-face {
    font-family: 'SourceSansPro-Regular';
    src: url('../../Fonts/SourceSansPro-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

/* Webfont: SourceSansPro-Light */
@font-face {
    font-family: 'SourceSansPro-Light';
    src: url('../Fonts/SourceSansPro-Light.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility; 	
}

/* Webfont: SourceSansPro-Semibold */
@font-face {
    font-family: 'SourceSansPro-Semibold';
    src: url('../Fonts/SourceSansPro-Semibold.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

/* Webfont: SourceSansPro-Bold */
@font-face {
    font-family: 'SourceSansPro-Bold';
    src: url('../Fonts/SourceSansPro-Bold.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

/* Webfont: Signika-Regular */
@font-face {
    font-family: 'Signika-Regular';
    src: url('../Fonts/Signika-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

/* Detail view */
.profil .row {
  display: flex;
  background: #ffffff;
}

.pborder {
  border: 1px solid #FFC300;
  padding-left: 15px;
  padding-bottom: 12px;
}

/* Fonts and Headlines */
body {
    font-family: 'SourceSansPro-Light' !important;
    color: #000 !important;
    background: #FEFDF4 !important;
    -webkit-font-smoothing: antialiased !important;
    padding: 10px;
    letter-spacing: 0.04em !important;
    font-size: clamp(13px, calc(0.8125rem + (18 - 13) * ((100vw - 300px) / (1600 - 300))), 18px) !important;
    line-height: clamp(20px, calc(1.25rem + (28 - 20) * ((100vw - 300px) / (1600 - 300))), 28px) !important;
}

h1 {
    font-family: "SourceSansPro-SemiBold" !important;
    color: #ffc300 !important;
    font-size: clamp(26px, calc(1.625rem + (36 - 26) * ((100vw - 300px) / (1600 - 300))), 36px);
}

h4 {
  line-height: clamp(18px, calc(1.125rem + (24 - 18) * ((100vw - 300px) / (1600 - 300))), 24px);
  color: #556066;
}

/* Master settings */
.extension_frame {
  margin: auto;
  max-width: 980px;
}

/* Main Menu */
.appmenu {
    display: flex;
    display: -ms-flexbox;
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    justify-content: space-around;
    max-width: 700px;
    margin: 30px auto;
  }

  .tile {
    margin-right: 10px;
    width: 290px;
    height: 290px;
    margin-bottom: 10px;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: 100%;
    text-decoration: none;
    padding: 25px;
    transition: all .2s ease-in;
  }

  .tile-mini {
    margin-right: 10px;
    width: 165px;
    height: 150px;
    margin-bottom: 10px;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: 100%;
    text-decoration: none;
    padding: 25px;
    transition: all .2s ease-in;
  }

  .tile-micro {
    margin-right: 10px;
    width: 115px;
    height: 115px;
    margin-bottom: 10px;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: 100%;
    text-decoration: none;
    padding: 80px 7px 7px 7px;
    transition: all .2s ease-in;
  }

  .tile, .tile-mini, .tile-micro {
    background-color: #F0F0F0;
    color: #000000;
  }

  .yellow {
    background-color: #FFC300;
    color: #FFFFFF;
  }

  .lightred {
    background-color: #f3caca;
    color: #FFFFFF;
  }

  .tile:hover, .tile-mini:hover, .tile-micro:hover {
    background-color: lightgrey;
    color: #313131;
    text-decoration: none;
  }

  .info {
    font-weight: 700;
    margin-bottom: 80px;
  }

  .fittext {
    font-weight: lighter;
  }

  #appmenu h4 {
    font-size: 1.5rem;
  }

  .appmenu-mini {
    display: flex;
    display: -ms-flexbox;
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    justify-content: space-around;
    max-width: 300px;
    margin: 30px auto;
  }

  .spacer10 {
    margin-top: 10px !important;
  }

  .spacer-bottom30 {
    margin-bottom: 30px !important;
  }

  /* Buttons */
  a {
    text-decoration: none;
    color:#313131;
  }

  a:hover {
    text-decoration: none;
    color:#ffc300;
  }

  .appmenu a {
    text-decoration: none;
    color:#313131;
    border-bottom: none;
  }


  .tpsbutton, input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer;
    color: #ffffff;
    background-color: #ffc300;
    border-color: #ffc300;
    padding: 6px 12px;
    border: 1px solid;
    font-size: 1rem;
  }

  .tpsbutton:hover {
    text-decoration: none;
    color: #ffffff;
    background-color: #cc6c00;
    border-color: #a85900;
  }

  .filter {
    background-color: #ffc300;
    padding: 0px 5px;
    margin: 5px 2px;
    border: lightgrey 1px solid;
  }

  .filter:hover {
    text-decoration: underline;
  }

  /* input fields */

  input[type=text], input[type=password], input[type=email], textarea, select {
    border: 0;
    border-bottom: 1px solid #FFC300;
    outline: 0;
    background: #FFEFC6;
    color: #000;
    transition: all .5s cubic-bezier(.4, .25, .8, .3);
    margin-bottom: 20px;
    letter-spacing: 0.04em;
    font-size: clamp(13px,calc(0.8125rem + (18 - 13) * ((100vw - 300px) / (1600 - 300))),18px);
    line-height: clamp(20px,calc(1.25rem + (28 - 20) * ((100vw - 300px) / (1600 - 300))),28px);
    width: 66%;
    height: 28px;
  }

  @media only screen and (max-width: 600px) {
    input[type=text], input[type=password], input[type=email], textarea, select { 
      width: 98%;
    }
  }

  /* größeres Eingabefeld in der Mailbox */
  .mailbox input[type=text], .mailbox input[type=email], .mailbox textarea {
    width: 95%;
  }

  /* readonly input fields */
  .freadonly {
    background: #eeeeee !important;
  }

  textarea {
    height: 250px;
    max-height: 250px;
    max-width: 620px;
  }

  .alignright {
    float: right;
  }

  .validationError {
    background-color: #FFC300;
    padding: 5px 5px 1px 5px;
    margin-bottom: 20px;
  }

  .selreadonly {
    font-family: 'SourceSansPro-Light';
    color: #000000;
    background-color: transparent;
    border-bottom: none;
    margin-bottom: 0px;
    margin-top: -1px;
    appearance: none;
    width: 100%;
  }

  /* Radio buttons for searchform */
  .radio-mini {
    display: flex;
    justify-content: center;
    align-items: center;
 }
  .radio-tile-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
 }
  .radio-tile-group .input-container {
    position: relative;
    height: 7rem;
    width: 7rem;
    margin: 0.5rem;
 }
  .radio-tile-group .input-container .radio-button {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 90%;
    width: 90%;
    margin: 0;
    cursor: pointer;
 }
  .radio-tile-group .input-container .radio-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border: 2px solid #FFC300;
    padding: 2px;
    transition: transform 300ms ease;
 }
  .radio-tile-group .input-container .icon svg {
    fill: #FFC300;
    width: 3rem;
    height: 3rem;
 }
  .radio-tile-group .input-container .radio-tile-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #FFC300;
 }
  .radio-tile-group .input-container .radio-button:checked + .radio-tile {
    background-color: #FFC300;
    border: 2px solid #FFC300;
    color: white;
    transform: scale(1.1, 1.1);
 }
  .radio-tile-group .input-container .radio-button:checked + .radio-tile .icon svg {
    fill: white;
    background-color: #FFC300;
 }
  .radio-tile-group .input-container .radio-button:checked + .radio-tile .radio-tile-label {
    color: white;
    background-color: #FFC300;
 }
  
 .centerbutton {
  display: flex;
  justify-content: center;
 }

/* Checkboxes */
  .checkbox-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
    user-select: none;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #FFC300;
    border: 0;
  }
  .checkbox-group > * {
    margin: 0.5rem 0.5rem;
  }
  .checkbox-input {
    clip: rect(0 0 0 0);
    clip-path: inset(100%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }
  .checkbox-input:checked + .checkbox-tile {
    border-color: #FFC300;
    color: #FFFFFF;
    background-color: #FFC300;
    scale: 1.1;
  }
  .checkbox-input:checked + .checkbox-tile:before {
    transform: scale(1);
    opacity: 1;
    background-color: #FFC300;
    color: #FFFFFF;
    border-color: #FFC300;
  }
  .checkbox-input:checked + .checkbox-tile .checkbox-icon, .checkbox-input:checked + .checkbox-tile .checkbox-label {
    color: #FFFFFF;
  }
  .checkbox-input:focus + .checkbox-tile {
    border-color: #FFC300;
  }
  .checkbox-input:focus + .checkbox-tile:before {
    transform: scale(1);
    opacity: 1;
  }
  .checkbox-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 7rem;
    min-height: 7rem;
    border: 2px solid #FFC300;
    transition: 0.15s ease;
    cursor: pointer;
    position: relative;
  }
  .checkbox-tile:before {
    content: "";
    position: absolute;
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #FFC300;
    background-color: #FFFFFF;
    top: 0.25rem;
    left: 0.25rem;
    opacity: 0;
    transform: scale(0);
    transition: 0.25s ease;
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
  }
  .checkbox-tile:hover {
    border-color: #FFC300;
  }
  .checkbox-tile:hover:before {
    transform: scale(1);
    opacity: 1;
  }

/* Tables */
  #searchlist {
    margin-bottom: 25px;
  }

  #searchresults {
    margin: 0 auto;
    padding: 40px;
  }

  #searchresults .table>:not(caption)>*>* {
    margin: 5px 0 5px 0 !important;
    padding: 0 0 0 0 !important;
    background-color: transparent !important;
  }
  
  .tanzpartnersuche .row {
    display: wrap !important;
    background: #FFFFFF; 
  }

  .tanzpartnersuche .row:nth-of-type(odd) {
    background: #FFEFC6; 
  }

  #searchresults .row:nth-of-type(odd) {
    background: #FFEFC6; 
  }

  .searchresults .row.like-table-row {
    display: table-row;
  }

  .searchresults .row.like-table-row > div {
    display: table-cell;
    vertical-align: middle;
    border: 1px solid #000;
    float:none;
  }

  .header-light {
    font-weight: 900;
    color: #000000;
    background: #FFC300 !important;
    padding: 5px 0 5px 0;
  }

  #searchresults a {
    color: #ff8700 !important;
    text-decoration: none;
  }

  #searchresults a:hover {
    color: #ff8700 !important;
    text-decoration: underline;
  }

  @media screen and (max-width: 600px) {
    .tanzpartnersuche .row {
      padding: 14px 10px 7px;
      display: block !important; 
    }
  }

/*progressbar*/
#progressbar {
  margin: 50px auto;
  text-align: center;
  position: relative;
	overflow: hidden;
	counter-reset: step;
}
#progressbar li {
	list-style-type: none;
	color: #969696;
	text-transform: uppercase;
	font-size: 12px;
	width: 19%;
	float: left;
	position: relative;
}
#progressbar li:before {
	content: counter(step);
	counter-increment: step;
	width: 20px;
	line-height: 20px;
	display: block;
	font-size: 12px;
	color: #000000;
	background: #FFEFC6;
	border-radius: 3px;
	margin: 0 auto 5px auto;
}
/*progressbar connectors*/
#progressbar li:after {
	content: '';
	width: 100%;
	height: 2px;
	background: rgba(51, 51, 51, 0.2);
	position: absolute;
	left: -50%;
	top: 9px;
	z-index: -1; /*put it behind the numbers*/
}
#progressbar li:first-child:after {
	/*connector not needed before the first step*/
	content: none; 
}
/*marking active/completed steps*/
/*The number of the step and the connector before it*/
#progressbar li.active:before,  #progressbar li.active:after {
	background: #FFC300;
	color: #000000;
}

@media screen and (max-width: 600px) {
  #progressbar li {
  width: 27%;
  }
}

/* Detail View of Profile */
.tanzpartnersuche {
  margin-right: 15px;
}

.tanzpartnersuche .tps_entry {
  max-width: 400px;
  border: 1px solid #FFC300;
  margin-bottom: 15px;
}

.tanzpartnersuche .tps_entry > .tps_header {
  max-width: 400px;
  min-height: 100px;
  max-height: 220px;
  color: #FFFFFF;
  position: relative;
  z-index: 1;
}

.tanzpartnersuche .tps_header img {
  max-width: 400px;
}

.tanzpartnersuche .tps_user-profile {
  
  position: relative;
  top: -50px;
  left: 10px;
  z-index: 5;
}

.tanzpartnersuche .tps_user-profile img {
  height: 90px;
  width: 90px;
  border-radius: 50%;
  float: left;
  margin-right: 24px;
  background-color: #FFFFFF;
  z-index: 5;
}

.tanzpartnersuche .tps_user-details {
  float: left;
  margin-top: 10px;
  vertical-align: bottom;
  font-size: 24px;
  color: #FFC300;
  background: rgba(255, 255, 255, 0.9);
  padding-right: 10px;
  padding-left: 10px;
}

.tanzpartnersuche .tps_action {
  padding: 10px;
  float: right;
}

.tanzpartnersuche .tps_profil {
  margin-top: 70px;
  background-color: #fff;
  padding-left: 10px;
  padding-right: 10px;
  position: relative;
  color: #222;
  white-space: pre-line;
}

.tanzpartnersuche .tps_steckbrief {
  background-color: #fff;
  color: #222;
  margin-top: 15px;
}

.tanzpartnersuche .tps_steckbrief .steckbriefPartial {
  width: 50%;
}

.tanzpartnersuche .tps_steckbrief .steckbriefPartial table {
  border-collapse: separate;
  border-spacing: 15px 7px;
  font-size: 14px;
}

.tanzpartnersuche .img-fluid {
    max-width: 100%;
    height: auto;
    padding-top: 20px;
}

/* TYPO3 message styling */
.typo3-messages {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/* hidden flashmessage */
.noflash {
  display: none;
}