/* HEADER */

@font-face {
    font-family: 'Raleway';
    src: url(/sites/all/themes/mediaport2/fonts/RalewayExtraBold.ttf) format("truetype"), url(/sites/all/themes/mediaport2/fonts/RalewayExtraBold.eot) format("truetype"), url(/sites/all/themes/mediaport2/fonts/RalewayExtraBold.woff) format("woff");
    font-weight: 900;
    font-style: normal;
    font-display: swap
}

.page-header {
    color: #2D2D2D;
    font-family: 'Raleway', sans-serif;
    font-size: 30px;
    line-height: 35px;
    font-weight: 900;
}

.author-details {
    position: relative;
}

.author-details .field-name-field-postauthor {
    position: absolute;
    left: 60px;
    top: 0px;
}

.author-details .field-label, .user-position {
    font-family: 'Roboto', sans-serif;
}

.author-details .user-picture img {
    border-radius: 50%;
}

.author-details .field-items {
    margin-left: 5px;
}

.author-details .field-item {
    position: relative;
}

.author-details .user-soc-icons {
    float: right;
    margin-left: 5px;
}

/* MAIN CONTENT */

article {
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
}

.field-name-field-postdate {
    margin-top: 5px;
    margin-bottom: 5px;
}

@media only screen and (min-width: 500px) {
    .field-name-field-postdate {
        font-style: italic;
    }
}

article .thumbnail {
    margin-bottom: 10px;
    width: initial;
    max-width: 650px;
    height: auto;
}

@media only screen and (max-width: 767px) {
    article .thumbnail {
        margin-bottom: 10px;
        width: 100%;
    }
}


article .img-caption {
    display: block;
    text-align: center;
    font-size: 14px;
    font-style: italic;
    border-bottom: 1px solid rgba(226, 223, 223, 0.493);
    margin-top: 2px;
    margin-bottom: 3px;
}

article .field-name-field-postauthor, .field-name-field-posteditor, .field-name-field-tags {
    font-size: 14px;
}

article .field-name-field-postauthor .field-item, .field-name-field-tags .field-item {
    display: inline;
}

.page-header {
    margin-top: 5px;
}

.well {
    background-color: #F8F8F8;
    background-image: none;
}

article .field-type-text-with-summary {
    border-bottom: 1px solid rgba(226, 223, 223, 0.493);
    margin-bottom: 5px;
}

span.footnote {
    display: none;
}

sup.footnote {
    font-weight: bold;
    cursor: pointer;
    color: #0075B4;
    padding: 0 5px 0 1px;
}

body.page-node-add span.footnote, body.page-node-edit span.footnote {
    display: inline-block;
    opacity: 0.5;
    margin: 0 5px;
}

#footnote_box {
    background-color: #fff;
    box-shadow: 1px 1px 2px #AAA;
    -moz-box-shadow: 1px 1px 2px #AAA;
    -webkit-box-shadow: 1px 1px 2px #AAA;
    font-style: italic;
    margin: 0 0 20px;
    padding: 15px 10px;
    position: relative;
    border: 1px solid #c9c9c9;
    border-left: 5px solid #add9ef;
    overflow: hidden;
}

.lightbox {
    /** Default lightbox to hidden */
    display: none;
    /** Position and style */
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    text-align: center;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
}

.lightbox img {
    /** Pad the lightbox image */
    max-width: 90%;
    max-height: 80%;
    margin-top: 5%;
}

@media only screen and (max-width: 767px) {
    .lightbox img {
        margin-top: 50%;
    }
}

.lightbox:target {
    /** Remove default browser outline */
    outline: none;
    /** Unhide lightbox **/
    display: block;
}

/* SHARING AND TYPOS */

.sharing-buttons {
    margin-bottom: 20px;
    margin-top: 20px;
}

.typos-announcement {
    font-size: 13px;
    font-style: italic;
    color: #babdbe;
    margin-bottom: 5px;
}

.node-links .share-node-post {
    min-width: 90%;
}

.share-node-post .share-item {
    float: left;
    margin-right: 15px;
}

.share-item.icon32 {
    width: 35px;
    /* margin-right: 40px; */
    height: 32px;
    background: url(img/s-icons.png) 0 0 no-repeat transparent;
    display: inline-block;
    cursor: pointer;
}

#new-fb {
    background-position: 0 0;
}

#new-tw {
    background-position: 0 -64px;
}

.share-item.icon32 .counter {
    border: 1px solid #8E8E8E;
    margin-left: 6px;
    white-space: nowrap;
    height: 24px;
    width: 32px;
    margin: 4px 0 0 40px;
    border-radius: 2px;
    line-height: 24px;
    text-align: center;
    font-size: 13px;
}

.share-item.icon32 .counterNub {
    height: 0;
    left: 2px;
    position: relative;
    top: -14px;
    width: 5px;
    z-index: 2;
}

.share-item.icon32 .counterNub i, .share-item.icon32 .counterNub s {
    border-color: transparent #8E8E8E transparent;
    border-style: solid;
    border-width: 4px 5px 4px 0;
    display: block;
    position: relative;
    top: -3px;
    left: 34px;
}

.share-item.icon32 .counterNub i {
    border-right-color: #fff;
    left: 36px;
    top: -11px;
}

#shorturl, #nodeid {
    display: none;
}

#new-fb .new-icon, #new-tw .new-icon {
    display: none;
}

/* ADS */

.front #block--managed-0, .front #block--managed-4 {
    padding-top: 5px;
    padding-bottom: 5px;
}

@media only screen and (min-width: 500px) {
    .page-node #block--managed-2 {
        display: none !important;
    }
}