/*
 * Custom Style File
 * Author - Serdar GULER
 * Web    - www.caretta.net
 * Mail   - serdar.guler@caretta.net
 */

@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800&subset=latin-ext');

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #182153;
}

a {
    color: #182153;
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
}

a:hover,
a:focus {
    color: #182153;
}

hr {
    max-width: 100px;
    margin: 25px auto 0;
    border-width: 1px;
    border-color: rgba(34, 34, 34, 0.1);
}

hr.light {
    border-color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 200;
    letter-spacing: 1px;
}

p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
}

section {
    padding: 100px 0;
    width: 100%;
    overflow: hidden;
}

section h2 {
    font-size: 50px;
}


.parallax {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.banner {
    background-image: url(../img/header-bg.jpg);
    height: 580px;
    position: relative;
}

.banner::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(16, 27, 82, 0.8);
}

.banner .box {
    position: absolute;
    bottom: 0;
    z-index: 3;
    width: 900px;
    left: 50%;
    background: #fff;
    margin-left: -450px;
    box-shadow: 0 0 15px #000000;
}

.banner .box .content {
    overflow: hidden;
}

.banner .box .content>div {
    width: 50%;
    float: left;
}

.banner .box .content .text {
    padding: 40px 40px 0 40px;
}

.banner .box .content .text h1 {
    font-size: 28px;
    font-weight: 300;
    margin: 0;
}

.banner .box .content .text h2 {
    font-size: 16px;
    font-weight: 600;
    margin: 10px 0;
}

.banner .box .content .text p {
    font-size: 14px;
    margin: 0 0 10px 0;
}

.banner .box img {
    width: 100%;
}

.banner .socials {
    overflow: hidden;
    background: #101b52;
    padding: 10px;
    margin-bottom: -55px;
}

.banner .socials ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.banner .socials ul li {
    display: inline-block;
    margin: 0 5px;
}

.banner .socials ul li a {
    display: block;
    color: #ffffff;
    padding: 5px;
    font-size: 18px;
}

.companies {
  z-index: 3
}
.experience,
.education,
.companies,
.blog,
.contact {
    padding: 0;
}

.title {
    border-top: 1px solid #f2f2f1;
    border-bottom: 1px solid #f2f2f1;
    padding: 40px 0;
}

.title h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.timeline {
    padding: 50px 15px;
}

.timeline .row>div {
    padding: 0 50px 50px 50px;
}

.timeline .text-right::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background-color: #101b52;
    right: -5px;
    top: 5px;
    z-index: 3;
}

.timeline .text-left::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background-color: #f9f9f8;
    left: -1px;
    top: 10px;
}

.timeline .text-left {
    max-width: 400px;
}

.timeline p {
    font-size: 15px;
    font-weight: 300;
    margin: 0 0 5px 0;
}

.timeline p strong {
    font-weight: 600;
    color: #fff;
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 12px;
}
.timeline .life p strong {
  background: #e4b500;
}
.timeline .education p strong {
  background: #007705;
}
.timeline .business p strong {
  background: #101b52;
}

.timeline>div:last-child>div {
    padding-bottom: 0;
}

.companies img {
    padding: 50px;
}
.contact {
  background-color: #f2f2f1;
  position: relative;
}
.contact .title {
  position: relative;
    z-index: 3;
    background: #f3f3f1;
    border-color: #ffffff;
}
.contact .form {
  padding: 50px 50px 50px 15px;
}
.contact .text {
  padding: 50px 15px 50px 50px;
}
.contact .text h1 {
    font-size: 28px;
    font-weight: 300;
    margin: 0;
}

.contact .text h2 {
    font-size: 16px;
    font-weight: 600;
    margin: 10px 0;
}

.contact .text p {
    font-size: 14px;
    margin: 0 0 10px 0;
}
.contact .text a {
  color: #182153;
}
.contact .socials ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact .socials ul li {
  float: left;
  margin-right: 15px;
}
.contact .socials ul li a {
  color: #182153;
  display: block;
  font-size: 18px;
  padding: 5px 0;
}
.contact::after {
  width: 1px;
  height: 100%;
  right: 50%;
  background-color: #ffffff;
  content: '';
  position: absolute;
  top: 0;
}
.contact .btn {
  background-color: #101b52;
  color: #ffffff;
  border-radius: 0;
  height: 40px;
}
.contact textarea {
  height: 100px;
    resize: none;
}
.form-control {
  border-radius: 0;
  border: 1px solid #e0e0e0;
  height: 40px;
}

#mainNav {
    border-color: rgba(34, 34, 34, 0.05);
    background-color: white;
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
    font-weight: 200;
    letter-spacing: 1px;
    padding: 10px;
}

#mainNav .navbar-brand {
    color: #222222;
    font-weight: 200;
    letter-spacing: 1px;
    font-size: 30px;
    font-weight: 400;
}

#mainNav .navbar-brand:hover,
#mainNav .navbar-brand:focus {
    color: #b9b9b9;
}

#mainNav .navbar-toggler {
    font-size: 12px;
    padding: 8px 10px;
    color: #222222;
}

#mainNav .navbar-nav>li>a {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

#mainNav .navbar-nav>li>a.active {
    color: #b9b9b9 !important;
    background-color: transparent;
}

#mainNav .navbar-nav>li>a.active:hover {
    background-color: transparent;
}

#mainNav .navbar-nav>li>a,
#mainNav .navbar-nav>li>a:focus {
    background-color: transparent;
    color: #222222;
}

#mainNav .navbar-nav>li>a:hover,
#mainNav .navbar-nav>li>a:focus:hover {
    color: #b9b9b9;
    background-color: transparent;
}

@media (min-width: 992px) {
    #mainNav {
        border-color: transparent;
        background-color: transparent;
    }
    #mainNav .navbar-brand {
        color: fade(white, 70%);
    }
    #mainNav .navbar-brand:hover,
    #mainNav .navbar-brand:focus {
        color: white;
    }
    #mainNav .navbar-nav>li>a,
    #mainNav .navbar-nav>li>a:focus {
        color: rgba(255, 255, 255, 0.7);
    }
    #mainNav .navbar-nav>li>a:hover,
    #mainNav .navbar-nav>li>a:focus:hover {
        color: white;
    }
    #mainNav.navbar-shrink {
        border-color: rgba(34, 34, 34, 0.1);
        background-color: white;
    }
    #mainNav.navbar-shrink .navbar-brand {
        color: #222222;
    }
    #mainNav.navbar-shrink .navbar-brand:hover,
    #mainNav.navbar-shrink .navbar-brand:focus {
        color: #b9b9b9;
    }
    #mainNav.navbar-shrink .navbar-nav>li>a,
    #mainNav.navbar-shrink .navbar-nav>li>a:focus {
        color: #222222;
    }
    #mainNav.navbar-shrink .navbar-nav>li>a:hover,
    #mainNav.navbar-shrink .navbar-nav>li>a:focus:hover {
        color: #b9b9b9;
    }
}


#footer {
    padding: 20px 0;
    text-align: center;
    background-color: #ffffff;
}

#footer p {
    font-size: 12px;
    margin: 0;
}

.bg-primary {
    background: #f2f2f1;
    background: -webkit-linear-gradient(#f2f2f1, #f2f2f1);
    background: linear-gradient(#f2f2f1, #f2f2f1);
    color: #182153;
    padding: 100px 0 60px 0;
    position: relative;
    overflow: hidden;
}

.text-primary {
    color: #fdcc52;
}

.no-gutter>[class*='col-'] {
    padding-right: 0;
    padding-left: 0;
}

.btn-outline {
    color: white;
    border: 1px solid;
    border-color: white;
}

.btn-outline:hover,
.btn-outline:focus,
.btn-outline:active,
.btn-outline.active {
    color: white;
    border-color: #fdcc52;
    background-color: #fdcc52;
}

.btn {
    border-radius: 300px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.btn-xl {
    font-size: 11px;
    padding: 15px 45px;
}


@media (max-width: 991px) {
  .banner {
    height: auto;
    padding-top: 70px;
  }
  .banner .box {
    position: relative;
        max-width: 100%;
    margin: 0;
    left: 0;
  }
}

@media (max-width: 767px) {
  .banner .box .content>div {
    width: 100%;
  }
  #navbarResponsive {
    clear: both;
    width: 100%;
    float: left;
  }
  .banner .box .content .text {
    padding: 20px;
    text-align: center;
  }
  .banner .box img {
    max-width: 180px;
    margin: 30px auto 0 auto;
    display: block;
    border-radius: 100%;
  }
  .timeline {
    padding-top: 20px;
  }
  .timeline .text-left::before {
    left: 20px;
    top: 0;
  }
  .timeline .text-right {
    text-align: left;
    margin-top: 20px;
  }
  .timeline .text-right::after {
        left: 16px;
    top: 5px;
    right: inherit;
  }
  .timeline .row>div {
    padding-bottom: 0;
  }
  .timeline .text-right::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background-color: #f9f9f8;
    left: 20px;
    top: 10px;
  }
  .companies .container {
    padding: 15px; 
  }
  .companies img {
    padding: 5px;
    display: block;
    margin: 0 auto;
  }
  .contact::after {
    display: none;
  }
  .contact .form {
    padding: 15px;
  }
  .contact .text {
    padding: 15px;
    overflow: hidden; 
  }
  .form-group {
    margin-bottom: 0;
  }
  .form-group > div {
    margin-bottom: 15px;
  }
  #mainNav {
    padding: 10px 0;
  }
  .navbar-brand {
    padding: 15px 0;
  }
  #mainNav .navbar-toggler {
    position: absolute;
    right: 5px;
    background: transparent;
    outline: none;
    font-size: 22px;
  }
}


.tab {
  padding: 0;
  list-style: none;
  text-align: center;
  margin: 50px 0 0 0; 
}
.tab li {
  display: inline-block;
  margin: 0 2px;
  width: 120px;
  max-width: 30%;
}
.tab li a {
  display: block;
  width: 100%;
  background: #dadada;
  color: #ffffff;
  padding: 7px;
  font-weight: 600;
  text-decoration: none;
}
.tab li a.tab1 {
  background: #e4b500;
}
.tab li a.tab2 {
  background: #101b52;
}
.tab li a.tab3 {
  background: #007705;
}

/* ================ The Timeline ================ */

.time-line {
  position: relative;
  width: 660px;
  margin: 0 auto;
  margin-top: 20px;
  padding: 1em 0;
  list-style-type: none;
}

.time-line:before {
  position: absolute;
  left: 50%;
  top: 0;
  content: ' ';
  display: block;
  width: 6px;
  height: 100%;
  margin-left: -3px;
  background: rgb(80,80,80);
  background: -moz-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(30,87,153,1)), color-stop(100%,rgba(125,185,232,1)));
  background: -webkit-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
  background: -o-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
  background: -ms-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
  background: linear-gradient(to bottom, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
  
  z-index: 5;
}

.time-line li {
  padding: 1em 0;
}

.time-line li:after {
  content: "";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.direction-l {
  position: relative;
  width: 300px;
  float: left;
  text-align: right;
}

.direction-r {
  position: relative;
  width: 300px;
  float: right;
}

.flag-wrapper {
  position: relative;
  display: inline-block;
  
  text-align: center;
}

.flag {
  position: relative;
  display: inline;
  background: rgb(248,248,248);
  padding: 6px 10px;
  border-radius: 5px;
  
  font-weight: 600;
  text-align: left;
}

.direction-l .flag {
  -webkit-box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  -moz-box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
}

.direction-r .flag {
  -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  -moz-box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
}

.direction-l .flag:before,
.direction-r .flag:before {
  position: absolute;
  top: 50%;
  right: -40px;
  content: ' ';
  display: block;
  width: 12px;
  height: 12px;
  margin-top: -10px;
  background: #fff;
  border-radius: 10px;
  border: 4px solid rgb(255,80,80);
  z-index: 10;
}

.direction-r .flag:before {
  left: -40px;
}

.direction-l .flag:after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  height: 0;
  width: 0;
  margin-top: -8px;
  border: solid transparent;
  border-left-color: rgb(248,248,248);
  border-width: 8px;
  pointer-events: none;
}

.direction-r .flag:after {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  height: 0;
  width: 0;
  margin-top: -8px;
  border: solid transparent;
  border-right-color: rgb(248,248,248);
  border-width: 8px;
  pointer-events: none;
}

.time-wrapper {
  display: inline;
  
  line-height: 1em;
  font-size: 0.66666em;
  color: rgb(250,80,80);
  vertical-align: middle;
}

.direction-l .time-wrapper {
  float: left;
}

.direction-r .time-wrapper {
  float: right;
}

.time {
  display: inline-block;
  padding: 4px 6px;
  background: rgb(248,248,248);
}

.desc {
  margin: 1em 0.75em 0 0;
  
  font-size: 0.77777em;
  font-style: italic;
  line-height: 1.5em;
}

.direction-r .desc {
  margin: 1em 0 0 0.75em;
}

/* ================ Time-line Media Queries ================ */

@media screen and (max-width: 660px) {

.time-line {
  width: 100%;
  padding: 4em 0 1em 0;
}

.time-line li {
  padding: 2em 0;
}

.direction-l,
.direction-r {
  float: none;
  width: 100%;

  text-align: center;
}

.flag-wrapper {
  text-align: center;
}

.flag {
  background: rgb(255,255,255);
  z-index: 15;
}

.direction-l .flag:before,
.direction-r .flag:before {
  position: absolute;
  top: -30px;
  left: 50%;
  content: ' ';
  display: block;
  width: 12px;
  height: 12px;
  margin-left: -9px;
  background: #fff;
  border-radius: 10px;
  border: 4px solid rgb(255,80,80);
  z-index: 10;
}

.direction-l .flag:after,
.direction-r .flag:after {
  content: "";
  position: absolute;
  left: 50%;
  top: -8px;
  height: 0;
  width: 0;
  margin-left: -8px;
  border: solid transparent;
  border-bottom-color: rgb(255,255,255);
  border-width: 8px;
  pointer-events: none;
}

.time-wrapper {
  display: block;
  position: relative;
  margin: 4px 0 0 0;
  z-index: 14;
}

.direction-l .time-wrapper {
  float: none;
}

.direction-r .time-wrapper {
  float: none;
}

.desc {
  position: relative;
  margin: 1em 0 0 0;
  padding: 1em;
  background: rgb(245,245,245);
  -webkit-box-shadow: 0 0 1px rgba(0,0,0,0.20);
  -moz-box-shadow: 0 0 1px rgba(0,0,0,0.20);
  box-shadow: 0 0 1px rgba(0,0,0,0.20);
  
  z-index: 15;
}

.direction-l .desc,
.direction-r .desc {
  position: relative;
  margin: 1em 1em 0 1em;
  padding: 1em;
  
  z-index: 15;
}

}

@media screen and (min-width: 400px ?? max-width: 660px) {

.direction-l .desc,
.direction-r .desc {
  margin: 1em 4em 0 4em;
}

}