/*!
Theme Name: Cosmick Media
Theme URI: https://www.cosmickmedia.com
Author: Cosmick Media
Author URI: https://www.cosmickmedia.com
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: cosmick-media-project-theme
*/

body {
    font-family: 'Poppins', sans-serif;
}

.form-sec .form form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 -15px;
}
.form-sec .form form .form-group {
	padding: 0 15px;
}
.form-sec .form form .form-group p {
	position: relative;
}

.form-sec .form form h6 {
	padding: 0 15px 0;
}
.form .form-group .form-icon {
	left: 30px;
}
.form .form-group .form-icon + span select, 
.form .form-group .form-icon + span textarea, 
.form .form-group .form-icon + span input{
	padding: 0 15px 0 60px;
}
.form .form-group .form-icon + span textarea {
	padding-top: 25px;
    padding-bottom: 25px;
}
/*.testimonial .slick-list .slick-track {
	max-width: 100%; width: 100% !important;
}*/


.ti-footer strong{
	color: #4a102e !important;
}
.ti-footer{
	order: -1 !important; margin: 0 0 60px;
}
.ti-footer .ti-rating-text strong ,
.ti-footer .ti-rating-text ,
.ti-footer .ti-rating-text span {
	font-size: 20px !important;
}
.ti-widget.ti-goog .ti-widget-container {
	display: flex !important;
	flex-direction: column !important;
}
.review-section .ti-widget.ti-goog .ti-review-item>.ti-inner {
	padding: 50px 35px 95px !important;
    background-color: #fff !important;
    border-radius: 10px !important;
    border: 1px solid #ffebd5 !important;
    padding: 50px 35px 95px !important;
    background-image: url(assets/images/qoute.png) !important;
    background-repeat: no-repeat !important;
    background-position: right 25px bottom 25px !important;
}
.ti-widget.ti-goog .ti-review-header:after {display: none !important}
.wp-pagenavi {
	display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 8px;
}
.wp-pagenavi > * {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	padding: 0 !important;
	margin: 0!important;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: transparent;
	border: 1px solid #d6d2d7;
	font-size: 20px;
	color: #545454;
}
.wp-pagenavi .previouspostslink ,
.wp-pagenavi .nextpostslink{
	background-color: #eae7eb
}
.wp-pagenavi > *:hover,
.wp-pagenavi > *.current,
.wp-pagenavi .previouspostslink:hover ,
.wp-pagenavi .nextpostslink:hover{
	background-color: #f2675d;
	color: #fff;
	border-color: #f2675d !important;
}
.form-sec .form form .form-group {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
}
.form-sec .form form .form-group p {
	width: 100%; margin: 0;
}
.form-sec .form form .form-group:not(.col-md-6) {
    width: 100%;
    max-width: 100%;
}
.form-sec .form form {
    row-gap: 30px;
}
.map-sec p ,
.map-sec {font-size: 0; margin: 0}
.form-sec .btn.btn-primary {
	display: block;
	margin: 0 auto;
}

.search-no-results .def_sty form ,
.error404 .def_sty form {
	max-width: 420px;
	width: 100%	;	
	display: flex;
	margin-top: 30px;
}
.search-no-results .def_sty form label  ,
.error404 .def_sty form label {
	max-width: calc(100% - 105px);
	width: calc(100% - 105px);
	height: 44px;
}
.search-no-results .def_sty form label input[type="search"]  ,
.error404 .def_sty form label input[type="search"] {
	width: 100%;
	max-width: 100%;
	border: 1px solid #000;
	padding: 0 15px;
	height: 100%;
	font-size: 18px;
	border-radius: 0;
	outline: none;
	box-shadow: none;
	border-right: none;
}
.search-no-results .def_sty form .search-submit  ,
.error404 .def_sty form .search-submit {
	width: 105px;
	max-width: 105px;
    background-color: #DB2B1E;
    height: 50px;
    border: 2px solid #DB2B1E;
    border-radius: 0;
	padding: 0 5px;
	color: #fff;
	font-size: 18px;
	height: 44px;
}
.search-no-results .def_sty form .search-submit:hover ,
.error404 .def_sty form .search-submit:hover{
	background-color: transparent; color: #DB2B1E;;
}
@media(max-width: 991px) {
	.form-sec .form form {
	    row-gap: 20px;
	}
	body:not(.home) .hero-section .hero-bg {
		clip-path: none;
	}
}
@media(max-width: 767px) {
	.form-sec .form form h6 ,
	.form-sec .form form .form-group {
		width: 100%; padding: 0;
	}
	.wp-pagenavi {
		gap: 4px;
	}
	.wp-pagenavi > * {
		width: 40px;
		height: 40px;
		font-size: 15px;
	}
	.form-sec .form form {
	    row-gap: 15px;
	}
	.review-section .ti-widget.ti-goog .ti-review-item>.ti-inner {
	    padding: 30px 20px 80px !important;
	}
}
@media(max-width: 575px) {
	.review-section .ti-widget.ti-goog .ti-review-item>.ti-inner {
	    padding: 25px 15px 70px !important;
	}
}


.sub-menu {
  display: none;
  position: absolute;
  z-index: 1;
}

.menu-item-has-children:hover > .sub-menu {
  display: block;
}

/* Add Font Awesome angle down icon to menu items that have children */
.menu-item-has-children > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    display: inline-block;
    margin-left: 5px;
    font-size: 0.8em;
    transition: transform 0.3s;
}

.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* Header style overrides */
.header .top-header {
    background: none;
}
.header .top-header:before,
.header .top-header .side-bg,
.header .top-header .call-sec:before {
    display: none;
}
.header .header-right .main-menu nav ul li a {
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
}
.header .top-header .call-sec,
.header .top-header .social-sec {
    font-weight: 300;
    font-family: 'Open Sans', sans-serif;
}
.header .top-header .call-sec i {
    margin-right: 6px;
}

/* Adjust phone number visibility */
.header .top-header .call-sec p {
    color: #000;
}

.header .top-header .call-sec p .tel-icon {
    background: none;
    width: auto;
    height: auto;
    border-radius: 0;
    margin-right: 8px;
    color: #000;
}

.header .top-header .call-sec {
    display: flex;
    align-items: center;
}

.header .top-header .call-sec a {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
}

.header .top-header .call-sec .phone-number-text {
    margin-left: 6px;
}

@media (max-width: 767px) {
    .header .top-header .social-sec {
        display: none;
    }
    .header .top-header .call-sec .phone-number-text {
        display: none;
    }
    .header .top-header .call-sec {
        display: none;
    }
    .header .top-header .call-sec {
        padding-right: 10px;
    }
    .header .top-header {
        right: 50px;
    }
    #nav-icon1 {
        margin-left: 10px;
    }
    .header .top-header .call-sec a {
        width: 36px;
        height: 23px;
        justify-content: center;
    }
    .header .header-right .mobile-call {
        display: flex;
        align-items: center;
        margin-right: 10px;
    }
    .header .header-right .mobile-call a {
        display: flex;
        align-items: center;
        width: 36px;
        height: 23px;
        justify-content: center;
        font-size: 1.5rem;
    }
}

/* Mobile phone icon alignment */
@media (max-width: 767px) {
    .header .header-right .mobile-call {
        margin-right: 10px !important;
        display: flex !important;
        align-items: center !important;
    }
    .header .header-right .mobile-call .phone-icon-link {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 36px !important;
        height: 23px !important;
        font-size: 1.5rem !important;
    }
}

/* Home hero adjustments */
.home .hero-section .hero-bg:before {
    display: none;
}

.hero-section .heroTxt p {
    color: #fff;
}

.hero-section .heroTxt h2,
.hero-section .heroTxt .h2 {
    color: #fff;
}

/* Hide About Us left image on mobile */
@media (max-width: 991px) {
    .about-sec figure.img-0 {
        display: none;
    }
}

/* Remove Why Use Us section entirely */
.why-use {
    display: none;
}

#footer-thankyou {
	display: none !important;
}