@import url('https://fonts.googleapis.com/css?family=Allura|Arsenal|Krona+One|Marcellus|Palanquin+Dark|Dosis');
html {
    height: 100%;
}

.row::before,
.row::after {
    content: " ";
    /* 1 */
    display: table;
    clear: both;
    /* 2 */
}

.row:after {
    clear: both;
}

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

body {
    background: #FFF;
    margin: 0;
    display: -webkit-flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    font-family: 'Dosis', sans-serif;
}

[class*="col-"] {
    display: block;
}

.container-map {
    width: 100%;
    height: 500px;
}


/* ++++++++++++++++ navigation ++++++++++++++++ */

.button_container {
    position: fixed;
    top: 5%;
    right: 5%;
    height: 27px;
    width: 35px;
    cursor: pointer;
    z-index: 100;
    transition: opacity .25s ease;
}

.button_container:hover {
    opacity: .7;
}

.button_container.active .top {
    transform: translateY(10px) translateX(0) rotate(45deg);
    background: #FFF;
}

.button_container.active .middle {
    opacity: 0;
    background: #FFF;
}

.button_container.active .bottom {
    transform: translateY(-10px) translateX(0) rotate(-45deg);
    background: #FFF;
}

.button_container span {
    background: rgba(255, 0, 0, 0.715);
    border: none;
    height: 5px;
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0;
    transition: all .35s ease;
    cursor: pointer;
}

.button_container span:nth-of-type(2) {
    top: 10px;
}

.button_container span:nth-of-type(3) {
    top: 20px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    visibility: hidden;
    transition: opacity .35s, visibility .35s, width .35s;
    z-index: 50;
    font-family: 'Dosis', sans-serif;
    background-color: white;
}

.overlay:before {
    content: '';
    background: #FF5252;
    left: -55%;
    top: 0;
    width: 50%;
    height: 100%;
    position: absolute;
    transition: left .35s ease;
}

.overlay:after {
    content: '';
    background: #FF5252;
    right: -55%;
    top: 0;
    width: 50%;
    height: 100%;
    position: absolute;
    transition: all .35s ease;
}

.overlay.open {
    opacity: .9;
    visibility: visible;
    height: 100%;
}

.overlay.open:before {
    left: 0;
}

.overlay.open:after {
    right: 0;
}

.overlay.open li {
    animation: fadeInRight .5s ease forwards;
    animation-delay: .20s;
}

.overlay.open li:nth-of-type(2) {
    animation-delay: .25s;
}

.overlay.open li:nth-of-type(3) {
    animation-delay: .30s;
}

.overlay.open li:nth-of-type(4) {
    animation-delay: .35s;
}

.overlay.open li:nth-of-type(5) {
    animation-delay: .40s;
}

.overlay.open li:nth-of-type(6) {
    animation-delay: .45s;
}

.overlay.open li:nth-of-type(7) {
    animation-delay: .50s;
}

.overlay nav {
    position: relative;
    height: 70%;
    top: 40%;
    transform: translateY(-50%);
    font-size: 20px;
    text-align: center;
    z-index: 100;
}

.overlay ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
    position: relative;
    height: 100%;
}

.overlay ul li {
    display: block;
    height: 25%;
    height: calc(100% / 7);
    min-height: 45px;
    position: relative;
    opacity: 0;
}

.overlay ul li a {
    display: block;
    position: relative;
    color: #FFF;
    text-decoration: none;
    overflow: hidden;
}

.overlay ul li a:hover:after,
.overlay ul li a:focus:after,
.overlay ul li a:active:after {
    width: 100%;
}

.overlay ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    transform: translateX(-50%);
    height: 2px;
    background: #FFF;
    transition: .35s;
}


/* ++++++++++++++++ header ++++++++++++++++ */

.contact-us-photo {
    background-image: url("../images/contact-us.jpg");
    background-size: cover;
    background-position: center;
}

.lawyer {
    background-image: url("../images/lawyer.jpg");
    background-size: cover;
    background-position: center;
}

.auctions-photo {
    background-image: url("../images/auctions.jpg");
}

.applications {
    background-image: url("../images/application.jpg");
}

.debtor-photo {
    background-image: url("../images/debtor.jpg");
}

.creditor-photo {
    background-image: url("../images/bailif.jpg");
}

.territory-photo {
    background-image: url("../images/temida.jpg");
}

.container-fluid {
    width: 100%;
    height: 70vh;
    max-height: 800px;
    text-align: center;
    background-size: cover;
    background-position: center;
    font-family: 'Dosis', sans-serif;
}

.text {
    color: white;
    height: 100%;
    animation: animationFrames ease 5s;
    animation-iteration-count: 1;
    transform-origin: 40% 30%;
    animation-fill-mode: forwards;
    font-family: 'Dosis', sans-serif;
    font-size: 45px;
    padding-top: 20vh;
    text-shadow: -1px 0 black, 0 1px black, 2px 0 black, 0 -1px black;
}

#author {
    font-size: 20px;
    letter-spacing: 2px;
}

.translation {
    font-size: 25px;
    font-style: italic;
    color: white;
    animation: animationFrames ease 5s;
    animation-iteration-count: 1;
    transform-origin: 50% 50%;
    animation-fill-mode: forwards;
}


/* ++++++++++++++++ about-us 
region +++++++++++++++++ */

.flex-container,
.intro {
    -ms-flex-pack: center;
    justify-content: center;
    font-family: 'Dosis', sans-serif;
    font-size: 20px;
    padding: 50px 0;
    margin-bottom: 70px;
    background-color: white;
}

.about-us {
    padding: 50px 0;
    text-align: justify;
}

.intro,
.region {
    padding: 20px;
}

.region {
    padding: 100px 0;
    margin: 20px;
}

.paragraph {
    font-size: 20vh;
    color: black;
    font-family: 'Dosis', sans-serif;
    text-align: center;
}


/* ++++++++++++++++ modal buttons ++++++++++++++++ */

.modal-content {
    font-family: 'Dosis', sans-serif;
    text-align: justify;
    font-size: 18px;
}

.button-open,
.button-close {
    background-color: white;
    color: black;
    border: 2px solid black;
    height: 50px;
    width: 200px;
    float: right;
}

.button-open:hover,
.button-close:hover {
    background-color: black;
    color: white;
}


/*  +++++++++++ grid flexbox +++++++++++++++++++++++++ */

.flex-container {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    background: transparent;
    height: 100%;
}

.flex-center {
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
}

.flex-container>.flex-item {
    height: 50vh;
    -ms-flex: 0 1 100%;
    flex: 0 1 100%;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
}

.flex-item .flex-container .flex-item {
    height: initial;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    width: 50%;
}

.flex-item .flex-container .flex-center .flex-item {
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
}

.red {
    background-color: tomato;
}


/* ++++++++++++++++++++ contact details grid +++++++++++++++++++++++*/

.fa-2x {
    padding-bottom: 40px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 10px;
    margin-top: 30px;
    margin-bottom: 30px;
}
.contact-info3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.telephone,
.location-tag,
.email {
    margin-top: 50px;
}

.description {
    padding: 0 20px;
    font-weight: bold;
    font-size: 24px;
}

.box_a1,
.box_b2 {
    background-color: red;
}

@media screen and (min-width: 992px) {
    .flex-container {
        min-height: 20vh;
        -ms-flex-direction: row;
        flex-direction: row;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .flex-center {
        -ms-flex-pack: center;
        justify-content: center;
        -ms-flex-align: center;
        align-items: center;
    }
    .flex-container>.flex-item {
        height: 15vh;
        -ms-flex: 0 1 50%;
        flex: 0 1 50%;
    }
    .flex-item .flex-container .flex-item {
        height: initial;
        -ms-flex: 0 1 50%;
        flex: 0 1 50%;
        width: initial;
    }
    .application {
        font-size: 15px;
        color: black;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .debt-application {
        color: black;
        padding-top: 10px;
        text-decoration: none;
    }
}


/* ++++++++++++++++ creditor section ++++++++++++++++ */

.creditor-info,
.debtor-info,
.region,
.auctions-info,
.contact-info {
    padding: 5%;
    color: black;
    font-family: 'Dosis', sans-serif;
    text-align: justify;
    font-size: 18px;
}

.row_contact {
    margin-top: 35px;
    margin-bottom: 50px;
}

.contact-details-mail {
    color: black;
}

.about-us {
    padding: 20px 0;
    text-align: justify;
}

.link-to-territory {
    text-decoration: none;
}

.application {
    font-size: 18px;
    color: black;
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 10px;
}

.debt-application {
    color: black;
    padding-top: 15px;
    text-decoration: none;
}


/* ++++++++++++ applications ++++++++++++++++++ */

.application {
    text-align: center;
    padding-top: 30px;
    font-family: 'Dosis', sans-serif;
    font-size: 15px;
}


/* +++++++++++++++++ Animation ++++++++++++++++ */

@keyframes modalbox {
    0% {
        top: -250px;
        opacity: 0;
    }
    100% {
        top: 0;
        opacity: 1;
    }
}


/* ++++++++++++++++ footer ++++++++++++++++ */

.mail {
    color: white;
}

.fa-phone,
.fa-envelope,
.fa-map-marker {
    padding-right: 5px;
}

.contact {
    line-height: 2;
}

.coding,
.coding a {
    color: white;
    text-align: center;
}

.coding a:hover {
    color: rgba(252, 244, 244, 0.564);
    text-decoration: none;
}

.footerHeader {
    width: 100%;
    padding: 1em;
    background-color: black;
    text-align: center;
    color: white;
    font-family: 'Dosis', sans-serif;
}

footer ul {
    padding-left: 5px;
    list-style: none;
}

footer p {
    text-align: left;
    font-size: 14px;
}

footer iframe {
    width: 100%;
    position: relative;
    height: 500px;
}

.sm {
    list-style: none;
    overflow: auto;
}

.sm li {
    display: inline;
    padding: 5px;
    ;
}

.sm li a img {
    width: 32px;
}

footer {
    background-color: rgb(0, 0, 0);
    width: 100%;
    color: white;
    letter-spacing: 2px;
    font-family: 'Dosis', sans-serif;
}

.footer {
    letter-spacing: 1px;
}

.info {
    text-align: left;
}

.break {
    letter-spacing: -4px;
    color: red;
}

#mainFooter {
    margin-top: 100px;
}

.bank-account {
    padding-top: 50px;
    margin-bottom: 30px;
}


/* ++++++++++++++++ contact form ++++++++++++++++ */

.second-portion {
    margin-top: 50px;
}

@import "//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css";
@import "http://fonts.googleapis.com/css?family=Roboto:400,500";
.box>.icon {
    text-align: center;
    position: relative;
}

.box>.icon>.image {
    position: relative;
    z-index: 2;
    margin: auto;
    width: 88px;
    height: 88px;
    border: 8px solid white;
    line-height: 88px;
    border-radius: 50%;
    background: #00bfff;
    vertical-align: middle;
}

.box>.icon:hover>.image {
    background: #333;
}

.box>.icon>.image>i {
    font-size: 36px !important;
    color: #fff !important;
}

.box>.icon:hover>.image>i {
    color: white !important;
}

.box>.icon>.info {
    margin-top: -24px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid #e0e0e0;
    padding: 15px 0 10px 0;
    min-height: 163px;
}

.box>.icon:hover>.info {
    background: rgba(0, 0, 0, 0.04);
    border-color: #e0e0e0;
    color: white;
}

.box>.icon>.info>h3.title {
    font-family: "Robot", sans-serif !important;
    font-size: 16px;
    color: #222;
    font-weight: 700;
}

.box>.icon>.info>p {
    font-family: "Robot", sans-serif !important;
    font-size: 13px;
    color: #666;
    line-height: 1.5em;
    margin: 20px;
}

.box>.icon:hover>.info>h3.title,
.box>.icon:hover>.info>p,
.box>.icon:hover>.info>.more>a {
    color: #222;
}

.box>.icon>.info>.more a {
    font-family: "Robot", sans-serif !important;
    font-size: 12px;
    color: #222;
    line-height: 12px;
    text-transform: uppercase;
    text-decoration: none;
}

.box>.icon:hover>.info>.more>a {
    color: #fff;
    padding: 6px 8px;
    background-color: #63B76C;
}

.box .space {
    height: 30px;
}

@media only screen and (max-width: 768px) {
    .contact-form {
        margin-top: 25px;
    }
    .btn-send {
        width: 100%;
        padding: 10px;
    }
    .second-portion {
        margin-top: 25px;
    }
}


/* ++++++++++++++++ on hover placeholder ++++++++++++++++ */

input:hover::-webkit-input-placeholder,
textarea:hover::-webkit-input-placeholder {
    color: #e2dedb;
    font-size: 0.875em;
}

input:hover:focus::-webkit-input-placeholder,
textarea:hover:focus::-webkit-input-placeholder {
    color: #cbc6c1;
}

input:hover::-webkit-input-placeholder,
textarea:hover::-webkit-input-placeholder {
    color: #e2dedb;
    font-size: 0.875em;
}

input:hover:-ms-input-placeholder,
textarea:hover:-ms-input-placeholder {
    color: #e2dedb;
    font-size: 0.875em;
}

input:hover::placeholder,
textarea:hover::placeholder {
    color: #e2dedb;
    font-size: 0.875em;
}

input:hover:focus::-webkit-input-placeholder,
textarea:hover:focus::-webkit-input-placeholder {
    color: #cbc6c1;
}

input:hover:focus:-ms-input-placeholder,
textarea:hover:focus:-ms-input-placeholder {
    color: #cbc6c1;
}

input:hover:focus::placeholder,
textarea:hover:focus::placeholder {
    color: #cbc6c1;
}

input:hover::-webkit-input-placeholder,
textarea:hover::-webkit-input-placeholder {
    color: #e2dedb;
    font-size: 0.875em;
}

input:hover:-ms-input-placeholder,
textarea:hover:-ms-input-placeholder {
    color: #e2dedb;
    font-size: 0.875em;
}

input:hover::placeholder,
textarea:hover::placeholder {
    color: #e2dedb;
    font-size: 0.875em;
}

input:hover:focus::-ms-placeholder,
textarea:hover::focus:-ms-placeholder {
    color: #cbc6c1;
}

header {
    position: relative;
    margin: 100px 0 25px 0;
    font-size: 2.3em;
    text-align: center;
    letter-spacing: 7px;
}

#form {
    position: relative;
    width: 100%;
    margin: 50px auto 100px auto;
}

input {
    font-family: 'Dosis', sans-serif;
    font-size: 0.875em;
    width: 100%;
    height: 60px;
    padding: 0px 15px 0px 15px;
    background: transparent;
    outline: none;
    color: #726659;
    border: solid 1px #b3aca7;
    border-bottom: none;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
}

input:hover {
    background: #b3aca7;
    color: #e2dedb;
}

textarea {
    width: 100%;
    height: 150px;
    max-height: 150px;
    padding: 15px;
    background: transparent;
    outline: none;
    color: #726659;
    font-family: 'Dosis', sans-serif;
    font-size: 0.875em;
    border: solid 1px #b3aca7;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
}

textarea:hover {
    background: #b3aca7;
    color: #e2dedb;
}

#submit {
    padding: 0;
    margin: -5px 0px 0px 0px;
    font-family: 'Dosis', sans-serif;
    font-size: 0.875em;
    color: #b3aca7;
    outline: none;
    cursor: pointer;
    border: solid 1px #b3aca7;
    border-top: none;
}

#submit:hover {
    color: #e2dedb;
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        left: 20%;
    }
    100% {
        opacity: 1;
        left: 0;
    }
}

@keyframes animationFrames {
    0% {
        opacity: 0;
        transform: translate(0px, -100px);
    }
    100% {
        opacity: 1;
        transform: translate(0px, 0px);
    }
}

.documents {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
    grid-template-rows: 1fr;
    grid-gap: 10px;
    padding: 80px 0px;
}

.title {
    font-size: 18px;
}
.card {
    border-radius: 10px;
    padding: 15px;
    margin: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    -webkit-box-shadow: 0px 0px 24px 1px rgba(0,0,0,0.09);
    -moz-box-shadow: 0px 0px 24px 1px rgba(0,0,0,0.09);
    box-shadow: 0px 0px 24px 1px rgba(0,0,0,0.09);
}

.card .fas,
.card .far {
    font-size: 24px;
    padding: 20px 0;
}

.documents-item h2 {
    font-size: 18px;
}

.documents h4 {
    font-size: 12px;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.align-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
    height: 100%;
}

.header {
    margin: 0 auto;
    font-size: 32px;
    padding: 40px 0;
    font-weight: bold;
}