/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

@import url('https://fonts.googleapis.com/css?family=Roboto:400,500');

@import url('custom.css');

html {
    font-family: 'Roboto', sans-serif;
    color: #222;
    font-size: 16px;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

input {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */
a[onclick] {
    cursor: pointer;
}

.no-close .ui-dialog-titlebar-close {
    display: none;
}

.center-container {
    position: relative;
    display: flex;
    width: 100vw;
    height: 100vh;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background: url(../img/bg-start.jpg) no-repeat center center;
    background-color: var(--start-bg-color);
    background-size: cover;
}
.inner-container {
    box-sizing: border-box;
    width: 800px;
    margin: 0 auto 0 auto;
}
.overview-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.overview-search {
    flex-grow: 1;
    height: 42px;
    border: 0 none;
    border-radius: 5px;
    padding: 3px 10px;
    color: #5C5C5C;
    background: none var(--trainings-box-bg-color);
}
.overview .overview-button-component {
    position: relative;
    flex-grow: 0;
    width: auto;
    height: auto;
    margin-left: 0.5rem;
}
.overview .overview-button {
    flex-grow: 0;
    margin-top: 0;
    border: 0 none;
    width: auto;
    height: auto;
    color: #fff;
    background: none transparent;
}
.overview .overview-button svg {
    height: 3rem;
    width: auto;
}
.overview .overview-button-component .filter-flyout {
    position: absolute;
    display: none;
    right: 5px;
    top: 110%;
    width: 200px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    padding: 0.5rem;
    background: none #fff;
}
.overview .filter-flyout ul {
    margin: 0;
    padding: 0;
}
.overview .filter-flyout ul li {
    list-style: none inside;
    margin: 0;
    text-align: left;
    color: #222;
}
.overview .filter-flyout ul li label {
    display: block;
    margin: 0 0 0.2rem 0;
}
.overview .filter-flyout ul li label:last-of-type {
    margin: 0;
}
.overview .filter-flyout ul li label input {
    margin-right: 1rem;
}
.overview .filter-flyout ul li h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--main-color);
}
.overview .filter-flyout ul li {
    list-style: none inside;
}
.overview .filter-flyout.visible {
    display: block;
}
.iom-box {
    /*max-height: 40vh;*/
    height: 55vh;
    width: calc(100% + 24px);
    overflow-y: auto;
    margin: 30px 0 0 0;
    padding: 5%;
    padding: 0 0 0 0;
    background: none transparent;
}
.iom-box.with-radius {
    border-radius: 10px;
}
.login .iom-box {
    width: 100%;
}

.iom-box::-webkit-scrollbar-track {
    /*-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);*/
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.5);
}
.iom-box::-webkit-scrollbar {
    width: 12px;
    background-color: #ffffff00;
}
.iom-box::-webkit-scrollbar-thumb {
    border-radius: 10px;
    /*-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);*/
    background-color: #ffffff;
}

.iom-box li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 24px);
    margin-bottom: 10px;
    border-radius: 10px;
    border-left-width: 10px;
    border-left-style: solid;
    padding-top: 10px;
    background: none #fff;
}
.iom-box li.no-search-results {
    display: block;
    border-left-width: 0;
    border-left-style: none;
    text-align: center;
    background: none #fff;
}
.iom-box li .iom-text-info {
    padding-left: 24px;
}
.iom-box li .iom-text-info h2 {
    margin: 0;
    font-weight: normal;
    font-size: 1.1rem;
}
.iom-box li .iom-text-info p {
    margin: 0;
    font-weight: normal;
    font-size: 0.9rem;
}
.iom-box li .iom-logo {
    margin: 0;
    height: 80px;
    padding-right: 10px;
}
.iom-box li .iom-logo img {
    border-radius: 5px;
    height: 100%;
    width: auto;
}
#iom-box li a {
    color: var(--trainings-box-text-color);
}
#app-version {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #ffffff;
    text-align: center;
}
.bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    background: url(../img/bg-start.jpg) no-repeat;
    background-size: cover;
}

.login {
    width: 300px;
    height: auto;
    padding-top: 180px;
    background: url(../img/logo-iom.png) top center no-repeat;
    background-size: 152px 152px;
}
.login.request-credentials, .login.register {
    padding-top: 0;
}
.login fieldset {
    margin-bottom: 1rem;
}
.login fieldset:last-of-type {
    margin: 0;
}
.login h2 {
    margin: 0 0 0.2rem 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--main-color);
    text-align: center;
}
.login input, .login select, #impress {
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 0.3em;
    padding: 0.5em 1em;
}
.login label {
    display: flex;
    align-items: flex-start;
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
}
.login label input {
    width: auto;
    margin-right: 0.5rem;
}
.login label input[type=checkbox] {
    margin-top: 3px;
}
.login input::placeholder,
.login input::-webkit-input-placeholder,
.login input::-moz-placeholder,
.login input:-ms-input-placeholder,
.login input:-moz-placeholder {
    color: #9fa2a4;
}
.login input[type=submit], input[type=button], #impress {
    border: 0 none;
    color: #fff;
    background: none var(--main-color);
}
.login .privacy {
    display: none;
    text-align: center;
    color: var(--main-color);
}
.login .privacy #privacy-link, .login .privacy #privacy-link:visited {
    color: var(--main-color);
}

.about-logo {
    display: flex;
    justify-content: center;
    height: 200px;
    width: 100%;
    margin: 0 auto 20px auto;
    padding: 0;
}
.about-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

#share-intent-links {
    padding-left: 1rem;
}
.resp-sharing-button__link,
.resp-sharing-button__icon {
    display: inline-block
}
.resp-sharing-button__link {
    text-decoration: none;
    color: #fff !important;
    margin: 0.5em
}
.resp-sharing-button {
    border-radius: 5px;
    transition: 25ms ease-out;
    padding: 0.5em 0.75em;
    font-family: Helvetica Neue,Helvetica,Arial,sans-serif
}
.resp-sharing-button__icon svg {
    width: 1em;
    height: 1em;
    margin-right: 0.4em;
    margin-top: 0.2em;
    vertical-align: top;
}
.resp-sharing-button--small svg {
    margin: 0;
    vertical-align: middle
}
/* Non solid icons get a stroke */
.resp-sharing-button__icon {
    stroke: #fff;
    fill: none
}
/* Solid icons get a fill */
.resp-sharing-button__icon--solid,
.resp-sharing-button__icon--solidcircle {
    fill: #fff;
    stroke: none
}
.resp-sharing-button--twitter {
    background-color: #55acee
}
.resp-sharing-button--twitter:hover {
    background-color: #2795e9
}
.resp-sharing-button--pinterest {
    background-color: #bd081c
}
.resp-sharing-button--pinterest:hover {
    background-color: #8c0615
}
.resp-sharing-button--facebook {
    background-color: #3b5998
}
.resp-sharing-button--facebook:hover {
    background-color: #2d4373
}
.resp-sharing-button--tumblr {
    background-color: #35465C
}
.resp-sharing-button--tumblr:hover {
    background-color: #222d3c
}
.resp-sharing-button--reddit {
    background-color: #5f99cf
}
.resp-sharing-button--reddit:hover {
    background-color: #3a80c1
}
.resp-sharing-button--google {
    background-color: #dd4b39
}
.resp-sharing-button--google:hover {
    background-color: #c23321
}
.resp-sharing-button--linkedin {
    background-color: #0077b5
}
.resp-sharing-button--linkedin:hover {
    background-color: #046293
}
.resp-sharing-button--email {
    background-color: #777
}
.resp-sharing-button--email:hover {
    background-color: #5e5e5e
}
.resp-sharing-button--xing {
    background-color: #1a7576
}
.resp-sharing-button--xing:hover {
    background-color: #114c4c
}
.resp-sharing-button--whatsapp {
    background-color: #25D366
}
.resp-sharing-button--whatsapp:hover {
    background-color: #1da851
}
.resp-sharing-button--hackernews {
    background-color: #FF6600
}
.resp-sharing-button--hackernews:hover, .resp-sharing-button--hackernews:focus {   background-color: #FB6200 }

.resp-sharing-button--vk {
    background-color: #507299
}
.resp-sharing-button--vk:hover {
    background-color: #43648c
}
.resp-sharing-button--facebook {
    background-color: #3b5998;
    border-color: #3b5998;
}
.resp-sharing-button--facebook:hover,
.resp-sharing-button--facebook:active {
    background-color: #2d4373;
    border-color: #2d4373;
}
.resp-sharing-button--twitter {
    background-color: #55acee;
    border-color: #55acee;
}
.resp-sharing-button--twitter:hover,
.resp-sharing-button--twitter:active {
    background-color: #2795e9;
    border-color: #2795e9;
}
.resp-sharing-button--tumblr {
    background-color: #35465C;
    border-color: #35465C;
}
.resp-sharing-button--tumblr:hover,
.resp-sharing-button--tumblr:active {
    background-color: #222d3c;
    border-color: #222d3c;
}
.resp-sharing-button--email {
    background-color: #777777;
    border-color: #777777;
}
.resp-sharing-button--email:hover,
.resp-sharing-button--email:active {
    background-color: #5e5e5e;
    border-color: #5e5e5e;
}
.resp-sharing-button--pinterest {
    background-color: #bd081c;
    border-color: #bd081c;
}
.resp-sharing-button--pinterest:hover,
.resp-sharing-button--pinterest:active {
    background-color: #8c0615;
    border-color: #8c0615;
}

#impress {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 270px;
    height: 35px;
}
#register {
    display: none;
}
#registerAdditionalInformation {
    display: none;
}

[aria-describedby="impress-dialog"] {
    max-width: 400px !important;
    max-width: 800px !important;
    max-height: 90vh !important;
    width: calc(100% - .4em) !important;
    overflow-y: scroll;
}

.overview {
    align-self: flex-end;
    width: 300px;
    width: 94vw;
    max-width: 600px;
    height: auto;
    margin-bottom: 30px;
    padding-top: 180px;
    background: url(../img/logo-iom.png) top center no-repeat;
    background-size: 152px 152px;
}
.overview ul li {
    padding: 0.4rem 0;
    list-style: inside none;
}
.overview ul li a {
    color: #000;
    text-decoration: none;
}
.overview ul li a:hover {
    text-decoration: underline;
}

.overview button {
  height: 30px;
  width: inherit;
  width: 100%;
  border: 0 none;
  color: #fff;
  background: none var(--main-color);
  margin-top: 0.3em;
}


.detail {
    background: none #f1f5f7;
}
.detail header {
    height: 50px;
}
.detail header h1 {
    position: relative;
    height: 100%;
    margin: 0;
    font-size: 24px;
    font-weight: 500;
    text-align: center;
    line-height: 50px;
    color: #fff;
}
.detail header h1 a {
    position: absolute;
    top: 15px;
    left: 1%;
    height: 20px;
    font-size: 18px;
    font-weight: 400;
    text-decoration: none;
    line-height: 20px;
    color: #fff;
}
.detail header h1 .icon-buttons {
    display: inline;
    position: absolute;
    top: 0px;
    right: 1%;
    cursor: pointer;
    cursor: hand;
}
.detail main {
    position: absolute;
    top: 50px;
    bottom: 50px;
    left: 50%;
    margin-left: -400px;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #fff;
}
.detail main .banner-image {
    height: 35vh;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.detail main .info {
    padding: 2%;
    text-align: center;
}
.detail main .info h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 500;
}
.detail main .info p {
    margin: 1em 0 1em 0;
    color: #999999;
}
.detail main .info ul {
    padding: 0;
}
.detail main .info ul li {
    list-style: none inside;
    font-size: 12px;
    color: #999999;
}
.detail main .info ul.contact_data li {
    font-size: 1rem;
}
#contact_data, #contact_name, #contact_email, #contact_phone {
    display: none;
}

.detail main ul.levels {
    padding: 0 1% 0 1%;
    overflow: hidden;
}
.detail main ul.levels li {
    margin: 1% 0 1% 0;
    list-style: none inside;
    background: none #f1f5f7;
}
.detail main ul.levels li a {
    display: block;
    height: 50px;
    padding: 2%;
    color: #999999;
    text-decoration: none;
    line-height: 50px;
}
.detail main ul.levels li.active a,
.detail main ul.levels li.failed a,
.detail main ul.levels li.passed a {
    color: #494c53;
}
.detail main ul.levels li a .percent {
    position: relative;
    box-sizing: border-box;
    display: inline-block;
    width: 50px;
    height: 50px;
    margin-right: 1em;
    background: none #d7d7d7;
}
.detail main ul.levels li a .percent .progress {
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0;
    margin: 0;
    background: none transparent;
    z-index: 5;
}
.detail main ul.levels li a .percent .number {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    color: #fff;
    text-align: center;
    line-height: 50px;
    background: none transparent;
    z-index: 10;
}
.detail main ul.levels li.active a .percent {
    border: 1px solid;
}
.detail main ul.levels li.failed a .percent {
    border: 1px solid;
    background: url(../img/icon-learning-not-finished.png) no-repeat center center #d7d7d7;
    background-size: 50px 50px;
}
.detail main ul.levels li.passed a .percent {
    border: 1px solid;
    background: url(../img/icon-learning-selected.png) no-repeat center center #d7d7d7;
    background-size: 50px 50px;
}
.detail main ul.levels li a .label {
    position: relative;
    top: -18px;
}
.detail main ul.levels li.open-training-message {
    padding: 1.5rem;
    background-color: #C8E1F4;
}
.detail main ul.levels li.open-training-message span {
    font-weight: bold;
    font-size: 1rem;
    color: #61A7EA;
}

.detail main .question {
    border-top: 1px solid #fff;
}
.detail main .question .banner-image {
    height: 35vh;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.detail main .question .banner-video {
    width: 100%;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.detail main .question p {
    margin: 0;
    padding: 2%;
    text-align: center;
}
.detail main {
    color: #fff;
}
.detail main h1 {
	color: #999999;
}
.detail main .question ul.question-set {
    margin: 0;
    padding: 0 1% 0 1%;
    overflow: hidden;
}
.detail main .question ul.question-set li {
    display: flex;
    justify-content: center;
    flex-direction: column;
    min-height: 45px;
    margin: 1% 0 1% 0;
    padding: 1% 1% 1% 60px;
    list-style: none inside;
    text-align: left;
    color: #494c53;
    /* line-height: 45px; */
    background: url(../img/icon-question-unselected.png) no-repeat 8px center #f1f5f7;
    background-size: 45px 45px;
}

.detail main .question ul.question-set li p {
    text-align: left;
}

.detail main .question .question-set li.selected {
    border: 3px solid;
}
.detail main .question .question-set li.correct {
    background-image: url(../img/icon-question-selected.png);
}
.detail main .question .question-set li.wrong {
    background-image: url(../img/icon-question-wrong.png);
}
.detail main .question #description {
    display: none;
    margin: 0 1% 0 1%;
    color: #494c53;
    background-color: #f1f5f7;
}
.detail main .question #eval-button, .detail main .question #next-button, #duel-new-button, #duel-detail-next-round-button {
    box-sizing: border-box;
    width: 98%;
    height: 60px;
    margin: 1%;
    padding: 1% 0 1% 0;
    border: none 0;
    border-radius: 5px;
    color: #fff;
    text-align: center;
}
.detail main .question #progressbar {
    height: 10px;
    margin: 1%;
}

.detail main ul.documents {
    padding: 0 1% 0 1%;
    overflow: hidden;
}
.detail main ul.documents li {
    margin: 1% 0 1% 0;
    list-style: none inside;
    background: none #f1f5f7;
}
.detail main ul.documents li a {
    display: block;
    padding: 1%;
    color: #494c53;
    text-decoration: none;
    line-height: 50px;
}
.detail main ul li a .icon {
    display: block;
    float: left;
    width: 50px;
    height: 50px;
    margin-right: 1em;
    border-radius: 3px;
}
.detail main ul li.folder a .icon {
    background: url(../img/icon-document-folder.png) no-repeat center center;
    background-size: 25px 20px;
}
.detail main ul li.mic a .icon {
    background: url(../img/icon-document-mic.png) no-repeat center center;
    background-size: 18px 25px;
}
.detail main ul li.gallery a .icon {
    background: url(../img/icon-document-gallery.png) no-repeat center center;
    background-size: 25px 25px;
}
.detail main ul li.image a .icon {
    background: url(../img/icon-document-image.png) no-repeat center center;
    background-size: 23px 23px;
}
.detail main ul li.video a .icon {
    background: url(../img/icon-document-video.png) no-repeat center center;
    background-size: 23px 23px;
}
.detail main ul li.pencil a .icon {
    background: url(../img/icon-document-pencil.png) no-repeat center center;
    background-size: 23px 23px;
}
.detail main ul li.weblink a .icon {
    background: url(../img/icon-document-web.png) no-repeat center center;
    background-size: 25px 20px;
}
.detail main ul li.gallery a .icon {
    background: url(../img/icon-document-gallery.png) no-repeat center center;
    background-size: 23px 23px;
}
.detail main ul li.open-learning a .icon {
    background: url(../img/icon-lightbulb.png) no-repeat center center;
    background-size: 23px 23px;
}

.detail footer {
    position: fixed;
    bottom: 0;
    height: 50px;
    width: 100%;
}
.detail footer ul {
    height: auto;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    text-align: center;
}
.detail footer ul li {
    display: inline;
    margin: 0 5% 0 5%;
    list-style: inline none;
    line-height: 50px;
}
.detail footer #footer.compact li {
    margin: 0 1.5% 0 1.5%;
}
.detail footer ul li a {
    font-size: 18px;
    color: #cdcdcd;
    text-decoration: none;
    text-transform: uppercase;
}
.detail footer ul li a:hover, .detail footer ul li a.active {
    color: #fff;
}

.top-nav {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    height: 48px;
    width: 100%;
    padding-left: 8px;
    padding-right: 8px;
    background: none var(--start-bg-color);
}
.top-nav .open-account-menu {
    display: block;
    width: 36px;
    height: 36px;
    margin-left: auto;
    cursor: pointer;
}
.top-nav .open-account-menu svg {
    height: 100%;
    width: auto;
    color: #fff;
}
.top-nav .account-flyout {
    position: absolute;
    display: none;
    right: 5px;
    top: 110%;
    width: 200px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    padding: 0.5rem;
    background: none #fff;
}
.top-nav .account-flyout ul {
    margin: 0;
    padding: 0;
}
.top-nav .account-flyout ul li {
    list-style: none inside;
    margin: 0;
    text-align: left;
    color: #222;
}
.top-nav .account-flyout ul li a {
    color: #000;
    text-decoration: none;
}
.top-nav .account-flyout.visible {
    display: block;
}

.footer-links {
    position: fixed;
    bottom: 0;
    height: 30px;
    width: 100%;
    background-color: #5c5c5c;
}
.footer-links nav {
    width: 100%;
    height: 100%;
}
.footer-links ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none inside;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}
.footer-links li {
    margin: 0 5px;
}
.footer-links a {
    color: #ffffff;
    text-decoration: none;
}
#share-intent-footer {
    display: none;
}
#privacy-footer {
    display: none;
}
#team-input {
    display: block;
}

.duel-challenges-empty {
    text-align: center;
    margin:20px;
}
.duel-positive-button {
  background-color:#17a345;
  color:#FFFFFF;
  margin-top:1%;
  padding:1%
}
.duel-negative-button {
  background-color:#ca0042;
  color:#FFFFFF;
  margin-top:1%;
  margin-left:1%;
  padding:1%
}
.duel-challenges {
  padding: 0 0 0 0;
  overflow: hidden;
}
.duel-challenges li {
    background-color: white;
    padding: 1%;
    margin: 0 0 2% 0;
    list-style: none inside;
    height: 80px;
}
.duel-challenges li a {
    display: block;
    text-decoration: none;
    color: #494c53;
}
.duel-challenges li a div {
    text-align: left;
}
.duel-challenges li a span {
    height: 80px; /* image's height */
    display: table-cell;
    vertical-align: middle;
}
.duel-user-icon {
    display: block;
    float: left;
    width: 80px;
    height: 80px;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    background: url(../img/avatar.png) no-repeat center center;
    background-size: 75px 75px;
    margin: 0 1% 0 0;
    vertical-align: middle;
}
.duel-detail-user-icon {
    position: relative;
    display: inline-block;
    width: 100px;
    height: 100px;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    background: url(../img/avatar.png) no-repeat center center;
    background-size: 95px 95px;
    margin: 0 1% 0 0;
}
#duel-detail-user-won-rounds {
    display: inline-block;
    color: #FFFFFF;
    width: 27px;
    height: 25px;
    background-color: #17a345;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    position: absolute;
    right: 0;
    bottom: 0;
    text-align:center;
    padding-top: 2px;
}
#duel-detail-opponent-user-won-rounds {
    display: inline-block;
    color: #FFFFFF;
    width: 27px;
    height: 25px;
    background-color: #ca0042;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    position: absolute;
    right: 0;
    bottom: 0;
    text-align:center;
    padding-top: 2px;
}
#duel-detail-rounds-list {
  padding: 0 0 0 0;
  overflow: hidden;
}
#duel-detail-rounds-list li {
    background-color: white;
    padding: 1%;
    margin: 0 0 2% 0;
    list-style: none inside;
    height: 40px;
}
.opponent-progress-bar {
  margin-right: 2px;
  display: inline-block;
  height: 20px;
  width: 130px;
  background-color: gray;
  position: relative;
  vertical-align: middle;
  -webkit-border-top-left-radius: 10px;
  -webkit-border-bottom-left-radius: 10px;
  -moz-border-radius-topleft: 10px;
  -moz-border-radius-bottomleft: 10px;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
.opponent-progress-bar-progress{
  display: inline-block;
  background-color: #ca0042;
  height: 20px;
  position: absolute;
  right: 0;
  vertical-align: middle;
  -webkit-border-top-left-radius: 10px;
  -webkit-border-bottom-left-radius: 10px;
  -moz-border-radius-topleft: 10px;
  -moz-border-radius-bottomleft: 10px;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
.user-progress-bar {
  margin-left: 2px;
  display: inline-block;
  height: 20px;
  width: 130px;
  background-color: gray;
  position: relative;
  vertical-align: middle;
  -webkit-border-top-right-radius: 10px;
  -webkit-border-bottom-right-radius: 10px;
  -moz-border-radius-topright: 10px;
  -moz-border-radius-bottomright: 10px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}
.user-progress-bar-progress{
  display: inline-block;
  background-color: #17a345;
  height: 20px;
  position: absolute;
  left: 0;
  vertical-align: middle;
  -webkit-border-top-right-radius: 10px;
  -webkit-border-bottom-right-radius: 10px;
  -moz-border-radius-topright: 10px;
  -moz-border-radius-bottomright: 10px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}
#duel-waiting-subtitle {
    margin: 0;
    padding: 2%;
    color: #fff;
    text-align: center;
}
#duel-waiting-rounds-list {
  padding: 0 0 0 0;
  overflow: hidden;
}
#duel-waiting-rounds-list li {
    background-color: white;
    padding: 1%;
    margin: 0 auto 2% auto;
    list-style: none inside;
    height: 120px;
    width: 387px;
}
.duel-waiting-user-progress-bar {
  margin-left: 2px;
  display: inline-block;
  height: 20px;
  width: 208px;
  background-color: gray;
  position: relative;
  vertical-align: middle;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}
#duel-waiting-user-progress-bar-progress-total{
  display: inline-block;
  background-color: #1f82c0;
  height: 20px;
  position: absolute;
  left: 0;
  vertical-align: middle;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}
#duel-waiting-user-progress-bar-progress-correct{
  display: inline-block;
  background-color: #17a345;
  height: 20px;
  position: absolute;
  left: 0;
  vertical-align: middle;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}
#duel-waiting-user-progress-bar-progress-wrong{
  display: inline-block;
  background-color: #ca0042;
  height: 20px;
  position: absolute;
  left: 0;
  vertical-align: middle;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}
#chat {
    position: absolute;
    top: 50px;
    bottom: 80px;
    left: 50%;
    margin-left: -400px;
    overflow-x: hidden;
    overflow-y: auto;
}
#chat-send-box {
  height: 35px;
  position:absolute;
  bottom: 50px;
  left: 50%;
  margin-left: -400px;
  background-color: #fff;
}
#chat-send-box input {
  width: 680px;
}
#chat-send-box button {
  width: 100px;
}
.messages {
  padding: 0 0 0 0;
  overflow: hidden;
}
.messages li {
    padding: 1%;
    margin: 0 0 2% 0;
    list-style: none inside;
}
.item-user {
  text-align: right;
}
.item-opponent {
  text-align: left;
}
.item-date {
  color: gray;
  text-align: center;
}
.item-link {
  text-align: center;
}
/* unvisited link */
.item-link a:link {
    color: blue;
}
/* visited link */
.item-link a:visited {
    color: blue;
}
/* mouse over link */
.item-link a:hover {
    color: blue;
}
/* selected link */
.item-link a:active {
    color: blue;
}
.chat-user-icon {
    float: right;
    display: inline;
    width: 80px;
    height: 80px;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    background: url(../img/avatar.png) no-repeat center center;
    background-size: 75px 75px;
    margin: 0 0 0 1%;
    vertical-align: middle;
}
.chat-user-icon-opponent {
    float: left;
    display: inline;
    width: 80px;
    height: 80px;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    background: url(../img/avatar.png) no-repeat center center;
    background-size: 75px 75px;
    margin: 0 1% 0 0;
    vertical-align: middle;
}
/* CSS talk bubble */
.talk-bubble {
  display: inline-block;
  margin: 10px;
  width: 60%;
  height: auto;
  background-color: white;
  vertical-align: middle;
}
.talk-bubble-opponent {
  display: inline-block;
  margin: 10px;
  width: 60%;
  height: auto;
  background-color: white;
  vertical-align: middle;
}
.round {
  border-radius: 15px;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
}
/* talk bubble contents */
.talktext {
  padding: 1em;
	text-align: left;
  line-height: 1.5em;
}
.talktext p {
  color: #000;
  /* remove webkit p margins */
  -webkit-margin-before: 0em;
  -webkit-margin-after: 0em;
}

.success {
    display: none;
}
.error, .email-already-used {
    display: none;
    padding-bottom: 0.5rem;
    color: #a51631;
    border-bottom: 2px solid #a51631;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

@media screen and (max-width: 800px) {
    .inner-container {
        box-sizing: border-box;
        width: 100%;
        margin: 0 auto 0 auto;
    }
    .detail main {
        left: 0;
        right: 0;
        margin-left: 0;
    }
    #chat {
        position: absolute;
        top: 50px;
        bottom: 80px;
        left: 0;
        right: 0;
        margin-left: 0px;
        overflow-x: hidden;
        overflow-y: auto;
    }
    #chat-send-box {
      left: 0;
      right: 0;
      margin-left: 0px;
    }
    #chat-send-box input {
      width: 70%;
    }
    #chat-send-box button {
      width: 17%;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
