/*
Theme Name: Einnie Minnie
Theme URI: http://www.example.com
Author: Hoiyen
Author URI: http://www.hoiyen.com
Description: 
Version: 1.0
License: Private
License URI: Private
Tags: blog
Text Domain: minni
*/

@font-face {
    font-family: 'Caviar Dreams';
    src: url('assets/fonts/CaviarDreams-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html,
body {
    color: #848484;
    font-family: "Caviar Dreams", sans-serif;
    font-size: 15px;
}

/**
 * 1. HEADER
 */
.logo a {
    display: block;
}

#menu-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/**
 * 1.1 MAIN MENU
 */
#header-menu {
    margin: 0;
    padding: 0;
    list-style: none;

    display: flex;
    font-family: "Caviar Dreams", sans-serif;
    text-transform: uppercase;
}

#header-menu a {
    color: #848484;
    font-size: 14px;
    line-height: 24px;
    display: block;
    text-decoration: none;
}

#header-menu > li {
    margin-left: 30px;
}

#header-menu > li > a {
}

#header-menu > li.current-menu-item > a,
#header-menu a:hover,
#header-menu > li:hover > a {
    color: #8aacba;
}

#header-menu .menu-item-has-children {
    position: relative;
    padding-right: 20px;
    background-image: url("assets/images/down-arrow.svg");
    background-repeat: no-repeat;
    background-position: right 5px;
    background-size: 12px 12px;
}

#header-menu .menu-item-has-children:hover > .sub-menu {
    display: block;
}

#header-menu .sub-menu .menu-item-has-children {
    background-position: calc(100% - 10px) center;
}

#header-menu .sub-menu {
    z-index: 999;
    display: none;
    margin: 0;
    padding: 5px 0;
    padding-top: 15px;
    position: absolute;
    list-style: none;
    background-color: #ecf3f6;
}

#header-menu .sub-menu > li {
    min-width: 200px;
}

#header-menu .sub-menu > li > a {
    /*color: #c4d9e2 !important;*/
    color: #97B9C7 !important;
    padding: 0 20px;
    padding-top: 3px;
    margin-bottom: 10px;
}

#header-menu .sub-menu > li > a:hover {
    /*color: #93afbb !important;*/
    color: #4E89A2 !important;
}

#header-menu .sub-menu .sub-menu {
    top: 0;
    left: -200px;
}

/**
 * 1.2 SLIDER
 */
#home-slider {
    margin-top: 10px;
}

.swiper-pagination-bullet {
    opacity: 1;
    width: 12px;
    height: 12px;
    background-color: transparent;
    border: 1px solid #fff;
}

.swiper-pagination-bullet-active {
    background-color: #fff;
}

/**
 * 2. ABOUT
 */

.taglines {
    border-bottom: 1px solid #ecf3f6;
    margin: 0;
}

.taglines > div:nth-child(2) {
    border-left: 1px solid #ecf3f6;
    border-right: 1px solid #ecf3f6;
}

.tagline-container > .taglines:last-child {
    border-bottom: none;
}

.tagline {
    text-align: center;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 30px 0;
}

.tagline h6 {
    color: #25aae3;
    font-size: 26px;
    font-family: "Caviar Dreams", cursive;
}

.box-caption {
    margin: 30px auto;
    text-align: center;
}

.box-caption h4 {
    color: #8aacba;
    display: inline-block;
    margin: 0;
    padding: 10px 30px;
    border: 1px solid #ebebeb;
}

/**
 * CONTENT
 */
.content {
    padding-top: 30px;
}

h1.main-title {
    color: #93afbb;
    text-align: center;
    font-family: "Caviar Dreams", cursive;
    text-transform: uppercase;
    margin: 0;
}

.entry-content {
}

.entry-content p {
    margin-bottom: 30px;
}

.entry-content img {
    max-width: 100%;
    height: auto;
}

.entry-content .aligncenter {
    display: block;
    margin: auto;
}

.entry-content h6 {
    margin: 0;
    color: #8aacba;
    font-family: "Caviar Dreams", cursive;
}

.hn_work h4 {
    color: #93afbb;
    text-align: center;
    font-size: 20px;
}

.info-divider {
    border-right: 1px solid #848484;
}

.post-actions a {
    text-decoration: none;
    color: #848484;
}

/**
 * CATEGORIES
 */
.categories {
}

.categories a {
    color: #848484;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /*border: 1px solid #e6e6e6;*/
    min-height: 120px;
    text-decoration: none;
    margin-bottom: 30px;
}

.categories a:hover {
    color: #8aacba;
    border-color: #8aacba;
}

.categories a > span {
}

.categories a > span.title {
    font-size: 20px;
    line-height: 20px;
    text-transform: uppercase;
}

/**
 * GALLERIES
 */
.galleries {
    color: #848484;
}

.gallery-item {
    margin-bottom: 30px;
}

.gallery-item .title {
    font-size: 20px;
    font-family: "Caviar Dreams", cursive;
    text-transform: uppercase;
}

.gallery-item .caption {
    line-height: 1em;
}

.gallery-item a {
    color: #848484;
    display: block;
    position: relative;
    text-decoration: none;
}

.gallery-item a:hover {
    color: #8aacba;
}

.gallery-item a:hover .shadow {
    display: block;
}

.gallery-image {
    margin-bottom: 10px;
    position: relative;
}

.gallery-image img {
    max-width: 100%;
    height: auto;
}

.gallery-image .shadow {
    position: absolute;
    display: none;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0px 0px 0px 10px rgba(255, 255, 255, 0.5);
}

#gallery img {
    min-width: 100%;
    margin-bottom: 30px;
}

/**
 * FOOTER
 */

footer h4 {
    color: #8aacba;
    font-size: 28px;
    margin: 0;
    font-family: "Caviar Dreams", cursive;
}

footer .social {
    padding-top: 34px;
    padding-bottom: 30px;
}

footer .social .fa {
    color: #8aacba;
    font-size: 30px;
}

footer .social a {
    color: #848484;
    display: inline-block;
    text-decoration: none;
    vertical-align: top;
    line-height: 30px;
    font-size: 15px;
}

footer .address {
    color: #8aacba;
    padding-top: 30px;
    padding-bottom: 30px;
}

footer .address h4 {
    font-size: 24px;
}

footer address {
    margin: 0;
}

/**
 * HELPERS
 */
.divider {
    height: 1px;
    background-color: #d8d8d8;
    margin-bottom: 30px;
}

.no-margin {
    margin: 0 !important;
}

/**
 * RESPONSIVE
 */
.mobile-link {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 30px;
    color: #848484 !important;
}

#mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 9999;
    overflow-y: scroll;

    -webkit-animation-duration: 500ms;
    -moz-animation-duration: 500ms;
    animation-duration: 500ms;
}

#mobile-menu-container {
    padding-top: 65px;
}

#mobile-menu-items {
    margin: 0 30px;
    padding: 0;
    list-style: none;
}

#mobile-menu-items .menu-item-has-children {
    background-image: url("assets/images/down-arrow.svg");
    background-repeat: no-repeat;
    background-position: right 26px;
    background-size: 16px 16px;
}

#mobile-menu-items ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: none;
}

#mobile-menu-items a {
    color: #848484;
    display: block;
    font-size: 18px;
    text-decoration: none;
    line-height: 4em;
    border-bottom: 1px solid #848484;
}

#mobile-menu-items .sub-menu a {
    padding-left: 30px;
}

/**
 * MOBILE
 */
@media (max-width: 575px) {
    footer .social h4 {
        margin-bottom: 2rem;
        text-align: center;
    }

    footer .social {
        text-align: center;
    }

    footer .social i {
        width: 1.28571429em;
        text-align: center;
    }

    footer .social .col-md-3 {
        margin-bottom: 2rem;
    }

    footer .social .col-md-3:last-child {
        margin-bottom: 0;
    }

    footer .address {
        text-align: center;
    }

    .copyright {
        padding-top: 30px;
        justify-content: center !important;
    }

    .copyright h4 {
        font-size: 18px !important;
    }

    .gallery-item {
        text-align: center;
    }

    .gallery-image img {
        min-width: 100% !important;
        height: auto;
    }

    #gallery img {
        margin-bottom: 15px;
    }

    .logo img {
        max-width: 150px;
    }

    #home-slider {
        margin-top: 0;
    }
}