/* Table of Content
==================================================
	- Google fonts & font family -
	- typography -
	- General -
    - Preloader -
	- Header -
    - home section -
    - About section -
    - experience section -
    - projects section -
    - Contact section -
    - Responsive media queries -
*/


/* Google fonts & font family
==================================================*/

@import 'https://fonts.googleapis.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i|Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i|Playfair+Display:400,400i,700,700i,900,900i';

/*
font-family: 'Playfair Display', serif;
font-family: 'Lato', sans-serif;
font-family: 'Open Sans', sans-serif;
*/


/* typography
==================================================*/

h1 {
	font-family: 'Playfair Display', serif;
	font-size: 80px;
	line-height: 90px;
}

h4 {
    font-family: 'Lato', sans-serif;
    text-transform: capitalize;
    letter-spacing: 2px;
    position: relative;
    color: #ef7204;
    margin-left: 10px;
    font-weight: 700;
}

/*h4:before {
    position: absolute;
    width: 30px;
    left: -40px;
    content: "";
    display: block;
    height: 2px;
    background: #ef7204;
    top: 9px;
}*/


/* General
==================================================*/

body {
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	line-height: 24px;
	
}

.size-50 {
    font-size: 50px;
    line-height: 50px
}

.h-50 {
	height: 10px;
}

.main-container img{
	border:1px solid #ccc;	
}

/* preloader
==================================================*/

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 10000
}

#status,
.preloader {
    top: 50%;
    left: 50%;
    position: absolute
}

#status {
    width: 100px;
    height: 100px;
    background-repeat: no-repeat;
    background-position: center;
    margin: -50px 0 0 -50px
}

.preloader {
    height: 40px;
    width: 40px;
    margin-top: -20px;
    margin-left: -20px
}

.preloader:before {
    content: "";
    display: block;
    position: absolute;
    left: -1px;
    top: -1px;
    height: 100%;
    width: 100%;
    -webkit-animation: rotation 1s linear infinite;
    animation: rotation 1s linear infinite;
    border: 2px solid #ef7204;
    border-top: 2px solid transparent;
    border-radius: 100%
}

.preloader>.icon {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 25px;
    width: 10.6px;
    margin-top: -12.5px;
    margin-left: -5.3px;
    -webkit-animation: wink 1s ease-in-out infinite alternate;
    animation: wink 1s ease-in-out infinite alternate
}

.btn-custom{
	background-color:#ef7204; font-size:16px; padding:5px 8px; border-radius:3px; color:#fff;
}


.back-to-top {
  position: fixed;
  display: none;
  background:#155eca;
  color: #fff;
  padding: 6px 12px 9px 12px;
  font-size: 16px;
  border-radius: 100px;
  right: 15px;
  bottom: 15px;
  transition: background 0.5s;
}
@media only screen and (min-width:768px) {
    .preloader {
        height: 60px;
        width: 60px;
        margin-top: -30px;
        margin-left: -30px
    }
    .preloader:before {
        left: -2px;
        top: -2px;
        border-width: 2px
    }
    .preloader>.icon {
        height: 37.5px;
        width: 15.9px;
        margin-top: -18.75px;
        margin-left: -7.95px
    }
}

@media only screen and (min-width:1200px) {
    .preloader {
        height: 60px;
        width: 60px;
        margin-top: -30px;
        margin-left: -30px
    }
    .preloader>.icon {
        height: 50px;
        width: 21.2px;
        margin-top: -25px;
        margin-left: -10.6px
    }
}

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0);
        transform: rotate(0)
    }
    to {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg)
    }
}

@keyframes rotation {
    from {
        -webkit-transform: rotate(0);
        transform: rotate(0)
    }
    to {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg)
    }
}

@-webkit-keyframes wink {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

@keyframes wink {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}


/* Header
==================================================*/

header {
    text-align: right;
    -webkit-transition: all .5s;
    transition: all .5s;
    height: 65px;
	padding-right: 50px;
}

nav ul {
    display: inline-block;    
    list-style: none;
    padding: 25px;
	padding-left: 0;
	margin-left: 0;
    margin-bottom: 0;
    -webkit-transition: all .5s;
    transition: all .5s;
}

nav li {
    display: inline-block;
    margin: 10px;
}

nav li a {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #444;
    font-size: 16px;
    font-weight: bold;
}

.bg-nav {
    background: #fff;
    border-bottom: 1px solid #f3f3f3
}

.bg-nav ul {
    padding: 10px;
}

a{
	word-wrap: break-word;
}

a:focus {
	color: #555;
	text-decoration: none;
}

a:hover {
    color: #ef7204;
    text-decoration: none;
}

a.active {
    color: #ef7204;
}


/* home section
==================================================*/

#home {
    background: url(../img/home-bg-2.jpg);
    background-size: cover;
    height: 100vh;
}

.table-cell {
    display: table-cell;
    vertical-align: middle;
}

.disply-table {
    display: table;
    height: 100vh;
}


/* about section
==================================================*/

#about {

}

.about-img-div img {
    margin: 0 auto;
}

.about-border {
    position: absolute;
    border: 10px solid #ef7204;
    width: 400px;
    height: 400px;
    top: 40px;
    left: 50px;
    z-index: 1
}


/* experience section
==================================================*/

#experience {
    padding: 100px 0;
    background: #f3f3f3
}

.experience-row {
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

.experience-row h3 {
    font-family: 'Lato', sans-serif;
    text-transform: capitalize;
    letter-spacing: 2px;
    color: #ef7204;
    font-size: 16px;
    font-weight: bold
}

.experience-row p {
    color: #888;
    margin-top: 20px;
    font-size: 15px;
}

.experience-row .date {
    color: #000;
    font-size: 17px;
}

.timeline {
    padding-left: 0;
    list-style: none;
    position: relative;
}

.timeline:before {
    background-color: black;
    content: '';
    margin-left: -1px;
    position: absolute;
    top: 0;
    left: 2em;
    width: 2px;
    height: 100%;
}

.timeline-event {
    position: relative;
}

.timeline-event:hover .timeline-event-icon {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    background-color: #ef7204;
}

.timeline-event:hover .timeline-event-thumbnail {
    box-shadow: inset 40em 0 0 0 #ef7204;
}

.timeline-event-copy {
    padding: 2em;
    position: relative;
    top: -1.875em;
    left: 4em;
    width: 100%;
}

.timeline-event-copy h3 {
    font-size: 1.75em;
}

.timeline-event-copy h4 {
    font-size: 1.2em;
    margin-bottom: 1.2em;
}

.timeline-event-copy strong {
    font-weight: 700;
}

.timeline-event-copy p:not(.timeline-event-thumbnail) {
    padding-bottom: 1.2em;
}

.timeline-event-icon {
    -webkit-transition: -webkit-transform 0.2s ease-in;
    transition: -webkit-transform 0.2s ease-in;
    transition: transform 0.2s ease-in;
    transition: transform 0.2s ease-in, -webkit-transform 0.2s ease-in;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    background-color: #ef7204;
    outline: 10px solid #f3f3f3;
    display: block;
    margin: 0.5em 0.5em 0.5em -0.5em;
    position: absolute;
    top: 0;
    left: 2em;
    width: 1em;
    height: 1em;
}

.timeline-event-thumbnail {
    -moz-transition: box-shadow 0.5s ease-in 0.1s;
    -o-transition: box-shadow 0.5s ease-in 0.1s;
    -webkit-transition: box-shadow 0.5s ease-in;
    -webkit-transition-delay: 0.1s;
    -webkit-transition: box-shadow 0.5s ease-in 0.1s;
    transition: box-shadow 0.5s ease-in 0.1s;
    color: white;
    font-size: 12px;
    font-weight: bold;
    background-color: black;
    box-shadow: inset 0 0 0 0em #ef7204;
    display: inline-block;
    margin-bottom: 1.2em;
    padding: 0.25em 1em 0.2em 1em;
}


/* projects section
==================================================*/

#projects {
    padding: 100px 0;
}

.portfolio .categories-grid span {
    font-size: 30px;
    margin-bottom: 30px;
    display: inline-block;
}

.portfolio .categories-grid .categories ul li {
    list-style: none;
    margin: 20px 0;
}

.portfolio .categories-grid .categories ul li a {
    display: inline-block;
    color: #60606e;
    padding: 0 10px;
    margin: 0 14px;
    -webkit-transition: all .2s ease-in-out .2s;
    transition: all .2s ease-in-out .2s;
}

.portfolio .categories-grid .categories ul li a:hover,
.portfolio .categories-grid .categories ul li a:focus {
    text-decoration: none;
}

.portfolio .categories-grid .categories ul li a.active {
    background-color: #ef7204;
    padding: 0px 20px;
    color: white;
    text-decoration: none;
}

.portfolio_filter {
    padding-left: 0;
}

.portfolio_item {
    position: relative;
    overflow: hidden;
    display: block;
    margin-bottom: 30px;
}

.portfolio_item .portfolio_item_hover {
	position: absolute;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;
	background-color: #ef7204;
	-webkit-transform: translateY(100%);
	transform: translateY(100%);
	opacity: 0;
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
	color: #333;
}

.portfolio_item .portfolio_item_hover .item_info {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    padding: 10px;
    width: 100%;
    font-weight: bold;
}

.portfolio_item .portfolio_item_hover .item_info span {
    display: block;
    color: #fff;
    font-size: 18px;
    -webkit-transform: translateY(-100px);
    transform: translateY(-100px);
    -webkit-transition: all .3s ease-in-out .3s;
    transition: all .3s ease-in-out .3s;
    opacity: 0;
}

.portfolio_item .portfolio_item_hover .item_info em {
    font-style: normal;
    display: inline-block;
    background-color: #ef7204;
    padding: 5px 20px;
    color: #fff;
    margin-top: 10px;
    -webkit-transform: translateY(100px);
    transform: translateY(100px);
    -webkit-transition: all .3s ease-in-out .3s;
    transition: all .3s ease-in-out .3s;
    opacity: 0;
    font-size: 10px;
    letter-spacing: 2px;
}

.portfolio_item:hover .portfolio_item_hover {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

.portfolio_item:hover .item_info em,
.portfolio_item:hover .item_info span {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

.portfolio .categories-grid .categories ul li {
    float: left;
}

.portfolio .categories-grid .categories ul li a {
    padding: 0 10px;
    -webkit-transition: all .2s ease-in-out .2s;
    transition: all .2s ease-in-out .2s;
}

.portfolio_filter {
    padding-left: 0;
    display: inline-block;
    margin: 0 auto;
    text-align: center;
}

/*.portfolio_item img {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}*/

.portfolio-padding {
    padding: 50px 0;
}

.portfolio-inner {
	padding-bottom: 0 !important;
	padding-top: 10px;
}

.modal-content {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0);
    border: none;
}

.popup-modal {
    background: #fff;
}

.close-popup-modal {
    float: right;
    margin: 20px;
    font-size: 22px;
    opacity: 0;
    cursor: pointer;
    -webkit-transition: all .3s;
    transition: all .3s;
    -webkit-transition-delay: .6s;
    transition-delay: .6s;
    position: fixed;
    z-index: 100000;
    right: 14px;
}

.animatedModal-on .close-popup-modal {
    opacity: 1;
}

.modal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    line-height: 50px;
}
.back-to-top {
  position: fixed;
  /*display: none;*/
  background:#155eca;
  color: #fff;
  padding: 6px 12px 9px 12px;
  font-size: 16px;
  border-radius: 100px;
  right: 15px;
  bottom: 15px;
  transition: background 0.5s;
  z-index:999;
}

/* contact
==================================================*/

#contact {
	background: #ffffff;
}

#contact-form input,
#contact-form textarea {
    height: 50px;
    margin-bottom: 10px;
    border-radius: 0;
}

#contact-form label {
    display: block;
    margin-bottom: .2em;
    font-size: 13px;
    line-height: 13px;
    font-size: 1.3rem;
    line-height: 1.3rem;
    color: #000;
}

#contact-form label.error {
    margin-top: 10px;
    margin-bottom: 1em;
    font-size: 12px;
    line-height: 12px;
    font-size: 1.2rem;
    line-height: 1.2rem;
    color: #D33E43;
    margin-left: 10px
}

#contact-form input[type="text"].error,
#contact-form input[type="password"].error,
#contact-form input[type="date"].error,
#contact-form input[type="datetime"].error,
#contact-form input[type="datetime-local"].error,
#contact-form input[type="month"].error,
#contact-form input[type="week"].error,
#contact-form input[type="email"].error,
#contact-form input[type="number"].error,
#contact-form input[type="search"].error,
#contact-form input[type="tel"].error,
#contact-form input[type="time"].error,
#contact-form input[type="url"].error,
#contact-form textarea.error {
    border-color: #D33E43
}

textarea {
    resize: none;
}

fieldset {
    border: 0px;
    margin: 0;
    padding: 0
}

.required {
    color: #e9266d
}

#success,
#error {
    display: none
}

#success p,
#error p {
    display: block;
}

#success p {
    color: #ef7204;
    font-size: 15px;
    text-align: center;
    padding: 10px;
    border: 2px solid #ef7204;
    margin-top: 10px;
}

#error p {
    color: #D33E43;
    font-size: 15px;
    text-align: center;
    padding: 10px;
    border: 2px solid #D33E43;
    margin-top: 10px;
}

#submit {
    background-color: #ef7204;
    color: #fff;
    padding: 10px 40px;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    width: 100%;
}

.social {
    padding-left: 0;
    list-style: none;
    margin-top: 20px;
}

.social li {
    float: left;
}

.social li a {
    color: #333;
    font-size: 35px;
    margin-right: 15px;
    transition: all .3s;
    -webkit-transition: all .3s;
}

.social li a:hover {
    color: #ef7204;
}


/* Responsive media queries
==================================================*/

@media (max-width: 991px) {
    .portfolio .categories-grid .categories ul li a {
        padding: 0 2px;
    }
}

@media (max-width: 768px) {
    .timeline-event-copy {
        width: 90%;
        left: 2em;
    }
}

@media (max-width: 500px) {
    h1 {
        font-family: 'Playfair Display', serif;
        font-size: 50px;
        line-height: 50px;
    }
    #home,
    .disply-table {
        height: 600px;
    }
    .about-border {
        width: 265px;
    }
    .portfolio .categories-grid .categories ul li {
        list-style: none;
        margin: 10px 0;
    }
}

@media (max-width: 420px) {
    nav li {
        margin: 6px;
    }
    nav li a {
        font-size: 10px;
    }
}

	@media screen and (min-width: 748px) {
		/*.topnav li{
			display:inline
			float: left;
		}*/
		.hline{
			margin:20px 15px;
		}
		header .navbar-fixed-top{
		  display:block;
	  	}
		header{
		  text-align:right;		  
		  display:block;
		}
		header1{
		  display:none;
		  text-align:right;		  
		}
		#mtitle, #mstitle{
			display:none;
		}
		.table-cell h1,.table-cell h2{
		  display:block;
	  	}	
		/*.navbar-fixed-top{
			display:none;
		}*/
		.tdiv{
		  padding-top:70px;
	  	}
		.link-thumb{
			padding-top:20px;
		}
		.title-image{border:1px solid #ddd; margin-left:15px;}
		.tcol1{
		   padding-left:15px;
	  	}
		.tcol1 p{
		   padding:0px 15px;
	  	}
		.tcol2, .tcol3{
			min-height:170px;
		}
		.p-title{
		  position:absolute !important; bottom:0; margin-bottom:0px; padding:0px 15px; display:inline-block;
		}
	}
	.topnav .icon {
	  display: none;
	  margin-right:0px;
	  position: absolute;
	  right: 0px;
	  top: 0px;
	  padding-right:20px;
	  font-size:18px;
	}
	.tcol3 a{
		padding-right:10px;
	}
	#mstitle{
		font-size:11px;
		/*display:none;*/
		line-height:11px;
		padding:3px 0px 0px 6px;
		color:#115895;
		font-weight:600;
	}
	#mtitle{
		font-family: 'Playfair Display', serif;
		font-size:18px;	
		line-height:20px;	
		/*font-weight:600;*/
		/*color:#EF7204;*/
		/*color:#337ab7;*/
		color:#115895;
		margin-top:12px;
		padding:3px 0px 0px 6px;
		position:absolute;
		z-index:999;
		/*text-transform:uppercase;*/
	}
	.portfolio_item{
		/*border:1px solid #999;*/
	}
	.result-links{
		position:absolute; bottom:0; left:0; margin-bottom:0px; padding:0px 15px;
	}
	.title-image{border:1px solid #ddd;}
	.title-head{font-size: 13px; line-height: 15px;}
	.title-name{font-size: 20px; line-height: 30px;}
	.title-place{}
	.title-challenge{font-size: 12px; line-height: 12px !important; vertical-align:baseline;}
	
	/*.p-title{
		  position:absolute  bottom:0; margin-bottom:0px; padding:0px 15px; display:inline;
	}*/
	
	@media screen and (max-width: 747px) {
	  header .navbar-fixed-top{
		  display:none;
	  }
	  header1{
		  display:block;	
		  text-align:right;		  
	  }
	  header{
		  display:none;			  
	  }
	  .hline{
			margin:20px 0px;
	  }
	  .title-image{border:1px solid #ddd; margin-left:0px;}
	  .topnav li{display: none;}
	  header1{
		  text-align:left;
		  padding-right:20px;
		  height:40px;		  
		  background: url(../img/home-bg-mob.jpg) no-repeat;
    	  background-size: 100%;
	  }
	  .bg-nav {
		background: #fff;
		border-bottom: 1px solid #f3f3f3
	  }
	  nav ul{
		  padding-top:15px !important;
		  background-color:rgba(255,255,255,0.8);
	  }	  
	  .topnav a.icon,.topnav a.icon:hover {
		float: right;
		display: block;
		margin-top:6px;
		color:#337ab7;		
	  }
	  #mtitle{
			display:inline-block;
	  }
	  #mstitle{
		  position:absolute;
		  display:block;
	  }
	  header1 #navbarNav{
		 padding-top:40px;
		 width:110%;
		 /*background-color:rgba(255,255,255,0.8);*/
		 border-bottom:1px solid #ddd;
	  }	 
	  .table-cell h1,.table-cell h2{
		  display:none;
	  }
	  #home{
		 background: url(img/home-bg-mob.jpg) no-repeat;    	 
		 background-size: 100%;
		 max-height:250px;
	  }
	  #about, #contact{
		  padding-top:30px;
	  }
	  .tdiv{
		  padding-top:30px;
	  }
	  .link-thumb{
		  padding-top:10px;
	  }
	  .tcol2{
			min-height:130px;
	  }
	  .tcol3{
			min-height:80px;
	  } 
	  .tcol1 p{
		   padding:0px 0px;
	  }
	  .h-50{
		  /*height:25px;
		  max-height:25px;*/
	  }
	  .p-title{
	  	position:relative; left:0; margin-bottom:0px; padding:0px 15px; display:inline-block;
	  }
	  
	}
	
	@media screen and (max-width: 600px) {
	  .topnav.responsive {position: relative; width:100%;}
	  .topnav.responsive .icon {
		position: absolute;
		right: 0;
		top: 0px;
		padding-right:0px;				
	  }
	  nav.responsive ul{		
		 padding-top:40px !important;
		 padding-bottom:10px !important;
		 background-color:rgba(255,255,255,0.9);		 
	  }
	  .topnav.responsive li {
		float: none;
		display: block;
		text-align: right;
		padding-right:0px;
		/*background-color:rgba(255,255,255,0.5);*/
	  }
	}
	@media screen and (max-width: 992px) {
		/*.result-links{
			position:relative; bottom:0; left:0; margin-bottom:0px; 
		}*/
	}
	body,td,th {
	font-family: "Open Sans", sans-serif;
}