/*
 Theme Name:   DHM
 Theme URI:    https://www.understrap.com
 Description:  Custom theme for DHM
 Author:       BowStern Marketing Communications
 Author URI:   https://bowstern.com
 Template:     understrap
 Version:      0.2.0
 License:      Commercial
 Text Domain:  understrap-child
 Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
*/

/* blueish : 00ADBB; 
    dark grey: 393839;

*/

/* The Modal (background) */

.portofliomodal_content p, .portofliomodal_content p.intro-content, .portofliomodal_content li {
  font-size: 14px !important;
  line-height: 16px !important;
}

#bigger {
  font-size: 19px;
}

#test {
  position: fixed;
  background-color: red;
  top: 0;
  width: 100%;
  overflow: auto;
}


ul.controls {
  list-style-type: none;
}


.prev {
  position: absolute;
  left: 0;
  top: 45%;
  font-size: 36px;
  color: rgba(0,0,0,.13);
}

.prev:hover, .next:hover {
  cursor: pointer;
}

.next {
  position: absolute;
  right: 0;
   top: 45%;
  font-size: 36px;
  color: rgba(0,0,0,.13);
}




#nopadbottom {
  padding-bottom: 0 !important;
}

.close {
  font-size: 2rem !important;
  
}


.portofliomodal_content h4 {
  color: #00adbb;
}

.myBtn_multi {
  background-color: #fff;
  border: none;
  padding: 10px 20px;
 font-family: 'Kanit', sans-serif !important;
 color: #393839;
 text-transform: uppercase;
}

#portfoto {
  /*margin-bottom: -120px;*/
}

#portfoto img {
  -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.41);
-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.41);
box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.41);
}

.modalwrapper {
  position: relative;
  width: 100%;
}

.filterwrap {
  background-color: #393839 !important;
  padding-bottom: 10px !important;
}

.filterwrap p {
  color: #fff;
  font-size: 20px;
  margin-bottom: 60px;
  padding-bottom: 40px;
}

.filterwrap p::after {
  content: '';
  border-bottom: 6px solid #00ADBB;
  display: inline-block;
  width: 100px;
  position: absolute;
  right: 0;
   padding-top: 60px;
  left: 0;
  margin: 0 auto;
  text-align: center;



}

.nonrelative {
/*  position: static !important;*/
}

.portofliomodal_content {
  position: fixed !important;
  bottom: 0;
  background-color: #fefefe;
  width: 100%;
  -webkit-animation-name: slideIn;
  -webkit-animation-duration: 0.4s;
  animation-name: slideIn;
  animation-duration: 0.4s;
  padding: 20px 50px;
}
        .modal {
             display: none; /* Hidden by default */
        position: fixed; /* Stay in place */
        z-index: 1; /* Sit on top */
        left: 0;
        top: 0;
        width: 100%; /* Full width */
        height: 100%; /* Full height */
        overflow: auto !important; /* Enable scroll if needed */
        background-color: rgb(0,0,0); /* Fallback color */
        background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
        -webkit-animation-name: fadeIn; /* Fade in the background */
        -webkit-animation-duration: 0.4s;
        animation-name: fadeIn;
        animation-duration: 0.4s

        }

        /* Add Animation */
@-webkit-keyframes slideIn {
  from {bottom: -300px; opacity: 0} 
  to {bottom: 0; opacity: 1}
}

@keyframes slideIn {
  from {bottom: -300px; opacity: 0}
  to {bottom: 0; opacity: 1}
}

@-webkit-keyframes fadeIn {
  from {opacity: 0} 
  to {opacity: 1}
}

@keyframes fadeIn {
  from {opacity: 0} 
  to {opacity: 1}
}

        /* Modal Content */
        .modal-content {
            background-color: #fefefe;
            margin: auto;
            padding: 20px;
            border: 1px solid #888;
            width: 80%;
            position: relative !important;
        }

        /* The Close Button */
        .close {
            color: #aaaaaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
        }

        .close:hover,
        .close:focus {
            color: #000;
            text-decoration: none;
            cursor: pointer;
        }

#bio_text_2 {
  background-color: #E2E2E2;
}

.homewrap h2 {
  color: #fff !important;
}
h2, h3 {
  font-family: 'Kanit', sans-serif !important;
  color: #00ADBB !important;
}

#ourpurpose {
  background-image: url('/wp-content/themes/dhm/img/cityofmarianna_drama.jpg');
  background-size: cover;
}

#centermeplease {
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.purpose_innards {
  background-color: rgba(255,255,255,.93);
  width: 100%;
  min-height: 215px;
  padding: 20px; 
  margin-bottom: 20px; 
}

.purpose_innards h3 {
  font-family: 'Kanit', sans-serif !important;
  color: #00ADBB;
}

.btn a, .rmbtn a {
  background-color: #00ADBB;
  display: block;
  width: 100%;
  padding: 10px 0;
  color: #fff;
  text-decoration: none;
}

.rmbtn a:hover {
  background-color: #393839 !important;
  text-decoration: none;
  color: #fff;
}


.rmbtn a {
  text-align: center;
  text-transform: uppercase;
  font-family: 'Kanit', sans-serif !important;


}

.btn, .rmbtn {
  width: 100%;
}

.rmbtn {
  margin-bottom: 100px;
}

.kanit {
  font-family: 'Kanit', sans-serif !important;
}

#partners img {
  width: 170px;
}

#compart {
  background-color: #fff;
  width: 100%;
  color: #393839;
  min-height: 300px;
  margin-top:24px;
}

#compart h3 {
  font-size: 18px;
}

#page-body-wrapper p a {
  color: #00adbb !important;
  text-decoration: underline;
}

#page-body-wrapper p a:hover {
  color: #00adbb !important;
  text-decoration: none;
}



html {
	margin-top: -10px;
}

#community {
  background-color: #393839;
  color: #fff;
}

/*#pollsliderwrap {
  position: relative;
}

.pollSlider{
    position:fixed;
    height:100%;
    background:red;
    width:200px;
    right:0px;
    margin-right: -200px;
}
#pollSlider-button{
    position:fixed;
    width:100px;
    height:50px;
    right:0px;
    background:green;
    top:300px;
}*/

/* Style the buttons that are used to open and close the accordion panel */

#accord_border {
  margin: 60px 0;
  border-top: 2px solid #393839 !important;
  border-bottom: 2px solid #393839 !important;
}


.accordion {
margin-top: 120px;
  color: #444;
  cursor: pointer;

  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
 
/*  -webkit-box-shadow: 0px 0px 9px -2px rgba(0,0,0,0.5);
-moz-box-shadow: 0px 0px 9px -2px rgba(0,0,0,0.5);
box-shadow: 0px 0px 9px -2px rgba(0,0,0,0.5);*/
}


.acco_int {
  min-height: 375px;

  
}
.acco_int img.wp-post-image {  
  float: left;
  
  width: 40%;

  padding-right: 30px !important;
  margin: 20px 0 20px 0;
}

#bio_title p.intro-content {
  font-size: 18px !important;
  /*font-weight: bold !important;*/
  font-family: 'Kanit', sans-serif !important;
}

.biobtn {
 width: 100%;
/* width: 100%;*/
float: right;
 
  padding: 10px 20px;
  color: #393839;
  background-color: #eee;

   text-transform: uppercase;
  font-family: 'Kanit', sans-serif !important;
}

.biobtn:hover {
  background-color: #eee;
}

/*.biobtn:after {
  left: 100%;
  top: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(57, 56, 57, 0);
  border-left-color: #393839;
  border-width: 15px;
  margin-top: -15px;
}*/

/*.accordion:after {
  content: '\002B';
  color: #777;
  font-weight: bold;
  float: right;
  margin-left: 5px;
  font-size: 30px;
  position: absolute;
  bottom: 0;
  right: 11%;
}
*/

#plus {
	height: 20px;
	display: inline-block;
  float: right;
}
/*.active:after {
  content: "\2212";
}*/

.accordion h3 {
  text-transform: uppercase;
  font-family: 'Kanit', sans-serif !important;
  font-size: 22px;
}

.accordion h3::after {
  content: '';
  border-bottom: 6px solid #00ADBB;
  display: block;
  width: 100px;
  
  padding-top: 20px;

}

.acco_bio {
  width: 55%;
  padding-top: 40px;
  float: right;
  min-height: 400px;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
/*.accordion:hover {
  background-color: #eee;
}*/

/* Style the accordion panel. Note: hidden by default */
.panel {
  padding: 0 20px;
  background-color: #ffffff;
  max-height: 0;
  color: #393839;
  padding-left: 40px;
  padding-right: 40px;
  /*position: absolute;*/
  top: 100%;
  left: 40px;
  right: 40px;
  z-index: 9999;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  background-color: #eee;
  width: 100%;


}



.panel p {
  margin-top: 20px; 
}


#biocopy {
  display: none;
  background-color: #00ADBB;
  transition: 1s;

}

.bio_image {
  width: 100%;
  margin: 0 auto;
}

.bio_full:hover #biocopy {
  display: block;
  transition: 1s;
}

.bio_full {
  width: 30%;

}
body {
  width: 100%;
  height: 100%;
}

p {
	font-family: 'Roboto', sans-serif;
}

h2 {
  font-family: 'Kanit', sans-serif !important;
  text-transform: uppercase;

}

h1 {
  font-family: 'Kanit', sans-serif !important;
  text-transform: uppercase;
  color: #00ACBB;
  font-size: 2.5rem !important;
}

h1::after {
  content: '';
  border-bottom: 6px solid #00ADBB;
  display: block;
  width: 100px;
  
  padding-top: 20px;

}

article {
  border-bottom: 0 !important;
}

.slideout-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 256px;
  min-height: 100vh;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  z-index: 0;
  display: none;
}

.slideout-menu-left {
  left: 0;
}

.slideout-menu-right {
  right: 0;
}

.slideout-panel {
  position: relative;
  z-index: 1;
  /*will-change: transform;*/
  background-color: #FFF; /* A background-color is required */
  min-height: 100vh;
}

.slideout-open,
.slideout-open body,
.slideout-open .slideout-panel {
  overflow: hidden;
}

.slideout-open .slideout-menu {
  display: block;
}


.menu-menu-1-container {
	position: absolute;
	top: 0;
}


.toggle-button {
	display: none;
	position: absolute;
	top: 50px;
	left: 50px;
	z-index: 9999999999;
	font-size: 35px;
	color: #fff;
}

.toggle-button:hover {
	cursor: pointer;
}

.desktopnav {
	padding: 20px 0 !important;
	position: absolute;
	margin: 0 auto;
	background-color: transparent !important;
  width: 100%;
  z-index: 99999999;

}

#wpadminbar {
  position: absolute;
  z-index: 9999999999 !important;
}


.homewrap {
  padding: 0 !important;
  margin-top: 0 !important;
  background-size: cover;

}

.homewrap .entry-title {
  display: none;
}

li.menu-item-has-children ul {
  display: none;
 position: absolute;
 padding-left: 0;
 margin-left: 0;
 transition: .5s;
 -webkit-box-shadow: 0px 0px 11px 0px rgba(0,0,0,0.4);
  -moz-box-shadow: 0px 0px 11px 0px rgba(0,0,0,0.4);
  box-shadow: 0px 0px 11px 0px rgba(0,0,0,0.4);
  background-color: #fff;
  z-index: 999999;
}

li.menu-item-has-children ul:before {
  content: '';
  position: absolute;
  top: 0;
  left: 21%;
  width: 0;
  height: 0;
  border: 15px solid transparent;
  border-bottom-color: #00aabb;
  border-top: 0;
  margin-left: -15px;
  margin-top: -15px;

    }

li.menu-item-has-children ul li a {
  background-color: #fff;
  display: block !important;
  padding: 8px 20px !important;
}

li.menu-item-has-children ul.sub-menu .menu-item {
  float: none !important;
}


li.menu-item-has-children:hover > ul  {
 display: inherit;
 transition: .5s;
}

ul#menu-menu-2 li a, ul#menu-menu-1 li a {
	padding: 20px;
	font-family: 'Kanit', sans-serif;
	text-transform: uppercase;
	color: #000;

	
}
ul#menu-menu-2 li a { color: #fff; }
ul#menu-menu-2 li li a { color: #000; }

ul#menu-menu-1 {
	margin-top: 100px;
}

 ul#menu-menu-1 li  { 
 	display: block;
 	float: none;
 	margin: 15px 0;
 }

 ul#menu-menu-1 li a { 
 	display: block;
 	width: 100%;
 }

 ul#menu-menu-1 li a:active, ul#menu-menu-1 li a:focus, ul#menu-menu-1 li a:hover  { 
 	text-decoration: none;
 }

 ul#menu-menu-1 li a:active, ul#menu-menu-1 li a:focus {
 	background-color: #00ACBB;
 	color: #fff;
 }

ul#menu-menu-2 {
	margin-top: 20px;
}



ul#menu-menu-2 li a {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px transparent;
  position: relative;
  overflow: hidden;
}
ul#menu-menu-2 li a:hover {
	text-decoration: none;
}
ul#menu-menu-2 li a:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  right: 50%;
  bottom: 0;
  background: #00ACBB;
  height: 4px;
  -webkit-transition-property: left, right;
  transition-property: left, right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
ul#menu-menu-2 li a:hover:before, ul#menu-menu-2 li a:focus:before, ul#menu-menu-2 li a:active:before {
  left: 0;
  right: 0;
  text-decoration: none;
}

.navbar-brand {
	margin-right: 0 !important;
}

.homecopy img.wp-post-image {
	display: none;
}

.homecopy h2 {
  position: absolute;
  color: #fff;
  font-size: 42px;
  bottom: 15px;
  right: 0px;
  text-align: right;
  line-height: 38px;
  padding-bottom: 20px;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 1);

}

.homecopy h2::after {
  content: '';
  border-bottom: 6px solid #00ADBB;
  display: block;
  width: 100px;
  position: absolute;
  right: 0;
  padding-top: 20px;



}


.homecopy {
  height: 75vh;
  position: relative; 
  z-index: 999999;

}

#introcopy p {
  line-height: 36px;
}

.featuredp {
  text-align: center;
  margin-top: 100px !important;
  
}

.featuredp h2, .exec h2, .team h2 {
  font-size: 2rem !important;
  letter-spacing: 1.5px;
  color: #393839 !important;
}

.exec h2 { 
  margin-bottom: 75px;
}

.team h2 {
  margin-top: 100px;
}

.featuredp h2::after, .exec h2::after, .team h2::after {
  content: '';
  border-bottom: 6px solid #00ADBB;
  display: block;
  width: 100px;
  position: absolute;
   left: 0;
    right: 0;
    margin: 0 auto;
  padding-top: 20px;

}

.projects {
  background-image: url('/wp-content/themes/dhm/img/greybg.jpg');
  background-size: cover;
  background-position: top;
}



.siema {
/*  -webkit-box-shadow: 0px 0px 11px 0px rgba(0,0,0,0.4);
  -moz-box-shadow: 0px 0px 11px 0px rgba(0,0,0,0.4);
  box-shadow: 0px 0px 11px 0px rgba(0,0,0,0.4);
  background-color: #fff;*/
  
}

.lefthalf {
  width: 60%;
  float: left;
  padding: 40px 30px 0 30px;

}

.lefthalf p, .lefthalf p.intro-content {
  font-size: 14px !important;
  line-height: 24px !important;
}

.righthalf {
  width: 40%;
  float: right;
  text-align: right;
 
}

h3#slidetitle {
  padding: 30px;
}

#pdate {
 width: 50%;
  position: absolute;
  left: 0;
  bottom: 0;
  right: 50%;
  text-align: center;
  background-color: #393839;
  border: 2px solid white;
  color: #fff;
  padding: 30px 0 20px 0;
}

#ploc {
  width: 50%;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 50%;
  text-align: center;
  background-color: #393839;
  border: 2px solid white;
  color: #fff;
  padding: 30px 0 20px 0;

}

.sliderint {
  min-height: 777px;
  position: relative;
  background-color: #fff;

}

.sliderint h4 {
  color: #00ADBB;
   font-family: 'Kanit', sans-serif;
  text-transform: uppercase;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

p.intro-content {
  font-size: 1rem !important;
  color: #52595e !important;
}

.myrow {
  width: 100%;
  display: block;
  clear: both;
}

img.wp-post-image {
  border-bottom: 0 !important;
  border-top: 0 !important;
  padding: 0 !important;
}

.clear {
  display: block;
  clear: both;
}


h3#slidetitle {
  font-family: 'Kanit', sans-serif;
  text-transform: uppercase;
  color: #00ADBB;
}

h3#slidetitle::after {
  content: '';
  border-bottom: 6px solid #393839;
  display: block;
  width: 100px;
  
  padding-top: 20px;

}

.lefthalf p {
 
  line-height: 30px;
}

.prev {
  position: absolute;
  left: 0;
  top: 45%;
  font-size: 36px;
  color: rgba(0,0,0,.13);
}

.prev:hover, .next:hover {
  cursor: pointer;
}

.next {
  position: absolute;
  right: 0;
   top: 45%;
  font-size: 36px;
  color: rgba(0,0,0,.13);
}

.testimonials {
  background-image: url('/wp-content/themes/dhm/img/testimonialsbg.jpg');
  background-size: cover;
  background-attachment: fixed;
}

.testimonials h2 {
  font-size: 2rem !important;
  color: #52595e !important;
}

.testimonials h2::after {
  content: '';
  border-bottom: 6px solid #fff;
  display: block;
  width: 100px;
  position: absolute;
   left: 0;
    right: 0;
    margin: 0 auto;
  padding-top: 20px;

}

.testimonials p, .testimonials .fas {
  color: #fff;
}

.testimonials .fas {
  margin-bottom: 30px;
}

#wrapper-footer {
  background-color: #393839 !important;
}

#wrapper-footer h3.widget-title {
  font-family: 'Kanit', sans-serif;
  text-transform: uppercase;
  color: #00ADBB;
  font-size: 16px;
     margin-bottom: 42px;
}

#page-wrapper img.wp-post-image, #page-body-wrapper img.wp-post-image {
  display: none;
}

#int-page-wrapper {
  height: 30vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2)),  url('/wp-content/uploads/2026/09/pilotproject_drama_short.jpg');
  background-size: cover;
  background-position: bottom;
}




#wrapper-footer h3.widget-title::after {
  content: '';
  border-bottom: 6px solid #fff;
  display: block;
  width: 60px;
  position: absolute;
   left: 40px;



  padding-top: 20px;

}

.textwidget p, .textwidget a {
  color: #fff;
  font-size: 14px;
}

.textwidget a:hover {
  color: #00ADBB;
}

#page-title {
  margin-top: -150px;
  background-color: #fff;
  padding-top: 60px;
}

.servicebtnwrap {
  border-bottom: 10px solid #393839;
  background-color: #fff;
  -webkit-box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.29);
-moz-box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.29);
box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.29);
/*  height: 200px;
*/
vertical-align: middle;
transition: .2s;
 -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  text-align: center;
  position: relative;
  z-index: 2222;
  display: table;
  width: 100%;
  margin-bottom: 30px;
  transition: .2s;
}


/*
.servicebtnwrap:before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  right: 50%;
  bottom: -10px;
  background: #00ACBB;
  height: 10px;

  -webkit-transition-property: left, right;
  transition-property: left, right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

.servicebtnwrap:hover:before, .servicebtnwrap:focus:before, .servicebtnwrap:active:before {
  left: 0;
  right: 0;
  text-decoration: none;
}*/


p.services-square  {
  
  font-size: 22px;
  display: table-cell;
  height: 200px;
  color: #00ADBB;
  vertical-align: middle;
  font-family: 'Kanit', sans-serif;
  font-weight: 600;

}

p.services-square a {
  color: #00ADBB;
  display: block;
  padding: 60px 0;
}

.servicebtnwrap {
/*  margin-bottom: 30px;*/
}

.servicebtnwrap {
  margin-top: 40px;
}



.servicebtnwrap:hover {
  background-color: #393839;
  color: #fff;
  transition: .5s;
  transition-delay: 0 !important;
   border-bottom: 10px solid #00ACBB;
}

p.services-square a:hover {
  color: #fff;
  text-decoration: none;
  transition: .5s;
  transition-delay: 0 !important;
}

.services {
  background-image: url('/wp-content/themes/dhm/img/greybg.jpg');
  background-size: cover;
  background-position: top;
  padding-top: 0 !important;
}

/*.services-intro {
  margin: 100px 0;
}
*/
.row {
  margin: 8px -16px;
}

/* Add padding BETWEEN each column (if you want) */
.row,
.row > .column {
 
}

/* Create three equal columns that floats next to each other */
.column {
  float: left;
  width: 32%;
  margin-left: 12px;
  display: none; /* Hide columns by default */
  min-height: 350px;
}
 
/* Clear floats after rows */ 
.row:after {
  content: "";
  display: table;
  clear: both;
}



/* The "show" class is added to the filtered elements */
.show {
  display: block;
 /* transition: 1s;*/
}

.portitem {
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;
    
}

.portitem p {
  color: #fff;
}

.portitem p.intro-content {
  color: #fff !important;
}

.portitem .btn a, .portitem .btn {
  background-color: #00ADBB;
  border: none;
  color: #fff;
  border-radius: 20px;
  padding: 10px 20px;
}


.portitem .btn a:hover, .portitem .btn:hover {
  background-color: #04808A;
  border: none;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
}

.hiddenpanels .btn {
  background-color: red;
  border: none;
  color: #fff;
  border-radius: 20px;
  padding: 10px 15px;
  position: absolute;
  top: 10px; right: 10px;

}

.hiddenpanels .btn:hover {
  background-color: darkred;
  border: none;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  

}



.content h4 {
  font-family: 'Kanit', sans-serif;
  color: #00ADBB;
  text-transform: uppercase;
}



.content {

    background-color: rgba(82,89,94,.9);
    color: #fff;

    min-height: 300px;
    padding: 20px;
    position: absolute;
  bottom: 0;
  top: 100%;
  -webkit-transition:top .3s ease;
       -moz-transition:top .3s ease;
        -ms-transition:top .3s ease;
         -o-transition:top .3s ease;
            transition:top .3s ease;
    visibility: hidden;
    overflow: hidden; 


  
}

.portitem:hover > .content {
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  visibility: visible;


}

/*.portitem:hover > .content {
  visibility: visible;
    /*transition: opacity .5s;


}*/

#portfolio-wrapper .btn, .filterwrap .btn {
  width: auto;
}

#myBtnContainer {
  margin-bottom: 40px;
}

#myBtnContainer .btn {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px transparent;
  position: relative;
  overflow: hidden;
  font-family: 'Kanit', sans-serif;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-bottom: 30px;
  background-color: transparent;
  color: #fff;

}
#myBtnContainer .btn:hover {
  text-decoration: none;
}
#myBtnContainer .btn:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  right: 50%;
  bottom: 0;
  background: #00ACBB;
  height: 4px;
  -webkit-transition-property: left, right;
  transition-property: left, right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
#myBtnContainer .btn:hover:before, #myBtnContainer .btn:focus:before, #myBtnContainer .btn:active:before, #myBtnContainer .btn:active {
  left: 0;
  right: 0;
  text-decoration: none;
}



#hide1, #hide2, #hide3 {
  display: none;
  transition: 1s;
}

.hiddenpanels {
  position: absolute;
  background-color: rgba(255,255,255,1);

  width: 70%; 
  right: 15%;

  padding: 40px 20px;
  z-index: 9999;
  -webkit-box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.57);
-moz-box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.57);
box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.57);

}

.hiddenpanels h4 {
 font-family: 'Kanit', sans-serif;
  text-transform: uppercase;
  color: #00ACBB;
  }


.hiddenpanels img {
  width: 100%;
}

#service_details {

  color: #fff;
}

#service_details h2 {
  color: #00ADBB;
  font-size: 32px;
  margin-bottom: 75px;
}

#service_details h2::after {
  content: '';
  border-bottom: 6px solid #fff;
  display: block;
  width: 60px;
  position: absolute;
   left: 40px;



  padding-top: 20px;

}

#service_details ul li {
  background-color: #ddd;
  color: #393839;
  padding-left: 20px;
  padding: 15px 15px 10px 10px;
  line-height: 20px;

}

#service_details ul li:nth-child(odd) {
  background-color: #eee;
}

#service_details ul {
  list-style-type: none;
  padding-left: 0;
  margin-left: 0;
}

#service_details ul li::before {

}

#service_details {
  background-image: url('/wp-content/themes/dhm/img/servicesbg.jpg');
  background-size: cover;
}


  .portfolio_mobile {
    display: none;
  }

.mobile_title {
  display: none;
}


.biophoto {
  height: 350px;
  width: 40%;
  float: left;
  background-size: cover;
  background-position: center !important;

}
 

  .mobilehider {
    display: none !important;
  }




@media (min-width: 1700px) {

  .acco_int {
    min-height: 400px !important;
  }

/*  .accordion:after {
    right: 9%;
  }*/

  .acco_int img.wp-post-image { 
    
    width: 22%;
  }
}



 @media (min-width: 1300px) {

    .acco_int {
    min-height: 350px !important;
  }
 }

 @media (min-width: 1200px) {
    .acco_int {
    min-height: 288px;
  }

  .accordion h3 {
    font-size: 28px;
  }

 /* .accordion:after {
    right: 9%;
  }*/
 }



@media (max-width: 1200px) {

  #compart {
    min-height: 390px;
  }
  .sliderint {
  min-height: 895px;}

  .acco_int img.wp-post-image {
  float: none;
  margin: 0 auto;
  width: 45%;
  padding-right: 0 !important;
  }

  .acco_int {
    text-align: center;
    min-height: 300px;
  }

  .acco_int h3 {
    margin-top: 30px;
  }

  .accordion h3::after {
    margin: 0 auto;
  }

/*  .accordion:after {
    right: 9%;
  }*/

  .acco_bio {
    float: none;
    margin: 0 auto;
    width: 100%;
    min-height: 0;
  }

    .toggle-button {
    display: inherit;
  }

  .desktopmenu {
    display: none;
  }

  #logowrapper {
    text-align: center;
    z-index: 1;
    width: 100%;
  }




}

@media (max-width: 991px) {

   .portofliomodal_content {
    top: 0;
    position: relative !important;
    bottom: 0;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
  }


  #compart img.wp-post-image {
    width: 30%; 
    margin: 0;
  }

  #compart {
   margin: 10px auto;
   width: 55%;
   min-height: 0;
  }

  #portfoto {
    width: 75%;
    margin: 20px auto;

  }

  .column {
    width: 100%;
    margin-bottom: 15px;
  }

  .sliderint {
  min-height: 1000px;
  }

  .righthalf {
    float: none;
    text-align: center;
    width: 100%;   
  }

  .righthalf img {
    width: 100%;
  }

  .lefthalf {
    width: 100%;
    padding: 10px 30px 0 30px;
  }



	#logowrapper {
		text-align: center;
		z-index: 1;
	}

  .homewrap {
    
    background-size: cover;
    background-position: bottom;
  }

  .homecopy {
    min-height: 60vh;
  }

  .homecopy h2 {
    text-align: center;
    left: 0;
    right: 0;
    font-size: 32px;

  }

  .homecopy h2::after {
    left: 0;
    right: 0;
    margin: 0 auto;
  }

  .acco_int img.wp-post-image {
  float: left;
  margin: 0 !important;
  width: 25%;
  padding-right: 20px !important;
  height: auto;
  }

    .acco_int h3 {
      font-size: 22px;
      line-height: 22px;
    }

    .acco_int {
      min-height: 195px;
      text-align: left;
    }

 

    .biobtn {
      width: 100%;
    } 

    .acco_bio {
      padding-top: 10px;
      width: 75%;
      float: right;
    }

 /*   .accordion:after {
      right: 10%;
    }*/

     .accordion h3::after {
    margin-left: 0;
  }

  .content {
    position: absolute !important;
    width:100%;
    height: auto;
    min-height: 1px;
    display: block;
    visibility: visible;
    top: 0 !important;
    bottom: auto !important;
    text-align: center;
  }
  
}

@media (max-width: 768px) { 



  .content {
    position: absolute !important;
    width:100%;
    height: auto;
    min-height: 1px;
    display: block;
    visibility: visible;
    top: 0 !important;
    bottom: auto !important;
    text-align: center;
  }

  .sliderint {
    width: 100% !important;
    min-height: 0;
    height: auto;
  }


  .wp-block-column {
    flex-basis: auto !important;
    width: 100% !important;
  }

  .page-id-40 .has-3-columns {
    margin-top: 0 !important;
  }

  .wp-block-column:nth-child(2n) {
    margin-left: 0 !important;
  }

  #wrapper-footer {
    text-align: center;
  }

  #logo {
    margin-bottom: 30px;
  }

  #wrapper-footer h3.widget-title::after {
  content: '';
  border-bottom: 6px solid #fff;
  display: block;
  width: 60px;
  position: absolute;
   left: 0;
   right: 0;
   margin: 0 auto;
  padding-top: 20px;

  }

   #wrapper-footer p {
    margin-bottom: 30px;
   }

 .purpose_innards {
    min-height: ;
  }
  .portofliomodal_content {
    top: 0;
    position: relative !important;
    bottom: 0;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
  }
  

}

@media (max-width: 768px) and (min-width: 576px) {
  .homecopy {
    height: 80vh;
  }
} 

@media (max-width: 575px) {
  .homecopy {
    height: 70vh;
  }

  .portofliomodal_content {
    top: 0;
    position: relative !important;
    bottom: 0;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
  }



  /*.modal {
    display: block !important;
    position: relative !important;

  }

  .close {
    display: none;
  }

  .portofliomodal_content {
    position: relative !important;
    

  }

  .borderme {
    border: 1px solid #000;
  }

  .mobilehider {
    display: inherit !important;
  }

  .desktophider {
    display: none !important;
    visibility: hidden;
  }*/
  .show {
    display: block;
  }
 
  .purpose_innards {
    min-height: ;
  }

 
  /*.close {
    display: none;
  }

 .modal {
  position: relative !important;
  padding-top: 0 !important;
  background-color: #fff;
 }

  .portofliomodal_content {
  background-color: #fefefe;
   
   

  position: relative !important;
  
  padding: 40px;
}
   */


  #myBtnContainer .btn {
    display: block;
    margin: 0 auto;
  }

  #myBtnContainer .btn {
  
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px transparent;
  position: relative;
  overflow: hidden;
  font-family: 'Kanit', sans-serif;
  text-transform: uppercase;
  margin-bottom: 0px;
  padding-bottom: 15px;
  background-color: transparent;
  color: #fff;

}

  .column {
    width: 90%;
    margin: 15px auto;
    margin-bottom: 15px;
  }


    #pdate, #ploc {
      width: 100%;
      display: block;
      position: relative;
      left: 0;

    }

    #ploc {
      bottom: 0;
    }

    .sliderint {
     min-height: 0;
     height: auto; 
     width: 100% !important;
    }

    .acco_int {
      text-align: center;
    }

    .acco_int img.wp-post-image {
      width: 50%;
      float: none;
      margin: 0 auto !important;
    }

    .acco_bio {
      width: 100%;
    }

    .accordion h3::after {
    margin: 0 auto;
  }

  .mobile_title {
  display: block;
  text-align: center;
  margin: 10px auto 50px auto;

  }

  .mobile_title .myBtn_multi {
    background-color: #00ADBB;
  }

  .mobile_title h4 {
    font-family: 'Kanit', sans-serif;
    color: #00ADBB;
    text-transform: uppercase;
  }
    .content {
    position: absolute !important;
    width:100%;
    height: auto;
    min-height: 1px;
    display: block;
    visibility: visible !important;
    top: 0 !important;
    bottom: auto !important;
    text-align: center;
  }
  .homecopy h2 {
  	font-size: 22px;
  	line-height: 26px;
  }

}




