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

/* 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);
}

/* Global */
a:active, a:focus, .uabb-adv-accordion-button-label:focus, .uabb-adv-accordion-button-label:active, .uabb-adv-accordion-button:focus, .uabb-adv-accordion-button:active, .uabb-adv-accordion-icon-wrap:focus, .uabb-adv-accordion-icon-wrap:active, .uabb-adv-accordion-button-label:focus, .uabb-adv-accordion-button-label:active, .uabb-adv-accordion-button:focus, .uabb-adv-accordion-button:active, .uabb-adv-accordion-icon-wrap:focus, .uabb-adv-accordion-icon-wrap:active {
  outline: none !important;
}
b, strong {
  font-family: AvantGardeGothicITC Bold,Helvetica,Arial,sans-serif !important;
}

/* Menu */
.inhalt a, .preFooter a, .pp-filter-active {
  border-bottom: 1px solid #000 !important;
}

.menu-item .menu-text {
  display: inline-block;
  color: #000;
  text-decoration: none;
  line-height: 30px !important
}

.menu-item .menu-text::after{
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #000;
  transition: width .3s;
}

.menu-item .menu-text:hover::after, .current-menu-item .menu-text::after {
  width: 100%;
}

/*
.page-id-79 .menu-item-77.menu-item .menu-text::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: #000;
  transition: width .3s;
}
*/

/* Projekte */
@media only screen and (min-width : 860px) {
  img.mfp-img {
    padding: 150px !important;
  }
}



.mfp-close, div.mfp-wrap.mfp-605a5f122cc85 .mfp-close, div.mfp-wrap.mfp-605a5f122cc85 .mfp-close, .mfp-iframe-holder .mfp-close, .mfp-image-holder .mfp-close, div.mfp-wrap.mfp-605a5f122cc85 .mfp-close,.mfp-close, .mfp-iframe-holder .mfp-close, .mfp-image-holder .mfp-close, div.mfp-wrap.mfp-605a5f122cc85 .mfp-close {
  background: #fff !important;
  background-color: #fff !important;
  color: #000 !important;
}
.mfp-figure::after {
  box-shadow: none !important;
  background-color: #fff !important;
}
.mfp-bg {
  background-color: #fff !important;
  opacity: 1 !important;
}
.mfp-arrow-right {
  right: 30px;
}
.mfp-arrow-left {
  left: 30px;
}

@media only screen and (max-width : 576px) {
  .mfp-arrow {
    opacity: .4 !important;
  }
  .mfp-arrow-right {
    right: 20px;
  }
  .mfp-arrow-left {
    left: 20px;
  }
}

.single .post-navigation {
  border-top: 0px !important;
}

/* Gallery */
.pp-gallery-item {
  padding-right: 0px !important;
}

/* Geschichte */
div#n2-ss-3 .nextend-bar-horizontal {
  background-color: #fff;

}
/*
.n2-font-4c3d79702fb71d59c6b50e8a6b5a47fe-simple {
  font-size: 80% !important;
}
*/
div#n2-ss-3 .nextend-bar-horizontal div {
  width: 95% !important;
  text-align: left !important;
}

/* Gallery */
.gallery:after {content:"";display:table;clear:both;}


img.aligncenter, div.aligncenter, figure.aligncenter, img.wp-post-image {display:block; margin:1em auto;}
img.alignright, div.alignright, figure.alignright {float:right; margin:1em 0 1em 2em;}
img.alignleft, div.alignleft, figure.alignleft, img.wp-post-image.attachment-thumb {float:left; margin:1em 1em 2em 0;}
figure {max-width: 100%; height: auto; margin:1em 0;}
p img.alignright, p img.alignleft {margin-top:0;}

.gallery figure img {max-width:100%; height:auto; margin:0 auto; display:block;}

.gallery figure {float:left; margin:0 2% 1em 0;}

.gallery.gallery-columns-1 figure {width:100%; margin:0 0 1em 0; float:none;}

.gallery.gallery-columns-3 figure {width:32%;}
.gallery.gallery-columns-3 figure:nth-of-type(3n+3) {margin-right:0;}
.gallery.gallery-columns-3 figure:nth-of-type(3n+4) {clear:left;}

.gallery.gallery-columns-2 figure {width:49%;}
.gallery.gallery-columns-2 figure:nth-of-type(even) {margin-right:0;}
.gallery.gallery-columns-2 figure:nth-of-type(odd) {clear:left;}

.gallery.gallery-columns-4 figure {width:23.25%;}
.gallery.gallery-columns-4 figure:nth-of-type(4n+4) {margin-right:0;}
.gallery.gallery-columns-4 figure:nth-of-type(4n+5) {clear:left;}

.gallery.gallery-columns-5 figure {width:18%;}
.gallery.gallery-columns-5 figure:nth-of-type(5n+5) {margin-right:0;}
.gallery.gallery-columns-5 figure:nth-of-type(5n+6) {clear:left;}

.gallery.gallery-columns-6 figure {width:14.2%;}
.gallery.gallery-columns-6 figure:nth-of-type(6n+6) {margin-right:0;}
.gallery.gallery-columns-6 figure:nth-of-type(6n+7) {clear:left;}

.gallery.gallery-columns-7 figure {width:12%;}
.gallery.gallery-columns-7 figure:nth-of-type(7n+7) {margin-right:0;}
.gallery.gallery-columns-7 figure:nth-of-type(7n+8) {clear:left;}

.gallery.gallery-columns-8 figure {width:10.2%;}
.gallery.gallery-columns-8 figure:nth-of-type(8n+8) {margin-right:0;}
.gallery.gallery-columns-8 figure:nth-of-type(8n+9) {clear:left;}

.gallery.gallery-columns-9 figure {width:8.85%;}
.gallery.gallery-columns-9 figure:nth-of-type(9n+9) {margin-right:0;}
.gallery.gallery-columns-9 figure:nth-of-type(9n+10) {clear:left;}

@media (max-width:767px) {
  img.alignright, div.alignright, figure.alignright, img.alignleft, div.alignleft, figure.alignleft, img.wp-post-image.attachment-thumb {display:block; margin:1em auto; float:none;}
  .gallery.gallery-columns-4 figure, .gallery.gallery-columns-5 figure, .gallery.gallery-columns-6 figure, .gallery.gallery-columns-7 figure, .gallery.gallery-columns-8 figure, .gallery.gallery-columns-9 figure {width:100%; margin:0 0 1em 0; float:none;}
}