body {
    width: 100%;
    display: flex;
    margin: 0 auto;
    flex-direction: column;
}

.root {
    background-size: 100%;
    background-repeat: no-repeat;
    font-family: "robotolight",sans-serif;
    background-image: url('./assets/download.png');
}

header {
    display: flex;
    background: rgb(255, 250, 250);
    align-items: center;
    justify-content: flex-end;
}

main {
    margin-top: 30px;
    height: calc(100vh - 35px);
}

.logo {
    left: 0;
    height: 34px;
    width: 112px;
    margin-left: 100px;
    position: absolute;
    background-repeat: no-repeat;
    background-image: url(./assets/logo.png);
}

ul {
    margin: 0;
    padding: 0;
    list-style: none; 
}

.topmenu > li {
    margin-right: 20px;
    position: relative;
    display: inline-block;
}

.topmenu > li:last-child {
    margin-right: 0;
}

a {
    outline: none;
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    transition: .5s linear;
    font-family: 'Lora', serif;
}

.fa {
    font-family: "FontAwesome";
    color: inherit;
    padding-left: 10px;
}

.submenu {
    left: 0;
    top: 100%;
    z-index: 10;
    width: 100%;
    position: absolute;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    -o-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
}

.navigation {
    margin-right: 20px;
}

.navigation ul a {
    font-size: 14px;
    color: #666666;
}

.navigation ul a:hover {
    color: #f18815;
    transition: cubic-bezier(0,0,0,1) 0.5s;
}

.navigation .submenu {
    opacity: 0;
    visibility: hidden;
}

.navigation ul li:hover .submenu {
    opacity: 1;
    visibility: visible;
}

.login {
    width: 100px;
    cursor: pointer;
    text-align: center;
    border-right: 1px solid rgb(220, 220, 220);
    border-left: 1px solid rgb(220, 220, 220);
}

.login:hover {
    background-color: #d6dadc;
    transition: cubic-bezier(0,0,0,1) 0.5s;
    border-right: 1px solid rgb(200, 200, 200);
    border-left: 1px solid rgb(200, 200, 200);
}

.login_icon {
    margin: 0px 5px -2px 0;
}

.lang_icon {
    vertical-align: middle;
}


.card_wrapper {
    width: 375px;
    height: 550px;
    display: flex;
    margin-left: 100px;
    flex-direction: column;
    background-color: #fcfaf4;
    -webkit-box-shadow: 0px 7px 5px 0px rgba(60, 50, 0, 0.30);
    -moz-box-shadow: 0px 7px 5px 0px rgba(60, 50, 0, 0.30);
    box-shadow: 0px 7px 5px 0px rgba(60, 50, 0, 0.30);
}

.card_button-wrapper {
    display: flex;
}

.btn {
    width: 50%;
    height: 40px;
    color: #858585;
    background-color: #d6dadc;
    border: 1px solid #d4d2d2;
}

.btn:hover {
    color: #313131;
    background-color: #fcfaf4;
    transition: cubic-bezier(0,0,0,1) 1s;
}

.card_summa-wrapper,
.card_lkmenesa-wrapper,
.card_atnaksas-wrapper,
.card_gpl-wrapper {
    display: flex;
    margin-top: 15px;
    flex-direction: row;
}

.summa {
    flex-grow: 9;
    margin-top: 10px;
    margin-left: 20px;
    color: #3b3b3b;
}

input[type=range] {
    width: 75%;
    -webkit-appearance: none;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 75%;
    height: 5px;
    cursor: pointer;
    border-radius: 1.3px;
    background: #f28c18;
    border: 0.1px solid #707070;
    box-shadow: 1px 1px 1px #707070, 0px 0px 1px #707070;
}

input[type=range]::-webkit-slider-thumb {
    height: 22px;
    width: 15px;
    cursor: pointer;
    border-radius: 3px;
    margin-top: -10px;
    background: #ffffff;
    -webkit-appearance: none;
    border: 1px solid #707070;
    box-shadow: 1px 1px 1px #707070, 0px 0px 1px #707070;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: #f28c18;
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 5px;
    cursor: pointer;
    border-radius: 1.3px;
    background: #f28c18;;
    border: 0.2px solid #707070;
    box-shadow: 1px 1px 1px #707070, 0px 0px 1px #707070;

}
  input[type=range]::-moz-range-thumb {
    height: 22px;
    width: 15px;
    cursor: pointer;
    border-radius: 3px;
    background: #ffffff;
    border: 1px solid #707070;
    box-shadow: 1px 1px 1px #707070, 0px 0px 1px #707070;
}

input[type=range]::-ms-track {
    width: 75%;
    height: 5px;
    cursor: pointer;
    color: transparent;
    border-width: 16px 0;
    background: transparent;
    border-color: transparent;
}

input[type=range]::-ms-fill-lower {
    border-radius: 2.6px;
    background: #f28c18;
    border: 0.2px solid #707070;
    box-shadow: 1px 1px 1px #707070, 0px 0px 1px #707070;
}

input[type=range]::-ms-fill-upper {
    border-radius: 2.6px;
    background: #f28c18;
    border: 0.2px solid #707070;
    box-shadow: 1px 1px 1px #707070, 0px 0px 1px #707070;
}

input[type=range]::-ms-thumb {
    width: 15px;
    height: 22px;
    cursor: pointer;
    border-radius: 3px;
    background: #ffffff;
    border: 1px solid #707070;
    box-shadow: 1px 1px 1px #707070, 0px 0px 1px #707070;
}

input[type=range]:focus::-ms-fill-lower {
    background: #f28c18;
}

input[type=range]:focus::-ms-fill-upper {
    background: #f28c18;
}


.summa-input {
    flex-grow: 1;
    width: 65px;
    height: 25px;
    margin-right: 20px;
    text-align: center;
}

.input-one {
    width: 310px;
}

.card_input-wrapper {
    margin-top: 20px;
    text-align: center;
}

.card_data-wrapper {
    font-size: 15px;
    margin-top: 55px;
    border-top: 1px solid rgb(209, 209, 209);
}

.numbers {
    flex-grow: 1;
    font-weight: bold;
}

.lkmenesa,
.atnaksas,
.gpl {
    flex-grow: 9;
    font-size: 12px;
    font-weight: bold;
    color: #3b3b3b;
    margin-left: 20px;
}

.registr {
    color: #fff;
    font-weight: 700;
    border-radius: 2px;
    text-align: center;
    text-decoration: none;
    margin: 20px 15px 0px 15px;
    background-color: #f28c18;
    font-family: "Proxima Nova Rg";
}

.registr:hover {
    background-color: #e6a45a;
    transition: cubic-bezier(0,0,0,1) 0.5s;
}

.foot-wrapper {
    display: flex;
    margin-top: 30px;
    flex-direction: column;
}

.i,
.k {
    font-size: 15px;
    margin-left: 10px;
    display: initial;
    color: #222222;
    vertical-align: super;
}

.i-img,
.k-img {
    margin-left: 15px;
}

.modal {
    display: none;
    width: 500px;
    max-width: 100%;
    height: 400px;
    max-height: 100%;
    position: fixed;
    border-radius: 3px;
    z-index: 100;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: white;
    box-shadow: 0 0 60px 10px rgba(0, 0, 0, 0.281);
}

.open {
    display: block;
}
  
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
    background: rgba(236, 198, 162, 0.383);
}

.modal-guts {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    padding: 20px 50px 20px 20px;
}

#container {
	position: fixed;
	width: 340px;
	height: 280px;
	top: 50%;
	left: 50%;
	margin-top: -140px;
	margin-left: -170px;
	background: #fff;
	border-radius: 3px;
	border: 1px solid #ccc;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
	-webkit-animation-name: bounceIn;
	-webkit-animation-fill-mode: both;
	-webkit-animation-duration: 1s;
	-webkit-animation-iteration-count: 1;
	-webkit-animation-timing-function: linear;
	-moz-animation-name: bounceIn;
	-moz-animation-fill-mode: both;
	-moz-animation-duration: 1s;
	-moz-animation-iteration-count: 1;
	-moz-animation-timing-function: linear;
	animation-name: bounceIn;
	animation-fill-mode: both;
	animation-duration: 1s;
	animation-iteration-count: 1;
	animation-timing-function: linear;
}

form {
	margin: 0 auto;
	margin-top: 20px;
}

label {
	color: #555;
	display: inline-block;
	margin-left: 18px;
	padding-top: 10px;
	font-size: 14px;
}

p a {
	font-size: 11px;
	color: #aaa;
	float: right;
	margin-top: -13px;
	margin-right: 20px;
	-webkit-transition: all .4s ease;
	-moz-transition: all .4s ease;
	transition: all .4s ease;
}

p a:hover {
	color: #555;
}

input {
	font-family: "Helvetica Neue", Helvetica, sans-serif;
	font-size: 12px;
	outline: none;
}

input[type=name],
input[type=password] {
	color: #777;
	padding-left: 10px;
	margin: 10px;
	margin-top: 12px;
	margin-left: 18px;
	width: 290px;
	height: 35px;
	border: 1px solid #c7d0d2;
	border-radius: 2px;
	box-shadow: inset 0 1.5px 3px rgba(190, 190, 190, .4), 0 0 0 5px #f5f7f8;
	-webkit-transition: all .4s ease;
	-moz-transition: all .4s ease;
	transition: all .4s ease;
}

input[type=name]:hover,
input[type=password]:hover {
	border: 1px solid #b6bfc0;
	box-shadow: inset 0 1.5px 3px rgba(190, 190, 190, .7), 0 0 0 5px #f5f7f8;
}

input[type=name]:focus,
input[type=password]:focus {
	border: 1px solid #a8c9e4;
	box-shadow: inset 0 1.5px 3px rgba(190, 190, 190, .4), 0 0 0 5px #e6f2f9;
}

#lower {
	background: #ecf2f5;
	width: 100%;
	height: 69px;
	margin-top: 20px;
	box-shadow: inset 0 1px 1px #fff;
	border-top: 1px solid #ccc;
	border-bottom-right-radius: 3px;
	border-bottom-left-radius: 3px;
}

input[type=checkbox] {
	margin-left: 20px;
	margin-top: 30px;
}

.check {
	margin-left: 3px;
	font-size: 11px;
	color: #444;
	text-shadow: 0 1px 0 #fff;
}

input[type=submit] {
	float: right;
	margin-right: 20px;
	margin-top: 20px;
	width: 80px;
	height: 30px;
	font-size: 14px;
	font-weight: bold;
	color: #fff;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#f28c18), to(#f28c18));
	background-image: -moz-linear-gradient(top left 90deg, #d6dadc 0%, #f28c18 100%);
	background-image: linear-gradient(top left 90deg, #f28c18 0%, #f28c18 100%);
	border-radius: 4px;
	border: 1px solid #f28c18;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .5);
	cursor: pointer;
}

input[type=submit]:hover {
	background-image: -webkit-gradient(linear, left top, left bottom, from(#f28c18), to(#f28c18));
	background-image: -moz-linear-gradient(top left 90deg, #f28c18 0%, #f28c18 100%);
	background-image: linear-gradient(top left 90deg, #f28c18 0%, #f28c18 100%);
}

input[type=submit]:active {
	background-image: -webkit-gradient(linear, left top, left bottom, from(#f28c18), to(#d6dadc));
	background-image: -moz-linear-gradient(top left 90deg, #f28c18 0%, #d6dadc 100%);
	background-image: linear-gradient(top left 90deg, #f28c18 0%, #d6dadc 100%);
}

@media (max-width: 930px) {
    body {
        width: 100%;
    }

    .root {
        background: unset;
    }

    header {
        display: flex;
        flex-direction: column;
    }

    .logo {
        position: unset;
        margin: 0 auto;
    }

    .navigation {
        margin: 0 auto;
        flex-direction: column;
    }

    .card_wrapper {
        margin: 70px auto;
        width: 355px;
    }

}

@media (max-width: 710px) {
    .navigation {
        max-width: 200px;
        text-align: center;
    }
}