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

/* ----------- MOBILES ----------- */
/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px), only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2), only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2), only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2), only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3), only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3), screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 2), screen 
  and (device-width: 320px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 3), screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 4), screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 3), screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 4), screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 3), screen 
  and (device-width: 480px) 
  and (device-height: 800px) {
	.vc_row.vc_row-fluid:not(.vc_row-flex) {
		padding-left: 15px !important;
		padding-right: 15px !important;
	}
	.secondary-navigation ul {
		display: block !important;
		text-align: center;
	}
	.menu-toggle.secondary-menu-toggle {
		display: none !important;
	}
	.site-logo.mobile-header-logo {
		padding: 4px;
	}
	#generate-slideout-menu .inside-navigation {
		padding: 5px 25px;
	}
	#first-row {
		padding-top: 140px !important;
		padding-bottom: 70px !important;
	}
	#first-row #second-column {
		padding-left: 15px !important;
	}
	#first-row .glassmorphism-bckgr > div > .wpb_wrapper {
		border-radius: 20px 0px 20px 0px !important;
	}
	.bonhata-icon.vc_row {
		display: none !important;
	}
	.bonhata-bckgr .fifth-level.left {
		float: unset !important;
		padding-right: 0px !important;
	}
	.bonhata-bckgr .fifth-level {
		max-width: unset !important;
	}
	.vc_row:not(.vc_row-has-fill) {
		overflow-x: hidden !important;
		max-width: unset !important;
	}
	.bonhata-bckgr .fifth-level.left .vc_column-inner, .bonhata-bckgr .fifth-level.right .vc_column-inner {
		padding: 0px 15px !important;
	}
	.bonhata-bckgr .fifth-level.right {
		float: unset !important;
		padding-left: 0px !important;
	}
	.vc_grid-styled-select select {
		background: #01aef0;
		font-size: 15px;
		border: 0px;
		border-radius: 10px 0px 10px 0px;
	}
	.vc_grid-styled-select [value=".vc_grid-term-29"] {
		display: none !important;
	}
	#members .vc_gitem-row-position-middle {
		margin-top: -95px !important;
	}
	.padding-mobile-fix > .vc_column-inner {
		padding: 0px !important;
	}
	.footer-widgets {
		padding-right: 15px !important;
		padding-left: 15px !important;
	}
	.inside-page-hero h1 {
		padding: 15px;
	}
	body.single-post #content {
		padding: 15px;
	}
	#nav-below {
		margin-top: 40px;
	}
	#mobile-header {
		margin-top: 46px !important;
	}
	.job-offer-wrapper {
	  min-height: 200px;
	}
	.vc_gitem-row-position-top .job-title {
	  margin-top: 10px;
	  margin-left: 10px;
	}
	.vc_gitem-row-position-middle .vc_gitem-col {
	  min-height: 65px;
	}
	.vc_gitem-row-position-middle .organization {
	  margin-top: 45px !important;
	}
	.vc_gitem-row-position-middle .document_url a {
	  left: 20px;
	}
}

/* TABLETS */
/* ----------- iPad 1, 2, Mini and Air ----------- */
/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 1),
  only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 2) {
	.inside-navigation {
		padding-right: 15px !important;
	}
	.fifth-level.left {
		padding-left: 15px !important;
	}
	.fifth-level.right {
		padding-right: 15px !important;		
	}
	.wpcf7 .wpb_column.vc_col-sm-6 .vc_column-inner.first {
		padding-right: 7px !important;
	}
	.wpcf7 .wpb_column.vc_col-sm-6 .vc_column-inner.second {
		padding-left: 7px !important;
	}
}
/* Portrait */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 1),
  only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 2) {
	#members .vc_gitem-row-position-middle {
		margin-top: -40px !important;
	}
	#members .vc_gitem-row-position-bottom {
		margin-top: -40px !important;
	}
	.footer-widgets {
		padding-right: 15px !important;
		padding-left: 15px !important;
	}
	.job-offer-wrapper {
	  min-height: 200px;
	}
	.vc_gitem-row-position-top .job-title {
	  margin-top: 10px;
	  margin-left: 10px;
	}
	.vc_gitem-row-position-middle .vc_gitem-col {
	  min-height: 65px;
	}
	.vc_gitem-row-position-middle .organization {
	  margin-top: 45px !important;
	}
	.vc_gitem-row-position-middle .document_url a {
	  left: 20px;
	}
}
/* Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1),
  only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 2) {
	#members .vc_gitem-row-position-middle {
		margin-top: -60px !important;
	}
	#members .vc_gitem-row-position-bottom {
		margin-top: -18px !important;
	}
}

/* BIG SCREENS */
@media screen 
  and (min-device-width: 1025px)
  and (-webkit-min-device-pixel-ratio: 1),
  screen 
  and (min-device-width: 1025px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (min-resolution: 192dpi) {
	.vc_grid .glassmorphism-bckgr {
		min-height: 570px !important;
	}
	.wpcf7 .wpb_column.vc_col-sm-6 .vc_column-inner.first {
		padding-right: 7px !important;
	}
	.wpcf7 .wpb_column.vc_col-sm-6 .vc_column-inner.second {
		padding-left: 7px !important;
	}
    .page-hero {
        padding-top: calc(10% + 111px);
        padding-left: 40px;
        padding-right: 40px;
      }
      .inside-navigation.grid-container {
        max-width: 1240px !important;
        padding-left: 40px;
        padding-right: 40px;
      }
      .navigation-branding {
        margin-left: 0px !important;
      }
      #primary-menu li.menu-item:last-child a {
        padding-right: 0px;
      }
      #menu-secondary-menu li.menu-item:last-child a {
        margin-right: 0px !important;
      }
}


/* FIXES */
.vc_row:not(.vc_row-has-fill) {
  overflow-x: hidden !important;
}
.wpb_wrapper ul {
  margin-left: 15px;
}

/* COLORS */
.dark-blue-text {
	color: #2e3192;
}
.light-blue-text {
	color: #01aef0;
}

/* GLOBAL */
.white-text {
	color: #ffffff;
}
a, .menu-item, .menu-item a {
	transition: 0.5s ease all !important;
}
.align-right {
  text-align: right;  
}

/* POSTS */
.inside-page-hero h1 {
  text-shadow: 0px 0px 15px rgba(0,0,0,0.5);
}
.cat-links {
  display: none;
}
#nav-below .nav-previous, #nav-below .nav-next {
  width: 50%;
  display: inline-block;
}
.nav-next .next::before {
  display: none;
}
.nav-next {
  text-align: right !important;
}
.nav-next .next::after {
  content: "\f105";
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  opacity: .7;
  font-family: GeneratePress;
  text-decoration: inherit;
  position: relative;
  margin-left: .6em;
  width: 13px;
  text-align: center;
  display: inline-block;
}
body.single .inside-article {
  padding-bottom: 0px !important;
}
#nav-below {
  padding: 25px 0px;
  margin-top: 80px;
  border-top: 1px solid #2e3192;
  border-bottom: 1px solid #2e3192;
  opacity: 0.7;
}

/* BONHATA BACKGROUND */
.bonhata-bckgr .light-blue-bckgr {
  background-color: #01aef0;
}
.bonhata-bckgr .dark-blue-bckgr {
  background-color: #2e3192;
}
.bonhata-bckgr .fifth-level {
  max-width: 600px;
}
.bonhata-bckgr .fifth-level.left {
  float: right;
  padding-right: 75px;
}
.bonhata-bckgr .fifth-level.left > .vc_column-inner {
  padding-left: 0px;
}
.bonhata-bckgr .fifth-level.right {
  float: left;
  padding-left: 75px;
}
.bonhata-bckgr .fifth-level.right > .vc_column-inner {
  padding-right: 0px;
}
.bonhata-icon {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  display: inline-block; 
  z-index: 1;
  width: 150px !important;
  height: 150px;
  background-size: 150px;
  margin-left: -75px !important;
  margin-top: -75px !important;
}

/* BUTTONS */
.vc_btn3.vc_btn3-color-blue.vc_btn3-style-flat {
  background: #2e3192;
  border: 2px solid #2e3192;
}
.vc_btn3.vc_btn3-color-blue.vc_btn3-style-flat:hover {
  background: #ffffff;
  color: #2e3192;  
}
.vc_btn3, .post-password-form input {
  border-radius: 8px 0px !important;
  font-family: "Poppins", sans-serif !important;
  font-weight: 600 !important;
  font-size: 17px !important;
}
.vc_btn3-color-blue.vc_btn3-style-outline {
  border-color: #2e3192 !important;
}
.vc_btn3-color-blue.vc_btn3-style-outline:hover {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
}
.vc_btn3-color-white.vc_btn3-style-flat , .vc_btn3-color-blue.vc_btn3-style-outline, .vc_btn3.vc_btn3-color-white.vc_btn3-style-outline:hover, .vc_btn3-color-blue.vc_btn3-style-outline:hover {
  color: #2e3192 !important;
}
.vc_btn3-color-white.vc_btn3-style-flat:hover {
  background-color: #2e3192 !important;
  color: #ffffff !important;
}
li.vc_grid-filter-item {
  border-radius: 8px 0px !important;
  font-family: "Poppins", sans-serif !important;
  font-weight: 600 !important;
  font-size: 17px !important;
  transition: all 0.5s ease !important;
  padding: 11px 19px !important;
}
li.vc_active {
  background: #01aef0 !important;
  color: #ffffff !important;
}
li.vc_active span {
  color: #ffffff !important;
}
li.vc_grid-filter-item:hover {
  background-color: #2e3192 !important;
}
li.vc_grid-filter-item:hover span {
  color: #ffffff !important;
}

/* SECONDARY NAV */
.secondary-navigation .main-nav ul li a {
    border: 1px solid #ffffff;
    line-height: 20px !important;
    padding: 4px 12px !important;
    margin: 8px 5px !important;
    border-radius: 5px 0px;
}
.secondary-navigation .main-nav ul li:last-child a {
	margin-right: 0px;
}
#secondary-navigation li:first-child a {
  background: #2e3192;
  border-color: #2e3192;
}
#secondary-navigation li:first-child:hover a {
  background: #ffffff;
  border-color: #ffffff;
}
nav#secondary-navigation {
  position: fixed;
  top: 0px !important;
  width: 100%;
}

/* LOGO */
.site-logo img, .is-logo-image {
  padding: 0px !important
}

/* PRIMARY NAV */
.main-navigation, .menu-toggle {
  background-size: cover;
  background-position-y: 27%;
}
#primary-menu li {
  margin: 8px 0px 10px 8px;
}
#primary-menu li a {
  padding: 0px 19px;    
  border-radius: 8px 0px;
  transition: all 0.5s ease !important;
}
nav#site-navigation, nav#sticky-navigation {
  position: fixed;
  top: 46px !important;
  width: 100%;
}

/* HOME PAGE HERO */
.glassmorphism-bckgr > div > .wpb_wrapper {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 30px;
  border-radius: 0px 0px 20px 0px !important;
}
.white-bckgr > div > .wpb_wrapper {
  background: rgba(255,255,255,1);
  height: 100%;
  border-radius: 20px 0px 0px 0px !important;
}
.white-bckgr > div > .wpb_wrapper .wpb_single_image {
  position: absolute;
  top: 55%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
.white-bckgr {
  overflow: hidden;
}

/* GRIDS */
.vc_grid .vc_grid-item .vc_grid-item-mini {
  border-radius: 20px 0px;
  overflow: hidden;
}
.vc_gitem-zone-c {
  background: transparent !important;
  padding: 20px;
}
.vc_gitem-zone-c h4 {
  margin-bottom: 0px !important;
}
.vc_gitem-zone-c .vc_gitem-post-data.vc_gitem-post-data-source-post_date {
  font-size: 80% !important;
  text-transform: uppercase;
}
.vc_grid .glassmorphism-bckgr {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(4px)  !important;
  -webkit-backdrop-filter: blur(4px) !important;
}
.vc_gitem-zone-c .vc_btn3 {
  background: transparent;
}
.vc_gitem-zone-c .vc_btn3:hover {
  padding-left: 35px;
}
.vc_gitem-zone-c .vc_gitem-post-data p a.read-more {
  display: none !important;
}
.vc_gitem-post-data-source-post_excerpt p {
  max-height: 225px !important;
  overflow: hidden;
  margin-bottom: 0px;
}
#community-initiatives-grid .vc_custom_heading.vc_gitem-post-data-source-post_date p {
  display: none;
}

/* FOOTER */
ul.lsi-social-icons li a{
  border-radius: 8px 0px !important;
}
.copyright-bar img {
    position: relative;
    height: 20px;
    top: 4px;
    margin: 0px 2px;
}
.footer-widget-1.grid-25 {
  width: 50%;
}

/* ABOUT US PAGE */
.row-wth-six-cols .vc_col-md-2 {
  width: 13.33%;
}

/* MEMBERS GRID */
#members .vc_gitem-row-position-top > div {
  padding: 0px !important;
}
#members .vc_gitem-row-position-middle {
  height: 75px;  
  margin-top: -68px;
}
#members .vc_gitem-row-position-middle > .vc_gitem-col {
  padding: 0px !important;
}
#members .company-logo img {
  height: 63px;
  width: 63px;
  background: #ffffff;
  border-radius: 50%;
  padding: 2px;
  box-shadow: 0px 0px 5px rgba(0,0,0,0.25);
}
#members .vc_grid-item > .vc_grid-item-mini {
  border: 1px solid #ebebeb;
}
#members .vc_gitem-zone-mini h4 {
  font-size: 19px !important;
  line-height: 1.2 !important;
  margin-bottom: 0px !important;
  padding: 0px 15px;
}
#members .vc_gitem-row-position-bottom {  
  position: absolute !important;
  top: 145px;
}
#members .vc_gitem-zone-mini .vc_gitem-row-position-bottom .vc_gitem-post-data-source-post_excerpt {
  margin-top: -5px !important;
  padding: 0px 15px;
  font-size: 15px;
}
#members .vc_gitem-row-position-top {
  max-height: 113px;
  overflow: hidden; 
}
#members .vc_pageable-slide-wrapper > .vc_grid-item > .vc_grid-item-mini {
  max-height: 320px;
}

/* MEMBERS ONLY PAGE */
.post-password-form {
  margin-top: 20px !important;
  text-align: center;
}
.post-password-required {
  margin-top: 130px;
}
input#pwbox-1092 {
  height: 46px;
	background: #F8F9FD !important;
  border: 1px solid #ebebeb;
}

/* CONTACT FORMS */
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="url"], .wpcf7 input[type="password"], .wpcf7 input[type="search"], .wpcf7 input[type="tel"], .wpcf7 input[type="number"], .wpcf7 textarea, .wpcf7 select {
  color: #555555 !important;
  background-color: #ffffff;
  margin-bottom: 15px !important;
  border-radius: 10px 0px;
  width: 100%;
}
.wpcf7 select {
  height: 47.5px;
}
.wpcf7 input.wpcf7-submit {
  border-radius: 10px 0px;
}
.wpcf7 form.sent .wpcf7-response-output {
  position: absolute !important;
  bottom: 35px !important;
  border: 0px !important;
  margin: 0px !important;
  background: #01aef0;
  padding: 12px 20px;
  width: calc(100% - 70px);
  color: #ffffff;
  border-radius: 10px 0px;
}

/* JOB OPPORTUNITIES */
span.organization {
  position: relative;
  top: 15px !important;
}
a.document_url {
  position: relative;
  top: 8px;
  padding: 13px 19px;
  border: 2px solid #2e3192 !important;
  border-radius: 8px 0px !important;
  font-family: "Poppins", sans-serif !important;
  font-weight: 600 !important;
  font-size: 17px !important;
}
a.document_url:hover {
  border-color: #01aef0 !important;
}
.job-offer-wrapper {
  background-color: rgba(1, 174, 240, 0.15);
  border-radius: 20px 0px 20px 0px;
}
.vc_gitem-row-position-top .job-title {
  margin-top: 10px;
  margin-left: 10px;
}
.vc_gitem-row-position-middle .organization {
  margin-top: 25px;
  margin-left: 10px;
}
.vc_gitem-row-position-middle .document_url a {
  border-radius: 8px 0px !important;
  font-family: "Poppins", sans-serif !important;
  font-weight: 600 !important;
  font-size: 17px !important;
  border: 2px solid #2e3192;  
  padding: 13px 19px;
  display: inline-block;
  right: 20px;
  color: #2e3192 !important;
  top: 6px;
  position: absolute;
}
.vc_gitem-row-position-middle .document_url a:hover {
  background-color: #2e3192;
  color: #ffffff !important;
}

/* TABS */
.vc_tta-color-grey.vc_tta-style-classic .vc_tta-tab > a {
  color: #2e3192 !important;
  padding-left: 0px;
}
.vc_tta-tabs.vc_tta-tabs-position-left .vc_tta-panels {
  border-top: 0px !important;
}
.vc_tta-tabs.vc_tta-tabs-position-left * {
  background: transparent !important;
  border-left: 0px !important;
  border-right: 0px !important;
}
.vc_tta-tabs.vc_tta-tabs-position-left .vc_tta-panel {
  padding-left: 15px;
}
.vc_tta-tabs.vc_tta-tabs-position-left .vc_tta-tab a {
  border-top: 0px !important;
  border-bottom: 0px;
  color: #2e3192;
  border-radius: 0px;
	padding-left: 0px !important;
}
.vc_tta-tabs.vc_tta-tabs-position-left .vc_tta-tab {
  border-bottom: 2px solid #dddddd;
}
.vc_tta-tabs.vc_tta-tabs-position-left .vc_tta-tab.vc_active a span {
  color: #01aef0 !important;
  font-weight: bold;
}
.vc_tta-tabs.vc_tta-tabs-position-left .vc_tta-tab a span {
  transition: 0.5s ease all !important;
}
.vc_tta-tabs.vc_tta-tabs-position-left .vc_tta-tab a:hover span {
  color: #01aef0 !important;
}
.document-col .vc_icon_element {
  display: inline-block;
  float: left;
}
.document-col .wpb_text_column .wpb_wrapper {
  display: table !important;
}
.document-col .wpb_text_column .wpb_wrapper p:first-of-type {
  margin-bottom: 5px !important;
}
.document-col .vc_icon_element span {
  margin-top: 0px;
  margin-left: -10px;
}
.document-col .vc_icon_element.vc_icon_element-outer .vc_icon_element-inner.vc_icon_element-size-lg .vc_icon_element-icon {
  font-size: 3.4em !important;
}
.document-col .vc_column-inner > .wpb_wrapper {
  background-color: #eaeaea !important;
  padding: 15px 20px;
  border-radius: 8px 0px !important;
  transition: 0.5s ease all;
  height: 100% !important;
}
.document-col .vc_column-inner > .wpb_wrapper:hover {
  background-color: #dddddd !important;
}
.document-col .vc_btn3-container {
  position: absolute;
  top: 0px;
  width: 100%;
  height: 105px;
}
.document-col .vc_btn3-container .vc_btn3 {
  background: transparent !important;
  width: 100%;
  height: 100%;
}
.document-col .wpb_text_column {
  margin-bottom: 0px;
}