/*------------------------------------------------------------------
    Master Stylesheet
    Project:        Med - Personal Portfolio
    Version:        1.0
    Author:         Uxign
    Primary use:    Personal, One Page
-------------------------------------------------------------------*/


/*------------------------------------------------------------------

=Table of contents
 1- GENERAL STYLING
 2- Page Loader
 3- Option Box
 4- BOTTON SCROLL TO TOP
 5- navbar menu 
 6- HEADER
 7- about me
 8- Services
 9- PORTFOLIO
 10- NEWSLETTER
 11- INSTAGRAME
 12- FOOTER

-------------------------------------------------------------------*/


/*-----------------------------------------------------------------------------------*/


/*  1-GENERAL STYLING
/*-----------------------------------------------------------------------------------*/

.navbar-page {
    background: #fff !important;
}


/*-----------------------------------------------------------------------------------*/


/*   START SECTION NAVABR MENU STYLE 
/*-----------------------------------------------------------------------------------*/


/* NAVBAR STYLE 1 */

#menu {
    padding: 10px;
    background-color: #fff;
    border-color: rgba(231, 231, 231, 0);
    transition: all ease-in-out 0.5s;
    margin-bottom: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15) !important;
}

#menu .navbar-header .navbar-toggle {
    border-radius: 0;
}

#menu .navbar-header .navbar-brand {
    color: #333;
    font-family: 'Josefin Sans', sans-serif;
    padding-left: 0;
    margin-left: 0;
    position: relative;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: transparent;
}

#menu .navbar-collapse .navbar-nav li {
    display: inline-block;
    margin: 5px 1px;
}

#menu .navbar-nav li a {
    text-transform: uppercase;
    color: #333;
    font-size: 13px;
    letter-spacing: 1px;
    font-weight: 700;
    font-family: 'Josefin Sans', sans-serif;
    display: block;
    padding: 10px 15px;
    opacity: 1;
    text-decoration: none;
    -moz-transition: all 0.5s ease-in-out 0s;
    -ms-transition: all 0.5s ease-in-out 0s;
    -o-transition: all 0.5s ease-in-out 0s;
    -webkit-transition: all 0.5s ease-in-out 0s;
    transform: translate(0px, 0%);
}

#menu .navbar-nav li a:hover {
    color: #ff3d4f;
    text-decoration: none;
    -moz-transition: all 0.5s ease-in-out 0s;
    -ms-transition: all 0.5s ease-in-out 0s;
    -o-transition: all 0.5s ease-in-out 0s;
    -webkit-transition: all 0.5s ease-in-out 0s;
}

.navbar-nav:hover li a {
    opacity: .5;
    -moz-transition: all 0.5s ease-in-out 0s;
    -ms-transition: all 0.5s ease-in-out 0s;
    -o-transition: all 0.5s ease-in-out 0s;
    -webkit-transition: all 0.5s ease-in-out 0s;
    transform: translate(0px, 0%);
}

.navbar-nav:hover li:hover a {
    opacity: 1;
}

.on {
    background-color: #fff !important;
    padding: 0 !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15) !important;
}


/* header */

.social-list {
    display: none;
}


/* NAVBAR STYLE 2 */

#navbar-menu-two {
    padding: 10px;
    border-color: rgba(231, 231, 231, 0);
    transition: all ease-in-out 0.5s;
    margin-bottom: 0;
}

.navigation {
    background: #fff;
    margin-bottom: 0;
    border-bottom: 0;
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.1);
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.sticky-header {
    background: #fff;
}

.logo a {
    float: left;
    height: 50px;
    font-size: 18px;
    line-height: 20px;
    color: #333;
    font-family: 'Josefin Sans', sans-serif;
    padding: 15px 15px;
    position: relative;
}

.logo-after {
    width: 6px;
    height: 6px;
    border-radius: 100px;
    position: absolute;
    bottom: 21px;
    right: 8px;
    float: left;
    background: #ff3d4f;
    margin: 0 !important;
}

.footer .logo span.logo-after {
    bottom: 0;
}

.s-header .header-nav {
    background: #333;
    color: rgba(255, 255, 255, 0.25);
    font-size: 1.3rem;
    line-height: 1.846;
    height: 100%;
    width: 100%;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 700;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
    visibility: hidden;
}

.header-nav__close {
    display: block;
    height: 30px;
    width: 30px;
    border-radius: 3px;
    background-color: rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 36px;
    right: 30px;
    font: 0/0 a;
    text-shadow: none;
    color: transparent;
    z-index: 800;
}

.header-nav__close span::before,
.header-nav__close span::after {
    content: "";
    display: block;
    height: 2px;
    width: 12px;
    background-color: #FFFFFF;
    position: absolute;
    top: 50%;
    left: 9px;
    margin-top: -1px;
}

.header-nav__close span::before {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.header-nav__close span::after {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.header-nav__content {
    position: #ff3d4f;
    left: 50px;
    opacity: 0;
    visibility: hidden;
}

.header-nav__content .logo a {
    float: none;
    height: 50px;
    padding: 15px 15px;
    font-size: 18px;
    line-height: 20px;
    color: #fff;
    font-family: 'Josefin Sans', sans-serif;
}

.header-nav__list {
    font-size: 1.8rem;
    list-style: none;
    display: inline-block;
    margin-left: 0;
    margin-right: 0;
    text-align: center;
    padding-right: 0;
    padding-left: 0;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 50px;
}

.header-nav__list li {
    padding-left: 0;
    line-height: 4.5rem;
    float: none;
}

.header-nav__list a,
.header-nav__list a:visited {
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
}

.header-nav__social {
    list-style: none;
    margin: 0;
    font-size: 1.8rem;
    padding-left: 0;
}

.header-nav__social li {
    margin-right: 10px;
    padding-left: 0;
    display: inline-block;
    margin-left: 10px;
}

.header-nav__social li a {
    color: #fff;
}

.header-nav__social li a:hover,
.header-nav__social li a:focus {
    color: white;
}

.header-nav__social li:last-child {
    margin: 0;
}

.header-menu-toggle {
    position: fixed;
    right: 13.95%;
    height: 42px;
    width: 42px;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    background: #333;
    z-index: 99;
}

.header-menu-text {
    display: block;
    position: absolute;
    top: 8px;
    left: -70px;
    width: 70px;
    padding-left: 12px;
    margin-top: 0;
    font-size: 13px;
    font-family: 'Josefin Sans', sans-serif;
    color: #333;
    font-weight: 600;
    margin-bottom: 0;
}

.header-menu-icon {
    display: block;
    width: 22px;
    height: 2px;
    margin-top: -1px;
    position: absolute;
    left: 10px;
    top: 50%;
    right: auto;
    bottom: auto;
    background-color: #fff;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.header-nav a:hover,
.header-nav a:focus,
.header-nav a:active {
    color: white;
}

.menu-is-open .header-nav {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
    visibility: visible;
    -webkit-overflow-scrolling: touch;
}

.menu-is-open .header-nav .header-nav__content {
    opacity: 1;
    visibility: visible;
    -webkit-transition-property: all;
    transition-property: all;
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
    -webkit-transition-timing-function: ease-in-out;
    transition-timing-function: ease-in-out;
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
    left: 0;
}

.header-nav__content .logo {
    margin-bottom: 50px;
}

.header-menu-toggle.opaque {
    background-color: #000000;
}

.header-menu-toggle:hover,
.header-menu-toggle:focus {
    color: #FFFFFF;
}

.header-menu-icon::before,
.header-menu-icon::after {
    content: '';
    width: 100%;
    height: 100%;
    background-color: inherit;
    position: absolute;
    left: 0;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.header-menu-icon::before {
    top: -9px;
}

.header-menu-icon::after {
    bottom: -9px;
}


/*-----------------------------------------------------------------------------------*/


/*   END SECTION NAVABR MENU STYLE 
/*-----------------------------------------------------------------------------------*/


/*-----------------------------------------------------------------------------------*/


/*  NAVABR MENU STYLE 2
/*-----------------------------------------------------------------------------------*/