/*
Theme Name: IMA Custom Theme
Theme URI: https://irishmediaagency.ie/
Author: the IMA team
Author URI: https://irishmediaagency.ie/
Requires at least: 5.3
Tested up to: 6.4
Requires PHP: 7.4
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: strtr
*/

/*=====Reset CSS======*/
*, *:before, *:after {/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; outline: none !important; }
html { width: 100%; padding: 0; margin: 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
*[dir="rtl"] h1, *[dir="rtl"] h2, *[dir="rtl"] h3, *[dir="rtl"] h4, *[dir="rtl"] h5, *[dir="rtl"] h6, *[dir="rtl"] p, *[dir="rtl"] a, *[dir="rtl"] li, *[dir="rtl"] i { unicode-bidi: plaintext; }
article, aside, canvas, figure, figcaption, footer, header, nav, section, audio, video, p, h1, h2, h3, h4, h5, h6, ul, ol { margin: 0; padding: 0; border: 0; }
a, button, input, input[type="button"], input[type="submit"], select, .btn, textarea, img { -webkit-transition: all 300ms ease-in-out; transition: all 300ms ease-in-out; text-decoration: none; font-style: normal; font-family: "Lato", sans-serif;}
a:focus-visible, button:focus-visible, input:focus-visible, input[type="button"]:focus-visible, input[type="submit"]:focus-visible, select:focus-visible, .btn:focus-visible, textarea:focus-visible, .bootstrap-select 
.dropdown-toggle:focus-visible { outline: 3px auto -webkit-focus-ring-color !important; outline: 3px solid #b7b910 !important; outline-offset: 5px; -webkit-box-shadow: none; box-shadow: none; }
.wp-admin a:focus, .wp-admin button:focus, .wp-admin input:focus, .wp-admin input[type="button"]:focus, .wp-admin input[type="submit"]:focus, .wp-admin select:focus, .wp-admin .btn:focus, .wp-admin textarea:focus, .wp-admin .bootstrap-select .dropdown-toggle:focus { outline: none !important; }
a, label, span { display: inline-block; vertical-align: middle; vertical-align: 0; }
figure { -webkit-transition: all ease 0.4s; transition: all ease 0.4s; margin: 0; font-size: 0; line-height: 100%; }
figure img, img { max-width: 100%; }
ul, ol { list-style: none; }
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Firefox */
input[type=number] { -moz-appearance: textfield; -webkit-appearance: none; appearance: textfield; }
body { font-family: "Lato", sans-serif; min-height: 100%; padding: 0; margin: 0; font-size: 20px; font-weight: normal; line-height: 33px; color: #000; background-color: #fff; position: relative; z-index: 1; overflow-x: hidden; }
.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) { width: 100%; }
select { cursor: pointer; -webkit-appearance: none; -moz-appearance: none; appearance: none; position: relative; background: url('assets/images/drop-arrow-bottom.png') no-repeat right 25px center #fff; background-size: 15px; font-family: "Lato", sans-serif; }
.overly { opacity: 0; visibility: hidden; position: fixed; top: 0; width: 100%; left: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.6); z-index: 9; pointer-events: none; transition: 0.3s ease; }
.menu_active { overflow: hidden; }
.hidden { display: none; }
body.modal_open { overflow: hidden; }
input::placeholder, textarea::placeholder{color: #000;}
input::-webkit-placeholder, textarea::-webkit-placeholder{color: #000;}
input::-moz-placeholder, textarea::-moz-placeholder{color: #000;}

.container{max-width: 1450px;padding: 0 20px;margin: 0 auto;width: 100%;}
/*=====Reset CSS======*/


.vertical-title {
    display: inline-block;
    position: absolute;
    top: 3.8rem;
    left: 1.5rem;
    font-size: 1.5rem;
    padding-right: 5rem;
}

.vertical-title {
        left: 4rem;
        font-size: 1.8rem;
    }
	.vertical-title__inner {
    position: relative;
    display: block;
    transform: rotate(-90deg) translateX(-100%);
    transform-origin: top left;
}

	.vertical-title__inner:after {
    content: "";
    display: block;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    margin-top: 0.5rem;
    width: calc(100% + 4rem);
    position: relative;
    left: -0.2rem;
}

.vertical-title--black .vertical-title__inner:after {
    background: #000;
}
@media (min-width: 768px) {
    .vertical-title__inner:after {
        margin-top: 1rem;
    }
}

/* testimonial */

.testimonial_sec{background-color: #14c578;position: relative;padding: 70px 0;font-family: "Raleway", sans-serif;}
.testimonial_slider{margin: 0 -15px;}
.testimonial_slide_item{padding: 15px;}
.testimonial_innrbx{border-radius: 10px; background: #fff; padding: 40px 50px;}
.testimonial_innrbx > h3{font-size: 30px;color: #000;}
.testimonial_comments p{color: #000;}
.review_wrap{margin-top: 30px;}
.review_user h4{font-weight: 700;font-size: 20px;color: #000;}
.review_user p{color: #000;}
.testimonial_wrapper{position: relative;}
.revw_feeditem{line-height: 0;}
.revw_feeditem + .revw_feeditem{margin-top: 40px;}
.slick-arrow { width: 60px; height: 60px; background-color: transparent; display: flex; align-items: center; justify-content: center; position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; cursor: pointer; border: 0; background-color: #ffb900; color: #000; font-size: 24px; z-index: 9; border-radius: 50%; }
.testimonial_wrapper .slick-arrow:hover{background-color: #DDDF33;}
.testimonial_wrapper .slick-arrow.prev-arrow{left: -15px;}
.testimonial_wrapper .slick-arrow.next-arrow{right: -15px;}

 .testimonial_innrbx h3{margin-bottom: 30px;}
.review_wrap{display: flex; align-items: center; gap: 20px;}
.testimonial_comments{min-height: 180px;max-height: 180px;overflow-y: auto;padding-right: 10px;}

.user_profile{height: 60px;width: 60px;border-radius: 50%;overflow: hidden;flex-shrink: 0;}
.user_profile img{height: 100%;width: 100%;object-fit: cover;display: block;}

/* Chrome, Edge, Safari */
.testimonial_comments::-webkit-scrollbar {
    width: 8px;
}

.testimonial_comments::-webkit-scrollbar-track {
    background: #e6e6e6;
    border-radius: 10px;
}

.testimonial_comments::-webkit-scrollbar-thumb {
    background: #ffb900;
    border-radius: 10px;
}

.testimonial_comments::-webkit-scrollbar-thumb:hover {
    background: #e0a200;
}



@media(max-width:1599px){
	.testimonial_wrapper{padding: 0 40px;}
}
@media(max-width:1439px){
	.testimonial_wrapper .slick-arrow.prev-arrow{left: -15px;}
	.testimonial_wrapper .slick-arrow.next-arrow{right: -15px;}
}

@media(max-width:1199px){
	.testimonial_innrbx{padding: 30px 25px;}
}
@media(max-width:991px){
	.testimonial_wrapper{padding: 0 20px;}
}
@media(max-width:767px){
	.testimonial_sec{padding: 40px 0;}
	.testimonial_innrbx > h3 { font-size: 24px; }
	.slick-arrow{height: 40px;width: 40px;font-size: 18px;}
}
@media(max-width:575px){
	.review_wrap {flex-wrap: wrap;}
	.testimonial_innrbx{padding: 20px;}
	.testimonial_sec .global-heading{margin-bottom: 10px;}
}

/* testimonial */