/*!
Theme Name: hinata64
Theme URI: http://underscores.me/
Author: Suman Shrestha
Author URI: https://sumanshresthaa.com.np
Description: A custom theme for Hinata Japanese School by Suman Shrestha
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: hinata64
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

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

hinata64 is based on Underscores https://underscores.me/, (C) 2012-2020 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 https://necolas.github.io/normalize.css/
*/


/* 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;
	display: grid;
	grid-gap: 1.5em;
}

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

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.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;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

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

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

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




.custom-logo-link {
    float: left;
    display: block;
}
img.custom-logo {
    height: 70px;
    width: auto;
}

.header_upper_one_box .logo h1 {
    display: none;
}
.logo-box .logo {
    float: left;
}
.logo-box h1 {
    float: left;
    margin-left: 15px;
    font-size: 20px;
    font-weight: 800;
    margin-top: 25px;
    width: 200px;
}


.main-menu .navigation .dropdown-btn {
  position: absolute;
  top: 38%;
  right: -18%;
}

.fixed-header .sticky-header .logo img {
    /*width: 40px;*/
}
.fixed-header .sticky-header .main-menu .navigation {
    margin: 0px;
}
.main-menu .navigation>li>ul>li>a.no-sub-menus:hover {
    text-decoration: none;
}

.services_block {
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.service-details-sidebar img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}



.highlights {
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f8f8f8;
    padding: 15px 20px;
    margin-bottom: 15px;
}
.highlights:hover {
    border: 1px solid #ccc;
    background: #fff;
}


.portfolio-one-img-box img{
	border-radius: 5px;
}


.contact_form {
    background: #fbeac6;
    border-radius: 5px;
    padding: 25px;
}
.contact_form input {
    font-size: 13px;
    padding: 15px 25px;
}
.contact_form textarea {
    font-size: 13px;
    padding: 15px 25px;
}


.navigation.post-navigation {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 15px 0;
    margin-top: 30px;
    overflow: hidden;
}
.navigation.post-navigation .nav-links .nav-previous {
    float: left;
    width: 50%;
}
.navigation.post-navigation .nav-links .nav-next {
    float: right;
    width: 50%;
    text-align: right;
}
.navigation.post-navigation .nav-links .nav-subtitle {
    display: block;
    color: #777;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}
.navigation.post-navigation .nav-links .nav-title {
    font-size: 14px;
    letter-spacing: -0.3px;
}
.navigation.post-navigation .nav-links a:hover{color: #c00;}






.not-found {
    text-align: center;
}
.not-found h1.page-title {
    font-size: 50px;
    font-weight: 900;
    text-transform: uppercase;
    color: #c00;
}
.not-found p {
    font-size: 27px;
    font-weight: 200;
    margin: 30px;
}
.not-found form.search-form label {
    width: 40%;
}
.not-found form.search-form label .search-field {
	border: 1px solid #999;
    width: 100%;
    padding: 14px;
}
.not-found form.search-form .search-submit {
    border: 1px solid #333;
    background: #333;
    color: #fff;
    padding: 15px 25px;
}
.not-found form.search-form .search-submit:hover {
    background: #fff;
    color: #333;
}



.footer_logo .custom-logo-link {
    float: none;
    clear: both;
    margin-bottom: 25px;
}
.footer_logo img.custom-logo {
    width: auto;
    height: 100px;
}
.social_links_1 {
    margin-bottom: 30px;
}
.footer_blocks p, .footer_blocks a {
    color: #eee;
}
.footer_blocks a:hover{color: #c00;}

.footer-widget-useful-links-list.list-unstyled.w_custom li {
    display: inline-block;
    width: 48%;
}

.footer-bottom a { color: #fff;}
.footer-bottom a:hover { color: #c00;}