/*
 * Theme Name: Divi Child
 * Theme URI: http://www.elegantthemes.com/gallery/divi/
 * Version: 3.0.31
 * Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
 * Author: PMsi
 * Author URI: https://www.pmsi.eu
 * Template: Divi
 * Text Domain: Divi-child
 * Tags: responsive-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready
 * License: GNU General Public License v2
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * */


body{
	font-size:16px;
	line-height:175%;
}
/* change header h1 */
h1, h2, h3, h4, h5, h6{
	font-weight:bold;
}
h1 {
    font-size: 36px;
}
table{
	border-collapse:separate;
}
#breadcrumbs{
	text-align:left;
}
/* fix search icon */
nav#top-menu-nav {
    margin-right: 1em;
}
div#et_top_search {
    position: absolute;
    right: 10px;
}

/* footer menu */
#et-footer-nav .container {
    text-align: center;
}
.et_pb_post .entry-content{
	padding-top:1em;
}

/* reduce top margin */
.et_pb_section {
    padding: 0;
}
#main-content .container {
    padding-top: 1em;
}

.wp-caption p.wp-caption-text{
	padding:0;
	line-height:150%;
	margin-top: 6px;
}

/* articles featured image */
article div.et_post_meta_wrapper {
  text-align: center;
}
article div.et_post_meta_wrapper  img {
/*  max-width: 50%; */
}

/* home page sidebar */
@media (min-width: 981px) {
    body.home div.et_pb_column_1_4 {
        padding-left: 30px;
        border-left: solid 2px #ccc;
    }
	.et_right_sidebar #left-area {
		float: left;
		padding-right: 20px;
	}
}

/* disqus comments */
#disqus_thread {
    margin-top: 1em;
}

/* pagination */
.pgntn-page-pagination a {
    color: #cd5c5c !important;
}
.pgntn-page-pagination-block {
    width: 100% !important;
}

/* change margin in container */
.container {
    width: 90%;
}
.container {
    width: 100% !important;
}
body #page-container #left-area {
    padding: 0em 1em;
}
body #page-container #sidebar{
    padding: 0em 1em;
}
.et_pb_row {
    width: 90%;
}
@media (max-width: 980px) {
    .container {
        width: 98%;
    }
    .et_pb_row {
        width: 98%;
    }
}

/* smaller pics in tag listing */
article {
    clear: both;
}
a.post-thumb {
    width: 30%;
    float: left;
}
a.post-thumb img {
    max-width: 90%;
    margin-bottom: 1em;
}

/* better sidebar division */
@media (min-width: 981px) {
    #main-content .container:before {
        background-color: white;
    }
}
div#sidebar {
    border-left: solid 2px #ccc;
}

/* word search */
#ws_wrapper table td {
    padding: 0;
    font-size: 2em;
}
#ws_wrapper table td.ws_size {
    width: 30px;
    height: 30px;
}

/* site logo */
@media only screen and (min-width: 981px) {
    #logo {
        max-height: 150% !important;
        margin-left: -3px;
    }
}

/* home page tags */
div.tag {
    position: relative;
    display: inline-block;
}
div.tag p.title {
    position: absolute;
    left: 0;
    top: 180px;
    padding: .5em 1em;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

/* sidebar tags */
div.side-tag {
    position: relative;
    display: inline-block;
}
div.side-tag p.title {
    position: absolute;
    left: 0;
    top: 80px;
    padding: .2em .4em;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

/* tag pictures */
div.tag-pic {
    width: 100%;
    background-size: cover;
    background-position: center;
    text-align: center;
}
div.tag-pic h1 {
    font-size: 10ex;
    padding-top: 5ex;
    padding-bottom: 5ex;
    color: white;
    background: rgba(0, 0, 0, 0.3);
}
@media (max-width: 980px) {
    div.tag-pic h1 {
        font-size: 5ex;
    }
}
div.tag-pic p {
    color: #333333;
    font-size: 4ex;
    padding-bottom: 5ex;
    text-shadow: 1px 1px #cccccc;
}

/* may also like */
div#may-also-like {
    background: white;
}

/* popular articles */
div#popular-articles {
    background: white;
}
div#popular-articles h1 {
    background-image: url(/wp-content/uploads/2017/01/background.png);
    padding: .5em;
}

/* related posts */
div.yarpp-related {
    clear: both;
    margin-top: 2em;
}

/* comments area */
#respond {
    clear: both;
}

.cite_article{
	background:#eeeeee;
	border-left:4px solid #B44A41;
	padding:1em;
	margin-top:1em;
}
#update_time{
	background:#eeeeee;
	border-left:4px solid #B44A41;
	padding:.25em 1em;
	margin-top:1em;
}

.is_phone, .is_tablet, .is_desktop{
	display: none;
}
@media (min-width: 981px){
	.mobile { display: none !important; }
	.mobile { display: none !important; }
	#hide_desktop { display: none !important; }
	.is_desktop{display:block;}
}
@media (min-width: 768px) and (max-width: 980px) {
	.desktop { display: none !important; }
	.desktop { display: none !important; }
	#hide_tablet { display: none !important; }
	.is_tablet{display:block;}
}
@media (max-width: 767px) {
	.desktop { display: none !important; }
	.desktop { display: none !important; }
	#hide_phone { display: none !important; }
	.is_phone{display:block;}
}
