/*
Theme Name: Hastings Jetty Pen Users Group
Author: Malvolio
Version: 1.0
Tags: none
*/


/* =Reset default browser CSS. 
-------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


/* ----- FORMATTING ----- */

body {
    font-family: Montserrat, sans-serif;
	font-weight: 300;
    font-size:   16px;
    padding:     0px;
    margin:      0px;
	color: #000000;
    background: #ffffff;
}

p {
	padding: 0px 0px 20px 0px;
	margin: 0px;
	line-height: 1.5;
}

 
h1 {
	font-weight: 900;
	font-size: 28px;
    color: #006c8c;
	margin: 0px 0px 20px 0px;
	text-decoration: none;
    text-transform: uppercase;
}


h2 {
	color: #006c8c;
	font-size: 24px;
  	margin: 0px 0px 20px 0px;
	padding: 0px;
	font-weight: 400;
	line-height: 1.2;
}


h3 {
    font-weight: 900;
	font-size: 18px;
    color: #006c8c;
	margin: 0px 0px 20px 0px;
	text-decoration: none;
    text-transform: uppercase;
}

h3 a {
	text-decoration: none;
	color: #006c8c;
}


h4, .entry-date {
	font-weight: 300;
	color: #000000;
	font-size: 12px;
  	margin: 0px 0px 20px 0px;
	padding: 0px;
	line-height: 1.2;
    letter-spacing: 2px;
    text-transform: uppercase;
}



.blue_block, .blue_block h1, .blue_block h2, .blue_block h3, .blue_block a {
    color: #ffffff;
}


a {
    color: #000000;
	text-decoration: underline;
}

a:hover {
	color: #006c8c;
}



a.bbutton {
	background-image: linear-gradient(to right, #1d4578 0%, #006c8c 51%, #2ca9b3 100%)}


a.obutton {
	background-image: linear-gradient(to right, #f15a29 0%, #f7941d 51%, #fbb040 100%)}


a.bbutton, a.obutton {
            padding: 15px 8%;
  			width: 80%;
            text-transform: uppercase;
            transition: 0.5s;
            background-size: 200% auto;
            color: #ffffff;
			font-weight: 900;
			font-size: 16px;
            border-radius: 2px;
            display: block;
			text-decoration: none !important;
          }

a.bbutton:hover, a.obutton:hover {
            background-position: center center; /* change the direction of the change here */
            color: #fff;
            text-decoration: none;
          }
         






li {
	padding: 0px 0px 8px 0px;
}

li::marker {
	color: #006c8c;
}

ul {
	padding: 0px 0px 0px 15px;
	margin: 0px;
    list-style-type: circle;
}

hr {
	border: none;
	border-top: 1px solid #006c8c;
	margin: 18px 0px;
	clear: both;
}

b, strong {
	font-weight: 700;
}


/* ----- LAYOUT ----- */



#header {
	padding: 30px 10%;
  	width: 80%;
	background-image: url("images/header.jpg");
	background-size: cover;
	text-align: center;
}

#header img {
    max-width: 475px;
    width: 100%;
}



#menu {
	background-image: linear-gradient(to right, #1d4578 0%, #006c8c 51%, #2ca9b3 100%);
	width: 100%;
}

#blue-lines {
	width: 100%;
	height: 53px;
	background-image: url("images/blue-lines.png");
	background-size: 600px 50px;
  	background-position: top center;
  	background-repeat: repeat-x;
}


#blue-lines-rev {
	width: 100%;
	height: 100px;
	background-image: url("images/blue-lines-rev.png");
	background-size: 600px 50px;
  	background-position: bottom center;
  	background-repeat: repeat-x;
	float: left;
}




/* ----- CONTENT BLOCKS ----- */


.cblock {
	width: 80%;
	padding: 60px 10% 60px 10%;
    float: left;
}

.content {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
}


.blue_block {
    background-image: linear-gradient(to right, #1d4578 0%, #006c8c 51%, #2ca9b3 100%);
}

.grey_block {
    background: #edeeef;
}

.orange_block {
    background-image: linear-gradient(to right, #f15a29 0%, #f7941d 51%, #fbb040 100%);
}




    
.image-block {
	width: 100%;
    float: left;
	position: relative;
	height: 100vh;
}


.imgbg_bg {
	overflow: hidden;
    background-size: cover;
	background-position: center;
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: -10000;
}





.block_3col {
	display: grid;
	column-gap: 50px;
    row-gap: 0px;
	grid-template-columns: 1fr 1fr 1fr;
}


.block_2col50 {
	display: grid;
	column-gap: 50px;
    row-gap: 0px;
	grid-template-columns: 1fr 1fr;
}



.block_2col7030 {
	display: grid;
	column-gap: 50px;
    row-gap: 0px;
	grid-template-columns: 7fr 3fr;
}


.block_2col3070 {
	display: grid;
	column-gap: 50px;
    row-gap: 0px;
	grid-template-columns: 3fr 7fr;
}


.news-posts {
	display: grid;
	column-gap: 30px;
    row-gap: 30px;
	grid-template-columns: 1fr 1fr 1fr;
}

.news-posts div {
	border: 1px solid #edeeef;
  	padding: 25px;
}



@media screen and (max-width: 950px) {
.block_2col50, .block_3col, .block_2col3070, .block_2col7030 {
	grid-template-columns: 1fr !important;
}
}




#footer {
	width: 80%;
    padding: 50px 10%;
	float: left;
	background-image: linear-gradient(to right, #1d4578 0%, #006c8c 51%, #2ca9b3 100%);
    color: #ffffff;
    font-size: 15px;
    text-align: center;
	text-transform: uppercase;
}

#footer strong {
	font-weight: 900;
}

#footer a {
	text-decoration: none;
    color: #ffffff;
}



	
/* ----- FORMS ----- */

input[type="text"], input[type="number"], input[type="password"], input[type="tel"], input[type="email"], textarea {
	padding: 14px 14px 10px 14px !important;
	font-family: Montserrat, sans-serif;
	color:#000000;
	font-size: 16px !important;
	background: #ffffff;
	border: 1px solid #edeeef !important;
	font-weight: 300;
	margin-bottom: 5px;
    border-radius: 2px;
}



input[type="submit"], button, input.button, .gform_save_link {
	background-image: linear-gradient(to right, #1d4578 0%, #006c8c 51%, #2ca9b3 100%)}

input[type="submit"], button, input.button, .gform_save_link {
            margin: 10px;
            padding: 23px;
			width: 100%;
            text-transform: uppercase;
            transition: 0.5s;
            background-size: 200% auto;
            color: #ffffff;
			font-weight: 900;
			font-size: 18px;
            border-radius: 10px;
            display: inline-block;
			text-decoration: none !important;
          }

input[type="submit"]:hover, button:hover, input.button:hover, .gform_save_link:hover {
            background-position: right center; /* change the direction of the change here */
            color: #fff;
            text-decoration: none;
          }
         
.gfield_consent_description {
	background: #fff;
  	border-radius: 2px;
}


.gsection_title {
	margin: 0px !important;
}

.gsection_description {
	margin-top: 10px;
}

.gform_required_legend, .gform_wrapper.gravity-theme .gfield_required {
	display: none !important;
}



.gform_wrapper.gravity-theme .description, .gform_wrapper.gravity-theme .gfield_description, .gform_wrapper.gravity-theme .gsection_description, .gform_wrapper.gravity-theme .instruction,
.gform_wrapper.gravity-theme .gfield_checkbox label, .gform_wrapper.gravity-theme .gfield_radio label {
	font-size: 16px !important;
}


.gform_wrapper.gravity-theme .gform_footer, .gform_wrapper.gravity-theme .gform_page_footer {
	padding: 0px !important;
	margin: 0px !important;
}



/* ----- IMAGES ----- */


.alignleft, img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}
.alignright, img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 0px;
}
.aligncenter, img.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 12px;
}

a img {
	border: none;
}


img {
    max-width: 100%;
    height: auto;
}


ul.tml-links {
	list-style-type: none;
	padding: 0px !important;
}


.tablepress {
	--head-bg-color: #000000 !important;
	--head-text-color: #fff !important;
	background: #ffffff !important;
}

thead {
	font-size: 11px !important;
  	text-transform: uppercase !important;
}
}