/*
 Theme Name:   Flash Locationbank
 Description:  Flash Locationbank Custom
 Author:       HM Lambda
 Template:     flash
 Version:      1.0.0
 License: GNU General Public License v3 or later
 License URI: http://www.gnu.org/licenses/gpl-3.0.html
 Tags: one-column, two-columns, left-sidebar, right-sidebar, grid-layout, custom-background, custom-colors, custom-menu, custom-logo, featured-images, footer-widgets, full-width-template, theme-options, threaded-comments, translation-ready, blog, e-commerce
*/

/* theme custom */
/*--------------------------------------------------------------
Archive
--------------------------------------------------------------*/

.cp_location {
	margin-bottom: 40px;
	display: inline-block;
}

.cp_location .entry-thumbnail {
	float: left;
	margin-right: 30px;
	width: 33.7%;
}

#primary .cp_location .entry-content-block .entry-content {
	border: none;
}

.full-width-archive #primary .cp_location{
	margin-bottom: 50px;
	width: 100%;
}

.full-width-archive #primary .cp_location.has-post-thumbnail{
	margin-bottom: 0;
}

.full-width-archive #primary .cp_location .entry-thumbnail{
	width: 100%;
	float: none;
	margin-right: 0;
}

.full-width-archive #primary .cp_location .entry-thumbnail img {
	width: 100%;
}

.full-width-archive #primary .cp_location .entry-content-block {
	overflow: unset;
	width: 94%;
	position: relative;
	top: 0;
	padding: 20px 20px 0 20px;
	margin: 0 auto;
	background: #fff;
}

.full-width-archive #primary .cp_location.has-post-thumbnail .entry-content-block {
	overflow: unset;
	width: 94%;
	position: relative;
	top: -45px;
	padding: 20px 20px 0 20px;
	margin: 0 auto;
	background: #fff;
}

.grid-view #primary .cp_location {
	display: inline-block;
	margin-bottom: 30px;
	margin-right: 1%;
	vertical-align: top;
	width: 48%;
}

.grid-view #primary .cp_location .entry-thumbnail {
	width: 100%;
}

.grid-view #primary .cp_location .entry-content-block {
	position: unset;
	width: 100%;
}

/*--------------------------------------------------------------
Post Page
--------------------------------------------------------------*/
.cp_location {
	width: 100%;
}

.cp_location .entry-content-block .entry-meta a:hover,
.cp_location .entry-content-block .entry-meta span:hover{
	color: #30afb8;
}
.cp_location .entry-content-block .entry-footer span a:hover{
	color: #30AFB8;
}


/* add css */
.wp-custom-header{
    text-align:center !important;
    margin-bottom:2em;
}
#topCat{
    position:relative;
    top:0px;
    width:auto;
    margin:auto;
    background:#0092D7;
    padding:5px 0px;
}
#topCat ul{
    width:100%;
    margin:auto;
    text-align:center;
}
#topCat ul li {
    list-style:none;
    display:inline-block;
}
#topCat ul li a{
    margin:4px;
    padding:5px 10px;
    border-radius:5px;
    background:#FFF;
    text-align:center;
    display:block;
    min-width:120px;
    border:none;
    font-size:small;
    color:#0092D7;
}
#topCat .fa{
    margin-right:3px;
}
#topCat br{
    display:none;
}
.ml-slider{
    max-width:1600px;
    overflow:hidden;
}
th{
    background:#FAFAFA;
}
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"]{
    width:auto;
    max-width:96%;
}
#secondary{
    padding-top:1em;
}
@media (max-width: 767px) {
    .alignleft{
        float:none;
        text-align:center;
        width:100%;
    }
    th,td{
        display:block;
    }

    #secondary{
        border-top:4px solid #30afb8;
        background:#FAFAFA;
        padding:10px;
    }
    #topCat br{
        display:block;
    }
    #topCat ul li {
        list-style:none;
        display:inline-block;
        width:48%;
        margin:0.5%;
    }
    #topCat ul li a{
        margin:0px;
        padding:5px 10px;
        border-radius:0px;
        background:#FFF;
        text-align:center;
        display:block;
        min-width:auto;
        width:100%;
        border:none;
        font-size:small;
    }
    #topCat .fa{
        font-size:2em;
        margin-right:0px;
    }
}




.swiper-container {
    width: 100%;
    height: 300px !important;
    margin-left: auto;
    margin-right: auto;
}
.swiper-slide {
    background-size: cover;
    background-position: center;
}
.gallery-top {
    height: 300px;
    width: 100%;
}
.gallery-top .swiper-slide{
    height: 300px;
    width: 100% !important;
}
.gallery-thumbs {
    height: 20%;
    box-sizing: border-box;
    padding: 10px 0;
}
.gallery-thumbs .swiper-slide {
    width: 25%;
    height: 150px;
    opacity: 0.4;
}
.gallery-thumbs .swiper-slide-active {
    opacity: 1;
}

.tags{
    padding: 10px;
}

.tag {
    background: tan;
    color: white;
    font-size: 12px;
    padding: 5px;
}

body.tag {
    background: #fff;
    color: #333;
    font-size: 14px;
    padding: 0;
}

.search-condition input[type="checkbox"] {
    width: 20px !important;
}

.border-none-box {
    border: none !important;
}

.button-group {
    padding: 10px;
}

.link-button {
    background: black;
    color: white;
    padding: 10px;
}


.media .pull-left {
    display: none;
}
.media .ptitle {
    display: none;
}

.media .button {
    background-color: #21C5BD;
    color: #FFF;
    text-align: center;
    margin: 10px auto;
    border-radius: 2px;
    width: 13em;
    padding: 0.5em;
}

.media a {
    color: #FFF !important;
}

.page-numbers li {
    display: inline-block;
}

.tml {
    max-width: 100% !important;
}

/*--------------------------------------------------------------
mizuhashi追加
--------------------------------------------------------------*/
@media screen and (min-width: 768px) {
	.sp { text-align:center; }
}
@media screen and (max-width: 769px) {
	.sp { text-align:left; }
}
.fa-green {color: #a1e6a1}
.fa-skyblue {color: skyblue}