/*!
Theme Name: All Psychology Schools

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

allpsychologyschools is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/




/* Make header sticky only on non-homepage desktop views */
@media screen and (min-width: 768px){
/* header nav */
body:not(.home):not(.page-id-2966,.page-id-34323, .page-id-34320, .page-id-34313, .page-id-34311, .page-id-34306, .page-id-34304, .page-id-34258, .page-id-34255, .page-id-34252) header#masthead.site-header {
	position: fixed !important;
	background: #ffffff !important;

}

/* Default state for all content pages */
 body:not(.home):not(.page-id-2966,.page-id-34323, .page-id-34320, .page-id-34313, .page-id-34311, .page-id-34306, .page-id-34304, .page-id-34258, .page-id-34255, .page-id-34252) #content{
    padding-top: 110px !important;
}

body:not(.home) .wp-block-aps-multipurpose-block.is-block-center.asd-sidebar-shortcodes-wrapper.asd-sticky-right-sidebar{
	margin-top: 100px !important;
}
}


/* Override content width */
@media only screen and (min-width: 1025px) {
	.has-fixed {
		width: 65%;
	}
}

/*Override ASD Descirptive list font line height */
.asd-descriptive-list-block dl .f_list-detail dt {
	line-height: inherit!important;
}


.two-col-hub .md-has-2-columns {
	width: 100%;
}

/* TOC AND FACT BOX*/

.box {
	margin: 3% 0;
	border: 4px solid #19bdb3;
	padding: 15px 5% 20px 5%;
	color: #19bdb3;
	font-weight: 700;
}
.box h3 {
	text-align: center;
	padding-bottom: 3%;
}

.factbox-content, .toc-content {
	columns: 2;
	column-gap: 20px;
}

.factbox-content h4 {
	font-size: 12px;
	padding-bottom: 0;
}

.factbox-content div {
	color: #19bdb3;
	font-weight: bold;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
	margin-bottom: 1em;
}

.toc-content a {
	display: block;
}

.step {
	font-size: 20px;
	color: #29bcb2;
}

.step-marker:before {
	content:"\2022";
	color: #29bcb2;
	font-size: 60px;
	padding-right: 24px;
	margin-left: -.70em;
}

@media only screen and (max-width: 767px) {
	.small-text {
		font-size: 14px;
		line-height: 1.4em;
	}
}

.one-column  {
	text-align: center;
}

@media only screen and (max-width: 540px) {
	.factbox-content, .toc-content {
		columns: 1;
	}
}

/* SEM LANDING PAGES */
.lp-header-shadow{
	text-shadow: 10px 4px 25px rgba(0, 0, 0, .65)
}

/* flex box start */

.lp-flexcontainer {
	display: flex;
}

.lp-flexcontent {
	flex: 1;
}

/* flex box end */

/* for ads */
.heading-font {
	font-family: 'Poppins';
	padding-bottom: 5px;
}

.bottom-border {
	border-bottom: 1px solid #979797;
	margin-bottom: 15px;
	height: 5px !important;
}

.bottom-border-light {
	border-bottom: 1px solid #ebebeb;
	margin-bottom: 15px;
	padding-bottom: 1em !important;
}

.no-left-border {
	border-left: 0 !important;
	padding-left: 0 !important;
}

.center-columns .wp-block-column {
	text-align: center;
}

/* Was-This-Helpful Plugin */
.helpful-block-content{
	text-align: center;
}

/* hide on specific screen types & sizes */

@media screen and (max-width: 767px){
	.hide-mobile{
		display: none !important;
	}
}

@media screen and (min-width: 768px){
	.hide-desktop{
		display: none !important;
	}
} 


/* hide double hero image on posts */
.single-post .entry-header, .single-post .post-thumbnail {
	display: none;
}

/* DTSP Tables */

.dtsp-table {
    border: 1px solid #ccc;
    width: 100%;
    margin:0;
    padding:0;
    border-collapse: collapse;
    border-spacing: 0;
font-family: arial;
  }

  .dtsp-table tr {
    border: 1px solid #ddd;
    padding: 5px;
  }

.dtsp-table th {
    padding: 5px 5px 5px 20px;
    text-align: left;
background-color: #fff;
  }

.dtsp-table td {
    padding: 10px 10px 10px 20px;
    text-align: left;
}

  .dtsp-table th {
    font-size: 16px;
    font-weight: 700;
  }

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

    .dtsp-table {
      border: 0;
	  display: inline;
    }

    .dtsp-table thead {
      display: none;
    }

   .dtsp-table tr {
      margin-bottom: 10px;
      display: block;
      border-bottom: 2px solid #ccc;
    }

    .dtsp-table td {
      display: block;
      text-align: right;
      font-size: 13px;
      border-bottom: 1px dotted #fff;
	  padding-left: 15px;
	  padding-right: 15px;
    }

    .dtsp-table td:last-child {
      border-bottom: 0;
    }

.dtsp-title {
font-size: 16px !important;
margin-left: 15px
}

.sponsor-notice {
font-size: 12px !important;
}
	  
	  .dtsp-sponsor-notice {
		  margin-right: 15px !important;
	  }

.dtsp-table td:before {
margin-left: 0px;
margin-right: 10px;
margin-bottom: 10px;
content: attr(data-label);
float: left;
font-weight: 700;
text-transform: uppercase; }}

.dtsp-table tr:nth-child(odd) {
    background-color: #d2efee;
}

@media screen and (max-width: 600px) {
.entry-content tr td {
border-top: 0px;
padding-left: 10px;
padding-right: 10px;}

.entry-content table {
border: 0px;}}

.dtsp-flex-box {
background-color: #19bdb3;
display: flex;
align-content: center;
justify-content: space-between;
height: auto;
}

.dtsp-title {
width: auto;
color: #fff;
font-weight: 700;
font-size: 18px;
margin: 10px 10px 10px 20px;
font-family: arial;
line-height: 1.2em;
}

.dtsp-sponsor-notice {
width: auto;
color: #fff;
text-align: right;
font-style: italic;
font-size: 14px;
margin: 10px 20px 10px 10px;
font-family: arial;
line-height: 1.2em;
}
