body {
    background-color: #f3f3f3;
    font-family: 'Exo', 'sans-serif';
    font-weight: 400;
    color: #4c4c4c;
}

html, body {
    height: 100%;
}

.container.site {
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    min-height: 100%;
}

.cookiepolicy {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #2e5d5a;
    padding: 40px 15%;
    text-align: center;
    z-index: 9999;
    color: #fff;
    font-size: 12px;
    border-radius: 10px 10px 0 0;
}

.cookiepolicy .button {
    background: #fff;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    color: #000;
    cursor: pointer;
    margin-left: 5px;
    padding: 5px 10px;
}

nav {
    background-color: #fff;
    padding: 0 5%;
    height: 60px;
    box-shadow: 0 5px 15px #cfcfcf;
}

.smaller-menu {
    height: 10px !important;
    min-height: 30px;
    box-shadow: 0 1px 5px #cfcfcf !important;
    transition: ease 0.5s;
}

.smaller-menu a {
    padding-top: 4px !important;
    transition: ease 0.5s;
}

.smaller-menu img {
    height: 30px;
    transition: ease 0.5s;
}

.bigger-menu img {
    height: 49px;
    transition: ease 0.5s;
}

.bigger-menu, .bigger-menu a {
    transition: ease 0.5s;
}

.bigger-menu a:hover, .smaller-menu a:hover {
    transition: none;
}

#navbar ul a {
    color: #4c4c4c;
    font-size: 13px;
    padding-top: 20px;
}

#navbar ul > li a:hover {
    font-weight: 700;
    background: none;
}

#navbar ul li {
    width: 110px;
    text-align: center;
}

#navbar ul li:first-of-type {
    width: 150px;
}

#navbar ul > li a:hover > span {
    border-bottom: 1px solid #4c4c4c;
}

.navbar-brand {
    padding: 9px 0;
}

#navbar ul > li.active span {
    font-weight: 700;
    border-bottom: 1px solid #4c4c4c;
}

.icon-bar {
    background-color: #4c4c4c;
}

.site {
    padding-top: 90px;
    padding-bottom: 70px;
}

.index-banner ~ .site {
    padding-top: 0;
}

.index-banner {
    margin-top: 60px;
    position: relative;
    background: #fff;
    box-shadow: 0 10px 32px grey;
    overflow: hidden;
    min-height: 300px;
    max-height: 400px;
    background: url("../img/mk_fotografia_top.jpg") 80% 70%;
    background-size: cover;
}

.grid {
    position: relative;
    padding: 1em 0 4em;
    max-width: 1700px;
    list-style: none;
    text-align: center;
}

/* Common style */
.grid figure {
    position: relative;
    overflow: hidden;
    margin: 15px 1%;
    min-width: 320px;
    max-width: 380px;
    background: #3085a3;
    text-align: center;
    cursor: pointer;
    box-shadow: 2px 8px 4px -6px rgba(0, 0, 0, 0.4);
    transition: ease-in 0.15s;
    min-height: 320px;
    max-height: 320px;
}

.loader {
    background: url("../img/Preloader_4.gif") no-repeat center !important;
    transition: ease-out 0.15s;
}

img {
    color: #fff;
}

.grid figure img {
    position: relative;
    display: block;
    min-height: 100%;
    max-width: 100%;
    opacity: 0.8;
    color: #fff;
}

.grid figure:hover {
    box-shadow: 15px 28px 25px -18px rgba(0, 0, 0, 0.2);
    transition: ease-in 0.15s;
}

.grid figure figcaption {
    padding: 2em;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.25em;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.grid figure figcaption::before, .grid figure figcaption::after {
    pointer-events: none;
}

.grid figure figcaption, .grid figure figcaption > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
    z-index: 1000;
    text-indent: 200%;
    white-space: nowrap;
    font-size: 0;
    opacity: 0;
}

.grid figure h2 {
    word-spacing: -0.15em;
    font-weight: 300;
}

.grid figure h2 span {
    font-weight: 800;
}

.grid figure h2, .grid figure p {
    margin: 0;
}

.grid figure p {
    letter-spacing: 1px;
    font-size: 68.5%;
}

/*---------------*/
/***** Milo *****/
/*---------------*/

figure.effect-milo {
    background: #2e5d5a;
}

figure.effect-milo img {
    max-width: none;
    width: -webkit-calc(100% + 60px);
    width: calc(100% + 60px);
    opacity: 1;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(-30px, 0, 0) scale(1.12);
    transform: translate3d(-30px, 0, 0) scale(1.12);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

figure.effect-milo:hover img {
    opacity: 0.5;
    -webkit-transform: translate3d(0, 0, 0) scale(1);
    transform: translate3d(0, 0, 0) scale(1);
}

figure.effect-milo h2 {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 1em 1.2em;
}

figure.effect-milo p {
    padding: 0 10px 0 0;
    width: 50%;
    border-right: 1px solid #fff;
    text-align: right;
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(-40px, 0, 0);
    transform: translate3d(-40px, 0, 0);
}

figure.effect-milo:hover p {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

/* --------- Masonry gallery --------- */
.grid-item {
    width: 32%;
    margin: 0.66%;
    overflow: hidden;
    box-shadow: 0 5px 15px #cfcfcf;
    background: #2e5d5a;
}

.grid-item div {
    position: relative;
    background-color: #fff;
}

.grid-item img {
    width: 100%;
    position: relative;
    transition: ease-in 0.15s;
}

.grid-item img:hover {
    transform: translate3d(0, 0, 0) scale(1.12);
    backface-visibility: hidden;
    opacity: 0.7;
    transition: ease-in 0.15s;
}

@media screen and (max-width: 1000px) {
    .grid-item {
        width: 48%;
        margin: 1%;
    }
}
/*---------------------------*/

.decorated-header {
    font-family: 'Great Vibes', cursive;
    font-size: 50px;
    /*color: #b4a802;*/
    text-shadow: 1px 1px 3px rgba(255, 166, 67, 0.75);
}

#offer {
    margin: 0 auto;
    max-width: 900px;
}

#offer h2, #about-me h2 {
    font-weight: 400;
    font-size: 25px;
}

#offer h3 {
    font-weight: 400;
    font-size: 18px;
}

#offer ul {
    font-weight: 400;
    font-size: 1.3rem;
    color: #4c4c4c;
}

#offer li {
    margin-top: 20px;
}

#about-me-photo {
    background: url("../img/mk.jpg") center 24px no-repeat;
    height: 340px;
}

#about-me h2 {
    font-weight: 400;
    font-size: 35px;
}

#description {
    font-weight: 400;
    font-size: 13px;
    color: #4c4c4c;
}

h2.contact-h2 {
    font-weight: 400;
    font-size: 35px;
}

.contact-head {
    padding-left: 0;
}

.grecaptcha-badge {
    bottom: 50px !important;
}

#mk-form {
    font-weight: 400;
    font-size: 13px;
    color: #4c4c4c;
}

#mk-form input, #mk-form textarea, #mk-form .btn-default {
    border-radius: 10px;
}

#mk-form .btn-default {
    padding: 9px 16px;
}

#mk-form input:focus, #mk-form textarea:focus {
    border-color: orange;
    -webkit-box-shadow: 0 0 5px rgba(255, 166, 67, 0.75);
    -moz-box-shadow: 0 0 5px rgba(255, 166, 67, 0.75);
    box-shadow: 0 0 5px rgba(255, 166, 67, 0.75);
}

#mk-form .btn-default:active, #mk-form .btn-default:focus {
    border-color: #fff;
    border-radius: 10px;
    -webkit-box-shadow: 0 0 5px rgba(255, 166, 67, 0.75);
    -moz-box-shadow: 0 0 5px rgba(255, 166, 67, 0.75);
    box-shadow: 0 0 5px rgba(255, 166, 67, 0.75);
}

#mk-form input[type="text"], #mk-form input[type="email"], #mk-form input[type="password"], #mk-form input[type="file"] {
    height: 40px;
}

.panel, .panel-heading {
    border-radius: 10px;
}

.copyright {
    font-size: 11px;
    margin-top: 3px;
}

footer span:first-of-type {
    margin-right: 15px;
    cursor: pointer;
}

footer span.contact:hover, footer span.contact a:hover, a.btn.btn-link:hover {
    color: #ff7f05;
    transition: ease 0.5s;
    text-decoration: none;
    text-shadow: 0 0 1px rgba(255, 166, 67, 0.4);
}

footer span.contact a, a.btn.btn-link {
    color: inherit;
}

footer i {
    margin-right: 2px;
}

.dropzone-form {
    border: 1px solid #cbcbcb;
    border-radius: 10px;
    min-height: 300px !important;
}

@media screen and (max-width: 1100px) {
    #navbar ul a, #navbar ul li {
        padding-left: 0;
        padding-right: 0;
        width: 105px;
    }

    #navbar ul li:first-of-type, #navbar ul a:first-of-type {
        width: 120px;
    }

    .index-banner {
        background-position: center top;
    }
}

@media screen and (max-width: 980px) {
    .index-banner {
        background-position: 60% top;
    }

    .grid figure {
        margin-left: auto;
        margin-right: auto;
    }

    .data-administrator {
        margin-right: 70px;
    }
}

@media screen and (max-width: 700px) {
    nav, #navbar {
        height: unset;
    }

    #navbar ul {
        background-color: #fff;
    }

    #navbar, #navbar ul li, #navbar ul li a{
        width: 100% !important;
    }

    .grecaptcha-badge {
        bottom: 65px !important;
    }
}

@media only screen and (min-width: 320px) and (max-width: 480px) {
    .grid {
        padding: 1em 0 1em;
    }

    .index-banner {
        background-position: 70% top;
        margin-top: 50px;
    }

    .grid figure {
        margin: 15px 0;
        min-width: 300px;
        max-width: 360px;
        min-height: 300px;
        max-height: 300px;
    }

    span.contact {
        font-size: 12px;
    }

    span.copyright {
        display: block;
        float: none !important;
        text-align: center;
    }
}