*{
  /*border: 1px solid rgba(0,0,0,0.3);*/
    /* The * selector formats the entire webpage */
  box-sizing: border-box;
}
body{
  background-color: #000;
  margin-top: 66px;
  width: 100%;
  padding: 0 0 0 10;
  margin-left: 0px;
  margin-bottom: 0px;
  
  
}
h1{
  font-family: 'Quicksand', sans-serif;
  color: DarkGray;
  font-size: 320%;
  font-weight: 500;
  word-spacing: 0.25em;
  letter-spacing: .05em;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 0px;
  margin: 0;
}
h2{
  font-family: 'Quicksand', sans-serif;
  color: DarkGray;
  font-size: 200%;
  font-weight: 400;
  text-align: center;
  padding-top: 0px;
}  
p{
  font-family: 'Quicksand', sans-serif;
  color: DarkGray;
  font-size: 20px;
  width: 100%;
  padding-left: 5%;
  padding-right: 5%;
  padding-top: 0px;
  text-align: left;
  margin: 1em 0em;
}
a {
  color: rgb(61,0,153);
}
p a:visited {
  color: rgb(61,0,153);
}
.navigation{
  background-color: rgb(61,0,153);
  width: 100%;
  height: auto;
  overflow: hidden;
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  z-index: 100;
  }
 
 .title_block{
 background-image: url(../Images/bund_sunrise.jpg);
 background-size: contain;
 background-repeat: no-repeat;
 width: 100%;
 height: 0;
 top: 0px;
 left: 0px;
 padding-top: 1.25%;
 padding-bottom: 55%;
 color: DarkGray;
 text-align: center;
 }
 .SJTU_block{
 background-image: url(../Images/sjtu_main_gate.jpg);
 background-size: contain;
 background-repeat: no-repeat;
 width: 100%;
 height: 0;
 min-height: 400px;
 top: 0px;
 left: 0px;
 padding-top: 0.25%;
 padding-bottom: 56%;
 color: Darkgray;
 text-align: center;
 }
 .about_block{
 background-image: url(../Images/profile.jpg);
 background-size: contain;
 background-repeat: no-repeat;
 width: 100%;
 height: 0;
 min-height: 400px;
 top: 0px;
 left: 0px;
 padding-top: 1.25%;
 padding-bottom: 55%;
 text-align: center;
 }
 .SJTU_subtitle{
  position: absolute;
  width: 100%;
  bottom: 0;
  text-align: center;
   }

.navigation ul{
  width: 100%;
  height: 40px;
  padding: 0 0;
  text-align: center;


  }


.navigation a:not(.mobile_menu){
  display: inline-block;
  text-decoration: none;
  text-align: center;
  font-size: 200%;
  font-weight: 400;
  width: auto;
  line-height: 38px;
  padding-left: 2.8%;
  padding-right: 2.8%;
}

.navigation ul > a{
  /*border: 1px solid blue;*/
}
 .navigation a.link:hover{
   background-color: rgb(90,0,226);
 }
 .navigation .mobile_menu{
  display: none;
 }
.mobile_menu img{
  height: 30px;
  width: 30px;
  padding: 0 0;
}
/*.navigation .mobile_menu_exit{
  display: none;
}
.mobile_menu_exit img{
  height: 30px;
  width: 30px;
  padding: 0 0;
}*/

.current_page {
  font-family: 'Quicksand', sans-serif;
  background-color: rgb(90,0,226);
  color: WhiteSmoke;
  display: inline-block;
  font-size: 100%;
  /*width: 150px;*/
  width: 12%;
  padding: 0 0em;
}
.current_page li{
  width: 100%; /* 100% of 12% for current page div */
}
.link {
  font-family: 'Quicksand', sans-serif;
  color: WhiteSmoke;
  display: inline-block;
  font-size: 100%;
  /*width: 150px;*/
  width: 12%;
  padding: 0 0em;
}
.unfinished_link {
  font-family: 'Quicksand', sans-serif;
  color: WhiteSmoke;
  display: inline-block;
  font-size: 100%;
  /*width: 150px;*/
  width: 12%;
  padding: 0 0em;
}

.unfinished_link:hover{
  background-image: url(../Images/construction.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: rgb(61,0,153);
  color: rgba(245,245,245,0.7); /*whitesmoke, transparency */
  width: inherit;
  display: block;
}
.responsive > .unfinished_link li:after{
  background-image: url(../Images/construction.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: rgb(61,0,153);
  color: rgba(245,245,245,0.7); /*whitesmoke, transparency */
  width: 100%;
  display: block;
}

.responsive > .unfinished_link li:focus{
  background-image: url(../Images/construction.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: rgb(61,0,153);
  color: rgba(245,245,245,0.7); /*whitesmoke, transparency */
  width: 100%;
  display: block;
}

.posts_navigation{
  float: left;
  width: 20%;
  min-width: 150px;
  padding: 0 0 5px 0;
  background-color: rgb(61,0,153);
  margin: 5px 40px 25px 0;
}
.posts_navigation ul{
  list-style-type: none;
  margin: 0;
  padding: 1px 2px 1px 3px;

}
.posts_navigation li {
  display: block;
  width: 100%;
  padding: 2px 5px 2px 10px;
  font-family: 'Quicksand', sans-serif;
  color: Whitesmoke;
}
.posts_navigation li:hover{
  background-color: rgb(90,0,226);
}
.posts_navigation h1{
  font-size: 24px;
  color: Whitesmoke;
  padding: 2px 0px;
  margin: 0;
}
.posts_navigation a{
 display: block;
  font-size: 16px;
  color: Whitesmoke;
  padding: 2px 0px;
  margin: 0;
  text-decoration: none;
}
.current_post li{
 background-color: rgb(90,0,226);
  padding: 0 3%;
}

.title_block h1{
  font-family: 'Quicksand', sans-serif;
  color: rgb(90,0,226);
  font-size: 320%;
  font-weight: 500;
  word-spacing: 0.25em;
  letter-spacing: .05em;
  }
  
.SJTU_block h1{
  font-family: 'Quicksand', sans-serif;
  color: Black;
  font-size: 320%;
  font-weight: 500;
  word-spacing: 0.25em;
  letter-spacing: .05em;
  padding-top: 0;
  }
.about_block h1{
  font-family: 'Quicksand', sans-serif;
  color: rgb(61,0,153);
  font-size: 320%;
  font-weight: 500;
  word-spacing: 0.25em;
  letter-spacing: .05em;
  } 
.subtitle h2 {
  font-family: 'Quicksand', sans-serif;
  color: rgb(61,0,153);
  font-size: 200%;
  font-weight: 400;
}
.SJTU_block h2{
  font-family: 'Quicksand', sans-serif;
  color: Black;
  font-size: 320%;
  font-weight: 500;
  word-spacing: 0.25em;
  letter-spacing: .05em;
  padding-top: 0;
  }
.SJTU_subtitle h3 {
  font-family: 'Quicksand', sans-serif;
  color: Black;
  font-size: 200%;
  font-weight: 400;
}

.map{
  width: 100%;
  }  

.video a{
  max-width: 400px;
  margin-left: auto;
  margin-right:auto;
  margin-top: 25px;
  margin-bottom: 25px;
  display: block;
}
hr{
  border-top: 5px solid rgb(61,0,153);
  height: 0px;
  width: 80%;
  margin-top: 25px;
}
.footer {
background-color: rgb(61,0,153);
width: 100%;
padding-top: 5px;
padding-bottom: 5px;
padding-left: 0;
padding-right: 0;
margin: 0 0 0 0;
clear: left;
}

.single_photo_row {
   width: 100%;
   padding-left: 3%;
   padding-right: 3%;
 }
.single_photo_row img{
  width: 40%;
  margin-left: 30%;
}
.single_photo_row p{
  padding-left: 10%;
  padding-right: 10%;
}
 .single_photo_row_profile {
   width: 100%;
   padding-left: 3%;
   padding-right: 3%;
 }
.single_photo_row_profile img{
  width: 20%;
  margin-left: 40%;

}
.single_photo_row_profile p{
  padding-left: 10%;
  padding-right: 10%;
}
.two_photo_row {
  width: 100%;
  padding-left: 3%;
  padding-right: 3%;
}
.two_photo_row img{
  width: 49%;
  padding-left: 2%;
  padding-right: 2%;
  }
.two_photo_row p{
  padding-left: 10%;
  padding-right: 10%;
}
.two_photo_row_profile {
  width: 100%;
  padding-left: 10%;
  padding-right: 10%;
}
.two_photo_row_profile img{
  width: 49%;
  padding-left: 10%;
  padding-right: 10%;
  }
.two_photo_row_profile p{
  padding-left: 10%;
  padding-right: 10%;
}
.panorama img{
  width: 100%;
  }
iframe{
  display: block;
  margin: auto;
  }

.square{
  float: left;
  position: relative;
  width: 24%;
  padding-bottom: 25%;
  margin: 0.45%;
  min-width: 200px;
  min-height: 200px;
  background-color: rgb(90,0,226);
  overflow: hidden;
}
.image{
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 2%;

}
.table{
  display:table;
  height:100%;
  width:100%;
}
.table_cell{
  display:table-cell;
  vertical-align:middle;
  height:100%;
  width:100%;
  background-color: black;
}
.table_cell img{
  image-orientation: from-image;
  max-height: 100%;
  max-width: 100%;
  height: auto;
  width: auto;
}
  
.footer p{
  text-align: center;
  font-family: 'Quicksand', sans-serif;
  color: WhiteSmoke;
  font-size: 100%;
  font-weight: 400;
  margin: 0px;
  clear: left;
}
iframe{
  display: block;
  margin: auto;
  }

/* only for small screens (<980px)*/
@media screen and (max-width: 980px){
	.navigation a:not(.current_page){display:none;}
	
	.navigation a.mobile_menu{
	  position: absolute;
	  left: 24px;
	  top: 15px;
	  display: block;
	}

	.responsive > .mobile_menu{
	  position: absolute;
	  left: 24px;
	  top: 15px;
	  display: block;
	}
    .responsive{
        background-color: rgb(61,0,153);
        width: 100%;
        min-height: 70px;
        height: 258px;
        overflow: visible;
        position: fixed;
        top: 0px;
        left: 0px;
        right: 0px;
        padding-left: 84px;
        padding-right: 100px;
        z-index: 100;
  }

   .responsive ul{
        position: relative;
        width: 100%;
       /* height: 40px;*/
        padding-left: 18px;
        padding-right: 18px;
        margin-left: 20px;
        text-align: center;
        /*border: 2px solid red;*/
    }
	.responsive a:not(.mobile_menu):not(.current_page){
	  float: none;
	  display: block;
	  text-align: left;
      text-align: center;
      width: 100%;
      font-size: 200%;
      font-weight: 400;
      line-height: 38px;
      background-color: rgb(61,0,153);
      /*border: 1px solid blue;*/
    
	}
    .current_page:not(.responsive){
	    background-color: rgb(61,0,153);
	}
	.current_page:not(.responsive):hover{
	    background-color: rgb(61,0,153);
	}
	.responsive .current_page{
	    float: none;
	    display: block;
	    text-align: left;
        text-align: center;
        width: 100%;
        font-size: 200%;
        font-weight: 400;
        line-height: 38px;
        background-color: rgb(90,0,226);
        /*border: 1px solid blue;*/
	}
	.responsive .current_page:hover{
	  background-color: rgb(90,0,226);
	}
	
  hr{
    border-top: 5px solid rgb(61,0,153);
    height: 0px;
    width: 80%;
    margin-top: 25px;
}
}

.rotate90 {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}
.rotate-90 {
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
}
.rotate180 {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}
