﻿/*Tablet*/

@media (min-width: 600px) and (max-width: 1000px) {
    #menu ul li .a {
        padding: 4px 6px;
        font-size: 16px;
    }
    .maincontent {
        min-height: 400px;
        padding: 10px 30px;
    }
    #footer {
        display: block;
    }
    #footer hr {
        display: none;
    }
    #footer .info {
        width: 50%;
        padding: 20px 20px 20px 30px;
    }
    #footer .links {
        width: 50%;
        padding: 20px 30px 20px 20px;
    }
    #footer .association {
        width: 40%;
        height: 353px;
        padding: 10px 5px 10px 30px;
        overflow: hidden;
    }
    #footer .association .row {
        display: block;
        margin-bottom: 15px;
    }
    #footer .association .row .banner {
        margin: 20px auto;
    }
    #footer .social {
        width: 100%;
        height: auto;
        margin: 0;
        padding: 10px 30px;
        overflow: hidden;
    }
    #footer .security {
        width: 60%;
        margin: 0;
        padding: 10px 30px 0 5px;
        overflow: hidden;
    }
    #footer .payment {
        width: 60%;
        margin: 0;
        padding: 0 30px 5px 5px;
        overflow: hidden;
    }
    #footer .security .row,
    #footer .payment .row {
        display: block;
    }
    #footer .security .logos,
    #footer .payment .logos {
        margin-bottom: 16px;
    }
    #footer .security .logos .logo,
    #footer .payment .logos .logo {
        margin: 0 auto;
    }
    #footer .links p,
    #footer .association p,
    #footer .social p,
    #footer .security p,
    #footer .payment p {
        font-size: 18px;
        margin-bottom: 15px;
        border-bottom: 1px solid #777;
        text-align: center;
    }
    #footer .copyright {
        padding: 5px 30px;
        line-height: 1.5;
    }
}


/*Mobile*/

@media (max-width: 600px) {
    #logo {
        padding: 5px 0;
        font-size: 35px;
        font-weight: 700;
        letter-spacing: 4px;
    }
    #header {
        width: 100%;
        min-height: 60px;
        position: relative;
        position: -webkit-sticky;
        position: sticky;
        top: 0;
    }
    #menu ul li:nth-child(2),
    #menu ul li:nth-child(3) {
        display: none;
    }
    #menu ul li {
        margin: 0;
    }
    #menu ul li:nth-child(4) {
        margin: 0 20px;
    }
    #menu ul li .a {
        padding: 4px 6px;
        font-size: 16px;
    }
    .maincontent {
        min-height: 400px;
        padding: 10px 20px;
    }
    #footer {
        display: block;
    }
    #footer hr {
        display: none;
    }
    #footer .info {
        width: 100%;
        height: 220px;
        padding: 5px 15px;
    }
    #footer .info .contact {
        bottom: 10px;
    }
    #footer .links {
        width: 100%;
        height: auto;
        padding: 5px 15px;
    }
    #footer .links p,
    #footer .association p,
    #footer .social p,
    #footer .security p,
    #footer .payment p {
        font-size: 16px;
        text-align: left;
        margin-bottom: 10px;
        border-bottom: 1px solid #777;
    }
    #footer .links .a {
        margin: 0;
    }
    #footer .links a {
        font-size: 14px;
    }
    #footer .association {
        width: 100%;
        height: auto;
        padding: 5px 15px;
    }
    #footer .association .row {
        display: flex;
        margin-bottom: 12px;
    }
    #footer .association .row .banner {
        margin: 0 auto;
    }
    #footer .security,
    #footer .payment {
        width: 100%;
        height: auto;
        margin: 0;
        padding: 5px 15px;
    }
    #footer .security .row,
    #footer .payment .row {
        display: block;
    }
    #footer .security .logos,
    #footer .payment .logos {
        margin-bottom: 12px;
    }
    #footer .security .logos .logo,
    #footer .payment .logos .logo {
        margin: 0 auto;
    }
    #footer .social {
        width: 100%;
        height: auto;
        padding: 5px 15px;
    }
    #footer .social .container .icon .btn {
        width: 60px;
        height: 60px;
    }
    #footer .social .container .icon .text {
        font-family: Georgia;
        font-size: 14px;
    }
    #footer .copyright {
        line-height: 1.5;
        padding: 5px 15px;
    }
}

@media (max-width: 359px) {
    body {
        width: 360px;
    }
}