html {
    position:relative;
    min-height:100%;
}

body {
    font: normal normal 75%/1.5 'Raleway', sans-serif;
    color: #878787;
    margin-bottom:112px;
}

h1, h1 a {
    text-align: center;
    margin:116px 0;
    font-size:  60px;
    color:#bfaf7e;
    font:normal 600 'Raleway', sans-serif;
    text-decoration: none;
}

h2 {
    font:normal 600 3em/1.4 'Raleway', sans-serif;
    color:#bfaf7e;
    text-align:center;
    margin:0 0 1em 0;
}

h3 {
    font:normal 500 2em/1.4 'Raleway', sans-serif;
    text-align:center;
    margin:0 0 1em 0;
}

p + p { margin:0.5em 0 0 0; }

p { font:normal 300 1.25em/1.4 'Raleway', sans-serif; }

p.big { font-size:1.5em; }

section article {
    width:640px;
    margin:auto;
    text-align:center;
    /*
    text-align: justify;
    text-align-last: center;
    */
}

section article strong {
    font-weight:bold;
}

section.documents {
    background:#bfaf7e;
    color:#fff;
    margin:136px 0;
    padding:72px 0;
}

section.documents ul {
    width:640px;
    margin:auto;
}

section.documents ul li + li {
    margin-top:72px;
}

section.documents ul ul li {
    display:flex;
}

section.documents ul ul li + li {
    border-top:5px dotted rgba(255, 255, 255, 0.25);
    margin-top:24px;
    padding-top:24px;
}

section.documents h2 {
    color:#fff;
}

section.documents h4 {
    font:normal 500 1.83em/1.4 'Raleway', sans-serif;
    margin:0 0 0 0;
}

section.documents small {
    font:italic 100 0.72em/1.4 'Raleway', sans-serif;
    margin:0 0 0 0;
}

section.documents div {
    flex:5;
    margin-right:36px;
}

section.documents div + div {
    flex:1;
    text-align:center;
}

section.documents div + div a {
    text-decoration: none;
    color:#fff;
}

section.documents div + div a img {
    display:block;
    margin:0 auto 12px auto;
}

form {
    width:420px;
    margin:42px auto;
    text-align:center;
}

form li {
    margin-top:8px;
}

form textarea,
form input {
    background:#ededed;
    color:#706f6f;
    border:0;
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
    padding:8px 16px;
    font:normal 300 1.5em/1.4 'Raleway', sans-serif;
    width:100%;
    box-sizing: border-box;
    border-radius:4px;
}

form button {
    background:#bfaf7e;
    color:#fff;
    border:0;
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
    padding:8px 24px;
    font:normal 400 1.5em/1.4 'Raleway', sans-serif;
    width:auto;
    box-sizing: border-box;
    border-radius:4px;
    display:inline-block;
    text-align:center;
    text-transform: uppercase;
}

footer {
    text-align:center;
    margin:0 0 18px 0;
    text-transform: uppercase;
    font-size:0.86em;
    position:absolute;
    width:100%;
    bottom:0;
}

footer ul {
    display:inline;
}

footer ul li {
    display:inline;
    padding:0;
}

footer ul li a {
    color:#666;
    text-decoration:none;
}

footer ul li:before {
    content:"-";
    padding:0 4px;
}

/* .popups{
    background: #fff;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    padding: 50px;
    display: none;
}
.popups.active{
    display: flex;
    align-items: center;
}
.popups .popup-steep{
    display: none;
    width: 600px;
    max-width: 90%;
    margin: 0 auto;
    text-align: left;
    height:  100%;
}
.popups .popup-steep.active{
    display: inline-block;
}


.popups .popup-content{
    display: inline-block;
    width: 100%;
    margin: 0;
    height: 50vh;
    overflow-y: scroll;
    padding-right: 10px;
}
.popups .popup-accept{
    display: inline-block;
    width: 100%;
    margin: 20px 0 0;
}
.popups p {
    font-size: 15px;
    color: #000;
    font-family: Raleway;
    text-decoration: none;
    margin: 0 0 5px;
}
.popups p b {
    font-weight: bold;
}
.popups .popup-accept .buttons{
    display: inline-block;
    width: 100%;
    margin: 10px 0 0;
}
.popups .popup-accept .buttons button {
    display: inline-block;
    margin-right: 10px;
    padding: 10px;
    min-width: 60px;
    background-color: #000;
    border: 0;
    color: #fff;
    font-family: Raleway;
    font-weight: bold;
    cursor: pointer;
}
.popups .popup-accept .buttons button.accept{
    background-color: #bfaf7e;
    border: 0;
    color: #fff;
}
.popups .popup-accept .buttons button.accept:hover {
    background-color: #9a8c62;
}
.popups .popup-accept .buttons button.refuse,
.popups .popup-accept .buttons button.close,
.popups .popup-accept .buttons button.back{
    background-color: #000;
    border: 0;
    color: #fff;
}
.popups .popup-accept .buttons button.refuse:hover,
.popups .popup-accept .buttons button.close:hover,
.popups .popup-accept .buttons button.back:hover {
    background-color: #292929;
} */
/* width */
::-webkit-scrollbar {
    width: 3px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #ddd;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #9a8c62;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #9a8c62;
}

/* @media (max-device-width : 736px) {    
    .popups.active {
        overflow-y: scroll;
    }
    .popups .popup-steep-2 {
        height: 100vh;
        padding: 0;
        max-width: 100%;
        width: 100%;
    }
    .popups .popup-accept {
        margin: 35px 0;
    }
} */

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 736px) {
    
    body { overflow-x:hidden; }
    section { padding:0 20px; }
    section.documents { padding-left:20px; padding-right:20px; }
    section article,
    section.documents ul,
    form {
        width:auto;
    }
    
    section.documents div + div {
        flex: 2;
    }
    
    footer ul {
        display:block;
    }

}

@media only screen 
and (max-width : 1280px) 
and (min-width : 736px) {
    
        
    
}

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 736px) 
and (orientation : landscape) {
    
    
    
}

/* @media only screen and (max-width: 769px){
    .popup-accept, .popup-accept{
        padding-bottom:  30px;
    }
    .popups{
        padding:  30px;
    }
} */