
/*
* Style Overrides 

<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,400i,700" rel="stylesheet">
font-family: 'Montserrat', sans-serif;


*/

/* you may need to change this if you want pagination buttons */
.module-slider {
  margin-bottom: -20px;
}


.header-widget:before {
    content: url(images/corner-flag-290.png); 
   position: absolute;
    width: 350px;
    height: 193px;
    top:-2px;
    left: -2px;
    z-index: 100;
}

.header-widget-full .header-widget-inner {
    max-width: 830px;
}

.header-widget-full .header-widget-inner>.first ~ div:last-child {
    text-align: right;
    padding-right: 55px;
}


.header-widget {
    height: auto;
    padding: 1px 0;
     color: #FFFFFF;
    font-size: 14px;
}


/*this makes the nav centered under the logo */
#header {
    display: block;
    align-items: center;
    max-width: 926px;
}


.sidemenu-off .navbar-wrapper {
    display: block;
    clear: left;
    width: 100%;
}



#header .social-widget {
    position: absolute;
    right: 25px;
    top: 15px;
    width: 210px;
}

.widget_search {
    position: absolute;
    right: 25px;
    top: -5px;
}

.themify-social-links {
    padding-top: 35px;}

footer .themify-social-links {
    padding-top: 0px;}



ul#main-nav :hover > a {
    background-color: rgba(221,223,224,0.78)!important;
    color: #1d3770!important;
 
}

ul#main-nav  ul :hover >  a {
    background-color: transparent !important;  
    color: #f03030!important;
}



/* give the submenu arrows */
#main-nav li.has-sub-menu:after {
	/*font-family: FontAwesome;
	content: "\f078";*/
	font-family: 'Arial', san-serif;
	/* content: "\25BC"; replacing the arrows because font awesome stopped loading.*/
	content: "\25C0";
	transform: rotateZ(-90deg);
	
	color: #ed1e24;
	position: absolute;
    top: 7px;
    right: 5px;
	font-size: 12px;
	display: inline-block;
}


#main-nav li:hover.has-sub-menu:after {
	color: #666666;
	
}

.sidemenu-off  #main-nav ul  li.has-sub-menu:after{
	display: none;
	}

.sidemenu-on #main-nav li.has-sub-menu:after {
	display: none;
}

#main-nav {
    text-align: center;
    z-index: 1000;
}

#main-nav li {
    margin-right: 2.86em;
}


#main-nav li li{
    margin-right: .25em;
}


.sidemenu-on #main-nav li {
    margin-right: auto;
}
.sidemenu-on #main-nav #main-nav li li{
    margin-right: auto;
}


.sidemenu-on #main-nav {
    right: auto;
    width: auto;
}

.sidemenu-on ul#main-nav :hover > a {
    color: inherit;
    background-color: transparent!important;
}

.sidemenu-on ul#main-nav  ul :hover >  a {
   color: inherit;
    background-color: transparent;
}




#header .sidemenu-on  .social-widget {
    position: relative;
    right: auto; 
    top: auto; 
    
}

#header .sidemenu-on  .widget_search {
    position: relative;
    right: auto;
   
}

.sidemenu-on .header-widget .widget {
    margin: 0 0 1em;
    text-align: center;
}

.sidemenu-on .tf_s_dropdown #searchform .tf_icon_wrap {
    left: 0;
    top: 1px;
}



.sidemenu-on .social-links .icon-medium em {
    color: #FFFFFF!important;
}


.sidemenu-on .header-widget:before {
    display: none;
}


#site-logo {
    margin: 0em .7em 0em 0em;
}

.header-widget-full {
    background: #1b3361;
    font-size: .9em;
}

.header-widget .widgettitle {
    margin: 0 0 .5em;
    font-size: .65em;
    color: #ffffff;
    display: inline-block;
}

.header-widget .widget .social-links {
    display: inline-block;
    
}
.social-links .social-link-item {
    margin: 0 0px 0 0;
}

.social-links .icon-medium em, .social-links .icon-small em {
    border-radius: 0;
    padding: 9px;
    margin: 0;
    line-height: 1em;  
}


.widget .social-links .social-link-item.facebook.icon-medium em:hover, .widget .social-links .social-link-item.facebook.icon-small em:hover {
    background-color: rgba(5, 112, 230, 1);
}

.widget .social-links .social-link-item.twitter.icon-medium em:hover, .widget .social-links .social-link-item.twitter.icon-small em:hover {
    background-color: rgba(28, 160, 241, 1);
}

.widget .social-links .social-link-item.instagram.icon-medium em:hover, .widget .social-links .social-link-item.instagram.icon-small em:hover {
    background-color: rgba(191, 49, 135, 1);
}

.widget .social-links .social-link-item.youtube.icon-medium em:hover, .widget .social-links .social-link-item.youtube.icon-small em:hover {
    background-color: rgba(255, 0, 0, 1);
}

.social-links .icon-small em {
    font-size: 12px;
    width: 12px;
    height: 12px;
    color: #333333!important;
}

.social-links .icon-medium em:hover, .social-links .icon-small em:hover {
    color: #FFFFFF!important;
}




#headerwrap.fixed-header {
    background-color: rgba(255,255,255,.9);
    box-shadow: 1px 1px 5px 7px rgb(0 0 0 / 10%);
}
#headerwrap.fixed-header #site-description {
    font-size: 13px;
}

#headerwrap.fixed-header{
    font-size: 13px;
    box-shadow: 5px 5px 5px rgb(0 0 0 / 30%);
}

#headerwrap.fixed-header .sidemenu-off .navbar-wrapper{
    display: block;
    align-items: center;
    float: none;
    clear: none;
    width: auto;
    background-color: transparent; 
}

#headerwrap.fixed-header .sidemenu-off .widget_search {
    display: none!important;
}

#headerwrap.fixed-header #header .sidemenu-off  .social-widget {
    top: 5px;
    right: 55px;
    width: auto;
}

#headerwrap.fixed-header .sidemenu-off .themify-social-links {
    padding-top: 0px;
}


#headerwrap.fixed-header .sidemenu-off #main-nav {
    right: auto; 
    width: auto;
    margin-right: auto; 
    margin-left: auto;
    float: left;
    clear: both;
    top: 0px;
}

#headerwrap.fixed-header .sidemenu-off #main-nav li {
    margin-right: 3em;
}


#footer {padding-top: 55px;}


#footer .social-widget {
    margin-top: -75px;
}

/* remove border arund iframes */
.video-wrap video, .video-wrap iframe, .video-wrap object, .video-wrap embed {
    border: none;
}


/* this makes the top li in a submenu hover persistent */
#main-nav li:hover > a {
	background-color: #1f68ad;
	color: #FFF;
}

/* this makes the left adjustment aligned with parent for submenu */

#main-nav li:not(.themify-widget-menu)>ul {
    left: 0px;
}



/* make the portfolio nav next/prev smaller */
.post-nav a {
    display: block;
    font-size: 13px;
    letter-spacing: normal;
    text-decoration: none;
	line-height: 1.2em;
}



/* Tabs on the about page */
.ui.module.vertical .tab-nav {
    width: 220px;
}
.ui.module.vertical .tab-content {
    margin-left: 15%;
}


.ui.module.transparent>.tab-nav li a {
    color: rgba(255,255,255,0.8);
}

.ui.module .tab-nav a {
    padding: 0.625em 0em;
}



/* overrides for recent posts extended */

.rpwe-block ul {
}

#content .rpwe-block ul li {
	list-style: none;
	margin-left: 0px;
	}


.rpwe-block li {
	padding-top: 15px;
	margin-bottom: 15px;
}
.rpwe-block a.more-link {
	font-weight: normal;
	font-size: 95%;
}
.rpwe-block a:hover.more-link {
	text-decoration: underline;
}
.rpwe-block h3 {
	font-size: 13px;
	line-height: 1.3em;
	margin-bottom: 5px;
}
.rpwe-thumb {
	margin-right: 3.5%;
}
.rpwe-summary {
	font-size: 85%;
}
.rpwe-time {
	font-size: 75%;
	font-style: italic;
	color: #999;
}
.rpwe-alignleft {
	float: left;
}
.rpwe-alignright {
	float: right;
}
.rpwe-alignnone {
}
.rpwe-clearfix:before, .rpwe-clearfix:after {
	display: table;
}
.rpwe-clearfix:after {
	clear:both;
}
.rpwe-clearfix {
	zoom: 1;
}






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

    /*
#headerwrap.fixed-header #header .sidemenu-off  .social-widget {
    display: none;
}
*/



}
@media screen and (max-width: 980px) {



	

}
@media screen and (max-width: 880px) {

/* Tabs on the about page */
.ui.module.vertical .tab-nav {
    width: 160px;
}
.ui.module.vertical .tab-content {
    margin-left: 30px;
}

.themify_builder_content-2 .tb_y9yh270.module-tab.ui .tab-nav li a {
    font-size: 16px;
}
    
    
    
    
    
}

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


  .pagewidth {
    width: 94%;
}  
    
    
 body {overflow-x: hidden;}
    
    
 body #site-logo a img {
    width: 260px;
}   
    
    
  .widget_search {
   display: none;
}  
    
    
  .fixed-header #site-logo img:not(.tf_sticky_logo) {
    max-height: none;
}  
    
    
 #footer .social-widget {
    margin-top: -75px;
     margin-left: auto;
    margin-right: auto;
    display: block;
}   
    
 .footer-widgets .col4-2, .footer-widgets .col3-1 {
    margin-top: 25px;
}   
    
.footer-widgets .col4-1 {
    width: 100%;
    text-align: center;
    margin-left: auto;}
    
   #footer-logo a img {
    width: 100px;
    margin: auto;
    display: block;
} 
    
  .footer-left-col #footer .widget {
    margin: auto!important;
    display: block;
    width: 210px;
}  
    
    .footer-text {
    padding: 0 0 2em;
    line-height: 1.8em;
    font-size: .85em;
    text-align: center;
}
    
}


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





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



}