/*
Theme Name: Casanova
Theme URI: http://themeforest.net/user/freshface/portfolio
Description: Premium WordPress Theme
Author: FRESHFACE
Author URI: http://themeforest.net/user/freshface/portfolio
License: Go to the "license" folder
License URI: Go to the "license" folder
Text Domain: casanova
Tags: light, dark, one-column, two-columns, right-sidebar
Version: 1.3.4
*/

/*

WORDPRESS DEFAULT INSERT IMAGE CLASSES

*/

.alignnone {
	margin: 5px 20px 0 0 !important;
	display: inline-block !important;
}

.aligncenter{
	display: block;
	margin: 5px auto 0 auto !important;
}

.alignright {
	float: right;
	margin: 5px 0 30px 20px !important;
	max-width: 100%;
}

.alignleft {
	float: left;
	margin: 5px 20px 30px 0 !important;
	max-width: 100%;
}

.sticky 	{
	border: 5px solid #666666 !important;
	padding: 30px;
}

.wp-caption.alignnone {
	margin: 5px 0 30px 0;
}

.wp-caption.alignleft {
	margin: 5px 20px 30px 0;
}

.wp-caption.alignright {
	margin: 5px 0 30px 20px;
}

.wp-caption     {
	width: auto !important;
	font-style: italic;
}

.wp-caption-text    {
	font-size: 14px;
	margin: 0 0 20px 0;
	padding: 0;
}

.gallery-caption {
	font-size: 11px;
	line-height: 17px;
	padding: 0 15px;
}

.bypostauthor 	{
	border: 1px solid transparent;
}

/*

 THEME

 */

.section-map textarea,
#comment-form textarea{
	width: 100%;
}

.post iframe{
	max-width: 100%;
}

/*

VC FIXES

 */

.accordion-content .wpb_content_element:last-child{
	margin-bottom: 0;
}

.wpb_wrapper .flexslider{
	border: none;
	-webkit-box-shadow: 0px 0px 0px 0px transparent;
	box-shadow: 0px 0px 0px 0px transparent;
}

.wpb_wrapper .theme-default .nivoSlider{
	-webkit-box-shadow: 0px 0px 0px 0px transparent;
	box-shadow: 0px 0px 0px 0px transparent;
}

.accordion.toggles{
	padding-top: 0;
	margin-bottom: 5px;
}
.accordion.toggles:first-child{
	padding-top: 5px;
}

.accordion.toggles .accordion-content{
	padding: 10px 0 15px;
	margin-bottom: 10px;
}

.wpb_row{
	margin-bottom: 20px;
}

/*

REVSLIDER

 */

.tp-banner-container .button{
	max-width: 9999px;
}

.section.section-revslider{
	padding-top: 0;
}

.section.section-revslider > div{
	position: relative;
}

.section.section-revslider > .section-background-block{
	position: absolute;
}

/*

SECTION BACKGROUNDS

*/

.section-background-block{
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
	overflow: hidden; /* <video> overflow to sidebar fix */
}

.section-background-block.background-image{
	background-size: cover;
}

.section-background-block.background-fixed{
	background-attachment: fixed;
}

.section-background-block.background-youtube-video .mbYTP_wrapper{
	width: 100%;
	height: 100%;
}

.section-background-block.background-url-video video{
	width: 100%;
	position: absolute;
	top: -50%;
}


/*

SECTION SPECIAL

*/

.section-divider{
	padding-top: 0;
}

.section-divider .separator{
	margin-bottom: 0;
}


/* UNIT TEST */

.post-content:after {
   content: " "; /* Older browser do not support empty content */
   visibility: hidden;
   display: block;
   height: 0;
   clear: both;
}

.post-content iframe  {
	max-width: 100%;
}

.post-content img  {
	max-width: 100%;
	height: auto;
}

.post-content table   {
  width: 100%;
  margin: 26px 0 26px 0;
}

.post-content thead   {
  border-bottom: 1px solid #666666;
  border-top: 1px solid #666666;
  font-weight: 400;
}

.post-content th  {
  padding: 10px 9px;
  font-weight: 700;
  color: #272727;
  text-align: left;
}

.dark .post-content th  {
	color: #ffffff;
}

.post-content tbody tr  {
  border-bottom: 1px solid #666666;
}

.post-content tbody tr:nth-child(2n+1) td,
.post-content tbody tr:nth-child(2n+1) th  {
  background-color: rgba(0,0,0,0.03);
}

.post-content td  {
  padding: 7px 9px 7px 9px;
}

.post-content ul,
.post-content ol   {
	margin: 20px 0;
	padding: 0 0 0 40px;
}

.post-content ul   {
	list-style: disc;
}

.post-content ol   {
	list-style: decimal;
}

.post-content .wp-caption  {
	max-width: 100%;
}





