/*
 * Theme Name: Twenty Twenty Two Child Theme
 * Theme URI: https://anrealt.hosting.24.ie
 * Description: A child theme for Twenty Twenty Two.
 * Author: 24 Hosting
 * Author URI: https://24.ie/
 * Template: twentytwentytwo
 * Version: 1.0
 * License: GNU General Public License v2 or later
 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
 * */

main {
    margin-top: 188px !important;
}

header.wp-block-template-part {
    background: #ffff;
    z-index: 999;
    margin: 0 auto;
    width: 100%;
    position: fixed;
/*    top: 30px; */
	padding-top: 0px;
	top: 0;
    left: 0;
    right: 0;
}

header.small {
	max-height: 80px;
	padding-top:0px;
}

.admin-bar header {
	padding-top: 30px;
}

.admin-bar header.small {
	padding-top: 20px;
}

header.small img.custom-logo {
	max-height: 50px;
	width: auto;
}


.scrollNav .custom-logo-link img {
    visibility: hidden;
}
.scrollNav .custom-logo-link {
    background-image: url(/wp-content/uploads/2022/03/An-Realt-Pub-Star-Logo-name.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}


@media (max-width:1000px) {
h4 {
    font-size: 27px;
}
p {
    font-size: 16px !important;
    letter-spacing: 0px !important;
}
}

@media (min-width:701px) {
    .mobile-only {
        display: none;
    }
}

@media (max-width: 781px) {
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:not(:only-child) {
        flex-basis: fit-content !important;
	}
	.wp-block-column.is-vertically-aligned-center {
        padding: 5px 20px !important;
    }
	.wp-block-column {
        margin: 0px !important;
    }
    .reverse-columns {
		display: flex;
		flex-direction: column-reverse;
	}
	.reverse-columns .wp-block-column.is-vertically-aligned-center {
        padding-top: 20px !important;
    }
}
@media (max-width: 600px) {
header .wp-block-site-logo img {
    max-width: 106px;
}
}
/* Guest dairy Form - Stay */

#search-panel input#datepicker {
    width: 100%;
    height: 32px;
    margin-bottom: 20px;
	border: 1px solid #767676;
}

#search-panel .row {
    width: 100%;
    display: flex;
}

#search-panel .row .col-xs-4 {
    flex-grow: 1;
}
#search-panel .row .col-xs-4 + .row .col-xs-4 {
    margin-left: 2%
}
#search-panel select#search_rooms {
    width: 50px;
    height: 30px;
}
#search-panel select#search_children {
    width: 50px;
    height: 30px;
}

#search-panel select#search_adults {
    width: 50px;
    height: 30px;
}

#search-panel input#search_button {
    height: 30px;
    background-color: #731518;
    border: 1px solid #fff;
    color: #fff;
}
#search-panel input#search_button:hover {
    background-color: #ffffff;
    border: 1px solid #731518;
    color: #731518;
}

@media (max-width:767px) {
	main {
        margin-top: 160px !important;
    }
	.wp-block-site-logo img {
        max-width: 70%;
    }
}
@media (max-width:600px) {
	nav.is-responsive.items-justified-right.wp-block-navigation {
        margin-right:20px;
	}
    .wp-block-site-logo img {
        margin-left: 40px;
		max-width: 70%;
    }
}

/* Contact form 7 */

.wpcf7 .content-column.one_half {
    width: 50%;
    float: left;
    margin-bottom: 20px;
}

.wpcf7 input.wpcf7-form-control {
    height: 30px;
}

.wpcf7 textarea.wpcf7-form-control.wpcf7-textarea {
    width: 92%;
}

.wpcf7 input.wpcf7-form-control.wpcf7-submit {
    width: 93%;
	height:40px;
    background-color: #731518;
    border: 1px solid #fff;
    color: #fff;
	text-transform: uppercase;
}
.wpcf7 input.wpcf7-form-control.wpcf7-submit:hover {
    background-color: #ffffff;
    border: 1px solid #731518;
    color: #731518;
}
@media(max-width:767px) {
    .wpcf7 .content-column.one_half {
        width: 100%;
        float: none;
    }
	.wpcf7 input.wpcf7-form-control {
        width: 100%;
    }
	.wpcf7 textarea.wpcf7-form-control.wpcf7-textarea {
        width: 100%;
    }
    .wpcf7 input.wpcf7-form-control.wpcf7-submit {
        width: 100%;
	}
}

/* Footer */

footer .wp-block-group p {
	margin-top:0px;
	font-size: 15px;
}

@media (max-width:600px) {
    footer .wp-block-site-logo {
        width: 100%;
    }
    footer .wp-block-site-logo a {
        width: 100%;
        text-align: center;
    }
    footer .wp-block-site-logo img {
        margin-left: 0px;
	}
	footer .wp-block-group p {font-size:13px !important;}
}
@media (max-width:400px) {
footer .wp-block-group {
    margin: 0 auto;
}
}

/* responsive */
@media(max-width: 781px) {
	.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:not(:only-child){
		width: auto !important;
		max-width: 100%;
	}
}