#dyn-content{
	padding: 5px;
	/*color: #fff;*/
}
#dyn-content .coupon-header{
	border: 1px solid #404040;
	background-color:#a7a7a7;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	position: relative;
}
#dyn-content .coupon-header .top{
	width: 100%;
	border-bottom: 1px solid #046f50;
}
#dyn-content .coupon-header .coup-title{
	position: relative;
	display: inline-block;
    padding: 4px 4px 4px 4px;
    margin: 4px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	background-color: #424242;
    color: #dcdddc;
}

#dyn-content .coupon-header .coup-title.selected{
	color: #fff;
    background: #068DBC;
}

#bb-popup-body {
    height: 100%;
/*    overflow: auto;*/
    background: #3c3c3c;

}

#bb-popup-body:has(> .bb-event-selection){
    display:grid;
    grid-template-columns: 1fr 1fr 1fr;
}

#bb-popup-body:has(> .bb-event-selection[market='to']),
#bb-popup-body:has(> .bb-event-selection[market='30']),
#bb-popup-body:has(> .bb-event-selection[market='1664']),
#bb-popup-body:has(> .bb-event-selection[market='1043']),
#bb-popup-body:has(> .bb-event-selection[market='1143']),
#bb-popup-body:has(> .bb-event-selection[market='21']),
#bb-popup-body:has(> .bb-event-selection[market='295']),
#bb-popup-body:has(> .bb-event-selection[market='31']),
#bb-popup-body:has(> .bb-event-selection[market='1042']),
#bb-popup-body:has(> .bb-event-selection[market='1151']),
#bb-popup-body:has(> .bb-event-selection[market='142']),
#bb-popup-body:has(> .bb-event-selection[market='143']){
    display:grid;
    grid-template-columns: 1fr 1fr;
}

#bb-popup-body:has(> .bb-event-selection[market='104']),
#bb-popup-body:has(> .bb-event-selection[market='29']){
    display:grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

#bb-popup-title-bar {
    background: #434343;
    color: #EEE;
    box-shadow: 0px 2px 2px #383838;
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
}
.builder-title-bar > div:nth-child(1) {
    text-align: center;
    cursor: pointer;
}

.builder-title-bar {
    display: grid;
    grid-template-columns: 25px 1fr;
    align-items: center;
}
#bb-popup-back {
    visibility: hidden;
    cursor: pointer;
}
#bb-popup-title{cursor: pointer;}
#bb-popup-title-bar > div:not(:last-child) {
    border-right: 1px solid #525252;
    font-size: 15px;
}
#bb-popup-title-bar > div:nth-child(2) {
    padding: 10px;
}
#bb-popup-title-bar > div:nth-child(1), #bb-popup-title-bar > div:nth-child(3) {
    font-size: 20px;
    padding: 10px;
    cursor: pointer;
    background: #d05f5f;
    height: calc(100% - 20px);
    display: flex;
    align-items: center;
}
#bb-popup-title-bar > div:nth-child(1) {
    background: #F5B925;
}




.bb-selection-separator {
    font-size: 13px;
    color: #d1d6db;
    text-align: center;
    padding: 10px 0px;
}
#bb-bet-btn {
    padding: 10px 20px;
    background: #ffdf1b;
    cursor: pointer;
    text-align: center;
    color: #363636;
    font-size: 15px;
}

#bb-bet-btn > div:nth-child(1) {
    font-size: 17px;
    font-weight: bold;
}
.bb-selection-row > div:nth-child(2) {
    font-size: 20px;
    border-left: 1px solid #303030;
    cursor: pointer;
    padding: 7px 20px;
    color: white;
    background: #d05f5f;
}

.bb-selection-row > div {
    padding: 7px;
}

.bb-selections-list-binder {
    display:none;
}

.bb-event-market[is_locked='0'], .bb-selections-list-binder[is_locked='0'], .bb-event-selection[is_locked='0'] {
    pointer-events: none;
}
#bb-event-popup { display:none; z-index: 9999;}

.event-utilities-bar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    border-top: 1px solid #d1d6db;
    padding: 0px 5px;
    background: white;
}
.event-utility-btn {
    background: #003c79;
    border: 0px;
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
    display: none;
    margin: 5px 0px;
}



.event-utilities-bar > .double-btn {
    padding: 0px;
    display: grid;
    grid-template-columns: 1fr auto;
    justify-items: center;
}
.event-utilities-bar > div:not(:last-child) {
    margin-right: 5px;
}
#bb-event-popup-btn {
    padding: 10px;
}
.event-utilities-bar > .double-btn > div:not(:last-child) {
    border-right: 1px solid #0a2f55;
}
#builder-content {
    background: #3c3c3c;
    padding: 10px;
    border-top: 1px solid #4f4f4f;
    color: #ffffff;
    width: calc(100% - 20px);
}
#builder-content > div:nth-child(1) {
    font-size: 18px;
    padding: 10px 0px;
    border-bottom: 1px solid #4f4f4f;
}
.builder-noselections-binder {
    padding: 10px 0px;
    font-size: 14px;
}
.builder-noselections-binder > div:nth-child(1) {
    text-align: center;
    padding: 10px;
}
.add-bb-market-btn {
    display: flex;
    justify-content: center;
    padding: 15px 5px;
    align-items: center;
    cursor:pointer;
    font-size: 14px;
}
.add-bb-market-btn > div:nth-child(1) {
    font-size: 20px;
}
.add-bb-market-btn > div:nth-child(2) {
    padding: 0px 0px 0px 5px;
}
#builder-addselection-binder {
    width: 100%;
    display: none;
    grid-template-columns: 1fr 1fr;
    background: white;
    font-size: 15px;
}
#builder-addselection-binder > div:nth-child(1) {
    background: #1A1917;
    padding: 10px;
    border-right: 1px solid #002041;
    color: white;
    text-align: center;
}
#builder-addselection-value {
    font-size: 20px;
    font-weight: bold;
}
#builder-addselection-binder > div:nth-child(2) {
    background: #ffd200;
    font-size: 17px;
    text-align: center;
    line-height: 55px;
    color: #272727;
    cursor: pointer;
}

.builder-selections-binder {
    margin: 20px 0px 0px;
}
.builder-selections-betslip > div:nth-child(2) {
    display: grid;
    grid-template-columns: 1fr auto;
    margin-top: 15px;
}
span.builder-selection-odd {
    color: #ffd200;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Old versions of Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
}
.no-pointer {
    pointer-events: none;
}


.bb-event-selection {
    background: #474747;
    color: #ffffff;
    padding: 12px;
    cursor: pointer;
    grid-template-columns: 1fr auto;
    font-size: 14px;
    align-items: center;
    display: grid;
    border-left: 1px solid #3a3a3a;
    text-align: center;
}
#bb-popup-body > .bb-event-selection:last-child {
/*    box-shadow: 0px 3px 6px #2a2a2a;*/
}
.bb-event-market {
    background: #474747;
    color: #f4f4f4;
    padding: 10px;
    cursor: pointer;
    display: grid;
    grid-template-columns: calc(100% - 30px) 30px;
    font-size: 14px;
    align-items: center;
}
.bb-event-market[locked='true'], .bb-event-selection[locked='true'] {
    background: #36363638;
    color: #a5a5a5;
    cursor: not-allowed;
    pointer-events: none;
}
#bb-popup-body > .bb-event-market:last-child {
    box-shadow: 0px 3px 7px #2a2a2a;
}
.bb-event-market > div:nth-child(2), .bb-event-selection > div:nth-child(2) {
    font-size: 20px;
    text-align: center;
    padding: 0px 10px;
    display: none;
}
.bb-event-market:not(:last-child), .bb-event-selection:not(:last-child) {
    border-bottom: 1px solid #3a3a3a;
}
.bb-event-selection.active {
    background: #222222 !important;
    color: white;
}
.bb-selections-binder {
    display: none;
    width: 40%;
    margin: 0 auto;
}
.bb-selection-row {
    display: grid;
    grid-template-columns: 1fr auto;
    font-size: 14px;
    color: #ffffff;
    align-items: center;
    background: #464646;
}

#bb-event-popup { display:none; }

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
    .single-btn:hover {
        background: #002a54;
        transition: .2s;
    }

    #dyn-content .coupon-header .coup-title:hover{
        cursor: pointer;
    }

    #dyn-content .coupon-header .coup-title:hover{
        color: #fff;
        background: #068DBC;
    }
    .builder-title-bar > div:nth-child(1):hover {
        margin-right: 5px;
        transition: .8s;
    }
    #bb-bet-btn:hover {
        background: #dab400;
        transition: .4s;
        color: #272727;
    }
    .bb-selection-row > div:nth-child(2):hover {
        background: #ab4e4e;
    }
    .remove-bb-selection:hover {
        background: #aeb2b6;
        transition: .2s;
        cursor: pointer;
    }
    .bb-event-market:hover, .bb-event-selection:hover {
        background: #353535;
        transition: .3s;
    }
    .double-btn > div:hover {
        background: #002a54;
        transition: .2s;
    }
    #builder-addselection-binder > div:nth-child(2):hover {
        background: #dab400;
        transition: .2s;
    }
    #bb-popup-title-bar > div:nth-child(1):hover, #bb-popup-title-bar > div:nth-child(3):hover {
        background: #ab4e4e;
        transition: .2s;
    }
    #bb-popup-title-bar > div:nth-child(1):hover {
        background: #113f31;
        cursor: pointer;
    }
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
    .single-btn:hover {
        background: #002a54;
        transition: .2s;
    }

    #dyn-content .coupon-header .coup-title:hover{
        cursor: pointer;
    }

    #dyn-content .coupon-header .coup-title:hover{
        color: #fff;
        background: #068DBC;
    }
    .builder-title-bar > div:nth-child(1):hover {
        margin-right: 5px;
        transition: .8s;
    }
    #bb-bet-btn:hover {
        background: #dab400;
        transition: .4s;
        color: #272727;
    }
    .bb-selection-row > div:nth-child(2):hover {
        background: #ab4e4e;
    }
    .remove-bb-selection:hover {
        background: #aeb2b6;
        transition: .2s;
        cursor: pointer;
    }
    .bb-event-market:hover, .bb-event-selection:hover {
        background: #353535;
        transition: .3s;
    }
    .double-btn > div:hover {
        background: #002a54;
        transition: .2s;
    }
    #builder-addselection-binder > div:nth-child(2):hover {
        background: #dab400;
        transition: .2s;
    }
    #bb-popup-title-bar > div:nth-child(1):hover, #bb-popup-title-bar > div:nth-child(3):hover {
        background: #ab4e4e;
        transition: .2s;
    }
    #bb-popup-title-bar > div:nth-child(1):hover {
        background: #113f31;
        cursor: pointer;
    }
}