/* 
Theme Name:		 OnePress Child theme
Theme URI:		 http://childtheme-generator.com/
Description:	 OnePress Child theme is a child theme of OnePress, created by ChildTheme-Generator.com
Author:			 Renaisoft
Author URI:		 http://childtheme-generator.com/
Template:		 onepress
Version:		 1.0.0
Text Domain:	 onepress-child-theme
*/


/*
    Add your custom styles here
*/
/* Make the OnePress Contact section content span full width */
#contact .row > .col-sm-6:first-child {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    float: none !important;
}

/* Hide the second empty/unused column if OnePress renders one */
#contact .row > .col-sm-6:nth-child(2) {
    display: none !important;
}

/* Prevent WordPress auto-<p> or <br> tags from breaking your flex row */
.cimt-top-row > p,
.cimt-top-row > br,
.cimt-contact > p,
.cimt-contact > br {
    display: none !important;
}

.cimt-contact {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    box-sizing: border-box;
}

.cimt-top-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 20px;
    align-items: stretch;
    width: 100%;
}

.cimt-info {
    flex: 0 0 44%;
    max-width: 44%;
    box-sizing: border-box;
    padding: 18px 20px;
    background: #f5fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    text-align: center;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cimt-info p {
    margin-bottom: 10px;
    line-height: 1.5;
}

.cimt-form {
    flex: 1 1 calc(56% - 20px);
    max-width: calc(56% - 20px);
    min-width: 0;
    box-sizing: border-box;
    padding: 18px 22px;
    background: #f8fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    text-align: left;
}

.cimt-info h3,
.cimt-form h3 {
    color: #40bcd8;
    margin-top: 0;
}

.cimt-form h3 {
    text-align: center;
    margin-bottom: 12px;
}

.cimt-hours {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.cimt-hours div {
    border: 1px solid #40bcd8;
    border-radius: 5px;
    padding: 7px 12px;
    font-size: 16px;
}

.cimt-form .wpforms-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

.cimt-form .wpforms-container label {
    text-align: left !important;
}

.cimt-form .wpforms-field {
    padding: 6px 0 !important;
}

.cimt-form .wpforms-field textarea {
    height: 85px !important;
}

.cimt-form .wpforms-submit-container {
    padding-top: 8px !important;
}

.cimt-map-section {
    width: 100%;
    margin-top: 25px;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.cimt-map-section iframe {
    display: block;
    width: 100% !important;
    height: 380px;
    border: 0;
}

.site-brand-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}

.site-logo-div {
    flex-shrink: 0;
}

.site-title {
    margin: 0;
    line-height: 1.3;
}

.site-logo-div img {
    display: block;
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* Mobile */
@media screen and (max-width: 767px) {
	  .site-title {
        display: none !important;
    }
    .cimt-top-row {
        flex-direction: column !important;
        flex-wrap: wrap !important;
    }

    .cimt-info,
    .cimt-form {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .cimt-map-section iframe {
        height: 280px;
    }
}
