/*******************/
/* Responsive part */
/*******************/
@media only screen and (max-width: 1680px) {
    #logo {
        transform: scale(0.85) translateY(-60%);
    }
}
@media only screen and (min-width: 1025px) and (max-width: 1050px) {
    .footerContent .questions .footerText {
        padding-left: 9px;
    }
}
@media only screen and (min-width: 769px) and (max-width: 1024px) {
    .content {
        width: 768px;
    }
    /*Menu*/
    nav .content>div>a {
        font-size: 20px;
        padding: 0 20px;
    }
    /*Footer part*/
    .footerContentWrap {
        height: 512px;
    }
    footer .footerContent {
        flex-wrap: wrap;
    }
    .footerContent .footerText {
        border-top: 2px solid white;
    }
    .footerContent .adresa {
        width: 382px;
        border-right: 0.5px solid white;
    }
    .footerContent .questions {
        width: 382px;
        border-left: 0.5px solid white;
    }
    .footerContent .questions .footerText {
        padding-left: 51px;
    }
    .footerContent .open {
        margin-top: 25px;
        order: 3;
        width: 766px;
        border: none;
    }
    .footerContent .open .footerText {
        width: 500px;
        margin: auto;
    }
    .footerContent .open table td:first-child {
        padding-right: 85px;
        text-align: right;
    }
    .footerContent .open table td:last-child {
        padding-left: 25px;
    }
    .footerContent .questions .footerText tr td:nth-child(1) {
        padding-right: 12px;
    }
    .footerContent .questions .footerText tr td:nth-child(2) {
        font-size: 21px;
    }
}
@media only screen and (max-width: 888px) {
    #logo {
        right: 50%;
        transform: translateX(50%) translateY(-50%) scale(0.75);
    }
}
@media only screen and (min-width: 769px) {
    #MenuActivePage, #OpnClsMenu {
        display: none!important;
    }
}
@media only screen and (min-width: 501px) and (max-width: 768px) {
    .content {
        width: 100%;
    }
    .active {
        box-shadow: 0 0 transparent;
        background: #373737!important;
    }
    .active:hover {
        box-shadow: 0 0 transparent;
        transform: translate(0,0);
    }
    main .content {
        padding: 30px 33px;
    }
    /*Menu*/
    nav .content>div:first-child {
        width: 100%;
        padding: 0;
        height: 55px;
        background: #1d1d1d;
        display: block;
    }
    nav .content>div:first-child:hover {
        background: #1d1d1d;
    }
    nav .content>div:not(:first-child) {
        padding: 0 31px;
        border-top: 1px solid #373737;
        border-bottom: 1px solid #373737;
    }
    nav .content>div>a {
        font-size: 23.5px;
    }
    #MenuActivePage, nav .content #OpnClsMenu {
        display: inline-block;
        color: white;
    }
    #MenuActivePage {
        float: left;
        font-family: headers;
        padding: 11px 0 0 20px;
    }
    nav .content {
        display: block;
        overflow: hidden;
        transition: 0.5s;
    }
    nav .content>div:not(:first-of-type) {
        height: 55px;
    }
    nav .content>div:not(:first-child) {
        width: 100%;
        display: block;
        background: #1d1d1d;
        text-align: right;
    }
    nav .content #OpnClsMenu {
        float: right;
        height: 45px;
        width: 40px;
        cursor: pointer;
        margin: 5px 20px 0 0;
        color: white;
        position: relative;
    }
    /*Footer part*/
    .footerContentWrap {
        height: 768px;
    }
    footer .footerContent {
        flex-wrap: wrap;
    }
    .footerContent .footerText {
        border-top: 2px solid white;
    }
    .footerContent .adresa>p {
        text-align: center;
        padding-right: 0px;
    }
    .footerContent .adresa .footerText {
        padding-right: 0px;
    }
    /* Adresa */
    .footerContent .adresa {
        width: 100%;
        order: 3;
        padding-top: 12px;
    }
    .footerContent .adresa .footerText>* {
        float: none;
    }
    .footerContent .adresa .footerText>p {
        text-align: center;
        line-height: 35px;
        padding-top: 10px;
    }
    .footerContent .adresa .footerText>img {
        display: block;
        margin: auto;
    }
    .footerContent .adresa .footerText {
        width: 450px;
        margin: auto;
    }
    /* questions */
    .footerContent .questions .footerText {
        width: 450px;
        margin: auto;
        padding: 10px 51px;
    }
    .footerContent .questions {
        width: 100%;
        order: 2;
        margin-top: 18px;
    }
    .footerContent .questions .imgs {
        padding: 5px 0 15px 0;
    }
    .footerContent .questions .imgs img {
        margin: 0!important;
        display: inline-block!important;
    }
    .footerContent .questions .text {
        display: block;
    }
    .footerContent .questions .imgs {
        display: flex;
        justify-content: space-around;
    }
    .footerContent .questions .text>*:not(:first-child):not(:last-child) {
        margin: 12px 0;
    }
    .footerContent .questions .footerText a, .footerContent .questions .footerText p {
        font-size: 21px;
        text-align: center;
        display: block;
    }
    .footerContent .questions>p {
        padding-left: 0;
        text-align: center;
    }
    /*Open*/
    .footerContent .open {
        margin-top: 5px;
        order: 1;
        width: 100%;
        border: none;
    }
    .footerContent .open .footerText {
        width: 450px;
        margin: auto;
    }
    .footerContent .open table td:first-child {
        padding-right: 85px;
        text-align: right;
    }
    .footerContent .open table td:last-child {
        padding-left: 23px;
    }
}

@media only screen and (min-width: 320px) and (max-width: 500px) {
    .content {
        width: 100%;
    }
    .active {
        box-shadow: 0 0 transparent;
        background: #373737!important;
    }
    .active:hover {
        box-shadow: 0 0 transparent;
        transform: translate(0,0);
    }
    main .content {
        padding: 30px 0;
    }
    /*Menu*/
    nav .content>div:first-child {
        width: 100%;
        padding: 0;
        height: 55px;
        background: #1d1d1d;
        display: block;
    }
    nav .content>div:first-child:hover {
        background: #1d1d1d;
    }
    nav .content>div:not(:first-child) {
        padding: 0 31px;
        border-top: 1px solid #373737;
        border-bottom: 1px solid #373737;
    }
    nav .content>div>a {
        font-size: 23.5px;
    }
    #MenuActivePage, nav .content #OpnClsMenu {
        display: inline-block;
        color: white;
    }
    #MenuActivePage {
        float: left;
        font-family: headers;
        padding: 11px 0 0 20px;
    }
    nav .content {
        overflow: hidden;
        transition: 0.5s;
        display: block;
    }
    nav .content>div {
        height: 55px!important;
    }
    nav .content>div:not(:first-child) {
        width: 100%;
        display: block;
        background: #1d1d1d;
        text-align: right;
    }
    nav .content #OpnClsMenu {
        float: right;
        height: 45px;
        width: 40px;
        cursor: pointer;
        margin: 5px 20px 0 0;
        color: white;
        position: relative;
    }
    /*Footer part*/
    .footerContent>div {
        height: auto;
    }
    .footerContentWrap {
        height: 745px;
    }
    footer .footerContent {
        flex-wrap: wrap;
        height: auto;
    }
    .footerContent .footerText {
        border-top: 2px solid white;
    }
    .footerContent .adresa>p {
        text-align: center;
        padding-right: 0px;
    }
    .footerContent .adresa .footerText {
        padding-right: 0px;
    }
    /* Adresa */
    .footerContent .adresa {
        width: 100%;
        order: 3;
    }
    .footerContent .adresa .footerText>* {
        float: none;
    }
    .footerContent .adresa .footerText>p {
        text-align: center;
        line-height: 32px;
        padding-top: 10px;
        font-size: 20px;
    }
    .footerContent .adresa .footerText>img {
        display: block;
        margin: auto;
    }
    .footerContent .adresa .footerText {
        width: 70%;
        margin: auto;
    }
    /* questions */
    .footerContent .questions .footerText {
        width: 70%;
        margin: auto;
        padding: 10px 0px;
    }
    .footerContent .questions {
        width: 100%;
        order: 2;
        margin-top: 18px;
    }
    .footerContent .questions .imgs {
        padding: 5px 0 15px 0;
    }
    .footerContent .questions .imgs img {
        margin: 0!important;
        display: inline-block!important;
    }
    .footerContent .questions .text {
        display: block;
    }
    .footerContent .questions .imgs {
        display: flex;
        justify-content: space-around;
    }
    .footerContent .questions .text>*:not(:first-child):not(:last-child) {
        margin: 12px 0;
    }
    .footerContent .questions .footerText a, .footerContent .questions .footerText p {
        font-size: 21px;
        text-align: center;
        display: block;
    }
    .footerContent .questions>p {
        padding-left: 0;
        text-align: center;
    }
    /*Open*/
    .footerContent .open {
        margin-top: 5px;
        order: 1;
        width: 100%;
        border: none;
    }
    .footerContent .open .footerText {
        width: 70%;
        margin: auto;
    }
    .footerContent .open table td:first-child {
        padding-right: 33px;
        text-align: left;
    }
    .footerContent .open table tr:not(:last-child) td:last-child {
        padding-left: 27px;
        white-space: nowrap;
    }
    .footerContent .open table td {
        font-size: 17px;
    }
}
/*Details*/
@media only screen and (min-width: 320px) and (max-width: 500px) {
    .footerContent .open table td {
        width: auto;
    }
}
/*Open time on one line*/
@media only screen and (min-width: 438px) and (max-width: 475px) {
    .footerContent .open table tr:not(:last-child) td:last-child {
        padding-left: 0px;
    }
}
@media only screen and (min-width: 404px) and (max-width: 437px) {
    .footerContent .open table tr:not(:last-child) td:last-child {
        padding-left: 0px;
    }
    .footerContent .open table td:first-child {
        padding-left: 10px;
    }
}
@media only screen and (min-width: 387px) and (max-width: 403px) {
    .footerContent .open table tr:not(:last-child) td:last-child {
        padding-left: 0px;
    }
    .footerContent .open table td:first-child {
        padding-left: 0px;
    }
}
@media only screen and (min-width: 370px) and (max-width: 386px) {
    .footerContent .open table tr:not(:last-child) td:last-child {
        padding-left: 0px;
    }
    .footerContent .open table td:first-child {
        padding-left: 0px;
    }
    .footerContent .open table td:first-child {
        padding-right: 20px;
    }
}
@media only screen and (min-width: 346px) and (max-width: 369px) {
    .footerContent .open table tr:not(:last-child) td:last-child {
        padding-left: 0px;
    }
    .footerContent .open table td:first-child {
        padding-left: 0px;
    }
    .footerContent .open table td:first-child {
        padding-right: 17px;
    }
    .footerContent .open table td {
        font-size: 16px;
    }
}
@media only screen and (min-width: 320px) and (max-width: 345px) {
    .footerContent .footerText {
        width: 85%!important;
    }
    .footerContent .open table tr:not(:last-child) td:last-child {
        padding-left: 0px;
    }
    .footerContent .open table td:first-child {
        padding-left: 0px;
    }
    .footerContent .open table td:first-child {
        padding-right: 9px;
    }
    .footerContent .open table td {
        font-size: 16px;
    }
}
@media only screen and (min-width: 408px) and (max-width: 500px) {
    .footerContentWrap {
        height: 745px;
    }
}
@media only screen and (min-width: 320px) and (max-width: 400px) {
    #logo {
        right: 50%;
        transform: translateX(50%) translateY(-50%) scale(0.68);
    }
}
/* Questions centered */
@media only screen and (min-width: 330px) and (max-width: 370px) {
    .footerContent .questions .footerText a, .footerContent .questions .footerText p {
        font-size: 19px;
    }
}
@media only screen and (min-width: 320px) and (max-width: 329px) {
    .footerContent .questions .footerText a, .footerContent .questions .footerText p {
        font-size: 18px;
    }
}