/*
Theme Name:         Race am Rhein
Theme URI:          http://www.raceamrhein.de/
Description:        Custom theme based on Sage Starter Theme 8.3.0 by roots.io
Version:            1.0.0
Author:             Superselect
Author URI:         http://www.superselect.de/

License:            MIT License
License URI:        http://opensource.org/licenses/MIT
*/


/* ==========================================================================
Typography
========================================================================== */

@import url("//fonts.googleapis.com/css?family=PT+Sans:700");
@import url("//fonts.googleapis.com/css?family=Raleway:500");


h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5,
.menu-desktop nav,
.submenu-panel li,
.footer-nav li,
label,
.submit,
strong,
.detail-label,
.bold {
	font-family: 'PT Sans', sans-serif;
	font-style:normal;
  	font-weight:normal;
	text-transform: uppercase;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
	margin: 0;
	padding: 0;
}

h1, .h1 {
	font-size:30px;
	margin-bottom:0.8em;
	line-height:1.1;
}

h2, .h2 {
	font-size:25px;
	margin-bottom:0.5em;
	line-height:1.2;
}

h3, .h3,
h4, .h4 {
	font-size:22px;
	line-height:1.2;
}

h5, .h5 {
	font-size:16px;
	line-height:1.2;
	opacity: 0.6;
}



/* ==========================================================================
Colors
========================================================================== */
/* blue */
h1, .h1,
.logo-claim,
.active,
a:focus, a:hover,
.teaser a:hover .title {
	color:#cd1719;
}
.article-separator:before {
	background-color: #64b9e9;
}

/* grey */
body,
.teaser .title,
.submit:hover {
	color: #2a323b;
}
.footer-legal,
.submit,
.icon,
.icon-link:hover .icon.burger,
.tab {
	background-color: #2a323b;
}
.footer {
	background-color:#808080;
}

input:not(.submit):focus,
textarea:focus {
	background-color:#cfdbe5;
}

/* white */
.footer-legal,
.submit {
	color:#ffffff;
}
body,
.submit:hover,
.icon-link:hover .icon,
.icon-link:hover .tab {
	background-color:#ffffff;
}





.teasertxt {
	padding:15px 15px 0px 15px;
}

.teasertxtwide {
	padding:0px 15px;
}

.red-txt-center {
	padding:30px 0px 10px 0px;
	background-color:#cd1719;
	color: #fff;
}
.white-txt-center {
	padding:30px 0px 20px 0px;
	background-color:#fff;
	color: #2a323b;
}
.lightblue-txt {
	background-color:#e7eef4;
}
.darkblue-txt {
	background-color:#5186b1;
	color: #fff;
}
.red-txt {
	background-color:#cd1719;
	color: #fff;
}
.lightgrey-txt {
	background-color:#ccc;
}
.darkgrey-txt {
	background-color:#666;
}
.red-txt-center .title, .red-txt .title, .darkblue-txt .title{
	color: #fff;
}
.white-txt-center .title{
	color: #2a323b;
}
.white-txt-center a, .white-txt-center a:hover{
	text-decoration: underline;
}
.white-txt-center img{
	/*margin: 10px 0px 20px 0px;*/
}

/* ==========================================================================
General
========================================================================== */

body {
	font-family: 'Raleway', sans-serif;  font-size: 17px;
	line-height:1.4;
	min-width: 320px;
	margin:auto;
}

a {
	color:inherit;
  text-decoration: none;
  display:inline-block;
  -webkit-transition: all 150ms ease;
  -moz-transition: all 150ms ease;
  -ms-transition: all 150ms ease;
  -o-transition: all 150ms ease;
  transition: all 150ms ease;
}

a:focus, a:hover {
	text-decoration:none;
	outline:0;
}

button, input, select, textarea {
	font-family: 'Raleway', sans-serif;
}

textarea {
  resize: none;
}

ul, li {
	margin:0;
	padding:0;
}

p {
	margin:0;
}

img {
	max-width:100%;
	height:auto;
}

.text-center {
	text-align:center;
}

.text-center p {
	padding: 0px 10px;
}

.col-center {
	margin:0 auto;
	float:none;
}

.table {
	position:absolute;
	margin:0;
	display:table;
	height:100%;
}

.table-cell {
	display:table-cell;
	vertical-align:middle;
}
.fulltable td {
	border: 1px solid #aaa;
	padding: 3px;
	text-align: left;
}
.hinweistxttxt{
  font-size: 13px;
  line-height: 14px;
  color: #999999;
}

.container-fluid{
        padding-right: 0px;
        padding-left: 0px;
}

.gutter-0.row {
        margin-right: 0px;
        margin-left: 0px;
}
.gutter-0 .col {
        margin-right: 0px;
        margin-left: 0px;
}
.gutter-0 > [class^="col-"], .gutter-0 > [class^=" col-"] {
        padding-right: 0px;
        padding-left: 0px;
}

.buffer-10 {
	height: 10px;
	clear: both;
}
.buffer-20 {
	height: 20px;
	clear: both;
}

.menu-partner ul {
	width:100%;
	text-align: justify;
	overflow:hidden;
	font-size:22px;
}
.menu-partner ul:after {
	content:"";
	padding-left: 100%;
	display: inline-block;
}
.menu-partner li {
	display:inline-block;
	vertical-align: middle;
}



/* ==========================================================================
Header
========================================================================== */

.header {
	padding-top:0px;
	margin-bottom:10px;
	position:relative;
}

.header li,
.footer li {
	list-style:none;
}
.header .top {
	margin-bottom:0px;
}
.logo-image {
	margin: 10px 0px 0px 10px;
	max-width:100px;
}
.logo {
}

.menu-desktop {
	display:none;
}
.menu-desktop ul {
	width:100%;
	text-align: justify;
	height:82px;
	overflow:hidden;
	font-size:22px;
}
.menu-desktop ul:after {
	content:"";
	padding-left: 100%;
	display: inline-block;
}
.menu-desktop li {
	display:inline-block;
	line-height:82px;
	vertical-align: top;
}
.submenu {
	position:absolute;
	left:0;
	right:0;
	top:100%;
	height:0;
	z-index:1;
	color:#ffffff;
	line-height:2;
	font-size: 25px;
	margin-top: 10px;
	overflow:hidden;
}
.submenu.open {
	height:auto;
}
.submenu.open .submenu-panel {
	-webkit-transform: translateY(0%);
	-moz-transform: translateY(0%);
	-ms-transform: translateY(0%);
	-0-transform: translateY(0%);
	transform: translateY(0%);
}
.submenu-panel {
	background-color:#2a323b;
	padding:10px 20px;
	position:relative;
	-webkit-transform: translateY(-100%);
	-moz-transform: translateY(-100%);
	-ms-transform: translateY(-100%);
	-0-transform: translateY(-100%);
	transform: translateY(-100%);
	-webkit-transition: all 250ms cubic-bezier(0,0,0.58,1);
  -moz-transition: all 250ms cubic-bezier(0,0,0.58,1);
  -ms-transition: all 250ms cubic-bezier(0,0,0.58,1);
  -o-transition: all 250ms cubic-bezier(0,0,0.58,1);
  transition: all 250ms cubic-bezier(0,0,0.58,1);
}
.submenu-margin {
	margin:15px 0;
}
.btn-close {
	background-image:url(/cms/wp-content/themes/sage-master/images/icon-close.png);
	background-repeat:no-repeat;
	background-size:100% auto;
}
.submenu .close {
	position:absolute;
	top:15px;
	right:15px;
	width:20px;
	height:20px;
	opacity: 1;
	z-index: 1;
}

.submenu li li a{
	margin-left: 10px;
	font-size:18px;
}



/* ==========================================================================
Main
========================================================================== */
main {
	position:relative;
	padding-bottom:20px;
}

article,
.article-header-img,
.detail,
.listing {
	margin-bottom:0px;
}

article p {
	margin-bottom:1.5em;
}

.article-separator {
	margin-bottom:30px;
}

.article-separator:before {
	content:"";
	height: 1px;
	margin:0 auto;
	display:block;
}

.article-text {
	position:relative;
}
.article-images {
	display:none;
}

.article-images figure {
	margin-bottom:0px;
}




/* ==========================================================================
Teaser
========================================================================== */
.teaser a{
	display:block;
}

.teaser p a{
	display:inline;
}

.teaser .title {
	-webkit-transition: all 150ms ease;
	-moz-transition: all 150ms ease;
	-ms-transition: all 150ms ease;
	-o-transition: all 150ms ease;
	transition: all 150ms ease;
}

.teaser .title,
.teaser p {
	margin-bottom:10px;
}
.teasertxtwide p {
	margin-bottom:20px;
}

.teaser .down {
	margin-bottom:1em;
}

.teaser:last-child .down {
	margin-bottom:0;
}

.teaser .h2.title{
	opacity: 0.4;
}

.teaser p a.bttn-main, .teaser p a.bttn-download, .teaser p a.bttn-nxt{
	display:block;
}


.screen-reader-text{
	visibility: hidden;
	height: 0;
}

/* ==========================================================================
Buttons
========================================================================== */

a.bttn-main {
	font-family: 'PT Sans', sans-serif;
	font-style:normal;
  	font-weight:normal;
  	font-size: 20px;
	text-transform: uppercase;
	line-height: 36px;
	color: #fff;
	text-decoration: none;
	width: 282px;
	height: 36px;
	display: block;
	padding: 2px 20px 0px 0px;
	margin: 20px auto;
	background: url(/cms/wp-content/themes/sage-master/images/bttn_200.png) left top no-repeat;
	transition: color 0s;
}

a.bttn-main:hover {
	color: #fff;
	background: url(/cms/wp-content/themes/sage-master/images/bttn_200.png) left bottom no-repeat;
	text-decoration: none;
}

a.bttn-download {
	font-family: 'PT Sans', sans-serif;
	font-style:normal;
  	font-weight:normal;
  	font-size: 15px;
	text-transform: uppercase;
	line-height: 36px;
	color: #2a323b;
	text-decoration: none;
	width: 282px;
	height: 36px;
	display: block;
	padding: 2px 20px 0px 0px;
	margin: 20px auto;
	background: url(/cms/wp-content/themes/sage-master/images/bttn_300_m.png) left top no-repeat;
	transition: color 0s;
}

a.bttn-download:hover {
	color: #2a323b;
	background: url(/cms/wp-content/themes/sage-master/images/bttn_300_m.png) left bottom no-repeat;
	text-decoration: none;
}

a.bttn-prvnxt-prv, a.bttn-prvnxt-nxt {
	font-family: 'PT Sans', sans-serif;
	font-style:normal;
  	font-weight:normal;
 	font-size: 20px;
	text-transform: uppercase;
	line-height: 36px;
	color: #2a323b;
	text-decoration: none;
	width: 280px;
	height: 36px;
	display: block;
	padding: 2px 20px 0px 0px;
	margin: 10px auto;
	background: url(/cms/wp-content/themes/sage-master/images/bttn_prvnxt_prv.png) left top no-repeat;
	transition: color 0s;
}
a.bttn-prvnxt-prv {
	padding: 2px 0px 0px 0px;
	width: 280px;
	float: left;
	margin-left: 30px;
}

a.bttn-prvnxt-nxt {
	background: url(/cms/wp-content/themes/sage-master/images/bttn_prvnxt_nxt.png) left top no-repeat;
	float: right;
	margin-right: 30px;
}

a.bttn-prvnxt-prv:hover {
	color: #2a323b;
	background: url(/cms/wp-content/themes/sage-master/images/bttn_prvnxt_prv.png) left bottom no-repeat;
	text-decoration: none;
}

a.bttn-prvnxt-nxt:hover {
	color: #2a323b;
	background: url(/cms/wp-content/themes/sage-master/images/bttn_prvnxt_nxt.png) left bottom no-repeat;
	text-decoration: none;
}


a.bttn-nxt {
	font-family: 'PT Sans', sans-serif;
	font-style:normal;
  	font-weight:normal;
  	font-size: 20px;
	text-transform: uppercase;
	line-height: 36px;
	color: #fff;
	text-decoration: none;
	width: 154px;
	height: 36px;
	display: block;
	padding: 2px 0px 0px 28px;
	transition: color 0s;
	margin: 20px 0px 20px 0px;
}

a.bttn-nxt.blue {
	background: url(/cms/wp-content/themes/sage-master/images/bttn_blue_100.png) left top no-repeat;
	color: #2a323b;
}
a.bttn-nxt.blue:hover {
	background: url(/cms/wp-content/themes/sage-master/images/bttn_blue_100.png) left bottom no-repeat;
	color: #2a323b;
	text-decoration: none;
}

a.bttn-nxt.white {
	background: url(/cms/wp-content/themes/sage-master/images/bttn_white_100.png) left top no-repeat;
}
a.bttn-nxt.white:hover {
	background: url(/cms/wp-content/themes/sage-master/images/bttn_white_100.png) left bottom no-repeat;
}



/* ==========================================================================
Icons + Buttons
========================================================================== */
.icon, .tab {
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 100% auto;
	vertical-align: top;
  display: inline-block;
  border-radius:4px;
  -webkit-transition: background-color 250ms ease;
  -moz-transition: background-color 250ms ease;
  -ms-transition: background-color 250ms ease;
  -o-transition: background-color 250ms ease;
  transition: background-color 250ms ease;
}
.icon-link {
	cursor:pointer;
}
.icon-link:hover .icon,
.icon-link:hover .tab,
.to-list-overview .icon-link:hover {
	-webkit-box-shadow: inset 0px 0px 8px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: inset 0px 0px 8px 0px rgba(0,0,0,0.3);
	box-shadow: inset 0px 0px 8px 0px rgba(0,0,0,0.3);
}
.tab,
.to-list-overview .icon-link {
	border-radius:4px 4px 0 0 !important;
}
.logo-nav {
	width:65px;
	height:82px;
	background-image:url(/cms/wp-content/themes/sage-master/images/logo_nav.jpg);
	background-size: 100% auto;
}

.burger {
	width:33px;
	height:33px;
	background-image:url(http://www.alltours-raceamrhein.de/cms/wp-content/themes/sage-master/images/logo_footer.png);
	background-color:transparent;
}
.icon-link:hover .burger {
	background-image:url(/cms/wp-content/themes/sage-master/images/icon-burger-mobile.png);
}

.burger-mobile {
	width:39px;
	height:39px;
	background-image:url(/cms/wp-content/themes/sage-master/images/icon-burger-mobile.png);
}
.icon-link:hover .burger-mobile {
	background-image:url(/cms/wp-content/themes/sage-master/images/icon-burger.png);
}
.icon-burger-mobile { margin-top:20px; }

.down,
.up,
.right,
.left {
	width:26px;
	height:26px;
}
.totop,
.teaser .down {
	width:43px;
	height:43px;
}
.tab.up {
	width:100px;
	height:30px;
	background-size:contain;
}
.down,
.up,
.right,
.left,
.totop {
	border-radius:50%;
}
.down {
	background-image:url(/cms/wp-content/themes/sage-master/images/icon-down.png);
}
.icon-link:hover .down {
	background-image:url(/cms/wp-content/themes/sage-master/images/icon-down-hover.png);
}
.up,
.totop {
	background-image:url(/cms/wp-content/themes/sage-master/images/icon-up.png);
}
.icon-link:hover .up,
.icon-link:hover .totop {
	background-image:url(/cms/wp-content/themes/sage-master/images/icon-up-hover.png);
}
.right {
	right:0;
	background-image:url(/cms/wp-content/themes/sage-master/images/icon-right.png);
}
.icon-link:hover .right {
	background-image:url(/cms/wp-content/themes/sage-master/images/icon-right-hover.png);
}
.left {
	left:0;
	background-image:url(/cms/wp-content/themes/sage-master/images/icon-left.png);
}
.icon-link:hover .left {
	background-image:url(/cms/wp-content/themes/sage-master/images/icon-left-hover.png);
}
.to-top {
	width:100%;
	text-align:left;
	position: -webkit-sticky;
	position: sticky;
	bottom: 30px;
	border-radius: 100%;
  visibility:hidden;
  opacity:0;
  -webkit-transition: all 150ms ease;
  -moz-transition: all 150ms ease;
  -ms-transition: all 150ms ease;
  -o-transition: all 150ms ease;
  transition: all 150ms ease;
}
.to-top.sticky {
	position:fixed;
	bottom:30px;
}
.to-top a {
	position:absolute;
	top:-43px;
	right:15px;
}
.totop-active {
	visibility:visible;
	opacity:1;
}
.totop-bottom-end {
	position:absolute !important;
}




/* ==========================================================================
Footer
========================================================================== */
.footer {
	font-size:20px;
	padding-bottom:30px;
}
.footer-nav,
.footer-legal {
}
.footer-nav {
	line-height:1.9;
	padding:15px 0;
}
.footer-legal {
	line-height:38px;
}
.legal-right {
	text-align:right;
}
.link-impressum {
	margin-left:15px;
}
.footer, .footer a {
	color:#fff;
}
.footer li a{
		opacity: 0.4;
}
.footer li a:hover {
		opacity: 1;
}
.footer .teaser img{
		opacity: 0.8;
}
.footer li.fbbox{
	text-transform: none;
	font-size:16px;
}
.footer li li a{
		margin-left: 10px;
	font-size:18px;
}



/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.header { padding-top:10px; }
	.footer-nav,
	.article-images { display:block; }
	.icon-burger-mobile { margin-top:20px; }
	.logo {}
	.logo-image { max-width:300px; }
	.teaser .down { width:33px; height:33px; }
	.teaser:nth-child(3) .down { margin-bottom:0; }
	.submenu-margin { margin:0; }
	.article-separator { padding:0 30px; }
	.article-separator:before { width:80%; }
	#allgemein .item-name, #allgemein .detail-content { padding-left:15px; }
	.text-center p { padding: 0px 40px;}
	a.bttn-download {
		font-size: 20px;
		text-transform: uppercase;
		line-height: 36px;
		width: 380px;
		height: 36px;
		padding: 2px 20px 0px 0px;
		margin: 20px auto;
		background: url(/cms/wp-content/themes/sage-master/images/bttn_300.png) left top no-repeat;
	}

	a.bttn-download:hover {
		background: url(/cms/wp-content/themes/sage-master/images/bttn_300.png) left bottom no-repeat;
	}
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
	.menu-desktop { display:block; }
	.logo { display:none; }
	.logo-image { display:none; }
	.icon-burger-mobile { display:none; }
	.teaser .down { width:26px; height:26px; }
	.link-impressum { text-align:left; }
	.footer .social { display:none; }
	.teaser .down { margin-bottom:0; }
	.article-separator:before { width:50%; }
	.swiper-control { display:block; }
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1280px) {
	.teasertxtwide {padding:0px 15%;}
}

@media all and (max-width: 767px) and (orientation: landscape) {
	.header { padding-top:10px; }
	.header .top, .logo-image { margin-bottom:0; }
	.submenu { margin-top:10px; }
	.teaser, .listing-col { width:50%; float:left; }
}
@media all and (max-width: 767px) and (orientation: portrait) {
}