/*
Theme Name:   Square Child
Description:  Child Theme für Square
Author:       d-ignition
Template:     square
Version:      1.0.0
Text Domain:  square-child
*/
/* own */
/* Navigation */
#sq-site-branding, #sq-site-branding img {
	max-height: 126px; 
	height:	126px;
	padding: 0px;
}
#sq-masthead.sq-black {
    background: #558ed5; /* blue */
}
#sq-masthead.sq-black.sq-scrolled {
    background: rgba(255, 255, 255, 0.9); /* white */
}
#sq-masthead.sq-black.sq-scrolled .sq-main-navigation a {
	color: black;
}
#sq-masthead.sq-black.sq-scrolled .sq-main-navigation a:before {
	background: black;
}
.sq-main-navigation a {
    text-transform: none;
    font-size: 26px;
    font-weight: normal;
}
.sq-main-navigation ul ul li:hover > a {
    background: #558ed5;
    color: #FFF;
}
#sq-masthead.sq-black.sq-scrolled .sf-arrows .sf-with-ul:after {
    border-top-color: black;
}


/* Slider */
.sq-slide-caption {
	border-left: 3px solid #558ed5;
	border-right: 3px solid #558ed5;
    background: rgba(0,0,0,0.6);
}
.sq-slide-cap-title {
	font-size: 36px;
}
.sq-slide-cap-desc {
	font-size: 24px;
	line-height: 1.2;
}
#sq-home-slider-section .bx-wrapper .bx-controls-direction a {
	background:	#558ed5;
}
#sq-home-slider-section .bx-wrapper .bx-controls-direction a:hover {
	background:	#f0f0f0;
}
/* Title Image on single page */
.page-id-94 .sq-main-header { /* Portfolio */
    background-image: url(/wp-content/uploads/2017/08/title_94-1.jpg) !important;
    background-position: 50% 25%;
}
.page-id-89 .sq-main-header { /* Referenzen */
    background-image: url(/wp-content/uploads/2017/08/title_89-1.jpg) !important;
    background-position: 50% 25%;
}
.page-id-92 .sq-main-header { /* Presse */
    background-image: url(/wp-content/uploads/2017/08/title_92-1.jpg) !important;
    background-position: 50% 25%;
}
.page-id-11 .sq-main-header { /* Kontakt */
    background-image: url(/wp-content/uploads/2017/08/title_11-1.jpg) !important;
    background-position: 50% 25%;
}
.page-id-50 .sq-main-header { /* Impressum */
    background-image: url(/wp-content/uploads/2017/08/title_11-1.jpg) !important;
    background-position: 50% 25%;
}

/* Teaser */
.sq-featured-post h4:after {
	background:	#558ed5;
	height:	5px;
}
.sq-featured-icon img {
    max-width: 140px;
}
.sq-featured-post .sq-featured-readmore:hover {
    color: #558ed5;
}
.sq-featured-post1 a { /* INOWIS nicht als Link */
	/* display: none; */
}

/* About us bzw. content*/
.sq-section-title {
	display: none;
}
.sq-section-title:after {
	background: #558ed5;
}
.sq-content a, .content-area a {
	color: black;
	font-weight: bold;
}
.sq-content a:hover, .content-area a:hover {
	color: #558ed5;
	font-weight: bold;
}
.entry-content li {
    margin-left: 30px;
}
ul {
    list-style-type: disc;
}
ul ul {
    list-style-type: circle;
}
ul ul ul {
    list-style-type: square;
}

/* Footer */
#sq-logo-section {
	display: none;
}
#sq-colophon {
	background-color: #f0f0f0;
}
.sq-footer1 {
	display: flex;
    justify-content: space-between;
	width: 100%;
}
.sq-footer1 .widget {
    margin-left: 20px;
	margin-right: 20px;
	min-width: 25%;
}
#sq-colophon .widget:first-child {
	margin: 0px;
}
#sq-colophon .sq-footer.sq-footer1 .widget:nth-child(2) {
	max-width: 100% !important;
	min-width: 40% !important;
}
#sq-colophon h5.widget-title {
	color: black;
}
#sq-colophon h5.widget-title:after {
	display: none;
}
.footer_imgtext {
	color: black;
}
/* Footer Kontaktformular */
.textwidget p {
    margin: 0px;
}

.textwidget .wpcf7-submit {
	width: 100%;
	background: #558ed5;
}

#sq-middle-footer .sq-container, #sq-top-footer .sq-container {
	border-bottom: none;
}
#sq-middle-footer {
	text-align: right;
}
sq-bottom-footer {
	display: none;
}

/* Start: Footer-Version ohne Industrie 4_0 */
/*
#custom_html-3 {
	display: none;
}
#sq-colophon .sq-footer.sq-footer1 .widget:nth-child(2) {
    max-width: 100% !important;
    min-width: 70% !important;
}
.page-id-94 #custom_html-3 {
	display: block;
}
.page-id-94 #sq-colophon .sq-footer.sq-footer1 .widget:nth-child(2) {
    max-width: 100% !important;
    min-width: 40% !important;
}
*/
/* End: Footer-Version ohne Geschaeftsfuehrer */
@media screen and (max-width: 900px) {
	.sq-slide-cap-title {	
		font-size: 32px;
	}
	.sq-slide-cap-desc {
		font-size: 18px;
	}
	#sq-site-navigation {
    	border-top: 2px solid #558ed5;
    	border-bottom: 1px solid #558ed5;
	}
}

@media screen and (max-width: 768px){
	.sq-slide-cap-title {
		font-size: 26px;
	}
	.sq-featured-post {
    	border-bottom: 2px solid #558ed5;
	}
	.sq-footer1 {
		display: block;
	}
	.sq-footer1 .widget {
    	margin-left: 0px;
		margin-right: 0px;
	}
	#sq-colophon aside {
		max-width: 100% !important;
		min-width: inherit;
	}
	.page-id-94 #custom_html-3 { /* Portfolio */
		display: none;
	}
}
@media screen and (max-width: 580px) {
	.sq-slide-cap-title {	
		font-size: 26px;
	}
	.sq-slide-cap-desc {
    	font-size: 14px;
	}
}
@media screen and (max-width: 480px){
	.sq-slide-cap-title {
    	font-size: 20px;
	}
	.sq-slide-cap-desc {
		font-size: 14px;
	}
	.sq-footer1 {
		display: block;
	}

}