/*
Theme Name: Catch Everest Child
Template: catch-everest

Yeah. This is awesome.
*/

div#hgroup-wrap {   
	position: relative;
    padding: 30px;
}
div#primary:before {
	content: "";
    display: block;
    position: absolute;
    right: -30px;
    top: 0;
    border-right: 1px #F0F1F5 solid;
    height: 100%;
}
div#hgroup-wrap img {
	margin: 0 auto;
}

a {
    color: #6F3F93;
}

p {
	margin-bottom: 20px!important;
}

/* Menu */

#header-menu {
	background-color: #6F3F93;
	border-bottom: 1px #F11212 solid;
}

#header-menu ul.menu ul {
	width: auto;
	box-shadow: none;
}
#header-menu ul.menu a {
	font-size: 14px;
}
#header-menu ul.menu ul a {
	padding: 10px 20px;
	line-height: 18px;
	color: #ffffff;
    border: none;
	background-color: #6F3F93; 
}

#header-menu ul.menu li ul li.current_page_item:hover > a,
#header-menu ul.menu ul li.current_page_item a:focus {
	background-color: #6F3F93; 
}

#header-menu ul.menu li:hover > a,
#header-menu ul.menu a:focus {
	background-color: #F11212; 
	color: #FFFFFF;
}

#header-menu ul.menu li ul li:hover > a,
#header-menu ul.menu ul li a:focus {
	background-color: #f1f1f1;
	color: #F11212;
}

#header-menu ul.menu li:hover > ul {
	border-top: 1px #F11212 solid;
}

#header-menu .menu .current-menu-item > a,
#header-menu .menu .current-menu-ancestor > a,
#header-menu .menu .current_page_item > a,
#header-menu .menu .current_page_ancestor > a {
	background-color: #6F3F93;  
}

/* Home */

#main-slider .entry-title span {
	line-height: 30px;
	color: #6B3C8C;
}
#main-slider .entry-title span:hover {
    color: #6B3C8C;
}

#featured-post h2 {
    line-height: 30px;
}

#featured-post .more-link {
	display: block;
}

#featured-slider img {
	width: 100%;
	max-width: 100%;
	padding: 0;
	border: none!important;
}

#featured-slider .gallery-item {
	margin-top: 0!important;
}

#featured-slider .wp-caption-text {
    display: block;
	position: absolute;
	left: 0;
	bottom: 40px;
	width: auto;
    padding: 10px 25px;
    margin-bottom: 30px;
	color: #6B3C8C;
	font-size: 3rem;
	line-height: 30px;
    border-bottom: 1px #F11212 solid;
	background: rgba(255, 255, 255, 0.7);
}

/* Page */

.entry-header .entry-title a {
	color: #6F3F93;
	text-decoration: none;
	outline: none;
}

.entry-header .entry-title a:hover {
	color: #6F3F93;
}

.entry-header .entry-title {
	color: #6B3C8C;
	border-bottom: 1px #F11212 solid;
	margin-bottom: 30px;
	padding: 0 0 10px 0;
	line-height: 44px;
}

.entry-content h1,
.comment-content h1,
.entry-content h2,
.comment-content h2,
.entry-content h3,
.comment-content h3 {
	color: #6B3C8C;
	border-bottom: 1px #F11212 solid;
	padding-bottom: 10px;
	margin: 30px 0;
	line-height: 30px;
}

#site-generator {
	color: #ffffff;
	background-color: #6F3F93;     
}

.widget_search {
	display: none;
}

.widget_catcheverest_social_widget {
    position: absolute;
    top: 40px;
    right: 40px;
}

/* Sidebar */

div#secondary h3 {
    font-size: 24px;
    line-height: 44px;
    border-bottom: 1px #F11212 solid;
    color: #6B3C8C;
    margin-bottom: 30px;
}
div#secondary h4 {
    margin-bottom: 20px;
}
div#secondary img {
	border: 1px #F0F1F5 solid;
}
div#secondary img.hot-random-image {
    margin-bottom: 0;
}
div#secondary a {
	color: #F11212;
}
div#secondary a:hover {
	text-decoration: none;
}
.last_actuality a.more-link {
    display: block;
    margin-top: 20px;
}

/* Sidebar */

.widget {
	margin-bottom: 30px;
}

.widget img {
	box-shadow: none;
}

.widget_media_gallery .gallery img {
	width: 100%;
}

/* Category */

.entry-container .entry-thumb + .entry-content {
	float: right;
	width: 65%;
	vertical-align: top;
}
.entry-container .entry-thumb {
	float: left;
	width: 30%;
}
.entry-container .entry-thumb img {
	border: 1px #F0F1F5 solid;
}

/* Page */

.one_half img.one_half {
    margin-right: 1%;
    width: 99%;
}
.one_half img.one_half.last_column {
    width: 99%;
    margin-left: 1%;
    margin-left: 0%;
}

.one_third img.one_third {
    margin-left: 0%;
    margin-right: 2%;
    width: 98%;
}
.one_third + .one_third img.one_third {
	margin-left: 1%;
	margin-right: 1%;
    width: 98%;	
}
.one_third + .one_third img.one_third.last_column {
    margin-left: 2%;
    margin-right: 0%;
    width: 98%;
}

a.popup {
    display: block;
    margin: 30px 0;
}

/* Schéma des études */

#post-150 img {
	margin: 0;
	box-shadow: none;
}

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

	#post-150 .one_half {
		width: 50%!important;
		clear: none!important;
	}
	#post-150 .one_half,
	#post-150 .full_width {
		margin-bottom: 0!important;
	}

}

/* Responsive */

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

	div#primary:before {
		content: none;
	}
	
}

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

	div#header-right {
		display: none;
	}
	#site-logo {
		padding-top: 20px!important;
	}
	#site-generator .address {
		width: 100%;
	}
	#main-slider .entry-title span {
		padding-bottom: 5px;
	}
	#featured-slider .wp-caption-text {
		font-size: 2rem;
	}

}