/* ExtraSmall devices (tablets, 767px and down) */

@media (max-width: 767px) {
	
	.flexslider{ text-align:center;}
	
	#home .section-title h1 {
		font-size: 33px;
		line-height: 36px;
		margin:0 0 10px 0;
		padding:0 0 10px 0;
		border-color: #666;
		letter-spacing:0;
		font-weight: 600;
	}
	#intro-loader {
		width: 18px;
		height: 18px;
		position: absolute;
		top: 107px;
		left: 40px;
		background: url("../img/intro-loader.gif");
	}
	#logo {
		position: absolute;
		top: 0px;
		left: 0px;
	}
	#btn_scroll {
		position: absolute;
		left: 0px;	
		bottom: 20px;		
	}
	#logo img {
		width: 200px;
		height: auto;
	}
	#btn_scroll a img {
		width: 26px;
		height: auto;
	}
	#home p.lead {
		font-size: 16px;
		line-height: 21px;
		margin: 0 0 25px;
	}
	.fullscreen-slider-arrow {
		bottom: 10px;
		margin-top: 0;
		top: auto;
		width: 23px;
		overflow: hidden;
	}
	#slider_left {
		left: 18px;
	}
	#slider_right {
		right: 18px;
	}
	h1 {
		font-size: 20px;
		font-weight: normal;
	}
	.navbar .show-menu {
		display: block;
	}
	.navbar-default .navbar-collapse, .navbar-default .navbar-form {
		border-color: #000;
	}
	.navbar-collapse {
		max-height: none;
		padding: 0;
	}
	.navbar-nav {
		margin: 0;
	}
	.navbar .nav > li {
		float: none;
	}
	.navbar .nav > li > a {
		padding: 0 20px;
		line-height: 40px;
		border-bottom: 1px solid #FFF;
		font-size: 12px;
	}
	.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
	.navbar-default .navbar-nav .open .dropdown-menu > li > a:focus{
		color:#fff;
	}

	.section-content {
		padding: 60px 0;
	}
	.section-title .line {
		display: none;
	}
	.section-title h1 {
		font-weight: normal;
		font-size: 48px;
		border-bottom: 1px solid #DEDEDE;
		line-height: 50px;
		margin: 0 0 8px;
		padding: 4px 0 5px 0;
	}
	.section-title .lead {
		margin: 25px 0 0 0;
	}
	.element-line {
		margin-top: 40px;
	}

	#ajaxpage .section-title h1 {
		font-size: 40px;
	}
	.mybutton.ultra a, 
	.mybutton.ultra button,
	.mybutton2.ultra a, 
	.mybutton2.ultra button{
		font-size: 13px;
		line-height: 40px;
	}
	.mybutton.ultra a span,
	.mybutton.ultra button span,
	.mybutton2.ultra a span,
	.mybutton2.ultra button span {
		padding: 0 25px;
	}

	.flexslider {
		text-align: center;
	}

	.pricing-5-col .pricing-box {
		width: 100%;
		margin: 0;
	}
	.pricing-5-col .pricing-box .pricing-featured {
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
		position: relative;
		margin: 0;
	}
	.pricing-5-col .pricing-box ul {
		border-right: solid 1px #eee;
	}
	.call-number {
		font-size: 40px;
		line-height: 65px;
		font-weight: 600;
	}
	
	.timeline-content #timeline .timeline-item, .timeline-content #timeline .timeline-item:nth-child(2n) {
		clear: both;
		float: none;
		margin-bottom: 0;
		width: 100%;
	}
	.timeline-content #timeline .timeline-item .post, .timeline-content #timeline .timeline-item:nth-child(2n) .post {
		margin: 140px 0 25px 0;
	}
	.timeline-content #timeline .timeline-item .post-info, .timeline-content #timeline .timeline-item:nth-child(2n) .post-info {
		left: 0;
		right: 0;
		margin: 0;
		top: -105px;
		width: 100%;
		background: none;
	}
	.timeline-content #timeline .timeline-item .post-info h5 {
		position: absolute;
		right: 0;
		top: 50px;
		font-size: 13px;
		text-align: right;
		margin: 0;
	}
	.timeline-content #timeline .timeline-item .post-info h5.info-date {
		left: 0;
		right: auto;
		text-align: left;
	}
	.timeline-content #timeline .timeline-item .post-info h5.info-date small{
		font-size: 100%;
	}
	.timeline-content #timeline .timeline-item .post-arrow, .timeline-content #timeline .timeline-item:nth-child(2n) .post-arrow {
		display: none;
	}

	#filters a {
		clear: both;
		display: block;
		margin: 12px auto;
		width: 80%;
	}
	#filters a span {
		width: 100%;
	}
	#portfolio-wrap .portfolio-item {
		width: 100%;
	}
	.project-media, .project-description {
		margin: 40px 0 0 0;
		text-align:center;
	}
	
	#map_canvas {
		height: 350px;
	}
	
}

/*
@media (max-width: 1024px) {
	h1 {
		font-weight: normal;
	}
	.item_top {
		top: 0;
		opacity: 1;
	}
	.item_left {
		left: 0px;
		opacity: 1;
	}
	.item_right {
		right: 0px;
		opacity: 1;
	}
	.item_bottom {
	bottom: 0;
	opacity: 1;
	}
	.item_fade_in {
		opacity: 1;
		right: 0px;
	}
	.parallax {
  	background-attachment: scroll !important;
    background-position: center top !important;
    height: auto;
    margin: 0 auto;
    width: 100%;
	}
}
*/

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.flexslider{ text-align:center;}
	#portfolio-wrap .portfolio-item {
		width: 50%;
	}
	.project-description{ text-align:center;}
	.navbar .nav > li > a{ padding:0 12px;}
	
	#home .section-title h1 {
		font-size: 80px;
		line-height:80px;
		font-weight: 600;
	}
	
	
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
	
	.flexslider{ text-align:left;}
	
	#home .section-title h1 {
		font-size: 110px;
		line-height: 100px;
		letter-spacing:-3px;
		font-weight: 400;
	}
	
	.project-description{ text-align:inherit;}
	.navbar .nav > li > a{ padding:0 15px;}
	.mybutton a, .mybutton button {
		-webkit-perspective: 1000px;
		-moz-perspective: 1000px;
		perspective: 1000px;
		letter-spacing: 0;
	}
	.mybutton a span, .mybutton button span {
		-webkit-transition: -webkit-transform 0.3s;
		-moz-transition: -moz-transform 0.3s;
		transition: transform 0.3s;
		-webkit-transform-origin: 50% 0;
		-moz-transform-origin: 50% 0;
		transform-origin: 50% 0;
		-webkit-transform-style: preserve-3d;
		-moz-transform-style: preserve-3d;
		transform-style: preserve-3d;
	}
	.mybutton a:hover span, .mybutton button:hover span {
		-webkit-transform: rotateX(90deg) translateY(-22px);
		-moz-transform: rotateX(90deg) translateY(-22px);
		transform: rotateX(90deg) translateY(-22px);
	}
	.csstransforms3d .mybutton a span::before, .csstransforms3d .mybutton button span::before {
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		height: 100%;
		content: attr(data-hover);
		-webkit-transition: background 0.3s;
		-moz-transition: background 0.3s;
		transition: background 0.3s;
		-webkit-transform: rotateX(-90deg);
		-moz-transform: rotateX(-90deg);
		transform: rotateX(-90deg);
		-webkit-transform-origin: 50% 0;
		-moz-transform-origin: 50% 0;
		transform-origin: 50% 0;
	}
	
	.mybutton2 a, .mybutton2 button {
	overflow: hidden;
	margin: 0 15px;
	}
	.mybutton2 a span, .mybutton2 button span {
		display: block;
		-webkit-transition: -webkit-transform 0.3s;
		-moz-transition: -moz-transform 0.3s;
		transition: transform 0.3s;
	}
	.mybutton2 a:hover span, .mybutton2 button:hover span {
		-webkit-transform: translateX(100%);
		-moz-transform: translateX(100%);
		transform: translateX(100%);
	}
	.mybutton2 a::before{
		position: absolute;
		top: 0;
		left: 0;
		z-index: -1;
		width: 100%;
		height: 100%;
		color: #fff;
		content: attr(data-hover);
		-webkit-transition: -webkit-transform 0.3s;
		-moz-transition: -moz-transform 0.3s;
		transition: transform 0.3s;
		-webkit-transform: translateX(-25%);
	}
	.mybutton2 a:hover::before{
		-webkit-transform: translateX(0%);
		-moz-transform: translateX(0%);
		transform: translateX(0%);
	}
	
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
	#portfolio-wrap .portfolio-item {
		width: 25%;
	}
	.pricing-box li h1 {
		font-size: 60px;
	}
}