/*
Generic
 */
.container {padding: 0 calc(50% - 700px);}
ul {margin: 0;}
a {
    text-decoration: none;
    color: #ffe35f;
}
html {
    overflow-x: hidden;
}
.top-title {
    min-height: 60px;
    padding: 15px 20px!important;
    background: linear-gradient(rgba(76, 115, 49, 0.7), rgba(76, 115, 49, 0.7)), url(../img/background-no-blur.png) no-repeat fixed center;
    background-size: cover;
    background-position-y: 100%;
    border-radius: 20px;
    box-shadow: 0 2px 3px rgba(0,0,0,0.3);
}


/*
Header
 */
header { margin-bottom: 40px; }
header, footer {
    background: linear-gradient(rgba(76, 115, 49, 0.7), rgba(76, 115, 49, 0.7)), url(../img/background-no-blur.png) no-repeat fixed center;
    background-size: cover;
    background-position-y: 100%;
    box-shadow: 0 2px 3px rgba(0,0,0,0.3), 0 -2px 3px rgba(0,0,0,0.3);
}
header .top, footer .top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
}
header .item > img, footer .item > img {
    width: 280px;
}
header .item.logo, footer .item.logo {
    text-align: center;
}
header .top > .item:last-child {
}

header .top i {
    color: #ffe35f;
    font-size: 65px;
    text-shadow: 0 2px 3px rgba(0,0,0,0.4);
    margin: 0 15px;
}

header .top i, header .top .item-body {
    display: inline-block;
    vertical-align: middle;
}

header .item-body > span {
    display: block;
    font-family: Montserrat,sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 3px rgba(0,0,0,0.3);
    color: rgba(255,255,255,0.9);
}
header .item-body > span:last-child {
    color: rgba(255, 255, 255, .7);
    font-size: 0.94rem;
}

header .item span > i {
    font-size: 0.94rem;
    margin: 0;
    color: inherit;
}

header .item:last-child span > i {
    color: #2ecc71;
}
header .bottom {
    background-color: rgba(0, 0, 0, .3);
}

header .bottom > ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    min-height: 60px;
    flex-wrap: wrap;
}

header .bottom > ul li, .top .user li {
    display: block;
    position: relative;
}

header .bottom li > a, .top .user li > a {
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255, 255, 255, .9);
    line-height: 60px;
    position: relative;
    text-shadow: 0 2px 3px rgba(0,0,0,0.3);
    transition: 0.2s color;
}
.top .user li > a:hover {
    color: rgba(255, 255, 255, .6);
}

header .bottom li > a:after {content: '';position: absolute;bottom: -18px;left: 50%;right: 50%;height: 4px;background: #ffe35f;box-shadow: 0 -2px 3px rgba(0,0,0,0.3);border-radius: 8px 8px 0 0;margin: 0;transition: 0.2s;}
header .bottom li:hover > a:after, header .bottom li.active > a:after {content: '';left: 0;right: 0;background: #ffe35f;box-shadow: 0 -2px 3px rgba(0,0,0,0.3);border-radius: 8px 8px 0 0;margin: 0 -10px 0 -10px;}

header .bottom li > ul.dropdown-menu {
    position: absolute;
}

header .bottom li.boutique > a:after { display: none; }
header .bottom li.boutique:hover > a:after { display: none; }
header .bottom li.boutique:hover {
    background: #c5af47;
}

header .bottom li.boutique {
    background: #ffe35f;
    height: 40px;
    border-radius: 20px;
    padding: 0 20px;
    transition: 0.2s background;
}

header .bottom li.boutique > a {
    top: -10px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    color: rgb(255, 255, 255);
}

header .top .user {
    grid-column: span 3;
    background: rgba(0, 0, 0, .3);
    margin: 0 calc(-50vw + 700px);
    padding: 0 calc(50vw - 700px);
}

.top .user ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 60px;
}

.top .user li i {
    color: inherit;
    font-size: inherit;
    margin: 0 5px;
}

.top .user li {
    margin-left: 20px;
}

.modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .6);
    z-index: 1000;
}

.modal {
    background: #FFF;
    min-width: calc(100vw / 3);
    border-radius: 20px;
    padding: 50px 25px;
    box-shadow: 0px 0px 0px 15px rgba(0, 0, 0, .3);
    position: relative;
    outline: none;
    max-height: 500px;
}

.modal-title {
    font-family: Montserrat,sans-serif;
    font-weight: 700;
    font-size: 1.56rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(0, 0, 0, .7);
    padding-bottom: 4px;
    border-bottom: 1px solid #ddd;
}

.modal-body {
    max-height: 400px;
    overflow: hidden scroll;
    font-family: Montserrat,sans-serif;
    font-weight: 700;
    font-size: 1.12rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(0, 0, 0, .7);
}

.form-group > label {
    display: block;
    padding: 20px 0 5px 20px;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(0, 0, 0, .7);
}

.form-group > input {
    border: none;
    background: rgba(0, 0, 0, 0.1);
    width: calc(100% - 20px);
    min-height: 40px;
    border-radius: 20px;
    padding-left: 20px;
    font-family: Montserrat, sans-serif;
}

input:focus {
    outline: none;
}

.form-group {padding-top: 20px;}

.form-group a {font-family: Arial;color: #c5af47;text-decoration: none;font-weight: 700;border-bottom: 1px dashed;padding-bottom: 3px;margin-left: 20px;}

.form-group > button {
    display: block;
    margin: 10px 0;
    border: none;
    width: 100%;
    line-height: 40px;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    background: #c5af47;
    color: rgba(255, 255, 255, .9);
    cursor: pointer;
    transition: 0.2s;
}

.form-group > button:hover {background: #ad993c;}

button:focus {
    outline: none;
}

.modal-title > i:last-child {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.alert {
    margin: 10px 0;
    background: #c5af47;
    padding: 10px 20px;
    border-radius: 20px;
    color: rgba(255, 255, 255, .9);
    font-family: Montserrat, sans-serif;
}

.alert a.close {
    display: none;
}

.alert.alert-success {
    background: #78e08f;
}

.alert.alert-danger {
    background: #e55039;
}
/*
Footer
*/
footer {margin-top: 40px;}
footer .top {
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 10px solid rgba(0, 0, 0, .3);
    align-items: normal;
}


footer .item .item-title, .top-title {
    padding-top: 50px;
    font-family: Montserrat,sans-serif;
    font-weight: 700;
    font-size: 1.56rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 3px rgba(0,0,0,0.3);
    color: rgba(255,255,255,0.9);
    float: r;
}
footer .item .item-title span, .top-title span {
    position: relative;
}

footer .item .item-title span > small , .top-title span > small{
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
    display: block;
    margin-top: 2px;
}

footer .item .item-title > *, .top-title > * {
    display: inline-block;
    vertical-align: middle;
}

footer .item .item-title i, .top-title i {
    font-size: 40px;
    margin-right: 15px;
}

footer .item .item-title span:after, .top-title span:after {content: '';position: absolute;left: 0;bottom: -15px;height: 5px;width: 30%;background: rgba(0, 0, 0, .3);}
footer .bottom {
    background: rgba(0, 0, 0, .3);
}

footer .bottom > span {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.94rem;
    font-weight: 700;
    font-family: Montserrat, sans-serif;
    color: rgba(255, 255, 255, .9);
    text-transform: uppercase;
    text-shadow: 0 2px 3px rgba(0,0,0,0.3);
    line-height: 20px;
}
footer .item-body.voters {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    width: 80%;
}

footer .item-body.voters > .sub-item:first-child {
    /* grid-column: 1 / 3; */
    /* text-align: center; */
}

footer .item-body.voters > .sub-item {
    padding: 5px 0;
}

footer .item-body.voters > .sub-item > img {
    border-radius: 8px;
    box-shadow: 0 2px 3px rgba(0,0,0,0.3);
}

footer .item-body.voters > .sub-item > span {
    color: rgba(255, 255, 255, 0.6);
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.12rem;
    text-align: left;
    padding-left: 5px;
}

footer .item-body.voters > .sub-item > span, footer .item-body.voters > .sub-item > img {
    display: inline-block;
    vertical-align: middle;
}

footer .item-body.voters > .sub-item > span > small {
    display: block;
    color: rgba(255, 255, 255, .7);
    font-size: 0.94rem;
}

footer .item-body {
    padding-top: 40px;
}
footer .item-body.voters > .sub-item:first-child > span {
    color: #CFB53B;
}
footer .item-body.voters > .sub-item:nth-child(2) > span {
    color: #c0c0c0;
}
footer .item-body.voters > .sub-item:nth-child(3) > span {
    color: #cd7f32;
}
footer .item-body > span {
    padding-top: 40px;
    font-family: Montserrat,sans-serif;
    font-weight: 700;
    font-size: 0.94rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 3px rgba(0,0,0,0.3);
    color: rgba(255, 255, 255, 0.8);
}

/*
Pages: home
*/
.news-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 50%);
    padding: 20px 0;
    grid-gap: 20px;
}

.news-wrapper .news {
    position: relative;
    width: calc(100% - 20px);
    font-family: Montserrat,sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 3px rgba(0,0,0,0.3);
    box-shadow: 0 2px 3px rgba(0,0,0,0.3);
    border-radius: 20px;
}

.news .title {
    color: rgba(255,255,255,0.9);
    position: relative;
    background: linear-gradient(rgba(76, 115, 49, 0.7), rgba(76, 115, 49, 0.7)), url(../img/background-no-blur.png) no-repeat fixed center;
    background-size: cover;
    background-position-y: 100%;
    padding: 15px 0 25px 20px;
    border-radius: 20px 20px 0 0;
}

.news .title:after {
    content: '';
    position: absolute;
    left: 20px;
    bottom: 10px;
    height: 5px;
    width: 10%;
    background: rgba(0, 0, 0, .3);
}

.news .content {
    color: rgba(0, 0, 0, 0.5);
    font-size: 0.94rem;
    padding: 10px 20px 20px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 0 0 20px 20px;
    overflow-wrap: break-word;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    height: calc(100% - 106px);
}
.news .title small {
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
    display: block;
}
.news a {
    color: #af951e;
}
.page-content {
    border-radius: 20px;
    margin-top: 40px;
    background: linear-gradient(rgba(76, 115, 49, 0.7), rgba(76, 115, 49, 0.7)), url(/theme/SurvieCraft/img/background-blur.png) no-repeat fixed center;
    background-size: cover;
    background-position-y: 100%;
    box-shadow: 0 2px 3px rgba(0,0,0,0.3);
    padding: 20px;
    font-family: Montserrat,sans-serif;
    font-weight: 700;
    font-size: 1.56rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 3px rgba(0,0,0,0.3);
    color: rgba(255,255,255,0.9);
}
.page-content img, .page-content embed {
    border-radius: 20px;
    box-shadow: 0 2px 3px rgba(0,0,0,0.3);
}
/*
shop
 */
.shop-categories {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.shop-article {background: linear-gradient(rgba(76, 115, 49, 0.7), rgba(76, 115, 49, 0.7)), url(/theme/SurvieCraft/img/background-no-blur.png) no-repeat fixed center;background-size: cover;background-position-y: 100%;box-shadow: 0 2px 3px rgba(0,0,0,0.3);padding: 10px 20px;margin: 20px 0;border-radius: 20px;}

.shop-categories a:after {content: '';position: absolute;bottom: -10px;height: 5px;width: 35%;background: rgba(0, 0, 0, .3);left: 0;}
.shop-article a {
    font-family: Montserrat,sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 3px rgba(0,0,0,0.3);
    color: rgba(255,255,255,0.9);
    position: relative;
}

.shop-article i {color: rgba(255, 255, 255, .9);font-size: 30px;margin-right: 10px;}

.shop-article > * {
    display: inline-block;
    vertical-align: top;
}
.half-top-title {
    margin: 0 10px;
    width: calc(50% - 62px);
    display: inline-block;
    vertical-align: top;
    position: relative;
}

.top-title .links {
    top: 15px;
    position: absolute;
    right: 20px;
}

.top-title .links a {
    text-align: right;
}
.half-top-title:first-child {margin-left: 0;}

.half-top-title:nth-child(2) {margin-right: 0;}
footer .top .item:last-child, footer .top .item:first-child {
    grid-column: span 2;
}

/*
Shop
*/

.item-wrapper img {
    width: 400px;
    height: 250px;
    border-radius: 20px;
}

.item-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 400px);
    justify-content: space-between;
    grid-gap: 40px;
}

.item-wrapper .item {
    border-radius: 20px;
    box-shadow: 0 2px 3px rgba(0,0,0,0.3);
    font-family: Montserrat,sans-serif;
    font-weight: 700;
    font-size: 1.56rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 3px rgba(0,0,0,0.3);
    color: rgba(255,255,255,0.9);
    position: relative;
    max-height: 250px;
}

.item .caption {
    position: absolute;
    top: 0;
    height: 100%;
    width: 400px;
}


.item .caption button {
    border: none;
    line-height: 40px;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    background: #c5af47;
    color: rgba(255, 255, 255, .9);
    cursor: pointer;
    transition: 0.2s;
    font-size: 20px;
    padding: 0 20px;
    position: absolute;
    bottom: 20px;
    right: 20px;
    box-shadow: 0 2px 3px rgba(0,0,0,0.3);
    text-shadow: 0 2px 3px rgba(0,0,0,0.3);
}

.item .caption span {
    font-size: 16px;
}

.item h4 {
    background: rgba(0, 0, 0, .45);
    margin: 0;
    padding: 20px;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    width: calc(100% - 40px);
}

.item .caption small {
    display: block;
    font-size: 18px;
}

/*
Vote
 */
.step {
    font-family: Montserrat,sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 3px rgba(0,0,0,0.3);
    padding: 20px;
    margin: 20px;
    text-align: center;
}

.step button, .step a.btn {
    border: none;
    line-height: 40px;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    background: #c5af47;
    color: rgba(255, 255, 255, .9);
    cursor: pointer;
    transition: 0.2s;
    font-size: 20px;
    padding: 0 20px;
    box-shadow: 0 2px 3px rgba(0,0,0,0.3);
    text-shadow: 0 2px 3px rgba(0,0,0,0.3);
    margin: 10px;
}

.step input {
    border: none;
    background: rgba(0, 0, 0, 0.1);
    width: calc(100% - 20px);
    min-height: 40px;
    border-radius: 20px;
    padding-left: 20px;
    font-family: Montserrat, sans-serif;
}

.vote-classement table, .user-info {
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 2px 3px rgba(0,0,0,0.3);
    width: 100%;
    color: rgba(0, 0, 0, .7);
}

.vote-classement table td {
    width: 33%;
    text-shadow: 0 1px 1px rgba(0,0,0,0.3);
    font-size: 18px;
    line-height: 25px;
}

.vote-classement table tbody {
    width: 100%;
}

.vote-classement table td:nth-child(3) {
    text-align: right;
}
.vote-classement table td:nth-child(2) {
    text-align: center;
}

.vote-classement table td:nth-child(2) img {
    border-radius: 8px;
    box-shadow: 0 2px 3px rgba(0,0,0,0.3);
    height: 25px;
    vertical-align: middle;
}

.gift td {
    text-align: center;
}

header .item:nth-child(4) .item-body > span:last-child {
    text-align: right;
}

.user-info {
    width: calc(50% - 85px);
    display: inline-block;
    vertical-align: top;
    margin: 20px;
    min-height: 580px;
}

.modal-body.shop a {
    display: block;
    border: none;
    line-height: 40px;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    background: #c5af47;
    color: rgba(255, 255, 255, .9);
    cursor: pointer;
    font-size: 20px;
    padding: 0 20px;
    box-shadow: 0 2px 3px rgba(0,0,0,0.3);
    text-shadow: 0 2px 3px rgba(0,0,0,0.3);
    margin: 10px;
}

.shop .form-group, .input-group-addon {
    display: inline;
}

.user-info:nth-child(4) { min-height: inherit; }

@media screen and (max-width: 1600px) {
    .container {
        margin:0;
        padding: 0 40px;
    }
    header .top .user {
        padding: 0 40px;
        margin: 0 -40px;
    }
    header .top .item > i {
        width: 100%;
        text-align: center;
        margin: 0;
    }
    header .top > .item, header .top > .item img {
        display: grid;
        grid-template-rows: repeat(2, 1fr);
        text-align: center!important;
        margin: auto;
    }
    header .top > .item:nth-child(3) {
        grid-template-rows: repeat(1, 1fr);
    }
    i.fab.fa-discord {
        order: -1;
    }
    .half-top-title {
        padding-top: 50px;
        width: 100%;
        margin: 20px 0;
    }

    header .item:nth-child(4) .item-body > span:last-child {
        text-align: center;
    }

}

@media screen and (max-width: 1000px) {
    .container {
        padding: 0 20px!important;
    }
    header .top .user, .container {
        margin: 0 !important;
        padding: 0;
    }
    header .top  {
        grid-template-columns: repeat(1, 1fr);
    }
    header .top .user {
        grid-column: 1;
        order: 1;
        margin: 0 -20px;
        margin-left: -20px!important;
        margin-right: -20px!important;
    }
    header .top > .item {
        order: 3;
        display: grid;
        grid-template-columns: 75px calc(100% - 75px);
        grid-template-rows: repeat(1, 1fr);
        justify-content: left;
        align-items: center;
        margin-top: 20px;
    }
    header .top > .item.logo {
        grid-template-columns: 1fr;
    }
    header .item > img {

        margin: auto;
    }
    header .top > .item:last-child {
        order: 2;
    }
    header .top > .item > i{
        order: -1;
        text-align: right;
    }
    .top .user ul, .container ul {
        flex-wrap: wrap;
        padding: 0;
        justify-content: space-around;
    }
    .top .user li { margin: 0 5px;}
    header .item-body > span:last-child {
        display: flex;
        align-items: center;
    }

    header .item-body > span:last-child > i {
        order: -1;
        margin-right: 5px;
    }
    header .bottom li.boutique {
    }
    header .top, footer .top {
        grid-template-columns: repeat(1, 1fr);
    }
    footer .top .item {
        width: calc(100% - 50px);
        padding: 0 25px;
    }
    footer .item .item-title span > small {
        font-size: 12px;
    }
    header .item-body > span {
        font-size: 1.12rem;
    }
    header .item-body > span:last-child {
        font-size: 12px;
    }
    header .top i {
        font-size: 40px;
    }
    footer .item-body.voters > .sub-item > img {
        height: 40px;
    }
    footer .item-body.voters > .sub-item {
        grid-column: 1 / 3;
        text-align: left!important;
    }
    header .bottom li > a, .top .user li > a {
        font-size: 1.12rem;
    }
    footer .top > * {
        grid-column: span 1;
    }
    .half-top-title {
        width: calc(100% - 40px)!important;
        margin: 20px 0!important;
    }
    header .top  .item-body {

        text-align: left;

        margin-left: 20px;
    }
    .news-wrapper {
        grid-template-columns: repeat(1, 1fr);
    }
    .news-wrapper .news {
        width: 100%;
    }
    .item-wrapper {
        grid-template-columns: repeat(1, 1fr);
    }
}
