﻿/*
 Theme Name:   EGU Blogs
 Theme URI:    http://www.egu.eu
 Description:  Custom EGU theme based on Vivacity
 Author:       Robert Barsch
 Author URI:   http://www.egu.eu
 Template:     vivacity
 Version:      1.0
 Tags:         responsive-layout, full-width-template, threaded-comments, white, one-column, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-menu, editor-style, featured-images, sticky-post, theme-options, translation-ready
 Text Domain:  vivacity-egu
*/


@import url("../vivacity/style.css");


input[type="button"] {
  color: #FFF!important;
}
input[type="submit"] {
  color: #FFF!important;
}


body, input, textarea, select, .portfolio-filters li a {
    color: #333333 !important;
}


.wp-caption-text, .entry-meta, .entry-meta span:before, .entry-meta a, .comment-text .meta, .gp-theme .wpb_accordion .wpb_accordion_wrapper .ui-state-default .ui-icon:before, .gp-theme .wpb_toggle:before, .gp-theme #content h4.wpb_toggle:before {
    color: #747474 !important;
}

.form-submit input {
    color: white !important;
}

.widgettitle {
    margin: 0 0 15px;
}

.sub-menu .menu-item-hidelink > a {
    display: none!important;
}

#main-nav ul li a, #footer-nav .menu > li > a {
    font-size: 13px;
}


#breadcrumb {
    padding-top: 10px;
    padding-bottom: 10px;
}

.page-header {
    background-color: #ffffff!important;
    padding: 20px 0!important;
    border: none!important;
}

#content {
    min-height: 350px;
}

#content-wrapper.container > #content {
    padding: 20px 0!important;
}

.entry-header {
    padding: 0;
    background-size: cover;
    background-repeat: no-repeat;
}

#headerimage {
    width: 1040px;
    height: 300px;
    position: relative;
    margin: 0 auto;
    line-height: 0;
}

#headerimage-title {
    display: table;
    bottom: 13.65%;
    right: 8.3%;
    left: auto;
    top: auto;
    position: absolute;
    line-height: 38px;
}

#headerimage-abbr {
    display: table-cell;
    background-color: #4593cf;
    color: white;
    font-size: 22px;
    font-weight: bold;
    padding: 0 0.4em;
    vertical-align: middle;
}

#headerimage-name {
    display: table-cell;
    color: white;
    font-size: 20px;
    font-weight: bold;
    padding: 0 0.5em;
    vertical-align: middle;
    white-space: nowrap;
}

#header {
    border-bottom: 2px solid #ffde00;
    height: 64px;
}

#egu-logo { 
    float: right;
    font-size: 11px;
    color: white;
    text-transform: uppercase;
    line-height: 62px;
}

#egu-logo img { 
    vertical-align: middle;
}

#egu-logo a { 
    color: white;
}

#egu-logo a:hover { 
    color: #FFDE00;
}

#divisionblogswidget {
    line-height: 2em;
}

a.divisionabbr {
    padding: 2px 6px;
    color: white;
    font-weight: bold;
}

.navabbr {
    float: right;
    padding: 2px 6px;
    color: white;
    font-weight: bold;
    margin-left: 5px;
}

#networkblogswidget > figure {
    opacity: 1;
    transition: all 0.5s linear;
}

#networkblogswidget:hover > figure {
    opacity: 0.5;
    transition: all 0.5s linear;
}

#networkblogswidget:hover > figure:hover,
#networkblogswidget:hover > figure:hover * {
    opacity: 1;
    transition: all 0.5s linear;
}

#networkblogswidget {
    line-height: 0;
}

#networkblogswidget figure {
    display: inline-block;
    padding: 0;
    margin: 0 3px 3px 0;
    height: 63px;
    width: 147px;
    position: relative;
}

#networkblogswidget figcaption {
    position: absolute;
    left: 5px;
    bottom: 8px;
    font-size: 0.8em;
    color: white;
    display: block;
    line-height: 1.3em;
}


@media only screen and (max-width: 1082px) {
    .gp-responsive #headerimage {
        width: 940px;
    }
    #headerimage-title {
        line-height: 36px;
    }
    #headerimage-abbr {
        font-size: 20px;
    }
    #headerimage-name {
        font-size: 18px;
    }
}

@media only screen and (max-width: 982px) {
    .gp-responsive #headerimage {
        width: 700px;
    }
    .gp-responsive #egu-logo {
        display: none !important;
    }
    .gp-boxed-layout #headerimage {
        width: 100%;
    }
    #breadcrumb {
        display: none;
    }
    #headerimage-title {
        line-height: 25px;
    }
    #headerimage-abbr {
        font-size: 16px;
    }
    #headerimage-name {
        font-size: 14px;
    }
}

@media only screen and (max-width: 480px) { 
    .gp-responsive #headerimage {
        height: 160px;
    }
    #headerimage-title {
        line-height: 21px;
    }
    #headerimage-abbr {
        font-size: 12px;
        border-width: 2px;
    }
    #headerimage-name {
        font-size: 10px;
        border-width: 2px;
    }
}


@media only screen and (max-width: 360px) { 
    .gp-responsive #headerimage {
        display: none;
    }
}

/* hide format images */
.blog-masonry .format-standard.post-loop:before {
content: '';
}
.blog-masonry .format-video.post-loop:before {
content: '';
}
.blog-masonry .format-audio.post-loop:before {
content: '';
}
.blog-masonry .format-gallery.post-loop:before {
content: '';
}
.blog-masonry .format-quote.post-loop:before {
content: '';
}
.blog-masonry .format-link.post-loop:before {
content: '';
}


/* less top padding for article overview */
.blog-masonry .entry-header {
    padding: 12px 40px 20px 30px;
}

/* margin after ul */
.entry-content ul {
    margin: 0 0 15px;
}

/* footer */
#footer-bottom {
    line-height: 31px;
}
#copyright {
    width: 100%;
    text-align: center;
    float: none;
}
#footer-nav {
    float: left;
}
.social-icons {
    float:right;
}
.social-icons a {
    font-size: 2em;
    vertical-align: middle;
}

/* search */
#new-search #searchform,
#new-search #searchform2 {
    max-width: 100%;
}

#searchform label,
#searchform input,
#searchform2 label,
#searchform2 input {
    vertical-align: middle;
    display: inline-block;
}

#searchsubmit,
#searchsubmit2 {
    color: white!important;
}

label {
    font-weight: normal!important;
}

#searchform .nowrap,
#searchform2 .nowrap {
    white-space: nowrap;
    margin-right: 2em;
}

/* post thumbnail */
.post-thumbnail {
    line-height: inherit;
}

/* quotes */

blockquote:before {
    content: '\f10d'!important;
    font-size: 22px!important;
    color: #0b0c0c!important;
    left: 20px!important;
    right: auto!important;
}

blockquote, blockquote em, blockquote a {
    background-color: #ffffff!important;
    color: #0b0c0c!important;
    font-style: italic!important;
}

blockquote {
    font-size: 16px!important;
    line-height: 20px;
    padding: 20px 20px 20px 50px!important;
}

.featured_caption {
    font-size: 11px;
    color: #747474 !important;
    line-height: normal;
}

/* widgets */
#socialmediawidget {
    margin-top: -20px;
}
#socialmediawidget a, #socialmediawidget a:active{
    color: #444;
}
#socialmediawidget a:hover {
    color: #0072bc;
}

/* fixing Ipad view */
.blog-masonry.post-wrapper {
    width: 100%;
}

iframe {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5px;
}

.wp-caption-text {
    margin: 0 0 12px !important;
    line-height: normal;
}

.blog-masonry .more-link {
    float: right;
}

.author-meta h2.subtitle {
    font-weight: 100;
    font-size: 20px;
}

input[type="radio"], input[type="checkbox"] {
   background: initial;
   border: initial;
}

#bitsubscribe input[type="submit"] {
  color: #FFF!important;
  text-shadow: none!important;
  padding: 12px 20px!important;
}


/* remove label from categories and archives widgets */
div.widget_categories label {
    display: none;
}
div.widget_archive label {
    display: none;
}

.ribbonbox {
  position: relative;
}
.ribbon {
  position: absolute;
  right: 0; top: 0;
  z-index: 1;
  overflow: hidden;
  width: 50px; height: 50px;
  text-align: right;
}
.ribbon span {
  font-size: 8px;
  font-weight: bold;
  color: #FFF;
  text-transform: uppercase;
  text-align: center;
  line-height: 16px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  width: 100px;
  display: block;
  background: #79A70A;
  background: linear-gradient(#2989d8 0%, #1e5799 100%);
  box-shadow: 0 1px 10px -5px rgba(0, 0, 0, 1);
  position: absolute;
  top: 6px;
  right: -36px;
}
.ribbon span::before {
  content: "";
  position: absolute; left: 0px; top: 100%;
  z-index: -1;
  border-left: 3px solid #1e5799;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #1e5799;
}
.ribbon span::after {
  content: "";
  position: absolute; right: 0px; top: 100%;
  z-index: -1;
  border-left: 3px solid transparent;
  border-right: 3px solid #1e5799;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #1e5799;
}