/**
Theme Name: flink think Theme
Author: flink think GmbH
Author URI: https://www.flinkthink.ch/
Description: Schlichtes und modernes Theme der Web Agentur flink think GmbH aus Pratteln, Basel-Landschaft, Schweiz
Theme URI: https://www.flinkthink.ch/
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flink-think-theme
Template: astra
*/

a:focus,
.uabb-faq-question-label:focus,
.uabb-faq-question-label:active,
.uabb-faq-questions-button:focus,
.uabb-faq-questions-button:active,
.uabb-faq-icon-wrap:focus,
.uabb-faq-icon-wrap:active {
    outline: none;
}

body {
  border: 10px solid #1d2278;
  overflow-x: unset;
}

/* Header */
/*
.site-branding {
  padding: 0px 30px 30px;
  margin-bottom: -200px;
  margin-top: -80px;
  background-color: #fff;
}
*/
.astra-logo-svg:not(.sticky-custom-logo .astra-logo-svg, .transparent-custom-logo .astra-logo-svg, .advanced-header-logo .astra-logo-svg) {
  height: auto;
}

.main-header-bar {
  padding-top: 30px;
  background-color: transparent;
}
/* Content */
.fl-module-content a {
  position: relative;
  z-index: 1;
  transition: all 0.4s;
}
.fl-module-content a:not(.uabb-infobox-module-link)::after {
  content: '';
  position: absolute;
  bottom: -0.2rem;
  left: 0.1rem;
  right: 0rem;
  height: 0.75rem;
  
  z-index: -1;
  background-image: url('https://www.braem-ag.ch/wp-content/uploads/2021/12/underline.svg');
  background-repeat: no-repeat;
  
  background-size: cover;
}

.whitehighlight .fl-module-content a:not(.uabb-infobox-module-link)::after {
  background-image: url('https://www.braem-ag.ch/wp-content/uploads/2022/01/underline-white.svg');
}

.fl-module-content a:hover:after {
  opacity: 0.3;
}


/* Formulare */

input[type="text"]:focus {
	box-shadow: none !important;
}
form p {
	text-transform: none !important;
}
select {
	padding: .2rem !important;
}
textarea {
	box-shadow: none !important;
}
/* Material Button CSS */

@keyframes ripple {
  0% {
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0);
  }
  50% {
    box-shadow: 0px 0px 0px 15px rgba(0, 0, 0, 0.1);
  }
  100% {
    box-shadow: 0px 0px 0px 15px rgba(0, 0, 0, 0);
  }
}

.frm_radio {
    margin-left: -15px !important;
    margin-bottom: 15px !important;
}

.frm_radio label {
    display: inline-block;
    height: 25px;
    position: relative;
    padding: 0px 15px;
    margin-bottom: 0;
    cursor: pointer;
    vertical-align: bottom;
}

.frm_radio input[type=radio] {
    position: absolute !important;
    margin-left: -9999px;
    visibility: hidden;
}

.frm_radio input[type=radio] + span {
    display: inline-block;
    position: relative;
    cursor: pointer;
    outline: none;
    user-select: none;
}

.frm_radio input[type=radio] + span {
    width: 25px;
    height: 25px;
    vertical-align: middle;
}

.frm_radio input[type=radio] + span:before,
.frm_radio input[type=radio] + span:after {
    position: absolute;
    content: '';
    border-radius: 50%;
    transition: all .3s ease;
    transition-property: transform, border-color;
}

.frm_radio input[type=radio]:checked + span:before {
    border-color: #467AA0;
    animation: ripple 0.2s linear forwards;
}

.frm_radio input[type=radio] + span:before {
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 0, 0, 0.54);
}

.frm_radio input[type=radio] + span:after {
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  transform: scale(0);
  background: #467AA0;
}

.frm_radio input[type=radio]:checked + span:after {
    transform: scale(0.8);
    -webkit-transform: scale(0.8);
}

/* Animate in Fields */

.form-field, .frm_submit {
	-webkit-animation: slide-in-bottom 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: slide-in-bottom 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}


/* Flat Style Button */

.frm_checkbox {
    margin-left: 0px;
    margin-bottom: 15px !important;
}

.frm_checkbox label {
    height: 25px;
    position: relative;
    padding: 0 0 0 35px !important;
    text-indent: 10px !important;
    margin-bottom: 0;
    cursor: pointer;
    vertical-align: bottom;
}

.frm_checkbox input[type=checkbox] {
    position: absolute !important;
    margin-left: -9999px;
    visibility: hidden;
}

/* Hide the browser's default checkbox */
.frm_checkbox label input[type=checkbox]{
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.frm_checkbox span{
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}

/* On mouse-over, add a grey background color */
.frm_checkbox label:hover input[type=checkbox] ~ span{
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.frm_checkbox label input[type=checkbox]:checked ~ span{
  background-color: #467AA0;
}

/* Create the checkmark/indicator (hidden when not checked) */
.frm_checkbox span:after{
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.frm_checkbox label input[type=checkbox]:checked ~ span:after{
  display: block;
}

/* Style the checkmark/indicator */
.frm_checkbox label span:after{
  left: 10px;
  top: 7px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}


/* Hover Boxen - Post Grid */
.produkte .uabb-blog-post-inner-wrap, .shortlinks .uabb-infobox{
  transition: all 0.4s;
}
.produkte .uabb-blog-post-inner-wrap:hover, .produkte .uabb-blog-post-inner-wrap:hover, .shortlinks .uabb-infobox:hover {
  border-radius: 0;
  box-shadow: none;
  -webkit-transform: none;
  -moz-transform: none;
  transform: none;
}
.produkte .uabb-blog-post-inner-wrap:hover, .shortlinks .uabb-infobox:hover {
  box-shadow: 0 15px 30px 0 rgba(0,0,0,0.10);
  -webkit-transform: translateY(-5px);
  -moz-transform: translateY(-5px);
  transform: translateY(-5px);
}


/* Trennen erlauben */
.trennen p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  -webkit-hyphenate-limit-chars: auto 3;
  -webkit-hyphenate-limit-lines: 4;
  -ms-hyphens: auto;
  -ms-hyphenate-limit-chars: auto 3;
  -ms-hyphenate-limit-lines: 4;
}

.mobile-logo {
  margin: 10px auto 30px;
}

@media only screen and (max-width : 576px) {
  h1.uabb-infobox-title {
    font-size: 20px !important;
  }
  h2.uabb-infobox-title {
    font-size: 18px !important;
  }  
  h3.uabb-infobox-title {
    font-size: 16px !important;
  }  
  h5.uabb-infobox-title-prefix {
    font-size: 13px !important;
  }    
  
  .pre-footer .fl-node-content .uabb-new-ib {
    height: 160px;
  }
}

body.ast-padded-layout::before {
  padding-top: 0px;
}
body.ast-padded-layout::after {
  padding-bottom: 0px;
}