body {
    margin: 0px;
}

#header {
    display: flex;
    margin-top: 70px;
    margin-right: 140px;
    margin-left: 140px;
    justify-content: space-between;
}

#header > #logoBox {
    display: inline-block;
    position: relative;
    width: 527px;
    max-width: 100%;
    height: 115px;
    border: 2px solid #c4c4c4;
    flex-shrink: 0;
}

#header > #logoBox > #logoImg {
    position: absolute;
    height: 71px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#header > #iconsBox {
    display: inline-flex;
}

#header > #iconsBox > a {
    display: inline-block;
    height: 30px;
    margin-left: 5px;
    margin-right: 5px;
    cursor: pointer;
}

#header > #iconsBox > #blackBackground {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: rgba(0,0,0,0.2);
}

#header > #iconsBox > #blackBackground > #loginBox {
    display: inline-flex;
    flex-direction: column;
    position: relative;
    width: 490px;
    height: 370px;
    margin-top: 65px;
    left: 50%;
    transform: translate(-50%);
    background-color: white;
}

#header > #iconsBox > #blackBackground > #loginBox > #closeButton {
	display: inline-block;
    position: absolute;
    top: 5px;
    right: 4px;
	font-size: 20px;
  	padding: 0px 6px;
    color: black;
    font-weight: bold;
    background-color: rgb(230, 230, 230);
    text-decoration: none;
    cursor: pointer;
}

#header > #iconsBox > #blackBackground > #loginBox > #menu {
    display: inline-flex;
    justify-content: center;
}

#header > #iconsBox > #blackBackground > #loginBox > #menu > .menuItem {
    display: inline-block;
    position: relative;
    white-space: normal;
    width: 215px;
    height: 37px;
    margin-top: 33px;
    white-space: nowrap;
    background-color: rgb(242, 242, 242);
    color: #000;
    font-family: Spinnaker;
    font-size: 18px;
    text-decoration: none;
}

#header > #iconsBox > #blackBackground > #loginBox > #menu > .menuItem:last-child {
    margin-left: 8px;
}

#header > #iconsBox > #blackBackground > #loginBox > #menu > .menuItem > div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#header > #iconsBox > #blackBackground > #loginBox > #kasutajaNimiText {
	margin-top: 45px;
	margin-left: 10px;
    font-family: Spinnaker;
}

#header > #iconsBox > #blackBackground > #loginBox > #paroolText {
	margin-top: 25px;
	margin-left: 10px;
    font-family: Spinnaker;
}

#header > #iconsBox > #blackBackground > #loginBox > input {
    width: 230px;
    margin-left: 10px;
    background-color: rgba(245, 245, 245, .7);
    border-color: rgba(245, 245, 245, .7);
    font-family: Spinnaker;
}

#header > #iconsBox > #blackBackground > #loginBox > #loginButtonBox {
	display: inline-flex;
    justify-content: center;
}

#header > #iconsBox > #blackBackground > #loginBox > #loginButtonBox > #loginButton {
    display: inline-block;
    position: relative;
    white-space: normal;
    width: 215px;
    height: 37px;
    margin-top: 93px;
    white-space: nowrap;
    background-color: rgb(242, 242, 242);
    color: #000;
    font-family: Spinnaker;
    font-size: 18px;
    text-decoration: none;
}

#header > #iconsBox > #blackBackground > #loginBox > #loginButtonBox > #loginButton > div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#allContentUnderHeader {
    margin-top: 63px;
    background-image: url(images/background.png);
}

#allContentUnderHeader > #menu {
    display: flex;
    padding-top: 16px;
    margin-right: 125px;
    margin-left: 140px;
    justify-content: space-between;
}

#allContentUnderHeader > #menu > .menuItem {
    display: inline-block;
    position: relative;
    width: 215px;
    height: 46px;
    margin-right: 15px;
    flex-shrink: 0;
    background-color: rgba(255, 251, 251, .7);
    color: #000;
    font-family: Spinnaker;
    font-size: 18px;
    text-decoration: none;
}

#allContentUnderHeader > #menu > .menuItem > div {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#allContentUnderHeader > #menu > #veelSubMenu {
    display: none;
    flex-direction: column;
}

#allContentUnderHeader > #menu > #veelSubMenu > #veel {
    display: inline-block;
    position: relative;
    width: 215px;
    height: 46px;
    flex-shrink: 0;
    background-color: rgba(255, 251, 251, .7);
    color: #000;
    font-family: Spinnaker;
    font-size: 18px;
    text-decoration: none;
}

#allContentUnderHeader > #menu > #veelSubMenu > #menuIcon {
    display: none;
    position: relative;
    width: 215px;
    height: 46px;
    flex-shrink: 0;
    background-color: rgba(255, 251, 251, .7);
    color: #000;
    font-family: Spinnaker;
    font-size: 18px;
    text-decoration: none;
}

#allContentUnderHeader > #menu > #veelSubMenu > .menuItem {
    margin-bottom: 3px;
    border: 0px;
    cursor: pointer;
}

#allContentUnderHeader > #menu > #veelSubMenu > .menuItem:focus {
    outline: 0;
}

#allContentUnderHeader > #menu > #veelSubMenu > .menuItem > div {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#allContentUnderHeader > #menu > #veelSubMenu > .menuItem > div > i {
    margin-left: 4px;
}

#allContentUnderHeader > #menu > #veelSubMenu > #dropdownContent {
    display: none;
    flex-direction: column;
}

#allContentUnderHeader > #menu > #veelSubMenu > #dropdownContent > .menuItem {
    display: none;
    position: relative;
    width: 215px;
    height: 46px;
    flex-shrink: 0;
    background-color: rgba(255, 251, 251, .7);
    color: #000;
    font-family: Spinnaker;
    font-size: 18px;
    text-decoration: none;
}

#allContentUnderHeader > #menu > #veelSubMenu > #dropdownContent > .menuItem:not(:last-child) {
    margin-bottom: 3px;
}

#allContentUnderHeader > #menu > #veelSubMenu > #dropdownContent > .menuItem > div {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#allContentUnderHeader > #sideAndMainContent {
    display: flex;
    margin-top: 56px;
    margin-right: 140px;
    margin-left: 140px;
    justify-content: space-between;
}

#allContentUnderHeader > #sideAndMainContent > #sideContent {
    display: inline-block;
    width: 230px;
    margin-right: 30px;
    flex-shrink: 0;
}

#allContentUnderHeader > #sideAndMainContent > #sideContent > input {
    width: 100%;
    background-color: rgba(255, 251, 251, .7);
    border-color: rgba(255, 251, 251, .7);
    font-family: Spinnaker;
}

#allContentUnderHeader > #sideAndMainContent > #sideContent > input:not(:last-child) {
    margin-bottom: 25px;
}

#allContentUnderHeader > #sideAndMainContent > #sideContent > input::placeholder {
    color: #000;
}

#allContentUnderHeader > #sideAndMainContent > #mainContent {
    display: inline-block;
    width: 100%;
    margin-top: 23px;
}

#allContentUnderHeader > #sideAndMainContent > #mainContent > .container {
    display: flex;
    margin-bottom: 79px;
    justify-content: space-between;
    background-color: rgba(255, 251, 251, .7);
}

#allContentUnderHeader > #sideAndMainContent > #mainContent > .container > .innerContainer > img {
    width: 207px;
    height: 119px;
    margin-top: 16px;
    margin-bottom: 10px;
    margin-left: 30px;
}

#allContentUnderHeader > #sideAndMainContent > #mainContent > .container > .innerContainer > .righthidden {
    display: none;
}

#allContentUnderHeader > #sideAndMainContent > #mainContent > .container > .middle {
    display: inline-block;
    margin-top: 32px;
    margin-bottom: 20px;
    margin-left: 28px;
    font-family: Spinnaker;
    font-size: 12px;
}

#allContentUnderHeader > #sideAndMainContent > #mainContent > .container > .middle > .button {
    display: inline-block;
    position: relative;
    width: 101px;
    height: 37px;
    margin-left: 59px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    flex-shrink: 0;
    background-color: rgba(255, 251, 251, .7);
    color: #000;
    font-family: Spinnaker;
    font-size: 18px;
    text-decoration: none;
}

#allContentUnderHeader > #sideAndMainContent > #mainContent > .container > .middle > .button > div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#allContentUnderHeader > #sideAndMainContent > #mainContent > .container > .right {
    height: 83px;
    margin-top: 27px;
    margin-right: 16px;
    margin-left: 29px;
}

#allContentUnderHeader > #sideAndMainContent > #mainContent > .container > .right > .button {
    display: inline-block;
    position: relative;
    width: 101px;
    height: 37px;
    flex-shrink: 0;
    background-color: rgba(255, 251, 251, .7);
    color: #000;
    font-family: Spinnaker;
    font-size: 18px;
    text-decoration: none;
}

#allContentUnderHeader > #sideAndMainContent > #mainContent > .container > .right > .button:first-child {
    margin-bottom: 10px;
}

#allContentUnderHeader > #sideAndMainContent > #mainContent > .container > .right > .button > div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.fuckoff {
   display: block;
}

@media screen and (max-width: 1415px) {
#header {
    width: 1135px;
    margin-right: 0px;
    margin-left: 0px;
    margin: 40px auto 0px auto;
}
#allContentUnderHeader > #menu {
    width: 1135px;
    margin-left: 0px;
    margin-right: 0px;
    margin: 0px auto 0px auto;
}   
#allContentUnderHeader {
    margin-top: 35px;
}
#allContentUnderHeader > #sideAndMainContent {
    width: 1135px;
    margin-top: 56px;
    margin-right: 0px;
    margin-left: 0px;
    margin: 56px auto 0px auto;
}
}

@media screen and (max-width: 1152px) {
#header {
    width: 100%;
}
#allContentUnderHeader > #menu {
    justify-content: flex-start;
}
#allContentUnderHeader > #menu > #dekoratsioon {
    display: none;
}
#allContentUnderHeader > #menu > #toit {
    display: none;
}
#allContentUnderHeader > #menu > #veelSubMenu {
    display: flex;
}
#allContentUnderHeader > #menu > #veelSubMenu > #dropdownContent > #toit {
    display: inline-block;
}
#allContentUnderHeader > #menu > #veelSubMenu > #dropdownContent > #dekoratsioon {
    display: inline-block;
}
#allContentUnderHeader > #sideAndMainContent {
    flex-direction: column;
    width: 100%;
    margin-top: 46px;
}
#allContentUnderHeader > #sideAndMainContent > #sideContent {
    display: flex;
    width: 460px;
    flex-shrink: 0;
}
#allContentUnderHeader > #sideAndMainContent > #sideContent > input {
    width: 100%;
    height: 15px;
    margin-right: 25px;
    margin-bottom: 5px;
}
#allContentUnderHeader > #sideAndMainContent > #sideContent > input:not(:last-child) {
    margin-bottom: 0px;
}
}

@media screen and (max-width: 922px) {
#allContentUnderHeader > #menu > #esineja {
    display: none;
}
#allContentUnderHeader > #menu > #veelSubMenu > #dropdownContent > #esineja {
    display: inline-block;
}
}

@media screen and (max-width: 692px) {
#header {
    flex-direction: column;
    margin-top: 5px;
}
#header > #logoBox {
    left: 50%;
    transform: translateX(-50%);
}
#header > #iconsBox {
    margin: 10px auto 0px auto;
}
#allContentUnderHeader > #menu {
    display: inline-flex;
    width: 215px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}
#allContentUnderHeader > #menu > .menuItem {
    display: none;
}
#allContentUnderHeader > #menu > #veelSubMenu > #veel {
    display: none;
}
#allContentUnderHeader > #menu > #veelSubMenu > #menuIcon {
    display: inline-block;
}
#allContentUnderHeader > #menu > #veelSubMenu > #dropdownContent > #veel {
    display: none;
}
#allContentUnderHeader > #menu > #veelSubMenu > #dropdownContent > #menuIcon {
    display: inline-block;
}
#allContentUnderHeader > #menu > #veelSubMenu > #dropdownContent > .menuItem {
    display: inline-block;
}
#allContentUnderHeader > #sideAndMainContent {
    margin-top: 30px;
}
#allContentUnderHeader > #sideAndMainContent > #sideContent {
    flex-direction: column;
    width: 250px;
    margin: 0px auto 0px auto;
}
#allContentUnderHeader > #sideAndMainContent > #sideContent > input {
    height: 25px;
}
#allContentUnderHeader > #sideAndMainContent > #sideContent > input:not(:last-child) {
    margin-bottom: 10px;
}
#allContentUnderHeader > #sideAndMainContent > #mainContent {
    margin-top: 18px;
}
#allContentUnderHeader > #sideAndMainContent > #mainContent > .container {
    display: inline-block;
    min-width: none;
    margin-bottom: 40px;
}
#allContentUnderHeader > #sideAndMainContent > #mainContent > .container > .innerContainer {
    display: inline-flex;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}
#allContentUnderHeader > #sideAndMainContent > #mainContent > .container > .innerContainer > img {
    margin-left: 0px;
}
#allContentUnderHeader > #sideAndMainContent > #mainContent > .container > .innerContainer > .righthidden {
    display: flex;
    flex-direction: column;
    height: 83px;
    width: 100%;
    margin-top: 27px;
    margin-right: 0px;
    margin-left: 29px;
}
#allContentUnderHeader > #sideAndMainContent > #mainContent > .container > .innerContainer > .righthidden > .button {
    display: inline-block;
    position: relative;
    width: 101px;
    height: 37px;
    flex-shrink: 0;
    background-color: rgba(255, 251, 251, .7);
    color: #000;
    font-family: Spinnaker;
    font-size: 18px;
    text-decoration: none;
}
#allContentUnderHeader > #sideAndMainContent > #mainContent > .container > .innerContainer> .righthidden > .button:first-child {
    margin-bottom: 10px;
}
#allContentUnderHeader > #sideAndMainContent > #mainContent > .container > .innerContainer > .righthidden > .button > div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#allContentUnderHeader > #sideAndMainContent > #mainContent > .container > .middle {
    margin-top: 3px;
    margin-right: 17px;
    margin-left: 17px;
}
#allContentUnderHeader > #sideAndMainContent > #mainContent > .container > .middle > .button {
    margin-left: 0px;
    left: 50%;
    transform: translateX(-50%);
}
#allContentUnderHeader > #sideAndMainContent > #mainContent > .container > .right {
    display: none;
}
}

.show {
    display: flex !important;
}