body, html, div, label, p, span, h1, h2, h3, h4 {
    color: #fff;
    font-family: 'Roboto';
}

header {
    padding-top: 10px;
    padding-bottom: 10px;
    -webkit-box-shadow: 0px 4px 5px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 4px 5px 0px rgba(0,0,0,0.5);
    box-shadow: 0px 4px 5px 0px rgba(0,0,0,0.5);
    position: relative;
    z-index: 999;
}

main {
    background: url(../images/background.jpg) top center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding: 30px 0;
}

@media all and (min-width: 640px) {
    main {
        padding: 30px 0 80px;
    }
}

.grid-x.registration-fields .cell {
    padding-left: 2px;
    padding-right: 2px;
}

@media all and (min-width: 640px) {
    .grid-x.registration-fields .cell {
        padding-left: 5px;
        padding-right: 5px;
        box-sizing: border-box;
    }
}

.uppercase {
    text-transform: uppercase;
}

.invalid-feedback{
    color: #f00;
}

.mobile-scroll {
    overflow-x: scroll;
}

@media all and (min-width: 640px) {
    .mobile-scroll {
        overflow-x: unset;
    }
}

.current-date {
    display: inline-block;
    border: 1px solid #fff;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    font-size: 1.2rem;
    -webkit-box-shadow: 0px 4px 5px 0px rgb(0 0 0 / 50%);
    -moz-box-shadow: 0px 4px 5px 0px rgba(0,0,0,0.5);
    box-shadow: 0px 4px 5px 0px rgb(0 0 0 / 50%);
    text-shadow: 1px 1px 1px rgb(0 0 0 / 50%);
}

.home-link {
    font-size: 1.2rem;
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgb(0 0 0 / 50%);
}

.title {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 10px 0;
}

.big.title {
    font-size: 1.8rem;
    margin: 10px 0 20px;
}

.white {
    color: #fff;
}

.black {
    color: #fff;
}

.yellow {
    color: #fdce3d;
}

footer {
    background-color: #000640;
    color: #fff;
    padding-top: 10px;
}

.logo-container {
    background-color: #fff;
    padding: 20px 10px 15px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    margin-top: 5px;
}

div.cell.adl-logo {
    width: 100%;
    text-align: center;
}

.drywall-logo {
    display: none;
}

@media all and (min-width: 800px) {
    div.cell.adl-logo {
        width: 50%;
        text-align: left;
    }
    
    .drywall-logo {
        display: block;
    }
}

.small-mt-1, .mt-1 {
    margin-top: 1rem;
}

.small-mt-2, .mt-2 {
    margin-top: 2rem;
}

.small-mb-1, .mb-1 {
    margin-bottom: 1rem;
}

.small-mb-2, .mb-2 {
    margin-bottom: 2rem;
}

.small-mr-1, .mr-1 {
    margin-right: 1rem;
}

.small-mr-2, .mr-2 {
    margin-right: 2rem;
}

@media all and (min-width: 640px) {
    .small-mt-1, .small-mt-2, 
    .small-mb-1, .small-mb-2,
    .small-mr-1, .small-mr-2 {
        margin-bottom: inherit;
    }
}

label {
    font-weight: bold;
}

form.user input,
form.user textarea,
form.user select,
.button.login,
.button.register,
.button.forgot,
.button.save,
.button.yellow,
.button.red,
.button.blue {
    border-radius: 4px;
    -webkit-box-shadow: 0px 4px 5px 0px rgb(0 0 0 / 50%);
    -moz-box-shadow: 0px 4px 5px 0px rgba(0,0,0,0.5);
    box-shadow: 0px 4px 5px 0px rgb(0 0 0 / 50%);
}

.button.wide {
    padding: 10px 50px;
}

.button.wide.small {
    padding: 10px 20px;
}

.button.login,
.button.register,
.button.forgot,
.button.save,
.button.yellow,
.button.red,
.button.blue {
    font-size: 1.2rem;
    font-weight: bold;
}


.button.login {
    background-color: #fdce3d;
    display: block;
    color: #000640;
    width: 100%;
}

.button.register,
.button.forgot {
    background-color: #95c6e6;  
    color: #000640;
}

.button.yellow,
.button.save {
    background-color: #fdce3d;
    color: #000640;
}

.button.red {
    background-color: #d22d26;  
    color: #fff;
}

.button.blue {
    background-color: #95c6e6;  
    color: #000640;
}

.close-button span {
    color: #000;
}

.instructions-home {
    background-color: rgba(255,255,255,0.7);
    padding: 20px;
    border-radius: 10px;
    overflow-y: scroll;
    max-height: 400px;
}

.instructions-home,
.instructions-home p,
.instructions-home div {
    color: #000;
}

.modal-home-content {
    background: rgb(14,13,57);
    background: linear-gradient(0deg, rgba(14,13,57,1) 0%, rgba(109,28,48,1) 50%, rgba(209,45,38,1) 100%);
    width: 310px;
    min-height: 350px;
    padding: 15px;
}

.fancybox-content {
    background-color: transparent !important;
    padding: 20px !important;
}

.fancybox-button.fancybox-button--close {
    color: #000 !important;
    position: absolute;
    top: 0;
    right: 0;
    background: none;
}

@media all and (min-width: 640px) {
    .modal-home-content {
        width: 550px;
        padding: 30px;
    }

    .fancybox-content {
        background-color: transparent !important;
        padding: 44px !important;
    }

    .fancybox-button.fancybox-button--close {
        top: 23px;
        right: 23px;
    }
}

.answers-registration{
    background-color: #95C6E6;
    border-radius: 10px;
    padding: 30px 0;
}

.answers-registration,
.answers-registration div,
.answers-registration p, 
.answers-registration strong, 
.answers-registration label{
    color: #000;
}

label.accept_terms {
    font-size: 0.8rem;
    font-weight: normal;
}

ul.tabs.matches {
    background-color: transparent;
    border: none;
}

ul.tabs.matches li{
    background-color: rgba(255,255,255,.70);
}

ul.tabs.matches li > a {
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 1rem;
    color: #000;
}

ul.tabs.matches li.is-active > a {
    color: #fff;
}

ul.tabs.matches + .tabs-content thead,
ul.tabs.matches + .tabs-content tbody{
    border: none;
}

ul.tabs.matches + .tabs-content,
ul.tabs.matches + .tabs-content table,
table.user-points{
    width: 100%;
    background-color: transparent;
    border: none;
    border-collapse: collapse;
    border-spacing: 0;
}

ul.tabs.matches + .tabs-content tbody,
table.user-points tbody{
    background-color: rgba(255,255,255,.70);
}

ul.tabs.matches + .tabs-content table tr:nth-of-type(even),
table.user-points tr:nth-of-type(even) {
    background-color: rgba(255,255,255,.85);
}

ul.tabs.matches + .tabs-content td,
ul.tabs.matches + .tabs-content th,
table.user-points td,
table.user-points th, 
ul.tabs.matches + .tabs-content td span {
    text-align: center;
    color: #000;
    background-color: transparent;
}

ul.tabs.matches + .tabs-content th,
ul.tabs.matches ul.is-active a{
    color: #fff;
}

ul.tabs.matches li a, ul.tabs.matches li.is-active a{
    background: transparent !important;
}

ul.tabs.matches.groups li:nth-child(1).is-active, 
ul.tabs.matches.groups + .tabs-content .tabs-panel:nth-child(1) thead{
    background-color: rgba(26, 142, 79, .7);
}

ul.tabs.matches.groups li:nth-child(2).is-active, 
ul.tabs.matches.groups + .tabs-content .tabs-panel:nth-child(2) thead{
    background-color: rgba(43, 95, 158, .7);
}

ul.tabs.matches.groups li:nth-child(3).is-active, 
ul.tabs.matches.groups + .tabs-content .tabs-panel:nth-child(3) thead{
    background-color: rgba(255, 222, 0, .7);
}

ul.tabs.matches.groups li:nth-child(4).is-active, 
ul.tabs.matches.groups + .tabs-content .tabs-panel:nth-child(4) thead{
    background-color: rgba(157, 2, 255, .7);
}

ul.tabs.matches.groups li:nth-child(5).is-active, 
ul.tabs.matches.groups + .tabs-content .tabs-panel:nth-child(5) thead{
    background-color: rgba(0, 255, 186, .7);
}

ul.tabs.matches.groups li:nth-child(6).is-active, 
ul.tabs.matches.groups + .tabs-content .tabs-panel:nth-child(6) thead{
    background-color: rgba(255, 114, 0, .7);
}

ul.tabs.matches.groups li:nth-child(7).is-active, 
ul.tabs.matches.groups + .tabs-content .tabs-panel:nth-child(7) thead{
    background-color: rgba(33, 208, 45, .7);
}

ul.tabs.matches.post-groups li:nth-child(1).is-active, 
ul.tabs.matches.post-groups + .tabs-content .tabs-panel:nth-child(1) thead{
    background-color: rgba(189, 53, 53, .7);
}

ul.tabs.matches.post-groups li:nth-child(2).is-active, 
ul.tabs.matches.post-groups + .tabs-content .tabs-panel:nth-child(2) thead{
    background-color: rgba(226, 194, 45, .7);
}

ul.tabs.matches.post-groups li:nth-child(3).is-active, 
ul.tabs.matches.post-groups + .tabs-content .tabs-panel:nth-child(3) thead{
    background-color: rgba(82, 96, 196, .7);
}

ul.tabs.matches.post-groups li:nth-child(4).is-active, 
ul.tabs.matches.post-groups + .tabs-content .tabs-panel:nth-child(4) thead{
    background-color: rgba(220, 231, 95, .7);
}

ul.tabs.matches.post-groups li:nth-child(5).is-active, 
ul.tabs.matches.post-groups + .tabs-content .tabs-panel:nth-child(5) thead{
    background-color: rgba(58, 182, 34, .7);
}

ul.tabs.matches + .tabs-content input[type='text']{
    display: inline-block;
    height: 1.5rem;
    font-size: 1em;
    width: 50px;
	padding: 1px;
	text-align: center;
    margin-bottom: 0;
}