/* breakpoint reminder
X-Small	None	<576px
Small	sm	≥576px
Medium	md	≥768px
Large	lg	≥992px
Extra large	xl	≥1200px
Extra extra large	xxl	≥1400px

*/
/* ------------------------------------ MIN 320 --------------------------------------*/
@media (min-width: 375px) {
.enquiry p{
font-size: 2.5rem;
}
}

/* ------------------------------------ MAX 1280 --------------------------------------*/
@media (max-width: 1280px) {
.imgfirst figure {
max-width: 48%;
vertical-align: middle;
}
}

/* ------------------------------------ MIN 1280 MAX 1400 --------------------------------------*/
@media (min-width: 1280px) and (max-width: 1400px) {

}

/* ------------------------------------ MIN 1024 MAX 1600 --------------------------------------*/
@media (min-width: 1024px) and (max-width: 1600px) {


}

/* ------------------------------------ MIN 768 MAX 1400 --------------------------------------*/
@media (min-width: 768px) and (max-width: 1499px) {

}

/* ------------------------------------ MAX 992 --------------------------------------*/
@media (max-width: 992px) {
body{
overflow-x: hidden;
}
}


/* ------------------------------------ MAX 768 --------------------------------------*/
@media (max-width: 768px) {
.col{
margin-bottom: 30px;
}

.home .wp-block-image figure{
margin: 0 3px 20px !important;
text-align: center;
}

.enquiry .col{
margin-bottom: 0px;
text-align: center;
}

#wrapper .container, #wrapper .container-fluid{
padding-left: 15px;
padding-right: 15px;
}

#head .headerpage{
height: 300px;
}

#head .headerpage img{
height: 100%;
}

.collapse .nav-link{
padding: 1.2rem 1rem !important;
}

.page-template-page-products #head .headerpage img{
object-position: left center;
}


/* menu deroulant */
#menu-main-menu{
padding: 70px 10px 50px 10px;
}

#menu-main-menu a{
line-height: 2.2em;
text-align: center;
}

.navbar-nav .dropdown-menu {
 background-color:var(--green);
margin-bottom: 10px;
}

#menu-main-menu .dropdown-menu a{
color: #8f8f8f;
line-height: 2.6em;
font-size: 1.8rem;
border-bottom: thin #555 solid;
text-align: center;
}

#menu-main-menu .dropdown-menu li:first-child a{
border-top: thin #555 solid;
}

#menu-main-menu .dropdown-item.active, #menu-main-menu .dropdown-item:active {
background-color:var(--green);
color: #fff;
text-decoration: none;
}

#menu-main-menu a.show{
border-bottom: none;
}

#navbar ul#menu-main-menu > li:last-child a {
margin-top: 20px;
}

/* fin menu deroulant */


.wp-block-image .alignleft {
margin: .5em .2em .5em 0;
}

.col{
flex: auto !important;
}

header .navbar{
padding:10px 0px;
}


.blocks-gallery-grid .blocks-gallery-image, .blocks-gallery-grid .blocks-gallery-item, .wp-block-gallery .blocks-gallery-image, .wp-block-gallery .blocks-gallery-item{
flex-grow: inherit;
}

.wp-block-gallery{
margin-bottom: 30px;
}

.columns-3 ul.blocks-gallery-grid .blocks-gallery-item:nth-child(3){
margin: 0 auto;
}

#footer {
padding-top: 50px;
padding-bottom: 5px;
text-align: center;
}

#footer .row > div{
margin-bottom: 30px;
}


}



/* ------------------------------------ MIN 768 --------------------------------------*/
@media (min-width: 768px) {
.home h2{
font-size: 4.2rem;
}

.mission p{
	padding: 0 15px;
}


/* pages */

#head{
	margin-top: 50px;
}

.headerpage{
margin: 0 70px;
}

#head h1{
font-size: 5rem;
}

.page .content{
 padding: 100px 0 180px 0;
 }

#conti{
position: relative;
z-index:5;
}

.page .content h2{
font-size: 3.8rem;
}

.page .breadcrumb p.crumb, .single .breadcrumb p.crumb, .archive .breadcrumb p.crumb, .single .breadcrumb p.crumb{
padding-top: 20px;
padding-bottom: 20px;
}

.titlepage h1{
font-size: 4.2rem !important;
}

.blocks-gallery-grid .blocks-gallery-image, .blocks-gallery-grid .blocks-gallery-item, .wp-block-gallery .blocks-gallery-image, .wp-block-gallery .blocks-gallery-item{
margin-bottom: 0 !important;
}

#footer .foothree {
display: flex;
}

.bgpar{
	margin-top: 16rem;
}

.bgpar > .container{
 padding-top: 180px; 
	padding-bottom: 140px;
}

.mtnegative{
	margin-top: -200px;
}

.bgpar > .container:after{
 clip-path: polygon(0 10%, 100% 0, 100% 90%, 0% 100%);
}

.page .intro{
 margin-top: 0px;
 }

/********************************* MEMBERSHIPS ********************************/
.ich_level_wrap{
display: flex;
}

.ihc-level-item{
flex: 1;
}

.ihc-level-item-wrap{
height: 100%;
}

#createuser > div{
width: 48.7179487179%;
float: left;
}

#createuser > div:nth-child(2n){
width: 48.7179487179%;
float: left;
margin-left: 2.5641025641%;
}

.iump-form-checkbox{
margin-left: 0 !important;
font-size: 16px;
padding: 0;
}

.iump-form-checkbox .ihc-tos-wrap a {
  font-size: 16px;
font-weight: 600;
}

.iump-form-single_checkbox{
padding: 0;
font-size: 16px
}

#createuser div.iump-form-textarea{
width: 100%;
border-radius: 4px;
border-color: var(--green);
}

#createuser .iump-form-single_checkbox, #createuser .iump-form-checkbox, #ihc_checkout_page_wrapp{
width: 100% !important;
}

.ihc-checkout-page-box-title{
border-bottom: 0 !important;}

#createuser .ihc-checkout-page-payment-selection-wrapper .ihc-checkout-page-payment-selection{
background: none !important;
}

.ihc-checkout-page-payment-selection-wrapper .ihc-checkout-page-payment-onsite-fields{
margin: 0 !important;
}

.ihc-checkout-page-payment-selection .iump-form-checkbox, .ihc-checkout-page-payment-selection .iump-form-paybox, .ihc-checkout-page-payment-selection .iump-form-radiobox{
text-align: left !important;
}
.ihc-payment-icon{
width: 150px !important;
border: 1px solid var(--green) !important;
padding: 10px;
}

#createuser .ihc-checkout-page-payment-selection-wrapper .ihc-checkout-page-payment-selection{
padding-bottom: 0;}

/********************************* END MEMBERSHIPS ********************************/




/* ------------------------------------ MIN 992 --------------------------------------*/
@media (min-width: 992px) {

 #navbar{
  margin-top: 22px;
 }

header .navbar{
padding:0;
}

#navbar li{
margin: 0 10px;
}

#navbar li a{
font-size: 1.8rem;
position: relative;
padding: 12px 0.3rem;
font-weight: 500;
}

#navbar li.nav-item > a:hover::before {
-webkit-transform: scale3d(1, 1, 1);
transform: scale3d(1, 1, 1);
}

#navbar li.nav-item > a::before {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 2px;
background:var(--green);
-webkit-transform: scale3d(0, 5, 1);
transform: scale3d(0, 5, 1);
-webkit-transform-origin: 0% 50%;
transform-origin: 0% 50%;
-webkit-transition: -webkit-transform 0.3s;
transition: transform 0.3s;
-webkit-transition-timing-function: cubic-bezier(1, 0.68, 0.16, 0.9);
transition-timing-function: cubic-bezier(1, 0.68, 0.16, 0.9);
}

.home #navbar li.nav-item > a::before {
background:#000;
}

#navbar li.current-menu-item > a::before, #navbar li.current-menu-ancestor > a::before, #navbar li.current-post-ancestor > a::before{
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 2px;
background:var(--green);
-webkit-transform: scale3d(1, 1, 1);
transform: scale3d(1, 1, 1);
}

#menu-main-menu .active{
color: var(--green);
}

#navbar ul li ul.dropdown-menu li > a::before{
content: none;
}

.homebanner{
 padding-top: 160px;
}

.single .homebanner, .archive .homebanner{
 padding-top: 113px;
}

.homebanner:before{
 position: absolute;
 content: '';
 top:0;
 left:0;
 width: 50%;
 height: 100%;
clip-path: polygon(0 0, 65% 0%, 100% 100%, 0% 100%);
background-color:rgba(256, 256, 256, 0.4);
}

.homehead{
 position: relative;
 z-index: 999;
}

}

/* ------------------------------------ MIN 1024 --------------------------------------*/
@media (min-width: 1024px) {



/*#wrapper #navbar li a:hover{
color:var(--black);
}*/




}

/* ------------------------------------ MIN 1200 --------------------------------------*/
@media (min-width: 1200px) {

#wrapper .navbar-brand img {
height: 80px;
}

#navbar li:last-child{
margin: 0 0 0 25px;
}

#footer{
text-align: left;
}


#navbar li{
margin: 0 15px;
}

}


/* ------------------------------------ MIN 1400 --------------------------------------*/
@media (min-width: 1400px){

#navbar li{
margin: 0 22px;
}

.homepods .txtpod h2 {
font-size: 4.2rem;
}

.home .capabilites .col-md-4{
padding-right: 3rem;
}

.home .news .row {
padding-top: 120px;
}

.home .news h3{
margin-bottom: 70px;
}

.firstcol {
margin-left: 6%;
}

.madeireland{
background-size: 90% auto;
}

#footer .foottwo {
padding: 0 50px;
}

#footer .footfour img{
margin-left: 10px;
}

#footer .footone img{
max-width: 270px !important;
}

.home .news .col-xxl-8{
width: 85%;
}

}

/* ------------------------------------ MIN 1600 --------------------------------------*/
@media (min-width: 1600px){

.homebanner .container, #header > .container {
 max-width: 1600px;
  padding: 0 70px;
}


}

/* ------------------------------------ MIN 1920 --------------------------------------*/
@media (min-width: 1920px){

.home .news .col-xxl-8{
width: 65%;
}

.firstcol {
margin-left: 25%;
}


}



/* =============================== Dropdown menu HOVER + ANIM =======================*/
/* ============ desktop view ============ */
@media all and (min-width: 992px) {

 #navbar li a{
  color:var(--black);
  }

.navbar .dropdown-menu-end{ right:0; left: auto;  }
.navbar .nav-item .dropdown-menu{  display:block; opacity: 0;  visibility: hidden; transition:.3s; margin-top:0;  }
.navbar .nav-item:hover .nav-link{ color: #fff;  }
.navbar .dropdown-menu.fade-down{ top:80%; transform: rotateX(-75deg); transform-origin: 0% 0%; }
.navbar .dropdown-menu.fade-up{ top:180%;  }
.navbar .nav-item:hover .dropdown-menu{ transition: .3s; opacity:1; visibility:visible; top:100%; transform: rotateX(0deg); }

/*.home #menu-main-menu .dropdown-menu{
background: rgba(255, 255, 255, 0.3);
}*/

#menu-main-menu .dropdown-menu{
background:#fff;
margin: 0;
padding: 10px 0;
border: 0;
border-radius: 0px;
}

#menu-main-menu .dropdown-menu li{
margin: 0;
}

#menu-main-menu .dropdown-menu a{
color: var(--black);
padding: 8px 50px 8px 20px;
text-shadow: none;
}

/*.home #menu-main-menu .dropdown-menu a{
color: #000;
}*/

#menu-main-menu .dropdown-menu a:hover{
color: var(--black) !important;
}

#menu-main-menu .dropdown-item.active, #menu-main-menu .dropdown-item:active {
background-color:#fff;
color:var(--blue);
text-decoration: none;
border:none;
}

#footer{
padding: 50px 0;
}



}	
/* ============ change marge ============ */

@media (min-width: 768px) {
/* change margin default*/
#wrapper .mb-5{
margin-bottom: 14rem!important;
}

#wrapper .mb-4{
margin-bottom: 12rem!important;
}

#wrapper .mb-3{
margin-bottom: 10rem!important;
}

#wrapper .mb-2{
margin-bottom: 6rem!important;
}

#wrapper .mb-1{
margin-bottom: 4rem!important;
}

#wrapper .mt-5{
margin-top: 14rem!important;
}

#wrapper .mt-4{
margin-top: 12rem!important;
}

#wrapper .mt-3{
margin-top: 10rem!important;
}

#wrapper .mt-2{
margin-top: 6rem!important;
}

#wrapper .mt-1{
margin-top: 4rem!important;
}

#wrapper .ml-5{
 margin-top: 10rem!important;
 }
 
 #wrapper .ml-4{
 margin-top: 8rem!important;
 }
 
 #wrapper .ml-3{
 margin-top: 6rem!important;
 }
 
 #wrapper .ml-2{
 margin-top: 4rem!important;
 }
 
 #wrapper .ml-1{
 margin-top: 2rem!important;
 }

 #wrapper .mr-5{
  margin-top: 10rem!important;
  }
  
  #wrapper .mr-4{
  margin-top: 8rem!important;
  }
  
  #wrapper .mr-3{
  margin-top: 8rem!important;
  }
  
  #wrapper .mr-2{
  margin-top: 4rem!important;
  }
  
  #wrapper .mr-1{
  margin-top: 2rem!important;
  }

/* padding */
#wrapper  .px-md-5 {
padding-left: 10rem!important;
padding-right: 10rem!important;
}
#wrapper  .px-md-4 {
 padding-left: 8rem!important;
 padding-right: 8rem!important;
 }
 #wrapper  .px-md-3 {
  padding-left: 6rem!important;
  padding-right: 6rem!important;
  }
  #wrapper  .px-md-2 {
   padding-left: 4rem!important;
   padding-right: 4rem!important;
   }
   #wrapper  .px-md-1 {
    padding-left: 2rem!important;
    padding-right: 2rem!important;
    }


}