/*
Theme Name: TFMS
Description: Child Theme for tfms.ro
Version: 1.0
Author: Vija Robert 
Author URI: https://startsmalldigital.com/
Template: enfold
*/



/*Add your own styles here:*/


/* ---------------
 *     Tipography *
 * -------------- */
body, p {
font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    line-height: 1.7143;
}

b, strong {
	color:black;
}


/*

@media only screen and (max-width: 480px) {	


}

@media only screen and (min-width: 480px) and (max-width: 767px) {
h1 {
		font-size:22.5px;
	}
}

@media only screen and (min-width: 767px) and (max-width: 989px ) {
h1 {
		font-size:22.5px;
	}

	
}

@media only screen and (min-width: 989px ) and (max-width: 1140px ) {
h1 {
		font-size:25px;
	}

	
}

@media only screen and (min-width: 1140px) and (max-width: 1340px ) {
	h1 {
		font-size:27.5px;
	}
		

}

@media only screen and (min-width: 1340px) {
	h1 {
		font-size:30px;
	}

}
*/





/*----------
 *   HEADER *
 * --------- 
.html_header_top.html_header_sticky #top #wrap_all #main {
	padding-top:170px;
}

.header-scrolled + #main {
    top: -100px;
    position: relative;
}
*/

#header_meta .container {
    min-height: 41px;
}

#header_meta{
	background:#1e1e1e !important;
}
#top .social_bookmarks {
	padding-top:5px;
}

.av_phone_active_left .phone-info {
	padding-top: 10px !IMPORTANT;
    color: white !important;
	font-weight: 300;
	font-size:15px;
}


#header ul.social_bookmarks:before {
	color:white;
	font-weight: 300;
    content: '';
    float: left;
	padding-right:5px;
    line-height: 30px;
}

#top .social_bookmarks li{
	border:none !important;
}


/*@media only screen and (min-width: 767px) {
#top #header_main > .container {
	height: 100px !important;
line-height: 100px !important;
}
}*/

/*.html_header_top .av_bottom_nav_header #header_main_alternate .main_menu ul:first-child > li > a {
	height: 80px;
	line-height:80px;
}
#header #header_main_alternate .container {
    max-height: none;
    height: 80px;
}
*/

#header_main .avia-menu-text {
    text-transform:uppercase;
	position:relative;
}

.html_header_top.html_bottom_nav_header #header_main_alternate .main_menu {
    margin-top: 5px;
    margin-bottom: 5px;
}
/*
.header-scrolled #header_main .av-logo-container {
    display: none;
}

.header-scrolled #header_meta {
	display:none;
}

/*.header-scrolled .container, .main_menu ul:first-child > li a {
	 top: -20px;
}

.header-scrolled .html_header_top .av_bottom_nav_header #header_main_alternate .main_menu ul:first-child > li > a {
	height: 40px;
	line-height:40px;
}

.header-scrolled #header #header_main_alternate .container {
    height: 40px;
}*/

@media only screen and (min-width: 767px) {
#avia-menu li a :before{
	border-top: solid 1px #303030;
    border-left: solid 1px #303030;
    top: -10px;
    left: -15px;
}
#avia-menu li a :after {
border-right: solid 1px #303030;
    border-bottom: solid 1px #303030;
    right: -15px;
    bottom: -10px;
}


#avia-menu li a :before, #avia-menu li a :after{
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    visibility: hidden;
    opacity: 0;
}
#top #header #avia-menu > li:hover > a span.avia-menu-text:before {
	 visibility: visible !important;
    opacity: 1 !important;
	transition: all 0.4s;
}
#top #header #avia-menu > li:hover > a span.avia-menu-text:after {
	 visibility: visible !important;
    opacity: 1 !important;
	transition: all 0.4s;
}
}

@media only screen and (min-width: 768px){
.av_phone_active_left .phone-info {
    padding-left: 15px;
}
}

/* ------
 * ---- Header Widget ----
 * ------------- */
@media only screen and (max-width: 768px){
	.header-widget-full {
    margin-left: 20px;
    float: none;
    display: flex;
    height: 60px;
}
	#top .iconbox_left_content .iconbox_icon, #top .iconbox_right_content .iconbox_icon {
width: 40px;
    height: 40px;
    font-size: 24px;
    line-height: 35px;
    border-radius: 0;
    text-align: center;
    margin-right: 10px;
}
	.header-widget-full .iconbox .iconbox_content .iconbox_content_title {
    font-size: 12px;
	}
}


@media only screen and (max-width: 480px) {	
.header-widget-full .iconbox .iconbox_content p:last-child {
	font-size:10px;
}
	#top .iconbox_left_content .iconbox_icon, #top .iconbox_right_content .iconbox_icon {
    margin-right: 5px;
}
	

}

@media only screen and (min-width: 480px) and (max-width: 767px) {
	.header-widget-full .iconbox .iconbox_content p:last-child {
	font-size:13px;
}
	#top .iconbox_left_content .iconbox_icon, #top .iconbox_right_content .iconbox_icon {
    margin-right: 5px;
}


}


@media only screen and (max-width: 989px) and (min-width: 768px) {
	.iconbox_left_content .iconbox_content {
		overflow:inherit;
	}
	
	
.header-widget-full{
	float:right;
	display: flex;
	height:100px;
}
	
	.header-widget-full .iconbox_left_content .iconbox_icon{
    display: inline-block !important;
}
	.header-widget-full .iconbox .iconbox_content{
    display: inline-block !important;
}
	.header-widget-full {
		width:400px;
	}
.header-widget-left {
	padding-top:0px;
}
.header-widget-right {
	padding-top:0px;
}
}

@media only screen and (min-width: 989px){
	.header-widget-full{
	float:right;
	display: flex;
	height:100px;
}
	.header-widget-full {
		width:500px;
	}
	.header-widget-left {
	padding-top:20px;
}
.header-widget-right {
	padding-top:20px;
}
}

.responsive #top #header #header_main .inner-container .widget{
    width: 100%;
	padding:0 !important;
}

.header-widget-left {
	width:50%;
}
.header-widget-right {
	width:50%;
}

.header-widget-full #top .iconbox{
	margin-bottom: 0px !important;
}


@media only screen and (min-width: 768px) {
#top .iconbox_left_content .iconbox_icon, #top .iconbox_right_content .iconbox_icon {
line-height: 40px;
    border-radius: 0px;
    border: 2px solid #4c62a6;
    height: 45px;
    width: 45px;
    margin-right: 10px;
}
}
.header-widget-full .iconbox .iconbox_content .iconbox_content_title{
	margin: 0;
	letter-spacing: 0;
    font-weight: bold !important;
    font-family: 'Open Sans', sans-serif;
}

.header-widget-full .iconbox .iconbox_content p:last-child {
    margin: 0 !important;
}
.header-widget-full #top .av_inherit_color a {
	text-decoration:none !important;
}

.header-widget-full #top .av_inherit_color a :hover {
	color:#4c62a6;
}

/* ------
 * ------- Slider -----
 * -------- */

/*#top div .caption_center .slideshow_caption :before, #top div .caption_center .slideshow_caption :after{
	 content: '';
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    visibility: visible;
    opacity: 1;
}

#top div .caption_center .slideshow_caption :before{
	border-top: solid 1px #303030;
    border-left: solid 1px #303030;
    top: -10px;
    left: -15px;
}

#top div .caption_center .slideshow_caption :after {
border-right: solid 1px #303030;
    border-bottom: solid 1px #303030;
    right: -15px;
    bottom: -10px;
}*/


.homepage-slider .avia-button.avia-color-light {
    color: #303030 !important;
    border: 3px solid #fcca03 !important;
    background: transparent !important;
	font-weight:700;
}
.homepage-slider .avia-slideshow-button.avia-color-light {
    padding: 12px 16px !important;
    background-color: #fcca03 !important;
}



/*-----
 * --- Box Shadow ----
 * ----*/



.box-shadow {
  position: relative;
    overflow: hidden;
    margin-top: 30px;
    -webkit-box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1);
}

.box-shadow {  padding: 50px 10px 50px 10px !important;
	}



.box-shadow::before {
    border-right: none !important;
    border-bottom: none !important;
    top: 20px;
    left: 20px;
}

.box-shadow::after {
    border-left: none !important;
    border-top: none !important;
    bottom: 20px;
    right: 20px;
}

.box-shadow::before, .box-shadow::after {
	visibility:visible !important;
    content: '';
    display: block;
    position: absolute;
    z-index: 3;
    width: 40px;
    height: 40px;
    border: solid 2px #333333;
}


.box-shadow .avia-button {
	font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    height: 45px;
    padding: 11px 30px 10px 30px;
    border-radius: 0;
    border: none;
    cursor: pointer;
	
}



/* -----
 * --- Boxed Heading ----
 * ---- */


@media only screen and (min-width: 767px) {
.boxed-heading :before{
	border-top: solid 3px #4c62a6;
    border-left: solid 3px #4c62a6;
    top: -10px;
    left: -15px;
}
.boxed-heading :after {
border-right: solid 3px #4c62a6;
    border-bottom: solid 3px #4c62a6;
    right: -15px;
    bottom: -10px;
}

.boxed-heading :before, .boxed-heading :after{
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    position: absolute;
    visibility: visible;
    opacity: 1;
}
}

/*--------
 * --- Contact Icon Section ----
 * ----- */
@media only screen and (min-width: 767px) {
.contact-icon-section {
	margin-left: 15%;
    width: 75%;
	-webkit-box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.05);
}
	.contact-icon-section .iconbox .iconbox_content .iconbox_content_title{
		font-size:1.1em;
}
}


/* ----- 
 * -----Normal Icon box ----
 * --------*/

@media only screen and (max-width: 767px) {
#top .iconbox_left_content.av-icon-style-no-border .iconbox_icon, #top .iconbox_right_content.av-icon-style-no-border .iconbox_icon {
	    width: 50px;
    height: 50px;
    font-size: 24px;
    line-height: 45px;
    border-radius: 0;
    text-align: center;
    margin-right: 10px;
	}
}


/*-----
 * ----- Team Icons -----
 * ------*/


.avia-tooltip.avia-tt {
width: auto;
}


#after_section_1 {display:none;}


/* ----- 
 * ----- Buttons ----
 * --------*/
.pu-link .avia-button{
    padding: 15px 30px 13px;
    font-size: 19px !important;
	font-weight:700;
}

.service-button .avia-button {
    font-size: 16px;
    font-weight: 700;
}

.main_color input[type='submit'] {
color: #303030 !important;
    border: 3px solid #fcca03 !important;
    background: #fcca03 !important;
    font-weight: 700;
}

.bolded-button .avia-button {
	font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    height: 45px;
    padding: 11px 30px 10px 30px;
    border-radius: 0;
    border: none;
    cursor: pointer;
	
}


/* ----- 
 * ----- Calendar ----
 * --------*/
#wp-calendar caption {font-family: 'Raleway', sans-serif;
	font-style: normal;
    font-size: 18px;
    font-size: 1.2rem;
    font-weight: 700;
    background-color: #4c62a6;
    line-height: 1.3334;
    line-height: 2.9445;
    text-align: center;
    color: #333333;}

#wp-calendar th {
    padding: 8px 5px;
    background-color: #333333;
    border-color: #333333;
    color: #ffffff;
    text-align: center;
    font-size: 11px;
    padding: 3px;
}

#wp-calendar tfoot {
	border-left: 1px solid;
    border-right: 1px solid;
    border-bottom: 1px solid;
}

#wp-calendar tbody {
	border-left: 1px solid;
    border-right: 1px solid;
}

#wp-calendar td {
	    background: white;
    text-align: center;
    font-size: 11px;
    padding: 3px;
    border-style: none;
}

#wp-calendar td a {
color: blue;
    font-weight: 900;
    text-decoration: underline;
}



/* ----- 
 * ----- WPML ----
 * --------*/
.avia_wpml_language_switch {
    display: none;
}

/* ----- 
 * ----- Widget Views----
 * --------*/
.wpp-list li {
    font-size: 12px;
}
.view-count-single {
font-size: 0.9em !important;
    color: #4c62a6 !important;
    font-weight: 800 !important;
}
.container .minor-meta {
font-size: 1em !important;
    color: #4c62a6 !important;
    font-weight: 800 !important;
	
}
.main_color .minor-meta a {
font-size: 1em !important;
    color: #4c62a6 !important;
    font-weight: 800 !important;
}