/*
 Theme Name:   Catanger Llamas (2017)
 Theme URI:    http://sort-it.biz
 Description:  Catanger Llamas theme
 Author:       Sort-IT
 Author URI:   http://sort-it.biz
 Template:     Lucid
 Version:      1.0.0
*/

/* Foo Gallery Fixes
-----------------------------------------------*/
@media screen and (min-width: 768px)
{	
	.foogallery-container a {
		width: 25%;
	}
}

/* Lucid Theme Fixes
-----------------------------------------------*/
@media screen and (max-width: 767px)
{	
	header#main-header div.container {
		text-align: center;
	}

	header#main-header a.mobile_nav {
		position: relative;
		left: 0;
		display: inline-block;
		border: none;
	}

	header#main-header div#social-icons,
	header#main-header div#search {
		display: none;
	}
}

/* Header
-----------------------------------------------*/
header#main-header {
	background-color: #ecb804;
	background-image: url('images/header_background.png');
	background-repeat: repeat-x;
	background-size: contain;
	border-bottom: none;
}

@media screen and (max-width: 767px)
{
	header#main-header {
		margin-bottom: 0!important;
	}
}

@media screen and (min-width: 768px)
{
	header#main-header {
		position: fixed;
		width: 100%;
		z-index: 100;
	}

	div#lower-header > div.container {
		padding-top: 144px;
	}
}

	header#main-header a.mobile_nav {
		background-color: #af0067;
		color: #fff;
		margin: 10px auto;
		padding: 15px 39px 15px 18px;
		text-shadow: none;
	}

		header#main-header a.mobile_nav > span {
			background-image: url('images/responsive_arrow.png');
			top: 18px;
		}

	header#main-header nav#top-menu {
		border-right: none;
	}

		header#main-header nav#top-menu ul#menu-header-top {
			visibility: visible;
		}

			header#main-header nav#top-menu ul#menu-header-top li > a {
				color: #fff;
				font-weight: normal;
				height: initial!important;
				margin: 25px 10px;
				padding: 10px 20px;
				text-shadow: none;
				transition: all 0.25s ease-in-out;
			}

				header#main-header nav#top-menu ul#menu-header-top li.current-menu-item > a { font-weight: inherit; }

				header#main-header nav#top-menu ul#menu-header-top li:nth-child(4n+1) > a { background-color: #af0067; }
				header#main-header nav#top-menu ul#menu-header-top li:nth-child(4n+2) > a { background-color: #d75600; }
				header#main-header nav#top-menu ul#menu-header-top li:nth-child(4n+3) > a { background-color: #790000; }
				header#main-header nav#top-menu ul#menu-header-top li:nth-child(4n+4) > a { background-color: #004e73; }
				
				header#main-header nav#top-menu ul#menu-header-top li > a:hover {
					background-color: #fff;
					box-shadow: none;
					color: #000;
				}

	header#main-header div#social-icons {
		border-left: none;
		border-right: none;
		float: right;	
		padding: 26px 0 0 10px;
	}

		header#main-header div#social-icons > a {
			color: #fff;
			display: inline-block;
			padding: 7px;
			text-decoration: none;
			text-shadow: 0 1px 4px rgba(75, 0, 0, 0.5);
			transition: all 0.25s ease-in-out;
		}

			header#main-header div#social-icons > a:nth-child(4n+1):hover { background-color: #af0067; }
			header#main-header div#social-icons > a:nth-child(4n+2):hover { background-color: #d75600; }
			header#main-header div#social-icons > a:nth-child(4n+3):hover { background-color: #790000; }
			header#main-header div#social-icons > a:nth-child(4n+4):hover { background-color: #004e73; }

	header#main-header div#search {
		border-left: none;
		float: right;
		padding: 25px 10px 0 0;
	}

		header#main-header div#search div#search-form {
			border: none;
			border-radius: 0;
			height: initial;
			padding-bottom: 6px;
		}

			header#main-header div#search div#search-form input#searchinput { margin-top: 6px; }			
			header#main-header div#search div#search-form input#searchsubmit { margin-top: 8px; }

div#lower-header {
	background-color: #fff5d1;
}

@media screen and (max-width: 767px)
{
	div#lower-header {
		padding-top: 50px!important;
	}
}

	div#lower-header div.container div#logo-area {
		margin-bottom: 0;
	}

		div#lower-header div.container div#logo-area > a > img {
			max-height: 140px;
		}

div#secondary-menu {
	border-bottom: none;
	border-top: none;
	margin-bottom: 40px;
	padding-bottom: 5px;
}

	div#secondary-menu:before {
		background-image: none;
	}

/*	div#secondary-menu nav#second-menu {
	}
*/
		div#secondary-menu nav#second-menu ul#menu-header-bottom {
			margin: 25px 0;
			visibility: visible;
		}
		
			div#secondary-menu nav#second-menu ul#menu-header-bottom li > a {
				font-weight: normal;
				height: initial!important;
				padding: 13px 10px;
				text-shadow: none;
			}

				div#secondary-menu nav#second-menu li.current-menu-item > a,
				div#secondary-menu nav#second-menu ul#menu-header-bottom li > a:hover {
					background-color: #ecb804;
					box-shadow: none;
					color: #fff;
					font-weight: inherit;
				}

/* Home
-----------------------------------------------*/
div.blurb-boxes {
	border: 1px solid #e5e5e5!important;
	margin-bottom: 10px!important;
	padding-bottom: 0!important;
	text-align: center;
}

	div.blurb-boxes:after {
		border-radius: 50%;
		box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.35)!important;
		content: " "!important;
		display: block!important;
		height: 3px!important;
		visibility: visible!important;
		width: 100%!important;
	}

	div.blurb-boxes div.et_pb_blurb.et_pb_blurb_position_left div.et_pb_blurb_content div.et_pb_blurb_container {
		vertical-align: middle!important;
	}

	div.blurb-boxes div.et_pb_column {
		border-right: 1px solid #e5e5e5!important;
		margin: 0!important;
	}

		div.blurb-boxes div.et_pb_column:last-of-type {
			border-right: none!important;
		}

			div.blurb-boxes div.et_pb_column div.et_pb_main_blurb_image {
				height: auto!important;
				width: 50px!important;
			}

				div.blurb-boxes div.et_pb_column div.et_pb_main_blurb_image img {
					height: 50px;
					width: auto;
				}

	div.blurb-boxes div.et_pb_column_1_2 { width: calc(50% - 1px)!important; }
	div.blurb-boxes div.et_pb_column_1_3 { width: calc(33% - 1px)!important; }
	div.blurb-boxes div.et_pb_column_1_4 { width: calc(25% - 1px)!important; }

/* Content
-----------------------------------------------*/
div#main-area {
	background-color: transparent;
	padding: 0;
}

	div#main-area article.entry {
		background-color: transparent;
		border: none;
	}

		div#main-area article.entry:before {
			background-image: none;
		}

		div#main-area article.entry div.post_content {
			padding: 0;
		}

			div#main-area article.entry div.post_content div.et_pb_section_0,
			div#main-area article.entry div.post_content div.et_pb_section_0 div.et_pb_row_0 {
				padding-top: 0;
			}

	div#main-area div#sidebar {		
		transition: box-shadow 0.2s ease-in-out;
	}

		div#main-area div#sidebar.locked {
			box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.25);
			overflow-y: scroll;
			position: fixed;
		}

		@media only screen and (min-width: 981px) 
		{
			div#main-area div#sidebar.locked {
				height: calc(100% - 300px);
				left: calc(50% + 180px);
				top: 175px;
			}
		}

		@media only screen and (max-width: 980px)
		{
			div#main-area div#sidebar.locked {
				height: calc(100% - 400px);
				left: calc(50% + 143px);
				top: 200px;
			}
		}

		div#main-area div#sidebar div.widget h4.widgettitle { 
			color: #fff;
			text-shadow: none;
		}

			div#main-area div#sidebar div.widget:nth-child(3n+1) h4.widgettitle { background-color: #790000; }
			div#main-area div#sidebar div.widget:nth-child(3n+2) h4.widgettitle { background-color: #d75600; }
			div#main-area div#sidebar div.widget:nth-child(3n+3) h4.widgettitle { background-color: #af0067; }

		div#main-area div#sidebar div.widget.widget_facebook_feed div.cff-wrapper,
		div#main-area div#sidebar div.widget.widget_trip_advisor div.TA_cdsratingsonlynarrow {
			padding: 25px 0;
		}

			div#main-area div#sidebar div.widget.widget_trip_advisor div.TA_cdsratingsonlynarrow div.cdsROW {
				margin: 0 auto!important;
			}

		div#main-area div#sidebar div.widget.widget_facebook_feed h4.widgettitle {
			background-color: #006db9!important;
		}

		div#main-area div#sidebar div.widget.widget_trip_advisor h4.widgettitle {
			background-color: #00af87!important;
		}

		/*div#main-area div#sidebar div.widget.widget_gallery {

		}*/

			div#main-area div#sidebar div.widget.widget_gallery a.widget_gallery_link {
				display: block;
				padding: 10px 0;
			}

				div#main-area div#sidebar div.widget.widget_gallery a.widget_gallery_link:after {
					clear: both;
					content: " ";
					display: block;
				}

				div#main-area div#sidebar div.widget.widget_gallery a.widget_gallery_link div.widget_gallery_image {
					background-position: center center;
					background-repeat: no-repeat;
					background-size: cover;
					display: block;
					float: left;
					height: 100px;
					margin-bottom: 5px;
					margin-right: 5px;
					width: calc(50% - 5px);
				}

/* Trip Advisor Certificates
-----------------------------------------------*/
.TA_certificateOfExcellence .widCOE {
	margin: 15px auto!important;
}

/* Contact Form
-----------------------------------------------*/
form.wpcf7-form {
	background-color: #af0067!important;
	border: 1px solid #e5e5e5!important;
	margin: 25px 0!important;
	padding: 25px!important;
}

	form.wpcf7-form label {
		color: #fff!important;
	}

	form.wpcf7-form input:not(.wpcf7-submit),
	form.wpcf7-form select,
	form.wpcf7-form textarea {
		background-color: rgba(255, 255, 255, 0.25)!important;
		border: 1px solid #e5e5e5!important;
		color: #fff!important;
		padding: 5px!important;
	}

	form.wpcf7-form select option {
		color: #000;
	}

	form.wpcf7-form textarea {
		min-height: 50px!important;
		max-height: 200px!important;
		width: calc(100% - 22px)!important;
	}

	form.wpcf7-form div.wpcf7-recaptcha {
		margin-bottom: 20px!important;
	}

	input.wpcf7-submit {
		background-color: rgba(255, 255, 255, 0.25)!important;
		border: 1px solid #e5e5e5!important;
		color: #fff!important;
		cursor: pointer!important;
		padding: 10px 25px!important;
		transition: all 0.2s ease-in-out!important;
	}

		input.wpcf7-submit:hover {
			background-color: #fff!important;
			color: #000!important;
		}

	div.wpcf7-response-output {
		padding: 20px 0 0!important;
		color: #fff!important;
	}

/* Footer
-----------------------------------------------*/
footer#main-footer:before {
	background-image: none;
}

	/*div#footer-bottom {
	}

		div#footer-bottom ul#bottom-menu {
		}*/

			div#footer-bottom ul#bottom-menu li.current-menu-item > a {
				font-weight: bold;
			}

/* Accommodation Table
-----------------------------------------------*/
table.llama-table {
	margin-bottom: 20px;
}

	table.llama-table th {
		background-image: url('images/patterns/table_head.png')!important;
		background-position: center center;
		background-repeat: repeat-x;
		background-size: contain;
		color: #fff;
		padding: 20px 10px;
		text-align: center;
	}

		table.llama-table th:nth-child(4n+1) { background-color: #af0067; }
		table.llama-table th:nth-child(4n+2) { background-color: #d75600; }
		table.llama-table th:nth-child(4n+3) { background-color: #790000; }
		table.llama-table th:nth-child(4n+4) { background-color: #004e73; }

	table.llama-table td {
		border: 1px solid #d7d7d7;
		padding: 10px;
		vertical-align: top!important;
	}

/* Gallery
-----------------------------------------------*/
div.gallery-cta {
	position: relative;
}

	div.gallery-cta:before {
		background-color: rgba(0, 0, 0, 0.35)!important;
		content: " "!important;
		display: block!important;
		height: 100%!important;
		left: 0!important;
		position: absolute!important;
		top: 0!important;
		width: 100%!important;
	}

div.grid-gallery section.grid-wrap ul.grid {
	margin-bottom: 10px!important;
}

	div.grid-gallery section.grid-wrap ul.grid li figure img {
		display: block!important;
	}

	div.grid-gallery section.grid-wrap ul.grid li:nth-child(4n+1) figure figcaption { background-color: #af0067!important; }
	div.grid-gallery section.grid-wrap ul.grid li:nth-child(4n+2) figure figcaption { background-color: #d75600!important; }
	div.grid-gallery section.grid-wrap ul.grid li:nth-child(4n+3) figure figcaption { background-color: #790000!important; }
	div.grid-gallery section.grid-wrap ul.grid li:nth-child(4n+4) figure figcaption { background-color: #004e73!important; }

	div.grid-gallery section.grid-wrap ul.grid li figure figcaption h3 {
		font-family: 'Open Sans', 'Arial', sans-serif!important;
		font-size: 14px!important;
	}

	div.grid-gallery ul.pagination span {
		border: none!important;
		color: #fff!important;
		font-family: 'Open Sans', 'Arial', sans-serif;
		font-size: 12px;
		padding: 5px 10px!important;
	}

		div.grid-gallery ul.pagination li:nth-child(4n+1) span { background-color: #af0067!important; }
		div.grid-gallery ul.pagination li:nth-child(4n+2) span { background-color: #d75600!important; }
		div.grid-gallery ul.pagination li:nth-child(4n+3) span { background-color: #790000!important; }
		div.grid-gallery ul.pagination li:nth-child(4n+4) span { background-color: #004e73!important; }

		div.grid-gallery ul.pagination li:first-of-type span,
		div.grid-gallery ul.pagination li:last-of-type span { margin: 0 10px!important; }

/* Pattern Dividers
-----------------------------------------------*/
.pattern-1, .pattern-2, .pattern-3, .pattern-4, .pattern-5, .pattern-6, .pattern-7, .pattern-8, .pattern-9, .pattern-10, .pattern-11, .pattern-12, .pattern-13, .pattern-14, .pattern-15, .pattern-16 {
	background-position: center center;
	background-repeat: repeat-x!important;
	background-size: contain!important;
	display: block;
	width: 100%;
}

.pattern-1 {
	background-image: url('images/patterns/pattern_1.jpg')!important;
	height: 30px;
}

.pattern-2 {
	background-image: url('images/patterns/pattern_2.jpg')!important;
	height: 30px;
}

.pattern-3 {
	background-image: url('images/patterns/pattern_3.jpg')!important;
	height: 30px;
}

.pattern-4 {
	background-image: url('images/patterns/pattern_4.jpg')!important;
	height: 20px;
}

.pattern-5 {
	background-image: url('images/patterns/pattern_5.jpg')!important;
	height: 20px;
}

.pattern-6 {
	background-image: url('images/patterns/pattern_6.jpg')!important;
	height: 20px;
}

.pattern-7 {
	background-image: url('images/patterns/pattern_7.jpg')!important;
	height: 30px;
}

.pattern-8 {
	background-image: url('images/patterns/pattern_8.jpg')!important;
	background-size: contain!important;
	background-repeat: no-repeat!important;
	height: 50px;
}

.pattern-9 {
	background-image: url('images/patterns/pattern_9.jpg')!important;
	height: 30px;
}

.pattern-10 {
	background-image: url('images/patterns/pattern_10.jpg')!important;
	height: 30px;
}

.pattern-11 {
	background-image: url('images/patterns/pattern_11.jpg')!important;
	height: 30px;
}

.pattern-12 {
	background-image: url('images/patterns/pattern_12.jpg')!important;
	height: 25px;
}

.pattern-13 {
	background-image: url('images/patterns/pattern_13.jpg')!important;
	height: 30px;
}

.pattern-14 {
	background-image: url('images/patterns/pattern_14.jpg')!important;
	height: 15px;
}

.pattern-15 {
	background-image: url('images/patterns/pattern_15.jpg')!important;
	height: 15px;
}

.pattern-16 {
	background-image: url('images/patterns/pattern_16.jpg')!important;
	height: 50px;
}

.pattern-block-1:before, .pattern-block-2:before, .pattern-block-3:before, .pattern-block-4:before, .pattern-block-5:before, .pattern-block-6:before, 
.pattern-block-1:after , .pattern-block-2:after , .pattern-block-3:after , .pattern-block-4:after , .pattern-block-5:after , .pattern-block-6:after   {
	background-position: center center;
	background-repeat: repeat-x;
	background-size: contain;
	content: " ";
	display: block;
}

.pattern-block-1:before, .pattern-block-1:after {
	background-image: url('images/patterns/pattern_1.jpg')!important;
	height: 30px;
}

.pattern-block-2:before, .pattern-block-2:after {
	background-image: url('images/patterns/pattern_2.jpg')!important;
	height: 30px;
}

.pattern-block-3:before, .pattern-block-3:after {
	background-image: url('images/patterns/pattern_3.jpg')!important;
	height: 30px;
}

.pattern-block-4:before, .pattern-block-4:after {
	background-image: url('images/patterns/pattern_4.jpg')!important;
	height: 20px;
}

.pattern-block-5:before, .pattern-block-5:after {
	background-image: url('images/patterns/pattern_5.jpg')!important;
	height: 20px;
}

.pattern-block-6:before, .pattern-block-6:after {
	background-image: url('images/patterns/pattern_6.jpg')!important;
	height: 20px;
}