/*
Theme Name: Divi Child Theme
Theme URI: https://divireadythemes.com/
Description: Divi Child Theme
Author: Divi Ready Themes
Author URI: https://divireadythemes.com/
Template: Divi
Version: Updated for Divi 3+
*/


.badge_heading .et_pb_text_inner {
    display: inline-block;
    padding: 0 40px 0 20px;
    box-sizing: border-box;
    height: 50px;
    background: #076cb2;
    position: relative;
}
.badge_heading .et_pb_text_inner  p {
    line-height: 50px;
    font-size: 20px;
    font-weight: bold;
}
.badge_heading .et_pb_text_inner:after {
    content: "";
    position: absolute;
    width: 0;
    right: -1px;
    top: 0;
    border-right: 20px solid #fff;
    height: 0;
    border-bottom: 25px solid transparent;
    border-top: 25px solid transparent;
}
.game_grid_item {
    overflow: hidden;
}
.game_grid_item .et_pb_main_blurb_image {
    margin-bottom: 0;
    display: block;
}
.game_list .et_pb_column{
    background: #1d97c2;
}
.game_grid_item .et_pb_blurb_container {
    padding: 20px;
    position: relative;
}
.game_grid_item .et_pb_blurb_description {
    max-width: 250px;
    margin: 0 auto;
    color: #fff;
}
.game_grid_item .et_pb_module_header {
    color: #fff;
}
.game_grid_item .et_pb_blurb_container:before {
    content: "";
    position: absolute;
    top: -38px;
    width: 0;
    height: 0;
    right: 0;
    border-left: 400px solid transparent;
    border-bottom: 40px solid #1d97c2;
}

.game_list .et_pb_row:nth-child(2n) .et_pb_column:nth-child(2n+1){
    background: #1d5aa6;
}
.game_list .et_pb_row:nth-child(2n+1) .et_pb_column:nth-child(2n){
    background: #1d5aa6;
}
.game_list .et_pb_row:nth-child(2n) .et_pb_column:nth-child(2n+1) .game_grid_item .et_pb_blurb_container:before{
    border-bottom: 40px solid #1d5aa6;
}
.game_list .et_pb_row:nth-child(2n+1) .et_pb_column:nth-child(2n) .game_grid_item .et_pb_blurb_container:before{
    border-bottom: 40px solid #1d5aa6;
}
iframe{
    width: 100%;
}
@media only screen and (max-width: 1024px)  {
    body.page-id-318 iframe#gmeifr{
        max-height: none;
        height: 330px;
    }
}
@media only screen and (max-width: 768px)  {
    body.page-id-318 iframe#gmeifr{
        max-height: none;
        height: 300px;
    }
}
@media only screen and (max-width: 750px)  {
    body.page-id-251 iframe#gmeifr{
        max-height: none;
        height: 700px;
    }
    body.page-id-318 iframe#gmeifr{
        max-height: none;
        height: 250px;
    }
}
@media only screen and (max-width: 600px)  {
    body .et_pb_cta_0.et_pb_promo h1.et_pb_module_header{
        font-size: 30px !important;
    }
    body .game_list .et_pb_blurb .et_pb_module_header {
        font-size: 20px;
    }
    .et_pb_blurb_content p {
        line-height: 1.2;
    }
    .game_list .et_pb_row {
        width: 100%;
    }
    iframe#gmeifr {
        max-height: 450px;
    }
    .game_grid_item .et_pb_blurb_container:before {
        top: -20px;
    }
}
