/*
Theme Name: Celler Masroig
Theme URI: http://atipus.com/
Author: the Atipus team
Author URI: http://atipus.com/
Version: 1.0
Text Domain: cellermasroig
*/

/*
 * CSS Styles Celler El Masroig v1.0
 * Copyright 1998-2015 Atipus, S.A.
 */
@font-face {
	font-family: 'Domaine-Medium';
    src: url('fonts/DomaineDisplayWeb-Medium.eot');
    src: url('fonts/DomaineDisplayWeb-Medium.eot') format('embedded-opentype'),
		 url('fonts/DomaineDisplayWeb-Medium.woff') format('woff');
}

@font-face {
	font-family: 'tiefontello';
	src: url('fonts/tiefontello.eot?88026028');
	src: url('fonts/tiefontello.eot?88026028#iefix') format('embedded-opentype'),
		 url('fonts/tiefontello.woff?88026028') format('woff'),
		 url('fonts/tiefontello.ttf?88026028') format('truetype'),
		 url('fonts/tiefontello.svg?88026028#fontello') format('svg');
	font-weight: normal;
	font-style: normal;
}

body, html { height:100%; }
body { color:#808184;/* display:none;*/ font-size:16px; padding-top:1px; }

a { color:#231f20; outline:none; }
button { outline:none; }
strong,
.strong { color:#231f20; font-weight:normal; }
article strong { color:inherit !important; font-weight:bold; }

#intro { /*height:100%;*/ }
#intro { 
	/*background: url(images/cellermasroig-vinyes.jpg) no-repeat center center fixed; 
	-webkit-background-size: cover !important;
	-moz-background-size: cover !important;
	-o-background-size: cover !important;
	background-size: cover !important;*/
}

.flexbox-container {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;

    -webkit-justify-content: center;
    justify-content: center;

    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;

    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
	z-index: 9090;
}
.flexbox-container { cursor:pointer; }

h1 {
	color: #231f20;
	font-family: "Domaine-Medium", Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif;
	font-size: 60px;
	letter-spacing: -0.025em;
	line-height: 60px;
}
h2, .blogarticle h1 {
	color: #231f20;
	font-family: "Domaine-Medium", Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif;
	font-size: 20px;
	line-height: 26px;
}
h3 {
	color: #231f20;
	font-family: "Domaine-Medium", Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif;
	font-size: 14px;
	letter-spacing: 0.2em;
	line-height: 18px;
	
}
article h3 { text-align:center; text-transform:uppercase; }
h1, .h1, h2, .h2, h3, .h3 {
	margin-bottom: 1.2rem;
}

.flexbox-container h1 { color:#ffffff; }
.flexbox-container h3 { color:#ffffff; padding-top:18px;}
.flexbox-container > div { text-align:center; }
h3 + p { margin-top:30px; }
.col-md-12 h3 { margin-bottom:50px; }

@-webkit-keyframes blink {
	0% { opacity: 1; }
	50% { opacity: 0; }
	100% { opacity: 1; }
}

@-moz-keyframes blink {
	0% { opacity: 1; }
	50% { opacity: 0; }
	100% { opacity: 1; }
}

@-o-keyframes blink {
	0% { opacity: 1; }
	50% { opacity: 0; }
	100% { opacity: 1; }
}

.scroll-down img {
    -webkit-animation: blink 1s;
    -webkit-animation-iteration-count: infinite;
    -moz-animation: blink 1s;
    -moz-animation-iteration-count: infinite;
    -o-animation: blink 1s;
    -o-animation-iteration-count: infinite;
}

.scroll-down {
	position:absolute;
	bottom:50px;
	left:50%;
	margin-left:-18px;
	z-index:10090
}


.background {
    z-index: 1;
    position: fixed;
    width: 100%;
    top: 0;
    background-position: center center;
    background-size: cover;
    min-height: 600px;
    /*background-image: url(/assets/images/landscape.jpg);*/
}
.background-spacer {
	background-color:transparent;
    position: relative;
    z-index: 2;
    min-height: 600px;
}

.container-fluid.brown,
.navbar,
#contact {
    position: relative;
    z-index: 40;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}


.navbar { background-color:#fff; border-radius:0; padding:0; z-index:60; -webkit-backface-visibility:hidden; }
.navbar-brand { display:none; }
#nav-content { text-align:center; }
.collapse:after { content:""; display:table; clear:both; }
.navbar-nav .nav-link { color:#808184; padding-top:0; padding-bottom:0; }
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link:hover { color:#231f20; }
.navbar-nav .nav-item { display:block; float:none; text-align:center; width:100%; }
.navbar-nav .language-menu-item { display:inline-block; *display:inline; /* ie7 fix */ margin-bottom:25px; text-align:center; *zoom:1; /* hasLayout ie7 trigger */ width:auto; }
.navbar-nav .nav-item + .nav-item { margin-left:0; }
.navbar-nav .language-menu-item + .language-menu-item { margin-left:0 !important; }
.navbar-nav .current-menu-item a,
.navbar-nav .current-menu-item a:focus,
.navbar-nav .current-menu-item a:hover { color:#231f20; font-weight:bold; }
.navbar-fixed-top,
.navbar-fixed-bottom { position:fixed !important; z-index:1030 !important; }
.pull-right { float:none !important; }
.dropdown { padding-bottom:1.125rem; padding-top:0.750rem; }
.dropdown .nav-link { display:none; }
.dropdown-menu {
    position: relative;
    display: block;
    float: none;
    min-width: 100%;
    padding: 5px 0;
    margin: 2px 0 0;
    text-align: center;
    list-style: none;
    border:none;
    border-radius:0;
}
.dropdown-item { color:#808184; padding:0; }
.dropdown-item:focus,
.dropdown-item:hover { color:#231f20; background-color:inherit; }
.language-menu-item { text-transform:capitalize; }

#products { outline:none; }
.brown { background-color:#efebe9; padding-bottom:40px; padding-top:40px; }
.dark { background-color:#231f20; padding-bottom:40px; padding-top:40px; }
.bottles { padding-top:75px; }
.bottles p { min-height:50px; }
.bottles img { margin-left:auto; margin-right:auto; }
.bottles a { color:#808184; text-decoration:none; }
.bottles a:hover { opacity:.9; }
.bottles hr { background-color:#808184; border:none; height:1px; }
.bottles [class*='col-'] { margin-bottom:50px; }

.download-pdf { background-color:#231F20; border-radius:4px; color:#fff !important; display:inline-block; margin-top:25px; padding:16px 58px; transition:background-color .25s ease-in-out; -moz-transition:background-color .25s ease-in-out; -webkit-transition:background-color .25s ease-in-out; text-decoration:none !important; }
.download-pdf:hover,
.download-pdf:active/*,
.download-pdf:visited*/ { background-color:#fff !important; color:#231F20 !important; text-decoration:none; transition:background-color .25s ease-in-out; -moz-transition:background-color .25s ease-in-out; -webkit-transition:background-color .25s ease-in-out; }

#contact { background-color:#fff; outline:none; padding-bottom:40px; padding-top:20px; }
#contact .row [class*='col-'] { padding-top:30px; }

.social-networks {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	display: table;
	width: 80%;
}

.social-networks li {
	display: table-cell;
	position: relative;
	padding: 0 0.50rem;
	text-align: center;
}

.flexslider { border:none; margin-top:50px; margin-bottom:100px; }
.flex-direction-nav a {
    width: 50px;
    height: 50px;
}

.img-responsive { height:auto; /*padding-right:1.875rem; padding-left:1.875rem;*/ max-width:100%; }

#topcontrol {
    z-index: 42;
    background: #231f20;
    width: 30px;
    height: 30px;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    border-radius: 50px;
    position: fixed;
    bottom: -100px;
    right: 15px;
    cursor: pointer;
    -webkit-transition: all .7s ease-in-out;
    -moz-transition: all .7s ease-in-out;
    -o-transition: all .7s ease-in-out;
    -ms-transition: all .7s ease-in-out;
    transition: all .7s ease-in-out;
    overflow: auto;
}

#topcontrol:before {
    width: 30px;
    height: 30px;
    line-height: 30px;
    color: #FFF;
}

.tieicon-up-open:before {
    content: '\f005';
}

[class^="tieicon-"]:before,
[class*=" tieicon-"]:before {
    font-family: "tiefontello";
    font-style: normal;
    font-weight: normal;
    speak: none;
    width: 32px;
    height: 32px;
    display: inline-block;
    text-decoration: inherit;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 32px;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
    -o-transform: scale(1);
    text-rendering: optimizeLegibility;
    text-shadow: none;
}

.btn-reserva { display: inline-block; text-transform: uppercase; padding: 8px 16px; border: 1px solid #231f20; color: #231f20; font-family: "Domaine-Medium", Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif; font-size: 14px; letter-spacing: 0.2em; margin-top: 1em; }
.btn-reserva:hover,
.btn-reserva:focus { border-color: transparent; color: #231f20; text-decoration: none; }

/* Custom, iPhone Retina */ 
@media only screen and (min-width : 320px) {
	.social-networks { width:60%; }
}

/* Extra Small Devices, Phones */ 
@media only screen and (min-width : 480px) {
	.social-networks { width:45%; }
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {

	.navbar-brand { display:block; float:none; height:auto; font-size:inherit; left:0; line-height:normal; margin-right:0; padding-bottom:0; padding-top:0; position:absolute; top:20px;  }
	.navbar-brand > img { display:block; height:80px; width:80px; }
	#nav-content { position:relative; }
    .collapse { text-align:center; }
	.navbar-nav .nav-item { display:inline-block; *display:inline; /* ie7 fix */ *zoom:1; /* hasLayout ie7 trigger */ width:auto; }
	.navbar-nav .nav-item + .nav-item { margin-left:1.250rem; }
	.navbar-nav .nav-link { padding-top:1.125rem; padding-bottom:1.125rem; }
	.pull-right { bottom:0; float:none !important; position:absolute; right:0; top:0; }
	.dropdown-menu { position:absolute; display:none; min-width:160px; margin:0; margin-top:-1px; text-align: right; border:none; border-radius:0; }
	.dropdown-menu-right { right:-.9375rem; }
	.dropdown-item { padding:3px 20px; }
	.dropdown { padding-bottom:0; padding-top:0; }
	.dropdown .nav-link { display:block; }
	.navbar-nav .language-menu-item { margin-bottom:0; }

	#products .container { max-width:1600px; }
	.flexslider { margin-top:100px; }
	.social-networks { width:75%; }

	h1 { font-size:80px; line-height:80px; }
	h2, .blogarticle h1 { font-size:26px; line-height:32px; }
	h3 { font-size:16px; line-height:20px; }
	.flexbox-container h3 { padding-top:20px; }
	.col-md-12 h3 { margin-bottom:80px; }

    .btn-reserva { font-size: 16px; }
	
	.reveal-modal h2,
	.reveal-modal-like h2 { font-size:32px; line-height:38px; }
	.reveal-modal h3,
	.reveal-modal-like h3 { margin-bottom:.2rem; }
	.reveal-modal p,
	.reveal-modal-like p { margin-bottom: 1.1rem; }
	.reveal-modal h3 + p,
	.reveal-modal-like h3 + p { margin-top:0; }
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {

	h1 { font-size:120px; line-height:120px; }
	h2, .blogarticle h1 { font-size:32px; line-height:38px; }
	h3 { font-size:18px; line-height:22px; }
	.flexbox-container h3 { padding-top:25px; }

    .btn-reserva { font-size: 18px; }
	
	/*#productes { padding-bottom:80px; padding-top:80px; }*/
	.brown { padding-bottom:77px; padding-top:95px; }
	.bottles { padding-top:150px; }
	.bottles p { min-height:inherit; }
	.bottles [class*=' col-'] { margin-bottom:100px; }

	.social-networks { width:64%; }
	.reveal-modal h2,
	.reveal-modal-like h2 { font-size:36px; line-height:42px; }

	#contact { padding-bottom:70px; padding-top:70px; }
	#contact h3 { margin-bottom:20px; }
	#contact small { font-size:12px; }

}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {

	.social-networks { width:52%; }

}

.imgnoticies img {width: 100%; max-height: 320px}