@import url('https://fonts.googleapis.com/css?family=Poppins" rel="stylesheet');

body {
    background: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: normal;
    overflow-x: hidden;
}

html, body {
  width: 100%;
  height: 100%;
}



/*---------------------------------------
  Typorgraphy              
-----------------------------------------*/

h1,h2,h3,h4,h5,h6 {
  font-style: normal;
  font-weight: bold;
  letter-spacing: 0px;
}

h1 {
  color: #ea3257;
  font-size: 3vw;
  text-align: left;
  font-weight: 600;
  min-width: 60%;
  /* line-height: normal; */
}
h2 {
  color: #345C89;
  font-size: 3.3vh;
  line-height: 52px;
  font-weight:regular;
  margin-top: 0px;
  letter-spacing: 5px;
  padding-bottom: 30px;
}

h3 {
	font-size: 36px;
	margin: 0;
	color: #345C89;
}

h4  {
  color: #000;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 300;
  padding-top: 10px;
}

p {
  color: #000;
  font-size: 16px;
  font-weight: normal;
  line-height: 25px;
  letter-spacing: 0.2px;
}

.bg-grey {
  background: #2b2b2b !important;
}

.white-color {
  color: #f0f0f0;
}



/*---------------------------------------
  Buttons               
-----------------------------------------*/

.section-btn {
  background: #ea3358;
  border: none;
  border-radius: 2px;
  color: #f0f0f0;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1.5px;
  padding: 18px 32px;
  margin-top: 42px;
  text-transform: uppercase;
  -webkit-transition: all ease-in-out 0.4s;
  transition: all ease-in-out 0.4s;
}

.section-btn:focus,
.section-btn:hover {
  background: #345C89;
  color: #FFF;
}



/*---------------------------------------
  General               
-----------------------------------------*/

html{
  -webkit-font-smoothing: antialiased;
}

a {
  color: #ea3257;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  text-decoration: none !important;
}

a:hover, a:active, a:focus {
  color: #000000;
  outline: none;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.parallax-section {
  background-attachment: fixed !important;
  background-size: cover !important;
}

.section-title {
  margin: 0;
  padding-bottom: 0px;
}

#service, #expertise, #portfolio,
#contact, #client {
  position: relative;
  padding-top: 50px;
  padding-bottom: 50px;
}

footer {
  position: relative;
  padding-top: 25px;
  padding-bottom: 25px;
}

#service, #portfolio, #contact {
  background: #f9f9f9;
  text-align: center;
}


/*---------------------------------------
  Pre loader section              
-----------------------------------------*/

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  background: none repeat scroll 0 0 #ffffff;
}

.spinner {
  border: 1px solid transparent;
  border-radius: 5px;
  position: relative;
}

.spinner:before {
  content: '';
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 65px;
  height: 65px;
  margin-top: -10px;
  margin-left: -10px;
  border-radius: 50%;
  border: 2px solid #454545;
  border-top-color: #ffffff;
  animation: spinner .9s linear infinite;
}

@-webkit-@keyframes spinner 
  to {transform: rotate(360deg);}


@keyframes spinner 
  to {transform: rotate(360deg);}




/*---------------------------------------
  Navigation           
-----------------------------------------*/

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 768px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: center;
    display: block;
	font-size: 14px;
	text-align: center;
	background-color: #ea3358;
    color: white;
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 768px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: relative; 
  }
    }
  
  @media screen and (max-width: 768px) {
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
	font-size: 12px;
  }
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
}

.topnav {
  overflow: hidden;
  top: 7%;
  right: 13%;
  position: absolute;
  float: right;
}

.topnav a {
  float: right;
  display: block;
  color: #000;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 1.25vw;
}

.topnav a:hover {
  background-color: #ea3358;
  color: white;
}

.topnav a.active {
    background-color: #ea3358;
    color: white;
}

/*---------------------------------------
  Home section              
-----------------------------------------*/

#home {
  background:linear-gradient(
                     rgba(255,255,255, .99), 
                     rgba(255,255,255, .25)), url('http://705marketing.com/images/HeaderOverlay.jpg')  0 repeat-y fixed;
  background-size: cover;
  background-position: center center;
  display: -webkit-box;
  display: -webkit-flex;
   display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
   align-items: center;
  height: 100vh;
  position: relative;
  text-align: right;
}


@media only screen and (min-width: 768px) {
    /* For desktop: */
.logo {width:15vw;
		position: absolute;
		margin-bottom: 0px;
		top: 4%;
		}
		}
		
.home-thumb {    width: 100%;
    margin-right: 0px;
    padding-left: 0px;}


/*---------------------------------------
  Service section              
-----------------------------------------*/

.icons {width:55px;}

.logos {width:100px;
vertical-align: middle !important}

.logos-hor {width:150px;
vertical-align: middle !important}

.service-thumb {
  position: relative;
  top: 0;
  -webkit-transition: all ease-in-out 0.4s;
  transition: all ease-in-out 0.4s;
  padding-bottom: 45px;
	vertical-align: middle;
}

.service-thumb:hover {
   top: -5px;
}

.service-thumb h4 {
  padding-bottom: 5px;
}

.service-thumb .fa {
  color: #7682cc;
  font-size: 62px;
  text-align: center;
  margin-top: 32px;
  margin-bottom: 22px;
}

.bg-grey .fa {
  color: #ffffff;
}

.client-thumb {
  position: relative;
  top: 10px;
  -webkit-transition: all ease-in-out 0.4s;
  transition: all ease-in-out 0.4s;
  padding-bottom: 45px;
	vertical-align: middle;
	text-align: center;
}

/*---------------------------------------
  About section              
-----------------------------------------*/

#about {
  padding-top: 20px;
  height: 500px;
}

.about-image-thumb img {
  border-radius: 5px;
  
}

.about-image-thumb .social-icon li a {
  background: #f0f0f0;
}

.about-thumb {
  padding: 32px 12px;
}

.about-thumb p {
  padding: 2px 0;
}



/*** Portfolio Section ***/

/* Filters */
#portfolio > .filters {
	text-align: right;
	padding: 0 20px;
}

.filters__title {
	font-family: 'Raleway', sans-serif;
  font-weight: 700;
}

.filters__title,
.filters__list {
	display: inline-block;
	vertical-align: baseline;
}

.filters__label,
.filters__label:not(:first-child)::before {
	color: #dcd5b2;
}

.filters__label {
	display: inline-block;
	position: relative;
	margin-left: .8em;
	cursor: pointer;
}

.filters__label.is-active {
	color: inherit;
}

.filters__label:not(:first-child)::before {
	content: "/";
	margin-right: .8em;
}

/* Projects */

.portfolio__project-wrapper {
	padding: 0px;
}

.portfolio__project {
	position: relative;
	padding: 0;
	background-color:transparent;
	background-clip: padding-box;
	border: 10px solid transparent;
	overflow: hidden;
}
.portfolio__project__preview {
	position: relative;
	top: 0;
}

.portfolio__project__preview img {
	width: 100%;
}

.portfolio__project__description {
	position: absolute;
	top: 100%;
	width: 100%;
	padding: 1.8em 1.3em;
	text-align: center;
	background: #345C89;
}

.portfolio__project__name {
	font-family: 'Poppins', sans-serif
	font-size: 36px;
	margin: 0;
	color: #fff;
}

.portfolio__project__category {
	font-size: .9em;
	color: #dcd5b2;
	margin-bottom: .6em;
}

.portfolio__project__preview,
.portfolio__project__description {
	transition: all 600ms ease;
}

.portfolio__project:hover .portfolio__project__description {
	transform: translateY(-100%);
}
.portfolio__project:hover .portfolio__project__preview {
	transform: translateY(-2.5em);
}







/*---------------------------------------
  Work section              
-----------------------------------------*/

.work-thumb {
  margin: 0px 0 12px 0;
  padding: 0;
  overflow: hidden;
  position: relative;
  text-align: left;
}

.work-thumb img {
  border-radius: 5px;
}

.work-thumb h2 {
  font-size: 25px;
}

.work-thumb-overlay {
  position: absolute;
  background: #7682cc;
  border-radius: 5px;
  cursor: crosshair;
  opacity: 0;
  width: 100%;
  height: 100%;
  padding: 82px 42px;
  -webkit-transition: all ease-in-out 0.4s;
  transition: all ease-in-out 0.4s;
}

.work-thumb:hover .work-thumb-overlay {
  opacity: 1;
}



/*---------------------------------------
  Contact section              
-----------------------------------------*/

.contact-info .fa {
  padding-right: 5px;
}

#contact .form-control {
  border: none;
  border-bottom: 2px solid #f0f0f0;
  border-radius: 0px;
  box-shadow: none;
  font-size: 14px;
  margin-top: 10px;
  margin-bottom: 10px;
  -webkit-transition: all ease-in-out 0.4s;
  transition: all ease-in-out 0.4s;
}

#contact .form-control:focus {
  border-bottom-color: #999999;
}

#contact input {
  height: 55px;
}

#contact button#submit {
  background: #ea3257;
  border: none;
  border-radius: 2px;
  color: #ffffff;
  height: 50px;
  margin-top: 24px;
}

#contact button#submit:hover {
  background: #345C89;
  color: #ffffff;
}



/*---------------------------------------
  Footer section              
-----------------------------------------*/

footer {
  background: #345C89;
  text-align: center;
}

footer p {
  padding-bottom: 16px;
}



/*---------------------------------------
  Social icon             
-----------------------------------------*/

.social-icon {
  position: relative;
  padding: 0;
  margin: 0;
  text-align: center;
}

.social-icon li {
  display: inline-block;
  list-style: none;
}

.social-icon li a {
  background: #ffffff;
  border-radius: 100%;
  color: #454545;
  cursor: pointer;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.4s ease-in-out;
  width: 45px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  vertical-align: middle;
  position: relative;
  top: 0;
  margin: 0px 6px 10px 6px;
}

.social-icon li a:hover {
  background: #000000;
  color: #ffffff;
  transform: scale(1.1);
  top: -5px;
}



/*---------------------------------------
  Mobile Responsive styles              
-----------------------------------------*/

@media (max-width: 980px) {
  #home {
    height: 55vh;
  }

  .service-thumb {
    margin-top: 12px;
    margin-bottom: 22px;
  }

  .contact-info {
    margin-top: 22px;
  }
}


@media (max-width: 768px) {
  #home {
    height: 75vh;
  }
  .logo {
  min-width: 30%;
  max-width: 40%;
 padding-left: 4%}
  
 h1 {font-size:24px;}
 
 .wow fadeInUp p {font-size:12px}
}


@media (max-width: 580px) {


  #home {
    height: 68vh;
    
  }
  
  .logo {max-width:30%;
  margin-left:35%;
  margin-top: 25%}

  .contact-info {
    margin-top: 42px;
  }
}


@media (max-width: 320px) {
  #home {
    height: 90vh;
  }
  
   .logo {max-width:40%;
  margin-left:25%;
  margin-top:35%}
  
   .section-btn{max-width:70%;
  padding: 5%}
}


}