:root {
    --plyr-color-main: #ffca10;
}

body {
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
    font-family: 'Roboto', sans-serif;
    color: #707070;
}

a {
    color: #707070;
}

/* Fonts */

/* roboto-300 - latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    src: local(''),
         url('./fonts/roboto-v30-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('./fonts/roboto-v30-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-regular - latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: local(''),
            url('./fonts/roboto-v30-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
            url('./fonts/roboto-v30-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-700 - latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: local(''),
            url('./fonts/roboto-v30-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
            url('./fonts/roboto-v30-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* General */

.dialog {
    position: fixed;
    background: rgba(255, 255, 255, 0.8);
    width: 100%;
    height: 100vh;
    display: none;
    z-index: 999;
}

.dialog.show {
    display: table;
}

.dialog-inner {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.dialog-container {
    display: inline-block;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    padding: 10px;
    border:1px solid #707070;
}

.dialog-container h6 {
    font-size: 18px;
    padding: 0;
    margin: 0;
}

/* captcha dialog */

.dialog.captcha .dialog-container {
    width: 400px;
}

.dialog.captcha input {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    margin: 10px 0;
    text-align: center;
    font-size: 20px;
}

.dialog.captcha .captcha-img {
    margin: 15px 0;
}

.dialog.captcha .captcha-img * {
    vertical-align: middle;
}

.progressIndicator {
    position: fixed;
    background: rgba(255, 255, 255, 0.8);
    width: 100%;
    height: 100vh;
    display: none;
    z-index: 1000;
}

.progressIndicator.show {
    display: table;
}

.progressIndicator.no-transparency {
    background: white;
}

.progressIndicator-inner {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.progressIndicator-container {
    display: inline-block;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 8px;
}

.progressIndicator.no-transparency .progressIndicator-container {
    box-shadow: none;
}

.progressIndicator-container img {
    vertical-align: middle;
    width: 16px;
}

.progressIndicator-container span {
    vertical-align: middle;
}

.layoutHeadline {
    font-size: 18px;
}

.layoutParagraph {
    font-size: 18px;
}

.next {
    position: absolute;
    bottom: 30px;
    right: 85px;
}

.next.nofly {
    position: static;
    bottom: auto;
    right: auto;
    margin-top: 50px;
}

.biginput {
    width: 510px;
    font-size: 66px;
    text-align: center;
    padding: 20px;
    color: #707070;
    border: 2px solid black;
    outline: none;
}

.biginput.valid {
    border-color: #65cc7d;
}

.biginput.invalid {
    border-color: #f0573e;
}

.button {
    border-radius: 8px;
    background-color: #ffca10;
    padding: 15px 50px;
    color: #707070;
    text-decoration: none;
    display: inline-block;
}

.button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.button.ms {
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
}

.button.ms img {
    height: 41px;
}

.button.ms span {
    font-weight: bold;
}

.control {
    background-color: white;
    border: 1px solid #707070;
    padding: 8px;
    display: block;
    cursor: text;
    margin-bottom: 15px;
}

.control.disabled,
.control.disabled input {
    background: #e5e5e5;
}

.control * {
    cursor: text;
}

.control.select * {
    cursor: default;
}

.control .col1 {
    display: inline-block;
    width: 44px;
    text-align: center;
}

.control .col1 img {
    width: 80%;
}

.control .col2 {
    display: inline-block;
    width: calc(100% - 50px);
}

.control .col2 span {
    display: block;
    font-size: 18px;
    color: #b6b6b6;
    padding-left: 5px;
}

.control .col2 input:focus,
.control .col2 input {
    border: none;
    padding: 5px;
    outline: none;
    font-size: 20px;
    color: #707070;
    width: calc(100% - 55px);
}

.control .col2 select {
    width: calc(100% - 5px);
    padding: 7px;
    margin-left: 2px;
    cursor: pointer;
    border: none;
    padding-left: 0;
}

/* select */

.select select {
    display: none;
}

.select .label {
    background: url(img/dropdown.png) center right;
    background-repeat: no-repeat;
    padding-right: 30px;
    cursor: pointer;
    padding-left: 0 !important;
    padding-top: 5px;
    padding-bottom: 6px;
}

.select .label span {
    cursor: pointer;
}

.select .label img {
    cursor: pointer;
    padding-right: 5px;
}

.select .window {
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    display: none;
    max-height: 200px;
    overflow: auto;
}

.select .window.show {
    display: block;
}

.select .window a {
    cursor: pointer;
    display: block;
    text-decoration: none;
    padding: 5px 10px;
    color: #707070;
}

.select .window a:hover {
    background: #efefef;
}

.select .window a img {
    vertical-align: middle;
    width: 20px;
    cursor: pointer;
}

.select .window a span {
    display: inline;
    vertical-align: middle;
    cursor: pointer;
    padding-left: 5px;
}

/* Control phonePre */

.control.phonePre select {
    display: none;
}

.control.phonePre .phonePre-container {
    display: inline-block;
    width: 70px;
    padding-right: 10px;
}

.control.phonePre .phonePre-container .label {
    background: url(img/dropdown.png) center right;
    background-repeat: no-repeat;
    cursor: pointer;
    font-size: 20px;
}

.control.phonePre input {
    width: calc(100% - 100px) !important;
}

.control.phonePre .phonePre-container .window {
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    width: 320px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    display: none;
    height: 200px;
    overflow: auto;
}

.control.phonePre .phonePre-container .window.show {
    display: block;
}

.control.phonePre .phonePre-container .window a {
    cursor: pointer;
    display: block;
    text-decoration: none;
    padding: 5px 10px;
}

.control.phonePre .phonePre-container .window a:hover {
    background: #efefef;
}

.control.phonePre .phonePre-container .window a img {
    vertical-align: middle;
    width: 20px;
    cursor: pointer;
}

.control.phonePre .phonePre-container .window a span {
    display: inline;
    vertical-align: middle;
    cursor: pointer;
}

/* ////////////////////// */

.container-3cols,
.container-2cols {
    overflow: hidden;
    box-sizing: border-box;
}

.container-2cols .container-2cols-col2,
.container-2cols .container-2cols-col1 {
    float: left;
    width: 49%;
    box-sizing: border-box;
}

.container-2cols .container-2cols-col1 {
    margin-right: 1%;
}
.container-2cols .container-2cols-col2 {
    margin-left: 1%;
}

.container-3cols .container-3cols-col1,
.container-3cols .container-3cols-col2,
.container-3cols .container-3cols-col3 {
    float: left;
    box-sizing: border-box;
}

.container-3cols .container-3cols-col1 {
    width: 20%;
    margin-right: 1%;
}

.container-3cols .container-3cols-col2 {
    margin-right: 1%;
}

.container-3cols .container-3cols-col2,
.container-3cols .container-3cols-col3 {
    width: 39%;
}

/* Checkbox */
.checkbox {
    display: block;
    position: relative;
    padding-left: 55px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 16px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  /* Hide the browser's default checkbox */
  .checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  
  /* Create a custom checkbox */
  .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 35px;
    width: 35px;
    border: 1px solid #707070;
  }
  
  /* On mouse-over, add a grey background color */
  .checkbox:hover input ~ .checkmark {
    background-color: #fafafa;
  }
  
  /* When the checkbox is checked, add a blue background */
  .checkbox input:checked ~ .checkmark {
    
  }
  
  /* Create the checkmark/indicator (hidden when not checked) */
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }
  
  /* Show the checkmark when checked */
  .checkbox input:checked ~ .checkmark:after {
    display: block;
  }
  
  /* Style the checkmark/indicator */
  .checkbox .checkmark:after {
    left: 12px;
    top: 2px;
    width: 10px;
    height: 20px;
    border: solid #707070;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

/* Thumbs videos */

.thumbs-videos a {
    display: inline-block;
    margin-right: 20px;
    text-align: center;
    text-decoration: none;
    color: #707070;
}

.thumbs-videos a img {
    border: 1px solid #707070;
}

.thumbs-videos a span {
    padding-top: 10px;
    display: inline-block;
}

/* Language switcher */

.languageSwitcher select {
    display: none;
}

.languageSwitcher .languageSwitcher-label {
    background: url(img/dropdown.png) center right;
    background-repeat: no-repeat;
    padding-right: 30px;
    margin-right: 10px;
    cursor: pointer;
}

.languageSwitcher .languageSwitcher-label img {
    cursor: pointer;
    padding-right: 5px;
}

.languageSwitcher .languageSwitcher-window {
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    display: none;
}

.languageSwitcher .languageSwitcher-window.show {
    display: block;
}

.languageSwitcher .languageSwitcher-window a {
    cursor: pointer;
    display: block;
    text-decoration: none;
    padding: 5px 10px;
    color: #707070;
}

.languageSwitcher .languageSwitcher-window a:hover {
    background: #efefef;
}

.languageSwitcher .languageSwitcher-window a img {
    vertical-align: middle;
    width: 20px;
    cursor: pointer;
}

.languageSwitcher .languageSwitcher-window a span {
    display: inline;
    vertical-align: middle;
    cursor: pointer;
    padding-left: 5px;
}

/* Portal creation 2 */

.portalCreation2 {
    position: fixed;
    background: #f7f7fa;
    width: 100%;
    height: 100vh;
    display: none;
    z-index: 1000;
}

.portalCreation2.show {
    display: table;
}

.portalCreation2 .logo {
    position: absolute;
    top: 45px;
    left: 30px;
    height: 50px;
    z-index: 100;
}

.portalCreation2-inner {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.portalCreation2-container {
    width: 60%;
    margin: auto;
}

.portalCreation2-progressbar-container {
    width: 50%;
    margin: auto;
}

.portalCreation2-progressbar {
    border: 1px solid #707070;
    border-radius: 10px;
    height: 50px;
    margin: 20px 0;
}

.portalCreation2-progessbar-inner {
    width: 0%;
    height: 50px;
    background: #ffca10;
    border-radius: 10px 0 0 10px;
    -webkit-transition: 0.3s ease width;
    transition: 0.3s ease width;
}

.portalCreation2-progessbar-inner.finish {
    border-radius: 10px;
}

.portalCreation2-box {
    overflow: hidden;
}

.portalCreation2-box-col-1 {
    float: left;
    box-sizing: border-box;
    width: calc(100% - 100px);
    text-align: left;
    font-weight: bold;
}

.portalCreation2-box-col-2 {
    float: left;
    box-sizing: border-box;
    width: 100px;
    font-weight: bold;
    text-align: right;
}

/* Portal Creation */

.portalCreation {
    position: fixed;
    background: rgba(255, 255, 255, 0.8);
    width: 100%;
    height: 100vh;
    display: none;
    z-index: 1000;
}

.portalCreation.show {
    display: table;
}

.portalCreation-inner {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.portalCreation-container .square-outer {
    overflow: hidden;
    display: inline-block;
    padding-right: 10px;
}

.portalCreation-container .square-outer .square-container {
    float:left;
    position: relative;
    width: 131px;
    text-align: center;
    margin-top: 10px;
}

.portalCreation-container .square-outer .square-container .ok {
    background: green;
    border-radius: 50%;
    font-size: 14px;
    text-align: center;
    width: 30px;
    height: 30px;
    color: white;
    line-height: 2.3;
    display: none;
    position: absolute;
    right: -5px;
    top: -5px;
    transform: scale(0);
    transform-origin: center center;
    -webkit-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
}

.portalCreation-container .square-outer .square-container .ok.animate {
    transform: scale(1);
}

.portalCreation-container .square-outer .square-container.line {
    width: 30px;
}

.portalCreation-container .square-outer .square-container.line .line {
    border-top: 1px solid black;
    width: 0%;
    margin-top: 65px;
    -webkit-transition: width 1s ease;
    transition: width 1s ease;
}

.portalCreation-container .square-outer .square-container.line.animate .line {
    width: 100%;
}

.portalCreation-container .square-outer .square-container .square {
    width: 130px;
    height: 130px;
    text-align: center;
    line-height: 3.2;
    font-size: 40px;
    display: inline-block;
    margin-bottom: 10px;
    background: white;
}

.portalCreation-container .square-outer .square-container span {
    font-size: 16px;
    line-height: 1;
}

.portalCreation-container .square-outer .square-container.wait {
    opacity: 0.5;
}

.portalCreation-container .square-outer .square-container.finish .square {
    border: 1px solid black;
    opacity: 1;
}

.portalCreation-container .square-outer .square-container.finish .ok {
    display: block;
}

.portalCreation-container .square-outer .square-container .square {
    border: 1px solid transparent;
}

.portalCreation-container .square-outer .square-container.busy .square {
    background-image: linear-gradient(90deg, black 50%, transparent 50%), linear-gradient(90deg, black 50%, transparent 50%), linear-gradient(0deg, black 50%, transparent 50%), linear-gradient(0deg, black 50%, transparent 50%);
    background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
    background-size: 15px 2px, 15px 2px, 2px 15px, 2px 15px;
    background-position: left top, right bottom, left bottom, right   top;
    animation: border-dance 1s infinite linear;
    opacity: 1;
}

@keyframes border-dance {
    0% {
        background-position: left top, right bottom, left bottom, right   top;
    }
    100% {
        background-position: left 15px top, right 15px bottom , left bottom 15px , right   top 15px;
    }
}

/* Start */

#start .table {
    display: table;
    width: 100%;
    height: 100vh;
}

#start .cell {
    display:table-cell;
    vertical-align: middle;
}

#start .container {
    margin: auto;
    width: 800px;
}

#start .logo {
    position: absolute;
    top: 45px;
    left: 30px;
    width: 200px;
}

#start .logo img {
    width: 100%;
}

#start .phone {
    position: absolute;
    top: 45px;
    right: 30px;
}

#start .phone img {
    width: 20px;
    cursor: pointer;
}

#start h1 {
    text-align: center;
    font-size: 36px;
    font-weight: normal;
}

#start .registration-buttons {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#start .pwds-container {
    display: block;
}

#start .pwds-container.withms {
    display: none;
}

/* Layout */

#layout {
    overflow: hidden;
    background:white;
}

#layout #navigation {
    width: 27.6%;
    box-sizing: border-box;
    float: left;
    padding-top: 160px;
    background-color: #f7f7fa;
    min-height: 100vh;
}

#layout #navigation ul {
    list-style: none;
    font-size: 18px;
    margin: 0;
    padding-left:10px;
}

#layout #navigation ul li {
    padding-top: 26px;
    padding-bottom: 26px;
}

#layout #navigation ul span,
#layout #navigation ul img {
    vertical-align: middle;
}

#layout #navigation ul li img {
    float: right;
    padding-right: 10px;
    display: none;
}

#layout #navigation ul > li.check > img {
    display: inline;
}

#layout #navigation ul li.active span {
    background: #ffe596;
    border-radius: 8px;
    padding: 10px;
    display: inline-block;
    width: 90%;
}

#layout #navigation ul ul {
    padding-left:55px;
    padding-top: 26px;
}

#layout #navigation .logo {
    position: absolute;
    top: 45px;
    left: 30px;
    width: 200px;
}

#layout #navigation .logo img {
    width: 100%;
}

#layout #body {
    box-sizing: border-box;
    width: calc(100% - 27.6%);
    min-height: 100vh;
    background-color: white;
    float: left;
    padding: 40px;
    padding-top: 175px;
}

/* Step 1 */

/* Step 4 */

#step4 .container-2cols .container-2cols-col2 {
    width: 69%;
}
#step4 .container-2cols .container-2cols-col1 {
    width: 29%;
}

/* MEDIA QUERIES */

@media only screen and (max-width: 1400px)  {

    #start {
        padding-top: 20px;
    }

    #start h1 {
        font-size: 28px;
    }

}

@media only screen and (max-width: 1280px)  {
    #layout #navigation .logo {
        height: 40px;
    }

    #layout #navigation ul {
        font-size: 16px;
    }

    .layoutHeadline {
        font-size: 16px;
    }

    .layoutParagraph {
        font-size: 16px;
    }
}