/*
Theme Name:     Twenty Fourteen Child
Theme URI:      http://psycheducation/
Description:    Child theme for the Twenty Fourteen theme
Author:         David Weller
Author URI:     http://littlemorwells.com/
Template:       twentyfourteen
Version:        0.1.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twenty-fourteen-child
*/


@import url("../twentyfourteen/style.css");


/* =Theme customization starts here
-------------------------------------------------------------- */
.sfsi_plus_widget {

    position: fixed;
    top: 40%;
    z-index: 10;

    right: 60px;
}


.menu-toggle:active, .menu-toggle:focus, .menu-toggle:hover {
    background-color: #286138;
}

.primary-navigation.toggled-on .nav-menu {
    display: block;
    background-color: #394F88;
}
.primary-navigation ul ul {
    background-color: #39884F;
}

.primary-navigation ul ul {
    background-color: #394F88;
}

@media screen and (min-width: 810px){
.full-width .site-content blockquote.alignright, .full-width .site-content img.size-full.alignright, .full-width .site-content img.size-large.alignright, .full-width .site-content img.size-medium.alignright, .full-width .site-content .wp-caption.alignright {
    margin-right: 0;
}
}

figure#attachment_917 {
    float: left;
    margin-left: 0;
}

.page-id-308 .site-content {
    margin-right: 0 !important;
    width: 80%;
    float: right;
}

input, textarea {
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 2px;
    color: #3A2727;
    padding: 8px 10px 7px;
}

.conleft{width:48%;float:left;}
.conright{width:48%;float:right;}


table.twelve.twidetable {
    margin-left: -10px;
}

table.twelve td {
    padding: 10px;
}
table.twelve {
    font-size: 12px;
}

@media screen and (max-width: 660px){
table.twelve td {
    padding: 5px;
}
/*.page-id-3858 table{margin-left:30px;)*/
}

@media screen and (max-width: 520px){
table.twelve td {
    padding: 2px;
}

.page-id-1090 table {
    margin-left: -30px;
	font-size:12px;
}

.page-id-1090 table td, .page-id-1090 table th{
	font-size:12px;
}
/*.page-id-3858 table{margin-left:30px;)*/
}

.site {
    position: relative;
    background-color: #fff;
    max-width: 1260px;
    width: 80%;
    margin: 0px auto;
    box-shadow: 10px 10px 5px #555;
    top: 55px;
}



.home .site {
    background-image: url("http://psycheducation.org/wp-content/uploads/2015/11/rainbow1280x100-words-4.jpg");
    background-repeat: no-repeat;
    background-size: contain;
}


.home #content {
    margin-top: 100px;
}

@media screen and (max-width: 965px){
	
	.site {
   top: 0; 
}

.home #content {
     margin-top: 0; 
}
	
}

.full-width .site-content blockquote.alignleft, .full-width .site-content img.size-full.alignleft, .full-width .site-content img.size-large.alignleft, .full-width .site-content img.size-medium.alignleft, .full-width .site-content .wp-caption.alignleft {
    margin-left: 0px !important;
}

img#spectrum {
    max-width: 100%;
    height: 24px;
    margin-top: -6px;
}

a{font-weight:bold;}

.menu-toggle {
    background-color: #394F88;
    border-radius: 0;
    cursor: pointer;
    height: 48px;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: absolute;
    top: 0;
    right: 0;
    text-align: center;
    width: 48px;
}

.omegafirsttable table td {
    padding: 5px 1px;
	font-size:12px;

}
.omegafirsttable table th {
    padding: 5px 1px;
	font-size:12px;
	background-color:#1857A0;
	color:white;

}

.omegafirsttable table  {
border:0;

}

.site-footer {
background-color: #1E3998;/* #263864; */
color: rgba(255, 255, 255, 0.9) !important;
font-size:14px !important;

}

button, .button, input[type="button"], input[type="reset"], input[type="submit"] {
background-color: #0D3E8B;}

/*.mwm-aal-container {
position: fixed;
top: 360px;
left: 12%;
width: 16%;
}*/





.entry-title {
font-size: 28px;
font-weight: 400;
}

.primary-navigation ul ul a:hover, .primary-navigation ul ul li.focus > a {
    background-color: #587AAB;
}

.entry-title {
text-transform: none;
}
 
body {
    background: #eeeefe;
}

h1{font-size:28px;}

h2, h4{font-size:22px;}

h3, h5{font-size:18px;}

h6{font-size:14px;}

.admin-bar.masthead-fixed .site-header {
top: 32px;left:0;

}



header.entry-header {
padding: 0px !important;
}

.entry-content {
padding-left: 0 !important;
padding-bottom: 10px;
}

blockquote {
background-color: #eee;
padding: 20px;
margin: 10px;
border: solid #D0D0D0 1px;
color: #2b2b2b;
font-size: 18px;
line-height: 27px;
font-weight:400;
font-style:normal;	border-radius:5px;

}

.comment-content img[height], .entry-content img, .entry-summary img, img[class*="align"], img[class*="wp-image-"], img[class*="attachment-"], #site-header img {
    height: auto;
    max-width: 100% !important;
}

table{max-width:100%;padding:0px;margin:0px;}

@media screen and (max-width: 440px){
blockquote {
    margin: 10px -20px;
	
}

img.alignleft.size-full {
    width: 100%;margin:20px;
}

img.size-full, img.size-large, .wp-post-image, .post-thumbnail img, img.alignnone.size-medium,  img.alignnone.size-medium {
    height: auto;
    max-width: 120%;
	    max-width: 120%;
    margin: 10px -20px;
}



.page-id-620 img, .page-id-1002 img{
    height: auto;
    /* max-width: 120%; */
    /* max-width: 120%; */
     margin: 10px -0px; 
    width: 100%;
}

}

blockquote p {

font-style:normal;
color: #2b2b2b;
font-size: 18px;
line-height: 27px;padding-bottom:0;margin-bottom:0;font-weight:400;
}

/*.site-header {
	background-color: #000;
	max-width: 1260px;
	position: relative;
	width: 100%;
	z-index: 4;
}*/

.masthead-fixed .site-header {
top: 0;left:0;

}

.site-header {
    max-width: 100%;
    width: 100%;
    position: fixed;
    background-color: #7999BC;
    /* top: 0; */
    left: 0;
}

.header-main {
width: 80%;
max-width: 1230px;
margin: auto;
padding:0;
}

.health_topics {
border-width: 0 1px;
border-style: solid;
border-color: #FFF;
}

.health_topics_button_list {
background: white;
margin: 0;
padding: 0;
text-align: center;
}

.site-description {
display: inherit;
font-size: 12px;
font-weight: 400;
line-height: 1.5;
}

.search-toggle {
    background-color: #394F88;
    cursor: pointer;
    float: right;
    height: 58px;
    text-align: center;
    width: 48px;
}

.search-box-wrapper {
    top: 55px;
}

#secondary {
    background-color:  #fff;
    border: solid gray 1px;
    clear: none;
    float: left;
    margin: 40px 0px 0px -100%;
    min-height: 100vh;
    width: 122px;
	display:none;
}

.content-sidebar .widget_twentyfourteen_ephemera .widget-title:before {
	background-color: yellow;
	color: #fff;
	margin: -1px 9px 0 0;
	padding: 6px 0 9px;
	text-align: center;
	vertical-align: middle;
	width: 36px;
}


	
	.site-navigation .current_page_item > a, .site-navigation .current_page_ancestor > a, .site-navigation .current-menu-item > a, .site-navigation .current-menu-ancestor > a {
color: #eee;background-color:#587AAB;
font-weight: 900;
}

	.primary-navigation li:hover > a,
	.primary-navigation li.focus > a {
		background-color: #666;
		color: #fff;
	}
	
.search-toggle:hover,
.search-toggle.active {
	background-color: #666;
}

.site-content .entry-header,
.site-content .entry-content,
.site-content .entry-summary,
.site-content .entry-meta,
.page-content {
margin: 0 auto;
max-width: 600px; 
}

.page-id-392 table {
border-width: medium;
border-color: brown;
border-radius: 10px;
}
.page-id-392 td {
font-size: 22px;
}

.page-id-414 table {
    border-collapse: separate;
    border-spacing: 0px;
    border-width: 1px 0px 0px 1px;
    margin-bottom: 24px;
    width: 130%;
    margin-left: -35%;
}

table.tab-content.entry-content {
    font-size: 14px;
	padding:0px;padding-right:0px;
}

@media screen and (min-width: 600px){
.page-id-748 .responsive-tabs-wrapper {
    display: none;
}

.page-id-510 .responsive-tabs-wrapper {
    display: none;
}

page-id-3858 .responsive-tabs-wrapper {
    display: none;
}

} 

@media screen and (max-width: 599px){

table.widetable {display:none;}

.page-id-1525 table {
   margin-left: -30px;
}

.page-id-1244 table#lefter {
   margin-left: -50px;
}

.page-id-1028 table {
   margin-left: -60px;
} 
table.desfont2 {

    font-size: 12px !important;
    /* overflow-x: scroll; */
}
.page-id-1482 table {margin-left:0px;}




.twoooatediag{margin-left:-50px !important;}
} 
}


@media screen and (max-width: 500px){
.hyph {hyphens: manual;}


} 



h3 {
line-height: inherit;
}

ol li {
padding-bottom: 16px;
}

 table.leftnudge{
margin-left: -30%;
}



.secondary-navigation a {

color: #333;
}


a, .entry-content a, .entry-summary a, .page-content a, .comment-content a {
    color: #0F03B9;
    text-decoration: none;
}

li ul {list-style-type:none;margin-bottom:20px;
}

.search-box {
background-color: #384F88; /*#2A2AA6;*/
}

.search-box-wrapper {
max-width:90%;padding-left:0px;padding-right:10%;
}

ul, ol {
margin: 26px 0 16px 20px;
}
 
 
 
abbr[title] {
border-bottom: none;
}

.menu-page{width:80%;float:right;border:solid red 1px;}

.site:before {
display:none;
}

.tabcontent tr {
height: 40px;

}

.tabcontent th{
height: 30px;
padding-left: 10px;
background-color:#1E3998;
color:white;
vertical-align:middle;
}

.tabcontent table {
border-width: 0;
}

.tabcontent td {

vertical-align:middle;
padding-left: 10px;
}

.tabcontent table tr td:first-child,
table tr th:first-child {
  border-left: 0;
}
.tabcontent table tr td:last-child,
.tabcontent table tr th:last-child {
  border-right: 0;
}

.responsive-tabs .responsive-tabs__panel{
padding: 20px 0px 0 !important;
border: 0px !important;
border-top: 1px solid #ddd !important;
}


@media screen and (max-width: 430px){
table.decfont {
    font-size: 13px;
}}

@media screen and (max-width: 330px){
.responsive-tabs .responsive-tabs__panel {
    margin-left: -20px !important;
}
}

.responsive-tabs .responsive-tabs__list__item{

border-color: #ddd;
color: #666;
padding-bottom: 11px;
margin-top: 10px;
position: relative;
top: 1px;
border-top-right-radius: 10px !important;
border-top-left-radius: 10px !important;
background-color: rgba(203, 216, 229, 0.65)  !important;
margin: 5px 12px 0px 0 !important;
padding: 10px 12px 10px !important;
}

.responsive-tabs .responsive-tabs__list__item--active, .responsive-tabs .responsive-tabs__list__item--active:hover {

border-color: #ddd;
color: #666;
padding-bottom: 11px;
margin-top: 0;
position: relative;
top: 1px;
border-top-right-radius: 10px !important;
border-top-left-radius: 10px !important;
background-color: rgba(160, 166, 171, 0.14) !important;
margin: 0px 12px 0px 0 !important;
padding: 10px 12px 14px !important;
}



@media screen and (min-width: 961px){
.rdoctwo{display:none;}
}
@media screen and (max-width: 960px){
h1.site-title img {
width: 200px;
}
.rdoc {display:none;}
.rdoctwo{padding:40px;
background-color:#fafafa;
border-radius:20px;}

.rdoctwo ul lu ul li {border-bottom:solid white 1px;}

.conleft{width:90%;float:none;overflow:visible;margin-left:0px;}
.conright{width:90%;float:none;overflow:visible;margin-left:0px;}

}

@media screen and (max-width: 960px){
.search-toggle {
height: 48px;
}}

@media screen and (max-width: 960px){
.sidemenu {
    position: fixed;
    top: 100px;
    left: -200px;
    width: 200px;
}


.primary-navigation a {
    display: inline-block;
    padding: 0 5px;
    white-space: nowrap;
}

.primary-navigation ul li ul li a {
    white-space: initial;
}

header#masthead {
    position: relative;
	z-index:10000;
}

}

@media screen and (max-width: 846px){
.content-area, .content-sidebar {
    padding-top: 72px;
}

.page-id-831 table {margin-left:-80px;}

}

@media screen and (max-width: 420px){

.omegafirsttable table  {
border:0;margin-left:-56px;

}

.page-id-530 table {margin-left:-35px;}

.page-id-1135 table {margin-left:-30px;}

.page-id-644 table {margin-left:-30px;}

.page-id-781 table {margin-left:-30px;}

.page-id-831 table {margin-left:-58px;}
.entry-content th{
    font-weight: 400;
    padding: 8px 2px;
    font-size: 12px;
}
.entry-content td {
    padding: 8px 2px;
    font-size: 12px;
}
.tabcontent th  {
    padding-left: 2px !important;
}

.tabcontent td {
    padding-left: 2px !important; 
}
}


@media screen and (max-width: 1040px){
.rdoc td {
    padding: 2px 2px 2px 2px;
	hyphens: manual;
}


}

@media screen and (min-width: 1040px){
.full-width .archive-header, .full-width .comments-area, .full-width .image-navigation, .full-width .page-header, .full-width .page-content, .full-width .post-navigation, .full-width .site-content .entry-header, .full-width .site-content .entry-content, .full-width .site-content .entry-summary, .full-width .site-content footer.entry-meta {
    padding-right: 0px !important;
    padding-left: 0px;
}

table.desfont2 {max-width:100%;font-size:13px;overflow:hidden;}
}
}




@media screen and (min-width: 810px){

.full-width .site-content blockquote.alignleft, .full-width .site-content img.size-full.alignleft, .full-width .site-content img.size-large.alignleft, .full-width .site-content img.size-medium.alignleft, .full-width .site-content .wp-caption.alignleft {
margin-left: 0px;
}}

@media screen and (min-width: 783px){

.primary-navigation li {
    border: 0;
    display: inline-block;
    height: 55px;
    line-height: 58px;
    position: relative;
}

.primary-navigation .menu-item-has-children > a:after, .primary-navigation .page_item_has_children > a:after {
-webkit-font-smoothing: antialiased;
content: "\f502";
display: inline-block;
font: normal 8px/1 Genericons;
position: absolute;
right: 12px;
top: 27px;
vertical-align: text-bottom;

}

.primary-navigation ul ul {

top: 55px;

}


}

@media screen and (max-width: 900px){

.header-main {
    width: 90%;

    margin: auto;
    padding: 0;
}

.site {
    width: 90%;


}

.page-id-308 .content-area {
    margin-left: 0;
}

}





@media screen and (max-width: 750px) {

.site-content {
    width: 100%;
    padding: 0 5%;
    float: none;
	border:0;
}

 table.leftnudgetwo{
margin-left: -30px;
}

}
@media screen and (max-width: 700px){

.site {
    width: 100%;
}


}

@media screen and (max-width: 350px){
.site-title {
    float: left;
    font-size: 18px;
    font-weight: 700;
    line-height: 48px;
    margin: 0;
	max-width: -webkit-calc(100%);
	max-width: calc(100%);
}

h1.site-title img {
    width: 100%;
    margin: 10px 0;
}
.menu-toggle {
    background-color: #286138;
    border-radius: 0;
    cursor: pointer;
    height: 30px;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: absolute;
    top: 0;
    right: 0;
    text-align: center;
    width: 30px;
}

.menu-toggle:before {
    color: #fff;
    content: "\f419";
    padding: 7px;
}

.search-toggle {
    background-color: #384F88;
    cursor: pointer;
    float: right;
    height: 30px;
    margin-right: 20px;
    text-align: center;
    width: 30px;
	top:20px;
}

.search-toggle:before {
    color: #fff;
    content: "\f400";
    font-size: 18px;
    margin-top: 7px;
}
h1.site-title img {
    width: 200px;
    margin: 10px 0;
}
.content-area, .content-sidebar {
   /* padding-top: 180px;*/
}
table.desfont2.hyph {
    margin-left: -54px;
}
}


