/*
Theme Name: Cardelli
Author: Muhammad Raza Ali Khan
Author URI: http://lattice360.com/ | http://graftalks.blogspot.com/
Description: 
Version: 1.0
*/


/**
======================================================================
RESET
======================================================================
**/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, em, img, small, strong, sub, sup, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption,  tbody,  tfoot, thead, tr, th, td,
article,  aside, embed, footer, header, hgroup, menu, nav, section,  summary, audio,  video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section { display: block; }

body { line-height: 1; }

ol, ul { list-style: none; }
blockquote, q { quotes: none; }

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}


/**
======================================================================
GENERAL STYLING
======================================================================
**/

body {
	background-color: #fff;
	font-family: "Arial", sans-serif;
	font-size: 13px;
}

img { max-width: 100%; }
a { text-decoration: none; }
ul { list-style: none; }

p { 
	color: #707173; /* Light Gray */
	font-size: 1em; /* 13 / 13 */ 
	line-height: 1.6em;
	margin-bottom: 2.692307692307692em;
}

h1,
h2,
h3,
h4 {
	color: #811032; /* Corporate Maroon */
	font-weight: 700;
	padding-bottom: 10px;
	text-transform: uppercase;
}


/**
======================================================================
GENERAL CLASSES
======================================================================
**/

/**
----------------------------------------------------------------------
LAYOUT
----------------------------------------------------------------------
**/

.block-inner {
	margin: 0 auto;
	max-width: 880px;
}

.fl { float: left; }
.fr { float: right; }
.cb { clear: both; }
.oh { overflow: hidden; }
.db { display: block; }

/* TABLES */

.t-layout{
  display: table;
  width: 100%;
  height: 100%;
}

.t-row { display: table-row; }
.t-col { display: table-cell; }
.t-col-align-top { vertical-align: top; }
.t-col-align-mid { vertical-align: middle; }
.t-col-align-bot { vertical-align: bottom; }

/**
----------------------------------------------------------------------
ALIGNMENT
----------------------------------------------------------------------
**/

.tac { text-align: center; }

/**
----------------------------------------------------------------------
TYPOGRAPHY
----------------------------------------------------------------------
**/

.italic { text-style: italic; }

/**
----------------------------------------------------------------------
ICONS
----------------------------------------------------------------------
**/

.ic-phone,
.ic-location,
.ic-email,
.ic-globe {
	display: inline-block;
	margin-left: -23px;
	margin-right: 10px;
}

.ic-phone {
	background: url("../images/ic-phone.png") no-repeat;
	height: 12px;
	width: 12px;
}

.ic-location {
	background: url("../images/ic-location.png") no-repeat;
	height: 13px;
	width: 10px;
}

.ic-email {
	background: url("../images/ic-email.png") no-repeat;
	height: 8px;
	width: 12px;	
}

.ic-globe {
	background: url("../images/ic-globe.png") no-repeat;
	height: 12px;
	width: 12px;	
}

.social-icons li { display: inline-block; }

.ic-facebook {
	background: url("../images/social-icons-sprite.png") no-repeat;
	background-position: 1px -50px; 
	display: block;
	height: 25px;
	margin: 0 auto;
	text-indent: -9999px;
	width: 24px;
}

.ic-facebook-color a,
.ic-twitter a,
.ic-rss a {
	background: url("../images/social-icons-sprite.png") no-repeat;
	display: inline-block; 
	height: 25px;
	margin-right: 3px;
	text-indent: -9999px;
	width: 24px;
}

.ic-facebook-color a { background-position: 0 0; }
.ic-facebook-color:hover a { background-position: 0 -25px;  }

.ic-twitter a { background-position: -24px 0; }
.ic-twitter:hover a { background-position: -24px -25px; }

.ic-rss a { background-position: -48px 0; }
.ic-rss:hover a { background-position: -48px -25px; }


/**
======================================================================
HEADER
======================================================================
**/

/**
----------------------------------------------------------------------
TOPBAR
----------------------------------------------------------------------
**/

.topbar {
	background-color: #1a171b;
	border-top: 1px solid #d4d3d4;
	color: #666467;
	padding: 8px 0;
}

.topbar a {
	color: #fff;
	font-family: "Times New Roman", Georgia, serif;t
	font-size: 14px;
	font-style: italic;
}

.topbar a:hover { text-decoration: underline; }

/**
----------------------------------------------------------------------
LOGO
----------------------------------------------------------------------
**/

.mobile-logo { display: none; }

.logo {
	position: relative;
	top: -20px;
}

.logo a,
.mobile-logo a {
	background: url("../images/logo.jpg") no-repeat;
	border: none;
	height: 86px;
	margin-top: -20px;
	text-indent: -9999px;
	width: 86px;
}

/**
----------------------------------------------------------------------
NAVIGATION
----------------------------------------------------------------------
**/

.main-nav { 
	margin-bottom: 50px; 
	margin-top: 30px;
}

.main-nav li { display: inline-block; }

.main-nav li a {
	border-right: 1px solid #282629;
	color: #811032; /* Corporate Maroon */
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-top: 24px;
	padding: 20px;
	text-transform: uppercase;
}

.main-nav li:nth-child(3) a,
.main-nav li:last-child a { border-right: none; }

.main-nav li a:hover { text-decoration: underline; }

.main-nav .active-menu a { 
	color: #9c9e9f; 
	font-weight: 600;
}

.main-nav .active-menu a:hover {
	color: #9c9e9f;
	cursor: default;
	text-decoration: none;
}

/* NEWS BUTTON */

.news-btn-container { 
	padding-right: 10px;
	margin-top: 24px; 
}

.news-btn a { 
	color: #1a171b;
	display: block;
	font-family: "Times New Roman", Georigia, serif;
	font-size: 16px;
	font-style: italic;
	text-align: center;
}

.news-btn a:hover { text-decoration: underline; }

.news-btn a:before {
	background: url("../images/news-btn.png") no-repeat;
	content: "";
	display: block;
	height: 43px;
	width: 41px;
}




.galleryColumn {
    margin-top: 30px;
}

    .galleryColumn a {
        display: block;
    }

.devider {
    border-bottom: 22px solid #d9d9d9;

}

/**
----------------------------------------------------------------------
MOBILE NAVIGATION
----------------------------------------------------------------------
**/

.mobile-nav { display: none; }

.mobile-nav-btn a {
    background: url("../images/icon-menu.png") no-repeat center top;
    display: none;
    height: 22px;
    position: relative;
    top: 55px;
    text-indent: -9999px;
	width: 31px;
	
	-webkit-transition: background-color color 0.2s ease-in;
	-moz-transition: background-color color 0.2s ease-in;
	-ms-transition: background-color color 0.2s ease-in;
	-o-transition: background-color color 0.2s ease-in;
	transition: background-color color 0.2s ease-in;
}

.mobile-nav-btn { 
	margin-right: 25px; 
	margin-top: -22px;
}

.mm-list .active-menu { 
	background-color: #444;
	border-left: 5px solid #811032; /* Corporate Maroon */
	cursor: default;
}

.mm-list .active-menu a:hover { 
	background-color: #444; 
	color: #bbb;
	cursor: default;
}

.mm-list li a:hover { 
	background-color: #222; 
	color: #fff;
	
	-webkit-transition: background-color color 0.2s ease-in;
	-moz-transition: background-color color 0.2s ease-in;
	-ms-transition: background-color color 0.2s ease-in;
	-o-transition: background-color color 0.2s ease-in;
	transition: background-color color 0.2s ease-in;
}

/**
----------------------------------------------------------------------
HEADER IMAGE
----------------------------------------------------------------------
**/

.header-image { margin-bottom: 55px; }

.header-image img {
	border-bottom: 1px solid #373438;
	border-top: 1px solid #373438;
	padding: 10px 0;
}


/**
======================================================================
COMMON STYLING
======================================================================
**/

.our-family h2,
.our-production h2 { 
	border-bottom: 1px solid #373438; 
	margin-bottom: 25px;
}


/**
======================================================================
PERSON AREA
======================================================================
**/

.person-info { text-align: center; }

.person-info img {
	border: 10px solid #eceded;
	border-radius: 100px;
}


/**
======================================================================
FAMILY SLIDER SECTION
======================================================================
**/

/*.our-family-container { border: 1px solid #626063; }*/
.our-family { padding: 20px 15px; }

.family-slider { 
	margin-bottom: 25px; 
	position: relative;
}

.family-slider li { float: left; }

.family-slider li img {
	display: block;
	height: auto;
	width: 600px;
}

/**
----------------------------------------------------------------------
NEXT/PREV BUTTONS
----------------------------------------------------------------------
**/

a.prev, a.next {
	background: url("../images/slider-arrow-sprite.png") no-repeat transparent;
	display: block;
	height: 42px;
	position: absolute;
	top: 50%;
	margin-top: -21px;
	width: 42px;
}

a.prev { 
	background-position: 0 0;
	left: 10px;
}

a.next { 
	right: 10px; 			
	background-position: -42px 0; 
}

a.prev.disabled, a.next.disabled { cursor: default; }
a.prev span, a.next span { display: none; }


/**
======================================================================
FOOTER
======================================================================
**/

/**
----------------------------------------------------------------------
LOGO BG IMAGE
----------------------------------------------------------------------
**/

.logo-bg-image {
	position: absolute;
	right: 0;	
	margin-top: -165px;
}


footer {
	background-color: #841437; /* Corporate Maroon */
	border-bottom: 25px solid #1a171b;
	color: #fff;
	line-height: 1.5em;
	margin-top: 55px;
	/*margin-top: -237px;*/
	padding: 25px 0;
	position: relative;
}

footer h4 {
	color: #fff;
	font-weight: 700;
}

footer a { color: #fff ; }
footer a:hover { text-decoration: underline; }

.working-time li span {
	font-style: italic;
	font-weight: 700;
}

.follow-us { 
	margin-right: 100px;
	text-align: center; 
}


/**
======================================================================
INNER PAGE
======================================================================
**/

.wine-types-container { 
	background-color: #eceded; 
	margin: 45px 0 120px;
	padding: 40px 0;
}

.wine-types { 
	background-color: #eceded; 
	text-align: center;
}

.wine-types h3 {
	color: #000;
	font-family: "Times New Roman", Georgia, serif;
	font-size: 25px;
	text-transform: none;
}

.wine-types img { margin: 15px 0; }

.wine-types p { padding: 0 30px; }



/**
======================================================================
HOMEPAGE
======================================================================
**/

body,
html { height: 100%; }

.home-bg {
	background: url("../images/home-bg.jpg") no-repeat center center;
	-webkit-background-size: cover;
  	-moz-background-size: cover;
  	-o-background-size: cover;
	background-size: cover;
}

.home-bg .wrapper { height: 100%; }

.home-bg .topbar {
	background: transparent;
	border: none;
	color: #fff;
	font-size: 26px;
	margin-top: 15px;
}

.home-bg .restyling-container { /*height: 100%; padding-top:100px */ }

/**
----------------------------------------------------------------------
CARDELLI NAME
----------------------------------------------------------------------
**/

.cardelli-name {
	/*position: relative;*/
}

.cardelli-name h1 {
	background: url("../images/cardelli-name.png") no-repeat center center;
	height: 80px;
	position: absolute;
	left: 100%;
	/*top: 50%;*/
	top: 350px;
	/*margin-left: -130px;
	margin-top: -40px;*/
	text-indent: -9999px;
	width: 100%;
}

/**
----------------------------------------------------------------------
RESTYLING
----------------------------------------------------------------------
**/

.restyling {
	background-color: rgba(255, 255, 255, 0.5);
	padding: 30px;
	resize: both;
}

.restyling h2 {
	border-bottom: 1px solid #272426;
	color: #1a171b;
	font-family: "Times New Roman", Georgia, serif;
	font-size: 32px;
	font-style: italic;
	font-weight: 700;
	margin-top: 30px;
	text-transform: none;
}

.restyling p {
	color: #1a171b;
	font-size: 14px;
	margin-top: 18px;
}

.more-btn {
	color: #93117e; /* Dark Pink */
	font-size: 14px;
}

.more-btn:hover { text-decoration: underline; }

/**
======================================================================
MDDIA QUERIES
======================================================================
**/

@media (max-width: 991px) {
	
	/* MOBILE NAVIGATION */
	.mobile-nav-btn a,
	.mobile-nav { display: block; }

	/* NAVIGATION */
	.main-nav { display: none; }

	.mobile-logo a,
	.mobile-logo { 
		display: block; 
		margin: 20px auto;
	}

	.working-time,
	.follow-us,
	.contact-us {
		border-bottom: 1px solid #68132e; /* Dark Maroon */
		padding: 20px 0;
		text-align: center;
	}

	.follow-us { margin-right: 0; }

	.contact-us { 
		border-bottom: none;
		text-align: center; 
	}

	.our-production img { 
		display: block;
		margin: 0 auto;
	}

	.social-icons-container { margin-bottom: 40px; }

	.person-info p { padding: 0 170px; }

	.cardelli-name h1 { left: 20%; }
	
}

@media (max-width: 768px) {

	.logo-bg-image {
		height: auto;
		margin-top: -118px;
		width: 200px;	
	}
	
}

@media (max-width: 640px) { 

	.person-info p { padding: 0 100px; } 
	
	/*.restyling-cols { width: 60%; }*/

	.cardelli-name h1 { 
		top: 0;
		left: 0;
		position: static;
		margin-top: 20px;
		margin-bottom: 10px;
	}

	.restyling-cols { 
		text-align: center;
		width: 100%; 
	}
}


@media (max-width: 480px) {
	
	.logo-bg-image {
		margin: -120px auto 0;
		position: static;
	}

	.social-icons-container { text-align: center; }
	.person-info p { padding: 0 20px; }

	.restyling-cols { width: 80%; }
	
}

@media (max-width: 390px) {
	
	.restyling-cols { width: 100%; }

	.cardelli-name h1 {
		margin-bottom: 10px;
	}

}


/*GALLERYY*/


#slider {
	position: relative;
	width: 596px;
	margin: 0px auto 20px auto;
    top: 0px;
    left: 6px;
    height: 80px;
}

#slider .viewer {
	width: 590px;
	height: 78px;
	overflow: hidden;
	margin: 0 auto;
}

#slider .viewer .reel {
	display: none;
	height: 300px;
}

#slider .viewer .reel .slide {
	position: relative;
	width: 590px;
	height: 300px;
}
