/*
Theme Name: Detox
Theme URI: http://underscores.me/
Author: Hwang Tae hyun
Author URI: http://haniwp.kr
Description: Bootstrap4, wordpress
Version: 1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: detox
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Detox is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
*/

/*  Korean Font - Noto Sans KR  */
@import url(//fonts.googleapis.com/earlyaccess/nanumgothic.css);
body,li,p,select,input,option,button,h1,h2,h3,h4,h5,h6 { font-family: 'Nanum Gothic', sans-serif !important; }
a { font-family: 'Nanum Gothic';} 

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/

a.nav-link {font-size:1rem}
a.nav-link.dropdown-toggle {font-size:1rem;}
.dropdown-menu {font-size: 0.9rem;}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33333%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66667%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28571%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11111%;
}

.gallery-caption {
	display: block;
}


/*
* My Custom CSS
*/

/* --------------------------------------
   Global Styles
   -------------------------------------- */
* {
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
}

a {
   text-decoration: none !important; 
}

p {
	line-height: 1.8rem;
}

img {
    max-width: 100%;
}

#scrolltoTop {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: rgba(255, 0, 0, 0.19);
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 10px;
}

#scrolltoTop:hover {
  background-color: rgba(255, 0, 0, 0.7);
}

.logged-in .navbar {
	top: 32px;
}

.kboard-avatar-poweredby {
  display: none;
}

/* --------------------------------------
   Layout
   -------------------------------------- */

.section-content {
    padding: 4rem 0;
}

/* Footer */
#footer-main {
   background-color: #efebd8;
}
.textwidget p {
  font-size: 0.85em;
  color:#b5b2a7;
}

/* Socket */

#socket {
   background-color: #ddd;
}

#socket .textwidget p {
  font-size: 0.9em;
}

/* == Home Page == */

/* Optin Section */
#optin {
   background: #3e4249;
   padding: 20px 0;
   color: white;
   -webkit-font-smoothing: antialiased;
   text-rendering: optimizelegibility;
}
#optin p {
   margin: 7px 0 0 0;
}

/* Clinic Box */
#clinic-box div.box-bg {
  background-color: #efebd8;
    /*background-repeat: no-repeat;
    background-position: 25% 70px;*/
}

.box-bg, .box-item {
   position: relative;
   border:1px solid #ddd;
   transition: 0.5s;
}

.box-bg:hover,
.box-item:hover {
    box-shadow: 0 0 8px rgba(0, 0, 0,.18), 0 8px 16px rgba(0, 0, 0,.36);
}

.box-txt {
   position: absolute;
   bottom: 10px;
   left: 10px;
}

/* Footer slide */
.slide-caption {
   background-color: rgba(255, 255, 255, 0.75);
   z-index: 3;
   padding-bottom: 5px;
}

.slide-caption:hover {
    box-shadow: 0 0 6px rgba(35, 173, 255, 1);
}

/* == Online Page == */



/* == Branch Page == */

.branch-info {
    border-top:1px solid #ddd;
    border-bottom:1px solid #ddd;
    padding: 7px 0;
}
.branch-info span {
  font-size: 0.95em;
}

/* Landscape Section */
/* #landscape {
   background: url(img/tile.jpg) repeat;
} */

.landscape .thumb {
   padding:0 !important;
}

.thumbnail img:hover {
   transform: scale(1.02);
   box-shadow: 0 0 7px rgba(0, 0, 0, 0.5);
}

div .parking-title {
  border-bottom: 1px solid #e4e4e4; 
  font-size: 1.8rem;
}

.parking-title span {
  border-bottom: 5px solid #5c3f1d;
}

/* Treatments Section */


/* Latest News Section */


/* How to Contact Section */
/* #howtoContact {
   background:url(img/mic.jpg) no-repeat;
   background-size: cover;
} */

.contact {
   background:rgba(0, 0, 0, 0.4);
}

/* == Blog Page == */


/* == Page == */
.cover-bg {
   position: relative;
}

/*.cover-bg::after {
   display: block;
   position: relative;
   background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0, #000000 100%);
   margin-top: -150px;
   height: 150px;
   width: 100%;
   content: '';
}*/

.cover-txt {
   position: absolute;
   bottom: 40px;
   left: 50%;
   transform: translateX(-50%);
}

.card-fadeInUp .list-group-item {
    margin-bottom: 0;
}

/* == Post == */

/*
.post-meta {
   clear: both;
   overflow: hidden;
   margin: 20px 0;
   padding: 5px 0;
   border-top: 1px solid #e7e6e6;
   border-bottom: 1px solid #e7e6e6;
}

.author-box {
   padding: 3rem;
}

.page-header {
   border-bottom: 1px solid #eee;
}

ul.breadcrumb {}
.breadcrumb {
   background-color:transparent !important;
}
*/


/* == Widget == */

.widget {
   /*padding: 10px;*/
   position: relative;
   margin-bottom: 2.5rem;
}

.widget h4 {
   margin: 0 0 10px;
   padding: 0 0 10px;
   border-bottom: solid 1px #ddd;
}

.widget ul {
   list-style: none;
   margin: 0;
   padding: 0;
}

.widget ul li {
   margin: 0 0 5px;
}

.widget ul li:hover {
   position: relative;
   left: 1px;
}

.regions {
  border: 5px solid black; 
  border-radius: 15px;
}

/* Tab */
/*
.tab-pane .single-post {
   min-height: 5rem;
   border-bottom: 1px solid #e0e0e0;
   margin-bottom: 1rem;
}

.tab-pane .single-post:last-of-type {
   border-bottom: none;
}

.post-data p,
.post-data h6 {
   font-size: 85%;
}
*/

/* == Social Icons == */

/*
.badge.social {
   background: #ccc;
   font-size: 24px;
   height: 40px;
   width: 40px;
   text-align: center;
   line-height: 42px;
   margin: 0 5px 20px 0;
   padding: 0;
   -webkit-border-radius: 50px;
   -moz-border-radius: 50px;
   border-radius: 50px;
   color: white;
}

.badge.social.twitter:hover {
   background: #55acee;
}

.badge.social.facebook:hover {
   background: #3b5998;
}

.badge.social.gplus:hover {
   background: #db4b39;
}

.badge.social.pinterest:hover {
   background: #bd081b;
}

.badge.social.instagram:hover {
   background: #bf35e2;
}

div.comment {
   width: 100%;
   height: 100px;
   border:1px dotted red;
}
*/

/* == Program Page == */
/*
.display-2 {
   font-size: 7rem;
   letter-spacing: -.5rem;
   color: #9c27b0;
}

.currency {
   font-size: 2.75rem;
   position: relative;
   font-weight: 400;
   top: -45px;
   letter-spacing: 0px;
}

.period {
   font-size: 1rem;
   color: #808080;
   letter-spacing: 0px;
}
*/

.address-info {
   position: absolute;
   height: auto;
   background-color: rgba(255, 255, 255, 0.75);
   z-index: 3;
}

.address-info-mobile {
   position: absolute;
   top: 300px;
   background-color: rgba(255, 255, 255, 0.75);
   z-index: 3;
}

#map {
   position: relative;
   top: 0;
   left: 0;
   width: 100%;
   height: 500px;
   overflow: hidden;
   display: block;
}

/* == SignUp Page == */

/*
.card-signup .header {
   border-radius: 5px 5px 0 0;
}
*/

/* == Portfolio Page == */



/* == Profile Page == */
.profile img {
   max-width: 160px;
}


/* --------------------------------------
   Typography
   -------------------------------------- */



/* --------------------------------------
   Navbar
   -------------------------------------- */
.navbar-brnad img {
   margin-right: 20px;
}

.btn-contact {
    margin-bottom: -1rem;
}

.navbar-inverse .navbar-nav .nav-link {
  color: rgb(255,255,255) !important;
}

/* --------------------------------------
   Carousel
   -------------------------------------- */
.carousel-item img {
   width: 100%;
   height: 100%;
}



/* --------------------------------------
   Media Queries
   -------------------------------------- */

/* ----------- iPhone 4 and 4S ----------- */
@media only screen and (max-width: 480px) {
   
}

/* ----------- iPhone 5 and 5S ----------- */
@media only screen and (min-width: 320px) and (max-width: 568px) {
   
}

/* ----------- iPhone 6 ----------- */
@media only screen and (min-width: 375px) and (max-width: 667px) { 

}

/* ----------- iPhone 6+ ----------- */
@media only screen and (min-width: 414px) and (max-width: 736px) { 

}

/* ----------- iPad 3 and 4 ----------- */
@media only screen and (min-width: 768px) and (max-width: 1024px) {

}


/* ----------- Landscape tablet to portrait small desktop ----------- */
@media only screen and (max-width: 991px) {
   
}

@media only screen (min-width: 992px) and (max-width: 1199px) {

}

/* ----------- Large Screens ----------- */
@media only screen and (min-width: 1200px) { 

}

/* == Portrait & landscape phone == */
@media (max-width: 575px) {
   
   .carousel-caption p {
      font-size: 12px;
   }
   
   .carousel-caption h3 {
      font-size: 18px;
   }

   .homeGallery {
      margin-top: 2rem;
   }

   .card {
      margin: 2rem;
   }

   img.profile-image {
      width:250px;
      height: 250px;
   }

   .cover-txt h2 {
      font-size: 1rem;
   }

   .cover-txt h1 {
      font-size: 1.5rem;
   }
   
   .box-bg {
       background-repeat: no-repeat;
       background-position: 120px bottom;
   }
    .btn-contact {
        margin-bottom: inherit;
    }

}

@media (min-width: 576px) and (max-width: 767px) {

   .cover-txt h2 {
      font-size: 1.2rem;
   }

   .cover-txt h1 {
      font-size: 1.8rem;
   }
    
    .btn-contact {
        margin-bottom: inherit;
    }

}

@media (min-width: 576px) {

   .tx-expenses {
      padding: 1.5rem;
      margin-right: 0;
      margin-bottom: 0;
      margin-left: 0;
      border-width: .2rem;
   }

}

@media (max-width: 600px) {
	.logged-in .navbar {
		top : 42px;
	}
	#wpadminbar { position: fixed;}
}

/* == Landscape phone to portrait tablet == */
@media (max-width: 768px) {
   
   .carousel-caption p {
      font-size: 16px;
   }
   
   .carousel-caption h3 {
      font-size: 22px;
   }

   .homeGallery {
      margin-top: 2rem;
   }

}

@media (max-width: 782px) {
	.logged-in .navbar {
		top: 46px;
	}
}

/* == Landscape tablet to portrait small desktop == */
@media (min-width: 769px) and (max-width: 991px) {

   .cover-txt h2 {
      font-size: 1.5rem;
   }

   .cover-txt h1 {
      font-size: 2.2rem;
   }
    .btn-contact {
        margin-bottom: inherit;
    }

}

/* == Large desktop == */
@media (min-width: 992px) and (max-width: 1199px) {

}


/* --------------------------------------
   Etc
   -------------------------------------- */
small.excerpt {
   height: 5rem;
}

.text-box {
   box-shadow: 0 0 8px rgba(0, 0, 0,.18), 0 8px 16px rgba(0, 0, 0,.36);
}

.kboard-default-poweredby {
	display: none;
}