/*
Theme Name: lvaura-himalayas
Author: Thierry Bouedo
Description: Child theme of Himalayas (ThemeGrill)
Version: 1.0.0
License: GNU General Public License version 3
Template: himalayas
Text Domain:  lvaura
*/

/*--------------------------------------------------------------
    Filtres sur calendrier
--------------------------------------------------------------*/
@import url("style-regates-page.css");
/*--------------------------------------------------------------
    Overall
--------------------------------------------------------------*/
html, body {
    font-family: 'Raleway', sans-serif;
//    color: #636363;
    color: #0F0F0F;
}
div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre, a,
abbr, acronym, address, big, cite, code, del, dfn, em, font,
ins, kbd, q, s, samp, small, strike, strong, sub, sup,
tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    font-family: 'Raleway', sans-serif;
    color: inherit;
}
input, select, textarea, button {
    font-family: 'Raleway', sans-serif;
}
p {	margin-bottom: 12px; }

/*--------------------------------------------------------------
    Buttons (link, ...)
--------------------------------------------------------------*/
.link-btn a {
    background: #2fa4c4 none repeat scroll 0 0;
    border-radius: 3px;
    color: #ffffff;
//    display: inline-block;
//    font-size: 14px;
	font-weight: 400;
//    line-height: 32px;
//    margin: 20px 20px 0 0;
    padding: 3px 8px;
}
.link-btn a:hover { background-color: #1f94b4; }

/*--------------------------------------------------------------
    Header
--------------------------------------------------------------*/

#masthead .logo {
    float: left;
    padding: 0 5px;
//    margin-top: -5px;
}

#masthead .header-wrapper.stick .logo img {
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
}

.home-search .search-icon {
   display: none;
}

.home.transparent .header-wrapper {
    background: none;
}
.home.transparent .header-wrapper.stick,
.home.non-transparent .header-wrapper.stick {
    background: rgba(0,0,0,0.75);
}

.transparent .header-wrapper,
.non-transparent .header-wrapper {
//    padding: 4px 0px;
//    background: #e4e4e6 none repeat scroll 0 0;

}
.transparent .header-wrapper.stick,
.non-transparent .header-wrapper.stick {
//    background: #e4e4e6;
//    background: #333333;
    padding: 0;
}

/*--- oblique logo ---*/
.header-wrapper.stick .oblique-logo {
    -webkit-transform: scale(0.65);
    -ms-transform: scale(0.65);
    transform: scale(0.65);
}

.oblique-logo {
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    transform-origin: 0 0;
    box-shadow: none;
    -webkit-transition: 0.4s cubic-bezier(0,0,0.2,1);
    transition: 0.4s cubic-bezier(0,0,0.2,1);
}

.oblique-logo::before {
    content: '';
    position: absolute;
    top: 0;
 /*   left: -290px; */
    left: -30px;
 /*   width: 356px; */
    width: 326px;
    /* height: 140px; */
    height: 114px;
    background-color: #fff;
    /* previous -57deg */
    -webkit-transform: skewX(-20deg);
    -ms-transform: skewX(-20deg);
    transform: skewX(-20deg);
}

.header-wrapper.stick .oblique-logo::before {
    box-shadow: 11px 11px 16px rgba(0,0,0,0.15);
}

.oblique-logo img, .oblique-logo span {
    position: relative;
    margin: 9px 0 0 15px;
    width: 250px; 
}

/*--- oblique logo - responsive ---*/
@media (max-width: 768px) {
	.header-wrapper.stick .oblique-logo {
		-webkit-transform: scale(0.45);
		ms-transform: scale(0.45);
		transform: scale(0.45);
	}
	.oblique-logo {
		-webkit-transform: scale(0.65);
  	 	-ms-transform: scale(0.65);
		transform: scale(0.65);
	}
}
@media (max-width: 479px) {
	.oblique-logo {
		-webkit-transform: scale(0.45);
  	 	-ms-transform: scale(0.45);
		transform: scale(0.45);
	}
}


/*--- linear gradient ---*/
.slider-wrapper .parallax-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 280px;
    background: rgba(0,0,0,0);
    background: -webkit-linear-gradient(top,rgba(0,0,0,0.6) 0%,rgba(0,0,0,0) 100%);
    background: linear-gradient(to bottom,rgba(0,0,0,0.8) 0%,rgba(0,0,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=rgba(0,0,0,0.6),endColorstr=rgba(0,0,0,0),GradientType=0);
    -webkit-transition: .5s;
    transition: .5s;
}

/*--------------------------------------------------------------
    Menu and submenu
--------------------------------------------------------------*/

@media (min-width: 769px) {
	.home #site-navigation ul.sub-menu {
		background: rgba(0,0,0,0.7);
	}
}
#site-navigation ul li:hover > ul.sub-menu, 
.home #site-navigation ul li:hover > ul.sub-menu {
	top: 118%;
}
/*---
#site-navigation .menu li:hover > a {
    color: #a7d6d8!important;
}
---*/
#site-navigation .menu li ul.sub-menu li, 
.stick #site-navigation .menu li ul.sub-menu li {
//	padding: 10px 10px;
	text-align: left;
	margin-left: 0;
}
#site-navigation .menu li a {
	font-size: 16px;
	text-transform: none;
}
@media (max-width: 768px) {
	.header-wrapper.stick #site-navigation .menu li.menu-item-has-children > a,
	.header-wrapper #site-navigation .menu li.menu-item-has-children > a {
		margin-right: 50px;
	}
}
span.sub-toggle {
	z-index: 100;
}

/*--------------------------------------------------------------
    Slider
--------------------------------------------------------------*/
.slider-wrapper .tg-container {
    top: 60%;   /* default value */
}
.caption-title {
    border: 0px solid rgba(255, 255, 255, 0.7); /* whetever is the width */
    /* default; width > 1400px */
    font-size: 40px;
    width: 74%;
    text-transform: none;
    text-align:right;
    letter-spacing: 0px;
}

.caption-title:before,
.caption-title:after {
    background: none;
}

.caption-title span {
//	margin-right: -20px;
	padding: 36px 10px 16px 70px;
}
.caption-title span:after,
.caption-title span:before {
    background: none;
}

.caption-sub {
    font-weight: 400;
    letter-spacing: 0px;
    /* default; width > 1400px */
    font-size: 28px;
    /* line-height: 38px; */
    margin: 35px auto 65px auto;
    width: 1068px;
}

/*--- Responsive adaptation: tg-container/ caption-title / caption-sub ---*/

@media (min-width: 1340px) {
	.tg-container {
		width: 1300px;
	}
}

@media (max-width: 1400px) {
    .caption-title {
        font-size: 36px;
        width: 76%;
    }
    .caption-title span {
        line-height: 40px;
    }
    .caption-sub {
        margin: 25px auto 65px auto;
    }
}

@media (max-width: 1200px) {
    .caption-title {
        font-size: 32px;
    }
    .caption-title span {
        line-height: 34px;
    }
    .caption-sub {
        width: 94%;
        font-size: 26px;
        margin: 20px auto 45px auto;
    }
}

@media (max-width: 980px) {
    .caption-title {
        font-size: 26px;
        width: 80%;
    }
    .caption-title span {
        line-height: 28px;
    }
    .caption-sub {
        font-size: 24px;
        margin: 18px auto 42px auto;
    }
}

@media (max-width: 768px) {
    .slider-wrapper .tg-container {
        top: 52%;
    }
    .caption-title {
        font-size: 22px;
        width: 84%;
    }
    .caption-title span {
        line-height: 24px;
    }
    .caption-sub {
        font-size: 22px;
        margin: 16px auto 38px auto;
    }
}

@media (max-width: 600px) {
    .slider-wrapper .tg-container {
        top: 48%;
    }
    .caption-title {
        font-size: 18px;
        width: 100%;
    }
    .caption-title span {
        line-height: 20px;
        padding-top: 24px;
    }
    .caption-sub {
        display: block;
        font-size: 16px;
        margin: 6px auto 14px auto;
    }
}

@media (max-width: 480px) {
    .slider-wrapper .tg-container {
        top: 44%;
    }
    .caption-title {
        font-size: 14px;
    }
    .caption-title span {
        line-height: 16px;
        padding-top: 24px;
    }
    .caption-sub {
        display: block;
        font-size: 14px;
        margin: 4px auto 10px auto;
    }
}
/*--- end responsive ---*/


/*--------------------------------------------------------------
    Sidebar / Widget
--------------------------------------------------------------*/

#secondary .widget-title {
	text-transform: none;
}
#secondary .widget ul li {
	font-size: 14px;
	line-height: 26px;
}

/*--------------------------------------------------------------
    Footer
--------------------------------------------------------------*/

footer #top-footer {
	padding: 10px 0 0 0;
}
footer aside.widget_media_image {
	margin-bottom: 0px;
}

/*--------------------------------------------------------------
    Main content for front page
--------------------------------------------------------------*/
.home #main {
	margin-top: 50px;
}
.home footer#colophon {
	margin-top: 0px;
}
.front-page .no-sidebar-full-width .tg-container {
	width: 100%;
	overflow-x: hidden;
	overflow-y: hidden;
/*   margin-right: -1px;
    margin-left: -1px;	*/
}
.front-page article {
	margin-bottom:0px;
	padding-bottom: 0px;
	border-bottom-width: 0px;
}
.front-page #main {
	margin-top:0px;
}
.front-page article h2.entry-title {
	display: none;
}
.front-page article div.entry-content {
	margin-top:0px;
}
.front-page article div.entry-content p {
	display: none;
/*	margin-bottom:0px; */
}
article.tg-item {
	border-bottom-width: 0px;
}

/*--------------------------------------------------------------
    Section right side bar
--------------------------------------------------------------*/
.right_sidebar #primary {
    width: 74%;
    padding-right: 20px;
}
.right_sidebar #secondary {
    width: 24%;
    min-width: 132px;
}
@media (max-width: 768px) {
    .right_sidebar #primary, 
    .right_sidebar #secondary {
        width: 96%;
        padding-right: 0px;
    }
}

/*--------------------------------------------------------------
    Contact form with columns
--------------------------------------------------------------*/
.contact-form-wrapper.tg-column-wrapper {
	margin-left: 0;
}
.tg-column-2:first-child {
	margin-left: 0;
}
.tg-column-2 {
	width: 47.5%;
}

/*--------------------------------------------------------------
    single post
--------------------------------------------------------------*/

/*--- suppress thumbnail (if any) ---*/
article .entry-thumbnail {
    display: none;
}

/*--------------------------------------------------------------
    Post View
--------------------------------------------------------------*/

/*--- filter display ---*/
.cvp-live-filter.cvp-button input[type="radio"]:checked ~ div {
	background: #14a548;
}

/*--- category display ---*/

.pt-cv-meta-fields span.category a {
    background-color: #888888;
    padding: 1px 5px 1px 5px;
    color: #fff;
    font-weight: 500;

 }
 
.pt-cv-meta-fields span.category a:hover {
    background-color: #2d8abf;
}

/*--------------------------------------------------------------
    Events manager
--------------------------------------------------------------*/

/* disable post navigation */
body.event-template-default ul.default-wp-page { display: none; }

table.em-calendar td.eventful, 
table.em-calendar td.eventful-today {
	background-color: #ddeeff;
}
table.em-calendar td.eventful a, 
table.em-calendar td.eventful-today a {
	color: #2d8abf;
//	font-weight: 500;
}



/*--------------------------------------------------------------
    title, sub-title, columns, ...
--------------------------------------------------------------*/

/*---
article.type-page.hentry h1.entry-title { 
	background-color: #626262; padding: 24px 0px 24px 60px; margin-bottom: 10px; 
	font-size: 32px; font-weight: 800; color: #0ABBEF; 
}
article.type-page.hentry h1.entry-title:before {
    content: " ";
    width: 40px;
    height: 40px;
    background-image: url(images/croix_blue.png);
    background-size: 100%;
    display: inline-block;
    margin-right: 8px;
}
div.entry-content h2.subtitle {
	font-size: 18px; font-weight: 700; color: #CCF2FD; 
	background-color: #626262; padding: 0px 0px 24px 108px; 
	margin-top: -34px; margin-bottom: 10px; 
}
---*/

/*--- background color ---*/
.grey-bg { background-color: #E0E0E0; }
.darkgrey-bg { background-color: #626262; }

/*--- text color ---*/
.blue { color: #0ABBEF; }
.lightblue { color: #CCF2FD; }
.green { color: #3AAA35; }

/*--- frame ---*/
.h1-title-frame { padding: 24px 0px 24px 60px; margin-bottom: 10px; }
.h2-title-frame { padding: 10px 0px 10px 40px; margin-bottom: 8px; }
.column-frame { padding: 30px 25px 30px 25px; }

/*--- level1 title/subtitle ---*/
.h1-title { font-size: 32px; font-weight: 800; }
.h1-title:before {
    content: "";
    width: 40px;
    height: 40px;
    background-image: url(images/croix_blue.png);
    background-size: 100%;
    display: inline-block;
    margin-right: 8px;
}

.h1-subtitle { font-size: 18px; font-weight: 700; }
.h1-title ~ .h1-subtitle { margin-left: 48px; }

/*--- level2 title/subtitle ---*/
.h2-title { font-size: 24px; font-weight: 700; }
.h2-title:before {
    content: url(images/croix_green.png);
    position:relative; 
    margin-right: 8px;
    top: -8px;
}
.h2-subtitle { font-size: 22px; font-weight: 500; }
.h2-title ~ .h2-subtitle,
.h2-title + p span.h2-subtitle { margin-left: 26px; }

/*-------------------------------------------------------------
    Gallery (from JetPack)
-------------------------------------------------------------- */
.gallery {
  margin-bottom: 20px;
}
.gallery .gallery-item {
  float: left;
  margin: 0 4px 4px 0;
  overflow: hidden;
  position: relative;
}
.gallery-columns-1 .gallery-item {
  max-width: 100%;
}
.gallery-columns-2 .gallery-item {
  max-width: 48%;
  max-width: -webkit-calc(50% - 4px);
  max-width:         calc(50% - 4px);
}
.gallery-columns-3 .gallery-item {
  max-width: 32%;
  max-width: -webkit-calc(33.3% - 4px);
  max-width:         calc(33.3% - 4px);
}
.gallery-columns-4 .gallery-item {
  max-width: 23%;
  max-width: -webkit-calc(25% - 4px);
  max-width:         calc(25% - 4px);
}
.gallery-columns-5 .gallery-item {
  max-width: 19%;
  max-width: -webkit-calc(20% - 4px);
  max-width:         calc(20% - 4px);
}
.gallery-columns-6 .gallery-item {
  max-width: 15%;
  max-width: -webkit-calc(16.7% - 4px);
  max-width:         calc(16.7% - 4px);
}
.gallery-columns-7 .gallery-item {
  max-width: 13%;
  max-width: -webkit-calc(14.28% - 4px);
  max-width:         calc(14.28% - 4px);
}
.gallery-columns-8 .gallery-item {
  max-width: 11%;
  max-width: -webkit-calc(12.5% - 4px);
  max-width:         calc(12.5% - 4px);
}
.gallery-columns-9 .gallery-item {
  max-width: 9%;
  max-width: -webkit-calc(11.1% - 4px);
  max-width:         calc(11.1% - 4px);
}
.gallery-columns-1 .gallery-item:nth-of-type(1n),
.gallery-columns-2 .gallery-item:nth-of-type(2n),
.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery-columns-4 .gallery-item:nth-of-type(4n),
.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery-columns-6 .gallery-item:nth-of-type(6n),
.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery-columns-8 .gallery-item:nth-of-type(8n),
.gallery-columns-9 .gallery-item:nth-of-type(9n) {
  margin-right: 0;
}
.gallery-columns-1.gallery-size-medium figure.gallery-item:nth-of-type(1n+1),
.gallery-columns-1.gallery-size-thumbnail figure.gallery-item:nth-of-type(1n+1),
.gallery-columns-2.gallery-size-thumbnail figure.gallery-item:nth-of-type(2n+1),
.gallery-columns-3.gallery-size-thumbnail figure.gallery-item:nth-of-type(3n+1) {
  clear: left;
}
.gallery:before,
.gallery:after {
    content: '';
    display: table;
}
.gallery:after {
    clear: both;
}
.gallery figcaption { display: none; }



/*--------------------------------------------------------------
    Wrapping from FFVoile ...
--------------------------------------------------------------*/

/*------- Calendar --------*/
table.race-calendar, table.race-calendar tr, table.race-calendar td, table.race-calendar th {
	border: 0;
}
table.race-calendar thead {
	background-color: #e2e2e2; 
}
table.race-calendar thead th {
	padding: 4px 8px 4px 4px; 
}
table.race-calendar tbody {
	font-size: 13px;
}
table.race-calendar tr {
	border-bottom: 1px solid #ccc; 
}
table.race-calendar tr.separator {
	border-bottom: 0; 
}
table.race-calendar td {
	padding: 3px 8px 3px 0px;
}
table.race-calendar td.flags {
	display: inline-block;
	white-space: nowrap;
}
table.race-calendar td.flags img {
	height: 18px;
	width: auto;
	margin-right: 3px;
}

table.race-calendar tr.month td {
//	background-color: #2fa4c4;
//	color: #fff;
	font-size: 14px;
	font-weight: 600;
//	padding: 2px 6px;
	padding: 4px 2px 0px 2px;
}
table.race-calendar td.grade, table.race-calendar td.support {
	font-size: 11px;
}
/*------- Results --------*/
table.race-result, table.race-result tr, table.race-result td, table.race-result th,
table.race-referees, table.race-referees tr, table.race-referees td, table.race-referees th {
	border: 0;
}
table.race-result, 
table.race-referees {
	border-bottom: 1px solid #ccc;
	width: auto;
}

table.race-result thead,
table.race-referees tr:first-child {
	background-color: #e2e2e2; 
}
table.race-result thead tr,
table.race-result tr.start-boat,
table.race-referees tr {
	border-top: 1px solid #ccc; 
}
table.race-result thead th,
table.race-referees th {
	padding: 4px 8px 4px 8px; 
}
table.race-result tbody ,
table.race-referees {
	font-size: 13px;
}
table.race-result td,
table.race-referees td {
	padding: 1px 8px 1px 8px;
}
table.race-result td.boat-type,
table.race-result td.club {
	font-size: 11px;
}

/*--------------------------------------------------------------
    Tabby responsive tabs
--------------------------------------------------------------*/
.responsive-tabs .responsive-tabs__list__item {
	font-size: 15px;
	color: #2fa4c4;
	background: transparent;
}
/*--------------------------------------------------------------
    Popp Maker
--------------------------------------------------------------*/
.pum-content div label,
.pum-content div span {
	color: inherit;
}



.leaflet-popup { left: 196px; width: 392px; }
.leaflet-popup .leaflet-popup-content { width: 360px!important; }
.leaflet-popup .leaflet-popup-content .separator { height: 10px; }
.leaflet-popup .leaflet-popup-content-wrapper { background: #fff; border-radius: 4px; }
.leaflet-popup-content-wrapper .leaflet-popup-content { margin: 10px 22px 10px 10px; }


.title {
	font-weight: 500;
	padding: 2px 8px;
	margin-bottom: 6px;
	color: #fff;
	background-color: #346;
}
.spot .title { width: 360px; }
.spot .content { text-align: center; }
.spot .content img {
	width: auto;
	max-width: 360px!important;
	max-height: 250px;
}

.club .title { width: 360px; }
.club .logo img { float: left; width: 90px; margin-right: 10px; }
.club .contact { min-height: 90px; line-height: 18px; }
.club .labels {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
}
.club .labels .location-tag {
	margin: 0 8px 6px 8px;
}
.club .labels .location-tag img {
	max-height: 56px;
}
