body {
    padding-top: 5rem;
    background: url(../images/landing.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#body-plain {
    padding-top: 5rem;
    background: url(../images/landing_background.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.table thead th {
    /*color: #9D7C38 !important;*/
    border-bottom: 2px solid #9D7C38 !important;
}

.table td, .table th {
    border-top: 1px solid #9D7C38 !important;
    font-size: 0.5em;
}

.maya-template {
    padding: 3rem 3rem;
    background-color: #332719;
    border-radius: 50px;
    opacity: 90%;
    color: #9D7C38 !important;
}

.maya-template-demo {
    padding: 0px;
    border-radius: 0px;
}

.maya-template a {
    color: #9D7C38 !important;
}

.maya-template-nobackground {
    padding: 3rem 1.5rem;
}

.maya-display-none {
    display: none;
}

.navbar-dark {
    background-color: transparent;
}

.navbar a {
    color: #9D7C38 !important;
    font-weight: bold !important;
}

.navbar {
    background-color: #33271A;
    background-repeat: repeat-x;
    background-position: bottom;
    padding-bottom: 25px !important;
    background-image: url(../images/header_border.png);
}

.navbar-nav {
    float:none;
    margin:0 auto;
    display: block;
    text-align: center;
}

.navbar-nav > li {
    display: inline-block;
    float:none;
}

.maya-reserved {
    font-size: 0.7em !important;
    display: none !important;
}

.maya-highlight-text {
    font-weight: bold;
}

.title-text {
    /*color: #332718 !important;*/
    font-size: 2em;
}

.maya-title {
    background-image: url("../images/maya_title.png");
    width: 307px;
    height: 221px;
    background-size: 307px 221px;
    margin: 0px 0px 0px 0px;
}

.button-register {
    /*width: 291px;*/
    height: 130px;
    background-image: url("../images/sprite_register.png");
    font-size: 40px;
    color: #A3A29F;
    padding: 35px 0px 0px 0px;
    cursor: pointer;
}

.button-play {
    /*width: 291px;*/
    height: 130px;
    background-image: url("../images/sprite_play.png");
    font-size: 40px;
    color: #A3A29F;
    padding: 35px 0px 0px 0px;
    cursor: pointer;
}

.button-play2 {
    width: 291px;
    font-weight: bold;
    font-size: 1.5em;
    color: #33271A;
    padding: 10px;
    text-align: left;
    background-color: #332719;
    color: #A3A29F;
    opacity: 0.7;
    border-radius: 20px;
    text-align: center;
}

.button-register:hover {
    width: 291px;
    height: 130px;
    background-position: -3px -151px;
    background-image: url("../images/sprite_register.png");
}

.button-play:hover {
    width: 291px;
    height: 130px;
    background-position: -3px -151px;
    background-image: url("../images/sprite_play.png");
}

.maya-show-large {
    display: none;
}

.maya-show-small {
    display: inline-block;
}

.maya-show-small .button-play, .maya-show-small .button-register, .maya-show-small .button-play2  {
    margin: 40px 10px 40px 10px;
}

.maya-building-wrapper, .maya-troops-wrapper {
    background: #d6cdc1;
    border-radius: 25px;
    padding: 2em;
    /*opacity: 10%;*/
}

.maya-building-wrapper h3, .maya-troops-wrapper h3 {
    margin-bottom: 1em;
}

.maya-building-wrapper p, .maya-troops-wrapper p {
    color: black;
}

.maya-building-img, .maya-troop-img {
    text-align: center;
}

.form-control {
    color: #33271A !important;
    border-radius: 10px !important;
}

.form-control a {
    color: #9D7C38 !important;
}

/*.btn-dark {
    background-color: #9D7C38 !important;
}*/

.small-middle-container{
    margin: auto;
    width: 70%;
}

.navbar-nav > .active > a {
    /*border-bottom: 5px solid #9D7C38;*/
    color: white !important;
}

/*bulding sprites*/ 
.sprite-buildings {
    background: url("../images/buildings/buildings_sprite.png") no-repeat;
}

.sprite-palace {
    width: 145px;
    height: 145px;
    display: inline-block;
    background-position: 0px -325px;
}

.sprite-market {
    width: 145px;
    height: 145px;
    display: inline-block;
    background-position: -196px -325px;
}

.sprite-farm {
    width: 145px;
    height: 145px;
    display: inline-block;
    background-position: -196px -505px;
}

.sprite-barracks {
    width: 145px;
    height: 145px;
    display: inline-block;
    background-position: -399px -496px;
}

.sprite-workshop {
    width: 145px;
    height: 145px;
    display: inline-block;
    background-position: 0px 0px;
}

.sprite-treasury {
    width: 145px;
    height: 145px;
    display: inline-block;
    background-position: 0px -162px;
}

.sprite-hiding-place {
    width: 145px;
    height: 145px;
    display: inline-block;
    background-position: -402px -325px;
}

.sprite-war-room {
    width: 145px;
    height: 145px;
    display: inline-block;
    background-position: -196px 3px;
}

.sprite-academy {
    width: 145px;
    height: 145px;
    display: inline-block;
    background-position: 2px -665px;
}

.sprite-temple {
    width: 145px;
    height: 145px;
    display: inline-block;
    background-position: -195px -160px;
}

.sprite-grain-mill {
    width: 145px;
    height: 145px;
    display: inline-block;
    background-position: 2px -495px;
}

.sprite-pyramid {
    width: 145px;
    height: 145px;
    display: inline-block;
    background-position: -397px -160px;
}

.sprite-fortifications {
    width: 145px;
    height: 145px;
    display: inline-block;
    background-position: -397px 1px;
}
/*end bulding sprites*/

/*troops sprites*/
.sprite-troops {
    background: url("../images/troops/troops_sprite.png") no-repeat;
    background-size: 526px 431px;
}

.sprite-spear {
    width: 75px;
    height: 180px;
    display: inline-block;
    background-position: 0px 0px;
}

.sprite-sling {
    width: 75px;
    height: 207px;
    display: inline-block;
    background-position: -130px 0px;
}

.sprite-scout {
    width: 112px;
    height: 180px;
    display: inline-block;
    background-position: -272px 0px;
}

.sprite-macuahuitl {
    width: 100px;
    height: 207px;
    display: inline-block;
    background-position: -428px 2px;
}

.sprite-ram {
    width: 165px;
    height: 170px;
    display: inline-block;
    background-position: -2px -230px;
}

.sprite-bow {
    width: 150px;
    height: 207px;
    display: inline-block;
    background-position: -232px -227px;
}

.sprite-atlatl {
    width: 75px;
    height: 182px;
    display: inline-block;
    background-position: -440px -235px;
}
/*end troops sprites*/

#maya-upgrade-troops th {
    font-size: 0.8em;
    border-bottom: 1px solid #6b4900;
    text-align: center;
}

.troops-column-1, .troops-column-2 {
    font-size: 0.7em;
}

.troops-column-1 {
    text-align: right;
}

/* cookie css */
.cookieConsentContainer {
    z-index: 999;
    width: 350px;
    min-height: 20px;
    box-sizing: border-box;
    padding: 30px 30px 30px 30px;
    background: #332719;
    overflow: hidden;
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    opacity: 90% !important;
}
.cookieConsentContainer .cookieTitle a {
    font-family: OpenSans, arial, "sans-serif";
    color: #9D7C38;
    font-size: 22px;
    line-height: 20px;
    display: block;
}
.cookieConsentContainer .cookieDesc p {
    margin: 0;
    padding: 0;
    font-family: OpenSans, arial, "sans-serif";
    color: #9D7C38;
    font-size: 13px;
    line-height: 20px;
    display: block;
    margin-top: 10px;
} .cookieConsentContainer .cookieDesc a {
    font-family: OpenSans, arial, "sans-serif";
    color: #9D7C38;
    text-decoration: underline;
}
.cookieConsentContainer .cookieButton a {
    display: inline-block;
    font-family: OpenSans, arial, "sans-serif";
    color: #332719;
    font-size: 14px;
    font-weight: bold;
    margin-top: 14px;
    background: #9D7C38;
    box-sizing: border-box; 
    padding: 15px 24px;
    text-align: center;
    transition: background 0.3s;
}
.cookieConsentContainer .cookieButton a:hover { 
    cursor: pointer;
    background: #dbaa48;
}

/* end cookie css */

/*Mailchimp*/
#mc_embed_signup {
    /*background:#d6cdc1;*/ 
    clear:left;
    border-radius: 25px;
}
#mc-embedded-subscribe-form input[type=checkbox] {
    display: inline; 
    width: auto;
    margin-right: 10px;
}
#mergeRow-gdpr {
    margin-top: 20px;
}
#mergeRow-gdpr fieldset label {
    /*font-weight: normal;*/
}
#mc-embedded-subscribe-form .mc_fieldset {
    border:none;
    min-height: 0px;
    padding-bottom:0px;
}
#mc-embedded-subscribe {
    background: #9D7C38 !important;
}
#mc-embedded-subscribe:hover {
    background: #dbaa48 !important;
}
/*end Mailchimp*/

/* TODO modal will have to go once the home page is updated and uses modal for errors */
.modal-body {
    background: url(../images/landing.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.modal-body button {
  /*font-size: 3em;*/
  background: white !important;
  border-radius: 5px !important;;
  padding: 0px 5px 0px 5px  !important;
  margin-bottom: 5px;
}

.modal {
    padding: 0 !important;

}
.modal .modal-dialog {
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
}
.modal .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
}
.modal .modal-body {
    overflow-y: auto;
}
/* end TODO modal will have to go once the home page is updated and uses modal for errors */
























/*cookie consent*/
@media (max-width: 980px) {
    .cookieConsentContainer {
        bottom: 0px !important;
        left: 0px !important;
        width: 100%  !important;
    }
}
/*end cookie consent*/

/* bootstrap 4
Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
    .table td, .table th {
        font-size: 1em;
    }

    .troops-column-1, .troops-column-2 {
        font-size: 0.9em;
    }

    .sprite-troops {
        background-size: 1052px 864px;
    }
    .sprite-ram {
        width: 330px;
        height: 340px;
        background-position: -5px -460px;
    }

    .sprite-spear {
        width: 150px;
        height: 360px;
        background-position: 0px 0px;
    }

    .sprite-sling {
        width: 150px;
        height: 415px;
        background-position: -262px 0px;
    }

    .sprite-scout {
        width: 225px;
        height: 360px;
        background-position: -545px 0px;
    }

    .sprite-macuahuitl {
        width: 200px;
        height: 415px;
        background-position: -857px 0px;
    }

    .sprite-bow {
        width: 300px;
        height: 415px;
        background-position: -465px -455px;
    }

    .sprite-atlatl {
        width: 150px;
        height: 365px;
        background-position: -881px -470px;
    }
}

/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
    .maya-template-demo {
        padding: 3rem 3rem;
        background-color: #332719;
        border-radius: 50px;
        opacity: 90%;
        color: #9D7C38 !important;
    }
}

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {

}

/* Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
    .maya-show-large {
        display: inline-block;
    }
    .button-register {
        float: right;
        width: 291px;
    }
    .maya-title {
        float: left;
        margin: 0px 40px 0px 40px;
        background-size: 400px 288px;
        width: 400px;
        height: 288px;
    }
    .button-play {
        float: right;
    }
    .button-play2 {
        float: left;
        width: 291px;
    }
    .maya-show-small {
        display: none;
    }
    .maya-reserved {
        display: block !important;
    }

}