/** CONTENT FULL **/
.cms404_content_background{	
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	background-position:  center;
	height: 150px;
}

.cms404-productdiv .lead,
.cms404-contentdiv .lead{
	font-size: 1.2rem;
	margin-top: 15px;
	margin-bottom: 15px;
	text-align: justify;	 		
}


.cms404-content-date{
	font-size: 0.85rem;
	margin-bottom: 15px;
	color: #999;
}

.cms404-contentdiv .fullcontent{
	font-size: 1rem;	
	line-height: 1.5em;	
}

.fullcontent table{
	border: 0 !important;
	width:  100%;
}

.fullcontent table tr th{
	background-color: #00aeef;
	color: #fff;
	padding: 1em;
	font-size: 16px;
	text-align: center

}
.fullcontent table tr:nth-of-type(even):not(:first-child){
	background-color: #fff;
}

.fullcontent table tr:nth-of-type(odd):not(:first-child){
	background-color: #f5f5f5;
}

.fullcontent table tr td:last-child{
	width: 30%;
}

.fullcontent table td{
	padding: 1em;
	font-size: 16px;
}

.cms404-productdiv h1, 
.cms404-contentdiv h1{
	margin-top: 15px;
	padding-bottom: 15px;	
	font-weight: 700;
	position: relative;
	font-size: 36px;
}

.cms404-productdiv h2, .cms404-productdiv h3,
.cms404-contentdiv h3, .cms404-contentdiv h2{
	font-size: 24px;
	margin-top: 15px;
	padding-bottom: 15px;	
	font-weight: 700;
	position: relative;
}
/** FILES */
.cms404_file_row{
	margin-bottom: 15px;
}

.cms404_file_row:hover{
	background-color: #9d6a1c !important;
	color: #fff !important;
}

.cms404_file_row:hover .cms404_file_name a{
	color: #fff !important;
}

.cms404_file_name{
	padding: 15px;	
}

.cms404_file_name strong{
	text-transform: uppercase;
}

.cms404_file_name a{
	font-weight: 700;
	font-size: 20px;
	margin-bottom: 5px;
}

.cms404_file_name span{
	font-size: 14px;
}

.cms404_file_download {
	right: 0;
	top: 0;
	height: 100%;
	width: 80px;
	z-index: 5;
	background-color: rgba(0,0,0,0.2);
}

.cms404_file_download i{
	right: 0;
	position: relative;
	color: #fff;
	top: 50%;
	transform: translateY(-50%);
	line-height: 40px;
	font-size: 20px;
	
}
div.cms404_file_row:nth-of-type(even){
	background-color: #f1f1f1;
}

div.cms404_file_row:nth-of-type(odd){
	background-color: #f5f5f5;
}

/** CONTENT LIST */

.cms404_content_list_item{
	border: 1px solid #f5f5f5;
	position: relative;
	max-height: 350px;
	overflow: hidden;
}

.cms404_content_list_image{
	display: inline-block;
	width: 100%;
	max-height: 350px;
	float: left;
	overflow: hidden;	
}

.cms404_content_list_image img{
	object-fit: cover;
	height: auto;
}

.cms404_content_list_content h3{
	font-weight: 700;
	font-size: 18px;
}
.cms404_content_list_content .lead{
	font-size: 14px;
	height: 140px;
	overflow: hidden;
	margin-bottom: 15px;
}
.cms404_content_list_content{
	display: inline-block;
	float: left;
	width: 50%;
	padding: 15px;
	background-color: #fff;
}

.cms404_content_list_content{
    display: inline-block;
    float: left;
    width: 70%;
    padding: 21px;
    background-color: #fff;
    position: absolute;
    max-height: 300px;
    top: 25px;
    bottom: 25px;
    right: 0;
}

/** CONTENT COLLAPSE **/
.cms404-collapse{
	display: block;
	width: 100%;		
}

.cms404-collapse-header{
	font-size: 1.5em;
	position: relative;
	padding: 1.5rem;
	background-color: #f5f5f5;
}

.cms404-collapse-button{
	position: absolute;
	right: 20px;
	top: 29px;
}

/** CONTENT PORTFTOLIO **/

.cms404-content-portfolio{
	padding-top: 15px;
}

.cms404-content-portfolio-img{
	position: relative;
}

.cms404-content-portfolio-img .cms404-text-overflow{
	position: absolute;
	bottom: 0;
	margin-left: 6%;
	margin-right: 6%;	
	
}
.cms404-text-overflow h1{
	background-color: #00aeef;
	color: #fff;
	display: block;    
	margin: 0;
	padding: 20px;
}

.cms404-text-overflow .lead{	
	background-color: #fff;		
	color: #000;
	text-align: left;	
}

.cms404-content-portfolio .shortcut,
.cms404-content-portfolio .fullcontent{
	margin: 0 6% 0 6%;
	padding: 0 !important;
}


/** CONTENT TAILS **/
/** OFERTA **/
.cms404_offer{    
   margin-top: 20px;
}
.cms404_friend .h3{
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
   text-overflow: ellipsis;
   white-space: nowrap;
    overflow: hidden;
    padding-left: 10px; 
    padding-right: 10px;
}
.cms404_offer .h3{
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    text-overflow: ellipsis;
    white-space: nowrap;  
    overflow: hidden;
    padding-left: 10px; 
    padding-right: 10px;
}

.cms404_offer .img{  
    position: relative;
    border: 12px solid #f5f5f5;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
   
    border-top: 0;
}

.cms404_friend .img{
    position: relative;
    border: 1px solid #969593;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;   
    border-top: 0;
}

.cms404_offer .img:before, .cms404_friend .img:before{
    content:  '';
    display: block;
    height: 3px;   
    width: 100%; 
    position: absolute;
    left: 0px;
    z-index: 2;   
}

.cms404_offer .cms404_offer_link, .cms404_friend .cms404_friend_link{
    position: relative;
    z-index: 2;
    display: block;
    width: 70%;
    margin: 0 auto;
    max-width: 186px;
    font-size: 16px;
    text-transform: uppercase;
    font-style: normal;
    font-weight: 500;
    padding: 5px 0;
    margin-top: -24px;
    background: #00aeef;
    color: #fff !important;
}

.cms404_friend .cms404_friend_link{
    font-size: 12px;
   } 

.cms404_offers{
    margin-bottom: 2em;
}   


/** STICKY NAVIGATION NEXT / PREV **/

.cms404-sticky{
	position: absolute;
	height: auto;
	width: auto;	
	overflow: hidden;
	z-index: 20;
	text-align: center;			
	background-color: #00aeef;
	top: 350px;
	transition: top 0.4s ease-out;
}

.cms404-sticky-right:hover .cms404-sticky-arrow{
	margin-right: 10px;	
}

.cms404-sticky-left:hover .cms404-sticky-arrow{
	margin-left: 10px;
}


.cms404-sticky .cms404-sticky-arrow,
.cms404-sticky a{
	color: #fff;
	text-decoration: none;
}		
.cms404-sticky .cms404-sticky-arrow{		
	display: block;	
	float: left;
	padding: 0 10px 0 10px;	
	margin-top: 5px;
	margin-bottom: 4px;
	transition: margin-right 0.3s ease, margin-left 0.3s ease;
}

.cms404-sticky-text{
	position: relative;
	background-color: #000;
	display: block;	
	color: #fff;
	float: left;
	padding: 10px;		
	transition: all 0.3s ease-in;
}

.cms404-sticky-left{		
	left: 0;
}

.cms404-sticky-right{	
	right: 0;	
}
/** PORTFOLIO LISTING **/

.cms404-folio{
	width: 100%;		
	height: auto;
	display: block;
	/*max-height: 365px;	*/
}

.cms404-folio a{
	font-size: 14px;
}

.cms404-folio-title{	
	width: 43.5%;
	background-color: #000;	
	height: 365px;		
	color: #fff;	
	padding: 100px 50px 50px 80px  ;
}

.cms404-folio-title h4{	
	font-weight: bold;
	font-size: 32px !important;	
}

.cms404-folio-tag{
	font-size: 14px;
	color: #c5c5c5;
	max-width: 262px;
}

.cms404-folio-img{
	width: 56.5%;
	max-height: 365px;	
	position: relative;	
	overflow: hidden;
}

.cms404-folio-img .image {
	display: block;	
	max-width: 550px;
}

.cms404-folio-text{		
	background-color: #00aeef;
	font-size: 14px;
	color: #fff;	
	position: absolute;
	top: 365px; left: 0; right: 0; bottom: 0;
	height: 100%; width: 100%;		
	transition: top .4s ease;
}

.cms404-folio-text p{
	display: block;
	position: absolute;
	top: -10%;	
	opacity: 0;	
	padding: 100px 50px 50px 80px  ;
	transition:  opacity .4s ease, top .2s  ease;
}

/** CONTENT GALLERY **/

.cms404-gallery-short .cms404_gallery_item {
	border-right: 1px solid #f5f5f5;
}
.cms404_gallery_item{		
	position: relative;	
	text-align: center;
}

.cms404_gallery_item_name{
	font-size: 0.85rem;
	line-height: 1rem;
	border-top: 1px solid #f5f5f5;
	padding: 15px;
}

.cms404-gallery-more{
	position: absolute;
	top: 40%;
	transform: translateY(-50%);	
	left: 50%;
	transform: translateX(-50%);
}

.cms404-gallery-full{
	margin-bottom: 15px;
}



.cms404_paging{    
    font-size: 14px;
    line-height: 14px;
    border-top: 1px solid #f5f5f5;
}

.cms404_paging_active{
    font-weight: bold;
    text-align: center;
    width: 30px;
    display: inline-block;
}

.friendart .h2{
    color: #383531;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.5em;      
    position: relative; 
}

.friendart .h2:after{
    content:  '';
    display: block;
    background-color: green;
    width: 70px;
    height: 2px;
    margin-top: 10px;
}


.modal-content{
	border-radius: 0;
}


.tooltip .arrow:before{
	border-top-color:  #00aeef !important;
	border-bottom-color:  #00aeef !important;
}

.tooltip{	
	opacity: 1 !important;
}

.tooltip-inner{
	font-size: 14px;
	padding: 1.5em;
	background-color: rgba(0,174,239,1);
	opacity: 1 !important;
	max-width: 50vw;
}
