/*
 Theme Name:   Twentyfourteen Child
 Theme URI:    https://example.com/
 Description:  Twentyfourteen Child Theme
 Author:       efhristos
 Author URI:   efhristos@gmail.com
 Template:     twentyfourteen
 Version:      1.0.1
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  organic-life-child
*/


#page {
    margin: 0 auto;
}
a {
    color: #308caf;
}
.widget a:hover {
    color: #308caf;
}
/*----header------*/
/*#site-header img {
	max-width: 18%;
    position: absolute;
    top: 90px;
    z-index: 6;
}*/

.site-header {
    background-color: #308caf;
}
#masthead {
	z-index: 2;
}
.masthead-fixed, .site-header {
    background-color: #308caf;
    padding-top: 30px;
}
/*For the header search form*/
.search-toggle-fixed {
    /*background-color: #a8c9d3;*/
	background-image: url("https://diakopoulos.net/wp-content/uploads/2018/02/cropped-newlogo.jpg");
	background-size: 250px 48px;
	background-position: -1px;
	width: 250px;
	height: 48px;
	float:right
}
.search-toggle-fixed a{
	display:block;
	height:100%
}
.search-toggle-fixed:before {
    display: none;
}
.site-title a {
    font-size: 40px;
}
#primary-menu li a {
    font-size: 16px;
}
.menu-item .sub-menu {
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
}
::-webkit-scrollbar {
    width: 14px;
}
 
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    border-radius: 10px;
    background: #a8c9d3;
}
 
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
    background: #308caf;
}
.sub-menu li a {
    font-size: 12px !important;
    padding: 18px 18px !important;
}

@media screen and (min-width: 783px) { 
    .primary-navigation ul li:active > ul, .primary-navigation ul li.focus > ul {
        left: auto;
    }
    primary-navigation ul ul {
        left: -9999px !important;
    }
    .primary-navigation ul ul li:hover > ul, .primary-navigation ul li ul li.focus > ul {
        left: 0 !important;
        top: 100% !important;
    }
    .primary-navigation ul ul li:active > ul, .primary-navigation ul li ul li.focus > ul {
        left: 0 !important;
        top: 100% !important;
    }
}

/*-----content------*/
.site-main {
    /*background-color: cadetblue;*/
}
.site:before {
    background-color: #a8c9d3;
}
#secondary a {
    color: black;
}
#secondary h1 {
    color: #308caf;
    font-size: 16px;
}
#secondary .site-description {
    color: white;
    font-size: 18px;
}
#secondary #wp-calendar caption {
    color: #308caf;
    font-size: 16px;
}
#secondary #wp-calendar thead {
    background-color: rgb(0, 132, 182);
}
#secondary #wp-calendar tfoot {
    background-color: rgb(0, 132, 182);
}
#secondary #wp-calendar tbody {
    background-color: powderblue;
}
#secondary #wp-calendar th {
    color: white;
}
#secondary #wp-calendar td {
    color: black;
}
#secondary #wp-calendar td a{
    color: red;
}
#secondary #wp-calendar #prev a{
    color: white;
}
#secondary #wp-calendar #next a{
    color: white;
}
.comment-list .comment-body .comment-meta {
    background-color: #a8c9d3 !important;
}
.comment-list .comment-body .comment-meta .comment-author .url {
    color: black;
    font-weight: 500;
}
.comment-list .comment-body .comment-meta .comment-author .url:hover {
    color: white;
}
.comment-list .comment-body .comment-meta .comment-metadata a time {
    color: black;
}
.comment-list .comment-body .comment-meta .comment-metadata .edit-link a {
    color: black;
}
.blue-frame {
	background-color: #308caf;
	color: white;
	padding: 5px 8px;
	text-align: center;
}
.ciel-frame {
	background-color: powderblue;
	padding: 5px 8px;
	text-align: center;
}

/*-----footer--------*/
#footer-sidebar {
    height: 150px;
}

footer {
   background-color: #308caf !important; 
}

.site-info {
    display: none;
}

.footer-sidebar .widget_text .textwidget {
	text-align: right;
}

@media screen and (min-width: 1008px) {
    #pages-2 {
        left: 70% !important;
    }
    #pages-2 ul {
        text-align: right;
    }
}


@media screen and (max-width: 782px) {
    body {
        background-image: none !important;
    }
    .header-main .site-title a {
        font-size: 24px;
    }
    .primary-navigation .menu-toggle {
        top: 30px;
    }
    #wp-calendar {
        max-width: 300px;
    }
    #pages-2 {
        left: 0 !important;
    }
    #pages-2 ul {
        text-align: left;
    }
	.social-popup-container,.social-popup-exiting{
		flex-direction:column !important;
	}
	.popup-icons-container{
		margin-top:0.75em !important
	}
}
.blackboard-popup-wrapper{
	position: fixed;
   z-index:50;
    margin: 0 auto;
    width: 100%;
    left: auto;
    right: auto;
    bottom: 0;
}
.social-popup-hidden{
	display:none;
}
.social-popup-container {
	border:solid 2px #308caf;
    background: #ffffff;
    display: flex;
    max-width: 1260px;
    margin: 0 auto;
    flex-direction: row;
    padding: 2em 0;
    justify-content: center;
	align-items: center;
position:relative;
bottom:-500px;left:0;
	animation:moveUp 2s ease forwards;
	z-index:55;
	width:100%
}
.social-popup-exiting{
	z-index:55;
	width:100%;
	border:solid 2px #308caf;
    background: #ffffff;
    display: flex;
    max-width: 1260px;
    margin: 0 auto;
    flex-direction: row;
    padding: 2em 0;
    justify-content: center;
	align-items: center;
position:relative;
bottom:0;left:0;
	animation:moveDown  2s ease forwards;
}
body{
	overflow:hidden;position:relative
}
@keyframes moveUp{
	from{
		bottom:-500px
	}
	to{
		bottom:0
	}
}
@keyframes moveDown{
	from{
		bottom:0
	}
	to{
		bottom:-500px
	}
}
.social-popup-container p,.social-popup-exiting p{
	padding-bottom:0;
	margin:0 1em;
}
.social-popup-container .popup-icons-container a,.social-popup-exiting .popup-icons-container a{
	margin:0 10px !important
}
.social-popup-close{
	position:absolute;
	right:10px;
	top:10px;
	cursor:pointer
}
.social-popup-close:before{
	-webkit-font-smoothing: antialiased;
    display: inline-block;
    font: normal 16px/1 Genericons;
    text-decoration: inherit;
    vertical-align: text-bottom;
    content: "\f405";
    font-size: 2em;
}

/* Custom styles for the three buttons to be equal width */
.vv-three-equal-buttons .wp-block-button {
    /* Set the button container to be one-third of the total width */
    width: calc((100% - 1em) / 3);
}

/* Ensure the link inside the button fills its new container */
.wp-block-buttons.vv-three-equal-buttons .wp-block-button .wp-block-button__link.wp-element-button {
    text-wrap: nowrap;
	/*
    width: 100%;
    text-align: center;
	*/
}

.solution {
	color: #3366ff;
}

.nosolution {
	color: #800000;
}

.byheart {
   color: #ff0000;
}

.understand {
	color: #ff6600;
}

div.listing-item div.content span.fline, article div.entry-content > p > span.fline {
	display: none;
}

details[disabled] {
	pointer-events: none; /* Prevents clicking */
    user-select: none;    /* Prevents highlighting */
    opacity: 0.5;         /* Makes it look greyed out */
}
