@import url(http://fonts.googleapis.com/css?family=Damion);
@import url(http://fonts.googleapis.com/css?family=Days+One);
@import url(http://fonts.googleapis.com/css?family=Caudex);

/*** = global***/
a {
    text-decoration: none;
}

/*** =structure ***/
#page {
    display: block;
    margin: 0 auto;
    max-width: 1024px;
}

body {
    min-height: 100%;
}

header, #content, #slideshow, #highlight_notes {
    clear: both;
    margin: 0 auto;
    display: block;
    width: 85%;
}

header {
    margin-top: 1.5em;
}

/*** =color ***/
body {
    background-image: url(../images/wall.jpg);
    background-size: round;
    background-repeat: repeat;
    color: #fff;
}

/*** =header ***/
#logo a {
    float: left;
    padding: 5px 5px 2px;
    margin-top: 15px;
    font-size: 1.5em;
    background-repeat: no-repeat;
    background-color: rgba(200,255,255,.8);
    margin-bottom: 2%;
}
.hvr-rotate {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}
.hvr-rotate:hover, .hvr-rotate:focus, .hvr-rotate:active {
  -webkit-transform: rotate(4deg);
  transform: rotate(4deg);
}
/*** =navigation ***/
#navigation {
    float: right;
    position: relative;
    padding-top: 22px;
    left: -30px;
    display: block;
}

#menu {
    list-style: none;
    margin: 0 auto;
    width: 100%;
    z-index: 5;
    position: relative;
    margin-bottom: 8%;
}

    #menu li {
        position: relative;
        float: left;
        margin-left: 15px;
        font-size: 95%;
        background: rgb(200,255,255);
        padding: 8px 18px;
    }

        #menu li a {
            color: #000000;
            font-family: 'Days One';
        }

        #menu li:hover, #menu li:active {
            background: #ffffff;
        }

    /* dropdown menu*/

    #menu ul {
        padding:0;
        background-color: rgba(0,153,153,.5);
        list-style: none;
        position: absolute;
        margin-left: -5px;
        margin-top: 5px;
        display: none;
        z-index: 5;
        width: 160%;
    }

    #menu li:hover ul {
        display: block;
    }

    #menu ul li a {
        font-family: 'Buda';
        white-space: nowrap;
    }

    #menu ul li {
        margin: 5px;
        padding: 5%;
        float: none;
        background-color: rgba(255,255,255,0.65);
    }

        #menu ul li:hover {
            background-color: rgba(0,0,0,.3);
        }

            #menu ul li:hover a {
                color: #ffffff;
            }
/*** = content ***/
#content {
    max-width: 100%;
    position: relative;
}
/*** =slideshow section***/
#soc-carousel{
    padding:2% 0;
}
.carousel-control.right, .carousel-control.left{
    background-image: none !important;
} 

/*** = highlight events***/
#highlight_notes {
    margin-top: 2%;
}

aside {
    padding:1%;
}
aside a>img:hover{
    background: rgba(200,255,255,.8);
}

aside>a>img{
    padding:15px;
transition: all 0.4s;
    background: rgba(200,255,255,1);
    -webkit-box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, .5);
    -moz-box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, .5);
    box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, .5);
}
    aside h3 {
        color: rgba(0,0,0,.9);
        font-family: 'Days One', sans-serif;
        font-size: 1.2em;
        font-weight: bold;
        line-height: 1;
        margin-bottom: 1em;
    }

    aside p {
        color: #000;
        font-size: 90%;
        font-family: Helvetica, 'Arial',sans-serif;
    }


.note1 {
    -moz-transform: rotate(1deg);
    -webkit-transform: rotate(1deg);
    transform: rotate(1deg);
}

.note2 {
    transform: rotate(1deg);
    -moz-transform: rotate(-1deg);
    -webkit-transform: rotate(-1deg);
}

.note3 {
    transform: rotate(1deg);
    -moz-transform: rotate(1deg);
    -webkit-transform: rotate(1deg);
}

/*** =footer***/
#twittertimeline{
    padding: 5%;
    clear: both;
    text-align: center;

}

.twitter-timeline{
    clear:right;
    margin:0 auto;

    -webkit-box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, .5);
    -moz-box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, .5);
    box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, .5);
}
footer {
    padding: 5%;
    clear: both;
    text-align: center;
}

.g-plus{
    -webkit-box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, .5);
    -moz-box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, .5);
    box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, .5);
}



/*** =Tablets media ***/
@media screen and (max-width: 768px) {
    aside {
        float: none;
        width: 85%;
        padding: 5%;
        margin-bottom: 5%;
    }
}


/*** = Mobile media***/
@media screen and (max-width: 550px) {
    #navigation {
        float: none;
        margin: 0 auto;
    }

    #menu {
        float: right;
        margin: 0 auto;
        padding: 0;
        margin-bottom: 2%;
    }

        #menu li {
            float: left;
            margin: 0 0.15em;
        }

            #menu li a {
                font-size: 0.8em;
            }
}

/* = Advisory Page*/

.bio {
    clear: both;
    height: auto;
    width: 100%;
    padding: 3%;
    margin: 1% auto;
}

    .bio img {
        position: relative;
        float: left;
        width: 30%;
        background: rgba(0,0,0,.45);
    }

    .bio p {
        position: relative;
        float: right;
        width: 60%;
        height: 308px;
        padding: 5%;
        padding-top: .5%;
        padding-bottom: .5%;
        margin: 0 auto;
        background: rgba(0,0,0,.45);
        font-family: 'Caudex', sans-serif;
        font-size: 100%;
    }

/**= Partner Grous page*/
/** = Students page*/ 
.partner-logo-left {
    float: left;

}

.partner-logo-right {
    float: right;

}

.partner-img {
    position: relative;
    margin: 0 auto 2%;
    max-width: 100%;
}
.partner-img:last-child{
    margin: 25px;
}
.partner-text {
    -moz-opacity: 0;
    opacity: 0;
    position: absolute;
    color: white;
    margin: auto;
    background: #000;
    font-family: 'Caudex', sans-serif;
    font-size: 100%;
    border: 1px solid rgba(0,0,0,.3);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    z-index: 5;
    -webkit-transition: opacity .3s ease;
    -moz-transition: opacity .3s ease;
    -o-transition: opacity .3s ease;
    transition: opacity .3s ease;
}

.partner-img:hover .partner-text {
    -moz-opacity: 1;
    opacity: 1;
    display: block;
}


/* = Mission page*/

#mission {
    background: rgba(0,0,0,.5);
    font-size: 1.2em;
    font-family: 'Caudex', sans-serif;
}

/**= Contact page**/
#contact p {
    position: relative;
    float: right;
    width: 100%;
    padding: 5%;
    padding-top: .5%;
    padding-bottom: .5%;
    margin: 0 auto;
    background: rgba(0,0,0,.45);
    font-family: 'Caudex', sans-serif;
    font-size: 100%;
}

/* = seminar page*/
.seminar a {
    color: white;
    position: relative;
    float: right;
    width: 100%;
    padding-top: .5%;
    margin: auto;
    background: rgba(0,0,0,.45);
    font-family: 'Caudex', sans-serif;
    font-size: 100%;
}

    .seminar a:hover {
        background: #000;
    }

.seminar h2 {
    font-size: 1.5em;
}
