/*
Theme Name: Mercury Child
Theme URI: https://mercury.is/
Description: Child theme for Mercury theme
Author: Space-Themes.com
Author URI: https://space-themes.com/
Template: mercury
Version: 3.7
*/
@import url("../mercury/style.css");
#gamethumbnail {
    position: relative;
    overflow: hidden;
}
#gameimg {
    width: 100%;
    height: auto;
    max-height: 500px ;
    display: block;
}
#gamemask{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
}
#gamebutton {       
	text-align: center;
    position: absolute;
    top: 40%;
    width: 100%;
    color: #fff;
    font-size: 20px;
}
.btn-play {
    font-size: 25px;
	color: #ffffff;
    vertical-align: middle;
    line-height: normal;
    border-radius: 10px;
    padding: 10px 30px;
}
.btn:active {
    color:aliceblue;
    transform: scale(0.99,0.99);
}

.btn_1 {
    background: #57b538;
    border:4px solid #ffffff;
    transition: all 0.4s;
    transition-timing-function:cubic-bezier(0.5, 3, 0, 1);
}
.btn_1:hover {
    transform:scale(1.2,1.2);
}
#gameiframe{
    display: none;
    width: 100%;
    height: auto;
    max-height: 500px;
    margin-bottom: 50px;
}
.hide-show{
    display: block;
    width: 100%;
    height: auto;
    max-height: 500px ;
}
.hide-show.hide{
    display:none;
}
.landscape_warning{
    display: none;
    text-align: center;
    background: rgb(0,0,0,0.2);
    z-index: 12;
    position: absolute;
    height: 100%;
    width: 100%;
}
.orientation{
    width: 30%;
    position: relative;
    top: 10% !important;
}
.landscape_msg{
    font-size: 22px;
    color: #F0A900;  
    z-index: 10;
    padding: 25px 10px;
}
.portrait_warning{
    display: none;
    text-align: center;
    background: rgb(0,0,0,0.2);
    z-index: 12;
    position: absolute;
    height: 100%;
    width: 100%;
}
.portrait_msg{
    font-size: 22px;
    color: yellow;  
    padding: 15px 10px;
    top: 20%;
    position: relative; 
}
.portrait_caption{
    display: none;
    text-align: center;
    background-color: #000;
    margin: 0;
    position: fixed;
    z-index: 21;
	bottom: -5px;
    left: 0;
    width: 100vw;
    height: 15vh;
    margin: 0 auto;
}
.portrait_caption div div a{
	vertical-align: bottom !important;
}
.portrait_caption a > img{
    height: 100%;
    width:100%;
    margin: 0 auto;
	border-radius: 0 !important;
}
.close_btn{
    position: absolute;
    top: 10px;
    right: 20px;
    width: 28px;
    height: 28px;
    border-radius: 14px;
    display: block;
    background-image: url(https://casinoslotsranking.com/wp1/wp-content/uploads/2021/03/close-icon.png);
    background-size: 32px 32px;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-box-shadow: 0px 1px 1px 0px rgb(164 119 31);
    -moz-box-shadow: 0px 1px 1px 0px rgba(164,119,31,1);
    box-shadow: 0px 1px 1px 0px rgb(164 119 31);
    z-index: 30;
    display: none;
}
.landscape_caption{
    background-color: #000;
    margin: 0 auto;
    display: none;
}
.landscape_caption a > img{
    height: 100vh;
    margin: 0 auto;
	width : 100vw;
	border-radius: none;
}
#gamethumbnail .col-2{
	 padding-right: 0px;
}
#gamethumbnail .col-10{
    padding-right: 0px;
    padding-left: 0px;
}
.col-4{
    padding: 15px;
    flex: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
    text-align: center;
}
@media(max-width:416px){
    .landscape_msg{
        font-size: 15px;
		padding:10px;
    }
    .portrait_caption .row{
       align-items: center;
    }
    .portrait_caption .col-3{
        padding-left: 0px;
		padding-right: 0px;
    }
	.portrait_caption .col-8{
        padding-left: 20px;
		padding-top: 15px;
    }
    .portrait_mode #gameiframe iframe {
        height: 85vh !important;
		width: 100vw !important;
    }
    .close_btn{
        position: fixed;
        top: 20px;
    }
	.landscape_warning{
       padding-top:20px;
    }
}
@media(min-width:319px) and (max-width:600px){
    .landscape_mode .landscape_warning{
        display: block;
    }
    .landscape_mode #gamebutton{
        display: none;
    }
	.landscape_warning{
       padding-top:20px;
    }
	.landscape_mode .orientation{
		margin-bottom:5px;
    }
}

@media(min-width:416px) and (max-width:767px){
    .portrait_mode .portrait_warning{
        display: block;
		padding-top:20px;
    }
    .portrait_mode .orientation{
        top: 20%;
		margin-bottom:10px;
    }
    .portrait_mode #gamebutton{
        display: none;
    }
}
@media(min-width:769px) and (max-width:930px){
    .portrait_mode .portrait_warning{
        display: block;
    }
    .orientation{
        top: 20% !important;
		margin-bottom:10px;
    }
    .portrait_mode #gamebutton{
        display: none;
    }
}
@media(min-width:600px) and (max-width:992px){
    #gameiframe .col-2{
        height: 100vh !important;
		width: 100vw !important;
    }
    .col-10 iframe{
        height: 100vh !important;
		width: 100vw !important;
    }
}
@media(min-width:600px) and (max-width:667px){
    .col-10 iframe{
        height: 312px !important;
    }
    .col-4{
        padding: 10px;
    }
}

/*!動画の最大幅を指定する*/
.video-container{max-width:820px;}

/*!動画の大きさを調整*/
.video-container .video {
  position: relative;
  padding-bottom: 56.25%;
  margin-top: 15px auto;
  overflow: hidden;
  max-width: 100%;
height: 100%;
}

.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.video-click {
  cursor: pointer;
}

.video-click:hover .video-play {
    background: url("youtube-play.png") no-repeat scroll -101px -13px rgba(0, 0, 0, 0);
}

.video-play {
  background: url("youtube-play.png") no-repeat scroll 2px -13px rgba(0, 0, 0, 0);
  height: 62px;
  left: 50%;
  margin-left: -45px;
  margin-top: -33px;
  position: absolute;
  top: 50%;
  width: 100px;
  opacity: 0.8;
}

.video-title-grad {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAABiCAQAAAA7fHH2AAAAQUlEQVQYV22KQQoAIAzDyv7/Et/oVlGZVCfkkIYamsENXESyi8vc0u/PKZ6o8+7fZ0h8ShRYnD+BFKToRJkHFpkM2hZSxuyWpEYAAAAASUVORK5CYII=");
  background-position: center top;
}

.video-title-text {
  color: #eeeeee;
  font-family: Roboto,Arial,Helvetica,sans-serif;
  font-size: 17px;
  overflow: hidden;
  padding: 12px 16px 4px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
