/* Table of Contents
==================================================
# Global
# Home Banner
# About Section
# Skill Section
# Experience Section
# Education Section
# Contact Section
# Extra Css
==================================================
*/

/* ==========================================================================
    Global
 ========================================================================== */

html,
body {
    font-family: 'Montserrat', sans-serif;
    font-weight:normal;
    overflow-x:hidden;
    -webkit-font-smoothing: antialiased;
    color: #2d3038;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #2d3038;
}

ul {
    margin:0;
    padding:0;
    list-style:none;
}

a {
    color: #2d3038;
}

a:hover {
    color: #00aeef;
}

a, a:hover, a:active,
a:focus, button:focus, .btn:focus,
.form-control:focus {
    outline: none !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.row {
    margin: 0;
    padding: 0;
}

.section-padding {
    padding-top: 25px;
    padding-bottom: 100px;
}

.section-title {
    margin-bottom: 60px;
}

.section-title h1 {
    font-size: 56px;
}

.bg-color {
    background-color: #f6f6f6;
    position: relative;
}

.bg-color:before {
    position: absolute;
    content: "";
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #f6f6f6;
    display: block;
}

.section-content {
    max-width: 750px;
}

.btn.btn-primary {
    padding-left: 30px;
    padding-right: 30px;
    font-size: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #3c70b4;
    border: 1px solid #3c70b4;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn.btn-primary:before {
    position: absolute;
    content: "";
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: -1;
}

.btn.btn-primary:hover:before {
    left: 0;
}

.btn.btn-primary:hover {
    color: #3c70b4;
}



/* ==========================================================================
    Home Banner
 ========================================================================== */

/* Navigation */

#navigation.menu-one .navbar {
    width: 30%;
    left: inherit;
    right: 0;
}

#navigation .navbar-nav>li {
    background-color: #2d3038;
}

#navigation.menu-one .navbar-nav>li {
    float: none;
    height: calc((100% - 65px) / 8);
    position: relative;
    margin-left: 10px;
}

#navigation.menu-one .navbar-nav {
    float: none;
    height: 100vh;
}

#navigation.menu-one .navbar-nav> li:hover,
#navigation.menu-one .navbar-nav> li.current {
    margin-left: 0;
    padding-left: 10px;
}

#navigation .navbar-nav>li a {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    display: block;
    height: 100%;
    width: 100%;
    padding: 0;
}

#navigation.menu-one .navbar-nav>li span {
    position: absolute;
    top: 50%;
    left: 100px;
    margin-top: -8px;
}

#navigation .navbar-nav>li i {
    position: absolute;
    left: -50px;
    font-size: 30px;
    margin-top: -6px;
}

.nav>li>a:focus,
.nav>li>a:hover {
    background-color: transparent;
}

#navigation.menu-one .navbar:before {
    left: 15px;
    right: -100%;
}

#navigation.menu-one .navbar:after {
   display: none;

}

.home-one .logo {
    background-color: #2d3038;
    float: none;
    height: 65px;
    margin-left: 10px;
    padding: 4px 30px;
}

.logo a {
    align-items: center;
    display: flex;
    flex-direction: row;
    height: 100%;
}

.logo a img {
    height: 100%;
    margin-right: 15px;
}

.logo a .signature {
    color: white;
    font-family: 'Sacramento', cursive;
    font-size: 30px;
    margin: 0;
}

.home-one .navbar-nav {
    margin-top: 65px;
}

#navigation .navbar-nav>li:nth-child(1) {
    background-color: #ed1c24;
}

#navigation .navbar-nav>li:nth-child(2) {
    background-color: #f26522;
}

#navigation .navbar-nav>li:nth-child(3) {
    background-color: #f4bf00;
}

#navigation .navbar-nav>li:nth-child(4) {
    background-color: #87c05e;
}

#navigation .navbar-nav>li:nth-child(5) {
    background-color: #05ac80;
}

#navigation .navbar-nav>li:nth-child(6) {
    background-color: #3c70b4;
}

#navigation .navbar-nav>li:nth-child(7) {
    background-color: #873e95;
}

#navigation .navbar-nav>li:nth-child(8) {
    background-color: #b90162;
}

#navigation .navbar-nav>li .social {
    position: absolute;
    top: 50%;
    margin-top: -19px;
    left: 35px;
}

#navigation .navbar-nav>li ul li {
    padding: 0;
}

#navigation .navbar-nav>li ul li i {
    font-size: 16px;
    margin-right: 0;
    position: inherit;
}

#navigation .navbar-nav>li ul li a {
    padding: 10px;
}

#navigation .navbar-nav>li ul li a:hover i {
    font-size: 16px;
}

#navigation .navbar {
    border: 0;
}

#navigation.menu-two .navbar-nav>li a {
    padding: 28px 18px;
    height: inherit;
    position: inherit !important;
}

#navigation.menu-two .navbar-nav>li.current a,
#navigation.menu-two .navbar-nav>li a:hover {
    padding-bottom: 40px;
}

#navigation.menu-two .navbar-nav>li:last-child a:hover,
#navigation.menu-two .navbar-nav>li:last-child.current a {

}

#navigation.menu-two .navbar-nav>li:last-child {
    background-color: #3c70b4;
}

#navigation .navbar:before,
#navigation .navbar:after {
    position: absolute;
    content: "";
    top: 0;
    width: 100%;
    height: 76px;
    background-color: #2d3038;
    z-index: -1;
}

#navigation .navbar:before {
    right:0;
    background-color: #2d3038;
    left: -100%;
}

#navigation .navbar:after {
    left: 50%;
    background-color: #3c70b4;
    right: 0;
    z-index: -1;
}

.menu-two .navbar-fixed-top {
    max-width: 1170px;
    margin: 0 auto;
}


/*Dropdown CSS*/

ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  padding:7px 0;
  margin: 0;
  min-width: 160px;
  display: none;
  z-index: 999;
  background-color: #f4bf00;
}

.nav.navbar-nav > li:hover > ul.sub-menu {
  display: block;
  -webkit-animation: fadeInUp 500ms;
  -moz-animation: fadeInUp 500ms;
  -ms-animation: fadeInUp 500ms;
  -o-animation: fadeInUp 500ms;
  animation: fadeInUp 500ms;
}

#navigation.menu-two .navbar-nav .sub-menu li a {
    padding: 5px 18px;
    color: #fff;
    font-size: 13px;
}

@-webkit-keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@-webkit-keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

.fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
}

/*End Drpdown Menu CSS*/

/* Navbar Toggle */

.navbar-toggle {
    border-color: #fff;
    background-color: transparent;
    padding: 12px 10px;
}

.navbar-toggle .icon-bar {
    background-color: #fff;
}

.home-banner .container-fluid {
    margin: 0;
    padding: 0;
}

.home-banner .home-row {
    width: 100%;
}

.home-banner .banner-content {
    background-image: url(../images/bg/banner.png);
    background-position: center;
    background-size: cover;
    height: 100vh;
    min-height: 600px;
    padding: 0;
    position: relative;
}

.banner-content .banner-info {
    align-items: flex-start;
    background-color: rgba(0, 0, 0, 0.8);
    bottom: 130px;
    flex-direction: column;
    font-size: 14px;
    justify-content: center;
    margin-left: 100px;
    padding: 0 15px;
    position: absolute;
}

.banner-info * {
    color: white;
    opacity: 1;
}

.banner-info h1 {
    font-size: 40px;
    font-family: 'rookies-showtimesregular';
}

.banner-info h2 {
    font-size: 60px;
    margin-top: 0;
}

.banner-info h3 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 15px;
}

/* About Section */

.about-section .section-title {
    margin-bottom: 45px;
}

.about-section .section-title h4 {
    margin-top: 0;
    line-height: 0;
}

.about-info {
    font-size: 14px;
    line-height: 24px;
}

.about-info .signature {
    font-weight: normal;
    margin-top: 20px;
    margin-bottom: 40px;
    font-family: 'Sacramento', cursive;
}

.about-section address {
    font-size: 16px;
    line-height: 30px;
    margin-bottom: 40px;
}

.about-section address span {
    font-weight: 700;
}

.achievement li {
    float: left;
}

.achievement li+li {
    margin-left: 30px;
}

.achievement-info .counter {
    font-size: 56px;
    font-weight: 700;
    color: #f7941d;
    line-height: 62px;
}

.achievement-info .counter1 {
    color: #873e95;
}

.achievement-info .counter2 {
    color: #3c70b4;
}

.achievement-info .counter3 {
    color: #87c05e;
}

.achievement-info h4 {
    font-size: 16px;
    font-weight: normal;
    margin-top: 0;
}

/* Skill Section */

.skill-section .rating-bar {
    width: 360px;
}

.progress-content {
    overflow: hidden;
}

.bar-left {
    float: left;
}

.bar-right {
    float: right;
}

.rating-bar label,
.rating-bar span {
    font-size: 16px;
    margin-bottom: 10px;
}

.skill-progress {
    position: relative;
    margin-bottom: 40px;
}

.progress {
    height: 8px;
    margin-bottom: 22px;
    background-color: #ebebeb;
    border-radius: 4px;
    box-shadow: none;
    width: 100%;
    position: relative;
}

.progress-bar {
   background-color: #ed1c24;
   box-shadow: none;
  -webkit-transition: width 2s ease-in-out;
  -moz-transition: width 2s ease-in-out;
  -ms-transition: width 2s ease-in-out;
  -o-transition: width 2s ease-in-out;
  transition:  width 2s ease-in-out;
  border-radius: 4px;
}

.progress-bar.bar1 {
    background-color: #f26522;
}

.progress-bar.bar2 {
    background-color: #f4bf00;
}

.progress-bar.bar3 {
    background-color: #87c05e;
}

.progress-bar.bar4 {
    background-color: #3c70b4;
}

.progress-bar.bar5 {
    background-color: #b90162;
}

.progress-bar.bar6 {
    background-color: #873e95;
}

.language-skill canvas {
    display: none;
}

.language-skill ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    width: 100%;
}

.language-skill li {
    float: left;
    margin: 0 25px;
    min-width: 105px;
}

.language-skill .percent {
    display: block;
    text-align: center;
    width: 116px;
    height: 116px;
    line-height: 116px;
    background-color: #ed1c24;
    border-radius: 50%;
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    margin: 0 auto;
}


.language-skill .percent1 {
    background-color: #f26522;
}

.language-skill .percent2 {
    background-color: #f4bf00;
}

.language-skill .percent3 {
    background-color: #87c05e;
}

.language-skill .percent4 {
    background-color: #05ac80;
}

.language-skill .percent5 {
    background-color: #3c70b4;
}

.language-skill .percent6 {
    background-color: #b90162;
}

.language-skill .percent7 {
    background-color: #873e95;
}


.language-skill .percent:after {
    content: '%';
}

.language-skill .chart h5 {
    text-align: center;
    font-size: 16px;
    font-weight: normal;
}

.text-info {
    font-size: 14px;
    line-height: 24px;
    color: #2d3038;
    margin-bottom: 50px;
}

.text-info h4 {
    font-size: 25px;
}

/* Experience Section */

.experience-section .experience {
    display: flex;
    flex-direction: row;
    margin-top: 20px;
    margin-bottom: 10px;
    width: 100%;
}

.experience-image {
    align-items: center;
    display: flex;
    flex: 0 0 175px;
    margin-right: 30px;
    overflow: hidden;
}

.experience-image img {
    width: 100%;
    max-height: 100%;
}

.experience-section .experience:hover img  {
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -o-transform: scale(0.9);
    transform: scale(0.9);
}

.experience-info {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.experience-info h3 {
    margin-top: 0;
}

.experience-info h4 {
    font-style: italic;
}

.experience-info h5 {
    font-weight: normal;
}

.experience-info h6 {
    font-weight: normal;
    margin-bottom: 0;
}


/* Education Section */

.education-info {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 10px;
}

.education-info img {
    height: 70px;
}

.education-info h4 {
    font-style: italic;
}

.education-info h5 {
    font-weight: normal;
}

.education-info h6 {
    font-weight: normal;
}

/* Portfolio Section */

.portfolio-item {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
}

.portfolio-item img {
    height: 264px;
    width: 360px;
}

.portfolio-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ed1c24;
    color: #fff;
}

@media only screen and (min-width: 768px) {
    .portfolio-overlay {
        -webkit-transition: all 500ms;
        -moz-transition: all 500ms;
        -ms-transition: all 500ms;
        -o-transition: all 500ms;
        transition: all 500ms;
    }
}

.portfolio-overlay1 {
    background-color: #f26522;
}

.portfolio-overlay2 {
    background-color: #b90162;
}

.portfolio-overlay3 {
    background-color: #87c05e;
}

.portfolio-overlay4 {
    background-color: #05ac80;
}

.portfolio-overlay5 {
    background-color: #3c70b4;
}

.portfolio-overlay6 {
    background-color: #873e95;
}

.portfolio-item:hover .portfolio-overlay {
    bottom: 0;
}

@media only screen and (max-width: 768px) {
  .portfolio-overlay {
    bottom: -50%;
  }
}

.portfolio-info {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 16px;
    font-weight: normal;
    padding-left: 30px;
    padding-top: 20px;
}

.portfolio-info h3 {
    color: #fff;
    margin-top: 5px;
    margin-bottom: 0;
}

.portfolio-info i {
    font-size: 30px;
    color: #fff;
}

/*Magnific-popup overwrite CSS*/

.mfp-figure {
    background-color: #fff;
}

img.mfp-img {
    padding: 12px;
}

.mfp-image-holder .mfp-close {
    top: -35px;
}

.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
    cursor:pointer;
}

.mfp-counter {
    right: 50%;
    color: #fff;
    top: 50px;
    margin-right: -20px;
}


/* Contact Section */

.contact-section .icons {
    float: left;
    font-size: 36px;
    margin-right: 30px;
}

.contact-section li {
    border-bottom: 1px solid #f1f1f1;
    padding: 20px 0;
}

.contact-section li:last-child {
    border-bottom: none;
}

.contact-section h3 {
    margin-top: 5px;
}

.contact-section li,
.contact-section li a {
    font-size: 16px;
    color: #2d3038;
}

.contact-section li a:hover {
    color: #0e76a8;
}

.contact-section li:hover .icons,
.contact-info:hover .icons {
    -webkit-transform:rotate(360deg) ;
    -moz-transform:rotate(360deg) ;
    -ms-transform:rotate(360deg) ;
    -o-transform:rotate(360deg) ;
    transform:rotate(360deg) ;
}

.contact-section .icons,
.contact-info .icons {
    -webkit-transition: all 800ms;
    -moz-transition: all 800ms;
    -ms-transition: all 800ms;
    -o-transition: all 800ms;
    transition: all 800ms;
}

.contact-section .icons {
    color: #0e76a8;
}

.contact-section .icons1 {
    color: #05ac80;
}

.contact-section .icons2{
    color: #b90162;
}

.contact-section .social li {
    border: none;
    padding: 0;
}

.contact-section .social li+li {
    margin-left: 10px;
}

.social i.fa-linkedin:hover {
    color: #0e76a8;
}

.social i.fa-github-alt:hover {
    color: #000000;
}

.contact {
    font-size: 16px;
    line-height: 24px;
    padding-left: 50px;
    margin-top: 45px;
}

.contact .contact-info {
    margin-bottom: 15px;
}

.contact .title {
    position: relative;
}

.contact .icons {
    position: absolute;
    left: -50px;
    top: 0;
    font-size: 36px;
}

.contact .icons i {
    color: #87c05e;
}

.contact .form-group {
    margin-top: 20px;
    margin-bottom: 0;
}

.contact .form-control {
    height: 45px;
    line-height: 45px;
    border: none;
    box-shadow: none;
    color: #2d3038;
    font-size: 14px;
    background-color: #f2f2f2;
    padding-left: 20px;
    padding-right: 25px;
    border: 1px solid #f2f2f2;
}

.contact .form-control:focus {
    border-color: #87c05e;
}

.contact textarea.form-control {
    resize: none;
    height: 125px;
}

.contact .btn.btn-primary {
    margin-top: 20px;
}

.contact .form-control::-webkit-input-placeholder {
   color: #2d3038;
}

.contact .form-control:-moz-placeholder {
   color: #2d3038;
}

.contact .form-control::-moz-placeholder {
   color: #2d3038;
}

.contact .form-control:-ms-input-placeholder {
   color: #2d3038;
}

/* ==========================================================================
    Extra Css
 ========================================================================== */

a, #contact-section li a i:hover,
.thumbnail-oberlay, .icons,
.experience-image img,
.btn.btn-primary:before,
.btn.btn-primary,
.contact-section .social i,
.navbar-nav>li, .navbar-nav>li ul li i,
.navbar-nav > li span {
    -webkit-transition: all 250ms;
    -moz-transition: all 250ms;
    -ms-transition: all 250ms;
    -o-transition: all 250ms;
    transition: all 250ms;
}


@font-face {
    font-family: 'rookies-showtimesregular';
    src: url('../fonts/rookies_showtimes-webfont.woff2') format('woff2'),
         url('../fonts/rookies_showtimes-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
