/*
Theme Name: Daniel Tuck WOOD
Theme URI: https://www.danieltuck.co.uk/
Author: Daniel Tuck
Author URI: https://www.danieltuck.co.uk/
Description: Custom website theme.
Template: hello-elementor
License: GNU General Public License v3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/*TNE Custom site wide added styles */

.elementor-image-gallery .gallery-item a img
{width: 200px;
  height: 200px;
  object-fit: cover;
margin:10px 10px;box-shadow: 0 5px 5px #00000050;
transition: transform 0.8s ease-in-out;}

.elementor-image-gallery .gallery-item a img:hover{  transform: scale(1.2);
  transition-duration: 0.1s;}


/*CONTACT FORM STYLES*/

.wpcf7-form p span.wpcf7-form-control-wrap input.wpcf7-form-control.wpcf7-text,
.wpcf7-form p span.wpcf7-form-control-wrap textarea
{border:solid 2px #000c32;margin:10px 0;}
.wpcf7-form p input.wpcf7-form-control.wpcf7-submit
{border-color:#d75000;color:#d75000;}
.wpcf7-form p input.wpcf7-form-control.wpcf7-submit:hover
{background-color:#d75000;color:#fff;}

h3 a {text-decoration:none!important;}

/* CONTACT FORM STYLES*/
.input-flex{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.input-flex span{width:33%;}
.input-flex span input{border:solid 2px #000c32;margin:0px;}
.input-flex span:nth-of-type(4){flex-grow: 1;}
.input-flex span textarea{border:solid 2px #000c32; margin:10px 0;width:99.5%;padding-bottom:50px;}
.formdate
{background:#f5f5f5;margin:10px 2px;vertical-align: top;}
.formdate h3
{margin:0px;top:-10px; position:relative;display:inline-block;padding:5px 0 5px 10px;font-size:22px; line-height:0.9em;}
.input-flex .formdate p span.wpcf7-form-control-wrap input
{margin:0px 5%;width:90%;}
.formdate p span select.wpcf7-select
{border:solid 2px #000c32;margin:5px 15px;width:90%;background:#fff;}
.formdate p span select.wpcf7-select:focus
{border-color:#D75000!important;}

/*Focus state*/
.wpcf7-text:focus, .wpcf7-textarea:focus, .wpcf7-form-control:focus{outline:none;}
.wpcf7-form input:focus, .wpcf7-form textarea:focus{border-color:#D75000!important;}





/*PAGE STYLES */
/*Generic page title */

main header.page-header
{background:#f5f5f5;width:100%!important;text-align:center;}
.page-header h1.entry-title
{background:#f5f5f5;padding: 30px 0;text-align:center;font-family: "roboto", Sans-serif; 
	font-weight:300;font-size:52px;color:#000c32;width:100%!important;margin:0 auto;}
.page-header h1.entry-title:after
{content:"";width:70px;display:block;background:#539DD0;height:5px;top:30px;margin:10px auto;}
/*Generic page title MOBILE */
@media only screen and (max-width: 767px) {
.page-header h1.entry-title{padding: 15px 0;font-size:36px;}
.page-header h1.entry-title:after {height:5px;top:30px;margin:8px auto;}}




/*MOBILE MENU*/
@media only screen and (max-width: 1025px) {

.hfe-nav-menu.hfe-layout-horizontal.hfe-nav-menu-layout.horizontal.hfe-pointer__none
{background:#ffffff;width:40px;height:40px;position:fixed;top:10px;right:18px;}
.hfe-nav-menu.hfe-layout-horizontal.hfe-nav-menu-layout nav.hfe-dropdown.menu-is-active ul.hfe-nav-menu li.menu-item a.hfe-menu-item
{padding:20px 20px; font-weight:700;font-size:24px;}

.navigationrow .elementor-element-populated {padding:0px!important;}

/*SUB MENU STYLES */
ul.sub-menu.sub-menu-open li.menu-item.menu-item-type-post_type.menu-item-object-page.hfe-creative-menu
{border:none!important;padding:0px;}
ul.sub-menu.sub-menu-open li.menu-item.menu-item-type-post_type.menu-item-object-page.hfe-creative-menu a
{border:none!important;padding:10px 5px 10px 30px;font-weight:500;}

}

/*END MENU STYLES*/

