/* ==========================================================================
	3. TYPOGRAPHY
========================================================================== */
  
body{
	font-family: 'Roboto Condensed', sans-serif;
	color: #666;
	font-size: 16px;
	line-height: 1.8;
	font-weight: 300;
}

/* Überschriften */

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 1.4;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1 { font-size: 35px; line-height: 1.2;  letter-spacing: 0;}
h2 { font-size: 25px; line-height: 1.25; letter-spacing: 0; }
h3 { font-size: 3.0rem; line-height: 1.3;  letter-spacing: -.1rem; }
h4 { font-size: 2.4rem; line-height: 1.35; letter-spacing: -.08rem; }
h5 { font-size: 1.8rem; line-height: 1.5;  letter-spacing: -.05rem; }
h6 { font-size: 1.5rem; line-height: 1.6;  letter-spacing: 0; }

/* Larger than phablet 
@media (min-width: 550px) {
  h1 { font-size: 5.0rem; }
  h2 { font-size: 4.2rem; }
  h3 { font-size: 3.6rem; }
  h4 { font-size: 3.0rem; }
  h5 { font-size: 2.4rem; }
  h6 { font-size: 1.5rem; }
}*/


/* Links */

a {
	color: #ec008c;
}

.btn a:hover,
a:hover, a:focus {
	color: #000;
	text-decoration: none;
	outline: 0;
}

.bg-dark a {
	color: #CDCDCD;
}

.bg-dark a:hover, .bg-dark a:focus {
	color: #000;
}

p, ol, ul, blockquote {
	margin: 0 0 20px;
}

blockquote {
	border: 0;
	font-style: italic;
	padding: 0;
}

.font-serif {
	font-family: Georgia, sans-serif;
}

.font-uppercase {
	text-transform: uppercase;
	font-style: normal;
}

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

.rotate {
	text-shadow: none !important;
}

/* Custom */

.page-title {
	position: relative;
	margin: 0 0 70px;
	letter-spacing: 0.15em;
	font-size: 40px;
	color: #fff;
	text-align: center;
}

.section-title {
	position: relative;
    margin-bottom: 30px;
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.5em;
    line-height: 1.4;
}

.lead {
	font-size: 20px;
	letter-spacing: 0;
	text-transform: none;
	letter-spacing: 0;
	text-align: center;
	margin-bottom: 50px;
}

.section-title + .lead {
	margin-top: -35px;
}

.section-subtitle {
	position: relative;
	margin: 0 0 50px;
	letter-spacing: 0.0625em;
	color: #000;
}

/* Schriftarten */

h1,
h2,
h3,
h4,
h5,
h6,
.page-title,
.section-title,
.section-subtitle,
.footer-title,
.news-title,
.work-title {
	font-family: 'Roboto Condensed', sans-serif;
	letter-spacing: 0.1em;
	font-weight: 300;
	color: #111;
}

.btn,
.form-control,
.navbar-custom,
.nav-tabs,
.minimal-tabs,
.panel-title,
.team-descr,
.team-detail-title,
.news-date,
.news-more,
.filter,
.work-descr {
	font-family: 'Roboto', sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: normal;
}

/* Schriftgrössen */

.hs-title-size-3,
.page-title {
	font-size: 40px;
	text-transform: uppercase;
}

.section-title,
.news-detail .news-title {
    font-size: 35px;
}

.content-box-title,
.news-title,
.section-subtitle {
	font-size: 25px;
	text-transform: none;
}

.lead,
.testimonial,
blockquote,
.hs-title-size-1,
.footer-title {
	font-size: 20px;
}

.navbar-custom,
.footer #copyright p,
.news-date,
.news-more,
.nav-tabs,
.minimal-tabs,
.panel-title,
.team-role,
.progress-bar span,
.btn,
.navbar-custom .nav li > a,
.navbar-custom .dropdown-menu > li > a,
.form-control,
.testimonial-author,
.news-prev-date,
.form-tip {
	font-size: 12px;
}

.navbar-custom .dropdown-menu > li > a {
	font-size: 11px;
}

.hs-title-size-3,
.navbar-custom,
.btn {
	font-weight: 700;
}

.navbar-container {
	padding-left: 15px;
	padding-right: 15px;
}
.navbar-custom .nav-logo-wrap {
	margin-right: 5px;
}

/* ==========================================================================
	NAV & HEADER
========================================================================== */

.logo-start {
    width: 117px;
    height: 246px;
    margin-top: -10px;
    position: absolute;
    z-index: 9000;
    box-shadow: 5px 5px 10px hsla(0,0%,20%,0.5);
    
    margin-left: 50px;
}

.navbar-brand {
  margin-left: 35px;
}

/* Logo Animation */

.navbar-custom .nav-logo-wrap{
    opacity:0;
}

.navbar-custom .nav-logo-wrap .logo {
	max-width: 130px;
    height: 40px;
}

.hasScrolled {
    opacity:1;
}

/* Nav Stles */

.navbar-custom .nav li > a {
	color: #666;
}

.navbar-brand {
  padding: 14px 15px;
}


/* Button «Angebot Basel» */

li.rex-article-123 a { 
	background-color: #aaa !important; 
	color:#FFF !important; 
	padding-top: 5px; 
	padding-bottom: 5px; 
	margin: 10px 30px 10px 20px; 
}

li.rex-article-123 a:hover { 
	background-color: #b6b6b6 !important; 
	color:#FFF !important; 
}

@media all and (max-width:768px) {
	li.rex-article-123 a { 
		padding-top: 15px;
		padding-bottom: 15px;
		margin-top: 0;
		margin-bottom: 0;
	}
}

/* ==========================================================================
	Sonstiges
========================================================================== */

.divider {
	border-top: 1px solid #999;
}

.module {
	padding: 100px 0;
}

.news-date {
	color: #999;
}

.btn-header {
	padding: 5px 10px;
}
.btn.btn-border-dark:hover,
.btn.btn-dark:hover,
.btn.btn-dark:focus {
	background: #ec008c;
	border: 1px solid #ec008c;
	color: #fff;
	opacity: 1;
}

.content-box-icon {
	font-size: 30px;
}

.work-item {
	float: none;
	padding-bottom: 20px;
}


/* ==========================================================================
	FOOTER
========================================================================== */

.footer {
	background: #32498c;
	color: #fff;
	font-size: 14px;
}

.footer-logo {
	margin: 17px 0 20px;
}

.footer-title {
	margin-bottom: 20px;
	color: #fff;
	text-transform: none;
}

.footer a {
	color: #fff;
}

.footer a:hover, 
.footer a:focus {
	color: #fff;
	opacity: 0.6;
}

.footer ul.social-list > li {
	font-size: 20px;
	margin-left: 10px;
}

.footer .divider {
	border-top-color: #5b6da3;
}

.footer #copyright p {
	color: #fff;
}

.footer ul.social-list {
	text-align: right;
}

.footer .icon-fixed-width-lg {
	width: 20px;
}

.social-links li {
	display:inline-block;
	margin:0 3px;
	box-shadow:none;
	-webkit-transition:all .3s ease-out;
	transition:all .3s ease-out
}

.social-links li a {
	background:0 0;
	display:block;
	color:#282825;
	font-size:16px;
	width:40px;
	height:40px;
	line-height:40px;
	text-align:center;
	border-radius:50%;
	-webkit-transition:all .3s ease-out;
	transition:all .3s ease-out;
	
	
	background:#dadada;
	text-decoration:none;
	border-color:#dadada;
}

.social-links li a:hover {
	color:#282825;
	background:#fff;
	text-decoration:none;
	border-color:#fff;
}

/* ==========================================================================
	FORMULARE
========================================================================== */

.form-group input.formtext,
.form-group textarea.formtextfield {
	height: 40px;
	max-width:100%;
	min-width:100%;
	padding-left: 10px;
	border: 1px solid #b2b2b2;
	border-radius: 2px;
	-webkit-border-radius: 2px;
	   -moz-border-radius: 2px;
	        border-radius: 2px;
}

.form-group textarea.formtextfield {
    height:auto;
    height: 100%;
	padding-top:6px;
}

.form-group input:focus,
.form-group textarea:focus {
	border-color: #CACACA;
}

.formradio {
	margin: 0;
	padding: 0;
}

.formhinweis {
	margin-bottom: 20px;
}

legend {
  padding-top: 40px;
}

/* Table */

.wysiwyg .table > thead > tr > th {
  background-color: #e1e8ef !important;
}

.wysiwyg .table td,
.wysiwyg .table th {
  background-color: #f3f6f9 !important;
}

.wysiwyg .table-bordered th,
.wysiwyg .table-bordered td {
  border: 1px solid #8d8b8c !important;
}
 
.wysiwyg td:nth-child(1) {
  font-weight: 700;
}

/* Sonstiges */
.wysiwyg h2 {
	text-transform: none;
}

.form-group .formerror input {
	border-color: #a94442;
	background-color: yellow;
}

.formerror {
	color: #a94442;
}

/* ==========================================================================
	MEDIA QUERIES
========================================================================== */

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px){

	.navbar-brand {
	  margin-left: 0px;
	}
	
	.logo-start {
	    margin-left: 15px;
	}
	
	.navbar-custom li a {
		padding-left: 6px;
		padding-right: 6px;
	}

}
		
@media (max-width: 1060px) {
	.navbar-custom {
		letter-spacing: 0;
	}
	
	.navbar-custom .navbar-nav > .dropdown > .dropdown-toggle {
		padding-right: 15px;
	}
	.navbar-custom .navbar-nav > .dropdown > .dropdown-toggle:after {
		right: 5px;
	}
	
	li.rex-article-123 a { 
		margin-right: 20px; 
	}
}

/* Medium Devices, Desktops */	
@media only screen and (max-width : 992px){
	.navbar-custom navbar-collapse li a {
		padding-left: 2px;
		padding-right: 2px;
	}
	
	.navbar-custom,
	.navbar-custom .nav li > a,
	.navbar-custom .dropdown-menu > li > a {
		font-size: 11px;
	}
	
	li.rex-article-123 a { 
		margin-right: 10px; 
		margin-left: 5px;
		padding-top: 5px;
		padding-bottom: 5px;
	}
	
}

@media (max-width: 767px) {
	
	/* Logo Start ausblenden */
	.logo-start{
		display: none !important;	
	}
	
	.navbar-custom navbar-collapse li a {
		padding-left: 15px;
		padding-right: 15px;
	}

	/* Schriftgrössen */
	
	.navbar-custom,
	.navbar-custom .nav li > a,
	.navbar-custom .dropdown-menu > li > a {
		font-size: 12px;
	}
	
	.navbar-custom .nav li > a {
		padding-left: 15px;
	}
	
	.hs-title-size-3,
	.page-title {
		font-size: 22px;
		line-height: 1.4;
	}
	
	.hs-title-size-1 {
		font-size: 16px;
		line-height: 1.4;
	}
	
	h2,
	.section-title,
	.news-detail .news-title {
	    font-size: 22px;
	}
	
	.content-box-title,
	.news-title,
	.section-subtitle {
		font-size: 20px;
		text-transform: none;
	}
	
	.lead,
	.testimonial,
	blockquote,
	.hs-title-size-1,
	.footer-title {
		font-size: 16px;
	}
	
	.module {
		padding: 50px 0;
	}
	
	h1, h2, h3, h4, h5, h6 {
	  margin-bottom: 1;
	}
	
	.section-title {
	    margin-bottom: 10px;
	}
	
	.module-hero.fixed-height {
		height: 300px;
	}
	
}

@media (max-width: 480px) {
	.navbar-custom,
	.navbar-custom .nav li > a,
	.navbar-custom .dropdown-menu > li > a {
		font-size: 16px;
	}
}