/* 
Theme Name: WS Child
Theme URI: 
Description: 
Author: 
Author URI: ps-media.ch
Template: ws
Version: 1.0.1
Text Domain: ws-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Theme ps-media */
/*
    Add your custom styles here 1
*/



*{
-webkit-font-smoothing: antialiased!important;
-moz-osx-font-smoothing: grayscale!important;
font-family: "Open Sans", sans-serif;}

*:focus {
    outline: none;
    
}

:root {
  scroll-behavior: smooth;
}


/* Global Einstellungen*/
.ps-text p {max-width:1500px;font-family: "Open Sans", sans-serif!important;}
.elementor-button-icon
{font-size:11px!important;line-height:20px!important;}

/* Header */
.ps-header .elementor-container, .ps-footer .elementor-container {max-width: 100% !important;
  width: 100%;
}

/* List elemntor Text */

.elementor-widget-text-editor ul {
  margin-left:21px!important;
  padding-left: 0px !important;
  margin-bottom: 10px!important;
}

/* post */


.elementor-post__text a.elementor-post__read-more:hover {text-decoration:underline!important;}
.elementor-post__text a.elementor-post__read-more {text-transform: uppercase!important; font-weight: 600!important; color: #00a3e2
!important;}

.elementor-post__excerpt p:after {content: '...';}

 .elementor-post__thumbnail
 {float:left;}

.elementor-post__thumbnail.elementor-fit-height {
  width: 100%!important;
  max-width: 640px!important;
  aspect-ratio: 4 / 3!important;
  overflow: hidden!important;
}
.elementor-post__thumbnail.elementor-fit-height  img {
  width: 100%!important;
  height: 100%!important;
  object-fit: cover!important;
  display: block!important;
}

 .ps-post-grid .elementor-post__thumbnail {
  height: 225px!important;
    width: 400px!important;
  overflow: hidden!important;
}

.ps-post-grid .elementor-post__thumbnail img {
  height: 100%!important;
  width: 100%!important;
  object-fit: cover!important;
  display: block!important;
}



/* Badge für category-events-en */


.ps-post-grid  .category-events-en .elementor-post__thumbnail::before {
  content: "Event"; /* Badge-Text */
  position: absolute;
  top: 15px;
  left: 15px;
  background: #00A3E2; /* Badge-Farbe */
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 0px;
  text-transform: uppercase;
}

/* Datum bei category-events-en ausblenden */
.ps-post-grid  .category-events-en .elementor-post-date {
  display: none !important;
}



/* fix elementor Post text mobile */
.elementor-posts--thumbnail-left .elementor-post__thumbnail__link {
    
    float: none;
    margin:0 0 10px 0!important;
    display:block!important;

}

.elementor-posts--skin-classic .elementor-post {
    overflow: hidden!important;
    display: block!important;
   }
   
strong,b,
   .elementor-element.elementor-widget.elementor-widget-text-editor .elementor-widget-container
   strong a {
     font-weight: 700 !important;font-family: "Open Sans", sans-serif!important;}
   


.elementor-heading-title span,
.elementor-icon-box-title span span{color: #00A3E2 !important;}

.elementor-icon-box-title {margin-top: -10px !important;}

/*elementor Grid */
.e-grid .elementor-widget-text-editor a {font-size: 16px!important;}


#cn-notice-text.cn-text-container {font-size: 15px !important; text-align: left;}
#cn-notice-text.cn-text-container a {color: #fff; text-decoration: underline;}

.gform_confirmation_wrapper .gform_confirmation_message {color:#00b166!important; font-weight: bold!important;}

.gform_body  label, .gfield_label {margin:0px !important;  font-size: 18px!important; color: #484848
!important;}

.gform_body .gform_fields
 {row-gap: 15px!important;}

.gform_body  input ,.gform_body select{
 margin: 0px!important; height:50px!important; border:1px solid #ddd!important; background-color: #F3F4F5 !important;font-size: 18px!important;}
 .gform_body textarea{
 margin: 0px;  border:1px solid #ddd!important; background-color: #F3F4F5 !important;-webkit-border-radius: 0px!important;
-moz-border-radius: 0px!important;
border-radius: 0px!important;font-size: 18px!important;}
 
.gform_required_legend , .gfield_label_before_complex{display: none !important;}
.gform_body .gfield_label {margin: 0px!important;}
.gform_body  .gfield_consent_label, .gform_body  .gfield_consent_label a  {font-size: 16px!important; font-weight: 400!important; line-height:20px!important;}
.gform_body  .gfield_consent_label
{margin-left:15px!important; display: inline-block!important;}

/* Radio & Checkbox */

.gform_body  .gravity_radio_label {margin-top: 0px !important; padding: 0 !important; margin-bottom: 0px !important; display: inline-block!important;}
.gform_body  .gchoice .gform-field-label {margin-top:0px!important; margin-left:15px!important; }

.gform_body.gfield_radio .gform-field-label,
.gform_body .gfield_checkbox .gform-field-label { font-weight: 400 !important; font-size: 16px!important; line-height:20px!important;}
.gform_body  .gfield_radio input {margin-top: 0px !important;}
.gform_body   input.gfield-choice-input {  height: 22px!important;  width: 22px!important;}
.gform_body  input[type=radio],.gform_body  input[type=checkbox]
{ height: 22px!important; width: 22px!important;
}
.gform_button {
    border-radius: 0 0 8px 0!important;
text-align: center!important;
text-decoration: none!important;
transition: all 400ms!important;
transition-behavior: normal!important;
background-color: #00A3E2!important;
box-shadow: none!important;
color: #FFFFFF!important;
display: inline-block!important;
font-family: "Open Sans", sans-serif!important;
font-size: 22px!important;
font-style: normal!important;
font-weight: 400!important;
line-height: 22px!important;
padding: 12px 30px!important;
text-transform: uppercase!important;}


/*Admin Leiste */
#wp-toolbar a.ab-item.elementor-site-settings {display:none!important;}
#wp-toolbar a.ab-item.elementor-app-link {display:none!important;}
 

 a[href^="tel"] {
   color: inherit; /* Inherit text color of parent element. */
   text-decoration: none; /* Remove underline. */
   /* Additional css `propery: value;` pairs here */
 }
 
 
 /* Top 1024 */
 /* Search */
 .jet-search__field, .jet-search__popup-close {position:absolute;}
 .jet-search__field {left:0px;top:-4px;}
 
  .jet-search__popup-close {display: none!important;}
 .jet-search__popup-trigger:focus{    outline: none!important;}
      .ps-top-1024 {position:relative!important;}
 
 

 /*menu */
 .ps-header .sub-arrow {color:#3F4444;}
 
 .ps-header li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-has-children .elementor-nav-menu--dropdown {padding:0px!important; padding-bottom:3px!important;}
 .ps-header .sub-menu.elementor-nav-menu--dropdown { padding-bottom:0px!important;}
 
 /* Sprachumschalter */
.elementor-nav-menu .sub-arrow {color: #00A3E2 !important; margin-top: -15px!important;}
.wpml-ls ul li a {font-size: 16px!important; line-height:16px;}
a.wpml-ls-link {padding:0px!important; padding-left:8px!important;}
ul li a span.wpml-ls-native { display: block;}
.wpml-ls-current-language a {color: #00A3E2 !important; }
  
ul li a span.wpml-ls-native:lang(de) {
border-right: 1px solid #484848;
padding-right: 8px;
  }
 

 /* footer */
.ps-footer a:hover {text-decoration: underline !important;}
.ps-footer a.elementor-button:hover {text-decoration: none !important;}
.ps-footer  a.elementor-icon{font-size:25px!important;}
.ps-footer  a.elementor-icon:hover{font-size:25px!important;}

 @media only screen and (max-width: 767px) {
.ps-post-grid .elementor-post__thumbnail img {
   height: auto!important;
   width: 93%!important;
   display: block!important;
 }


 
 .ps-post-grid .elementor-post__thumbnail {
   height: auto!important;
   width: 100%!important;
   min-width: 100%!important;
 }
 /* fix elementor Post text mobile */
 .elementor-post__thumbnail {
    
     float: none;
     margin:0 0 10px 0!important;
     display:block!important;
 
 }
 
 }   
