@font-face { font-family: UbuntuM; src: url('../fonts/Ubuntu-Medium.ttf'); }
@font-face { font-family: UbuntuR; src: url('../fonts/Ubuntu-Regular.ttf'); }
@font-face { font-family: UbuntuB; src: url('../fonts/Ubuntu-Bold.ttf'); }
@font-face { font-family: UbuntuRI; src: url('../fonts/Ubuntu-Regular-Italic.ttf'); }

body {
	margin: 0px;
}

@media only screen and (max-width: 700px) { /* mobily */
	.details-container {
		width: 100vw;
		min-width: 100vw;
	}

	.details-header-back {
		display: inline-block;
	}
	
	@keyframes click-box {
		0% {
			background-color: #cecece;
			color: gray;						
		}		
		50% {
			background-color: #737373;
			color: #fbfbfb;			
		}
		100% {
			background-color: #cecece;
			color: gray;						
		}			
	}
	.details-item-pm-box:active {
		animation-name: click-box;
		animation-duration: 0.25s;
	}
}

@media only screen and (min-width: 700px) { /* počítače */
	.details-container {
		width: 74vw;
	}
	
	.details-header-back {
		display: none;
	}
	
	.details-item-pm-box:hover {
		background-color: #737373;
		color: #fbfbfb;
	}
}

sub {
	align-self: flex-end;
}

.details-container {
	min-height: 100vh;
}

.details-color-bg {
	background-color: #8cb8c5;
}

.details-color-control-bg {
	background-color: #fbfbfb;
}

.details-color-header-fg {
	color: #fbfbfb;
}

.details-color-active {
	background-color: #cecece;
}

.details {
	width: 96%;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

.details-item-pm {
	height: 50px;
	display: flex;
	align-items: center;
	/*background-color: azure;*/
	border-radius: 5px;
	margin-top: 3px;
}

.details-item-pm-text {
	font-family: UbuntuR, Arial;
	padding-left: 10px;
}


.details-item-checktext {
	font-family: UbuntuR, Arial;
	font-size: 35px;
	margin: auto;
	line-height: 100%;
}

.details-item-pm-pmtext {
	font-family: UbuntuR, Arial;
	font-size: 50px;
	margin: auto;
	line-height: 100%;
	margin-top: -4px;
}


.details-item-pm-box {
	/*background-color: gray;*/
	width: 50px;
	height: 100%;
	display: flex;
	align-items: center;
	color: gray;
}


.details-item-pm-box-right {
	margin-left: auto;
	border-bottom-right-radius: 5px;
	border-top-right-radius: 5px;
}

.details-item-pm-box-left {
	border-bottom-left-radius: 5px;
	border-top-left-radius: 5px;
}


.details-item-text-num {
	font-family: UbuntuM, Arial;
	color: gray;
	display: flex;
	flex-grow: 1;
	justify-content: flex-end;
	padding-right: 10px;
}

.details-header {
	display: flex;
	position: sticky;
    top: 0px;
    width: 96%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
	height: 55px;
}

.details-header-back {
	/*display: inline-block;*/
	transform: rotate(180deg);
	font-size: 30px;
	width: 50px;
	height: 43px;
	text-align: center;
    align-items: center;
    margin-top: 9px;
}

.details-header-title {
	font-family: UbuntuM, Arial;
    font-size: 20px;
    padding-left: 3px;
    display: flex;
    align-items: center;
}

.details-header-sum {
	font-family: UbuntuB, Arial;
    /* color: #dedede; */
    display: grid;
    /* flex-grow: 1; */
    /* justify-content: flex-end; */
    padding-right: 10px;
    padding-left: 3px;
    align-items: center;
	font-size: 20px;
	width: 42px;
}

.details-header-sum-num {
	font-size: 30px;
    align-self: end;
    text-align: center;
}

.details-header-sum-desc {
	font-size: 10px;
    align-self: baseline;
    text-align: center;
	padding-bottom: 5px;
}

.details-header-status {
	background-size: 18px 18px;
	width: 30px;
    height: 30px;
    background-position-y: center;
    background-position-x: right;
    background-repeat: no-repeat;
    justify-content: flex-end;
    flex-grow: 1;
    align-self: center;
}

.details-header-title-icon {
	background-size: 30px 30px;
    width: 30px;
    height: 30px;
    background-position-y: center;
    background-position-x: left;
    background-repeat: no-repeat;
    align-self: center;
}

.details-item-ranking {
	border-radius: 5px;
    margin-top: 3px;
    display: flow-root;
    height: 100px;
}

.details-item-ranking-title {
    display: flex;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    justify-content: center;
    background-color: #557db3;
    color: #fbfbfb;
}

.details-item-ranking-name {
	font-family: UbuntuB, Arial;
    padding-left: 10px;
}
.details-item-ranking-num {
	font-family: UbuntuRI, Arial;
    /*color: gray;*/
    display: flex;
    justify-content: flex-end;
    padding-right: 10px;
    padding-left: 25px;
}

.details-item-ranking-categories-table {
	display: flex;
	justify-content: space-evenly;
}

.details-item-ranking-category {
    display: grid;
    justify-items: center;
    height: 60px;
    align-items: center;
    font-family: ubuntuR;
}

.details-item-selectable {
	width: 100% !important;
	height: 50px !important;
	color: black !important;
}

.icon-uzida {
	background-image: url(../icons/u-zida.svg);
}

.icon-online {
	background-image: url(../icons/details-status-online.svg);
}

.icon-offline {
	background-image: url(../icons/details-status-offline.svg);
}

.icon-sending {
	background-image: url(../icons/details-status-sending.svg);
}
