/*
Theme Name: ANFF
Theme URI: https://wordpress.org/themes/twentyfifteen/
Author: the RandomBlowup team
Author URI: https://randomblowup.com/
Description:
Version: 1.0
Text Domain: twentyfifteen

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/


/**
 * Table of Contents
 *
 *-0.0 Basic format and Bootstrap override
 *-1.0 Header: Logo and Navigation
 *-2.0 Banner
 *-3.0 Main Content - index
 *-4.0 Sponsor Link
 *-5.0 Footer
 *-6.0 Page
*/

/******************************************************
*******0.0 Basic format and Bootstrap override*********
*******************************************************/

@font-face {
	font-family: 'Elektra Light';
	src: url('fonts/elektra_light.eot');
	src: url('fonts/elektra_light.eot?#iefix') format('embedded-opentype'),
	url('fonts/elektra_light.woff2') format('woff2'),
	url('fonts/elektra_light.woff') format('woff'),
	url('fonts/elektra_light.ttf') format('truetype'),
	url('fonts/elektra_light.svg#elektra_light_proregular') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Elektra Medium';
	src: url('fonts/elektra_medium.eot');
	src: url('fonts/elektra_medium.eot?#iefix') format('embedded-opentype'),
	url('fonts/elektra_medium.woff2') format('woff2'),
	url('fonts/elektra_medium.woff') format('woff'),
	url('fonts/elektra_medium.ttf') format('truetype'),
	url('fonts/elektra_medium.svg#elektra_light_proregular') format('svg');
	font-weight: normal;
	font-style: normal;
}


body{
	font-family: "Elektra Light","Times New Roman", Georgia, Serif;
	color: #292929;
}

h1, h2, h3, h4, h5 h6 {
	-webkit-font-smoothing:antialiased;
	line-height: 1.4em;
}

ul,ol{
	padding:0;
	list-style: none;
}

.screen-reader-text{
	display: none;
}

.wrap-full-width{
	width: 100%;
	float: left;
	position: relative;
}

.container-large,
.container{
	padding-left: 10px;
	padding-right: 10px;
}

.container-large{
	max-width: 1206px;
	margin:0 auto;
}


.container{
	max-width: 1017px;
}


.row{
	margin-left: -10px;
	margin-right: -10px;
}

.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9{
	padding-left: 10px;
	padding-right: 10px;
}

.main .img-responsive{
	width: 100%;
	max-width: none;
}

.main img{

	max-width: 100%;
	width: 100%;
	height: auto;
}

.text-red{
	color:#982e4b!important;
}

.text-black{
	color: #292929!important;
}

.navbar-toggle {
	position: relative;
	float: right;
	padding: 9px 10px;
	margin-top: 8px;
	margin-right: 0;
	margin-bottom: 8px;
	background-color: transparent;
	background-image: none;
	border: 1px solid transparent;
	border-radius: 4px;
}

.navbar-default .navbar-toggle {
	border-color: #fff;
}

.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
	background-color: #fff;
}

.navbar-toggle .icon-bar {
	display: block;
	width: 30px;
	height: 5px;
	border-radius: 1px;
}

.navbar-toggle .icon-bar+.icon-bar {
	margin-top: 4px;
}

.navbar-default .navbar-toggle .icon-bar {
	background-color: #232323;
}

/*flexslider hide element*/
ol.flex-control-nav.flex-control-paging,
ul.flex-direction-nav,
.flex-pauseplay{
	display: none;
}




/******************************************************
*******1.0 Header**************************************
*******************************************************/
#header-main{
	padding-top: 15px;
	border-top: 10px solid #262626;
}
/******1.1 logo****************************************/
.logo{
	/*	margin-bottom: 10px;*/
	float: left;
	max-width: 480px;
	padding-left: 10px;
	padding-right: 0px;
	padding-bottom: 10px;
}
@media (min-width: 992px) {
	.logo {
		position: absolute;
		bottom: 0;
		left: 0;
	}
}


.logo-img{
	width: 83px;
	float: left;
}

.logo-text{
	padding:25px 0px 0 15px;
	width: 350px;
	float: left;
	-webkit-font-smoothing:antialiased;
}

.logo-text span{
	width: 100%;
	display: block;
	float: left;
	font-size: 29px;
	line-height: 1.1;
	text-transform: uppercase;
	font-family: "Elektra Light";
}



/******1.2 Navigation**********************************/
.navbar-default {
	background-color: #fff;
	border-color: #fff;
	margin-bottom: 0;
	min-height: 0;
	margin-top: 100px;
	float: right;
	padding-left: 10px;
	padding-right: 10px;
	border: none;
}

.navbar-default .navbar-nav>li>a{
	color: #262626;
	font-size: 14px;
	text-transform: uppercase;
	border-bottom: 4px solid transparent;
}

@media (max-width: 1024px){
	.navbar-default .navbar-nav>li>a{
		font-size: 13px;
	}
}

.navbar-default .navbar-nav>li>a:focus,
.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:focus,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.current-menu-item>a,
.navbar-default .navbar-nav>.current-menu-item>a:focus,
.navbar-default .navbar-nav>.current-menu-item>a:hover,
.navbar-default .navbar-nav>.current-page-ancestor>a,
.navbar-default .navbar-nav>.current-page-ancestor>a:focus,
.navbar-default .navbar-nav>.current-page-ancestor>a:hover{
	color: #262626;
	background-color: transparent;
	border-bottom: 4px solid #262626;
}



@media (min-width: 992px) and (max-width: 1079px){
	.container-large{
		width: 970px;
	}

	.logo {
		margin-bottom: 15px;
		width: 370px;
	}

	.logo-img {
		width: 65px;
	}

	.logo-text {
		padding: 15px 0 0 15px;
		width: 266px;
		float: left;
	}

	.logo-text span{
		font-size: 22px;
	}

	.navbar-default {
		margin-top: 69px!important;
	}
}


@media (max-width: 991px){
	#header-main{
		padding-top: 10px;
	}

	.logo{
		padding-bottom: 15px;
		margin-bottom: 0;
		float: left;
	}

	.logo-img{
		width: 42px;
	}

	.logo-text{
		width:175px;
		padding: 15px 0 0 20px;
	}

	.logo-text span{
		font-size: 13px;
	}

	.navbar-default{
		margin-top: 0!important;
	}

	.navbar-brand{
		padding:0;
		height: auto;
	}
}



@media (min-width: 768px){
	.container-fluid,
	.navbar-collapse{
		padding-left: 0;
		padding-right: 0;
	}

	.navbar-nav {
		float: right;
		margin: 0;
	}

	.navbar-nav>li>a{
		padding:10px 0 5px 0 !important;
		/*	margin-left: 20px;*/
	}
	.navbar-nav>li.login>a,
	.navbar-nav>li.login>a:hover {
		background: #262626;
		color: #FFF;
		padding: 10px 10px 5px 10px !important;
	}

	/*.navbar-nav>li:first-child>a{
        margin-left: 0;
    }
    */
	.navbar-nav>li{
		margin-left: 20px;
	}
	@media (max-width: 1024px){
		.navbar-nav>li{
			margin-left: 13px;
		}
	}

	.navbar-nav>li:first-child{
		margin-left: 0;
	}

	.navbar-default .navbar-nav>li:hover .sub-menu{
		display: block;
	}

	.navbar-default .sub-menu{
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 100;
		background-color: #292929;
		color: #fff;
		min-width: 150px!important;
		padding-top: 10px;
	}

	.navbar-default .sub-menu li,
	.navbar-default .sub-menu li a{
		width: 100%;
	}

	.navbar-default .sub-menu li a{
		color: #fff;
		padding:10px;
		display: block;
		text-decoration: none;

	}

}


@media (max-width: 767px){
	.navbar-default{
		width: 100%;
		max-width: none;
	}

	.navbar-default .navbar-nav>li>a{
		font-size: 13px;
	}

	.navbar-default .sub-menu{
		display: none!important;
	}
}

/******************************************************
*******2.0 Banner**************************************
*******************************************************/
.banner{
	height: 400px;
	background-size: cover;
	color: #fff;
	margin-bottom: 65px;
	background-repeat: no-repeat;
}


.banner .inner{
	max-width: 100%;
}


.banner .excerpt{
	font-size: 24px;
}

.banner-page{
	/*height: 300px!important;*/
	margin-bottom: 90px;
	-webkit-font-smoothing:antialiased;
}

.page-short{
	width: 100%;
	position: absolute;
	left: 0;
	bottom: 35px;
}

.page-short .parent-title{
	font-size: 20px;
	line-height: 1.0;
	margin-top: 0;
	margin-bottom: 0;
	border-bottom: none;
	padding-bottom: 0;
	text-transform: uppercase;
}

.banner .page-title {
	padding-right: 45%;
}

.banner .page-title,
.banner .post-title{
	font-size: 48px;
	margin-top: 5px;
	margin-bottom:30px;
	padding-bottom: 30px;
	border-bottom: 1px solid #fff;
	text-transform: uppercase;
	line-height: 1.2;
	-webkit-font-smoothing:antialiased;
}

@media (max-width: 992px){
	.banner .page-title,
	.banner .post-title{
		font-size: 36px;
	}
}

@media (max-width: 800px){
	.banner{
		margin-bottom: 30px;
		background-position: 50% 0!important;
		height: auto;
	}

	.banner .inner{
		padding:35px 5px;
	}

	.page-short{
		width: 100%;
		position: relative;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
	}

	.page-short .parent-title{
		font-size: 13px;
	}

	.banner .page-title, .banner .post-title{
		font-size: 24px;
		padding-right: 0;
	}

	.banner .excerpt{
		font-size: 18px;
	}



}

@media (min-width: 601px) and (max-width: 800px){
	.navbar-nav {
		margin-top: 0px;
	}
	.navbar-default .navbar-nav>li>a {
		font-size: 12px !important;
	}
}

/******************************************************
*******3.0 Main Content - index************************
*******************************************************/
.main{
	margin-bottom: 65px;
}

.home-page h2{
	font-size: 30px;
	margin-top: 0;
	line-height: 1.0;
	font-weight: normal;
	text-transform: uppercase;
	color: #292929;
	padding-bottom: 15px;
	border-bottom: 1px solid #292929;
	margin-bottom: 20px;
}

.home-page h2 a{
	color: #292929;
	text-decoration: none;
}

.category-all-link{
	font-size: 15px;
	margin-top: 10px;
	float: right;
	text-transform: uppercase;
}

.category-all-link,
.category-all-link:hover{
	color: #292929;
	text-decoration: none;
}

.post-each .post-title,
.post-each .page-title,
.post-each .post-title a,
.post-each .page-title a{
	color: #670025;
	font-size: 20px;
	margin-top: 20px;
	margin-bottom: 20px;
	line-height: 1.1;
	text-decoration: none;
}

.post-each .excerpt{
	font-size: 15px;
}


@media (max-width: 767px){

	.home-page h2{
		margin-bottom: 30px;
		font-size: 24px;
	}

	.post-each{
		margin-top: 25px;
	}

	.category-all-link{
		font-size: 14px;
	}

	.category-short{
		font-size: 14px;
	}

	.post-each .post-title,
	.post-each .page-title,
	.post-each .post-title a,
	.post-each .page-title a{
		font-size: 18px;
	}
}

/******************************************************
*******4.0 Sponsor Link********************************
*******************************************************/
.supportedBy{
	background:#e9e9e9;
	padding-top: 35px;
	padding-bottom: 35px;

}

.supportedBy h3{
	font-size: 16px;
	text-transform: uppercase;
	font-weight: bold;
	margin-top: 30px;
	margin-bottom: 30px;
}

.supportedBy .supportedByText{
	width: 15%;
	float: left;
}

.supportedBy .supportedByLinks{
	width: 85%;
	float: left;
}

.supportedBy .threes-column{
	width: 33.3%!important;
	padding-left: 10px!important;
	padding-right: 10px!important;
	margin:0!important;
}

.supportedBy .threes-column img{
	max-width: 100%;
	height: auto;
}

.sponsor img {
	width: auto;
	height: 60px;
}

@media (max-width: 767px){

	.sponsor img {
		height: 48px;
	}

	.supportedBy h3{
		margin-top: 0;
	}

	.supportedBy .supportedByText,
	.supportedBy .supportedByLinks{
		width: 100%;
	}

	.supportedBy .supportedByLinks .sponsor {
		padding: 12px;
	}

	.supportedBy .supportedByLinks .row {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		justify-content: center;
	}
}


@media (min-width: 768px){
	.supportedBy .supportedByLinks .row {
		display: flex;
		align-items: center;
		justify-content: space-around;
	}
}



/******************************************************
*******5.0 Footer**************************************
*******************************************************/
.footer{
	border-top: 15px solid #1b1b1b;
	background: #292929;
	padding-top: 40px;
	padding-bottom: 40px;
}

.footer-menu{
	margin-top: 20px;
}

.footer-menu li {
	list-style: none;
	width: 16.66666667%;
	float: left;
	padding-right: 20px;
}

.footer-menu li a{
	font-size: 13px;
	color: #6a6a6a;
	text-transform: uppercase;
	display: block;
	margin-bottom: 15px;
}

.footer-menu li ul{
	width: 100%;
	float: left;
}

.footer-menu li ul li{
	width: 100%;
	padding-right: 0;
}

.footer-menu li ul li a{
	text-transform: capitalize;
	margin-bottom: 5px;
}

@media (max-width: 767px){
	.footer-menu li {
		list-style: none;
		width: 100%;
		float: left;
		padding-right: 0;
		margin-bottom: 20px;
		text-align: center;
	}

	.footer-menu li ul li{
		margin-bottom: 0;
	}

	.footer-menu li ul li a{
		margin-bottom: 10px;
	}

	.logo-bottom img{
		margin-left: auto;
		margin-right: auto;
	}


}

/******************************************************
*******6.0 Side Navigation*****************************
*******************************************************/
.page-sidebar{
	font-size: 16px;
}

.page-sidebar .parent-title{
	width: 100%;
	margin-bottom: 10px;
	font-family: "Elektra Medium";
}

.page-sidebar .parent-title a{
	color: #292929;
	text-decoration: none;
}

.sideNav{
	width: 100%;
	float: left;
	margin-bottom: 30px;
}

.sideNav li{
	width: 100%;
	float: left;
	display: inline-block;
}

.sideNav li a{
	padding-left: 30px;
	padding-top: 3px;
	margin-bottom: 10px;
	display: block;
	color: #292929;
	text-transform: uppercase;
}

@media (max-width: 480px){
	.sideNav li a{
		padding-left: 0;
		background: none !important;
	}
	.page-sidebar .parent-title {
		padding-left: 5px;
	}
}

.sideNav.popular-posts {
	display: none;
}

.sideNav.recent-posts li a,
.sideNav.popular-posts li a{
	/*overflow: hidden;*/
	/*text-overflow: ellipsis;*/
	/*white-space: nowrap;*/
}

.sideNav.recent-posts li ul li a,
.sideNav.popular-posts li ul li a,
.sideNav.category-list li ul li a{
	text-transform: capitalize;
}


.sideNav li a:hover,
.sideNav li a:focus,
.sideNav li.current_page_item a,
.sideNav li.active a{
	text-decoration: none;
}

.sideNav li.active ul li a{
	background:none;
	color: #292929;
}

.sideNav li a:hover,
.sideNav li ul li.active a:hover,
.sideNav li.current_page_item a,
.sideNav li.current_page_item a:hover,
.sideNav li.active a,
.sideNav li.active a:hover,
.page-sidebar .parent-title a:hover {
	color: #FFFFFF;
	background: #292929;
}

.sideNav li.active a,
.sideNav li.current_page_item a {
	background:url(img/icon-arrow-right.png) left top no-repeat;
	background-size: 26px 26px;
}


.sideNav .sideSubNav,
.sideNav .categories li{
	margin-left: 20px;
}


/*.panel-default {
    border-color: #fff;
}

.panel-default>.panel-heading {
    color: #292929;
    background-color: #fff;
    border-color: #fff;
}
*/

@media (max-width: 767px){
	.sideNav{
		margin-bottom: 0px;
		padding: 0 5px;
	}

	.sideNav .sideSubNav, .sideNav .categories li{
		width: 100%;
		margin-left: 0;
	}
}
/******************************************************
*******7.0 Post List/Cotent****************************
*******************************************************/
.left-bar{
	width: 22%;
	float: left;
	margin-bottom: 30px;
}

@media (max-width: 767px) {
	.left-bar,
	.left-bar.sticky,
	.left-bar.affix,
	.left-bar.affix-bottom {
		position: relative !important;
		top: auto !important;
		left: auto !important;
	}
}

@media (min-width: 768px) {
	.left-bar.sticky,
	.left-bar.affix,
	.left-bar.affix-bottom {
		position: fixed !important;
		top: 130px !important;
		width: 165px;
		left: calc((100vw - (100vw - 100%) -  750px)/2);
		-webkit-transition: 0.2s top ease-in;
		transition: 0.2s top ease-in;
	}

	.left-bar.affix-bottom {
		position: absolute !important;
		bottom: 0 !important;
		top: auto !important;
	}
}
@media (min-width: 992px) {
	.left-bar.sticky,
	.left-bar.affix,
	.left-bar.affix-bottom{
		width: 213px;
		left: calc((100vw - (100vw - 100%) - 970px)/2);
	}
}
@media (min-width: 1200px) {
	.left-bar.sticky,
	.left-bar.affix,
	.left-bar.affix-bottom{
		width: 223px;
		left: calc((100vw - (100vw - 100%) -  1017px)/2);
	}
}

.left-bar.relative {
	position: relative !important;
	left: auto !important;
	top: auto !important;
	bottom: auto !important
}

.content{
	width: 78%;
	float: right;
}

.left-bar,.content{
	padding-left: 10px;
	padding-right: 10px;
}

.post-content,
.page-content{
	width: 100%;
	float: left;
}

.post-content h2,
.page-content h2,
.post-list h2{
	font-size: 24px;
	font-family: "Elektra Light";
	color: #982e4b;
	margin-top: 0;
	margin-bottom: 15px;
}

.page-content ul {
	margin: 0 0 25px 0;
}
.page-content ul li {
	list-style: disc;
	margin: 0 0 5px 15px;
}

.post-list h2 a{
	color: #982e4b;
	text-decoration: none;
}

.post-content h3,
.page-content h3{
	font-size: 20px;
	font-family: "Elektra Medium";
	color: #982e4b;
	margin-top: 0;
	margin-bottom: 30px;
	line-height: 1.2;
}

.post-content p,
.page-content p,
.post-list p{
	font-size: 14px;
	line-height: 1.7;
	margin-bottom: 25px;
}

.post-content a,
.page-content a{
	color: #982e4b;
	text-decoration: none;
}

.post-content figure,
.page-content figure {
	margin: 0;
	margin-bottom: 25px;
	width: 100%!important;
}

.post-content .wp-caption-text,
.page-content .wp-caption-text{
	margin-top: 10px;
	color: #999999;
	font-size: 14px;
}

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

.post-list,
.post-list-each{
	width: 100%;
	float: left;
}

.post-list-each.staff {
	margin-bottom: 0;
}
.post-list-each.staff h2 {
	margin-bottom: 5px;
}

.post-list-each.staff .position {
	font-family: 'Elektra Medium';
	line-height: 1.2em;
}

.post-list-each.staff .email,
.post-list-each.staff .phone {
	margin-bottom: 5px;
}


.post-list .thumb img{
	width: 100%;
	height: auto;
}

.post-list-each{
	margin-bottom: 50px;
}

.post-list .thumb{
	width: 200px;
	float: left;
}

.post-list .post-content-short{
	overflow: hidden;
	padding: 0px 5px 0 30px;
}

.post-list .read-more{
	font-size: 14px;
	font-family: "Elektra Light";
	text-transform: uppercase;
	color: #972e4b;
	text-decoration: none;
	cursor: pointer;
}

.post-list .more-link{
	display: none;
}

.break-line{
	width: 100%;
	float: left;
	margin-top: 50px;
}

.break-line div,
.page-break-line{
	border-top: 1px solid #292929;
	width: 100%;
	float: left;
}

.staff .break-line div {
	margin-top: 0;
	margin-bottom: 50px;
	padding-top: 0;
}

.page-break-line .page-top{
	margin-top: -25px;
	text-transform: uppercase;
	background: #fff url(img/icon-arrow-up.png) 90% 50% no-repeat;
	background-size: 26px 26px;
	padding: 15px 30px 15px 15px;
	width: 150px;
	color: #972e4b;
	font-size: 14px;
	margin-left: auto;
	margin-right: auto;
	z-index: 100;
	display: block;
	text-decoration: none;
}

.full-content-more{
	display: none;
}


/* Paging Navigation */

.pagination-container{
	width: 100%;
	float: left;
	padding-left: 20px;
}

.pagination{
	width: 100%;
	float: left;
	position: relative;
	margin: 0;
}

.screen-reader-text{
	display: none;
}



.pagination a.prev.page-numbers,
.pagination a.next.page-numbers{
	position: absolute;
	top: 7px;
	color: #972e4b;
	font-family: "Elektra Light";
}

.pagination a.prev.page-numbers {
	left: 0;
	background:url(img/icon-arrow-left.png) left center no-repeat;
	padding-left: 40px;
	background-size: 26px 26px;
}

.pagination a.next.page-numbers {
	right: 0;
	background:url(img/icon-arrow-right.png) right center no-repeat;
	padding-right: 40px;
	background-size: 26px 26px;
}

.pagination .nav-links {
	margin-top: 10px;
	text-align: center;
	width: 100%;
}


.pagination .nav-links .page-numbers {
	display: inline-block;
	font-size: 14px;
	font-weight: 400;
	margin-right: 1px;
	padding: 6px 7px 2px 7px;
	text-transform: uppercase;
	color: #292929;
	line-height: 1.0;
}

.pagination .nav-links .current{
	color: #972e4b;
	font-family: "Elektra Light";
	border:1px solid #972e4b;
}


.pagination a {
	color: #a0a0a0;
	text-decoration: none;
}




@media (max-width: 991px){
	.post-list .post-content-short{
		max-width: 300px;
	}
}

@media (max-width: 767px){
	.left-bar,.content{
		width: 100%;
	}

	.content{
		padding-left: 15px;
		padding-right: 15px;
	}

	.post-list .thumb{
		width: 100%;
		margin-bottom: 15px;
	}

	.post-list .post-content-short{
		width: 100%;
		float: left;
		max-width: none;
		padding-left: 0;
	}

	.break-line{
		padding-left: 0;
	}

	.post-content h2, .page-content h2, .post-list h2{
		font-size: 18px;
	}

	.post-content h3, .page-content h3{
		font-size: 16px;
	}
}

/******************************************************
*******8.0 Form****************************************
*******************************************************/

.gform_wrapper {
	overflow: inherit;
	margin: 0;
	width: 100%;
	max-width: none;
	float: left;
}

.gform_wrapper ul.gform_fields{
	width: 100%;
	float: left;
	margin: 0;
	padding:0;
}

input#gform_submit_button_1 {
	border: 1px solid #982e4b;
	font-size: 16px;
	text-align: center;
	float: right;
	padding: 10px 20px;
	color: #982e4b;
	height: auto;
	width: auto;
	background: #fff;
	line-height: 1.0;
}

input#gform_submit_button_1:hover,
input#gform_submit_button_1:focus{
	color: #fff;
	background: #982e4b;
}

.gform_wrapper .left_label li.field_sublabel_below .gfield_label{
	font-size: 14px;
	text-align: left;
	color: #232323;
	margin: 0!important;
	padding: 10px 0;
}

.gf_left_half,
.gf_right_half{
	width: 48%!important;
	margin: 0;
	display: inline-block;
}

.gf_right_half{
	float: right;
}


.gform_wrapper .left_label .gf_left_half .gfield_label,
.gform_wrapper .left_label .gf_right_half .gfield_label{
	width: 25%;
}

.gform_wrapper .left_label .gf_left_half .ginput_container,
.gform_wrapper .left_label .gf_right_half .ginput_container{
	width: 75%;
	float: left;
}

.gform_wrapper .left_label .one-line{
	width: 100%;
	display: inline-block;
}

.gform_wrapper .left_label .one-line .gfield_label{
	width: 12%;
	float: left;
}

.gform_wrapper .left_label .one-line .ginput_container{
	width: 88%;
	float: left;
}



.gform_wrapper .left_label input.medium, .gform_wrapper .left_label select.medium, .gform_wrapper .right_label input.medium, .gform_wrapper .right_label select.medium {
	width:100%!important;
}

.gform_wrapper .left_label input.large, .gform_wrapper .left_label select.large, .gform_wrapper .left_label textarea.large, .gform_wrapper .left_label textarea.medium, .gform_wrapper .left_label textarea.small, .gform_wrapper .right_label input.large, .gform_wrapper .right_label select.large, .gform_wrapper .right_label textarea.large, .gform_wrapper .right_label textarea.medium, .gform_wrapper .right_label textarea.small{
	width: 100%!important;
}

.gform_wrapper .gform_footer.left_label,
.gform_wrapper .gform_footer.right_label {
	padding: 0;
	margin-left: 0;
	width: 100%;
}

.gform_wrapper .gform_footer.left_label, .gform_wrapper .gform_footer.right_label{
	width: 100%!important;
	float: left;
	margin-left: 0!important;
	padding:0!important;
	margin:0!important;
}

form input,
.form input,
form textarea,
.form textarea{
	border:1px solid #c1c1c1;
	padding:5px;
}

form input,
.form input{
	height: 34px;
	width: 100%;
}

form textarea,
.form textarea{
	height: 90px;
	width: 100%;
}

@media (max-width: 767px){
	.gform_wrapper .left_label .gf_left_half .gfield_label,
	.gform_wrapper .left_label .gf_right_half .gfield_label,
	.gform_wrapper .left_label .gf_left_half .ginput_container,
	.gform_wrapper .left_label .gf_right_half .ginput_container,
	.gform_wrapper .left_label .one-line .gfield_label,
	.gform_wrapper .left_label .one-line .ginput_container,
	.gf_left_half,
	.gf_right_half{
		width: 100%!important;
	}


}
/******************************************************
*******X.0 Responsive**********************************
*******************************************************/


/*
 * Randomblowup style
 */

@media screen and (min-width: 801px) {
	.page .banner{
		height: 300px;
	}

	.home .page .banner{
		height: 400px;
	}
}

div.page {
	padding-top: 90px;
	-webkit-transition: 0.2s all ease-in;
	transition: 0.2s all ease-in;
}

@media only screen and (min-width: 768px){
	div.page {
		padding-top: 120px;
	}
	.sticky div.page {
		padding-top: 110px;
	}
}

@media only screen and (min-width: 992px){
	div.page {
		padding-top: 140px;
	}
}



#header-main {
	width: 100%;
	border-top: none;
	position: fixed;
	padding: 0;
	top: 30px;
	left: 0;
	z-index: 10;
	background: #FFFFFF;
	-webkit-transition: 0.2s all ease-in;
	transition: 0.2s all ease-in;
}

.sticky #header-main {
	-webkit-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.2);
	box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.2);
}

#header-main .header-wrapper .logo{
	padding: 0;
	position: unset;
	bottom: unset;
	left: unset;
	margin: 0 30px 0 0;
	width: unset;
}

#header-main .header-wrapper .logo .logo-img {
	width: unset;
}

#header-main .header-wrapper .logo .logo-img img{
	height: 40px;
	-webkit-transition: 0.2s all ease-in;
	transition: 0.2s all ease-in;
}

@media only screen and (min-width: 768px){

	#header-main .header-wrapper .logo .logo-img img{
		height: 50px;
		width: auto;
		margin: 20px 0;
	}

	.sticky #header-main .header-wrapper .logo .logo-img img{
		height: 40px;
	}

	#header-main {
		height: auto;
	}

	#header-main .header-wrapper{
		padding: 0;
	}

	#header-main .header-wrapper .navbar-default {
		margin-top: 0 !important;
		padding-top: 31px;
		float: right;
		height: 59px;
		-webkit-transition: 0.2s all ease-in;
		transition: 0.2s all ease-in;
	}

	.sticky #header-main .header-wrapper .navbar-default {
		padding-top: 0;
	}

	#header-main .header-wrapper .navbar-default #primary-menu,
	#header-main .header-wrapper .navbar-default #announcement-menu{
		height: 40px;
		padding: 20px 0;
	}
}

@media only screen and (min-width: 992px) {
	#header-main .header-wrapper .logo .logo-img img {
		height: 70px;
	}

	.sticky #header-main .header-wrapper .logo .logo-img img {
		height: 40px;
	}

	#header-main .header-wrapper .navbar-default {
		padding-top: 51px;
	}

	.sticky #header-main .header-wrapper .navbar-default {
		padding-top: 0;
	}
}

@media only screen and (min-width: 768px) and (max-width: 1024px){


	#header-main .header-wrapper .logo{
		margin: 0 15px 0 0;
	}
	#header-main .header-wrapper .navbar-default{
		float: none;
		position: unset;
	}
	.navbar-nav li {
		margin-left: 10px;
	}
	.announcement.navbar-nav li {
		margin-left: 10px;
	}
}

@media only screen and (max-width: 767px){
	#header-main .header-wrapper .navbar-default{
		padding: 10px 0;
	}

	#header-main .header-wrapper .navbar-default .navbar-toggle{
		height: 40px;
		padding: 0;
		margin: 0;
	}
}

.navbar-default .navbar-nav > li {
	margin-left: 10px;
}

@media only screen and (min-width: 1200px){
	.navbar-default .navbar-nav > li {
		margin-left: 20px;
	}

	.announcement-nav.navbar-nav > li:first-child{
		margin-left: 20px;
	}
}

@media only screen and (min-width: 1200px){
	.navbar-default .navbar-nav > li > a{
		font-size: 16px;
	}
}


ul#primary-menu{
	float: right;
}

@media only screen and (min-width: 768px) {
	ul#announcement-menu{
		float: right;
		/*position: absolute;*/
		/*top: 5px;*/
		/*right: 10px;*/
		font-family: "Elektra Medium";
	}
}

.announcement-nav li{
	display: block;
	position: relative;
}

.announcement-nav.navbar-nav > li > a{
	color: #7a002e;
}

.announcement-nav.navbar-nav > li > a:hover{
	color: #7a002e;
}

/*.announcement-nav.navbar-nav > li:first-child{*/
/*	margin-left: 10px;*/
/*}*/

@media only screen and (max-width: 767px) {
	ul#primary-menu{
		float: none;
	}

	ul#announcement-menu{
		float: none;
	}

	.announcement-nav.navbar-nav > li:first-child{
		margin-left: 0;
	}
}

.secondary-menu{
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	height: 30px;
	background-color: #292929;
	text-align: right;
	z-index: 10;
	-webkit-transition: 0.2s all ease-in;
	transition: 0.2s all ease-in;
}

.sticky .secondary-menu {}

#secondary-menu{
	height: 30px;
}

#secondary-menu li{
	padding: 5px 0;
	display: inline-block;
}

#secondary-menu li.announcement > a{
	color: #7a002e;
}

#secondary-menu li > a{
	padding: 5px 10px;
	text-transform: uppercase;
	font-size: 11px;
	color: white;
}

.clear{
	clear: both;
}

.page-sidebar .parent-title a {
	width: 100%;
	font-size: 15px;
	padding: 10px 15px 6px 15px;
	background-color: #7a002e;
	margin-bottom: 10px;
	text-align: left;
	font-family: "Elektra Light";
	text-transform: uppercase;
	color: #FFFFFF;
	display: block;
}

.page-sidebar .parent-title a{
	color: #FFFFFF;
	font-weight: normal;
}

.sideNav li a {
	font-size: 15px;
	padding: 10px 15px 6px 15px;
	background-color: #7a002e !important;
	margin-bottom: 10px;
	text-align: left;
	color: #FFFFFF;
}

.sideNav li.active a {
	background: unset;
	background-color: #7a002e;
	color: #FFFFFF;
}

.sideNav .submenu {
	width: 100%;
	display: none;
	float: left;
	border: 1px solid #EDEDED;
	border-top: none;
	padding-top: 10px;
	margin-top: -10px;
	margin-bottom: 10px;
}

.sideNav li.active .submenu {
	display: block;
}

.sideNav li.active .submenu li a{
	font-size: 14px;
	padding: 10px 15px 6px 15px;
	background-color: #FFFFFF !important;
	border-bottom: 1px solid #EDEDED;
	text-align: left;
	color: #7a002e;
	margin-bottom: 0;
}

.sideNav li.active ul.submenu li a{
	color: #7a002e;
}
.sideNav li.active ul.submenu li a:hover {
	background: #efefef;
	color: #292929;
}

.submenu li:first-child a{
	margin-top: -10px;
}

.submenu li:last-child a{
	margin-bottom: 0;
	border-bottom: none;
}

@media only screen and (min-width: 768px) {
	.about-index .thumb img{
		width: 100%;
		height: 220px;
	}
}

@media only screen and (max-width: 768px) {
	.left-bar .sideNav{
		padding: 0;
	}
	.left-bar .page-sidebar .parent-title{
		padding-left: 0;
	}
}


.post-news .thumb img{
	width: 100%;
	height: 220px;
	object-fit: contain;
}

.page-template-page-staff .staff .break-line{
	margin-top: 0;
}

.page-template-page-staff .staff .break-line div{
	margin-bottom: 20px;
}

.post-list-each.staff h2{
	margin-bottom: 15px;
}

.post-list-each.staff .post-content-short {
	text-decoration: unset;
}

.post-list-each.staff a{
	color: #292929;
	padding: 0;
}

.post-list-each.staff a:hover {
	text-decoration: unset;
	color: #292929;
}

.post-list-each.staff .role{
	margin-top: 0;
}

.staff .staff-title {
	font-size: 18px;
	line-height: 1.3em;
	margin-bottom: 15px;
}

.staff .staff-data {
	border-top: 3px solid #7a002e;
	margin-bottom: 40px;
	padding: 0;
}

@media only screen and (min-width: 768px) {
	.staff .staff-data {
		margin-bottom: 0;
	}
	.staff .staff-data:last-of-type {
		border-bottom: 3px solid #7a002e;
	}
}

.staff .staff-data .image{
	padding: 0;
	margin-bottom: 20px;
}

@media only screen and (min-width: 992px) {
	.staff .staff-data {
		display: flex;
	}
	.staff .staff-data .image{
		margin-bottom: 0;
	}
}

.staff .staff-data .imageWrapper {
	width: 100%;
	height: 0;
	padding-bottom: 100%;
	background-size: cover !important;
	background-position: center !important;
}

@media only screen and (min-width: 768px) {
	.staff .staff-data .name-and-role {
		padding: 15px;
	}
}


@media only screen and (min-width: 768px) {
	.staff .staff-data .description {
		padding: 15px;
	}
}

.staff .staff-data .description {
	position: relative;
}



.staff .staff-data .description .description-text {
	max-height: 180px;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 0;
}

.staff .staff-data .description.more {
	max-height: none !important;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
	.staff .staff-data .description .description-text {
		max-height: 120px;
	}
	.staff .staff-data .name-and-role {
		margin-bottom: 0;
		padding-bottom: 0;
	}
	.name-and-role p {
		margin-bottom: 15px;
	}
	.staff .staff-data .name-and-role,
	.staff .staff-data .description {
		float: right !important;
	}
	.staff .staff-data p.phone {
		margin-bottom: 15px;
	}
	.staff .staff-data .description {
		padding-top: 0;
	}
}

@media only screen and (min-width: 992px) {
	.staff .staff-data > div {
		max-height: 184px;
	}
	.staff .staff-data .description .description-text {
		max-height: 115px;
	}
	.name-and-role p {
		margin-bottom: 15px;
	}
}

@media only screen and (min-width: 1200px) {
	.staff .staff-data > div {
		max-height: 193px;
	}
	.staff .staff-data .description .description-text {
		max-height: 135px;
	}
}



.staff .staff-data .description .description-text p {
	overflow: hidden;
	text-overflow: ellipsis;
}

.staff .staff-data .description .description-read-more {
	float: right;
	margin-top: 15px;
}

.staff .staff-data .description.more {
	overflow: unset;
	height: auto;
	text-overflow: unset;
}

.staff .staff-data .description.more .description-text {
	max-height: unset;
	height: auto;
	overflow: unset;
	text-overflow: unset;
}

.staff .staff-data .staff-excerpt{
	margin: 0;
}


.staff .staff-data:last-child {
	margin-bottom: 0;
}


.tax-post-list .post-list{
	position: relative;
}

.tax-post-list .post-list .post-title{
	min-height: 22px;
}

.tax-post-list .post-list .filter{
	position: absolute;
	top: 0;
	right: 0;
}

.post-list-each.equipment{
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
}

.post-list-each.equipment .title{
	background-color: #7a002e;
	padding: 10px 15px;
	position: relative;
}

.post-list-each.equipment .title .uni-logo-wrapper {
	position: absolute;
	top: 50%;
	right: 0;
	padding: 10px;
	margin-top: -1px;
	transform: translate(0, -50%);
}
.post-list-each.equipment .title .uni-logo {
	width: auto;
	height: 34px;
	float: right;
}

.post-list-each.equipment .title > h2{
	margin-bottom: 0;
	color: #FFFFFF;
	text-decoration: none;
	text-underline: none;
	padding-right: 120px;
	line-height: 1.2em;
}


.post-list-each.equipment .content-wrapper {
	background-color: #f9f9f9;
	padding: 20px 0;
}

.post-list-each.equipment .content-wrapper .thumb{
	padding: 0 15px;
}

.post-list-each.equipment .content-wrapper .post-content-short{
	padding: 0 15px;
}

.post-list-each.equipment .content-wrapper .post-content-short p:last-child{
	margin-bottom: 0;
}

@media only screen and (max-width: 768px) {
	.post-list-each.equipment .content-wrapper {
		background-color: transparent;
	}

	.post-list-each.equipment .content-wrapper .thumb,
	.post-list-each.equipment .content-wrapper .post-content-short{
		padding: 0;
	}

	.post-list-each.equipment .title .uni-logo{
		height: 40px;
	}
}

.page-template-page-tool-list .staff .break-line{
	margin-top: 0;
}

.page-template-page-tool-list .staff .break-line div{
	margin-bottom: 20px;
}

.page-template-page-toollist .post-list-each.staff {
	background-color: #e4e4e4;
	margin-bottom: 50px;
}

.page-template-page-toollist .post-list-each.staff .break-line{
	margin: 0;
}

@media only screen and (min-width: 768px) {
	.page-template-page-toollist .post-list-each.staff .thumb {
		padding-left: 30px;
	}
}

.page-template-page-staff .post-list .university .post-content-short{
	padding: 0;
	overflow: unset;
}

.page-template-page-staff .post-list-each.staff{
	float: left;
	margin-bottom: 80px;
}

.single-post .banner .page-title{
	font-size: 38px;
	padding-right: 25%;
}

.page-template-news .submenu,
.single-post .submenu {
	margin-left: 0;
}

.page-template-news .sideNav,
.single-post .sideNav{
	margin: 0;
}

/*
 * Randomblowup style swiper
 */
.home-page .swiper-container{
	position: relative;
	padding-bottom: 20px;
}

.swiper-container .swiper-button-next,
.swiper-container .swiper-button-prev {
	width: 20px;
	height: 20px;
	top: unset;
	bottom: 0;
	color: #000000;
	z-index: 99;
	background: none;
	font-size: 20px;
	font-weight: bold;
}

.swiper-container .swiper-button-next:after{
	font-size: 20px;
	color: #000000;
}

.swiper-container .swiper-button-prev:after{
	font-size: 20px;
	color: #292929;
}

.swiper-container .swiper-pagination.swiper-pagination-bullets{
	bottom: 0;
	height: 20px;
}

.swiper-container .swiper-pagination .swiper-pagination-bullet{
	opacity: 1;
	background: #292929;
}

.swiper-container .swiper-pagination .swiper-pagination-bullet-active{
	background: #7a002e;
}

/*
 * Randomblowup style password protected
 */
.page-break-line {
	margin-top: 40px;
}


@media (min-width: 768px) {
	.panel-column-wrapper {
		display: flex;
		margin: 0 -15px;
	}
}
.panel-column-wrapper > p {
	display: none
}
.panel-column {
	margin-bottom: 25px;
	flex-grow: 1;
	flex-basis: 0;
	padding: 0;
}

@media (min-width: 768px) {
	.panel-column {
		padding: 15px;
	}
}

.panel-column .innerWrapper {
	height: 100%;
	padding: 15px 15px 15px 15px;
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
}


.main article img {
	width: auto;
	margin-bottom: 10px;
}
.main article img.alignright {
	float: right;
	margin-left: 20px;
}
.main article img.alignleft {
	float: left;
	margin-right: 20px;
}

.main article img.aligncenter {
	margin-left: auto;
	margin-right: auto;
	display: block;
}

.logo-bottom a {
	width: 100%;
	height: 0;
	overflow: hidden;
	padding-bottom: 36.333%;
	background: url(img/logo-anff.png);
	background-size: cover;
	display: block;
	filter: grayscale(100%) brightness(100);
	opacity: 0.3;
}
@media (max-width: 991px){
	.logo-bottom a {
		width: 150px;
		height: 55px;
		padding-bottom: 0;
		margin: 20px auto;
	}
}
.logo-bottom a img {
	display: none;
}


.btn-primary {
	width: auto;
	height: 50px;
	line-height: 50px;
	background: #670025;
	border-radius: 0;
	color: #FFFFFF;
	text-transform: uppercase;
	padding: 2px 25px 0 25px;
	display: inline-block;
	border: none !important;
}

.btn-primary:hover {
	background: #000000;
}



@media (max-width: 767px){
	.post-each {
		clear: both;
	}

	.post-each .inner {
		width: 100%;
		float: left;
		margin-bottom: 24px;
	}
}
