/*------------------------------------------
    #MARK: ROOT
------------------------------------------*/
/* #region */

@media only screen and (max-width: 1024px) {
  :root {
    --font-1: "Inter", sans-serif;
    --font-2: "EB Garamond", serif;
    --font-3: "Roboto", sans-serif;

    --color1: #0e5c51;
    --color2: #e0c98a;
    --color3: #414a57;
    --color4: #aa9660;
    --color5: #878078;
    --color6: #0b3230;
    --color7: #0a423a;
    --color8: #d4d4d4;
    --color9: #2c2c2c;
    --color10: #dfdfdf;
    --color11: #c4c4c4;
    --color12: #fafaf9;

    --a: #0e5c51;
    --hover: #0e5c51;
  }
}

/* #endregion */

/*------------------------------------------
    #MARK: GENERAL
------------------------------------------*/
/* #region */

@media only screen and (max-width: 1024px) {
  header.menu-overlay {
    position: absolute;
  }
}

@media only screen and (max-width: 767px) {
  section.element .wrap {
    padding: 30px 0 !important;
  }

  .element.pb-sm-0 .wrap {
    padding-bottom: 0 !important;
  }

  .element.no-br br {
    display: none;
  }
}

@media only screen and (max-width: 480px) {
  header.element .f-icon svg {
    width: 32px;
    max-height: 32px;
  }

  .navbar-brand {
    width: 240px;
  }
}

/* #endregion */

/*------------------------------------------
    #MARK: FOOTER
------------------------------------------*/
/* #region */

@media only screen and (max-width: 1024px) {
  footer .ff-cta .wrap {
    min-height: 400px;
  }

  footer .ff-cta .dinfo {
    margin-top: 0;
  }

  footer .content > div:last-child {
    display: none;
  }

  footer .content > div:first-child {
    flex: 0 0 100%;
    max-width: 100%;
  }

  footer .menu-links.mv {
    display: none;
  }
}

@media only screen and (max-width: 767px) {
  footer .grid {
    column-gap: 30px;
  }
}

@media only screen and (max-width: 600px) {
  footer .grid {
    grid-template-columns: 1fr;
  }

  footer .menu-links.dv {
    column-gap: 30px;
  }
}

@media only screen and (max-width: 480px) {
  footer .ff-cta .wrap {
    min-height: 300px;
  }

  footer .logo-watermark {
    max-width: 300px;
    max-height: 111px;
    left: 0;
    right: unset;
    background-size: contain;
  }

  footer .content {
    padding: 30px 0 40px;
  }
}

/* #endregion */

/*------------------------------------------
    #MARK: HERO SLIDER 02
------------------------------------------*/
/* #region */

@media only screen and (max-width: 1024px) {
  .heroslider-02 .wrap {
    min-height: 600px !important;
  }

  .heroslider-02 .wrap {
    min-height: 480px !important;
  }

  .heroslider-02 .media {
    width: 350px;
    height: 350px;
    margin-bottom: 0;
    left: 0;
  }

  .heroslider-02 .media2 {
    max-width: 150px;
    max-height: 150px;
    right: 0;
  }

  .heroslider-02 .owl-dots {
    bottom: 21px;
  }
}

@media only screen and (max-width: 767px) {
  .heroslider-02 .row > div:last-child {
    display: none;
  }

  .heroslider-02 .design-row .row {margin-bottom: 70px;}

  .heroslider-02 .media1 {border-radius: 0; opacity: 1; background-position: center bottom;}

  .heroslider-02 .overlay1 {
    top: unset;
    bottom: 0;
    max-height: 451px;
    background: linear-gradient(180deg,rgba(0,0,0,0) 0%,#000 100%);
    opacity: .9;
  }

  .heroslider-02 .overlay2 {
    max-height: 312px;
    background: linear-gradient(180deg,#000 0%,rgba(0,0,0,0) 100%);
    opacity: .8;
  }
}

@media only screen and (max-width: 480px) {
  .heroslider-02 .hero-opt, .heroslider-02 .design-row .row{
    margin-bottom: 30px;
  }

  .heroslider-02 .owl-dots {
    padding-inline: 15px;
  }
}

/* #endregion */

/*------------------------------------------
    #MARK: HERO 01
------------------------------------------*/
/* #region */

@media only screen and (max-width: 1024px) {
  .hero-01 .wrap {
    min-height: 400px !important;
  }

  .hero-01 .dinfo {
    margin-bottom: 0;
  }
}

/* #endregion */

/*------------------------------------------
    #MARK: TEXTS 01
------------------------------------------*/
/* #region */

@media only screen and (max-width: 767px) {
  .texts-01 .grid {
    column-gap: 30px;
  }
}

@media only screen and (max-width: 480px) {
  .texts-01 .grid {
    margin-left: 0;
    grid-template-columns: 1fr;
  }
}

/* #endregion */

/*------------------------------------------
    #MARK: CARD STATS 01
------------------------------------------*/
/* #region */

@media only screen and (max-width: 1300px) {
  .cardstats-01 .grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cardstats-01 .div-link {
    text-align: center;
  }

  .cardstats-01 .overlay-set,
  .cardstats-01 .overlay.color {
    max-width: 100%;
  }
}

@media only screen and (max-width: 600px) {
  .cardstats-01 .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cardstats-01 .ititle {
    margin-bottom: 15px;
  }
}

@media only screen and (max-width: 480px) {
  .cardstats-01 .grid {
    grid-template-columns: 1fr;
  }
}

/* #endregion */

/*------------------------------------------
    #MARK: SLIDER CPT TABS 01
------------------------------------------*/
/* #region */

@media only screen and (max-width: 1360px) {
  .element .is-inner .owlprev,
  .element .is-grid .owlprev {
    left: -15px;
  }

  .element .is-inner .owlnext,
  .element .is-grid .owlnext {
    right: -15px;
  }
}

@media only screen and (max-width: 1024px) {
  .slidercpt-tabs-01 .dinfo {
    margin-bottom: 30px;
    align-items: start;
    flex-direction: column;
  }
	
  .slidercpt-tabs-01 .post-item .thumb-bg img {
	max-width: 180px;
    width: 100%;
    object-fit: contain;
  }
}

@media only screen and (max-width: 480px) {
  .slidercpt-tabs-01 .post-item .thumb-bg img {
	max-width: 150px;
    width: 100%;
  }
}

/* #endregion */

/*------------------------------------------
    #MARK: SLIDER QUOTE 01
------------------------------------------*/
/* #region */

@media only screen and (max-width: 480px) {
  .qslider-01 [data-design*="quotes-2"] .dflex-center {
    margin-top: 30px;
  }
}

/* #endregion */

/*------------------------------------------
    #MARK: ROW GRID CPT SLIDER 01
------------------------------------------*/
/* #region */

@media only screen and (max-width: 1440px) {
  .rgcpt-slider-01 .owl-carousel {
    width: 100%;
  }

  .rgcpt-slider-01 .slider-nav-container {
    width: 100%;
  }
}

@media only screen and (max-width: 767px) {
  .rgcpt-slider-01 .col-md-5,
  .rgcpt-slider-01 .col-md-7 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .rgcpt-slider-01 .dinfo {
    max-width: none;
  }
  .rgcpt-slider-01 .row {
    row-gap: 0;
  }
  .rgcpt-slider-01 .dtext {
    margin-top: 0;
  }
  .rgcpt-slider-01 .col-md-7 {
    padding-left: 15px;
  }
}

@media only screen and (max-width: 480px) {
  .rgcpt-slider-01 .dinfo {
    margin-top: 30px;
  }

  .rgcpt-slider-01 .btn-loop {
    margin-top: 30px;
  }
	
  .rgcpt-slider-01 .thumb-bg {
    height: 330px;
	max-width: 250px;
  }
}

/* #endregion */

/*------------------------------------------
    #MARK: ROW ICON 01
------------------------------------------*/
/* #region */

@media only screen and (max-width: 767px) {
  .rowicon-01 .grid {
    max-width: 100%;
  }
}

@media only screen and (max-width: 480px) {
  .rowicon-01 .item {
    min-height: auto;
    padding: 30px 34px;
  }

  .rowicon-01 .cc:last-child .dinfo {
    margin-top: 0;
  }
}

/* #endregion */

/*------------------------------------------
    #MARK: ROW TEAM 01
------------------------------------------*/
/* #region */

@media only screen and (max-width: 600px) {
  .rowteam-01 .col-md-5,
  .rowteam-01 .col-md-7 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .rowteam-01 .meta {
    display: none;
  }

  .rowteam-01 .show-mobile {
    margin-top: 30px;
    display: block;
  }
}

@media only screen and (max-width: 480px) {
  .rowteam-01 .post-thumbnail {
    max-width: 270px;
    max-height: 357px;
  }
}

/* #endregion */

/*------------------------------------------
    #MARK: COL MEDIA 01
------------------------------------------*/
/* #region */

@media only screen and (max-width: 1024px) {
  .colmedia-01 .col-info {
    height: auto !important;
  }
}

@media only screen and (max-width: 767px) {
  .colmedia-01 .col-info {padding-inline: 0;}
}


/* #endregion */

/*------------------------------------------
    #MARK: JS TABS 01
------------------------------------------*/
/* #region */

@media only screen and (max-width: 1024px) {
  .js-tabs-01 [data-design*="tab-1"] .tab-content {
    max-width: calc(100% - 15px);
    margin-left: auto;
  }
}

@media only screen and (max-width: 767px) {
  .js-tabs-01 [data-col="3-9"] .col1,
  .js-tabs-01 [data-col="3-9"] .col2 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .js-tabs-01 [data-design*="tab-1"] .nav {flex-direction: row; justify-content: center; gap: 20px; max-width: 100%;}
  .js-tabs-01 .nav-link::after {display: none;}
  .js-tabs-01 .nav-link::before {content: ""; position: absolute; left: 50%; bottom: 5px; transform: translateX(-50%); background: var(--hover); height: 2px; width: 0; transition: all 0.3s;}

  .js-tabs-01 .nav-link.active::before, .js-tabs-01 .nav-link:hover::before {width: 100%;}
}

@media only screen and (max-width: 600px) {
  .js-tabs-01 [data-design*="tab-1"] .tab-content {
    max-width: 100%;
  }

  .js-tabs-01 .nav-link::after {
    transform: rotate(45deg);
  }

  .js-tabs-01 .nav-link {
    padding: 15px 0;
  }

  .js-tabs-01 [data-design*="tab-1"] .pad {
    padding: 30px 30px 40px;
  }
}

@media only screen and (max-width: 480px) {
  .js-tabs-01 [data-design*="tab-1"] .nav {
	display: grid;
    grid-template-columns: repeat(2, 1fr);
	row-gap: 0;
  }
	
  .js-tabs-01 .nav-link {
	text-align: center;
  }
}

/* #endregion */

/*------------------------------------------
    #MARK: GRID CPT 01
------------------------------------------*/
/* #region */

@media only screen and (max-width: 767px) {
  .gcpt-01 .container-xl {
	padding-top: 120px;
  }
	
  .gcpt-01 .row > div {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

@media only screen and (max-width: 600px) {
  .gcpt-01 .row > div {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media only screen and (max-width: 480px) {
  .gcpt-01 .post-thumbnail .thumb-bg {
	height: 287px;
  }
	
  .gcpt-01 .dinfo {
	margin-bottom: 30px;
  }
}

@media only screen and (max-width: 420px) {
  .gcpt-01 .row {
    row-gap: 30px;
    justify-content: center;
  }

  .gcpt-01 .row > div {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .gcpt-01 a.post-item {
    max-width: 270px;
    margin-inline: auto;
  }
}

/* #endregion */

/*------------------------------------------
    #MARK: GRID CPT 02
------------------------------------------*/
/* #region */

@media only screen and (max-width: 1024px) {
  .gcpt-02 .post-item .cpt-featured-img img {
    width: 100%;
  }
}

@media only screen and (max-width: 480px) {
  .gcpt-02 .dinfo {
    margin-bottom: 30px;
  }

  .gcpt-02 .row {
    row-gap: 30px;
  }
}

/* #endregion */

/*------------------------------------------
    #MARK: AJAX CPT HERO 01
------------------------------------------*/
/* #region */

@media only screen and (max-width: 1440px) {
  .ajaxchero-content .hidden::after {
    margin-left: calc((-50vw + 15px) + 50%);
    width: calc(100vw - 30px);
    height: calc(100% - 30px);
  }

  .ajaxchero-content .content {
    padding: 50px 15px 72px;
  }
}

@media only screen and (max-width: 991px) {
  .ajaxchero-01 .wrap {
    min-height: 400px !important;
  }

  .ajaxchero-01 .dinfo {
    margin-bottom: 0;
  }

  .ajaxchero-01[data-axgrid] .tax-links {
    margin-bottom: 0;
  }
	
  .ajaxchero-01[data-axgrid] .tax-links ul {
	flex-direction: column;
  }
}

@media only screen and (max-width: 767px) {
  .ajaxchero-content .hidden::after {
	height: 100%;
  }
	
  .ajaxchero-content .content {
	margin-bottom: 0;
  }
	
  .ajaxchero-content .cpt-featured-img {
	width: 100%;
    max-width: 200px;
  }
}

@media only screen and (max-width: 480px) {
  .ajaxchero-content .hidden .dflex {
    gap: 5px;
  }
	
  .ajaxchero-content .content {
    padding: 30px 15px 40px;
  }
}

@media only screen and (max-width: 360px) {
  .ajaxchero-content .hidden .dflex {
    flex-direction: column;
	align-items: start;
  }
}

/* #endregion */

/*------------------------------------------
    #MARK: AJAX POST 01
------------------------------------------*/
/* #region */

@media only screen and (max-width: 767px) {
  .ajaxp-01 .container-xl {
    padding-top: 120px;
  }
}

@media only screen and (max-width: 480px) {
  .ajaxp-01 .post-item {
    padding: 30px 30px 40px;
  }
	
  .ajaxp-01 .news-filters {
	margin-bottom: 30px;
	justify-content: start;
	text-align: start;
  }
	
  .ajaxp-01 .dtop {
    margin-bottom: 30px;
  }
}

/* #endregion */

/*------------------------------------------
    #MARK: FORM CONTACT 01
------------------------------------------*/
/* #region */

@media only screen and (max-width: 480px) {
  .gf-01 .gform-theme--foundation .gform_fields {
    grid-template-columns: 1fr;
  }
	
  .gf-01 .gform .gform_fields input {
	height: 40px;
  }
}

/* #endregion */

/*------------------------------------------
    #MARK: SINGLE TEAM
------------------------------------------*/
/* #region */

@media only screen and (max-width: 1024px) {
  .single .navbar-brand.mobile-logo {
    display: none;
  }

  .single .sticky-head .navbar-brand.mobile-logo {
    display: block;
  }
}

@media only screen and (max-width: 767px) {
  .single-team .other-members .row > div {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

@media only screen and (max-width: 600px) {
  .single-team .other-members .row > div {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .single-team .other-members .dtop {
    margin: 40px 0 30px;
  }
}

@media only screen and (max-width: 420px) {
  .single-team .other-members .row {
    row-gap: 30px;
    justify-content: center;
  }

  .single-team .other-members .row > div {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .single-team .other-members a.post-item {
    max-width: 270px;
    margin-inline: auto;
  }
}

/* #endregion */

/*------------------------------------------
    #MARK: SINGLE POST
------------------------------------------*/
/* #region */

@media only screen and (max-width: 970px) {
  .single-post > .wrap {
    padding: 100px 0 60px;
  }

  .single-post .container-xl.mp {
    padding: 60px 15px 0;
  }
}

@media only screen and (max-width : 767px) { 
  .single-post .dtext > :not(:last-child) {margin-bottom: 1rem;}
  .single-post .post-item {padding: 15px 0;}

}


/* #endregion */
