
/* Branding for logos etc */

#branding .container{
    display: flex;
}
#branding .col{
    flex: 1;
}

#branding {
  text-align: center;
}

#branding .container {
  max-width: 850px;
}

.reveal #branding .container {
  max-width: 100%;
}

#branding p {
  font-weight: 500;
  font-size: 1.2em;
  text-align: center !important;
  margin: 0.5em;
}


.reveal #branding p {
  font-size: 0.9em;
  margin-bottom: 0;
  margin-top: 0;
}

#branding .nulogo {
  max-width: 180px;
  margin: 0 !important;
  margin-top: 1em !important;
}

#branding .numbas {
  width: 90%;
  max-width: 210px;  
  margin-top: 2.4em;
}

#branding .chirun {
  width: 90%;
  max-width: 210px;  
  margin-top: 2.4em;
}

#branding .cate {
  width: 90%;
  max-width: 180px;
}





.album {
	background-image: url(../static/images/university_fade.png);
    background-size: cover;
    min-height: 450px;
}

.jumbotron:before {
	content: url(../static/images/newcastle-university-logo.png);
}


.reveal .resources {
    font-size: 0.7em;
    float: left;
    max-width: 50%;
    /* border: 1px solid red; */
    padding: 25px;
    margin-top: 30px;
    background: #f6f6f6;
    border-left: 3px solid #2dd1eb;
}

.reveal .resources.right {
    float: right;
}

blockquote, .reveal blockquote {
  width: 95%;
  font-size: 0.95em;
  background-color: #FAFAFA;
  padding: 15px;
  border-left: 10px solid #768a77;
}

.reveal blockquote {
  font-size: 1em;
  width: 80%;
  margin: 10px;
  font-family:Open Sans;
  font-style:italic;
  line-height:1.5;
  position: relative;
  box-shadow: none;
}

.reveal blockquote::before{
  font-family:Arial;
  content: "\201C";
  color:#759e5a;
  font-size:3em;
  position: absolute;
  top:-20px;
}

.reveal blockquote::after{
  content: '';
}

.reveal blockquote span{
  display:block;
  color:#333333;
  font-style: normal;
  font-weight: bold;
  margin-top:1em;
}

.reveal blockquote p{
  margin-left: 50px !important;
}


.reveal .math {
	margin: 20px 0;
}

.reveal .slide-background {
	background-size: contain;
}

section {
	clear: both;
}

.reveal .button {
  display: inline-block;
  padding: 5px 15px !important;
  font-size: 22px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  outline: none;
  color: #fff;
  background-color: #337ab7;
  border: none;
  border-radius: 15px;
}

.reveal .button:hover {background-color: #316ab3;}

.reveal .button:active {
  background-color: #316ab3;

}

a.button {
  color: white;
}

a.button:hover {
  color: white;
}

td.yellow, .reveal table td.yellow {
  background-color: #ffff80;
  text-align: center;
  border: 1px solid black;
}

td.red, .reveal table td.red {
  background-color: #ffa080;
  text-align: center;
  border: 1px solid black;
}


td.green, .reveal table td.green {
  background-color: #a5d46a;
  text-align: center;
  border: 1px solid black;
}


td.orange, .reveal table td.orange {
  background-color: #ffc080;
  text-align: center;
  border: 1px solid black;
}



.reveal small {
  font-size: 0.8em;
}

.reveal h1 {
  margin-top: 0.8em;
}

.people {
  width: 170px;
  margin-bottom: 5px !important;
  border-radius: 50%;
}

.reveal .section1 {
  top: 17.5px !important;
}

.reveal h1, .reveal h2, .reveal h3, .reveal h4 {
  text-transform: none;
}

.new {
  margin-top: -10px;
  background: #3484a3;
  padding: 0 5px;
  border-radius: 5px;
  color: white;
  font-size: 0.7em;
  position: relative;
  top: -0.6em;
}


  /*Basic Phone styling*/
  
  #wrapper {
    margin-top: 0px;
  }

  .phone {
    border: 40px solid #333;
    border-width: 55px 7px;
    border-radius: 40px;
    margin: 50px auto;
    overflow: hidden;
    transition: all 0.5s ease;
    width: 280px;
    height: 450px;
  }
  
  .phone iframe {
    border: 0;
    width: 100%;
    height: 100%;
  }
  /*Different Perspectives*/
  
  .phone.view_1 {
    transform: rotateX(50deg) rotateY(0deg) rotateZ(-50deg);
    box-shadow: -3px 3px 0 #BBB, -6px 6px 0 #BBB, -9px 9px 0 #BBB, -12px 12px 0 #BBB, -14px 10px 20px #666;
  }
  
  .phone.view_2 {
    transform: rotateX(0deg) rotateY(-20deg) rotateZ(0deg);
    box-shadow: 5px 1px 0 #BBB, 9px 2px 0 #BBB, 12px 3px 0 #BBB, 15px 4px 0 #BBB, 0 7px 20px #999;
  }
  
  .phone.view_3 {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    box-shadow: 0px 3px 0 #BBB, 0px 4px 0 #BBB, 0px 5px 0 #BBB, 0px 7px 0 #BBB, 0px 10px 20px #666;
  }
  /*Controls*/
  
  #controls {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 0.9em;
    color: #333;
  }
  
  #controls div {
    margin: 10px;
  }
  
  #controls div label {
    width: 120px;
    display: block;
    float: left;
  }
  
  #views {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 200px;
  }
  
  #views button {
    width: 198px;
    border: 1px solid #bbb;
    background-color: #fff;
    height: 40px;
    margin: 10px 0;
    color: #666;
    transition: all 0.2s;
  }
  
  #views button:hover {
    color: #444;
    background-color: #eee;
  }


  @media (max-width:900px) {
    #wrapper {
      transform: scale(0.8, 0.8);
    }
  }
  
  @media (max-width:700px) {
    #wrapper {
      transform: scale(0.6, 0.6);
    }
  }
  
  @media (max-width:500px) {
    #wrapper {
      transform: scale(0.4, 0.4);
    }
  }
