/*
 Theme Name:   Hennessy CNY2022
 Theme URI:    https://NickCho.ng
 Description:  Child theme of twentytwentyone
 Author:       Nick Chong
 Author URI:   https://NickCho.ng
 Template:     twentytwentyone
 Version:      1.0.5
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  hennessycny2022
*/

/* @import url("../twentytwenty/style.css"); */

@font-face {
    font-family: 'hennessy_sansregular';
    src: url('hennessysans-regular-webfont.woff2') format('woff2'),
         url('hennessysans-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
:root {
	--heading--font-family:'hennessy_sansregular' !important;
    --entry-content--font-family :'hennessy_sansregular' !important;
	--button--font-family:'hennessy_sansregular' !important;
}
html, html body {	
	 font-family: 'hennessy_sansregular';
	 font-size:15px;
}

html body #primary .modal {
	max-width:unset;
	margin:unset;
}

body.singular .entry-header {
	padding-top:0;
	margin-bottom:0;
	background-color:rgba(0,0,0,0);
}

body .entry-title,
.single.single-cny2022_entries .entry-title {
    font-size: 1rem;
}


#page .entry-header {
	padding-bottom:0;
	border-bottom:0px none;
	text-align:center;
}

#page .site-header {
	padding-top:0;
	padding-bottom:0;
}



#page article {
	margin-bottom:0;
}

html body {
	color:#dec98b;
}
.single #main.site-main > article > .entry-footer {
	margin-top:0;
	margin-bottom:0;
	padding-top:0;
	padding-bottom:0;
	border-top:0px none;
}
#main {
	padding:0px !important;
}
.entry-content {
	position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%,-50%) !important;
	background-color: #a40932 !important;
	max-width:100% !important;
	margin:0 !important;
	width: 100%;
	min-height: 450px;
	text-align:center;
}
#new-cny2022_entries.acf-form.is-invalid {
    background-color: #a40932 !important;
    width: 100vw;
    max-width: unset;
    padding-bottom: 15px;
}

#new-cny2022_entries {
	position:absolute;
	top:50%;
	left:50%;
	transform:translate(-50%,-53%);
}

.page-template-hennessy-cny-2022 .entry-content {
	padding-bottom:15px;
}
.modal-content {
	background-color: #a40932 !important;
}
.btn-close:focus {
		box-shadow: none !important;
	}
.btn:focus, .btn, .btn:hover {
    color: #000 !important;
    border-color: rgba(0,0,0,0) !important;
    box-shadow: none !important;
}

::-webkit-input-placeholder { /* Edge */
  /* text-transform:uppercase; */
  /* color:#dec98b; */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  /* text-transform:uppercase; */
  /* color:#dec98b; */
}

::placeholder {
  /* text-transform:uppercase; */
  /* color:#dec98b; */
}
.page-template-hennessy-cny-2022 .acf-fields>.acf-field {
	border-top:0px none !important;
}
.page-template-hennessy-cny-2022 .acf-input-wrap input {
	color:#000 !important;
}

.page-template-hennessy-cny-2022 .ui-datepicker {
	width:unset;
}
.page-template-hennessy-cny-2022 .acf-fields .acf-notice p {
	font-weight:700;	
}

.page-template-hennessy-cny-2022 .acf-notice p {
	/* margin-bottom:0px;	 */
}

body pre {
	line-height: normal;
    white-space: pre-wrap;
	background-color:#fff;
	color:#000;
}
.acf-notice-dismiss.acf-icon.-cancel {
	display:none;
}
.page-template-hennessy-cny-2022 .acf-notice.-error {
	/* display:none; */
}
.page-template-hennessy-cny-2022 .acf-fields .acf-field .acf-notice.-error p {
	margin-bottom:0;
}
.page-template-hennessy-cny-2022 .acf-basic-uploader {
	margin-bottom:0;
}
.page-template-hennessy-cny-2022 .acf-field .acf-notice.-error {    
    color: #d12626;    
    text-align: left;
    margin-bottom: 0;
    margin-top: 10px;
    padding: 0 0 0 0px;
    background-color: rgba(0,0,0,0);
    color: #fff;
    border: 0px none;
}	
	
.page-template-hennessy-cny-2022 .acf-fields>.acf-field {
	padding-top:5px;
	padding-bottom:5px;
	padding-left:0;
	padding-right:0;
	max-width:300px;
	margin-left:auto;
	margin-right:auto;
}
.page-template-hennessy-cny-2022 .acf-input-wrap input:focus {
	outline:none;
}
.page-template-hennessy-cny-2022 .acf-input-wrap input {
	/* background-color:rgba(0,0,0,0) !important; */
	border:0px none rgba(0,0,0,0) !important;
}
	
.page-template-hennessy-cny-2022 #new-cny2022_entries {
	overflow-x: hidden;
}


/* Change the white to any color */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    /* -webkit-box-shadow: 0 0 0 30px #c20232 inset !important; */
	
}
/*Change text in autofill textbox*/
input:-webkit-autofill{
    /* -webkit-text-fill-color: #dec98b !important; */
}
html body {
    background-color: #a40932 !important;
    background-image: url(/wp-content/uploads/2022/01/bg1400px.jpg) !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
	min-height:100vh;
}

.page-template-hennessy-cny-2022 .acf-form-submit input[type="submit"] {
	/* padding:6px; */
	/* display:block; */
	/* width:282px; */
	/* max-width:100%; */
	/* margin-left:auto; */
	/* margin-right:auto; */
	/* color:#fff!important; */
	/* background-color:#c45b10!important; */
	/* text-transform:uppercase; */
	
}
.page-template-hennessy-cny-2022 .acf-field .acf-label label{
	text-align:left;
	font-size:14px;
	font-weight:normal;
	text-transform:uppercase;
	margin-top:5px;
}
.page-template-hennessy-cny-2022 #masthead {
	display:none;
}
.page-template-hennessy-cny-2022 .acf-field[data-name="upload_receipt"] {
	/* padding-left:8px; */
}
.page-template-hennessy-cny-2022 .acf-fields .acf-field {
	display:flex;
	justify-content:row;
}

.page-template-hennessy-cny-2022 .acf-field .acf-label {
	display:flex;
	flex-direction:column;
	justify-content:flex-end;
	min-width:95px;
	margin-bottom:0;
	
}

.page-template-hennessy-cny-2022 .acf-fields {
	margin-bottom:30px;
}
.page-template-hennessy-cny-2022 .acf-fields .acf-required {
	display:none;
}
.page-template-hennessy-cny-2022 .acf-field .acf-input input {
	font-size:14px;
}
.page-template-hennessy-cny-2022 .acf-field.acf-field-image .acf-label label {
	margin-bottom: 29px;
    margin-top: 0;
}
.page-template-hennessy-cny-2022 .acf-field .acf-input input[type="file"] {
	max-width:200px;
}
.page-template-hennessy-cny-2022 .acf-field .acf-input input[type="file"]::file-selector-button {
	display:block;
	margin-bottom:3px;
	background-color:#fff;
	border:0px none;
	padding:10px 25px;	
}
.page-template-hennessy-cny-2022 .acf-field .acf-input {
    /* display: inline-block; */
    /* width: 64%; */
    /* margin-left: 0; */
    /* margin-right: auto; */
}


.site .button:focus, button:focus, input[type=submit]:focus, input[type=reset]:focus, .wp-block-search .wp-block-search__button:focus, .wp-block-button .wp-block-button__link:focus, .wp-block-file a.wp-block-file__button:focus {    
    outline: 0px !important;
    outline-style: none !important;
    outline-width: 0px !important;
}
