/* Bootstrap & MDBで動きが良くない点をカスタマイズ */
.btn {
	text-transform: none;
}

/* POG用メイン部CSS設定 */
#btn-smartphone {
	font-size: .9rem;
	padding: .3rem 1rem;
}
#btn-fontsize-lg {
	font-size: .9rem;
}
#title {
	background-image: url("../../image/title.gif");
	background-repeat: no-repeat;
	width: 320px;
	height: 90px;
	color: #ff0000;
	font-size: 18px;
}
#title #title1 {
	height: 70%;
}
#title #title2 {
	height: 30%;
}
#home-card-01 {
	font-size: .9rem;
}
#mainform {
	margin: 0px 0px 0px 0px;
	background-image: url("../../image/background.gif");
	background-repeat: repeat;
	min-height: calc(100vh - 158px);
}
.pog-logininfo {
	font-size: .8rem;
}
#footer {
	/*	background-image: url(../image/backfooter.gif); */
	background-color: #8eb34f;
	background-repeat: repeat-x;
	height: 24px;
	padding-top: 1px !important;
}

/* 汎用テーブルスタイル				*/
table th, table td {
	height: .1rem;
}
table th a, table td a {
	padding: .55rem .3rem .45rem .3rem;
	text-decoration: none;
	display: block;
	width: 100%;
	height: 100%;
}
table th a:hover, table td a:hover {
	color: #fff;
	background-color: #0e700e;
}

/* オーナーテーブルスタイル			*/
#pog-ownertable.table th,#pog-ownertable.table td {
	font-size: .8rem;
}
#pog-ownertable.table.table-sm th,
#pog-ownertable.table.table-sm td {
	padding-top: .25rem;
    padding-bottom: .25rem;
}
#pog-ownertable.table.table-sm th a,
#pog-ownertable.table.table-sm td a {
	padding-top: 0.3rem;
    padding-right: 0.3rem;
    padding-bottom: 0.1rem;
    padding-left: 0.3rem;
}
#pog-ownertable div.card-header:hover h6,
#pog-ownertable div.card-header:hover div {
	background-color: #0e700e;
	color: #fff;
}

/* 重賞テーブルスタイル			*/
#pog-racetable.table th,#pog-racetable.table td {
	font-size: .8rem;
}
#pog-racetable.table.table-sm th,
#pog-racetable.table.table-sm td {
	padding-top: .45rem;
    padding-bottom: .45rem;
}
#pog-racetable.table.table-sm th a,
#pog-racetable.table.table-sm td a {
	padding-top: 0.45rem;
    padding-right: 0.3rem;
    padding-bottom: 0.1rem;
    padding-left: 0.3rem;
}
#pog-racetable div.card-header:hover h6,
#pog-racetable div.card-header:hover div {
	background-color: #0e700e;
	color: #fff;
}

/* 各種リーディングテーブルスタイル			*/
.pog-datatable.table th,.pog-datatable.table td {

	font-size: .8rem;
}
.pog-datatable.table.table-sm th,.pog-datatable.table.table-sm td {

	padding-top: .45rem;
    padding-bottom: .45rem;
}
.pog-datatable.table.table-sm td.pog-waku {
	padding-top: .35rem;
    padding-bottom: .3rem;
}
.pog-datatable.table.table-sm th a,.pog-datatable.table.table-sm td a {
	padding-top: 0.45rem;
    padding-right: 0.3rem;
    padding-bottom: 0.1rem;
    padding-left: 0.3rem;
}
.pog-datatable div.card-header:hover div {
	background-color: #0e700e;
	color: #fff;
}

/* フォントサイズ					*/
#pog-fontsize7 {
	font-size: .7rem !important;
}
#pog-fontsize75 {
	font-size: .75rem !important;
}
#pog-fontsize8 {
	font-size: .8rem !important;
}
#pog-fontsize85 {
	font-size: .85rem !important;
}
#pog-fontsize9 {
	font-size: .9rem !important;
}
#pog-fontsize12 {
	font-size: 1.2rem !important;
}

/* 標準Hover設定				*/
.card-header.pog-hover:hover {
	background-color: #0e700e;
	color: #fff;
}

/* 血統情報テーブル用カスタマイズ	*/
.pog-blod a, .pog-blod div {
	color: #000;
	font-size: .9rem;
}
.pog-blod a:hover {
	background-color: #0e700e;
	color: #fff;
}
.tooltip-inner {
	max-width: 600px;
}

/* レース結果表示					*/
.pog-conner {
	background-color: #e0e0e0;
	padding: 1px 6px;
}
.pog-waku1 {
	border: solid 1px #000;
	background-color: #fff;
	color: #000;
	width: 23px;
	padding: 1px;
	display: inline-block;
}
.pog-waku2 {
	background-color: #444444;
	color: #fff;
	width: 25px;
	padding: 2px;
	display: inline-block;
}
.pog-waku3 {
	background-color: #ff695f;
	color: #fff;
	width: 25px;
	padding: 2px;
	display: inline-block;
}
.pog-waku4 {
	background-color: #7eaeff;
	color: #fff;
	width: 25px;
	padding: 2px;
	display: inline-block;
}
.pog-waku5 {
	background-color: #fff59d;
	color: #000;
	width: 25px;
	padding: 2px;
	display: inline-block;
}
.pog-waku6 {
	background-color: #83d07e;
	color: #fff;
	width: 25px;
	padding: 2px;
	display: inline-block;
}
.pog-waku7 {
	background-color: #ffdd67;
	color: #000;
	width: 25px;
	padding: 2px;
	display: inline-block;
}
.pog-waku8 {
	background-color: #ffd1e7;
	color: #000;
	width: 25px;
	padding: 2px;
	display: inline-block;
}
.pog-uma0 {
	border: solid 1px #9e9e9e;
	background-color: #fff;
	color: #000;
	width: 23px;
	padding: 1px;
	margin-left: 2px;
	display: inline-block;
}

/* JQuery DataTableカスタマイズ		*/
.dataTables_wrapper table.dataTable {
	margin-top: 0px !important;
	margin-bottom: 0px !important;
}
.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label {
	margin: 4px;
	padding-top: 0px !important;
	padding-bottom: 0px !important;
	font-size: .9rem;
}
.dataTables_wrapper .dataTables_info {
	margin-left: 6px;
	padding-top: 6px;
	font-size: .9rem;
}
.dataTables_wrapper .dataTables_paginate {
	padding: 0px !important;
	margin-top: 4px !important;
	margin-right: 4px !important;
	margin-bottom: 0px !important;
}
.dataTables_wrapper .dataTables_paginate ul.pagination {
	margin-bottom: 0px !important;
}
.dataTables_wrapper .sorting:before,
.dataTables_wrapper .sorting:after,
.dataTables_wrapper .sorting_desc:before,
.dataTables_wrapper .sorting_desc:after,
.dataTables_wrapper .sorting_asc:before,
.dataTables_wrapper .sorting_asc:after {
    bottom: .3em !important;
}

/* 掲示板用テーブルスタイル					*/
.pog-memblist ul li {
	font-size: .9rem;
	position: relative;
}
.pog-memblist ul li.pog-memblink {
	padding-bottom: 2rem;
}
.pog-memblist ul li a {
	color: #000;
	position: absolute;
	top: 0;
    left: 0;
	width: 100%;
	height: 100%;
	padding-top: 0.75rem;
	padding-left: 1.25rem;
	padding-bottom: 0.75rem;
}
.pog-memblist ul li a:hover {
	background-color: #0e700e;
	color: #fff;
}

/* POGPOGCLUB歴史館の列制御				*/
@media (min-width: 576px) {
    .card-columns {
        column-count: 1;
    }
}
@media (min-width: 768px) {
    .card-columns {
        column-count: 2;
    }
}
@media (min-width: 992px) {
    .card-columns {
        column-count: 3;
    }
}
@media (min-width: 1200px) {
    .card-columns {
        column-count: 4;
    }
}
