/**
 * This file should get overwritten if Method 1 is used. If Method 2 is chosen,
 * remove this comment and start adding your styles to this file.
 */

body.admin-menu {
    padding-top: 50px;
}

#block-system-main {
}
img {
  max-width: 100%;
  height: auto;
}

.col-md-8.clearfix {
  clear: both;
  margin-right: 33.33%;
}

#navbar .navbar-header {
  position: absolute;
  bottom: 0;
  width: 410px;
}
#navbar .navbar-header img {
  width: 100%;
  height: auto;
}
.header-row {
  height: auto;
  overflow: hidden;
  margin-bottom: 5px;
}
.header-row.second {
  overflow: visible;
}

.region-language {
  float: right;
}
.region-language .block {
  float: left;
}
.region-language h2 {
  display: none;
}
#block-cprdip-simple-user {
  background-color: #cccccc;
}
#block-cprdip-simple-user a {
  background-color: #ebeaea;
  text-align: center;
  display: block;
  padding: 9px 20px;
  /*margin: 0 15px;*/
}

#menu-primary li a {
  background-color: #cccccc;
}
#menu-primary li.first a {
  background-color: #bf2026;
}

#language-switcher, #language-switcher:focus {
  border: 0;
  height: 40px;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 1em;
  line-height: 1.5em;
  background: url(../images/select-arr.png) no-repeat right center #666666;
}

#menu-secondary .menu {
  background-color: #cccccc;
  position: relative;
  margin-bottom: 21px;
}
#menu-secondary li a {
  margin-right: 10px;
  background-color: #7e7e7e;
  text-align: center;
  width: 175px;
}
#menu-secondary li:first-child a {
  margin-left: 10px;
}
#menu-secondary li:last-child a {
  margin-right: 0;
}

#menu-secondary .below-menu {
  position: absolute;
  left: 0;
  width: 705px;
  background-color: #bf2026;
  padding: 0;
  text-align: left;
  padding-right: 1em;
}

#menu-secondary .below-menu li {
  display: inline-block;
}

#menu-secondary .below-menu li a {
  background: none;
  /*padding: 0.5em 1em;*/ /*Switch to this maybe someday when they change structure */
  padding: 0.5em 0em;
}

#navbar .region-search {
  width: 150px;
  float: right;
}
#navbar .region-search .input-group {
  border: 3px solid #ccc;
}
#navbar .region-search .btn {
  padding: 6px 12px;
}
#navbar .region-search .btn:focus {
  outline: none;
}
#navbar .region-search .form-control {
  height: 34px;
  color: #262626;
}
#navbar .region-search .btn, #navbar .region-search .form-control {
  border: 0;
  border-radius: 0;
  background: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}
#navbar .region-search .form-text {
  background: #fff;
}
#navbar .region-search form {
  background-color: #fff;
}

#navbar .region-search form div .input-group {
    height: 40px;
}

.glyphicon-search:before {
  color: #ccc;
}
button:hover .glyphicon-search:before {
  color: #000;
}

#navbar .navbar-mobile {
  display: none;
}

#featured-content .column-wrapper .col-sm-6 {
  padding: 0;
}
#featured-content .column-wrapper .row {
  margin-left: -7.5px;
  margin-right: -7.5px;
}
#featured-content .column-wrapper img {
  width: 100%;
  height: auto;
}
#featured-content .col-xs-6 {
  padding-right: 7.5px;
  padding-left: 7.5px;
}
#featured-content .teaser-wrapper.col-xs-6 {
  overflow: hidden;
}
#featured-content .column-wrapper .node-title h3 {
  margin: 0px 0px 5px 0px;
}
#featured-content .single-column .teaser-wrapper {
  margin-top: 1em;
}

.jssor-caption {
  position: absolute;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.6);
  width: 100%;
  padding: 0.5em;
  text-align: center;
}

.taxonomy-review.items-3 .term.col, .taxonomy-review .title-wrapper.col {
  padding: 0;
}
.taxonomy-review .term {
  height: auto;
  overflow: hidden;
  margin-bottom: 2em;
}
.taxonomy-review .title-wrapper {
  clear: both;
}
.taxonomy-review .node {
  position: relative;
  padding-left: 15px;
  padding-right: 15px;
}
.taxonomy-review .node img {
  width: 100%;
  height: auto;
}
.taxonomy-review .title-wrapper a {
  display: block;
  background-color: #666666;
  margin: 0 0 0 15px;
  padding: 1em;
}
.taxonomy-review .title-wrapper h2 {
  text-align: center;
  background-color: #bf2026;
  margin-bottom: 15px;
  margin-top: 0;
  font-size: 1em;
}

.taxonomy-review .node .created {
  position: absolute;
  top: 0;
  left: 15px;
  background-color: #4D4D4D;
  padding: 0.25em;
}
.taxonomy-review .node .created span {
  vertical-align: middle;
}
.taxonomy-review .node .title-wrapper {
  position: absolute;
  bottom: 0;
  left: 15px;
  right: 15px;
}

.taxonomy-review .node .title-wrapper a {
  margin: 0;
  padding: 0.5em 1em;
  background-color: transparent;
}
.taxonomy-review .node .title-wrapper h3 {
  background-color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.region-sidebar-second .block {
  padding-bottom: 1em;
  margin-bottom: 2em;
  border-bottom: 1px solid #bababa;
}
.region-sidebar-second .block:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.region-sidebar-second .block .title-wrapper, #main-content  .block > .title-wrapper {
  background-color: #bf2026;
  margin-bottom: 1em;
  color: #333333;
}
.region-sidebar-second .block .title-wrapper h2, #main-content .block > .title-wrapper h2 {
  background-color: #fff;
  margin: 0 0 0 15px;
  padding: 0.4em 1em 0.4em 15px;
  color: #333333;
}
/* Exceptions */
#main-content #block-views-author-articles-block > .title-wrapper {
  background-color: transparent;
}
#block-views-related-block .view {
  margin-left: 32px;
}

.more-link {
  float: none;
  display: block;
  margin-left: auto;
  text-align: right;
}
.search-result .more-link {
  float: none;
  display: block;
  margin-left: auto;
  text-align: right;
}

.search-result h3.title {
  font-size: 1em;
}

/* Block views */
.view-popular .views-row h3 {
  display: inline;
}
.view-popular .item-list {
  margin-left: 0.5em;
}

.view-popular .more-link a {
  margin-right: -7.5px;
}

.view-authors .views-row {
  margin-top: 1em;
}
.view-authors .views-row h3 {
  margin: 0;
  font-size: 1em;
}
.view-authors .views-row img {
  width: 100%;
  height: auto;
}
.view-authors .row {
  margin-left: -7.5px;
  margin-right: -7.5px;
}
.view-authors .col-s-4, .view-authors .col-s-8 {
  padding-left: 7.5px;
  padding-right: 7.5px;
}

#page-carousel {
  border-bottom: 1px solid #bababa;
}

#social-links {
  float: right;
}
#social-links ul {
  list-style: none;
  padding: 0;
}
#social-links li {
  display: inline-block;
  vertical-align: top;
}
#social-links li a {
  display: block;
  width: 67px;
  height: 67px;
  color: transparent;
  font-size: 0;
  background-repeat: no-repeat;
  background-size: cover;
}

#social-links li.facebook a {
    background-image: url("../images/social/fb.png");
}
#social-links li.twitter a {
    background-image: url("../images/social/tw.png");
}
#social-links li.vkontakte a {
    background-image: url("../images/social/vk.png");
}
#social-links li.youtube a {
    background-image: url("../images/social/yb.png");
}


/* Pages */
.main-title {
  background: #bf2026;
}

.review-teaser .author-name a {
    color: #bf2026 !important;
}

#featured-content .author-name a {
    color: #bf2026 !important;
    margin-top: 5px;
    display: block;
    padding: 0;
    background-color: transparent;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.1;
}

.main-title h1 {
  background: #fff;
  margin: 0 0 15px 15px;
  padding: 0.4em 1em 0.4em 0.5em;
  border-bottom: none;
}

/* twitter */

.twitter-timeline  {
  width: 100% !important;
}

/* Authors */

/* Contact */
#google-map-wrapper {
  height: 32vw;
  max-width: none;
}

/* taxonomy & similiar views */
.node-teaser.row {
  margin-left: -7.5px;
  margin-right: -7.5px;
}
.node-teaser .col-s-4, .node-teaser .col-s-8 {
  padding-left: 7.5px;
  padding-right: 7.5px;
}
.node-teaser .image img {
  width: 100%;
  height: auto;
}
.node-teaser h2 {
  margin: 0.2em 0;
}

.view-taxonomy-term .views-row {
  margin-bottom: 7.5px;
}

/* Elements */
.breadcrumb {
  padding: 0 15px 8px 0;
  margin-bottom: 5px;
  display: inline-block;
}

.text-resize-wrapper {
  float: right;
}
.save-as-pdf , .print-link {
  float: right;
  margin: 2px;
  background: url(../images/pdf-icon.png) no-repeat center center transparent;
  height: 20px;
  display: inline-block;
  font-size: 0;
  width: 25px;
  color: transparent;
}
.save-as-pdf {
  background: url(../images/pdf-icon.png) no-repeat center center transparent;
}
.print-link {
  background: url(../images/print-icon.png) no-repeat center center transparent;
}
a#text_resize_reset, a#text_resize_decrease, a#text_resize_increase {
  background: url(../images/text-resize.png) no-repeat left bottom transparent;
  padding: 0;
  margin: 0 2px;
  width: 8px;
  height: 18px;
}
a#text_resize_decrease {
}
a#text_resize_reset {
  background-position: -10px bottom;
  width: 10px;
}
a#text_resize_increase {
  background-position: -22px bottom;
  width: 13px;
}
#text_resize_clear {
  clear: none;
}

#block-subscriptions-subscribe form {
  margin-top: 1em;
}

#main-content {
  padding-bottom: 1em;
  border-bottom: 1px solid #bababa;
}

/* Mobile navbar */
#navbar .navbar-mobile {
  overflow: visible;
  float: right;
  position: relative;
  margin-top: 20px;
}
.navbar-mobile .form-search, .navbar-mobile .menu-container {
  display: none;
}
#navbar .navbar-mobile .search-trigger .glyphicon-search {
  font-size: 20px;
  padding: 11px;
  width: 43px;
  color: #fff;
  background-color: #666666;
}
#navbar .navbar-mobile .menu-trigger {
  font-size: 0;
  color: transparent;
  height: 43px;
  width: 43px;
  display: inline-block;
  vertical-align: top;
  background: url(../images/mob-menu.png) no-repeat center center;
}
.navbar-mobile .form-search, .navbar-mobile .menu-container, .navbar-mobile .m-language-switcher {
  position: absolute;
  top: 50px;
  right: 0;
  width: 250px;
  z-index: 100;
}
.navbar-mobile .user-info-wrapper {
  margin-bottom: 5px;
}
.navbar-mobile .user-info-wrapper a {
  padding: 0.5em;
  width: 100%;
  background-color: #7e7e7e;
  display: block;
  text-align: center;
}
.navbar-mobile .menu-container {
  max-height: 80vh;
  overflow-y: auto;
  background-color: #e7e7e7;
  padding: 5px;
}
.navbar-mobile .menu-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  margin-bottom: 5px;
}
.navbar-mobile .menu-container .menu-top_menu a {
  padding: 0.5em;
  width: 100%;
  background-color: #bf2026;
  display: block;
}
.navbar-mobile .menu-container .menu-kategorie a  {
  width: 100%;
  display: block;
  padding: 0.5em;
  border-bottom: 1px solid #d1d1d1;
}
.navbar-mobile .menu-container .menu-kategorie li:last-child a {
  border-bottom: none;
}
.navbar-mobile .menu-container .menu-kategorie li li a  {
  border-bottom: none;
}
.navbar-mobile .user-info-wrapper {
  text-align: right;
}
.navbar-mobile .language-trigger {
  font-size: 20px;
  padding: 7px 3px;
  width: 43px;
  color: #fff;
  background-color: #666666;
  display: inline-block;
  vertical-align: top;
  margin-top: 1px;
  text-transform: uppercase;
  text-align: center;
}
.navbar-mobile .m-language-switcher {
  background-color: #e7e7e7;
  padding: 5px;
  width: auto;
  display: none;
}
.navbar-mobile .m-language-switcher ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* User profile */
.profile h2 {
  margin-top: 0;
  color: #666666;
  font-size: 1.45em;
}
.profile .user-picture img {
  max-width: 100%;
  height: auto;
}

/* Node */
.node-full .field {
  margin-bottom: 1em;
}
.node-full .field-name-field-category {
  display: inline-block;
  margin-bottom: 0;
}
.node-full h1 {
  font-size: 1.666em;
  margin: 0.5em 0 1em;
}
.node-full a {
  color: #0072bc;
}
.node-full a:hover {
  color: #000;
}

.node-full .field-name-field-image img {
  max-width: 100%;
  height: auto;
}
.node-full .field-label {
  display: inline-block;
  width: 100px;
  margin-bottom: 0.5em;
}
.node-full .author {
  text-align: left;
    margin-bottom: 20px;
}
.node-full .field-name-field-gallery .row {
  margin-left: -7.5px;
  margin-right: -7.5px;
}
.node-full .field-name-field-gallery .field-item {
  margin-bottom: 15px;
  width: 25%;
  float: left;
  padding: 0 7.5px;
}
.node-full .field-name-field-gallery img {
  width: 100%;
  height: auto;
}
.node-full .comment {
  margin-bottom: 10px;
}
.node-full .comment-author a {
  color: #666666;
}
.node-full .comment-author a:hover {
  color: #000000;
}

.st_sharethis_large:first-child span {
  margin-left: 0;
}

.sharethis-buttons {
  margin-bottom: 1em;
}

#comments {
  margin-bottom: 1em;
}
#comments-trigger {
  color: #666666;
  background: url(../images/add-comment.png) no-repeat right top transparent;
  padding-right: 30px;
}
.comment-form textarea {
  background: #f4f4f4;
}
/* Search */
.page-search #main-content {
  border-bottom: none;
}
.page-search .main-title {
  background: transparent;
}
.page-search h1 {
  margin-left: 0px;
  padding-left: 0px;
}
#block-advanced-search-advanced-search-form h2 {
  margin: 0px 0px 15px 0px;
  padding: 0.4em 1em 0.4em 0em
}
ul.search-results {
  margin: 0;
  padding: 0;
  list-style: none;
}
.search-results h3 {
  margin-top: 0;
}
.search-results h3 a {
  color: #666666;
}


/* Form styles */
.btn-primary, .btn {
  margin-left: auto;
  display: block;
}


/* Slider arrow navigation */
.jssora99l, .jssora99r, .jssora99ldn, .jssora99rdn {
  position: absolute;
  cursor: pointer;
  display: block;
  background: url(../images/slider-arrows.png) no-repeat;
  overflow:hidden;
  opacity: .4;
  filter:alpha(opacity=40);
  width: 19px; 
  height: 27px; 
  top: 123px;
}
.jssora99l { background-position: 0px 0px; left: 8px; }
.jssora99r { background-position: -22px 0px; right: 8px; }
.jssora99l:hover { opacity: .8; filter:alpha(opacity=80); }
.jssora99r:hover { opacity: .8; filter:alpha(opacity=80); }
.jssora99ldn { opacity: .3; filter:alpha(opacity=30); background-position: 0px 0px; left: 8px; }
.jssora99rdn { opacity: .3; filter:alpha(opacity=30); background-position: -22px 0px; right: 8px; }

/* User page styles */
.page-user-page .row.border-bottom-15:after {
  border-bottom: none;
}
.page-user-page h1 {
  display: none;
}
.page-user-page #main-content h2 {
  margin-left: 30%;
  margin-bottom: 20px;
}
.text-resize-wrapper {
  float: none;
  height: auto;
  overflow: hidden;
}
.page-user-page .form-item {
  height: auto;
  overflow: hidden;
  clear: both;
  margin-bottom: 20px;
}
.page-user-page .form-type-textfield label, 
.page-user-page .form-type-textarea label,
.page-user-page .form-type-password label {
  float: left;
  width: 30%;
  margin-top: 5px;
  text-align: right;
  padding-right: 15px;
}
.page-user-page .form-type-textfield input, 
.page-user-page .form-type-textarea .form-textarea-wrapper,
.page-user-page .form-type-password input {
  float: left;
  width: 70%;
}
.page-user-page .form-type-checkbox, .page-user-page .help-block {
  margin-left: 30%;
  clear: both;
  margin-top: 10px;
  float: left
}
.page-user-page .col-sm-6.left {
  padding-right: 30px;
}
.page-user-page .col-sm-6.right {
  padding-left: 30px;
}
.page-user-page .contnet .links {
  text-align: right;
  margin-top: 15px;
}


/* Footer menu */
.footer {
  margin-bottom: 20px;
}

#block-menu-menu-footer-menu {
  margin-top: 20px;
}
#block-menu-menu-footer-menu, #block-menu-menu-footer-menu a {
  color: #666;
}
#block-menu-menu-footer-menu a:hover {
  color: #000000;
}
#block-menu-menu-footer-menu ul {
  list-style-type: none;
  padding: 0;
}
#block-menu-menu-footer-menu .menu > li {
  display: inline-block;
  vertical-align: top;
  padding-right: 45px;
}
 /* Status messages */
.alert-box {
  position: fixed;
  top: 35%;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 105;
}
.alert {
  display: inline-block;
  border: 10px solid #fff;
  border-radius: 0;
  position: relative;
  margin-bottom: 0;
  padding: 30px 30px 30px 30px;
  text-align: left;
}
.close {
  float: none;
  position: absolute;
  top: 10px;
  right: 10px;
}

/* Other stuff */
#block-views-common-articles-block {
}

#block-views-common-articles-block .view-common-articles .views-row {
  width: 50%;
  float: left;
  margin-bottom: 1em;
}

#block-views-author-articles-block {
  margin-left: 33.333%;
}
#main-content #block-views-author-articles-block > .title-wrapper h2 {
  margin-left: 10px;
  padding-left: 0;
}

.view-authors.view-display-id-page {
  font-size: 0.87em;
}

/* make video responsive */
.media-youtube-video {
  position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.media-youtube-video iframe {
  position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

@media screen and (min-width: 768px) {
    .footer {
        padding-right: 0;
        padding-left: 0;
    }
    #page-carousel {
        padding-left: 0;
        padding-right: 0;
    }
}

.article-body-summary {
    margin-bottom: 20px;
    font-style: italic;
}

#user-profile-form .form-actions {
    text-align: right;
}

#user-profile-form .form-actions .btn {
    display: inline-block;
}

.node-article.node-teaser h2 {
  font-size: 1em;
}