﻿/*
Theme Name: Ralph Thornton theme
Description: child theme of Vantage
Author: Paul Bonish for Union Communications
Template: vantage
*/


#colophon .widget_media_image {
	display: block;
	margin-top: 100px;
}


/*---------------------- fonts ----------------------*/


@font-face {
    font-family: 'MontserratNormal';
    src: url('fonts/MontserratRegular.eot');
    src: url('fonts/MontserratRegular.eot') format('embedded-opentype'),
         url('fonts/MontserratRegular.woff2') format('woff2'),
         url('fonts/MontserratRegular.woff') format('woff'),
         url('fonts/MontserratRegular.ttf') format('truetype'),
         url('fonts/MontserratRegular.svg#MontserratRegular') format('svg');
}

@font-face {
    font-family: 'MontserratSemiBold';
    src: url('fonts/MontserratSemiBold.eot');
    src: url('fonts/MontserratSemiBold.eot') format('embedded-opentype'),
         url('fonts/MontserratSemiBold.woff2') format('woff2'),
         url('fonts/MontserratSemiBold.woff') format('woff'),
         url('fonts/MontserratSemiBold.ttf') format('truetype'),
         url('fonts/MontserratSemiBold.svg#MontserratSemiBold') format('svg');
}

@font-face {
    font-family: 'MontserratBold';
    src: url('fonts/MontserratBold.eot');
    src: url('fonts/MontserratBold.eot') format('embedded-opentype'),
         url('fonts/MontserratBold.woff2') format('woff2'),
         url('fonts/MontserratBold.woff') format('woff'),
         url('fonts/MontserratBold.ttf') format('truetype'),
         url('fonts/MontserratBold.svg#MontserratBold') format('svg');
}

@font-face {
    font-family: 'MontserratExtraBold';
    src: url('fonts/MontserratExtraBold.eot');
    src: url('fonts/MontserratExtraBold.eot') format('embedded-opentype'),
         url('fonts/MontserratExtraBold.woff2') format('woff2'),
         url('fonts/MontserratExtraBold.woff') format('woff'),
         url('fonts/MontserratExtraBold.ttf') format('truetype'),
         url('fonts/MontserratExtraBold.svg#MontserratExtraBold') format('svg');
}


/*
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Nunito Sans Regular'), local('NunitoSans-Regular'), url(https://fonts.gstatic.com/s/nunitosans/v2/iJ4p9wO0GDKJ-D5teKuZqogp9Q8gbYrhqGlRav_IXfk.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}
*/

/*------------------------------- base font color ------------------------*/
.entry-content {
   color: #585858!important;
}

/*-------- Body ----------*/
body,button,input,select,textarea {
	font-family: 'MontserratNormal'!important;
}

.site-content article {
	font-size: 14px;
}

/*---------- Site Title Font ---------*/

header#masthead h1 { 
	font-family: 'MontserratNormal'!important;
}

/*------- Heading Font ------------*/

h1,h2,h3,h4,h5,h6 { 
	font-family: 'MontserratNormal'!important;
}

/*------- nav bar Font ------------*/
.main-navigation ul li {
	font-family: 'MontserratNormal'!important;	
}


/*------- List Heading Font ------------*/
.list-heading, .list-heading-sep {
	font-family: 'MontserratSemiBold'!important;
	font-size: 48px;
	color: #421c51;
	padding-left: 30px;
}

/*------- Front page Slider Font ------------*/
.front-page-slider .msHtmlOverlay .layer * {
	font-family: 'MontserratNormal';
	//font-size: 126%!important;
	line-height: 120%!important;
}

.mobile-nav-frame ul {
	font-family: 'MontserratNormal';
}

/*---------- end of fonts -------------------*/


#masthead {
	margin-top: 8px;
}

body.layout-full {
	background-color: #fff!important;
}


/*------------------ lang switcher -----------------*/
#logo-wrap {
	display: block;
}

#the-switcher {
	display: block;
	float: right;
	margin-top: -100px;
	margin-right: 140px;
}

.switcher {
	//width: 180px!important;
	border-radius: 4px!important;

}

.switcher .option a.selected {
	background-color: #fff!important;
}

.switcher .option a {
	background-color: #fff!important;	
	//color: #fff!important;
}

.switcher .selected a {
	border: none!important;
	background-color: #421c51!important;
	color: #fff!important;
	width: auto!important;
	background-position: 96%!important;
	font-size: 14px!important;
}

.switcher .selected {
	//background-color: #3887ba!important;
}

/*------------------ menu -----------------------*/
.main-navigation {
	border-top: solid 4px #fff;
}

/* Vantage Sub Menu Width */

.main-navigation ul ul a {
	min-width: 350px!important;
}

.main-navigation ul ul li {
	padding-left: 0px!important;
}



/*------------------- flex slider -----------*/
.flexslider .flex-control-paging {
	bottom: -30px;
	text-align: center;
}

.flexslider .flex-control-paging li {
	margin-right: 25px!important;
}


.flex-control-paging li a {
	height: 26px!important;
	width: 26px!important;
	background: url('/wp-content/themes/rt-2017/images/slider-dot.png')!important;
}

.flex-control-paging li a:hover {
	background-color: #eeeeee !important;
}

.flex-control-paging li a.flex-active { 
	background: url('/wp-content/themes/rt-2017/images/slider-dot-active.png')!important;
}


.event-box-container {
	position: relative;
}

.event-box h3 {
	display: block;
	position: relative;
	margin-top: -50px!important;
	margin-left: 20px;
	font-size: 28px;
	color: #fff!important;
}


/*------- buttons -----------*/
article.post .more-link, article.page .more-link {
    background: none;
    border: none;
    font-size: 14px;
    color: #3887ba;
}

.post-navigation a, #image-navigation a {
    background: none;
    border: none;
    font-size: 14px;
    color: #3887ba;
}

.post-navigation a:hover, #image-navigation a:hover {
    background: none;
    border: none;
    font-size: 14px;
    color: #3887ba;
}


/*---------------- events calendar -------------------------------------------------------------------------*/
h2.tribe-events-page-title {
    text-align: left;
}

#tribe-events-pg-template {
	margin: 0px;
	max-width: 1200px;
}

#tribe-events .tribe-events-button, .tribe-events-button {
    display: none;
}


.tribe-events-list-event-title a {
	display: block;
	font-family: 'MontserratNormal'!important;
	font-size: 38px;
	line-height: 38px;
	color: #421c51!important;
	margin-top: 4px;
	margin-bottom: 18px;
}

.tribe-events-sub-nav li a {
	background-color: #421c51!important;
}

.tribe-events-list .type-tribe_events {
	border-bottom: none;
	background-image: url('/wp-content/uploads/2017/04/dots.png');
	background-repeat: no-repeat;
	background-position: bottom;
	padding-bottom: 30px;
	padding-top: 20px;
}

.tribe-events-day .tribe-events-day-time-slot .type-tribe_events {
	margin-left: 0px;
	//padding-left: 20px;
}

.tribe-events-day {
	padding: 0px;
}

.tribe-events-day .tribe-events-event-image {
	width: 100%!important;
	float: none!important;
}

.events-list .tribe-events-event-image {
	width: 100%!important;
}

/*--------------------- hide the calendar filters ----------------------------*/
.tribe-bar-disabled {
	display: none;
}

/*--------------------- hide the export button ----------------------------*/
#tribe-events-footer~a.tribe-events-ical.tribe-events-button {
	display: none;
}

/*--------------------- remove venue details border ----------------------------*/
.tribe-events-list .tribe-events-venue-details {
	border: none;
}


.tribe-events-list-separator-month {
	background-color: #421c51;
	color: #fff;
}

.tribe-events-calendar th {
	background-color: #421c51;
	color: #fff;
}

/*---------------------- font size of previous/next links ----------------*/
.tribe-events-sub-nav {
	display: block;
	font-size: 16px;
	margin-top: 30px!important;
}

#top-dots {
	display: block;
	height: 10px;
	width: 100%;
	background-image: url('/wp-content/uploads/2017/04/dots.png');
	background-repeat: no-repeat;
	background-position: center;
	margin-top: 20px;
}


.tribe-events-page-title {

}

.time-details, .tribe-event-schedule-details {
	font-size: 18px!important;
}

.time-details {
	display: block;
	margin-bottom: 20px!important;
	margin-top: 20px!important;
}

#rt-event-wrapper {
	position: relative;
	padding-left: 20px;
}

#rt-event-image {
	width: 20%!important;
	display: inline-block;
}

#rt-event-content {
	display: inline-block;
	padding-left: 10px;
	width: 68%;
	vertical-align: top;
}


/*-------------- blog styling --------------*/
#loop-content {
	margin-top: 20px;
}

article.post, article.page {
	border: none;
	background-image: url('/wp-content/uploads/2017/04/dots.png');
	background-repeat: no-repeat;
	background-position: bottom;
	padding-bottom: 30px!important;
	padding-left: 20px;
}

article.post .entry-header h1.entry-title, article.page .entry-header h1.entry-title {
	font-size: 1.8em;
}


.pagination span, .entry-content .pagination span, .pagination a, .entry-content .pagination a {
	border: none;
	background: none;
	background-color: #421c51;
	color: #fff;
}

.pagination span, .entry-content .pagination span, .pagination a:hover, .entry-content .pagination a:hover {
	border: none;
	background: none;
	background-color: #aace42;
	color: #fff;
}


.pagination .current, .entry-content .pagination .current {
	border: none;
	background: none;
	background-color: #aace42;
	color: #fff;	
}


body.responsive.layout-full #page-wrapper .full-container {
	max-width: 1200px;
}

.home #main {
	padding-top: 4px;
}

.vantage-icon-search:before {
	font-size: 22px;
  	font-weight: normal;
}



/*-------------------------- home page recent news --------------------------------*/
.entry-content .rpwwt-widget {
	font-size: 14px!important;
}

.rpwwt-widget a {
	text-decoration: none;
}

.rpwwt-widget ul li {
	background-image: url('/wp-content/uploads/2017/04/dots.png');
	background-repeat: no-repeat;
	background-position: bottom;
	padding-bottom: 30px;
	padding-left: 20px;
}

.rpwwt-post-title {
	display: block;
	position: relative;
	font-size: 32px;
	line-height: 40px;
	font-family: 'MontserratSemiBold';
	color: #585858;
	margin-bottom: 10px;
	max-width: 600px;
}

.more-news {
	display: block;
	padding-left: 20px;
	font-family: 'MontserratSemiBold';
	font-size: 32px;
	color: #3887ba;
}

.more-news a {
	text-decoration: none;
}


/*------------------ misc ------------------------*/
#colophon .widget_nav_menu .menu-item a {
	border: none;
}

#fee-table td  {
	border: solid 1px #ddd;
	padding: 6px;
}

/*------------ social ----------------------------*/
#socials ul li {
	padding-right: 20px;
}



/*-------------------------- contact 7 forms --------------*/

#join-form span.wpcf7-list-item {
	margin: 0px;
}


/* #Media Queries
================================================== */

    /* Wider than 768 (devices and browsers) */
	@media only screen and (min-width: 1201px) {
        
    }

    /* Tablet landscape 1024 (devices and browsers) */
	@media only screen and (min-width: 960px) and (max-width: 1200px) {
        .tribe-events-list .time-details { padding: 0px; }
    }

	/* Tablet Portrait size to standard 960 (devices and browsers) */
	@media only screen and (min-width: 768px) and (max-width: 959px) {
        .tribe-events-list .time-details { padding: 0px; }
	}

	/* All Mobile Sizes (devices and browser) */
	@media only screen and (max-width: 767px) {
		.tribe-events-list .time-details { padding: 0px; }
		
		/*--------------------- bg color of mobile nav bits ----------------------------*/
		.tribe-events-sub-nav li a { background-color: #421c51; }

		.tribe-events-loop .tribe-events-event-meta { background-color: #fff; border: none; margin: 0px; padding: 0px; }
        
		.list-heading { line-height: .9;}
		.switcher {display: none;}
	}

	/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
	@media only screen and (min-width: 480px) and (max-width: 767px) {
        
	}

	/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
	@media only screen and (max-width: 479px) {
     	/*---------------------- font size of previous/next links ----------------*/
		.tribe-events-sub-nav { font-size: 14px; }   
	}