/*

Theme Name: X &ndash; Child Theme
Theme URI: http://theme.co/x/
Author: Michael Br&uuml;tsch
Author URI: http://www.nailedit.ch/
Description: Make all of your modifications to X in this child theme.
Version: 1.0.0
Template: x

*/

@import url('https://fonts.googleapis.com/css?family=Roboto:900');

/* BASIC THEME "FIXES" */

/* Rahmen für Fokus deaktivieren */
a:focus, select:focus, input[type="file"]:focus, input[type="radio"]:focus, input[type="submit"]:focus, input[type="checkbox"]:focus {
    outline: 0px !important;
}

/* Kommentar "Antworten"-Link Styling Fix */
.comment-reply-link {
    letter-spacing: 0px;
    text-transform: none;
}

/* Seitentitel Letter Spacing */
.h-landmark, .entry-title.h-landmark {
   letter-spacing: 0;
}

/* Erster H2 Titel auf Seite ohne Margin Top */
.entry-content h2:first-child {
	margin-top: 0;
}

body {
	background-color: #4c5057 !important;
}


/* TOP BAR */

.x-topbar {
    min-height: 0px;
	padding-bottom: 0px;
}

/* PAGE HEADER */

/* Page Header Hintergrund */
/*.x-header-landmark {
    background-color: #243952;
	color: #fff;
	text-align: center;
	padding-top: 50px;
	padding-bottom: 50px;
}
/* Page Title Farbe und Grösse */
/*.h-landmark, .entry-title.h-landmark {
    color: #fff;
	font-size: 4em;
	line-height: 1.1;
}
@media screen and (max-width: 767px) {
	.h-landmark, .entry-title.h-landmark {
		font-size: 2.2em;
	}
}

/* Breadcrumbs Farbe */
/*.x-breadcrumbs, .x-breadcrumbs a {
	color: #fff;
}
.x-breadcrumbs a:hover {
	color: #934F13;
}


/* MENU */

/* Fixed Menü transparent */
/*
body.x-navbar-fixed-top-active .x-navbar-wrap {
    background-color: #3b3b3b;
}
.x-navbar-inner.scrolled {
    opacity: 0.5;
}
.x-navbar-inner.scrolled:hover {
    opacity: 1;
}*/

/* Active Menu Element */
.current_page_item > a {
	color: #ff7f00 !important;
}

/* Menü Active Parent Element */
.current-menu-parent > a {
	color: #ff7f00 !important;
}

/* Logo Umbruch auf Smartphone */
@media screen and (max-width: 420px) {
	.x-brand {
		max-width: 180px;
		margin-bottom: 19px;
	}
}

/* Sub Menü Trennlinien DE */
.x-navbar .desktop .sub-menu li#menu-item-252::before {
    background-color: #ff7f00;
}
.desktop .sub-menu li#menu-item-252::before {
    opacity: 0.8;
}
/* Sub Menü Trennlinien EN */
.x-navbar .desktop .sub-menu li#menu-item-338::before {
    background-color: #ff7f00;
}
.desktop .sub-menu li#menu-item-338::before {
    opacity: 0.8;
}

/* Menü mit Background Hover Color --> siehe Translingua */

/* Border Color */
/*.x-navbar .desktop .x-nav > li > a:hover > span, .x-navbar .desktop .x-nav > li.x-active > a > span, .x-navbar .desktop .x-nav > li.current-menu-item > a > span {
    box-shadow: 0 2px 0 0 #BF4D22 !important;
}

/* Sub-Sub-Menü rechts */
/*.site .masthead-inline .x-navbar .sub-menu .sub-menu {
    right: auto;
    left: 100%;
}*/

/* Submenü Active Element */
.x-navbar .desktop .sub-menu li.current_page_item > a {
	color: #ff7f00 !important;
}
.x-navbar .mobile .sub-menu li.current_page_item > a {
	color: #ff7f00 !important;
}

/* Submenü */
/*.x-navbar .x-nav .sub-menu {
    background-color: #181c23 !important;
	font-size: 14px;
}
.x-navbar .desktop .sub-menu li > a {
    color: #fff !important;
}
.x-navbar .desktop .sub-menu li > a:hover {
    color: #86C4DE !important;
}
/* Submenü Mobile Version */
/*.x-navbar .mobile .sub-menu li a {
    color: #fff !important;
}
.x-navbar .mobile .sub-menu li a:hover {
    color: #86C4DE !important;
}


/* SIDEBAR WIDGETS */

/* Neuste Artikel etc. Widgets */
/*.post-stats {
    font-size: 10px !important;
}
.post-date {
    display: block;
    font-size: 10px;
    font-weight: bold;
}


/* BASIC STYLING */

/* Titel & Untertitel Schriftgrössen & Abstände */
h1, .h1 {
    font-size: 3.9em;
}
.h-custom-headline.h3 {
	font-size: 200%;
}
.h-feature-headline.h4 {
	font-size: 1.5em !important;
}
@media screen and (max-width: 767px) {
	h1, .h1 {
		font-size: 2.2em;
	}
	h2, .h2 {
		font-size: 1.8em;
	}
	h3, .h3 {
		font-size: 1.5em;
	}
	h4, .h4 {
		font-size: 1.2em;
	}
	h4.x-feature-box-title {
		font-size: 1.2em;
	}
	.h-feature-headline.h4 {
		font-size: 1.2em !important;
	}
}

.mbm {
    margin-bottom: 0.8em !important;
}
.mtm {
    margin-top: 0.8em !important;
}

.x-recent-posts .h-recent-posts {
    font-size: 1.2em;
}

/* Kompass Bild auf Startseite */
@media screen and (max-width: 767px) {
	.kompass {
		width: 350px;
	}
}

/* Bilder Abstände zum Text */
.alignleft {
    margin: .5em 3em 1.5em 0;
}
.alignright {
    margin: .5em 0 1.5em 3em;
}

/* Aufzählungen Styling */
ul, ol {
    margin-left: 0;
}
ol > li {
	margin-bottom: 10px;
}
.x-text ul {
    list-style: none;
	overflow: hidden;
	padding-left: 1.2em;
}
.x-text ul li::before {
	content: "\2022";
	color: #ff7f00;
	display: inline-block;
	width: 1em;
	margin-left: -1em;
	font-weight: bold;
}
.x-text ol {
	list-style: none;
	overflow: hidden;
	padding-left: 1.5em;
	counter-reset: li;
}
.x-text ol li::before {
	content: counter(li) ".";
	color: #ff7f00;
	display: inline-block;
	width: 1.5em;
	margin-left: -1.5em;
	counter-increment: li;
	font-weight: bold;
}

/* YouTube Video Fix */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    height: auto;
}

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

/* Erster Absatz grösser */
/*.x-text p:first-child {
	font-size: 1.2em;
}*/

/* Image Caption / Bilder Beschriftung */
/*.wp-caption-text, .wp-caption > .wp-caption-text:last-child, .gallery-item > .wp-caption-text, .gallery-item > .wp-caption-text:last-child {
	margin: 20px 0 5px;
	font-size: 14px;
	line-height: 1.4;
	text-transform: none;
}

/* Blog Post Title auf der Blog Übersicht grösser */
/*h2.entry-title {
    font-size: 285.7%;
}
@media screen and (max-width: 767px) {
	h2.entry-title {
		font-size: 1.5em;
	}
}


/* X THEME SHORTCODES STYLING */

/* Flat Button ohne Schatten */
.x-btn, .button, [type="submit"] {
    font-weight: 700;
    text-shadow: none !important;
	text-transform: uppercase;
	border-width: 2px;
	padding-top: 0.813em;
}
.x-btn:hover, .button:hover, [type="submit"]:hover {
    border-width: 2px;
    text-shadow: none !important;
}

/* Light Button für auf dunkelgrauem Hintergrund */
.x-btn.light {
    background-color: #0a2d5f;
	border-color: #fff;
	color: #fff;
}
.x-btn.light:hover {
    background-color: #87ceff;
	border-color: #87ceff;
	color: #fff;
}

/* Textumbruch im Button erlauben */
.gform_button {
	white-space: normal;
}

/* Startseite Titel mit Icon */
.h-feature-headline.h4 {
	font-size: 2em;
	/*font-weight: 900;*/
}
.h-feature-headline span {
    padding-left: 1em;
}
.h-feature-headline span i {
    font-size: 0.45em;
	top: 15px;
}
@media screen and (max-width: 769px) {
	.h-feature-headline span i {
		top: 12px;
	}
}

/* Startseite 2. Button rechts */
@media screen and (min-width: 540px) {
	.my-button-right {
		margin-left: 50px;
	}
}

@media screen and (min-width: 540px) {
	.my-button-left {
		margin-left: 12px;
	}
}


/* Blockquote / Zitat */
blockquote {
    font-family: "Open Sans",sans-serif;
	font-size: 22px;
	color: #87ceff !important;
	background-color: #3b3b3b;
	border: 5px solid #87ceff;
	border-radius: 0.5em;
}
/*.x-blockquote p:last-child, blockquote p:last-child {
    margin-bottom: 0;
}

/* Recent Posts */
/*.x-recent-posts .h-recent-posts, .x-recent-posts .x-recent-posts-date {
    white-space: normal;
}

/* Portfolio Styling */
/* Hintergrundfarbe Image Single */
/*.entry-thumb {
    background-color: #fff !important;
}


/* CUSTOM ELEMENTS/SHORTCODES STYLING */

/* WooThemes Testimonials */
/*.widget_woothemes_testimonials .quote .author {
    font-weight: 700;
	line-height: 1;
}
.widget_woothemes_testimonials .quote .title {
    display: block;
	font-weight: 400;
}
.widget_woothemes_testimonials .quote .author .url {
    font-weight: 400;
}
.widget_woothemes_testimonials .quote a.avatar-link {
    position: relative;
    display: inline-block;
    float: left;
    margin: 0 1.618em 1.618em 0;
}
.widget_woothemes_testimonials .quote a.avatar-link img {
    border-radius: 100em;
}
.widget_woothemes_testimonials .quote blockquote {
	position: relative;
}
.widget_woothemes_testimonials .quote blockquote::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 7px 0 7px;
    border-color: #fff transparent transparent transparent;
    position: absolute;
    top: 100%;
    left: 1em;
    z-index: 10001;
}
.widget_woothemes_testimonials .quote blockquote::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 0 10px;
    border-color: #e6e6e6 transparent transparent transparent;
    position: absolute;
    top: 100%;
    left: .857em;
    z-index: 10000;
}


/* WPML STYLING */

/* Language Switcher im Menü */
.wpml-ls-current-language a {
    color: #87ceff !important;
}
@media screen and (min-width: 980px) {
	li.wpml-ls-menu-item + li.wpml-ls-menu-item:before {
		content: "/"  !important;
	}
	.x-navbar .desktop .x-nav > li::before {
		padding-top: 0px !important;
		color: #fff;
		font-weight: bold;
	}
	.x-navbar-fixed-top-active .masthead-inline .desktop .x-nav > li:last-child > a {
		display: inline-block;
	}
}

/* Border Color WPML im Menü */
.x-navbar .desktop .x-nav > li.wpml-ls-menu-item > a:hover > span {
    box-shadow: 0 2px 0 0 #87ceff !important;
	color: #87ceff !important;
}


/* GRAVITY FORMS STYLING */


/* FOOTER WIDGET BEREICH */

.x-colophon.bottom {
    padding: 8px 0;
}

/* Footer Social Icons & Partner Logos */
.x-colophon .footer-partner a {
    margin: 0 5px;
    width: 40px;
    height: 40px;
    font-size: 30px;
    line-height: 40px;
	background-color: transparent;
}

.x-colophon .footer-partner a.facebook, .x-colophon .footer-partner a.linkedin, .x-colophon .footer-partner a.xing {
    display: inline-block;
}
.x-colophon .footer-partner a:hover.facebook {
    background-color: #3b5998;
	opacity: 1;
}
.x-colophon .footer-partner a:hover.xing {
    background-color: #006567;
	opacity: 1;
}
.x-colophon .footer-partner a:hover.linkedin {
    background-color: #1a81ad;
	opacity: 1;
}

.x-colophon .footer-partner {
	margin-bottom: 20px;
}
.partner-logo {
	height: 40px;
	vertical-align: bottom;
}

/* Footer Impressum/Links */
.x-colophon .footer-impressum {
	
}

/* Social Icons (Header & Footer) */
.x-social-global a {
    background-color: transparent;
}

.x-colophon-content a:hover {
	opacity: .5;
}

/* Footer Widget Bereich Hintergrundfarbe */
/*.x-colophon.top {
    background-color: #243952;
	color: #fff;
}
.x-colophon.top  .h-widget {
	color: #fff;
	text-transform: uppercase;
}
.x-colophon.top  a {
	color: #86C4DE;
}
.x-colophon.top  a:hover {
	color: #6C9EB2;
}*/

/* No Background Color for Post Widget */
.x-colophon .widget ul li {
    background-color: transparent;
}
