/*
Theme Name: Wellmadewebsite
Description: A child theme to house custom coding which modifies the Divi parent theme by Elegant Themes. Includes default line numbers where the code was taken from in the parent theme.
Author:   Tom Fraser http://www.wellmadewebsite.co.uk
Template: Divi
@import url("../Divi/style.css");
*/




/* COLOURS
style colours:
http://www.color-hex.com/color/778899
red::#A80018
navy #00006A
medium blue: #0381FE
lightblue: 60B0FF
yellow #FAD018
*/



/* --- HEADER --- */
.header-in {
    display: flex;
    justify-content: center;
    align-items: center;
}
.top-button-sec {
   width: 15% !important;
    text-align: center;
    display: flex;
    flex-direction: column;
}
.top-button-sec .et_pb_module {
    float: left;
    width: 100%;
    margin: 0px 0 5px 0 !important;
	text-align:right;
}
.top-button-sec .et_pb_module a {
    font-size: 16px;
	padding: .2em 1em;
}
.top-button-sec .et_pb_button:hover{
	padding:.2em 1em;
	background:#000 !important;
}
.top-button-sec .et_pb_button:hover:after {
    opacity: 1;
    margin-left: -5px;
    top: 5px;
    font-size: 22px;
}
.main-menu-sec .et_pb_menu__wrap{
	
}
.et-social-google-plus a.icon:before {
    content: "\e09a";
}
.et_vertical_nav div#et-main-area {
    margin: 0 !important;
}
.mob-menu-logo-holder {
    text-align: left;
    margin:25px 0 0 25px;
}


/* --- MENU --- */
ul#menu-main-menu-1 ul.sub-menu li a {
    text-transform: capitalize !important;
	width:100%;
    padding: 6px 10px!important;
font-size: 16px !important;
}
ul#menu-main-menu-1 ul.sub-menu li {
    position: relative;
    line-height: 1.4em;
    padding: 0 10px !important;
	 display: inline-block;
    width: 100%;
}
.nav li.et_pb_menu_page_id-6643 ul{
	width:130px !important;
}
.et-menu-nav ul#menu-main-menu-1 li.et_pb_menu_page_id-6643 ul li a{
	padding:6px 10px 6px 0px !important;
	text-align:center;
}

/* Home Page Css */


.hm-post-row .column.size-1of3 .et_pb_image_container {
    height: 250px !important;
    overflow: hidden;
}

.hm-post-row .column.size-1of3 .et_pb_image_container a,
.hm-post-row .column.size-1of3 .et_pb_image_container img {
    width: 100%;
    height: 100% !important;
    display: block;
}

.hm-post-row .column.size-1of3 .et_pb_image_container img {
    object-fit: cover;
}
.film-set .et_pb_blurb_content{
	position:relative;
}
.film-set .et_pb_blurb_content:before, .film-set .et_pb_blurb_content:after{
	position:absolute;
	content:'';
	top:0;
	width: 65px;
    height: 150px;
    background-size: 70% 100% !important;
}
.film-set .et_pb_blurb_content:before{
	background:url(https://www.edinburghshortfilmfestival.com/new/wp-content/uploads/2026/06/leaf-left.png) no-repeat;
	left:0;
	
	}
.film-set .et_pb_blurb_content:after{
	background:url(https://www.edinburghshortfilmfestival.com/new/wp-content/uploads/2026/06/leaf-right.png)no-repeat;
	right:0;
	background-position:right;
	}


/* PAGES */
p{
	
}
.et_pb_slide_content p{
	text-align:center!important;
}
.fullheight .et_pb_image {
    height:80vh; 
}
.fullheight .et_pb_image img {
    height:80vh; 
    width:auto;
}

.et_pb_gallery .et_pb_gallery_title {
    display:none;
}
.et_pb_gallery_item .et_pb_gallery_caption{
    margin: .2em 0 0;
    font-size: 11px;
line-height: 1.4;
}
.awd-box-sec span.et_pb_image_wrap {
    height: 220px;
}
.film-table table td {
    border: 1px solid #ddd;
   font-size: 16px;
    line-height: 27px;
}
.film-table thead th {
    border-right: 1px solid #ddd;
    background: #c42a4e;
    color: #fff;
}
.film-table .et_pb_text_inner {
    overflow-y: scroll;
}
.film-date-sec h4 {
    margin: 0 !important;
    padding: 0;
}
.flim-lg img{
	float:left;
	vertical-align:top;
}
.flim-lg p br {
    display: none;
}
.single-post .container {
    width: 100% !important;
    max-width: 100% !important;
	margin:0 0 60px 0  !important;
	padding:0 !important;
}
.single-post .container #content-area #left-area .et_post_meta_wrapper{
	width:100% !important;
}
.single-post .container .category-awards .et_post_meta_wrapper{
	display:none;
}
.submission-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    padding: 0;
    margin: 0 !important;
    list-style: none;
}
.sub-flm p {
    margin: 0;
    padding: 0 0 10px 0;
}

.submission-info li {
    flex: 0 0 calc(50% - 10px);
}
.sub-flm h4 {
    margin: 20px 0 0 0 !important;
}
.verti-align {
    display: flex;
    justify-content: center;
    align-items: center;
}
.page-id-6643 .et_pb_ajax_pagination_container > div:last-child {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
    clear: both;
	display:none;
}

.page-id-6643 .et_pb_ajax_pagination_container .pagination {
    width: 100%;
}





.single-post #left-area{
	padding:0 !important;
}
.past-won .et_pb_ajax_pagination_container {
     display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.past-won .et_pb_ajax_pagination_container>.et_pb_post{
	 width: calc(25% - 15px);
    box-sizing: border-box;
	border: 1px solid #d8d8d8;
    padding: 0px;
    background-color: #fff;
    word-wrap: break-word;
    margin-bottom: 0;
    min-width: 0;
	border-radius:15px;
	overflow:hidden;
}
.past-won .et_pb_post .entry-featured-image-url{
	margin:0;
	min-height: 201px;
    overflow: hidden;
}
.past-won .et_pb_post .entry-featured-image-url img {
    object-fit: cover;
    object-position: center;
    height: 201px;
}
.past-won .et_pb_post h2{
	padding:1.5em 1em;
}
.ab-jm .et_pb_blurb_content {
    margin: 0;
}
.side-b-sect {
    margin: 0;
    padding: 2em;
    background: #f5f2ef;
    border: none;
	border-radius:10px;
}
.side-b-sect .widget_block {
    margin-bottom: 0px !important;
}
.side-b-sect h4.widgettitle{
	display:none;
}
ul.wp-block-latest-posts li {
    margin-bottom: 20px;
    background: #fff;
    padding: 1em;
	border-radius:5px;
}
ul.wp-block-latest-posts li img{
	border-radius:5px;
}
.category-news-posts div#left-area article {
    background: #f5f2ef;
    padding: 1em;
    border-radius: 10px;
}
/*     ************   Single post  ******               */
/* Article Layout 
.category-news-posts #left-area h2.entry-title {
    font-weight: 700;
    color: #111;
}
.category-news-posts #left-area .et_pb_post a img{
	width:100%;
}*/
/* Two articles per row 
.category-news-posts #left-area{
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.category-news-posts #left-area article.et_pb_post{
    width: calc(50% - 15px);
    margin: 0 !important;
    box-sizing: border-box;
}*/

/* Image full width 
.category-news-posts #left-area article.et_pb_post img{
    width: 100%;
    height: auto;
    display: block;
}


.category-news-posts #left-area article.et_pb_post .entry-featured-image-url{
    display: block;
    overflow: hidden;
}

.category-news-posts #left-area article.et_pb_post .entry-featured-image-url img{
    width: 100%;
    height: 250px; 
    object-fit: cover;
    display: block;
}*/
.category-news-posts #left-area {
    column-count: 3;
    column-gap: 24px;
}

.category-news-posts #left-area article {
    display: inline-block;
    width: 100%;
    margin-bottom: 24px;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;

    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
	
	 opacity: 0;
    transform: translateY(50px);
    animation: slideUp 0.8s ease forwards;
}
.category-news-posts #left-area article h2 a{
	line-height:26px;
}
/* Image */
.category-news-posts #left-area article img {
    width: 100%;
    height: auto;
    display: block;
}
#left-area .pagination {
    column-span: all;
    clear: both;
    display: block;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet */
@media (max-width: 991px) {
    .category-news-posts #left-area {
        column-count: 2;
    }
}

/* Mobile */
@media (max-width: 767px) {
   .category-news-posts  #left-area {
        column-count: 1;
    }
}







/* Pagination full width */
#left-area .pagination{
    width: 100%;
}
.pagination.clearfix {
    margin: 0 0 25px 0;
}
.pagination .alignleft a, .pagination .alignright a{
	 background: #c72e4f;
    padding: .5em .8em;
    border-radius: 10px;
	min-width: 109px;
    min-height: 37px;
}
.pagination .alignleft a, .pagination .alignright a{
	color:#fff;
}



.postid-7084 div#content-area {
    width: 100% !important;
}
.postid-7084 div#left-area {
    max-width: 100% !important;
    width: 100% !important;
    flex: 0 0 100% !important;
}
.postid-7084 #sidebar {
    display: none;
}
.news-p-content .et_pb_row{
	width:100%;
	padding:0;
}
.news-p-content .et_pb_section{
	padding:0;
}
.news-p-content p, .news-p-content strong, .news-p-content div {
    font-size: 18px;
    line-height: 1.5em;
    color: #000;
}
.news-p-content strong {
    font-size: 16px !important;
   
}
.news-p-content h3 a, .news-p-content h4 a{
	font-size: 14px !important;
    color: #fff;
    background: #c72e4f;
    padding: .5em 1em;
    display: inline-block;
    border-radius: 10px;
    line-height: 1.6em;
    font-weight: 700;
    vertical-align: middle;
}
.side-b-sect .et_pb_widget {
    margin: 0 0 0px 0 !important;
}
.side-b-sect .widget_recent_entries, .side-b-sect .widget_categories{
	margin-bottom:25px !important;
}

.news-p-content img {
    border-radius: 10px;
    border: 5px solid #fff;
    box-shadow: 1px 1px 11px #ccc;
}


h2,h3,h4,h5,h6 {
	
}




.entry-content table {
	margin:20px 0px;
	width:100%;
	border:1px solid #60B0FF;
	font-size:80%;
	line-height:1.2em;
}	


.entry-content ol, .entry-content ul {
	margin:20px 20px;
}
div#main-content {
       width: 100%;
}	

	


/*     ******************************     MEDSEARCH RESULTS***************************               */
/*

/* -----------REMOVER SIDEBAR -------*/

/*** Take out the divider line between content and sidebar ***/
 #main-content .container:before {background: none;}

/*** Expand the content area to fullwidth ***/
@media (min-width: 981px){
#left-area {
    width: 100% !important;
    padding: 23px 0px 0px !important;
    float: none !important;
}
}


#sidebar {display:none;}


/* -----------  FOOTER -------*/

/*
footer#main-footer {
    position: fixed;
    width: 100%;
    text-align: right;
    bottom: 0;
}
footer .container {
    position: relative;
    text-align: center;
}

#footer-info {
    float: none;
display:block;
width:100%;
    padding-bottom: 10px;
 
    text-align: center;
}
*/
#footer-info span {
	font-size:80%;
	}

ul#menu-main-menu-2 {
    flex-direction: column;
}

.social-icon-ft li a {
        text-align: right;
    }

footer p:last-of-type {
    padding-bottom: 1em;
}
#footer-bottom .et-social-icons {
    float: none;
    text-align: center;
}
.et-social-icons li {
    display: inline-block;
    margin: 10px 10px 10px 10px;
}
.footer-menu-sec ul li {
    display: block;
    width: 100%;
}



/*     ******************************     TOGGLES ***************************               */

/*     ******************************     MEDIA QUERIES     ***************************               */
/* Large Devices, Wide Screens */
@media only screen and (max-width : 1400px) {
header .et_pb_menu ul li a {
    font-size: 16px!important;
}
header .et_pb_menu .et-menu>li {
    padding-left: 6px;
    padding-right: 6px;
}
body .footer-email-sec .et_pb_image_wrap .et-pb-icon {
   margin-left:80px !important;
}	
}	
@media only screen and (max-width : 1300px) {

body .footer-email-sec .et_pb_image_wrap .et-pb-icon {
   margin-left:31px !important;
}
}

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
header .et_pb_menu ul li a {
    font-size: 14px!important;
}
header .et_pb_menu .et-menu>li {
    padding-left: 5px;
    padding-right: 5px;
}

}
@media only screen and (max-width : 1100px) {
body .footer-email-sec .et_pb_image_wrap .et-pb-icon {
   margin-left:0px !important;
}	
	
}

@media only screen and (max-width : 1024px) {

	
	
}



@media only screen and (max-width : 992px)  {

footer .et_pb_menu .et_pb_menu__menu {
    display: block !important;

}
footer .et_mobile_nav_menu {
    display: none !important;
}
	footer .et_pb_menu--style-left_aligned .et_pb_menu__wrap {
    -webkit-box-pack: left;
    -ms-flex-pack: left;
    justify-content: left;
}
.header-in {
    flex-direction: column;
}
.top-button-sec{
	width:100% !important;
	flex-direction:row;
	gap: 7px;
        justify-content: center;
	}
.logo-sec .et_pb_module {
    text-align: center;
}
	.top-button-sec .et_pb_module{
		width:auto;
	}	
	.main-menu-sec .mobile_menu_bar:before{
		color:#000 !important;
	}	
	.main-menu-sec .et_mobile_menu{
		border-top:3px solid #000 !important;
	}
	.social-icon-ft li a {
    text-align: left;
}
.footer-email-sec .et_pb_blurb_content
 {
    max-width: 100%;
}
.film-table table td {
   font-size: 14px;
    line-height: 16px;
}
.entry-content tr td {
    padding: 6px 6px !important;
}
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 980px) {
.past-won .et_pb_ajax_pagination_container {
     display: block;

}
.et_mobile_menu li a {
    border-bottom: 0px solid rgba(0, 0, 0, .03);
    padding: 2px 5%;
}
.past-won .et_pb_ajax_pagination_container>.et_pb_post{
	 width: 100% !important;

margin-bottom:30px!important;
}

.past-won .et_pb_post .entry-featured-image-url img {
    object-fit: cover;
    object-position: center;
    height: auto;
}
.past-won .et_pb_post h2{
	padding:1.5em 1em;
}
}

@media only screen and (max-width: 800px) {
.fullheight .et_pb_image {
    height:auto; 
}
.fullheight .et_pb_image img {
    height:auto; 
    width:auto;
}

}


@media only screen and (max-width: 768px) {



}

/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 680px) {





}

/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 580px) {


}

 /* Extra Small Devices, Phones */ 
@media only screen and (max-width : 480px) {



}
 /* Extra Small Devices, Phones */ 
@media only screen and (max-width : 360px) {




}
/* Custom, iPhone Retina */ 
@media only screen and (max-width : 330px) {




}
