/*
 Theme Name:   Richard Clements
 Theme URI:    http://www.crooncat.co.uk/
 Description:  Divi Child Theme for Richard Clements
 Author:       Tim Lomas - Caterham Computing Web Design
 Author URI:   https://caterhamcomputing.net
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  crooncat
*/

div.logo_container h1#logo {
    display: inline-block;
    float: none;
    max-height: 54%;
    margin-bottom: 0;
    vertical-align: middle;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    -webkit-transform: translate3d(0, 0, 0);
}

div.logo_container a.hqc-logo-link {
    font-family: "Open Sans", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#main-header {
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}

/*
 * Change the position of the slider controllers on the front page
 */

.home div.et-pb-controllers {
    bottom: auto;
    top: 20px;
}

/*
 * Keep the slider arrows visible at all times ...
 */

.et-pb-arrow-next {
    opacity: 0.3;
    right: 22px;
}

.et-pb-arrow-prev {
    opacity: 0.3;
    left: 22px;
}

/*
 * Style the slider controls
 */

.et_pb_slider .et-pb-controllers a {
    background-color: transparent;
    border: 1px solid #27a1ba;
}

.et_pb_slider .et-pb-controllers a.et-pb-active-control {
    background-color: #27a1ba !important;
}

/*
 * Remove download button from video playback ...
 */

video::-internal-media-controls-download-button {
    display: none;
}

video::-webkit-media-controls-enclosure {
    overflow: hidden;
}

video::-webkit-media-controls-panel {
    width: calc(100% + 30px);
    /* Adjust if necessary */
}