/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

.gform_required_legend {display:none;}


/* header */
.inside-header {padding:20px;}
.main-navigation .main-nav ul li a {padding:0 15px;}
.menu-toggle .gp-icon svg {
    height: 1.5em;
    width: 1.5em;
}

/* forms */
.gfield.checkbox-buttons > legend.gfield_label{display:none;}
.gfield.checkbox-buttons .ginput_container .gfield_checkbox,
.gfield.checkbox-buttons .ginput_container .gfield_radio {
    display:flex;
    flex-wrap:nowrap;
    flex-direction:row;
}
.gfield.checkbox-buttons .ginput_container .gchoice {
    position:relative;
    flex: 1 1 0;
    display:block;
}
.gfield.checkbox-buttons .ginput_container .gchoice input,
.gfield.checkbox-buttons .ginput_container .gchoice input:before {
    opacity:0;
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    z-index:2;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.gfield.checkbox-buttons .ginput_container .gchoice label {
    font-weight:600;
    font-size:1em;
    text-transform:uppercase;
    padding:14px 20px;
    border:2px solid #fff;
    position:relative;
    z-index:1;
    width:100%;
    margin:0;
    max-width:none;
    text-align:center;
    transition:0.3s ease-out all;
}
.gfield.checkbox-buttons .ginput_container .gchoice input:checked + label {
    background-color: #fff;
    color: #0C2A69;
}
.gform_wrapper form .gform-footer #gform_submit_button_1 {
    text-transform:uppercase;
    font-weight:600;
    font-size: 1em;
    padding:14px 20px;
    margin:0 auto;
}
div#gform_confirmation_message_1,
div#gform_confirmation_message_2 {
    background: #fff;
    padding:30px;
    border-radius:15px;
    text-align:center;
    margin:30px 0 0;
    font-weight:700;
    line-height:1.5;
    color:var(--accent-2);
}


/* IDX/MLS */
.flexmls-listing-details {
    max-width:1280px;
    margin:0 auto;
    padding:40px 30px;
}
.flexmls-listing-details #listing-slideshow .owl-nav button {
    font-size:57px;
    width:80px;
    height:80px;
}
@media (max-width:500px) {
	.flexmls-listing-details {padding:40px 20px;}
}


/* scroll tab popup form */
a.scroll-tab {
    position:fixed;
    top:50%;
    right:35px;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: right center;
    padding:0 40px;
    line-height:70px;
    background:var(--accent);
    color:#fff;
    font-size:16px;
    font-weight:600;
    border: none;
    cursor: pointer;
    z-index: 1000;
    display:inline-block;
    transition:0.3s ease-out line-height;
}
a.scroll-tab:hover {
    background: var(--accent-2);
}
@media (max-width:1024px) {
    a.scroll-tab {
        font-size:14px;
        line-height:60px;
        right:30px;
    }
}
@media (max-width:700px) {
    a.scroll-tab {
        font-size:12px;
        line-height:50px;
        right:25px;
        padding:0 30px;
		top:45%;
    }
}
.lity .lity-close {
    position:absolute;
    color:#fff;
    font-size:35px;
    font-weight:500;
    text-shadow:none;
    top:5px;
    right:5px;
}
#popup-form {
    background:var(--accent-2);
	color:#fff;
    padding:40px;
    border-radius:5px;
    display:flex;
    flex-direction:column;
    align-items:center;
    width:100%;
    max-width:800px;
	overflow-y:scroll;
}
.popup-form__title {
    margin-bottom: 10px;
    text-align:center;
	color:#fff;
}
.popup-form__subtitle {
    max-width: 600px;
    margin:0 auto 20px;
    text-align:center;
    font-size: 18px;
	color:#fff;
}
#popup-form .gform_wrapper {
    width:100%;
}
