/* 
Theme Name: Galileum Solingen
Theme URI: https://c-g-w.net/
Description: Hello Elementor Child 
Author: CGW GmbH
Author URI: https://c-g-w.net/
Template: hello-elementor
Version: 1.0.1
Text Domain: galileum-solingen
*/

/*
    Add your custom styles here
*/

/* Allgemein
------------------------------------------------------- */

a, a:hover {
	color:#F07D00;
}

h2, h3, h4, h5, h6 {
	color:#0069B4;
}

dd, dl, dt, li, ol, ul {
	padding-left:30px; /*padding fix für Elementor mit Rahmenpadding*/
	line-height:150%;
}

h2, h3 {
	line-height: 40px;
}


/* Fixes für WP Standards im Classic Editor */
/*--------------------------------------------------------------*/
.gallery {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  /*margin-bottom: calc(1.5 * 1rem);*/
	/*border:1px solid #0069B4;*/
}

.gallery-item {
  display: inline-block;
  /*margin-right: 16px;*/
  /*margin-bottom: 15px !important;*/
  text-align: center;
  vertical-align: top;
  width: 100%;
}

.gallery-item img {
	width:100% !important;
}

.gallery-columns-2 .gallery-item {
  max-width: calc(100% / 2);
}

.gallery-columns-2 .gallery-item:nth-of-type(2n+2) {
  margin-right: 0;
}

.gallery-columns-3 .gallery-item {
  max-width: calc(100% / 3);
}

.gallery-columns-3 .gallery-item:nth-of-type(3n+3) {
  margin-right: 0;
}

.gallery-columns-4 .gallery-item {
  max-width: calc(100% / 4);
}

.gallery-columns-4 .gallery-item:nth-of-type(4n+4) {
  margin-right: 0;
}

.gallery-columns-5 .gallery-item {
  max-width: calc(100% / 5);
}

.gallery-columns-5 .gallery-item:nth-of-type(5n+5) {
  margin-right: 0;
}

.gallery-columns-6 .gallery-item {
  max-width: calc(100% / 6);
}

.gallery-columns-6 .gallery-item:nth-of-type(6n+6) {
  margin-right: 0;
}

.gallery-columns-7 .gallery-item {
  max-width: calc(100% / 7);
}

.gallery-columns-7 .gallery-item:nth-of-type(7n+7) {
  margin-right: 0;
}

.gallery-columns-8 .gallery-item {
  max-width: calc((100% - 16px * 7) / 8);
}

.gallery-columns-8 .gallery-item:nth-of-type(8n+8) {
  margin-right: 0;
}

.gallery-columns-9 .gallery-item {
  max-width: calc(100% / 9);
}

.gallery-columns-9 .gallery-item:nth-of-type(9n+9) {
  margin-right: 0;
}

.gallery-item:last-of-type {
  padding-right: 0;
}

@media only screen and ( max-width: 860px ) {
      .gallery-item {float:left;width:50% !important; max-width: 100% !important;}
 }

@media only screen and ( max-width: 420px ) {
      .gallery-item {float:left;width:100% !important; max-width: 100% !important;}
 }

p img.alignleft, figure.wp-caption.alignleft {
    float: left;
	margin-left:0rem;
    margin-right: 1rem !important;
}

p img.alignright, .wp-caption.alignright {
    float: right;
	margin-right:0rem;
    margin-left: 1rem !important;
}

/* Responsive Youtube Embed
------------------------------------------------------- */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0px; height: 0; overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* CP Paypal und PDF Urkunde
------------------------------------------------------- */
.pdflinkbutton {
	background-color:#0069B4 !important;
	border: 1px solid #0069B4 !important;
}

.pdflinkbutton:hover {
	background-color:#F07D00 !important;
	border: 1px solid #F07D00 !important;
}

/* CF7 Styles
------------------------------------------------------- */
[type=button], [type=submit], button {
	color:#fff;
	background-color:#F07D00;
	border: 1px solid #F07D00;
}

[type=button]:hover, [type=submit]:hover, button:hover {
	color:#fff;
	background-color:#F07D00;
	border: 1px solid #F07D00;
}

/* Contact Form 7 */

.wps-form {
    width: 100%;
    margin: 0 auto;
}
.wps-form .wps-form-row {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.wps-form .wps-form-row .wpcf7-form-control {
    width: 100%;
}
.wps-form .wps-form-column {
    flex: 1;
    width: 100%;
    padding: .5rem 0;
}
/* Notebook / Desktop */
@media only screen and (min-width: 48em) { 
    .wps-form .wps-form-row {
        flex-direction: row;
    }
    .wps-form .wps-form-column {
        padding: .5rem 1rem;
    }
}

/* Senden-Button CF7 */
input[type="submit"] {
	width: 200px !important;
	background-color: #0069b4;
	font-size: 15px;
	font-weight: 500;
	border: none;
}

input[type="submit"]:hover {
	border: none;
}

input[type="text"],input[type="email"],input[type="tel"] {
	border-radius: 0px;
}

textarea {
	border-radius: 0px;
}

span.wpcf7-list-item {
	margin:0 0 0 0;
}

#gdp2020-form .wps-form-row {
	margin-bottom: 30px;
    /*padding: 15px;
    border-bottom: 1px solid #0069B4;*/
}
#gdp2020-form span.wpcf7-list-item { display: block; }

/* Webcam Fix
------------------------------------------------------- */
.aligncenter {
	text-align:center;
}