@charset "utf-8";

.pxbinner {
    display: table-cell;
    vertical-align: middle;
    width: 163px;
    height: 150px;
}

.pxbimage {
    display: inline-block;
    margin: 4px;
    width: 163px;
    height: 150px;
    background: black;
    cursor: pointer;
    border-radius: 5px;
    vertical-align: middle;
}

.pxbimage img {
    max-width:  calc(100% - 10px)!important;
    max-height: calc(100% - 10px)!important;
    margin: auto;
    text-align: center;
    display: block;
}

.empty {
    display: block;
    width: 100%;
    margin: 100px 0;
}

.empty > .fas {
    color: #503b98;
    font-size: 60px;
    padding: 20px 0;
    text-align: center;
    display: block;
}
  
.tiphelp .tiphelptext {
    visibility: hidden;
    width: 200px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
  
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
}
  
.tiphelp:hover .tiphelptext {
    visibility: visible;
}

.feel {
  margin: 0px 5px;
  background-color: white;
}

html {
    scroll-behavior: smooth;
}

.user-progress {
    float: right;
    padding-left: 20px;
}

.listCategories img {
    max-width: 50%;
    height: auto!important;
}

.catShareBtn, .catMatchBtn {
    display: none;
    width: 120px;
}

.notify {
    font-family: serif;
    margin: 15px 0;
}

.categoryWithShare:hover .catShareBtn, .categoryWithShare:hover .catMatchBtn {
    display: inline-block;
}

.categoryWithShare .listCategory.category {
    width: calc(100% - 126px);
}

.categoryWithShareAndMatch .listCategory.category {
    width: calc(100% - 252px);
}

.points {
    display: inline-block;
}


ol.breadcrumb {
    font-size: 16px;
    padding: 20px;
}

select#searching-category {
    cursor: pointer;
}

.learGameMainBlock {
    height: calc(100vh - 68px - 45px);
    margin: 0!important;
    overflow-y: auto;
}

.info-title {
    background-color: #ebebeb;
    padding: 10px;
    font-size: 18px;
}

.float-help #helpText {
    display: none;
	font-size: 14px;
    padding: 10px;
    background-color: white;
    overflow-y: auto;
    max-height: calc(((100vh - 68px) - 45px) - 43px);
    box-shadow: 0 1px 15px rgba(0, 0, 0, 0.18);
}

.smallprogress span {
	position: absolute;
    color: #3c394a;
    top: 50%;
    left: 50%;
	transform: translate(-50%, -50%);
}

.smallprogress  {
	width: 200px;
    height: 30px;
    overflow: hidden;
    border-radius: 20px;
    background: #f6f6f6;
    margin: 7.5px auto;
}

.help {
    font-size: 14px;
	height: calc(100vh - 68px - 45px - 43px);
	overflow-y: auto;
    padding: 0!important;
	margin: 0!important;
}

.help article {
    padding: 10px;
}

.help .fas {
    padding-right: 10px;
}

.helpbox {
    background-color: var(--yellow);
    padding: 10px;
    border: 1px solid var(--orange);
    font-size: 14px;
    color: white;
    cursor: pointer;
}

.helpbox .fas {
	float: right;
	padding-top: 4px;
}

/* book own h styles */
.help h1 {
	font-size: 1.5rem;
}

.help h2 {
	font-size: 1.4rem;
}

.help h3 {
	font-size: 1.3rem;
}

.help h4 {
	font-size: 1.2rem;
}

.help h5 {
	font-size: 1.1rem;
}

.help h6 {
	font-size: 1.05rem;
}


img {
	user-drag: none; 
	user-select: none;
	-moz-user-select: none;
	-webkit-user-drag: none;
	-webkit-user-select: none;
	-ms-user-select: none;

}

#book img {
    height: 80px;
}

#profile header {
    box-shadow: 2px 1px 4px #A9A9A9;
    margin-bottom: 10px;
}

#profile div.center.profile-center {
    padding-top: 15px;
}

#profile div.center.profile-center * {
    font-family: Arial !important;
}

.Iinladder, .Iinladder a {
    color: #6cc439!important;
}

#search-player {
	max-width: 300px;
    width: 100%;
    border: 0;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    padding: 8px 25px;
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: calc(100% - 15px);
    padding-right: 45px;
}

#help, #facebook-icon, #discussion {
    position: fixed;
    bottom: 15px;
    width: 76px;
    height: 76px;
}

#help img, #facebook-icon img, #discussion img {
    width: 76px;
    height: 76px;
    cursor: pointer;
}

#uploading {
	display: none;
}

#help {
    right: 15px;
    height: auto;
    width: auto;
    transition: right .22s;
}

#help img {
    float: right;
}

#facebook-icon {
    left: 15px;
}

#facebook-icon a {
    margin: 0;
}

#discussion {
    left: calc(50% - 38px);
}

.shareinput {
    width: 100%;
}

.notice {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #fa3e3e;
    color: #f5f5f5;
    padding: 3px 4px;
    border-radius: 2px;
    text-align: center;
    font-size: 14px;
    font-family: BebasNeue;
    cursor: pointer;
}

.notice.notice-unread {
    background-color: #888;
}

#report img {
    height: 40px;
    width: 40px;
    cursor: pointer;
}

#report {
    display: inline-block;
    margin-right: 10px;
    vertical-align: bottom;
}

#report #report-form {
    display: none;
    position: absolute;
    padding: 15px;
    right: 10px;
    width: 370px;
    height: 382px;
    border-radius: 5px;
    background: #e7e7e7;
    font-family: BebasNeue;
    font-weight: normal;
    text-align: left;
    z-index: 2;
}

#report #report-form h3 {
    margin-bottom: 0;
}

.questioneditiframe {
	display: block;
    max-width: 1200px;
    width: 100%;
    height: 900px;
    border: 0;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    margin: auto;
    margin-top: 90px;
}

.infoblock {
    display: inline-table;
    cursor: help;
    background-color: gray;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    color: white;
    font-size: 8px;
    font-weight: bold;
    text-align: center;
    line-height: 15px;
    font-family: monospace;
    margin-right: 10px;
}

.box-text {
    background: white;
    padding: 10px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0px 0px 4px 2px rgba(0,0,0,0.1);
}

.deletecat, .deletenotify {
    cursor: pointer;
    padding-left: 10px;
}

.custom-form input[type=text], .custom-form input[type=email] {
    width: 212px;
    box-sizing: border-box;
    padding: 3px 5px;
}

.custom-form button:not(.button) {
    border: 2px solid green;
    padding: 3px 6px;
    text-align: center;
    vertical-align: baseline;
    border-radius: 3px;
    transition: 250ms ease-in-out;
    background-color: green;
    color: #FFFFFF;
    cursor: pointer;
}

.custom-form input[type=email] {
    width: 100%;
}

.custom-form textarea {
    width: 100%;
    height: 100px;
    padding: 3px 5px;
    margin: 8px 0;
    box-sizing: border-box;
    resize: none;
    font-family: Arial;
}

.custom-form textarea:placeholder-shown, .custom-form input:placeholder-shown {
    font-family: Arial;
}

.button {
	margin: 10px;
	border: none;
	padding: 10px;
	color: black;
	background-color: #76C350;
	border-radius: 5px;
	text-decoration: none;
	display: inline-block;
}

.button-larger {
    margin: 18px 0;
    min-width: 100px;
}

.button-larger:focus {
    outline: 0;
}

.button-hover {
    transition: .12s opacity;
}

.button-hover:hover, .button-active {
    cursor: pointer;
    opacity: .85;
}

.custom-form button {
    text-align: center;
    display: block;
    margin: 19px auto;
    cursor: pointer;
}

.custom-form button:focus {
    outline: 0;
}

.custom-form .submit {
    display: block;
    margin: 18px auto 0;
    padding: 6px 12px;
    color: black;
}

#report #report-form #report-form-close {
    float: right;
    cursor: pointer;
    font-size: 30px;
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -webkit-touch-callout: none;
}

.person {
    display: inline-block;
    position: absolute;
    height: 50px;
}

.person img {
    height: 50px;
    cursor: move;
}

.mirror {
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
}

.insert {
    font-size: 19px;
}

.insert input {
    padding: 5px;
}

input.right {
    border: 2px solid #006600;
    background-color: #FFFDC1;
    background-image: url('../img/checkmark.png');
    background-repeat: no-repeat;
    background-position: right;
}

input.wrong, textarea.wrong {
    border: 2px solid #B20000;
}

.popup-background, .popup {
    opacity: 0;
    display: none;
}

.popup-background {
    background: rgba(0, 0, 0, .6);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.popup {
    background-color: #fff;
    padding: 50px;
    max-width: 800px;
    border-radius: 10px;
    position: relative;
    z-index: 10001;
}

.popup-close {
    position: absolute;
    right: 5px;
    top: 0;
}

.popup-close-link {
    color: #000;
    font-size: 40px;
    text-transform: lowercase;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
}

.popup-big {
    max-width: 90%;
    height: 80%;
    text-align: center;
}

.popup-big img {
    max-height: 80%;
    margin: 10px 20px;
}

.better-background {
    background: rgba(128, 128, 128, .23);
    padding: 10px 20px;
    border-radius: 15px;
    margin: 15px 5px 5px;
}

.img-task {
    max-width: 95%;
    max-height: 300px;
}

.text-center {
    text-align: center;
}

.addq button, .addq .button {
	margin: 10px;
	border: none;
	padding: 10px;
	color: white;
	background-color: #76C350;
	border-radius: 5px;
	text-decoration: none;
	display: inline-block;
}

.flex-container {
  display: flex;
  align-items: baseline;
  margin-bottom: 5px;
}

.flex-container input[type='text'], .flex-container input[type='number'], .flex-container input[type='password'], .flex-container .cke_textarea_inline, .flex-container select {
	flex-grow: 10;
}

.flex-container span {
	padding-right: 10px;
}

.flex-container input[type='number'], .flex-container select, .flex-container input[type='text'], .flex-container input[type='password'] {
	border: 1px solid rgb(169, 169, 169);
	background-color: transparent;
	padding: 2px;
}

form input#search-player:not(.input-searching) {
    margin: 15px 0 0;
}

#search-player:not(.input-searching).input-search-icon {
    background-image: url('../img/search.png');
    background-repeat: no-repeat;
    background-position-x: calc(100% - 8px);
    background-position-y: center;
    max-width: 350px;
    padding-right: 28px;
}

.search-profile {
    display: inline-block;
    text-align: left;
    width: 350px;
    font-size: 17px;
    line-height: 19px;
    margin: 8px;
}

.search-profile .profile-img {
    height: 150px;
    width: 150px;
}

.comments {
    padding-top: 40px;
}

.comments .comment {
    width: 100%;
    clear: both;
}

.comments .comment + .comment {
    padding-top: 15px;
}

.comments .comment img {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    float: left;
}

.comments .comment .comment-content {
    padding: 8px 10px;
    border-radius: 20px;
    background: rgba(116, 136, 150, 0.18);
    margin-bottom: 3px;
    margin-left: 90px;
    box-shadow: 2px 2px 15px #888;
}

.comments .comment .comment-author {
    margin-right: 8px;
}

.comments .comment .comment-info {
    font-size: 12px;
    margin-left: 99px;
}

.comments-form {
    clear: both;
    padding-top: 15px;
}

.comments-form textarea {
    width: 75%;
    min-width: 275px;
    min-height: 100px;
    margin: 8px auto;
    resize: vertical;
    display: block;
}

.comments-form .button {
    margin: auto;
    cursor: pointer;
}

.comments-form .button:focus, .comments-form textarea {
    outline: 0;
}

#popup-discussion {
    max-height: 90%;
    min-width: 70%;
    box-sizing: border-box;
    padding: 25px 50px;
    overflow: auto;
}

#popup-discussion h2 {
    margin: 0;
    padding: 0;
}

.iframe {
    padding-top: 65px;
}

.iframe iframe {
    max-width: 100%;
    border: 1px solid #CDCDCD;
}

a.login-button {
    background-color: #1aa3ff;
    margin: 0;
}

#filters {
    padding: 10px 0;
}

#filters h2 {
    margin: 3px 0;
}

#filters div {
    display: inline-block;
    margin: 0 10px;
    float: none;
    padding: 6px 13px;
    font-size: 18px;
    text-transform: uppercase;
}

@media screen and (max-width: 1470px) {
    .top-players {
        margin: 20px 0;
        width: calc(100% - 7px);
        box-sizing: border-box;
    }
}

@media screen and (max-width: 1366px) {
    #popup-discussion {
        min-width: 85%;
    }
}

@media screen and (max-width: 1100px) {
    .profile-panel {
        margin: 0 7px;
    }
}

/* Změna typu menu v navbaru */
@media screen and (max-width: 1199px) {
    .userbar {
        display: block;
        margin-top: 10px;
    }

    .userbar > * {
        display: inline-block;
    }
}

/* Mobil */
@media screen and (max-width: 800px) {
    .table th {
        padding: 24px 4px;
    }
    
    .table td {
        padding: 20px 4px;
    }
    
    .table input {
        width: 90px;
    }
    
    .popup {
        box-sizing: border-box;
        padding: 25px;
        max-width: 90%;
        max-height: 90%;
        overflow: auto;
    }
    
    #facebook-icon, #help img, #facebook-icon img, #discussion, #discussion img {
        width: 50px;
        height: 50px;
    }

    #book img {
        height: 60px;
    }    
    
    #help-text {
        height: 80%;
    }
    
    #discussion {
        left: calc(50% - 25px);
    }
    
    #popup-discussion {
        padding: 25px 4px;
    }
    
    a.login-button {
        padding: 5px 10px;
        font-size: 20px;
    }
}

/* Skrytí progress baru pro Firefox, protože se přes JavaScript vytvoří vlastní */
@-moz-document url-prefix() {
    header progress {
        visibility: hidden;
    }
}

/* Odsud jsem začal psát nové CSS podle nového návrhu vzhledu*/
@font-face {
    font-family: Roboto;
    src: url('../fonts/Roboto-Regular.ttf');
}

@font-face {
    font-family: "Roboto Light";
    src: url('../fonts/Roboto-Light.ttf');
}

@font-face {
    font-family: "Roboto Bold";
    src: url('../fonts/Roboto-Bold.ttf');
    font-weight: bold;
}

@font-face {
    font-family: "Roboto Medium";
    src: url('../fonts/Roboto-Medium.ttf');
    font-weight: bold;
}

@font-face {
    font-family: "Roboto Black";
    src: url('../fonts/Roboto-Black.ttf');
}

@font-face {
    font-family: Noteworthy;
    src: url('../fonts/Noteworthy-Lt.ttf');
}

body {
    color: #5d5f65;
    font-size: 21px;
    font-family: 'Merienda One', Helvetica, sans-serif;
}

h1, .h1, h2, .h2, h3, .h3 {
    font-family: "Roboto Medium";
    color: #141720;
}

h4, .h4, h5, .h5 {
    color: #5e5f64;
    font-family: "Roboto Bold";
}

hr {
    border: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, .13);
    margin: 40px 0 25px;
}

a.customLink {
    color: #503b98;
    text-decoration: underline;
}

#navbar {
    font-family: Roboto;
    background-color: #503b98;
    padding: 11px;
    z-index: 10;
    min-height: 68px;
}

#navbar .navbar-brand {
    font-weight: bold;
}

#navbar ul.navbar-nav li {
    margin: 0 9px;
    font-size: .9rem;
}

#navbar a {
    color: #f8f9fb;
}

#navbar .navbar-collapse a:hover {
    color: #FFF;
    text-decoration: underline;
    font-weight: bold;
}

#navbar .navbarDivider {
    border-right: 2px solid rgba(255, 255, 255, .1);
    width: 5px;
    height: 12px;
    margin-right: 26px;
}

#navbar .nav-important {
    letter-spacing: 1px;
}

#navbar .nav-important a:hover {
    text-decoration: none !important;
}

#navbar .dropdown-menu {
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.18);
    border: 0 !important;
}

#navbar .dropdown-menu a, #navbar .dropdown-menu a:hover {
    color: #5d5f65;
    background: transparent !important;
    letter-spacing: initial !important;
}

#navbar .dropdown-menu a:hover {
    color: #503b98;
    text-decoration: underline !important;
    font-weight: normal !important;
}

.startPlaying {
    color: #503b98 !important;
    padding: 12px 20px 9px;
    font-size: .88rem;
}

.startPlayingBigger {
    padding: 15px 24px 12px;
    border-radius: 7px;
}

.startPlayingBig {
    padding: 20px 25px 17px;
    font-size: 1.07em;
}

.startPlaying img {
    padding-bottom: 2px;
}

div > .startPlaying {
    color: #ffffff !important;
    background-color: #503b98 !important;
}

.createTask {
    border-radius: 7px;
    border: 2px solid #503b98 !important;
    padding: 12px 24px 9px;
    color: #503b98;
    background-color: transparent;
}

.createTask:hover, .createTask:active {
    background-color: #503b98 !important;
    color: #ffffff !important;
}

main {
    padding-top: 68px;
    min-height: calc(100vh - 280px);
}

progress, #progressBackground {
    width: 90%;
    min-width: 120px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
    height: 35px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 20px;
    background: #f6f6f6;
}

progress[value]::-webkit-progress-bar, progress[value] {
    overflow: hidden;
    border-radius: 20px;
    background: #f6f6f6;
}

progress[value]::-webkit-progress-value, progress[value]::-moz-progress-bar, #progressValue {
    border-radius: 20px;
    background: #6cc439;
}

#containerBackground {
    background: url('../img/background.png') no-repeat;
    background-size: cover;
}
#containerBackground:not(.notIframe) {
    padding-bottom: 70px;
}

#containerBackground > div {
    position: relative;
}

#showcaseExplain {
    position: absolute;
    top: -15px;
    right: 10%;
    font-family: Noteworthy;
}

#showcaseExplain > img {
    float: left;
    padding-top: 12px;
    padding-right: 4px;
}

#showcaseExplain > span {
    transform: rotate(4deg);
    display: inline-block;
}

#showcaseIframe {
    max-width: 1000px;
    width: 100%;
    height: 300px;
    border: 0;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    margin-top: 90px;
}

.showcaseIframeTimer {
    margin-top: 160px;
    margin-bottom: 120px;
    font-size: 3em;
}

.buy-text {
    margin-top: 5%;
    font-weight: bold;
}

.buy-btn-header {
    background-color: #3b9852 !important;
    border: 0;
}

.buy-btn-header:hover {
    background-color: #2d733d !important;
}

.buy-btn {
    background-color: #3b9852 !important;
    color: white;
    border-color: #3b9852;
    font-size: 24px;
    font-weight: bold;
}

.buy-btn:hover {
    background-color: #276334 !important;
}

.buy-btn img {
    height: 24px;
    width: 24px;
    margin-top: -5px;
    margin-left: 10px;
}

#searchCategory {
    max-width: 300px;
    width: 100%;
    margin: 32px auto 60px;
    border: 0;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    font-size: 21px;
    padding: 8px 25px;

    background: #f6f6f6 url('../img/icons/magnifier.png');
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: calc(100% - 15px);
    padding-right: 45px;
}

#searchCategory::-webkit-calendar-picker-indicator {
    display: none;
}

#searchCategory:focus {
    outline: none;
}

#searchCategory.searchingSmaller, .searchingSmaller {
    margin: 0;
    font-size: 13px;
}

.mainCategories {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

a.category {
    text-decoration: none;
}

.mainCategories .mainCategory {
    width: 250px;
    height: 275px;
    border-radius: 5px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
    transition: .11s opacity;
    margin: 20px 5px;
}

.mainCategories .mainCategory:hover {
    opacity: .9;
    cursor: pointer;
}

.mainCategories .mainCategory .mainCategoryHeading {
    width: 100%;
    height: 75px;
    background-color: #FFF;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
    border-radius: 8px 8px 5px 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mainCategories .mainCategory .mainCategoryHeading h3 {
    margin: 0;
    font-family: Roboto;
}

.category[deactive] {
    opacity: .45;
}

.listCategories {
    display: inline-flex;
    flex-direction: column;
    padding-left: 0;
    width: 100%;
}

.listCategories .listCategory {
    background-color: #edecf4; 
    color: #5d5f65; 
    display: inline-block;
    font-family: "Roboto";
    border-radius: 5px;
    padding: 13px 24px;
    margin: 12px 0;
    transition: 75ms background-color, 75ms color;
}

.green-background {
    background-color: #ddeedd !important;
}

.orange-background {
    background-color: #ffeedd !important;
}

.listCategories .listCategory:first-child {
    margin-top: 0;
}

.listCategories .listCategory:hover {
    cursor: pointer;
    background-color: #503b98 !important;
    color: #ffffff!important;
}

.plusButton {
    background-color: #503b98;
    border-radius: 50%;
    padding: 8px;
    width: 40px;
    height: 40px;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    color: #ffffff;
    font-size: 17px;
}

.shadowBox {
    width: 100%;
    margin: auto;
    border-radius: 6px;
    padding: 40px 50px 25px;
    box-shadow: 0 1px 15px rgba(0, 0, 0, 0.18);
    font-size: 16px;
}

.contactBox {
    max-width: 1100px;
    padding-top: 28px;
}

.ladders {
    max-width: 800px;
    color: #5e5f64 !important;
}

.ladders ol {
    margin: 17px 0 30px;
    padding-left: 0;
}

.ladders ol li {
    margin: 0;
    padding: 0;
    line-height: 22px;
}

.ladders:not(.ignoreCounter) ol {
    list-style-type: none;
}
.ladders:not(.ignoreCounter) ol li {
    counter-increment: li;
}
.ladders:not(.ignoreCounter) ol li:before {
    content: counter(li, decimal-leading-zero) ". ";
}

.ladders ol li a {
    color: #503b98;
    text-decoration: underline;
}

.best-players {
    max-height: 200px;
    overflow: auto;
}

.smallfooter {
	padding: 0 15px!important;
	height: 45px;
}

footer {
    background-color: #3c394a;
    color: #fbfbfb;
    padding: 32px 150px 15px !important;
    font-size: 16px;
}

footer a, footer a:hover {
    text-decoration: underline;
    color: #fbfbfb;
}

#media {
    padding: 0 0 0 30px;
}

#media #mediaLinks a {
    margin-right: 20px;
    margin-left: 5px;
}

#media #mediaLinks a:hover img {
    opacity: .9;
}

#miniVersion header, #fullVersion header {
    font-size: 26px;
}

#miniVersion main, #fullVersion section {
    padding-top: 40px;
}

#fullVersion {
    position: relative;
    padding-bottom: 80px;
}

#fullVersion #book, #fullVersion #help, #fullVersion #bookContent, #fullVersion #helpText {
    position: absolute;
}

#fullVersion #bookContent, #fullVersion #helpText {
    display: none;
    transition: .22s;
}

#book {
    position: fixed;
    bottom: 15px;
    left: 15px;
    transition: left .22s;
}

a#bookText {
    color: #d2320e;
    text-decoration: underline;
    font-family: Noteworthy;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 19px;
}

a#bookText:after {
    content: "Vysvětlení úlohy";
}

#bookContent {
    width: 23%;
    height: 80%;
    left: -37%;
}

.float-help {
    position: fixed;
    bottom: 45px;
    padding: 0;
}

#bookContent, *:not(.float-help) > #helpText {
    position: fixed;
    bottom: 0;
    background: #fcfcfc;
    overflow-y: auto;
    transition: .22s;
    padding: 15px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.23);
    font-size: .85em;
    z-index: 100;
    
}

*:not(.float-help) > #helpText {
    width: 238px;
    height: 240px;
    right: -240px;
}

.choose-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 50px;
}

.homes .homesSections .homeSection {
    border: 3px dashed #d6d7d9;
    border-radius: 4px;
    background: transparent;
    transition: .2s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
}

.homes .homesSections .homeSection.right {
    background-color: #FFFB32;
    border: 3px solid #E5E12D;
}

.homes .homesSections .homeSection.wrong {
    background-color: #B20000;
    border: 3px solid #7C0000;
}

.homes .homesSections .homeSection p {
    font-family: "Noteworthy";
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 1.2em;
    margin-bottom: 0;
}

.homes .homesAnswers {
    min-height: 500px;
    border: 1px solid black;
    position: relative;
}

@media screen and (max-height: 772px) {
	.homes .homesAnswers {
		min-height: 450px;
	}
}

@media screen and (max-height: 720px) {
	.homes .homesAnswers {
		min-height: 400px;
	}
}

@media screen and (max-height: 680px) {
	.homes .homesAnswers {
		min-height: 350px;
	}
}

@media screen and (max-height: 622px) {
	.homes .homesAnswers {
		min-height: 300px;
	}
}

.homes .homesAnswers .answer {
    z-index: 4;
    border-style: dashed;
    box-shadow: none;
    display: inline-block;
}

.area {
    height: 500px;
    border: 1px solid black;
    position: relative;
}

.button, .answer {
    display: block;
    border-radius: 5px;
    padding: 12px 40px;
    letter-spacing: 1px;
    font-size: 17px;
    font-weight: bold;
    font-family: Roboto;
    outline: none;
    border: none;
    cursor: pointer;
    margin: 7px 15px;
    color: #000;
    background-color: #6cc438;
    box-shadow: 0 5px 0 0 #5c9c35;
    transition: 42ms, .2s background-color;
}

.answer.random {
    position: absolute;
    left: 0;
}

.area .answer {
    cursor: inherit;
    font-size: 14px;
}

/* , .answer:not(.random):hover */
.button:not(.smallbtn):hover {
    box-shadow: 0 2px 0 0 #5c9c35;
    padding-bottom: 12px;
}

.sort {
    margin: auto;
    width: fit-content;
    list-style-type: none;
    padding-left: 0;
}

.sort .answer {
    margin-top: 30px;
    cursor: move;
    text-transform: uppercase;
    text-align: center;
}

.over {
    background: #eee !important;
    color: #eee !important; /*Hide text*/
    box-shadow: none !important;
}

button.sortCheck:focus, .answer:focus {
    outline: 0;
}

button.sortCheck {
    color: #fff;
    background: rgb(59, 89, 152);
    border: 0;
    margin-bottom: 30px;
    cursor: pointer;
    transition: background 100ms ease;
    border-radius: 5px;
}

button.sortCheck:hover {
    background: rgba(59, 89, 152, .7);
}

button.sortCheck {
    padding: 8px 20px;
    font-size: 20px;
    text-transform: uppercase;
    text-align: center;
}

.sortCheckArrow {
    color: #000;
    font-weight: bold;
    font-size: 1.4em;
}

.answer.wrong {
    background-color: #d3320e;
    box-shadow: 0 5px 0 0 #a2371f;
}

.answer.right {
    background-color: #3E8612;
    box-shadow: 0 5px 0 0 #155F06;
}

a.button:hover {
    text-decoration: none;
}

.addbut, .delbut, #addhome, #delhome {
    background-color: #6cc438;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 100%;
    color: white;
    font-size: 29px;
    font-weight: bold;
    outline: none;
    margin: 40px 5px;
}

.managePacket {
    text-align: center;
    margin-top: 90px;
}

.managePacket .addbut, .managePacket .delbut {
    margin: 20px 5px;
}

.managePacket h2 {
    margin: 0;
}

.delbut, #delhome {
    background-color: #d3320e;
}

.remove {
    -webkit-animation: disapear 1s;
    -webkit-animation-fill-mode: forwards; 
    animation: disapear 1s;
    animation-fill-mode: forwards;
}

#playerCount {
    height: 17px;
    width: 17px;
    background-color: #6cc43a;
    border: 7px solid #b6e19a;
    border-radius: 50%;
    box-sizing: content-box;
}

#playerCountAnim {
    height: 24px;
    width: 24px;
    box-sizing: content-box;
    position: relative;
    margin-top: 4px;
}

#playerCountAnim .circle1, .circle2 {
   width: 100%;
   height: 100%;
   border-radius: 50%;
   background-color: #487b2a;
   position: absolute;
   top: 0;
   left: 0;
   -webkit-animation: playerCountAnim 2.0s infinite ease-in-out;
   animation: playerCountAnim 2.0s infinite ease-in-out;
}

#playerCountAnim .circle2 {
   -webkit-animation-delay: -1.0s;
   animation-delay: -1.0s;
}
        
@keyframes playerCountAnim {
        0%, 100% {
            transform: scale(0.0);
            -webkit-transform: scale(0.0);
        }

        50% {
            transform: scale(1.0);
            -webkit-transform: scale(1.0);
            background-color: #b6e19a;
        }
}

.profiles img {
    margin: 5px;
    width: 100px;
    height: 100px;
}

#bodyLogin:before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;

    background: url('../img/backgrounds/About.jpg') no-repeat fixed;
    background-size: cover;
    opacity: .3;
    filter: blur(9px);
}

#loginBox {
    width: 90%;
    max-width: 800px;
    background-color: #ffffff;
}

#loginList {
    width: 100%;
    max-width: 375px;
    margin: auto;
}

.loginCheckboxParent {
    cursor: pointer;
    width: 100%;
    max-width: 300px;
    margin: auto;
}

.loginCheckboxCheckmark {
    display: block;
    position: relative;
    height: 25px;
    width: 25px;
    background-color: #eee;
}

.loginCheckboxParent .loginCheckboxCheckmark:hover {
    filter: brightness(85%);
}

.loginCheckboxParent input:checked ~ .loginCheckboxCheckmark {
    background-color: #76C350!important;
}

.loginCheckboxCheckmark:after {
    content: "";
    display: none;
}

.loginCheckboxParent input:checked ~ .loginCheckboxCheckmark:after {
    display: block;
}

.loginCheckboxParent .loginCheckboxCheckmark:after {
	position: absolute;
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.facebookLogin {
    max-width: 280px;
}

.profile-panels {
    width: 85% !important;
    max-width: 1600px;
}

.profile-rank.profile-rank-disabled {
    color: inherit;
    background-color: #edecf4;
}

.profile-rank {
    display: block;
    text-align: center;
    margin: 1px 0;
    background-color: #6cc439;
    color: #ffffff;
    padding: 17px 10px;
    border-radius: 5px;
    font-family: "Roboto Medium";
    font-size: .9em;
}

.profileImageParent {
    margin-right: 40px !important;
    text-align: center;
}

.profileImageParent img {
    width: 90px;
    height: 90px;
}

#profileTableFilter {
    background-color: #edecf4;
    border-radius: 12px;
    box-shadow: 0 -1px 18px rgba(15, 15, 15, 0.07);
    padding: 18px 35px;
}

#profileTableFilter .profileTableFilterElement {
    width: 100%;
    max-width: 300px;
    padding: 12px 21px;
    border: 0;
    border-radius: 7px;
    background-color: white;
    box-shadow: 0 3px 0 0 #c9c8d0;
    font-family: Roboto;
    color: #5d5f65;
    margin-right: 25px;
    margin-bottom: 6px;
}

#profileTableFilter .profileTableFilterElement:focus {
    outline: 0;
}

#profileTableFilter select {
    -webkit-appearance: none;
    -moz-appearance: none;
}

#profileTableFilter .profileTableFilterButton {
    font-family: "Roboto";
    font-weight: normal;
    font-size: 0.88em;
    display: inline-block;
    padding: 13px 23px;
    margin: 0 0 0 8px;
}
#profileTableFilter .profileTableFilterButton.filter-right-answers {
    background-color: #6cc439;
    box-shadow: 0 3px 0 0 #68a943;
}
#profileTableFilter .profileTableFilterButton.filter-bad-answers {
    background-color: #d43a18;
    box-shadow: 0 3px 0 0 #9f3620;
}

#profileTableFilter .profileTableFilterButton:focus {
    outline: 0;
}

.customList {
    padding-left: 0;
    list-style: none;
}

.tableAnswers {
    box-shadow: 0 1px 15px rgba(0, 0, 0, 0.2);
    font-family: Roboto;
    border-radius: 9px;
}

.tableAnswers thead th {
    border-top: 0 !important;
    text-align: center;
    font-size: 1.2em;
    font-family: "Roboto";
    font-weight: normal;
    padding: 40px 18px;
}

.tableAnswers tbody td {
    font-size: .9em;
    padding: 18px;
}

.tableAnswers thead th, .tableAnswers tbody td {
    border: 2px solid #cbcbcb;
}
.tableAnswers tbody tr td:first-child, .tableAnswers thead tr th:first-child {
    border-left: 0 ;
}
.tableAnswers tbody tr td:last-child, .tableAnswers thead tr th:last-child {
    border-right: 0;
}
.tableAnswers tbody tr:last-child td {
    border-bottom: 0;
}

.tableAnswers tbody td.right_answer {
    background-color: rgba(108, 196, 57, .3);
}

.tableAnswers tbody td.bad_answer {
    background-color: rgba(212, 58, 24, .3);
}

.endBox {
    background-color: #f6f5fa;
    border-radius: 4px;
    padding: 35px 30px;
    width: 100%;
    max-width: 600px;
    margin: auto;
}

.endBox .endBoxPoints {
    font-family: Noteworthy;
    font-size: 45px;
    line-height: 50px;
    font-weight: bold;
    color: #6cc439;
}

.endContinue {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: auto;
    padding-top: 1em;
}

.endContinue img {
    position: absolute;
    top: 0;
    left: 35px;
    transform: rotate(-22deg);
}

.endCategories ul {
    margin-bottom: .75rem;
}

.endCategories {
    max-width: 600px;
    margin: auto;
}

.customLabel {
    margin-bottom: 3px;
    font-family: Roboto;
}

.customInput, .customTextarea {
    display: block;
    width: 100%;
    border: 0;
    background-color: #edecf4;
    color: #5d5f65;
    border-radius: 5px;
    padding: 19px 21px;
    font-size: 1.1em;
    font-family: "Roboto Medium";
}

.customTextarea {
    min-height: 285px;
    resize: vertical;
}

.customInput:focus, .customTextarea:focus {
    outline: none;
}

.customInput::placeholder, .customTextarea::placeholder {
    color: #a5a5ad;
}

.hr-short {
    border: 0;
    width: 50px;
    height: 5px;
    background-color: #e5e5e5;
}

.hr-light {
    border: 0;
    height: 2px;
    background-color: rgba(0, 0, 0, .03);
    margin: 25px 0;
}

.icon {
    height: 16px;
    width: 16px;
}

.roboto {
    font-family: Roboto;
}

.roboto-light {
    font-family: "Roboto Light";
}

.roboto-medium {
    font-family: "Roboto Medium";
}

.roboto-black {
    font-family: "Roboto Black";
}

.noteworthy {
    font-family: Noteworthy;
}

.letter-spacing {
    letter-spacing: .5px;
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

.unimportant {
    color: #5d5f65;
}

.smaller {
    font-size: .9em;
}

.bigger {
    font-size: 1.09em;
}

.text-black {
    color: #000000 !important;
}

.text-green {
    color: #6cc439 !important;
}

.text-yelow {
    color: #ffb309 !important;
}

.text-red {
    color: #ff1313 !important;
}

.text-decoration-none {
    text-decoration: none !important;
}

.text-decoration-underline {
    text-decoration: underline;
}

.w-65 {
    width: 65% !important;
}

.hv-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.opacity-25 {
    opacity: 0.25 !important;
}

.smallbtn {
	display: inline-block;
    padding: 2px 10px;
    margin-left: 0;
    font-size: 14px;
    font-weight: 100;
    box-shadow: none;
    color: black!important;
}

.fb-login-card {
    background-color: #3B5998;
    cursor: pointer;
    color: white;
}

.email-login-card {
    background-color: #FF9100;
    cursor: pointer;
    color: white;
}

.ms-login-card {
    background-color: #2B2B2D;
    cursor: pointer;
    color: white;
}

@-webkit-keyframes disapear{
    50% {
        -webkit-transform: translateX(-5%);
        transform: translateX(-5%);
    }

    100% {
        -webkit-transform: translateX(200%);
        transform: translateX(200%);
    }
}

@keyframes disapear{
    50% {
        -webkit-transform: translateX(-5%);
        transform: translateX(-5%);
    }

    100% {
        -webkit-transform: translateX(200%);
        transform: translateX(200%);
    }
}

@media screen and (max-width: 1340px) {
    .profile-panels > div > div {
        margin-bottom: 25px !important;
    }

    #navbar .navbarDivider {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    footer {
        padding: 32px 25px 15px !important;
    }

    #bookContent {
        width: 66%;
        left: -67%;
        height: 100%;
    }

    a#bookText:after {
        content: "Teorie";
    }
}

@media screen and (max-width: 998px) {
	.points {
		display: none;
    }
    
    .categoryWithShare .listCategory.category {
        width: 100%!important;
    }

    .catShareBtn, .catMatchBtn {
        display: inline-block;
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 576px) {
    #showcaseExplain {
        right: 0;
    }

    #showcaseExplain > img {
        padding-left: 80px;
    }

    #showcaseIframe {
        margin-top: 110px;
    }

    .ladders {
        padding: 30px;
    }
}

@media screen and (max-width: 400px) {
    #showcaseExplain > img {
        padding-top: 0;
    }

    .endContinue img {
        left: 10px;
    }
}

input[type=checkbox]
{
    -ms-transform: scale(2); /* IE */
    -moz-transform: scale(2); /* FF */
    -webkit-transform: scale(2); /* Safari and Chrome */
    -o-transform: scale(2); /* Opera */
    transform: scale(2);
    padding: 15px;
    margin-top: 8px;
}
.form-check-label {
    padding-left: 5px;
}
