/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/
.si-vk:hover, .si-colored.si-vk {
    background-color: #00ACEE !important;
}

.si-instagram:hover, .si-colored.si-instagram {
    background-color: #EA4C89 !important;
}


body, h1, h2, h3, h4, h5, h6, div, a, p, span {
    font-family: 'Raleway', sans-serif;
}

.number, .number span, .number div, .number a, li.number, td.day, .datepicker, th.datepicker-switch{
    font-family: 'Lato', sans-serif;
}

@media (min-width: 700px) {
    #page-title {
        background-position: 0px -300px !important;
    }
}

#page-title {
    padding: 80px 0px !important;
}

@media (max-width: 700px) {
    body.device-touch.device-sm .portfolio-notitle .portfolio-desc, body.device-touch.device-xs .portfolio-notitle .portfolio-desc {
        display: block !important;
    }

    body.device-touch.device-sm .portfolio-notitle .portfolio-overlay, body.device-touch.device-xs .portfolio-notitle .portfolio-overlay {
        display: block !important;
    }

    .portfolio-notitle .portfolio-item .portfolio-desc, .portfolio-notitle .iportfolio .portfolio-desc {
        bottom: 0 !important;
    }

    .portfolio-item .portfolio-overlay, .iportfolio .portfolio-overlay {
        opacity: 1;
    }

    #copyrights .social-icons {
        width: 120px;
        margin: 0 auto;
        float: none !important;
    }
}

@media (max-width: 767.98px) {
    #copyrights .emails {
        display: none;
    }
}

@media (max-width: 767.98px) {
    #primary-menu .menu-container {
        overflow: hidden;
        border-top: 1px solid #eeeeee;
        border-left: 1px solid #eeeeee;
    }

    /* Style each menu item to create the grid */
    #primary-menu .menu-container li {
        float: left;
        width: 50%;
        box-sizing: border-box;
        font-size: 14px;
        border-top: 0;
        border-bottom: 1px solid #eeeeee;
    }

    #primary-menu .menu-container li:nth-child(odd) {
        border-right: 1px solid #eeeeee;
        border-left: 0;
    }

    #primary-menu .menu-container li:nth-child(5), #primary-menu .menu-container li:nth-child(6) {
        border-bottom: 0;
    }

    #primary-menu .menu-container li:last-child {
        width: 100%;
        border-right: none;
        margin-bottom: 10px;
        border-top: 1px solid #eeeeee;
    }

    /* Center the link content and make the whole area clickable */
    #primary-menu .menu-container li a {
        display: block;
        padding: 25px 5px;
        text-align: center;
    }

    /* Make the icon bigger and position it above the text */
    #primary-menu .menu-container li a i {
        width: auto !important;
        display: block !important;
        font-size: 24px !important;
        margin: 0 auto 15px !important;
    }
}
