/* PAGE BUILDER */


/*
 1. 
 2. 
 3. 
 4. 
 5. 
 6. 
 7.
 8.
 9.
 
 



img.size-fullwidth {
	margin: 15px auto;
} */
.pb_image_full_width {
	text-align: center;
}
.pb_image_full_width img {
	margin: 15px auto;
}

/*
 * IMAGES TWO UP
*/
.pb_images_two_up {
	width: 100%;
	overflow:hidden;
	padding-top: 15px;
	padding-bottom: 15px;
	/*
	border-top: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
	*/
}
.pb_images_two_up.narrow {
	width: 80%;
	margin-left:10%;
	margin-right:10%;
	
}
.images_two_up-img1, .images_two_up-img2 {
	width:100%;
	margin: 10px 0;
	float:none;
}

@media only screen and (min-width:400px) {
    .images_two_up-img1, .images_two_up-img2 {
        float: left;
		width: 49%;
    }
	.images_two_up-img1 {
		margin-right: 2%;
	}
}


/*
 *
 * Image left Aligned
 * 
 */
.page-builder-image-left-aligned {
	clear: both;
	    overflow: auto;
}
.page-builder-image-left-aligned img {
	float: left;
    margin: 0 20px 10px 0;
}


/*
 *
 * Image Right Aligned
 * 
 */
.page-builder-image-right-aligned {
	clear: both;
	    overflow: auto;
}
.page-builder-image-right-aligned img {
	float: right;
    margin: 0 0 10px 20px;
}


/*
 *
 * Gallery
 * 
 */

 ul.page-builder-gallery {
	width: 100%;
 }
ul.page-builder-gallery.narrow {
	width: 84%;
    margin: 0 8%;
 }
ul.page-builder-gallery li {
	float:left; width: 31.3333%; margin:1%; list-style: none;
}
 
 
/*
 *
 * Pullquote
 *
 */
blockquote {
    margin: 0 0 0 20px;
    border-left: 3px solid #ccc;
    padding-left: 40px;
}

/*
 *
 *VIDEO
 *
 */
.videowrapper {
	width: 100%;
    max-width: 100%;
   /* max-width: 710px;*/
    clear: both;
    margin: 15px auto;
	text-align: center;
}
.videowrapper img.image-overlay {
	width: 100%;
	height: auto;
	-moz-transition: all .3s ease;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}
.videowrapper.narrow {
	width: 80%;
    max-width: 80%;
    clear: both;
    margin: 15px auto;
}
.video-button {
	position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('images/video-play.png') no-repeat 50% 50%; opacity: 0.5;
	-moz-transition: all .3s ease;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}
.videowrapper a {
	-moz-transition: all .9s ease;
    -webkit-transition: all .9s ease;
    transition: all .9s ease;
}
.videowrapper:hover a {
	transform: scale(1.05);
	-moz-transition: all .6s ease;
    -webkit-transition: all .6s ease;
    transition: all .6s ease;
}
.videowrapper:hover .video-button {
	opacity: 1;
}
.video-holder {
    background: black url(images/preloader.gif) center center no-repeat;
    background-size: 50px 50px;
}
.video-holder {
    position: relative;
    overflow: hidden;
}


/*
 *
 *
 * FILE
 *
 * */
a.page-builder-file {
	border: 1px solid #999;
	padding: 10px 14px 10px 40px;
	text-decoration: none;
	color: #333;
	font-size: 13px;
	text-transform: uppercase;
	background: url('images/download-icon.png') no-repeat 8px -26px;
	margin: 20px 0;
	display: inline-block;
	border-radius:4px;
	-moz-transition: all .3s ease;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}
a.page-builder-file:hover {
	border: 1px solid #666;
	color: #111;
	background: url('images/download-icon.png') no-repeat 8px 3px;
}

a.page-builder-file span {
	color: #999;
	font-style: italic;
	text-transform: lowercase !important;
}



/*
 *
 * GALLERY
 *
 * */
.page-builder-gallery {
	clear: both; padding-left: 0; margin: 0; margin-bottom: 0;
}
.gallery figure {
    margin: 0;
}
.gallery-item a {
	width: 100%;
	display: block;
	/*
	height: 250px;
	*/
	-moz-transition: all .3s ease;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}
.gallery-item a:hover {
	opacity: 0.8;
	cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
    cursor: zoom-in;
	transform: scale(1.1); */
}



 
 /* table page builder  */
 
  table.page_builder_table {
	font-family: inherit;
    width: 99%;
    display: table;
    color: #404040;
    text-align: left;
    font-style: normal;
    font-size: 14px;
    line-height: 1.4em;
    color: #222;
    border: 0;
    margin-bottom: 20px;
    border-collapse: collapse;
}
table.page_builder_table.narrow {
    width: 78%;
	margin: 20px 10%;
}/*
.narrow {
    width: 78%;
	margin: 20px 10%;
}*/
/*
.dropcap .narrow {
    width: 78%;
	margin: 20px 10%;
}*/
/* zebra rows 
table.page_builder_table tr:nth-child(2n+1) {
    background-color: #f2f2f2;
    color: #737373;
}
*/
table.page_builder_table th {
    font-weight: bold;
    font-size: 14px;
    text-align: left;
    padding: 5px;
    padding-left: 9px;
    background: #fff;
    text-transform: uppercase;
    color: #222;
}
table.page_builder_table td {
   border: 2px solid white;
    padding-left: 9px;
    text-align: left;
}
table.page_builder_table td:nth-child(2), td:nth-child(3), td:nth-child(4), td:nth-child(5), td:nth-child(6) {
    font-weight: normal;
    font-size: 14px;
    text-align: left;
    padding: 5px;
    color: #737373;
}






blockquote.page_builder_pullquote.left {
    color: #6e6e6e;
    font-size: 21px;
    line-height: 1.5;
    font-style: italic;
    float: left;
    width: 100%;
    text-align: left;
    padding: 30px 0;
    border-top: 1px solid #ccc;
    border-bottom: 2px solid #ccc;
    border-left: 0;
    margin: 20px 0 40px;
}
blockquote.page_builder_pullquote.right {
    color: #6e6e6e;
    font-size: 21px;
    line-height: 1.5;
    font-style: italic;
    float: right;
    width: 100%;
    text-align: right;
    padding: 30px 0;
    border-top: 1px solid #ccc;
    border-bottom: 2px solid #ccc;
    border-left: 0;
    margin: 20px 0 40px;
}

@media only screen and (min-width:760px) {
	
	blockquote.page_builder_pullquote.left {
		color: #604A3F;
		font-size: 24px;
		line-height: 1.5;
		font-style: italic;
		float: left;
		width: 30%;
		margin: 10px 50px 10px 0;
		text-align: right;
		padding: 0;
		padding-right: 40px;
		border: none;
		border-right: 2px solid #ccc;
    }
	
	blockquote.page_builder_pullquote.right {
		color: #6e6e6e;
		font-size: 24px;
		line-height: 1.5;
		font-style: italic;
		float: right;
		width: 30%;
		margin: 10px 0 10px 50px;
		text-align: left;
		padding: 0;
		padding-left: 40px;
		border: none;
		border-left: 2px solid #ccc;
    }
}

.pb_introtext {
	clear:both;
    font-family: 'Raleway', sans-serif;
    font-size: 28px;
    font-weight: 300;
    color: #333;
    font-style: normal;
    letter-spacing: 0;
    line-height: 1.3;
    text-align: center;
   /*
    * padding: 30px 0;
    margin: 20px 10% 40px;
    */
    padding: 0;
    margin: 0 10% 0;
    width: 80%;
    float: left;
	/*
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	*/
}



/*
 *  4. textblock
 *
 */

.pb_textbox {
    padding: 5px 0 0;
	width:100%;
	overflow: hidden;
	/* added this in for one-line of text on VP that had scrollbars */
}
.pb_textbox.narrow {
    padding: 5px 0 0;
    width: 100%;
    margin: 0;
}
@media only screen and (min-width:900px) {
    .pb_textbox.narrow {
        padding: 5px 0 0;
        width: 80%;
        margin: 0 10%;
    }
}
.pb_textbox p {
	width:100%;
}

/* drop cap */
.pb_textbox.dropcap  p:first-child:first-letter {
	font-family: 'Raleway', sans-serif;
    letter-spacing: 0;
    text-transform: uppercase;
    /*color: #604a3f;*/
    font-size: 69px;
    float: left;
    font-weight: 500;
    margin: 10px 8px 0 0;
    line-height: 0.66;
}
.villa-pliniana .pb_textbox.dropcap  p:first-child:first-letter {
	font-family: 'Cinzel', sans-serif;
    /*color: #604a3f;*/
    font-size: 69px;
}
@media only screen and (min-width:900px) {
    .pb_textbox.dropcap  p:first-child:first-letter {
        font-size: 59px;
    }
	
    .villa-pliniana .pb_textbox.dropcap  p:first-child:first-letter {
        font-size: 56px;
    }
}

@media only screen and (min-width:800px) {
    .twocols {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
        -webkit-column-gap: 40px;
        -moz-column-gap: 40px;
        column-gap: 40px;
        /*
        -webkit-column-rule: 1px solid lightgrey;
        -moz-column-rule: 1px solid lightgrey;
        column-rule: 1px solid lightgrey;
        */
        padding-right: 20px;
		padding-bottom: 20px !important;
    }
}
.pb_textbox ul {
	padding: 0;
	margin-bottom: 25px;
    /*margin-right: 10px;*/
}
.pb_textbox ul li {
	margin-bottom: 7px;
	font-family: 'Raleway', sans-serif;
    color: #666;
    line-height: 1.3;
}

.pb_textbox ul li:first-child {
	margin-top: 7px;
}

.pb_textbox ul li {
    list-style-image: url('images/dot.jpg');
	vertical-align: text-top;
}
/*
.twocols ul li {
	list-style-position: inside;
}
*/
/




h2.pb_heading_h2 {
	padding:0;
	display: block;
    margin: 59px auto 20px;
}
/*
h2.pb_heading_h2:before {
width: 0;
display: inline-block; 
padding: 0;
margin-right: 0;
text-indent: 0;
content:"";
background: none;
}
h2.pb_heading_h2:after {
width: 0;
display: inline-block; 
padding: 0;
margin-left: 0;
text-indent: 0;
content:"";
background: none;
}
*/





/*
 *
 *
 * NOT SURE ABOUT THIS   ??????
.container {
	width: 90%;
	max-width: 980px;
	margin:0 auto;
}

*/


		#blocks-homepage {
            width: 100%;
            max-width: 1500px;
            margin:18px auto;
            padding:10px 0;
            overflow: auto;
        }/*
		.blocks3, .blocks4 {
			margin: 30px auto 50px;
		}*/
        .blocks3 .block-homepage {
            float: left;
            width: 100%;
            margin: 0 0 10px 0;
            background: #888;
            position: relative;
            text-align: center;
            -moz-transition: all .3s ease;
            -webkit-transition: all .3s ease;
            transition: all .3s ease;
			height: 300px;
        }
		.blocks4 .block-homepage {
            float: left;
            width: 100%;
            margin: 0 0 10px 0;
            background: #888;
            position: relative;
            text-align: center;
            -moz-transition: all .3s ease;
            -webkit-transition: all .3s ease;
            transition: all .3s ease;
        }
		
        @media only screen and (min-width:600px) {
            .blocks3 .block-homepage {
                float: left;
                width: 32.9%;
				margin: 0 0.65% 0 0;
                background: #888;
                position: relative;
                text-align: center;
                -moz-transition: all .3s ease;
                -webkit-transition: all .3s ease;
                transition: all .3s ease;
				height: 330px;		
            }
        }
		@media only screen and (min-width:500px) {
            .blocks4 .block-homepage {
                float: left;
                width: 49.15%;
                margin: 0 0.666% 0.666% 0;
                background: #888;
                position: relative;
                text-align: center;
                -moz-transition: all .3s ease;
                -webkit-transition: all .3s ease;
                transition: all .3s ease;
            }
        }
		@media only screen and (min-width:900px) {
            .blocks4 .block-homepage {
                float: left;
                width: 24.5%;
                margin: 0 0.666% 0 0;
                background: #888;
                position: relative;
                text-align: center;
                -moz-transition: all .3s ease;
                -webkit-transition: all .3s ease;
                transition: all .3s ease;
            }
        }
        .block-homepage:hover {
			cursor: pointer;
		}
        .block-homepage:hover div.overlay {
            opacity: 0.3;
            -moz-transition: all .3s ease;
            -webkit-transition: all .3s ease;
            transition: all .3s ease;
        }
        .block-homepage img {
            width: 100%;
            height: auto;
            display: block;
        }
        .block-homepage:last-child {
            margin:0 0 0 0;
        }
		.block-homepage:last-child:after {
			clear: both;
		}
        .block-homepage-details {
            position: absolute;
            top: 65%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 100;
			width: 70%;
            -moz-transition: all .3s ease;
            -webkit-transition: all .3s ease;
            transition: all .3s ease;
        }
        .block-homepage-details p {
			font-family: 'Raleway', sans-serif;
            font-style: normal;
			font-weight: 600;
            color: #fff;
            font-size: 22px;
            line-height: 34px;
            text-align: center;
            margin: 0 auto 10px !important;
            width: auto;
			text-transform: uppercase;
        }
		.villa-pliniana .block-homepage-details p {
			font-family: 'Cinzel', serif;
		}
        .block-homepage-details a.block-homepage-cta {
			display: inline-block;
			font-family: 'Raleway', sans-serif;
            font-size: 15px;
            text-transform: uppercase;
            text-decoration: none;
            border-radius: 5px;
            color: #fff;
            font-weight: 600;
            background: rgba(96,74,63,0.7);
            padding: 5px 13px 5px;
            -moz-transition: all .3s ease;
            -webkit-transition: all .3s ease;
            transition: all .3s ease;
			margin-top: 50px;
			opacity: 0;
        }
        .block-homepage:hover a.block-homepage-cta {
			margin-top: 5px;
			opacity: 1;
			cursor: pointer;
        }
		.block-homepage:hover .block-homepage-details {
            top: 50%;
            -moz-transition: all .3s ease;
            -webkit-transition: all .3s ease;
            transition: all .3s ease;
        }
		
		
	a.PB-button {
		display: inline-block;
		width: auto;
		padding: 5px 10px;
		border: 1px solid #333;
		border-radius: 2px;
		color: #333 !important;
		font-size: 15px;
		font-weight: 600;
		text-transform: uppercase;
		letter-spacing: 1px;
		text-align: center;
		margin: 20px 14%;
		-moz-transition: all .3s ease;
        -webkit-transition: all .3s ease;
        transition: all .3s ease;
		text-decoration: none;
		white-space: nowrap;
	}
	a.PB-button.inline {
		margin: 8px 5px;
	}
	a.PB-button:hover {
		background: #333;
		color: #fff !important;
		text-decoration: none;
	}
	
		
		