/*
 Nome do Tema: O Melhor Creme do Mundo 
 */


/* ************************************** 
 *               MOBILE                 *
 *  iPhone, Tablets - (767px e menores) *
 ***************************************/  
  
@media (max-width: 739px) {
	
  p { margin: 0 0 5px; }
  
  #navigation-sticky-wrapper { height: auto !important; }
  .navbar.navbar-fixed-top { height: auto; }
  .navbar-collapse { min-height: auto !important; }
  .navbar .nav > li > a {
  	font-size: 14px;
  	line-height: auto;
  }

	.flexslider{ text-align:center;}
  #home p.lead { font-size: 16px; }
	
	#home .section-title h1 {
		font-size: 24px;
		line-height: 26px;
		margin:0 0 10px 0;
		padding:0 0 10px 0;
		border-color: #666;
		letter-spacing:0;
		font-weight: 600;
	}
  #home .section-title h1 i {
		font-size: 24px;
		line-height: 26px;
		letter-spacing:0px;
		font-weight: 600;
  }

	#home p.lead {
		font-size: 16px;
		line-height: 21px;
		margin: 0 0 25px;
	}
	.fullscreen-slider-arrow {
    margin-top: 0;
		width: 23px;
		overflow: hidden;
	}
	#slider_left {
		left: 18px;
        top:50%
	}
	#slider_right {
		right: 18px;
        top:50%;
	}
	
	.navbar .show-menu {
		display: block;
	}
  .navbar-brand {
    padding: 0;
    height: auto;
    float: left;
    width: 83%;
  }
	.navbar-brand img {
    width: 100%;
    height: auto;
    padding: 0 2px;
	}
	.navbar-default .navbar-collapse, .navbar-default .navbar-form {
		border-color: #000;
	}
	.navbar-collapse {
		max-height: none;
		padding: 0;
	}
  .navbar-fixed-top,
	.navbar-nav {
		margin: 0;
	}
	.navbar .nav > li {
		float: none;
	}
	.navbar .nav > li > a {
		padding: 0 20px;
		line-height: 40px;
		border-bottom: 1px solid #333;
		font-size: 12px;
		padding: 0 13px;
	}
	.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-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) {
	.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%;
	}
}

/* ************************************ 
 *              NARROW                *
 * iPAD, Tablets - (768px e maiores)  *
 *************************************/  
  
@media (min-width: 740px) {

  p { margin: 0 0 5px; }
  
  #home p.lead { font-size: 18px; line-height: 22px; }

	.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: 30px;
		line-height: 30px;
		font-weight: 600;
	}
  #home .section-title h1 i {
		font-size: 30px;
		line-height: 30px;
		letter-spacing:0px;
		font-weight: 400;
  }	
  #contactos .col-md-6 { min-height: 340px; }
  
  .mybutton.ultra a span,
  .mybutton.ultra button span,
  .mybutton2.ultra a span,
  .mybutton2.ultra button span { padding: 0 15px; }
  
  .mybutton.ultra a, .mybutton.ultra button {
    font-size: 16px;
    line-height: 40px;
    margin: 0 0 46px 0;
  }  
	.navbar-brand img,
  .navbar-brand {
    width: 316px;
    height: 50px;
    padding: 0 0 0 1px; 
  }

  #navigation-sticky-wrapper { height: 48px !important; }
  .navbar.navbar-fixed-top { height: 48px; }
  .navbar-collapse { min-height: 48px !important; }
  .navbar .nav > li > a {
  	font-size: 14px;
  	line-height: 48px;
  }

  .owl-theme .owl-next { right: -10px; }
  .owl-theme .owl-prev { left: -10px; }
  
  .node-content img { margin: 0 10px 10px 0; }
  
  .sidebar .element-line { margin-top: 15px; }
}  

/* ***************************************** 
 *              NORMAL                     *
 *  Desktops iPAD-Land - (992px e maiores) *
 ******************************************/  
  
@media (min-width: 979px) {
	
  body { line-height: 1.4em; font-size: 14px; }
  p { margin: 0 0 5px; }
  
  #home p.lead { font-size: 20px; }
  .section-content { padding: 20px 0; }
 
	.flexslider{ text-align:left;}
	
	#home .section-title h1 {
		font-size: 60px;
		line-height: 60px;
		letter-spacing:-3px;
		font-weight: 400;
	}
  #home .section-title h1 i {
  		font-size: 48px;
  		line-height: 50px;
  		letter-spacing: 0px;
  		font-weight: 400;
  }
	
	.project-description{ text-align:inherit;}
	.navbar .nav > li > a{ padding:0 15px;}
	.mybutton a, .mybutton button, .action .mybutton span:before,.form-actions .mybutton span:before {
		-webkit-perspective: 1000px;
		-moz-perspective: 1000px;
		perspective: 1000px;
		letter-spacing: 0;
	}
	.mybutton a span, .mybutton button span, .action .mybutton span,.form-actions .mybutton 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;
	}
	.webform-client-form .mybutton a:hover span,.webform-client-form .mybutton button:hover span,.webform-client-form .action .mybutton:hover span,.webform-client-form .form-actions .mybutton:hover span {
        -webkit-transform: none;
        -moz-transform: none;
        transform: none;
        cursor: pointer;
	}
    .mybutton a:hover span, .mybutton button:hover span, .action .mybutton:hover span,.form-actions .mybutton:hover span {
        -webkit-transform: rotateX(90deg) translateY(-22px);
        -moz-transform: rotateX(90deg) translateY(-22px);
        transform: rotateX(90deg) translateY(-22px);
        cursor: pointer;
    }
    .csstransforms3d .mybutton a span::before, .csstransforms3d .mybutton button span::before, .action .mybutton span::before,.form-actions .mybutton 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%);
	}
  .service-element{ text-align:inherit;}
	
  #composicao .col-md-6 { min-height: 391px; }
  #composicao .lead { display: none; }

  #o_que_e .col-md-offset-2 { margin-left: 0%; }
  #o_que_e .owl-item { width: 926px !important; }
  #o_que_e .col-md-8 { width: 100%; }

  #contactos .col-md-6 { min-height: 265px; } 

  .mybutton.ultra a span,
  .mybutton.ultra button span,
  .mybutton2.ultra a span,
  .mybutton2.ultra button span { padding: 0 15px; }
  
  .mybutton.ultra a, .mybutton.ultra button {
    font-size: 16px;
    line-height: 40px;
    margin: 0 0 46px 0;
  }  

	.navbar-brand img,
  .navbar-brand {
    width: 92%;
    height: auto;
    padding: 0 2px; 
  }
  #navigation-sticky-wrapper { height: 50px !important; }
  .navbar.navbar-fixed-top { height: 50px; }
  .navbar-collapse { min-height: 50px !important; }
  .navbar .nav > li > a {
  	font-size: 14px;
  	line-height: 50px;
  }

  .owl-theme .owl-next { right: -20px; }
  .owl-theme .owl-prev { left: -20px; }
  
  .node-content img { margin: 0 15px 10px 0; }
  
  .sidebar .element-line { margin-top: 20px; }
}
  
  
/* ******************************************* 
 *                  WIDE                     *
 *   Desktops Grandes - (1200px e maiores)   *
 ********************************************/  
  
@media (min-width: 1200px) {

  body { line-height: 1.4em; font-size: 17px; }
  #composicao p { font-size: 14px; }
  p { margin: 0 0 10px; }
  
  #home p.lead { font-size: 26px; }
  .front .section-content { padding: 40px 0 300px 0; }
  .front .parallax .section-content { padding: 90px 0; }
  .not-front .section-content { padding: 40px 0; }
  
	#home .section-title h1 {
		font-size: 60px;
		line-height: 50px;
		font-weight: 400;
    opacity: 0.7;
	}
  #home .section-title h1 i {
		font-size: 60px;
		line-height: 60px;
		letter-spacing:0px;
		font-weight: 300;
  }	

	#portfolio-wrap .portfolio-item {
		width: 25%;
	}
	.pricing-box li h1 { font-size: 60px; }
  
  #composicao .col-md-6 { min-height: 363px; }
  #composicao .lead { display: none; }

  #service { padding: 0 0 300px 0; }
  #service .section-title div span { display: none; }
  #service .element-line { margin-top: 20px; }
  
  #o_que_e .col-md-offset-2 { margin-left: 2%; }
  #o_que_e .owl-item { width: 1104px !important; }
  #o_que_e .col-md-8 { width: 97%; }
  .element-line { margin-top: 39px; }

  #contactos .col-md-6 { min-height: 265px; } 

  .mybutton.ultra a span,
  .mybutton.ultra button span,
  .mybutton2.ultra a span,
  .mybutton2.ultra button span { padding: 0 30px; }
  
  .mybutton.ultra a, .mybutton.ultra button {
    font-size: 20px;
    line-height: 60px;
    margin: 0 0 60px 0;
  }  
  
	.navbar-brand img,
  .navbar-brand {
    width: 100%;
    height: auto;
    padding: 0px 5px; 
  }

  #navigation-sticky-wrapper { height: 60px !important; }
  .navbar.navbar-fixed-top { height: 60px; }
  .navbar-collapse { min-height: 60px !important; }
  .navbar .nav > li > a {
  	font-size: 14px;
  	line-height: 60px;
  }
  
  .owl-theme .owl-next { right: -40px; }
  .owl-theme .owl-prev { left: -40px; }
  
  .node-content img { margin: 0 20px 20px 0; }

  .sidebar .element-line { margin-top: 30px; }
  
}