.poker-gray {
    color: #ccc !important;
}

@media (orientation: landscape) {
    .portrait-only {
        display: none;
    }
}

.navigation_buttons_text {
    color:#eee;
    font-size: 1.3em;
}


.page_header_poker {
    padding-bottom: 17px;
}
.page_header_poker i {
    font-size: 0.8em;
}
.page_header_poker img {
    height: 29px;
}
.page_header_poker_container {
    text-align: center;
}

.input_header_poker {
    margin-bottom: 3px;
    margin-top:15px;
}


.poker-text-warning {
    color: #C5933D;
}

.invalid-input-label {
    color: #FADDDC;
    background-color: #AD2727;
    font-weight: 700;
    padding: 2px 8px;
    margin: 5px 0;
    display: inline-block;
    border: 1px solid rgb(65, 51, 51);
    border-radius: 4px;
}

/*Validation css*/
.integer-input{
    -webkit-transition: all linear 0.5s;
    -moz-transition: all linear 0.5s;
    -o-transition: all linear 0.5s;
    transition:all linear 0.5s;
    background: transparent;
    font-weight: 100;
}
.input-group .form-control.ng-invalid.ng-dirty, input.ng-invalid.ng-dirty {
    border-color: #b94a48 !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392  !important;
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392  !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392  !important;
}


.btn-feedback-success:hover, .btn-feedback-success:focus, .btn-success.active{
    background-color: rgb(83, 113, 76);
    border-color: rgb(43, 94, 43);
}
/*
.btn-feedback-success:focus{
    background-color: rgb(22, 111, 22);
    border-color: rgb(18, 79, 18);
}
*/
.btn-feedback-danger:hover, .btn-feedback-danger:focus, .btn-danger.active{
    background-color: rgb(161, 31, 31);
    border-color: rgb(166, 42, 42);
}
/*
.btn-feedback-danger:focus{
    background-color: rgb(161, 31, 31);
    border-color: rgb(166, 42, 42);
}
*/

.btn-feedback-danger{
    background-color: #D2B0AE;
    border-color: #E59F9B;
}

.btn-feedback-success{
    background-color: #A6BBA6;
    border-color: #92A692;
}



.modal-header .close{
    margin-top: -28px;
    opacity: 1;
}

.close-button-body-modal{
    position: relative;
}

.close-button-body-modal:first-child{
    position:absolute;
    top:-13px;
    right:22px;
}

.table_open {
    border: #666 5px solid ;
    border-radius: 25px;
    margin: auto;
    background-color:rgb(91, 139, 91);
    width:300px;
    max-width:320px;
    padding-bottom:3px;
    min-height:110px;
    margin-top:25px;
    position: relative;
    -moz-box-shadow:
    inset 0 0 15px #000000,
    0 0 0 1px rgb(112, 112, 112),
    0 0 0 7px rgb(92, 92, 92),
    0 0 42px 25px rgb(41, 41, 41) !important;

    -webkit-box-shadow:
    inset 0 0 15px #000000,
    0 0 0 1px rgb(112, 112, 112),
    0 0 0 7px rgb(92, 92, 92),
    0 0 42px 25px rgb(41, 41, 41) !important;

    box-shadow:
    inset 0 0 15px #000000,
    0 0 0 1px rgb(112, 112, 112),
    0 0 0 7px rgb(92, 92, 92),
    0 0 42px 25px rgb(41, 41, 41) !important;
}


html{min-height: 100%;z-index:5; background: url('/static/img/background.png');
    background-size: 6px;}


.main-menu-icon{
    margin-right:8px;
    float:left;
    padding-right:10px;
}

.private_card_face {
    -moz-box-shadow:    inset 0 0 4px #444444 !important;
    -webkit-box-shadow: inset 0 0 4px #444444 !important;
    box-shadow:         inset 0 0 4px #444444 !important;
}


.role {
    padding:2px;
    margin-left:3px
}



.option_dropdown_icon {
    margin-left:5px;
    float: right;
}

.player_next_dealer {
    background-color: #CBFF91;
    color: #333;
    opacity: .6;
}



.player_turn_private_list
{
    color:black !important;
}


.player_fold
{
    opacity: 0.6;
}
.player_action_private {
    position: absolute;
    left: 77px;
    top:16px;
    font-size: medium;
}
.player_second_card
{
    left: 25px;
    top: 1px;
    -webkit-transform: rotate(10deg);
    transform: rotate(10deg);
}

.player_second_card_cast
{
    top: 4px;
    margin-left: -36px;
    -webkit-transform: rotate(10deg);
    transform: rotate(10deg);
}

.cast_cards_div {
    display: inline-block;
    height: 10px;
    position: absolute;
    z-index:1;
    top: 50%;
    left: 70%;
    width: 100px;
    margin: -60px 0 0 -100px;  /*depand on card size*/
}


.table_card {
    background-color: rgb(233, 233, 199) !important;
}

.none {
    display:none;
}

body {
    font-family: 'Abel', sans-serif;
    background-color: tarnsparent !important;
}
.jumbotron{
    background-color: transparent;
}
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6{
    color:white !important;
    font-weight:400 !important;
}

.modal-content {
    /*
    background-color: #616161 !important;
    -moz-box-shadow: inset 0 0 63px 1px rgb(162, 162, 162);
    -webkit-box-shadow: inset 0 0 63px 1px rgb(162, 162, 162);
    box-shadow: inset 0 0 63px 1px rgb(162, 162, 162);
    border: 1px rgb(255, 251, 251) solid;*/

    background-color: #595959 !important;
    -moz-box-shadow: inset 0 0 63px 1px rgb(162, 162, 162);
    -webkit-box-shadow: inset 0 0 63px 1px rgb(162, 162, 162);
    box-shadow: inset 0 0 17px 1px rgb(52, 52, 52);
    border: 1px rgb(50, 50, 50) solid;
}
.modal-footer {
    border-top: 1px solid #7B7B7B !important
}
.form-control {
    background-color: #E3E3E3;
    color:black;
}
.modal-header{
    border-bottom: 1px solid #7B7B7B !important
}

.visible {
    visibility: visible;
}


.modal-backdrop.fade.in {
    opacity: .1 !important;
}


.black_card {
    border: 1px solid black;
    background-color: white;
    width: 30px;
    height: 45px;
    display: inline-block !important;
    padding: 3px;
    margin: 2px;
    border-radius:8px;
    font-weight: bold
}

.red_card {
    color: rgb(169, 25, 25) !important;
}


#raise_footer .slider.slider-horizontal {
    width:100%;
    margin-bottom: 30px;
}

.big-screen-section {
    -webkit-box-shadow:  0 1px 5px 1px #424242;
    -moz-box-shadow:  0 1px 5px 1px #424242;
    box-shadow: 0 1px 5px 1px #424242;
    border-radius: 5px;
    padding: 4px 0;
    margin: 10px 0;
}
.big-screen-section>h5 {
    text-align: left;
    width: 90%;
    display: inline-block;
    margin-bottom: 0;
}
.big-screen-youtube-buttons {
    width: 90%;
    display: table;
    margin: auto;
}
.big-screen-youtube-buttons>div {
    display: table-cell;
    width: 50%;
    margin: 0;
    padding-left: 2px;
}
.big-screen-youtube-buttons>div>button{
    width:100%;
    margin:0
}


.big-screen-volume-slider {
    width: 90%;
    display: table;
    margin: 0 auto -15px;
}

/*big screen slider icon*/
.big-screen-volume-slider>i {
    color: rgb(178, 178, 178);
    width: 40px;
}
.big-screen-volume-slider>i:before {
    vertical-align: -50%;
    padding-right: 15px;
}

/*big screen slider*/
.big-screen-volume-slider .slider.slider-horizontal {
    display: table-cell;
    width:100%;
}
.big-screen-volume-slider .slider-handle {
    background: #53714C;
    opacity: 1;
}
.big-screen-volume-slider .slider-selection {
    background: rgb(178, 178, 178);
}



@media all and (orientation: portrait) {
    .ui-title{
        margin : 0 !important;
    }
    .button_cell
    {
        padding: 2px !important;
    }
    .action_button
    {
        padding: 2px !important;
    }

    .player_connection_mode_button {
        width:100%;
    }
    .card_pos_container {
        right: 0px;
        bottom: 0px;
    }
    .private_card_face {
        /*    z-index:5; */
        position:relative !important;
    }
    .private_il_player {
        z-index:1
    }


}

@media all and (orientation: landscape) {
    .player_connection_mode_button {

    }
    .button_cell
    {
        padding: 3px !important;
    }
    .card_pos_container{
        right: 0px;
        bottom: 0px;
    }
}

.btn_action {
    font-weight: 600;
    padding:.3em .3em;
}
.player_connection_mode_button {
    float:left;
    padding: 0 5px;

}
.full-width {
    width:100% !important;
}

.ui-collapsible-heading-toggle {
    font-size: small;
}
.session_heading {
    padding-bottom: 6px !important
}


header {
    text-align: center;
    color: #fff;
    background: goldenrod;
}

header .container {
    padding-top: 100px;
    padding-bottom: 50px;
}

header img {
    display: block;
    margin: 0 auto 20px;
}

header .intro-text .name {
    display: block;
    text-transform: uppercase;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 2em;
    font-weight: 700;
}

header .intro-text .skills {
    font-size: 1.25em;
    font-weight: 300;
}

.modal.fade {
    background-color: transparent;
}

.card {
    margin-top:3px;
    width:30px;
    text-align:left;
    height: 50px;
    display:inline-block;
    position: inherit;
    -moz-box-shadow:    -2px 4px 2px #222 !important;
    -webkit-box-shadow: -2px 4px 2px #222 !important;
    box-shadow:         -2px 4px 2px #222 !important
}
@media only screen and (min-width : 2500px) and (orientation: landscape) {
    .card {
        -moz-box-shadow: -2px 10px 23px #222 !important;
        -webkit-box-shadow: -2px 10px 23px #222 !important;
        box-shadow: -2px 10px 23px #222 !important;
    }
}

.hidden_card {
    background-image: url('../img/pattern.png');
    background-repeat: repeat;
    border: 1px solid #777;
    padding: 2px;
    border-radius: 7px;
    border: solid white 2px;
}
@media only screen and (min-width : 1400px) and (orientation: landscape) {
    .hidden_card {
        background-size: 15px;
        border-radius: 9px;
        border: solid white 4px;
    }
}

@media only screen and (min-width : 2500px) and (orientation: landscape) {
    .hidden_card {
        background-size: 22px;
        border-radius: 15px;
        border: solid white 5px;
    }
}

.card_face{
    background-color: #eeeeee;
    border: 1px solid #777;
    padding: 2px;
    border-radius: 7px;
}
@media only screen and (min-width : 2500px) and (orientation: landscape) {
    .card_face {
        border-radius: 15px;
    }
}

.card_sign{
    width:20px;
}

.sign_red {color: #AD0000 !important}



.card_small{
    margin: 0 2px;
    width: 36px;
    height: 24px;
    display: inline-block;
}

.card_small img{
    display: inline-block;
    width:13px;
    vertical-align: middle;
    margin-right: 2px;
}

.card_small > div{
    color:black;
    display:inline-block;
    font-weight: bold;
    vertical-align: middle;
}

.card_small_face{
    background-color: #eeeeee;
    border-radius: 5px;
    -moz-box-shadow  :  0 2px 2px black;
    -webkit-box-shadow: 0 2px 2px black;
    box-shadow: 0 2px 2px black;
    padding: 2px 1px;
    vertical-align: text-bottom;
    text-align: right;
}

.card_small_container {
    display: inline-block;
}




.front{
    background-color: #eeeeee;
    border: 1px solid #777;
    padding: 2px;
    border-radius: 7px;
    -moz-box-shadow:    0px 2px 3px #000!important;
    -webkit-box-shadow: 0px 2px 3px #000!important;
    box-shadow:         0px 2px 3px #000!important;
}
@media only screen and (min-width : 2500px) and (orientation: landscape) {
    .front {
        border-radius: 23px;
    }
}

.back {
    background-image: url('../img/pattern.png');
    background-repeat: repeat;
    padding: 2px;
    border-radius: 7px;
    border: solid white 2px;
    -webkit-transform: rotateY( 180deg );
    transform: rotateY( 180deg );
}
@media only screen and (min-width : 2500px) and (orientation: landscape) {
    .back {
        border-radius: 23px;
    }
}

.card_side {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}
.card_abs{
    width: 100%;
    height: 100%;
    /* position: absolute; */
    transform-style: preserve-3d;
}

.card_table.ng-enter {
    -webkit-transition: all ease-in 2s;
    transition: all ease-in 2s;

}
.card_table.ng-enter-stagger {
    -webkit-transition-delay: 2s;
    -webkit-transition-duration: 2s;
    transition-delay: 2s;
    transition-duration: 2s;
}

.flipped {
    -webkit-transform: rotateY( 0deg );
    transform: rotateY(0deg);
}
.flipped.ng-enter {
    -webkit-transition: -webkit-transform 2s;
    -webkit-transform: rotateY(180deg);
    transition: transform 2s;
    transform: rotateY(180deg);
}
.flipped.ng-enter.ng-enter-active {
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
}



/*-----------bootstrap slider--------*/
#raise_footer .slider-handle.custom {
    background: transparent none !important;
    background: url('../img/chip.png') !important;
    background-size: 30px !important;
    width:30px;
    height:30px;
    opacity: 1;
}
#raise_footer .slider-handle.custom::before {
    display:none;
}
#raise_footer .slider-track {
    height:15px !important;
}


.private_action_label{
    opacity:0
}

/* Chrome, Safari, Opera */
@-webkit-keyframes myfirst {
    from {opacity:1}
    to {opacity:0}
}

/* Standard syntax */
@keyframes myfirst {
    from {opacity:1}
    to {opacity:0}
}

.change_css {
    -webkit-animation: myfirst 5s !important; /* Chrome, Safari, Opera */
    animation: myfirst 5s !important;
}

/*********BUTTONS*************/
.btn-bottom-large-container {
    bottom:10px;
    padding:0;
    position:fixed;
    right:10px;
    background-color: transparent !important;
    z-index:100 !important;
}


@media only screen  and (orientation: landscape) {
    .action_btn_orientation>div>div {
        -webkit-transform: scaleY(-1);
        transform: scaleY(-1);
    }
    .action_btn_orientation>div>div>button {
        -webkit-transform: scaleY(-1);
        transform: scaleY(-1);
        display:block;
        width:100%;
        text-align: left;
    }
}

/*
Colors for btn-poker.
Copied from btn-primary and changed to poker-green. Also removed :focus. */


.card_table {
    margin: 0 8px;
    width:30px;
    height:50px;
    display:inline-block;
    position: relative;
}
@media screen and (min-width : 600px) {
    .card_table {
        margin: 0 10px;
        width: 54px;
        height: 78px;
    }
}
@media only screen and (min-width : 1025px) {
    .card_table {
        margin: 0 20px;
        width: 81px;
        height: 117px;
    }
}
@media screen and (min-width : 1400px) {
    .card_table {
        margin: 0 25px;
        width: 120px;
        height: 192px;
    }
}
@media only screen and (min-width : 2500px) {
    .card_table {
        margin: 0 15px;
        width: 195px;
        height: 284px;
    }
}

.card_table > .card_side > img {
    width:20px;
    margin-top: 0;
}
@media screen and (min-width : 600px) {
    .card_table > .card_side > img {
        width:38px !important;
        margin-left: 7px;
    }
}
@media only screen and (min-width : 1025px) {
    .card_table > .card_side > img {
        width: 59px !important;
        margin-left: 11px;
    }
}
@media screen and (min-width : 1400px) {
    .card_table > .card_side > img {
        width:95px !important;
        margin-left: 18px;
    }
}
@media only screen and (min-width : 2500px) {
    .card_table > .card_side > img {
        width:140px !important;
        margin-left: 32px;
        margin-top: 15px;
    }
}

.card_table > div{
    padding-left:3px;
    font-size: 15px;
    font-weight: 100;
    color:black;
    line-height:20px;
}
@media screen and (min-width : 600px) {
    .card_table > div{
        font-size: 29px;
        font-weight: 700;
        padding-left: 2px;
        line-height:30px;
    }
}
@media only screen and (min-width : 1025px) {
    .card_table > div{
        font-size: 38px;
        line-height:48px;
    }
}
@media screen and (min-width : 1400px) {
    .card_table > div{
        font-size: 60px;
        line-height: 78px;
    }
}
@media only screen and (min-width : 2500px) {
    .card_table > div{
        padding-left:15px;
        font-size: 100px;
        font-weight: 700;
        line-height:98px;
    }
}



/* Tablets (landscape) ----------- */
@media only screen
and (min-width : 600px)
and (max-width : 1024px)
and (orientation: landscape)
{
    /*
   .card_pos {
       bottom: 77px;
   }*/
}
@media only screen
and (min-width : 600px)
and (max-width : 1024px)
{
    .card {
        width:45px;
        height:75px
    }
    .card > img{
        width:33px;
    }
    .card > div{
        font-size:22px;
    }
    .player_second_card {
        left:31px;
    }

    .btn{font-size : large;}
    .panel {font-size:larger;}
    li > a {font-size:large;}
    h5{font-size:larger !important}

}


@media only screen and (min-width : 1025px) {

    .card {
        width:60px;
        height:100px;
    }
    .card > img{
        width:50px;
    }
    .card > div{
        font-size:28px;
        color:black
    }

    .player_second_card {
        left:48px;
    }

    .btn{
        font-size: x-large;
    }
    .panel {font-size: 22px;}
    li > a {font-size: x-large;}
    h5{font-size:larger !important}

}

@media only screen and (min-width : 1400px) {

    .card {
        width: 70px;
        height: 115px;
    }
    .card > img{
        width:55px;
        margin-left: 10px;
    }
    .card > div{
        font-size:36px;
        color:black;
        margin-left: 3px;
        font-weight: bold;
    }

    .player_second_card {
        left:62px;
    }

    .btn{
        font-size: x-large;
    }
    .panel {font-size: 30px;}
    li > a {font-size: x-large;}
    h5{font-size:30px !important}

}




@media only screen and (min-width : 2500px) {

    .card {
        width:125px;
        height:220px;
    }
    .card > img{
        width:105px;
        margin-left: 15px;
    }
    .card > div{
        font-weight: bold;
        font-size:65px;
        color:black;
        border-color:#666;
    }

    .player_second_card {
        left:112px;
    }

    .panel {font-size: 46px;}
    li > a {font-size: x-large;}
    h5{font-size:larger !important}

}


.rank_value{
    font-size:inherit !important;
    font-weight: bold;
}
.rank_margin{
    margin: 0 !important;
}


.table_hands {
    margin:auto;
    color: white;
}
.table_hands td{
    padding: 7px 3px;
}

.extras {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin:3px 0;
}
.extras h4 {
    margin-bottom: 3px;
    margin-top: 0px;
}

.defaults-sub-header {
    margin: 15px 0 3px 0 !important;
}

.new-game-defaults div {
    padding:0;
}


/***************************chat**************************/
.bubble {
    width: 100%;
}
.bubble span{
    position: relative;
    max-width: 80%;
    min-height: 32px;
    min-width: 50px;
    margin-left: 15px;
    margin-bottom: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding:6px;
    display: inline-block;
    margin-top: 0;

}
.bubble span:before {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    top: -8px;
    border: 7px solid;
}
.opponent-bubble span {
    background-color: #a2a2a2;
    color:black;
}
.opponent-bubble span:before {
    left: 5px;
    border-color: transparent transparent #a2a2a2 #a2a2a2;
}
.opponent-bubble {
    text-align: left;
}

.my-bubble {
    text-align: right;
    padding-right: 10px;
}

.my-bubble span {
    background-color: #d0d0d0;
    color: #444444;
    text-align: left;
    margin-right: 10px;
    vertical-align: top;
}
.my-bubble span:before {
    right: -8px;
    border-color: #d0d0d0 transparent transparent #d0d0d0;
    top: 0;
    vertical-align: top;
}

.opponent-bubble span:before {
    left: -8px;
    border-color: #a2a2a2 #a2a2a2 transparent transparent;
    top: 0;
    vertical-align: top;
}

.bubble-author {
    color:#e3e3e3;
    margin-right: 15px;
    margin-bottom: 2px;
}


#chat_dialog .modal-dialog {
    overflow-y: initial !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin:auto;
    margin-bottom: 0;
    max-width: 340px;
    width:95%;
}
#chat_dialog .modal-body {
    height: 125px;
    overflow-y: auto;
    text-align: center;
}

#chat_dialog .modal-content {
    border-radius: 6px 6px 0 0;
}

#chat_dialog .modal-header h4{
    margin: 5px;
    margin-bottom: 0;
    font-weight: bold !important;
}

#chat_dialog .modal-header{
    padding:10px;
}

#chat_dialog .modal-footer button {
    font-size: 14px;
    border-color: rgb(227, 227, 227);
}

.avatar-chat-noty {
    height: 25px;
    background-color: #dadada;
    border-radius: 100%;
    margin-right: 10px;
}

.avatar-background {
    background-color: #dadada;
}


.tournament-avatar {
    position: relative;
    height: 45px;
}

@media all and (min-width : 600px) {
    .tournament-avatar {
        height: 50px;
    }
}
@media all and (min-width : 1024px) {
    .tournament-avatar {
        height: 75px;
    }
}
@media all and (min-width : 1400px) {
    .tournament-avatar {
        height: 87px;
    }
}
@media all and (min-width : 2500px) {
    .tournament-avatar {
        height: 100px;
    }
}

.chat-avatar-img {
    width:50px !important;
    height:50px !important;
    margin: 0 !important;
    box-shadow: none !important;
    background-color: white;
    border-radius: 100%;
}
