/*  STYLES CUSTOM - SITE PETR PAYS TOLOSAN */



/* ========================================================================== */
/*
/* GENERAL
/*
/* ========================================================================== */

/* FONTS */
@import url('https://fonts.googleapis.com/css?family=Oxygen:300,400,700');
/* font-family: 'Oxygen', sans-serif; */

/* COULEURS */
.gris-dark { color: #474538; }
.gris-medium { color: #59595a; }
.gris-light { color: #EEEEEE; }
.marron { color: #581415; }
.bleu { color: #53c1e5; }
.orange { color: #f18d13; }
.rose { color: #e52e88; }
.vert { color: #CDD12C; }
.violet { color: #802A84; }


/* TITRES */
h1, h2, h3, h4, h5, h6 { font-family: 'Oxygen', sans-serif; text-transform: none; font-weight: 300; margin-bottom: 10px; } 
h1 { color: #474538; }
h2, h4, h6 { color: #f18d13; }
h3, h5 { color: #581415; }
h1 { font-size: 38px; line-height: 48px; margin-top: 0; }
h2 { font-size: 30px; line-height: 40px; }
h3 { font-size: 26px; line-height: 30px; text-transform: none; }
h4 { font-size: 22px; line-height: 28px; }
h5 { font-size: 20px; line-height: 25px; }
h6 { font-size: 16px; line-height: 20px; }
h2, h3, h4, h5, h6 { margin-top: 30px; }
h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p { margin-top: 10px; }

/* LIENS + BOUTONS */
a { color: #581415; text-decoration: none; font-weight: 400; }
a:hover { color: #f18d13; text-decoration: none; }

a.bouton { all: initial; background: #474538; color: #fff; padding: 3px 8px; }
a.bouton:hover { background: #f18d13; color: #fff; cursor: pointer; }


/* DIVERS */
html, body { font-family: 'Oxygen', sans-serif; font-weight: 400; }

em { color: #474538; }
strong a { font-weight: bold !important; }

.tm-article-container > ul > li { padding: 5px 0; }

blockquote { 
	border: 0; 
	background: #e52e88; 
	color: #fff; 
	padding: 20px; 
	font-family: 'Oxygen', sans-serif; 
	font-size: 16px; line-height: 23px; 
	font-style: normal; 
}
blockquote p { font-weight: 400; }
blockquote a { color: #581415; }
blockquote a:hover { color: #f18d13; }

.tm-block-main article.uk-article ul { padding-left: 15px; margin-top: -5px; }
.tm-block-main article.uk-article ul > li { padding: 3px 0; }

::-moz-selection { color: #fff; background: rgba(0,0,0,0.6); }
::selection { color: #fff; background: rgba(0,0,0,0.6); } 



/* ----------------------------------------------------- */
/* CUSTOM 
/* ----------------------------------------------------- */
.chapo { font-size: 18px; line-height: 21px; }




/* ========================================================================== */
/*
/* POSITIONS & MODULES
/*
/* ========================================================================== */

/* HEADER */
.tm-navbar .uk-flex-middle {
  -ms-flex-align: flex-end;
  -webkit-align-items: flex-end;
  align-items: flex-end;
}
.tm-logo p { margin-top: 15px; }

.tm-toolbar { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }

/* MIDDLE */
#tm-content {  
	background: #fff;
	border-radius: 0;
    box-shadow: 0 5px 8px 0 rgba(160, 166, 168, 0.35);
    color: #474538;
    overflow: hidden;
    padding: 30px;
}

.tm-article .tm-article-container h1 { text-align: left; background: #f18d13; color: #fff; padding: 5px 15px; }

/* SIDEBAR */
.tm-sidebar-a ul.uk-nav { margin-left: 10px; }
.tm-sidebar-a .uk-nav-side > li > a:before { font-family: FontAwesome; content: "\f105"; color: #59595a; margin-right: 5px; margin-left: -10px; } 
.tm-sidebar-a .uk-nav-side.uk-nav-parent-icon > .uk-parent > a:after { content: none; }

/* FOOTER */
#tm-bottom-d #partenaires-logos .uk-grid { margin: 0 -60px; }
#tm-bottom-d #partenaires-logos .uk-grid > div { padding: 0; }

#tm-footer { margin-top: 30px; padding-top: 20px; font-size: 16px; line-height: 25px; }
#tm-footer .uk-flex-middle { align-items: flex-start; }
.tm-footer-left { width: 40%; color: #59595a; }
.tm-footer-left img { margin-top: 10px; }
.tm-footer-left #copyright { font-size: 14px; line-height: 16px; clear: left; margin-top: 20px; }
.tm-footer-right { width: 60%; padding-top: 10px; } 
#tm-footer p { margin: 10px 0; }
.tm-footer-right p { margin: 0 !important; padding-bottom: 15px; }



/* ----------------------------------------------------- */
/* STYLES 
/* ----------------------------------------------------- */
.uk-panel-box-vert { background: #AFC60D; color: #fff; }
.uk-panel-box-violet { background: #802A84; color: #fff; }

.uk-panel h1,
.uk-panel h2,
.uk-panel h3,
.uk-panel h4,
.uk-panel h5,
.uk-panel h6 { margin-top: 0; }

.uk-panel h3 { 
	font-size: 19px; line-height: 23px;
	font-weight: 400;
	color: #581415; 
	text-transform: uppercase; 
	letter-spacing: 2px;
}
.uk-panel h4 { font-size: 30px; line-height: 35px; color: #581415; }

.uk-panel a:hover > img { -webkit-filter: brightness(120%); filter: brightness(120%); }

.uk-panel-box-primary h2,
.uk-panel-box-primary h3,
.uk-panel-box-secondary h2,
.uk-panel-box-secondary h3,
.uk-panel-box-vert h2,
.uk-panel-box-vert h3,
.uk-panel-box-violet h2,
.uk-panel-box-violet h3 { color: #fff; }

.uk-panel-box-vert a.uk-button,
.uk-panel-box-violet a.uk-button { background-color: #fff; box-shadow: none; color: #581415; }
.uk-panel-box-vert a.uk-button:hover,
.uk-panel-box-violet a.uk-button:hover { background-color: #474538 !important; color: #fff; }

.uk-panel-box-primary a.bouton,
.uk-panel-box-secondary a.bouton,
.uk-panel-box-vert a.bouton,
.uk-panel-box-violet a.bouton { background-color: #fff; color: #474538; }
.uk-panel-box-primary a.bouton:hover,
.uk-panel-box-secondary a.bouton:hover,
.uk-panel-box-vert a.bouton:hover,
.uk-panel-box-violet a.bouton:hover { background-color: #474538; color: #fff; }



/* ========================================================================== */
/*
/* PLUGINS
/*
/* ========================================================================== */


/* ----------------------------------------------------- */
/* WIDGETKIT 
/* ----------------------------------------------------- */
.wk-banner.accueil .uk-overlay-panel { padding: 50px; max-width: 600px; }
.wk-banner.accueil .uk-overlay-panel h1 { color: #581415; font-size: 30px; line-height: 35px; font-weight: bold; }
.wk-banner.accueil .uk-overlay-panel h2 { font-size: 35px; line-height: 40px; }

.wk-territoire .uk-icon-button.uk-icon-plus { border: 0; }
.wk-territoire .uk-icon-button.uk-icon-plus:before { content: url('../images/bouton-plus-dark.png'); }
.wk-territoire .uk-icon-button.uk-icon-plus:hover:before { content: url('../images/bouton-plus-light.png'); } 
.wk-territoire .uk-dropdown-top { width: 250px !important; font-size: 16px; text-transform: uppercase; border:0 !important;}
.wk-territoire .uk-panel-box { padding: 15px; border:0 !important; }
.wk-territoire h3.uk-panel-title { 
	font-size: 22px; 
	line-height: 30px; 
	text-transform: none; 
	font-weight: 400;
	letter-spacing: 0;
	color: #581415;
	padding-bottom:0;
	margin-bottom: -5px;
}
.wk-territoire a.uk-button { background: #474538; color: #fff; box-shadow: none; }
.wk-territoire a.uk-button:hover { background: #59595a; }

.wk-galerie .uk-overlay-background { background: rgba(255,255,255,0.4); }




/* ----------------------------------------------------- */
/* FORMULAIRES RSFORM
/* ----------------------------------------------------- */

.formResponsive .rsform-block-header { font-size: 18px; line-height: 25px; }
.formResponsive .rsform-block-infos { color: #69696a; font-size: 14px; }

.formResponsive .formHorizontal .formControlLabel { width: 140px; }
.formResponsive .formHorizontal .formControls { margin-left: 155px; }
.formResponsive input { border-radius: 0; box-shadow: none; }
.formResponsive select, 
.formResponsive textarea, 
.formResponsive input[type="text"], 
.formResponsive input[type="number"], 
.formResponsive input[type="email"], 
.formResponsive input[type="tel"], 
.formResponsive input[type="url"], 
.formResponsive input[type="password"] { font-size: 16px; }

.formResponsive input[type="text"].rsform-captcha-box { margin-bottom: 0; }
.formResponsive .rsform-block-captcha .formDescription { color: #69696a; font-size: 14px; }
.formResponsive .rsform-captcha-refresh-button { font-size: 14px; color: #53C1E5; }
.formResponsive .rsform-captcha-refresh-button:hover { color: #f18d13; }

.formResponsive input[type="submit"], 
.formResponsive button[type="submit"] { 
	background: #53C1E5; 
	color: #fff; 
	font-size: 18px; 
	border: 0; 
	border-radius: 0; 
	padding: 10px; 
	text-shadow: none !important; 
}
.formResponsive button[type="submit"]:hover { background: #f18d13; color: #fff; }


/* ----------------------------------------------------- */
/* BASE DOCUMENTAIRE RSFILES
/* ----------------------------------------------------- */

.rsfiles-layout .navbar-inner { background: none; border: 0; box-shadow: none; padding: 0; }
.rsfiles-layout .navbar a.brand { display: none !important; }
.rsfiles-layout .nav.rsf_navbar_ul { padding-left: 0; }
.rsfiles-layout .nav.rsf_navbar_ul .btn { background: #581415; box-shadow: none; }
.rsfiles-layout .navbar .nav > li > a { color: #fff; text-shadow: none; }
.rsfiles-layout .navbar .nav > li > a:hover { color: #F18D13; }
.rsfiles-layout .icon-arrow-up-3 { display: none; }





/* ========================================================================== */
/*
/* PAGES SPECIALES
/*
/* ========================================================================== */

/* ----------------------------------------------------- */
/* PAGE ACCUEIL 
/* ----------------------------------------------------- */

/* banner */
.p-accueil #tm-top-a .uk-panel-box { padding: 0; }

.p-accueil #tm-top-b { margin-top: 0; }
.p-accueil #tm-top-b .uk-panel-box { padding: 15px 30px; }
.p-accueil #tm-top-b .uk-grid { margin-left: -5px; }
.p-accueil #tm-top-b .uk-grid > * { padding-left: 5px; }
.p-accueil #tm-main-top .uk-panel-box { padding: 40px; font-size: 20px; line-height: 28px; font-weight: 300; }
.p-accueil #tm-top-b h3 { 
	border-left: 2px solid #f18d13; 
	padding-left: 10px; 
	font-size: 14px; line-height: 20px; 
	letter-spacing: 0; 
	font-weight: 400;
	margin: 10px 0;
}

.p-accueil #tm-main-top h2 { margin-bottom: 30px; }
.p-accueil #tm-main-top a:hover img { -webkit-filter: brightness(0); filter: brightness(0); }
.p-accueil #tm-main-top em { font-style: normal; font-size: 17px; line-height: 20px; }

.p-accueil #tm-content h3 { 
	font-size: 19px; line-height: 23px;
	font-weight: 400;
	color: #581415; 
	text-transform: uppercase; 
	letter-spacing: 2px; 
	margin-top: 0; 
}

.p-accueil #tm-bottom-b a.uk-button,
.p-accueil #tm-bottom-d a.uk-button { font-size: 18px; }


/* ----------------------------------------------------- */
/* PAGE TERRITOIRE 
/* ----------------------------------------------------- */
.p-territoire div.uk-grid.titre { margin-top: 40px; position: relative; }
.p-territoire div.titre-cc { 
	border-left: 2px solid #581415; 
	padding: 15px; 
	margin-left: -10px;
	position: absolute;
  	top: 50%;
  	transform: translateY(-50%); 
}
.p-territoire div.titre-cc + p { clear: left; }
.p-territoire .tm-article-container h3 { margin: 0; }
.p-territoire div.uk-grid.communes { margin-top: 20px; }
.p-territoire div.uk-grid.communes a { color: #474538; }
.p-territoire div.uk-grid.communes a:hover { color: #f18d13; }

.p-territoire div.contact { margin: 20px 0 60px 0; padding: 10px 20px; color: #000; font-size: 18px; line-height: 24px; text-transform: uppercase; }
.p-territoire div.contact#bellevue { background-color: rgba(83,193,230,0.8); } /* bleu */
.p-territoire div.contact#girou { background-color: rgba(229,46,136,0.8); } /* rose */
.p-territoire div.contact#frontonnais { background-color: rgba(240,138,2,0.8); } /* orange */
.p-territoire div.contact#save-cadours { background-color: rgba(249,187,4,0.8); } /* jaune */
.p-territoire div.contact#valaigo { background-color: rgba(206,212,2,0.8); margin-bottom: 0; } /* vert */
.p-territoire div.contact h4 { color: #000; margin: 10px 0 -5px 0; }
.p-territoire div.contact a { color: #000; text-transform: none; } 
.p-territoire div.contact a:hover { color: #fff; }



/* ----------------------------------------------------- */
/* PAGE CONTACT 
/* ----------------------------------------------------- */
.p-contact h1 { 
	background: #f18d13; 
    color: #ffffff;
    padding: 5px 15px;
    text-align: left;
	margin-bottom: 30px;
}
.p-contact h2 { display: none; }
.p-contact .tm-sidebar-a .uk-panel-box-secondary { font-size: 18px; line-height: 25px; }
.p-contact .tm-sidebar-a .uk-panel-box-secondary p + h3 { margin-top: 25px; }
.p-contact .tm-sidebar-a .uk-panel-box-secondary strong { font-weight: 400; font-size: 20px; }


/* ----------------------------------------------------- */
/* BASE DOCUMENTAIRE
/* ----------------------------------------------------- */
.p-documents .page-header { border-bottom: 0; }
.p-documents .page-header h1 { text-align: left; background: #f18d13; color: #fff; padding: 5px 15px; }





/* ========================================================================== */
/*
/* RESPONSIVE
/*
/* ========================================================================== */

.uk-navbar-toggle:after { font-family: FontAwesome; content: "\f0c9"; font-size: 25px; color: #59595a; }
.uk-navbar-toggle:hover:after { color: #474538; }

@media(max-width: 1100px) {
	#tm-bottom-c .uk-panel { padding: 15px; }
	#tm-bottom-c .uk-panel h4 { font-size: 25px; line-height: 30px; }
	#tm-bottom-d #partenaires-logos .uk-grid { margin: 0; }
	.p-accueil #territoire-communes img { height: 80px; }
}
@media(max-width: 960px) {
	a.tm-logo-small img { margin-top: 10px; }
	.tm-sidebar-a h2 br { display: none; }
	#tm-bottom-c .uk-panel h4 { font-size: 20px; line-height: 25px; padding: 10px; }
	#tm-footer .tm-footer-left,
	#tm-footer .tm-footer-right { width: 50%; }
	#tm-footer .tm-footer-right div.uk-column-1-3 { column-count: 2; padding-left: 50px; }
	
	.p-accueil #territoire-communes.uk-grid { display: block; } 
}
@media(max-width: 860px) {
	.p-accueil .wk-banner.accueil .uk-cover-background { background-position: 0 50px; }
}
@media(max-width: 768px) {
	body { padding: 0 5px; }
	.page-header { margin-bottom: 0; }
	.tm-article .tm-article-container h1,
	.p-documents .page-header h1,
	.p-contact h1 { font-size: 32px; line-height: 38px; }
	
	#tm-bottom-c .uk-panel h4 { margin-bottom: 0; padding-bottom: 0; }  
	#tm-bottom-c .uk-panel h4 + p { margin-top: 0; }
	#tm-bottom-d #partenaires-logos .uk-grid { display: block; }
	#tm-bottom-d #partenaires-logos .uk-grid img { margin-right: 10px; margin-bottom: 10px; }
	#tm-footer .tm-footer-left,
	#tm-footer .tm-footer-right { width: auto; margin: auto; }
	#tm-footer .tm-footer-left img { float: none !important; margin: 0 !important; }
	#tm-footer .tm-footer-left { text-align: center; margin-bottom: 30px; }
	#tm-footer .tm-footer-right { text-align: left; }
	
	.p-accueil .wk-banner.accueil .uk-overlay-panel { padding: 18px 25px; }
	.p-accueil .wk-banner.accueil .uk-overlay-panel h1 { font-size: 25px; line-height: 28px; }
	.p-accueil .wk-banner.accueil .uk-overlay-panel h2 { font-size: 22px; line-height: 25px; }
	.p-accueil #tm-main-top .uk-panel-box { padding: 25px; font-size: 17px; line-height: 20px; }
	.p-accueil #tm-main-top .uk-panel-box h2 { font-size: 25px; line-height: 30px; }
	.p-accueil #tm-bottom-b .uk-grid > div,
	.p-accueil #tm-bottom-d .uk-panel-box-vert .uk-grid > div { float: none; text-align: left !important; width: 100%; }
	.p-accueil #tm-bottom-b .uk-grid > div + div,
	.p-accueil #tm-bottom-d .uk-panel-box-vert .uk-grid > div + div { margin-top: 15px; }
	
	
}
@media(max-width: 650px) {
	.p-territoire div.uk-grid.titre > div,
	.p-territoire div.uk-grid.communes > div { float: none; width: 100%; }
	.p-territoire div.titre-cc { position: relative; border: 0; padding: 0; padding-left: 10px; }
	.p-territoire div.uk-grid.communes { margin-top: 0; }
	.p-accueil #tm-top-b h3 { font-size: 12px; line-height: 15px; }
	
	.formResponsive .formHorizontal .formControls { margin-left: 0; }
	.formResponsive input[type="text"], 
	.formResponsive textarea, .formResponsive { width: 97% !important; }
}
@media(max-width: 500px) {
	.tm-navbar { margin-bottom: 0; }
	body > .uk-container { padding: 0; }
	.tm-article .tm-article-container h1,
	.p-documents .page-header h1,
	.p-contact h1 { font-size: 25px; line-height: 30px; }
	
	.tm-article .tm-article-container h1 { font-size: 35px; line-height: 40px; }
	h2 { font-size: 28px; line-height: 35px; }
	h3 { font-size: 24px; line-height: 30px; }
	h3 { font-size: 24px; line-height: 30px; }
	h3 { font-size: 20px; line-height: 25px; }
	.p-accueil .wk-banner.accueil .uk-overlay-panel { max-width: 100%; }
	.p-accueil .wk-banner.accueil .uk-overlay-panel h1 { font-size: 20px; line-height: 23px; }
	.p-accueil .wk-banner.accueil .uk-overlay-panel h2 { font-size: 18px; line-height: 22px; }
	.p-accueil #tm-top-b { display: none; } 
	.p-accueil #territoire-communes img { height: 60px; }
	
	.p-documents .rsf_files thead { display: none; }
	.p-documents .rsf_files tr > td { display: none; }
	.p-documents .rsf_files tr > td:first-child { display: table-cell; width: 100%; }
}

@media(max-width: 400px) {
	#tm-content { padding: 10px; }
	.uk-panel-box { padding: 10px; }
	
	
}



/**** 18/10/2019 - Maj cap tolosan ****/

.tm-footer-right .uk-column-1-3 {

    height: 150px;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: column wrap;
  flex-flow: column wrap;}






