/*purple: rgb(50,10,150);*/
/* light gray  #dadada; */
/*font-family: 'Cardo', serif;
font-family: 'Montserrat', sans-serif;
Minion Pro;*/

/* generic */

@font-face {
  font-family: 'Minion Pro';
  src: url('fonts/hinted-subset-MinionPro-Regular.eot');
  src: url('fonts/hinted-subset-MinionPro-Regular.eot?#iefix') format('embedded-opentype'),
    url('fonts/hinted-subset-MinionPro-Regular.woff2') format('woff2'),
    url('fonts/hinted-subset-MinionPro-Regular.woff') format('woff'),
    url('fonts/hinted-subset-MinionPro-Regular.ttf') format('truetype'),
    url('fonts/hinted-subset-MinionPro-Regular.svg#MinionPro-Regular') format('svg');
  font-weight: normal;
  font-style: normal;
}

*, :after, :before {
  box-sizing: inherit;
  -webkit-font-smoothing: antialiased;
}
html {
  box-sizing: border-box;
}

html, body {
  font-family: 'Minion Pro', serif;
  font-weight: 300;
  margin: 0;
  padding: 0;
  font-weight: 300;
  font-size: 14px;
}

a {
  color: rgb(50,10,150);
  text-decoration: none;
}

a:hover, a:active {
  border-bottom: 1px dotted rgb(50,10,150);
}

p.active a:hover, p.active a:active {
  border-bottom: none;
}

hr {
  color: #dadada;
  border-style: solid;
}

.container {
  max-width: 960px;
  padding: 0 80px;
  margin: 0 auto;
}

.container.break hr {
  margin: 20px 0;
}

@media screen and (max-width: 670px) {
  .container {
    padding: 0 20px;
  }
}

.purple-text {
  color: rgb(50,10,150);
}

.white-text { color: white; }

.bold {
  font-weight: bold;
}

/* header */

#header {
  margin-top: 40px;
  color: rgb(50,10,150);
  display: flex;
}

#left {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

#right {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  margin-left: 40px;
}

#logo {
  font-size: 18px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  margin: 0 0 9px;
  text-align: center;
}

@media screen and (min-width: 769px) {
  #logo {
    width: 203px;
    line-height: 22px;
  }
  #links { margin-top: 20px; }
}

#links {
  flex-direction: row;
  display: flex;
  justify-content: space-between;
}

#links p {
  margin-bottom: 7px;
  margin-top: 7px;
  line-height: 18px;
  font-weight: bold;
}

#links p.active a {
  text-decoration: underline;
} 

#wreath {
  width: 75px;
  height: 75px;
  margin: 30px auto;
}

#locations {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  margin-bottom: 1em;
}

#description {
  font-size: 24px;
  margin-top: 1.5em;
  /*max-width: 400px;*/
  max-width: 486px;
}

@media screen and (max-width: 768px) {
  #header {
    display: block;
    margin-top: 20px;
  }
  #right {
    margin: 0;
  }
  #links {
    justify-content: space-around;
  }
  #description {
    margin: 1.5em auto;
  }
  #wreath {
    margin: 15px auto;
  }

  /* Magazine Feature Mobile Styles */
  .magazine-feature {
    padding: 20px 0;
  }

  .magazine-banner {
    flex-direction: column;
    text-align: center;
    padding: 18px 20px;
    max-width: 90%;
    margin: 0 auto;
  }

  .magazine-icon {
    font-size: 28px;
    margin-right: 0;
    margin-bottom: 15px;
  }

  .magazine-title {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .magazine-description {
    font-size: 12px;
    margin-bottom: 15px;
  }

  .magazine-cta {
    padding: 8px 16px;
    font-size: 10px;
  }
}

/* Magazine Feature Section */

.magazine-feature {
  background: #f9f9f9;
  padding: 25px 0;
  border-bottom: 1px solid #e5e5e5;
}

.magazine-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(145deg, #ffffff 0%, #f8f8f8 100%);
  border: 1px solid #d4af37;
  border-radius: 8px;
  padding: 20px 25px;
  box-shadow:
    0 2px 8px rgba(212, 175, 55, 0.15),
    0 1px 3px rgba(0,0,0, 0.1);
}

.magazine-icon {
  color: #b8860b;
  font-size: 32px;
  margin-right: 20px;
  flex-shrink: 0;
}

.magazine-content {
  flex-grow: 1;
}

.magazine-title {
  color: #2c2c2c;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px 0;
  letter-spacing: 0.3px;
}

.magazine-description {
  color: #666;
  font-family: 'Minion Pro', serif;
  font-size: 13px;
  margin: 0 0 12px 0;
  line-height: 1.4;
  font-weight: 400;
}

.magazine-cta {
  display: inline-block;
  background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
  color: white;
  padding: 8px 18px;
  text-decoration: none;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  text-transform: uppercase;
  height: 28px;
  line-height: 12px;
}

.magazine-cta:hover {
  background: linear-gradient(135deg, #b8860b 0%, #d4af37 100%);
  box-shadow: 0 3px 8px rgba(212, 175, 55, 0.4);
}

/* section 1 */

.section {
  position: relative;
}

.section.vertical-padding {
  margin: 60px 0;
}

#yale {
  background: url(../images/matt-butler.jpg) no-repeat center center; 
  background-size: cover;
  width: 100%;
  height: 600px;
}

@media screen and (min-width: 1500px) {
  #yale {
    background: url(../images/matt-butler.jpg) no-repeat center -200px;
    background-size: cover;
  }
}

#library {
  display: block;
  margin: 0 auto;
  margin-top: 60px;
  width: 450px;
  height: auto;
}

@media screen and (max-width: 670px) {
  #library {
    width: 100%;
  }
  #yale {
    height: 400px;
  }

  /* Magazine Feature Small Mobile Styles */
  .magazine-feature {
    padding: 18px 0;
  }

  .magazine-banner {
    padding: 16px 15px;
  }

  .magazine-icon {
    font-size: 26px;
  }

  .magazine-title {
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 8px;
  }

  .magazine-description {
    font-size: 11px;
    margin-bottom: 14px;
  }

  .magazine-cta {
    padding: 7px 14px;
    font-size: 9px;
  }
}

.absolute {
  position: absolute;
  top: 300px;
  left: 0;
  width: 100%;
}

.absolute.top300 { 
  top: 300px;
}

.absolute.top450 {
  top: 450px;
}

.floating-box {
  background-color: rgb(50,10,150);
  color: white;
  padding: 60px 30px;
  max-width: 400px;
  font-size: 18px;
}

.white.floating-box {
  color: rgb(50,10,150);
  background: white;
  margin: 0 auto;
  padding: 30px;
}

.wide.floating-box {
  max-width: 500px;
}

.floating-box.italics p:first-of-type {
  font-style: italic;
}

.learn-more {
  font-family: 'Montserrat', sans-serif;
  float: right;
  font-size: 12px;
}

.learn-more.same-line { margin-top: -26px; }

.credits {
  font-size: 12px;
  font-family: 'Montserrat', sans-serif;
}

p.half-margin-bottom {
  margin-bottom: .5em;
}

/* Matt Butler */

p.title {
  font-size: 18px;
  color: rgb(50,10,150);
  margin-bottom: 1em;
}

#matt-img {
  width: 100%;
  /*margin-bottom: 60px;*/
}

/* Testimonials */

#yale-2 {
  background: url(../images/yale-42936050.jpg) no-repeat center center; 
  background-size: cover;
  width: 100%;
  height: 500px;
  margin-bottom: 120px;
}

@media screen and (max-width: 670px) {
  #yale-2 {
    margin-bottom: 140px;
  }
  .absolute.top300 .learn-more { margin-top: -26px; }
}

.custom-top450 {
  top: calc(100% - 190px);
}

@media screen and (max-width: 670px) {
  .custom-top450 { top: calc(100% - 220px); } 
  #matt-img { margin-bottom: 100px; }
}

/* links to about us and services */

.container.block-links {
  display: flex;
  flex-direction: row;
  margin-bottom: 40px;
}

.container.block-links > div {
  width: 50%;
}

.container.block-links .image {  
  width: 100%;
  height: 150px;
}

#sitting-matt {
  background: url(../images/sitting-matt.jpg) no-repeat center center; 
  background-size: cover;
}

#yale-logo {
  background: url(../images/yale-logo.jpg) no-repeat center center; 
  background-size: cover;
}

.block-links hr {
  max-width: 75%;
  margin-top: 0;
  margin-left: 0;
}

.block-links p.title {
  margin-top: 1.5em;
  margin-bottom: 0;
}

#footer {
  background-color: rgb(50,10,150);
  color: white;
  font-family: 'Minion Pro', serif;
}

#footer .container {
  padding: 60px 80px;
}

#footer h2 {
  font-family: 'Montserrat', sans-serif;
}

#footer hr {
  color: grey;
}

.two-blocks {
  display: flex;
  flex-direction: row;
}

.two-blocks > div {
  width: 50%;
}

#footer .two-blocks {
  margin-top: 40px;
}

#footer p {
  font-size: 16px;
}

p#copyright {
  font-size: 12px;
  font-family: 'Montserrat', sans-serif;
}

@media screen and (max-width: 670px) {
  #footer .two-blocks {
    display: block;
  }

  #footer .container { padding: 40px 20px; }

  #footer .two-blocks > div {
    width: 100%;
  }

}

/* Services Page */

#teaching-columbia {
  /* ../images/teaching-columbia.jpg */
  background: url(../images/matt-office.jpg) no-repeat center center; 
  background-size: cover;
  width: 100%;
  height: 600px;
}

.two-blocks > div.vertical-divider {
  width: 2px;
  margin: 0 20px;
  background: #dadada;
}

@media screen and (max-width: 670px) {
  .two-blocks > div.vertical-divider {
    width: 100%;
    height: 2px;
    margin: 0 auto;
  }

  .two-blocks.purple-large-text {
    display: block;
  }

  .two-blocks.purple-large-text > div {
    width: 100%;
  }
}

.purple-large-text {
  font-size: 18px;
  color: rgb(50,10,150);
}

/* read more */
/*.set-read-more + [data-readmore-toggle], .set-read-more[data-readmore] {
  display: inline-block !important;
  width: auto !important;
  border-bottom: 1px solid white;
}

.set-read-more + [data-readmore-toggle] {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
}

.set-read-more + [data-readmore-toggle]:hover, .set-read-more + [data-readmore-toggle]:active {
  border-bottom: 1px dotted rgb(50,10,150);
}

@media screen and (max-width: 670px) {
  .set-read-more + [data-readmore-toggle] {
    margin: 20px 0;
    margin-top: 0;
  }

  .set-read-more[data-readmore] {
    margin: 0;
  }
}*/

.ui.accordion .title:not(.ui) {
  color: rgb(50,10,150);
}

/* testimonials */
#yale-building {
  background: url(../images/yale-building-25661377.jpg) no-repeat center center; 
  background-size: cover;
  width: 100%;
  height: 600px;
}

/* slider stuff */
#slider-container {
  margin-top: -40px;
  margin-bottom: 40px;
  background: linear-gradient(to bottom, transparent 40px, rgb(50,10,150) 40px);
}

.slick-slide {
  padding: 40px;
  margin-top: 40px;
  background: rgb(50,10,150);
  color: gray;
  text-align: center;
  font-size: 20px;
  font-style: italic;
}

.slick-slide p {
  max-width: 660px;
  margin: 0 auto;
}

.slick-active {
  color: white;
  padding-top: 80px;
  margin-top: 0;
}

.slick-slide:focus { outline: 0; }

.slick-prev {
  left: 30px;
  z-index: 10000;
}

.slick-next {
  right: 30px;
  z-index: 10000;
}

/* about page */
#sitting-matt-2 {
  background: url(../images/sitting-matt.jpg) no-repeat center center; 
  background-size: cover;
  width: 100%;
  height: 600px;
}

/* contact page */
#hbs {
  background: url(../images/hbs-20702236.jpg) no-repeat center center; 
  background-size: cover;
  width: 100%;
  height: 600px;
}

@media screen and (max-width: 670px) {
  #teaching-columbia,#yale-building, #sitting-matt-2, #hbs {
    height: 400px;
  }
}

.ui.form .field>label.purple-text {
  color: rgb(50,10,150);    
}

.ui.purple.button {
  background-color: rgb(50,10,150);
}

/* spinning wreath */
@keyframes spin {
  from {transform:rotateY(0deg);}
  to {transform:rotateY(360deg);}
}

.spinning { animation: spin 3s infinite linear; }

/* results */
#results img {
  width: 100%;
}

@media screen and (min-width: 768px) {
  #results img {
    max-height: 75px;
  }
}

#results label {
  position: absolute;
  right: 14px;
  bottom: 0px;
}

.purple-large-text .ui.blue.circular.label {
  vertical-align: bottom;
  margin-right: 5px;
}