/*======================================
Theme Name: Divi Child Theme
Theme URI: https://divicake.com/
Description: Child theme for Sideways Films
Version: 1.0
Author: WP Care
Author URI: https://wpcare.ie/
Template: Divi
======================================*/

/* You can add your own CSS styles here. Use !important to overwrite styles if needed. */

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

#main-content .container:before {
  width: 0;
}
.et_pb_widget_area_right { border-left: 0 !important; }
.et_pb_widget_area_left { border-right: 0 !important; }

#main-header .logo_container a img {
  max-width: 300px;
}

@media(max-width:767px) {
  #main-header .logo_container a img {
    max-width: 200px;
  }
}

/*------Change Active Menu Item Colour by Divi Soup------*/
#top-menu li.current-menu-item > a,
#top-menu li.current-menu-ancestor > a,
.nav li ul .current-menu-item a {
  color: #631921 !important;
} 


/* Sidebar CSS */

.logo-hd {
  display: inline-block;
  width: 50px;
  height: 27px;
  background: url(/wp-content/uploads/2023/08/hd-logo.png) no-repeat;
  text-indent: -9999px;
  margin-top: 1em;
}

.icon {
display: inline-block;
width: 15px;
height: 15px;
margin-right: 8px;
background: url(../images/icon-sprite.png) no-repeat;
vertical-align: bottom;
}
.icon-contact {
display: inline-block;
width: 15px;
height: 15px;
margin-right: 8px;
background: url(/wp-content/uploads/2023/08/icon-sprite.png) no-repeat;
vertical-align: bottom;
background-position: -15px 0;
}
.icon-download {
display: inline-block;
width: 15px;
height: 15px;
margin-right: 8px;
background: url(/wp-content/uploads/2023/08/icon-sprite.png) no-repeat;
vertical-align: bottom;
background-position: 0 0;
}
.icon-external {
display: inline-block;
width: 15px;
height: 15px;
margin-right: 8px;
background: url(/wp-content/uploads/2023/08/icon-sprite.png) no-repeat;
vertical-align: bottom;
background-position: -30px 0;
}
.icon-link {
display: inline-block;
width: 15px;
height: 15px;
margin-right: 8px;
background: url(/wp-content/uploads/2023/08/icon-sprite.png) no-repeat;
vertical-align: bottom;
background-position: -45px 0;
margin-right: 5px;
}
.icon-expand {
display: inline-block;
width: 15px;
height: 15px;
margin-right: 8px;
background: url(/wp-content/uploads/2023/08/icon-sprite.png) no-repeat;
vertical-align: bottom;
background-position: -60px 0;
vertical-align: middle;
}
.icon-film {
display: inline-block;
width: 15px;
height: 15px;
margin-right: 8px;
background: url(/wp-content/uploads/2023/08/icon-sprite.png) no-repeat;
vertical-align: bottom;
background-position: -90px 0;
}
a:hover .icon-contact {
background-position: -15px -15px;
}
a:hover .icon-download {
background-position: 0 -15px;
}
a:hover .icon-external {
background-position: -30px -15px;
}
a:hover .icon-link {
background-position: -45px -15px;
}
a:hover .icon-expand {
background-position: -60px -15px;
}
a:hover .icon-film {
display: inline-block;
width: 15px;
height: 15px;
margin-right: 8px;
background: url(/wp-content/uploads/2023/08/icon-sprite.png) no-repeat;
vertical-align: bottom;
background-position: -90px -15px;
}
.current_page_item .icon-expand {
background-position: -75px 0px;
}
.current_page_item:hover .icon-expand {
background-position: -75px -15px;
}

.et_pb_sidebar_0_tb_body a {
padding:8px;
color:852835;
text-decoration: none;

}
.et_pb_sidebar_0_tb_body a:hover {
background-color:#97585E;
text-decoration: underline;
color:#fff !important;
}

.et_pb_sidebar_0_tb_body.et_pb_widget_area a:hover
{
color:#fff !important;
}

div#block-16, div#block-18 {
  margin-bottom: 1%;
}


/* Player CSS */
.player {
  margin-bottom: 20px;
}

.player #player-img {
  position: relative;
}
.player #player-img .icon-play {
  pointer-events: none;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url(/wp-content/themes/Your-Generated-Divi-child-theme-template-by-DiviCake/images/icon-play.png) center center no-repeat; 
  text-indent: -9999px;
  cursor: pointer;
}


.video-1 {
  display: none;
}


.player .player-vimeo-info {
  padding: 10px;
  background-color: #f9f9f9;
}
.player .player-vimeo-info p {
  margin: 0;
}
.player .player-buttons {
  width: 629px;
}
.player .player-buttons .btn {
  margin-bottom: 10px;
}


/*remove negative margins from blog featured image*/
.et_pb_image_container {
	margin: 0px;
}

/* Only apply to full-size displays, not mobiles */
@media only screen and ( min-width:981px ) {

	
    /* Set the "shrunken" logo height to 100px */
    .et-fixed-header #logo { max-height: 100px !important; padding-bottom:10px !important; }

    /* Set the padding correctly (It should be: full-size height + 36px) */
   /* div#page-container { padding-top: 236px !important; } */
}

/*move wrapped title, meta, and text up over the image*/
.wpb-blog-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  padding: 30px;
  z-index: 1;
}

/*remove spacing around entire blog post*/
.et_pb_blog_grid .et_pb_post {
  padding: 0px;
}

.et_pb_post .more-link:after {
content:"\f04e";
font-family: FontAwesome;
display: inline-block;
}