/*!
Theme Name: Annex
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
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: healthcare
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.

healthcare 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/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/


.top-news li {
	border-bottom: 1px solid #dddddd;
	padding: 8px 0;
}
.top-news li a {
	color: #000;
	text-decoration: none;
}
.top-news li a:hover {
	color: #047FDC;
	text-decoration: underline;
}
.company-logo {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.company-logo li {
	width: 210px;
	border:1px solid #bbbbbb;
	margin: 0 0 14px;
	position: relative;
	height: 80px;
}
@media screen and (max-width: 768px) {
	.company-logo li {
		width: 48%;
		border:1px solid #bbbbbb;
		margin: 0 0 14px;
		position: relative;
		height: 80px;
	}
}
#mainContents div.contents .company-logo a {
	display:block;
	width: 100%;
	height: 100%;
}
#mainContents div.contents .company-logo img {
	display: block;
	margin: auto;
	max-width: 120px !important;
	max-height: 100px;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	height: auto !important;
}

.contents-right {
	width:690px;
	float: left;
}
@media screen and (min-width: 768px) and (max-width: 959px) {
	.contents-right {
	    width: 70%;
	}
	article#mainContents.hasSub {
	    width: 100% !important;
	}
	.company-logo li {
	    width: 30%;
	    border: 1px solid #bbbbbb;
	    margin: 0 0 14px;
	}
}
#mainContents {
	position:relative;	
}
.booklet-btn {
	position:absolute;
	top: -6px;
	right:0px;
}
.booklet-btn a {
	font-weight: 600;
	background: #ee5354;
	color:#fff;
	padding:8px;
	border-radius:5px;
}
.booklet-btn img {
	width:15px;
	margin: -3px 6px 0 0;
}
.booklet {
	display:flex;
	justify-content: space-between;

}
.booklet-image {
	width:160px;
}
.booklet-image img {
	border:0.5px solid #999;
}
.booklet-text {
	width: calc(100% - 180px);
}
#mainContents div.booklet h4 {
	width: 100%;
	height: auto;
	line-height: 0;
	padding-left: 0;
	font-size: 20px;
	background: none;
	margin-top: 0 !important;
	margin-bottom: 15px;
	line-height: 1.25;
	font-weight: 800;
}
#mainContents div.booklet p {
    padding-left: 0;
    padding-right:0;
    line-height: 1.35;
    margin: 0 0 5px;
    text-indent: -3em;
    padding: 0 0 0 3em !important;
}
.order-btn {
	padding: 0 0 0 10px !important;

}
.order-btn a {
	font-weight: 600;
	background: #ee5354;
	color:#fff;
	padding:8px;
	border-radius:5px;	
}
.order-btn img {
	width:15px;
	margin: -3px 6px 0 0;
	display: inline !important;
}




.form-box {
	margin: 0 0 30px;
}
#mainContents div.contents .form-box p {
	padding: 0 0 0 20px;
	margin: 0 0 10px;
}
.form-box dl {
	padding:0 0 0 20px;
	margin: 0 0 10px;
}
.form-box dt {
	margin: 0 0 3px;
}

.form-box select {
	width: 100%;
	padding:12.5px 10px;
	border:1px solid #999;
	border-radius:5px;
}

.form-box input {
	width: 100%;
	padding: 10px 10px;
	border:1px solid #999;
	box-sizing: border-box;
	height: auto;
	border-radius:5px;
}
.form-box input#number-of-copies,
.form-box select#address1 {
	width:25%;
	width: 30%;
	padding:10px 10px;
	border:1px solid #999;
	box-sizing: border-box;
	height: auto;
	border-radius:5px;
}
.form-box .mwform-zip-field .p-postal-code {
	width: 12.8%;
}
.form-btn {
	padding:0 0 0 20px;
	margin:30px 0 0;
	display:flex;
	justify-content:space-between;
}
input.btn-confirm {
    font-weight: 600;
    background: #ee5354;
    color: #fff;
    padding: 11px 12px;
    border:0;
    border-radius: 5px;
}
input.btn-back {
    font-weight: 600;
    background: #999;
    color: #fff;
    padding: 8px 12px;
    border:0;
    border-radius: 5px;	
}
.mw_wp_form_confirm .form-box dd {
	border-bottom: 1px solid #999;
	padding: 5px 0 7px 0;
}


@media screen and (max-width: 768px) {
	.contents-right {
		width:100%;		
	}
	#mainContents div.contents h4 {
		width:100%;
		background-size: 100% auto;
	}
	.form-box {
		margin: 0 0 30px;
	}
	#mainContents div.contents .form-box p {
		padding: 0;
		margin: 0 0 10px;
	}
	.form-box dl {
		padding: 0;
		margin: 0 0 10px;
	}
	.form-box dt {
		margin: 0 0 3px;
	}
	.form-btn {
		padding:0;
		margin:30px 0 0;
		display:flex;
		justify-content:space-between;
	}
	.form-box input#number-of-copies,
	.form-box select#address1 {
		width:46%;
	}
	.form-box .mwform-zip-field .p-postal-code {
		width: 20%;
	}
}

#advps_container1,
#advps_container1 .bx-wrapper ,
#advps_container1 .bx-wrapper .bx-viewport {
	max-width: 1200px !important;
    margin: auto;
	height: 460px;
	background: #fff;
}
@media screen and (max-width: 768px) {
	#advps_container1,
	#advps_container1 .bx-wrapper ,
	#advps_container1 .bx-wrapper .bx-viewport {
		max-width: 100% !important;
	    margin: auto;
		height: auto;
		background: #fff;
	}
}
.required {
	color:#ee5354;
}
.eyecatch {
	width: 100%;
	height: auto;
	margin: 0 auto;
	padding: 20px;
	box-sizing: border-box;
}
.eyecatch img {
	width: 100%;
	height: auto !important;
}
@media screen and (max-width: 1199px) {
	.eyecatch {
		width:100%;
		height:auto;
	}
}
#advpsslideshow_7 {
	height: 460px;
}

.metaslider {
	width: 1200px !important;
	height: 460px;
	margin: 0 auto 40px;
}
@media screen and (max-width: 1200px) {
	.metaslider {
		width: 100% !important;
		height: auto;
		margin: 0 auto 40px;
	}	
}