/*
Theme Name: Screenr Child
Author: Loughborough University
Description: A child theme based on Screenr
Template: screenr
Version: 1.0
Tags: one-column, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, editor-style, featured-image-header, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, blog, portfolio
*/


.service__media img {
    width: 100%;
    height: 214px;
    background-position: center;
    object-fit: cover;
    background-size: cover;
}

.section-meta {
    background-color: #efefef;
}

.site-header {
    border-bottom: 4px solid #adadad;
}

.site-title a:hover, .site-title a:focus {
    color: #c02c1d;
    text-decoration: none;
}

.page .right-sidebar .content-area, .blog .right-sidebar .content-area, .home .right-sidebar .content-area {
    padding-right: 0;
    border-right: none;
    width: 100%;
}

#about .row .col-md-5 {
    display: none;
    visibility: hidden;
}

#about .row .col-md-7 {
    width: 100%;
    font-size: 20px;
}

.home #gallery {
    display: none;
    visibility: hidden;
}

.section-about .section-about-content {
    padding-left: 0;
}

a:hover, a:active, .nav-menu > li > a:hover, .nav-menu > li.current-menu-item > a, .nav-menu ul li a:hover, .nav-menu ul li.current-menu-item > a, .nav-menu li.current-menu-item > a, .nav-menu ul li a:hover, .nav-menu a:hover, .sidebar .widget a:hover, .site-footer a:hover {
    color: #c02c1d;
    text-decoration: none !important;   
}

a {
    color: #444444;
    font-weight: 600;
    text-decoration: none;
}

.page .right-sidebar .content-area .entry-content, .blog .right-sidebar .content-area .entry-content, .home .right-sidebar .content-area .entry-content {
    width: 100%;
    max-width: 100%;
}

.btn-theme-primary {
    background: #c02c1d;
}

.card-title {
    position: absolute;
    background-color: rgba(0,0,0,0.7);
    color: #ffffff;
    height: 214px;
    width: 100%;
    text-align: center;
}

.card-title:hover {
    background-color: rgba(0,0,0,0.8);
}

.card-title a {
    color: #ffffff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    padding: 1.75rem 1.875rem 1.875rem;
    max-width: 100%;
    width: 100%;
}

.card-title a:hover {
    color: #ffffff !important;
}

.tmm .tmm_member .tmm_photo {
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    border: 5px solid #adadad !important;
}

.tmm_member {
    border-top-color: #e9e9e9 !important;
}

.nav-links a {
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

.nav-links a:hover, .nav-links a:active, .nav-links a:focus {
    background: #cccccc;
    color: #ffffff;
    -webkit-opacity: 0.8;
    opacity: 0.8;
}

.otw-sidebar {
    padding: 10px 0 0 0;
}

.otw-sidebar .widget {
    position: relative;
    float: left;
    width: 32%;
    margin: 0 1%;
    padding: 0;
    height: 214px;
}

.otw-sidebar .widget:first-child {
    margin: 0 1% 0 0;
}

.otw-sidebar .widget:last-child {
    margin: 0 0 0 1%;
}

.otw-sidebar .widget a .hwim-image {
    width: 100%;
    height: 214px !important;
    object-fit: cover;
    background-size: cover;
    background-position: center;
}

.otw-sidebar .widget .hwim-text h4 {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 214px;
    background-color: rgba(0,0,0,0.7);
    color: #ffffff !important;
    text-align: center;
}

.otw-sidebar .widget .hwim-text h4:hover {
    background-color: rgba(0,0,0,0.8);
}

.otw-sidebar .widget .hwim-text h4 a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #ffffff !important;
    text-align: center;
    width: 100%;
    padding: 20px;
}

.otw-sidebar .widget .hwim-text h4 a:hover {
    color: #ffffff !important;
}

.section-padding-larger {
    padding: 4.5rem 0rem;
}


@media screen and (max-width: 767px) {
    
    .otw-sidebar .widget {
        width: 100%;
        margin: 0 0 20px 0;
        padding: 0;
    }
    
    .otw-sidebar .widget:first-child {
        margin: 0 0 20px 0;
    }
    
    .otw-sidebar .widget:last-child {
        margin: 0;
    }
    
    .otw-sidebar .widget, .otw-sidebar .widget a .hwim-image, .otw-sidebar .widget .hwim-text h4 {
        height: 275px !important;
    }
    
}


@media screen and (max-width: 550px) {
    
    .entry-content img {
        width: 100%;
        height: auto;
        padding: 0;
        margin: 0 0 20px 0;
    }
    
}


@media only screen and (max-width: 64.063em) {
    
    .tmm .tmm_2_columns .tmm_member .tmm_photo, .tmm .tmm_3_columns .tmm_member .tmm_photo, .tmm .tmm_4_columns .tmm_member .tmm_photo {
        width: 130px;
        height: 130px;
        border-radius: 0 !important;
        border: 5px solid #adadad !important;
        margin-top: -65px;
    }
    
}



