/*
 Theme Name:   Sanifit Theme
 Theme URI:    http://www.it2b.es
 Description:  Safinit Theme based on Themify Ultra Child Theme
 Author:       IT2B
 Author URI:   http://www.it2b.es
 Template:     themify-ultra
 Version:      1.0.0
 Text Domain:  sanifit-theme
*/

/** HEADER **/
body:not(.fixed-header-on):not(.transparent-header) #headerwrap{ 
  position: fixed !important;
}
#headerwrap.fixed-header #main-nav li{ padding: 0; }

.main-slogan-txt{ padding-top: 50vh; }
td p {
  padding: 0;
}
.themify_builder_content .module-title {
  text-align: center;
  font-size: 2em;
   margin: 0.4em 0 0.6em;
    padding: 0 0 0;
}
.header-top-bar.fixed-header-on #site-logo img {
   height: auto;
}
.fa.fa-linkedin {
    background-color: transparent !important;
}
.post-title a {
    color: #003f80 
}
.single-post .post-date, .archive .post-date {
  background: #003f80 none repeat scroll 0 0 !important;
  font-family: open sans;
}
.header-top-bar .social-links .icon-medium i {
    font-size: 21px;
}
.social-widget div.rss a {
    background-color: #003f80 !important;
}
.themify_builder_row .row-slider-nav {
display: none;
}
.ui.module-accordion .accordion-title a, .ui.module-accordion .accordion-title a:hover{
color: #003f80;
}
.post-nav .arrow, .post-nav a:hover span{ color: #003f80; }
#sidebar{ 
  border-left: 1px solid #000000;
  padding-left: 12px;
}
.news-page p{
  padding-bottom: .5em;
}
.upcoming-events strong{ color: #003f80; }
.past-events strong{ color: #88d1f4; }
.aboutus h3 {
    font-size: 2em;
    margin:  0;
    text-align: center;
}
.aboutus p {
    padding-bottom:1em;
}
/*
Main slider
*/
@media screen and (max-width: 1440px) {
	.background-half {
		background-size: 50%;
	}
}
/*
Footer widget area
*/
@media screen and (min-width: 769px) {
	#footerwrap {
		position: relative;
	}
	.position-widget {
		position: absolute;
		top: 45px;
		left: 5%;
	}
}


/* Form Modal */
.modal {
    display: none; 
    position: fixed; 
    z-index: 11;
    padding-top: 15vh;
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4); 
}

/* Modal Content */
.modal-content {
	position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    width: 85%;
	max-width: 1280px;
	height: 100%;
	max-height: 70vh;
}
.text-wrap {
	position: relative;
	max-height: 80%;
	overflow: auto;
	color: #000;
	text-align: left;
}
.modal-footer {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 15%;
	background-color: #f2f2f2;
	padding: 20px;
	text-align: right;
	color: #000;
}
@media screen and ( max-width: 480px ) {
	.modal-footer * {
		margin: 0;
		font-size: 12px;
	}
	.modal-footer p {
		line-height: 1.5em;
	}
}
#disapprove,
#disapprovenewsletter {
	background-color: #aaa;
}
/* The Close Button */
span.closemodal,
span.newsletterclosemodal {
	position: absolute;
	top: 20px;
	right: 20px;
	color: #666;
}
.closemodal:hover,
.closemodal:focus,
.newsletterclosemodal:hover,
.newsletterclosemodal:focus{
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
.newsletter-form input {
	max-width: 100%;
}
@media screen and ( min-width: 681px ) {
	.newsletter-form {
		display: flex;
		justify-content: center;
	}
	.newsletter-form .fields-wrap {
		margin-right: 3.2%;
	}
	.newsletter-form input {
		min-height: 35px;
	}
}
/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
}
.tooltip .tooltiptext {
    visibility: hidden;
    width: 300px;
    background-color: #f2f2f2;
    color: #000;
	font-size: 13px;
    padding: 10px;
    border-radius: 3px;
    position: absolute;
	top: calc( 100% - 1em );
    left: 50%; 
    margin-left: -75px; 
    z-index: 1;
	list-style: none;
	opacity: 0;
	transition: all .3s;
}
.tooltip:hover .tooltiptext {
    visibility: visible;
	opacity: 1;
}

