/* ANIMATIONS */

@keyframes intro {
    from {right: -300px; opacity: 0;}
    to {right: 100px; opacity: 1;}
}

@keyframes opacity {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes bgmove {
    from {background-size: 50% auto; background-position: center;}
    to {background-size: 100% auto; background-position: center;}
}

@keyframes slideinleft {
    from {left: -50%;}
    to {left: 0px;}
}

/* PARAMETERS */

* {
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.wow {
   visibility: hidden;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    overflow-x: hidden;
    /* background-color: #f7f7f7; */
	background-image: url("http://www.geocities.ws/castelodeideias/img/background-body.png");
    background-size: auto;
    background-attachment: scroll;
	background-repeat: repeat;
}

.prime {
	position: relative;
    width: 100%;
    height: 100vh;
    background-color: #000;
    /* background: linear-gradient(rgba(255, 59, 59, 0.55), rgba(255, 59, 59, 0.40)), url(../img/bg-prime.jpg); */
    background: radial-gradient(rgba(33, 33, 33, 0.45), rgba(33, 33, 33, 0.87)), url("http://www.geocities.ws/castelodeideias/img/bg-prime.JPG");
    background-size: cover;
    background-position: bottom center;
    background-attachment: scroll;
	background-repeat: no-repeat;
}

header {
    width: 100%;
    height: 90px;
    display: inline-block;
    margin-top: 10px;
    animation-name: opacity;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

.divider {
    width: 100%;
    height: 1px;
    background-color: #fff;
    opacity: 0.25;
    float: left;
    clear: both;
    margin-top: 10px;
}

.logo {
    width: 100px;
    height: 100px;
    float: left;
    clear: none;
    background-image: url("http://www.geocities.ws/castelodeideias/img/cap-logo.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-left: 100px;
    position: relative;
}

nav {
    float: right;
    clear: none;
    display: inline-block;
    margin-top: 35px;
    margin-right: 100px;
}

nav .link {
    font-size: 1em;
    font-weight: 300;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    margin-left: 50px;
    opacity: 0.65;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

nav .link:hover {
    opacity: 1;
}

nav .active {
    font-weight: 700;
    opacity: 1;
}

.active:before {
    content: "● ";
    font-weight: 700;
}

.student-login {
    float: right;
    width: auto;
    height: 50px;
    right: 100px;
    margin-top: 25px;
    position: relative;
}

.student-login p {
    color: #fff;
    font-size: 0.75em;
    float: left;
    margin-right: 15px;
    margin-top: 13px;
}

.student-login .student-pic {
    width: 40px;
    height: 40px;
    float: right;
    clear: none;
    border: 3px solid #fff;
    border-radius: 100%;
}

.info {
    margin-top: 20vh;
}

h1 {
    float: left;
    width: 100%;
    height: auto;
    clear: both;
    font-family: "Open Sans", sans-serif;
    font-size: 3.3em;
    text-align: center;
    color: #fff;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0;
    animation-name: opacity;
    animation-delay: 1s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

h1 span {
    font-weight: 600;
}

#afterh1 {
    float: none;
    display: block;
    margin: auto;
    clear: both;
    font-family: "Open Sans", sans-serif;
    font-size: 0.8em;
    text-align: center;
    color: #fff;
    font-weight: 300;
    width: 50%;
    opacity: 0;
    animation-name: opacity;
    animation-delay: 2s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

.call-to-action-prime {
    width: 450px;
    height: auto;
    display: block;
    float: none;
    margin: 80px auto;
    clear: both;
}

.call-to-action-prime .left {
    float: left;
}

.call-to-action-prime .right {
    float: right;
}

.call-to-action-prime .button-round {
    display: inline-block;
    cursor: pointer;
    width: 200px;
    padding: 15px 0px;
    background-color: transparent;
    border: 3px solid #fff;
    border-radius: 100px;
    font-family: "Open Sans", sans-serif;
    font-size: 0.75em;
    color: #fff;
    opacity: 0;
    -webkit-transition: all 0.45s ease-in-out;
    -moz-transition: all 0.45s ease-in-out;
    -ms-transition: all 0.45s ease-in-out;
    -o-transition: all 0.45s ease-in-out;
    transition: all 0.45s ease-in-out;
    animation-name: opacity;
    animation-delay: 3s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

.call-to-action-prime .button-round:hover {
    background-color: #fff;
    color: #333;
}

.frame {
    width: 100%;
    min-height: 100vh;
    height: auto;
}

.custom-frame {
    width: 100%;
    height: auto;
    padding-bottom: 100px;
}

.advertisement, .mission {
    width: 100%;
    height: 65vh;
    background-color: #000;
}

.advertisement {
    background-image: url("http://www.geocities.ws/castelodeideias/img/single-dot-texture-white.png"), url(../img/advertisement-bg.jpg);
    background-attachment: scroll;
    background-size: auto, cover;
	background-repeat: repeat, no-repeat;
}

.advertisement .information {
    width: 50%;
    height: 100%;
    background-color: rgba(61, 74, 93, 0.8);
    display: inline-block;
    position: relative;
    left: 0%;
}

.advertisement .information h2 {
    float: right;
    margin-top: 25px;
    margin-bottom: 15px;
    margin-right: 25px;
    font-family: "Open Sans", sans-serif;
    font-size: 2.2em;
    font-weight: 300;
    font-style: italic;
    color: #fff;
}

.advertisement .information .information-divider {
    float: right;
    clear: both;
    margin-top: 0px;
    margin-right: 25px;
    width: 100px;
    height: 1px;
    background-color: #fff;
    opacity: 0.3;
}

.advertisement .information .ad-text {
    float: right;
    clear: both;
    width: 400px;
    margin-top: 15px;
    margin-right: 25px;
    text-align: right;
    color: #fff;
    font-size: 1em;
}

.advertisement .information .left {
    float: left;
	clear: both;
}

.advertisement .information .right {
    float: right;
    clear: both;
}

.advertisement .information .button-round {
    display: inline-block;
    cursor: pointer;
	position: absolute;
	bottom: 35px;
	right: 25px;
    width: 200px;
    padding: 15px 0px;
    background-color: transparent;
    border: 3px solid #fff;
    border-radius: 100px;
    font-family: "Open Sans", sans-serif;
    font-size: 0.75em;
    color: #fff;
    opacity: 0;
    -webkit-transition: all 0.45s ease-in-out;
    -moz-transition: all 0.45s ease-in-out;
    -ms-transition: all 0.45s ease-in-out;
    -o-transition: all 0.45s ease-in-out;
    transition: all 0.45s ease-in-out;
    animation-name: opacity;
    animation-delay: 0.45s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

.advertisement .information .button-round:hover {
    background-color: #fff;
    color: #333;
}

.mission {
    background-image: url("http://www.geocities.ws/castelodeideias/img/single-dot-texture-white.png"), url("http://www.geocities.ws/castelodeideias/img/missao-bg.JPG");
    background-attachment: scroll, fixed;
	background-position: center;
    background-size: auto, cover;
	background-repeat: repeat, no-repeat;
}

.mission .information {
    width: 50%;
    height: 100%;
    background-color: rgba(166, 59, 47, 0.8);
    display: inline-block;
    position: relative;
	float: right;
    right: 0%;
}

.mission .information h3 {
    float: left;
    margin-top: 25px;
    margin-bottom: 15px;
    margin-left: 25px;
    font-family: "Open Sans", sans-serif;
    font-size: 2.2em;
    font-weight: 300;
    font-style: italic;
    color: #fff;
}

.mission .information .information-divider {
    float: left;
    clear: both;
    margin-top: 0px;
    margin-left: 25px;
    width: 100px;
    height: 1px;
    background-color: #fff;
    opacity: 0.3;
}

.mission .information .ad-text {
    float: left;
    clear: both;
    width: 400px;
    margin-top: 15px;
    margin-left: 25px;
    text-align: left;
    font-size: 1em;
    color: #fff;
}

.mission .information .left {
    float: left;
	clear: both;
}

.mission .information .right {
    float: right;
    clear: both;
}

.mission .information .button-round {
    display: inline-block;
	position: absolute;
	bottom: 35px;
	left: 25px;
    cursor: pointer;
    width: 200px;
    padding: 15px 0px;
    background-color: transparent;
    border: 3px solid #fff;
    border-radius: 100px;
    font-family: "Open Sans", sans-serif;
    font-size: 0.75em;
    color: #fff;
    opacity: 0;
    -webkit-transition: all 0.45s ease-in-out;
    -moz-transition: all 0.45s ease-in-out;
    -ms-transition: all 0.45s ease-in-out;
    -o-transition: all 0.45s ease-in-out;
    transition: all 0.45s ease-in-out;
    animation-name: opacity;
    animation-delay: 0.45s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

.mission .information .button-round:hover {
    background-color: #fff;
    color: #333;
}

.courses, .location {
	display: block;
	float: none;
	margin: auto;
	opacity: 0;
	animation-name: opacity;
    animation-duration: 1s;
    animation-fill-mode: forwards;
	margin-bottom: 50px;
}

.courses p, .location p {
	margin-top: 45px;
	margin-bottom: 20px;
	font-family: "Open Sans", sans-serif;
	font-size: 2em;
	text-align: center;
}

.courses div, .location div {
	display: block;
	float: none;
	margin: auto;
    clear: both;
    width: 65px;
    height: 1px;
    background-color: #000;
    opacity: 1;
}

.card-holder {
	width: 900px;
	height: auto;
	display: flex;
	justify-content: center;
	margin: auto;
}

.card-holder .card {
	width: 280px;
	height: 375px;
	margin: 10px;
	-webkit-box-shadow: 0 0 3px 3px rgba(0,0,0,0.05);
	box-shadow: 0 0 3px 3px rgba(0,0,0,0.05);
	background-color: #fff;
    -webkit-transition: all 0.45s ease-in-out;
    -moz-transition: all 0.45s ease-in-out;
    -ms-transition: all 0.45s ease-in-out;
    -o-transition: all 0.45s ease-in-out;
    transition: all 0.45s ease-in-out;
}

.card-holder .card:hover {
	-webkit-box-shadow: 0 0 3px 3px rgba(0,0,0,0.15);
	box-shadow: 0 0 3px 3px rgba(0,0,0,0.15);
}

.card-holder a {
	text-decoration: none;
}

.card .card-1 {
    width: 100%;
    height: 190px;
    background-image: url(https://static.pexels.com/photos/808/school-furniture-education-university-large.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.card .card-2 {
    width: 100%;
    height: 190px;
    background-image: url(../img/ensino-medio.JPG);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.card .card-3 {
    width: 100%;
    height: 190px;
    background-image: url(https://static.pexels.com/photos/455/man-person-school-head-large.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.card .card-text {
	margin-top: 30px;
	font-size: 1.1em;
	text-align: center;
	color: #333;
    padding: 0px 20px;
}

.custom-frame a {
    text-decoration: none;
}

.button-round-courses {
    display: block;
	float: none;
	margin: auto;
	margin-top: 50px;
    cursor: pointer;
    min-width: 200px;
    width: auto;
    padding: 15px;
    background-color: transparent;
    border: 3px solid #777;
    border-radius: 100px;
    font-family: "Open Sans", sans-serif;
    font-size: 0.75em;
    color: #777;
    -webkit-transition: all 0.45s ease-in-out;
    -moz-transition: all 0.45s ease-in-out;
    -ms-transition: all 0.45s ease-in-out;
    -o-transition: all 0.45s ease-in-out;
    transition: all 0.45s ease-in-out;
}

.button-round-courses:hover {
    border-color: #000;
    color: #000;
}

.map {
	width: calc(50% - 50px);
	height: 500px;
	overflow: hidden;
	float: left;
	clear: none;
	margin-left: 50px;
	margin-right: 50px;
    margin-bottom: 100px;
}
.locations {
	width: calc(50% - 50px);
	height: auto;
	float: right;
	clear: none;
}
h4 {
	width: auto;
    float: left;
    font-family: "Open Sans", sans-serif;
    font-size: 2em;
    text-align: left;
	text-transform: uppercase;
    color: #333;
    font-weight: 500;
	margin-bottom: 15px;
    margin-top: 0px;
    margin-left: 10px;
    display: inline-block;
    clear: none;
}

.afterh4, .small-afterh4 {
    float: left;
	clear: left;
    font-family: "Open Sans", sans-serif;
    font-size: 0.9em;
    text-align: left;
	text-transform: uppercase;
    color: #666;
    font-weight: 300;
	margin-bottom: 10px;
}

#location-pin {
    display: inline-block;
    width: 34px;
    height: 34px;
    cursor: pointer;
    clear: none;
    float: left;
}

.contact {
    width: 100%;
    height: 100vh;
	overflow: hidden;
	background-color: #000;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url("http://www.geocities.ws/castelodeideias/img/contact-bg.JPG");
    background-size: cover;
    background-attachment: scroll;
	background-repeat: no-repeat;
    position: relative;
}

.contact .logo {
    width: 150px;
    height: 150px;
    float: none;
    display: block;
    background-image: url("http://www.geocities.ws/castelodeideias/img/cap-logo.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
	margin-top: 50px;
    margin-left: auto;
	margin-right: auto;
    position: relative;
}

h5 {
    float: left;
    width: 100%;
    height: auto;
    clear: both;
    font-family: "Open Sans", sans-serif;
    font-size: 3.3em;
    text-align: center;
	text-transform: uppercase;
    color: #fff;
    font-weight: 300;
    margin-top: 50px;
	margin-bottom: 25px;
    opacity: 0;
    animation-name: opacity;
    animation-delay: 1s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

h5 span {
    font-weight: 600;
}

.afterh5 {
    float: none;
    display: block;
    margin: auto;
    clear: both;
    font-family: "Open Sans", sans-serif;
    font-size: 0.8em;
    text-align: center;
    color: #fff;
    font-weight: 300;
    width: 50%;
    opacity: 0;
    animation-name: opacity;
    animation-delay: 2s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}
.footer-buttons {
    width: 200px;
    height: auto;
    display: block;
    float: none;
    margin: auto;
}
.contact .button-round-lessmargin {
	margin-top: 20px;
    cursor: pointer;
    width: 200px;
    padding: 15px 0px;
    background-color: transparent;
    border: 3px solid #fff;
    border-radius: 100px;
    font-family: "Open Sans", sans-serif;
    font-size: 0.75em;
    color: #fff;
    opacity: 0;
    -webkit-transition: all 0.45s ease-in-out;
    -moz-transition: all 0.45s ease-in-out;
    -ms-transition: all 0.45s ease-in-out;
    -o-transition: all 0.45s ease-in-out;
    transition: all 0.45s ease-in-out;
    animation-name: opacity;
    animation-delay: 2.5s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

.contact .button-round-lessmargin:hover {
    background-color: #fff;
    color: #333;
}

.contact .button-round {
	margin-top: 50px;
    cursor: pointer;
    width: 200px;
    padding: 15px 0px;
    background-color: transparent;
    border: 3px solid #fff;
    border-radius: 100px;
    font-family: "Open Sans", sans-serif;
    font-size: 0.75em;
    color: #fff;
    opacity: 0;
    -webkit-transition: all 0.45s ease-in-out;
    -moz-transition: all 0.45s ease-in-out;
    -ms-transition: all 0.45s ease-in-out;
    -o-transition: all 0.45s ease-in-out;
    transition: all 0.45s ease-in-out;
    animation-name: opacity;
    animation-delay: 2.5s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

.contact .button-round:hover {
    background-color: #fff;
    color: #333;
}

.contact a {
	text-decoration: none;
}

.social-holder {
	width: 140px;
	height: auto;
	display: block;
	float: right;
}

.social-holder .twitter {
	width: 40px;
	height: 40px;
	margin-right: 5px;
	margin-left: 0px;
	opacity: 0.7;
	display: inline-block;
    background-image: url(../img/twitter.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
	-webkit-transition: all 0.25s ease;
	-moz-transition: all 0.25s ease;
	-ms-transition: all 0.25s ease;
	-o-transition: all 0.25s ease;
	transition: all 0.25s ease;
}

.social-holder .facebook {
    width: 40px;
	height: 40px;
	margin-right: 5px;
	margin-left: 0px;
	opacity: 0.7;
	display: inline-block;
    background-image: url(../img/facebook.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
	-webkit-transition: all 0.25s ease;
	-moz-transition: all 0.25s ease;
	-ms-transition: all 0.25s ease;
	-o-transition: all 0.25s ease;
	transition: all 0.25s ease;
}

.social-holder .google {
    width: 40px;
	height: 40px;
	margin-right: 0px;
	margin-left: 0px;
	opacity: 0.7;
	display: inline-block;
    background-image: url(../img/google.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
	-webkit-transition: all 0.25s ease;
	-moz-transition: all 0.25s ease;
	-ms-transition: all 0.25s ease;
	-o-transition: all 0.25s ease;
	transition: all 0.25s ease;
}

.social-holder .twitter:hover, .social-holder .facebook:hover, .social-holder .google:hover {
	opacity: 1;
}

.social-holder-wrap {
    position: absolute;
    bottom: 0px;
    top: auto;
    left: auto;
    right: 95px;
    width: auto;
    height: auto;
}

footer {
    position: absolute;
    width: 100%;
    height: 50px;
    bottom: 15px;
}

footer .navigation-link {
    color: #fff;
    display: inline-block;
    margin-top: 20px;
    margin-left: 30px;
    text-transform: uppercase;
    opacity: 0.55;
    font-family: "Open Sans", sans-serif;
    font-size: 0.7em;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

footer .navigation-link:nth-child(1) {
    margin-left: 100px;
}

footer .navigation-link:hover {
    opacity: 1;
}

/* RESPONSIVE MEDIA QUERIES */

@media only screen and (max-device-width : 1440px) {
    body {
        font-size: 20px;
    }
    
    .prime, .contact {
        height: 115vh;
    }
    
    .advertisement, .mission {
        height: 65vh;
    }
    
    .info {
        margin-top: 15vh;
    }
    
    #afterh1, .afterh5 {
        width: 65%;
        font-size: 0.85em;
    }
    
    .advertisement .information .ad-text, .mission .information .ad-text {
        font-size: 0.9em;
    }
    
    .map {
		height: 600px;
	}
    
    .social-holder {
        width: 145px;
    }
}

@media only screen and (max-device-width : 1366px) {
	body {
    	font-size: 18px;
		overflow-x: hidden;
	}
	
    .card .card-text {
        font-size: 1.4em;
        line-height: 24px;
    }
    
	.map {
		height: 560px;
	}
    
    #afterh1, .afterh5 {
        width: 60%;
        font-size: 0.85em;
    }
    
    .advertisement .information .ad-text, .mission .information .ad-text {
        font-size: 1em;
        line-height: 26px;
        margin-top: 10px;
    }
    
    .advertisement .information .information-divider, .mission .information .information-divider {
        margin-top: 0px;
    }
}

@media screen and (max-device-width : 1280px) {
    body {
    	font-size: 16px;
		overflow-x: hidden;
	}
    
    .student-login {
        float: right;
        width: auto;
        height: 50px;
        right: 40px;
        margin-top: 25px;
        position: relative;
    }
    
    nav {
        margin-right: 40px;
    }
    
    .logo {
        margin-left: 40px;
    }
    
    #afterh1 {
        width: 70%;
    }
    
    .student-login p {
	    font-size: 0.8em;
	    margin-top: 11px;
	}
    
    .advertisement .information .information-divider, .mission .information .information-divider {
        margin-top: 0px;
    }
    
    .card-holder .card {
		height: 300px;
	}
    
    .advertisement .information .ad-text, .mission .information .ad-text {
        width: 420px;
        font-size: 1em;
    }
    
    .card-holder .card {
		height: 300px;
	}
}

@media only screen and (max-device-width : 1280px) and (max-device-height : 600px) {
    body {
    	font-size: 16px;
		overflow-x: hidden;
	}
    
    .student-login {
        float: right;
        width: auto;
        height: 50px;
        right: 40px;
        margin-top: 25px;
        position: relative;
    }
    
    nav {
        margin-right: 40px;
    }
    
    .logo {
        margin-left: 40px;
    }
    
    .info {
        margin-top: 25vh;
    }
    
    #afterh1 {
        width: 70%;
    }
    
    .student-login p {
	    font-size: 0.8em;
	    margin-top: 11px;
	}
    
    .advertisement, .mission {
        height: 65vh;
    }
    
    .advertisement .information .information-divider, .mission .information .information-divider {
        margin-top: 0px;
    }
    
    .card-holder .card {
		height: 300px;
	}
    
    .advertisement .information .ad-text, .mission .information .ad-text {
        width: 420px;
        font-size: 1em;
    }
    
    .card-holder .card {
		height: 300px;
	}
    
    .prime, .contact {
        height: 115vh;
    }
}

@media only screen and (max-device-width : 1024px) {
    body {
    	font-size: 16px;
		overflow-x: hidden;
	}
    
    .student-login {
        float: right;
        width: auto;
        height: 50px;
        right: 40px;
        margin-top: 25px;
        position: relative;
    }
    
    nav {
        margin-right: 40px;
    }
    
    .logo {
        margin-left: 40px;
    }
    
    .info {
        margin-top: 23vh;
    }
    
    h1, h5 {
        font-size: 2.7em;
    }
    
    #afterh1 {
        width: 70%;
    }
    
    .student-login p {
	    font-size: 0.8em;
	    margin-top: 11px;
	}
    
    .advertisement .information .ad-text, .mission .information .ad-text {
        width: 360px;
    }
    
    .card-holder .card {
		height: 300px;
	}
    
    .map {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
        margin-bottom: 20px;
        clear: both;
    }
    
    .locations {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
        margin-top: 55px;
        margin-bottom: 100px;
        clear: both;
    }
}

@media only screen and (max-device-width : 992px) {
    body {
    	font-size: 18px;
		overflow-x: hidden;
	}
    
    .student-login {
        margin-top: 40px;
    }
    
    .info {
        margin-top: 24vh;
    }
    
    h1, h5 {
        font-size: 2.5em;
    }
    
    .advertisement .information .ad-text, .mission .information .ad-text {
        width: 360px;
        font-size: 0.92em;
    }
    
    .mission .information h3 {
        font-size: 2em;
    }
    
    .advertisement .information h2 {
        font-size: 1.75em;
    }
    
    .locations {
        margin-right: 15px;
    }
}

@media only screen and (max-device-width : 800px) 
and (max-device-height : 600px) {
    body {
    	font-size: 16px;
		overflow-x: hidden;
	}
    
    .prime, .contact {
        height: 100vh;
    }
    
    .logo {
        width: 80px;
        height: 80px;
    }
    
    nav {
        margin-top: 29px;
    }
    
    nav .link {
        font-size: 0.9em;
        margin-left: 30px;
    }
    
    .info {
	    margin-top: 18vh;
	}
    
    .student-login {
        margin-top: 10px;
    }
    
    .student-login p {
        margin-top: 6px;
    }
    
    .student-login .student-pic {
        width: 32px;
        height: 32px;
    }
    
    h1, h5 {
        font-size: 2.3em;
    }
    
    #afterh1 {
        width: 75%;
        font-size: 0.75em;
        line-height: 20px;
    }
    
    .call-to-action-prime {
        margin-top: 40px;
    }
    
    .link {
        font-size: 0.75em;
    }
    
    .contact .afterh5 {
        font-size: 1em;
        width: 70%;
    }
    
    .card-holder {
        width: 600px;
    }
    
    .card-holder .card {
        width: 200px;
    }
    
    .card .card-1,.card .card-2,.card .card-3 {
        height: 160px;
    }
    
    .card .card-text {
        font-size: 1.1em;
    }
    
    .advertisement .information h2, .mission .information h3 {
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: 1.65em;
    }
    
    .advertisement .information .ad-text, .mission .information .ad-text {
        width: 290px;
        font-size: 0.9em;
        line-height: 18px;
        margin-top: 10px;
    }
    
    .afterh5 {
        font-size: 0.75em;
    }
    
    .locations {
        margin-top: -15px;
    }
    
    #location-pin {
        width: 55px;
        height: 55px;
        display: block;
        float: none;
        clear: both;
        margin: 30px auto;
    }
    
    .contact .logo {
        width: 100px;
        height: 100px;
    }
    
    .footer-buttons {
        margin: 35px auto;
        width: 315px;
        height: auto;
    }
    
    .footer-buttons .button-round {
        display: inline-block;
        width: 150px;
        float: left;
        clear: none;
        margin: 0px;
        padding: 10px 0px;
    }
    
    .footer-buttons .button-round-lessmargin {
        display: inline-block;
        width: 150px;
        float: left;
        clear: none;
        margin-top: 0px;
        margin-left: 15px;
        padding: 10px 0px;
    }
    
    footer .navigation-link:nth-child(1) {
        margin-left: 40px;
    }
    
    .social-holder-wrap {
        right: 35px;
    }
}

@media only screen and (max-device-width : 768px) {
    body {
    	font-size: 16px;
		overflow-x: hidden;
	}
    
    .prime, .contact {
        height: 65vh;
    }
    
    .logo {
        width: 80px;
        height: 80px;
        margin-left: 30px;
    }
    
    nav {
        margin-top: 29px;
        margin-right: 30px;
    }
    
    .info {
	    margin-top: 10vh;
	}
    
    .student-login {
        margin-top: 10px;
        right: 30px;
    }
    
    .student-login p {
        margin-top: 6px;
    }
    
    .student-login .student-pic {
        width: 32px;
        height: 32px;
    }
    
    h1, h5 {
        font-size: 2.3em;
    }
    
    #afterh1 {
        width: 75%;
        font-size: 0.92em;
        line-height: 20px;
    }
    
    .call-to-action-prime {
        margin-top: 40px;
    }
    
    .link {
        font-size: 0.75em;
    }
    
    .contact .afterh5 {
        font-size: 0.92em;
        width: 70%;
    }
    
    .card-holder {
        width: 600px;
    }
    
    .card-holder .card {
        width: 190px;
    }
    
    .card .card-1,.card .card-2,.card .card-3 {
        height: 145px;
    }
    
    .card .card-text {
        font-size: 1.1em;
    }
    
    .advertisement .information h2,.mission .information h3 {
        font-size: 1.35em;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    
    .advertisement .information h2, .advertisement .information .information-divider, .advertisement .information .ad-text {
        margin-right: 15px;
    }
    
    .mission .information h3, .mission .information .information-divider, .mission .information .ad-text {
        margin-left: 15px;
    }
    
    .contact .logo {
        width: 85px;
        height: 85px;
    }
    
    .advertisement, .mission {
        height: 45vh;
    }
    
    .advertisement .information .ad-text, .mission .information .ad-text {
        width: 310px;
        font-size: 0.92em;
    }
}

@media only screen and (max-device-width : 640px) {
    body {
        font-size: 14px;
        line-height: 17px;
    }
    
    .prime, .contact {
        height: 100vh;
    }
    
    nav, footer .navigation-link {
        display: none;
    }
    
    .nav-trigger {
        display: block;
    }
    
    .student-login {
        margin-top: -4px;
    }
    
    .logo {
        width: 65px;
        height: 65px;
    }
    
    h1, h5 {
        font-size: 2em;
    }
    
    h2, h3 {
        font-size: 1.2em;
        line-height: 20px;
    }
    
    #afterh1, .afterh5 {
        font-size: 0.9em;
        line-height: 17px;
    }
    
    .advertisement .information .ad-text, .mission .information .ad-text {
        font-size: 0.9em;
        line-height: 17px;
        width: 260px;
    }
    
    .advertisement, .mission {
        height: 70vh;
    }
    
    .advertisement .information .button-round {
        right: 15px;
        bottom: 15px;
        width: 150px;
        padding: 10px 0px;
    }
    
    .mission .information .button-round {
        left: 15px;
        bottom: 15px;
        width: 150px;
        padding: 10px 0px;
    }
    
    .map {
        height: 450px;
    }
    
    .contact .logo {
        width: 90px;
        height: 90px;
        margin: 20px auto;
    }
    
    h5 {
        margin-top: 0px;
    }
    
    .afterh5 {
        margin-bottom: 0px;
    }
}

@media only screen and (max-device-width : 640px) 
    and (max-device-height : 360px) {
        .prime {
            height: 145vh;
        }
        
        .logo {
            width: 80px;
            height: 80px;
        }
        
        .student-login {
            margin-top: 5px;
        }
        
        .contact {
            height: 130vh;
        }
        
        .advertisement, .mission {
            height: 80vh;
        }
}

@media only screen and (max-device-width : 480px) 
    and (max-device-height : 640px) {
    .logo {
        width: 80px;
        height: 80px;
    }
    
    .student-login {
        margin-top: 7px;
    }
        
    .advertisement .information, .mission .information {
        width: 100%;
    }
    
    .advertisement .information h2, .mission .information h3{
        width: 100%;
        text-align: center;
        font-size: 2em;
        display: block;
        float: none;
        margin: 25px auto;
        line-height: 1.2em;
    }
    
    .advertisement .information .information-divider, 
    .mission .information .information-divider {
        display: block;
        float: none;
        margin: auto;
    }
    
    .advertisement .information .ad-text, 
    .mission .information .ad-text {
        display: block;
        float: none;
        margin: 25px auto;
        width: 70%;
        text-align: center;
        font-size: 1em;
    }
    
    .advertisement .information .button-round, 
    .mission .information .button-round {
        left: 15%;
        right: 15%;
        bottom: 25px;
        width: 70%;
        padding: 15px 0px;
    }
        
    .button-round-courses {
        width: 70%;
    }
    
    .card-holder {
        display: block;
        width: 300px;
    }
    
    .card-holder .card {
        width: 300px;
        float: none;
        display: block;
        margin: 25px auto;
    }
    
    .card .card-text {
        font-size: 1.6em;
    }
        
    h4 {
        font-size: 1.8em;
    }
        
    .social-holder-wrap {
        right: 35px;
    }
}

@media only screen and (max-device-width : 400px) 
and (max-device-height : 640px) {
    body {
        font-size: 16px;
        line-height: 18px;
    }
    
    .nav-trigger {
        display: block;
    }
    
    header .logo {
        float: left;
        margin-right: 20px;
    }
    
    .triggered-element {
        z-index: 9999;
    }
    
    h1, h5 {
        font-size: 1.4em;
        line-height: 30px;
    }
    
    h5 {
        margin-top: 40px;
    }
    
    h4 {
        font-size: 1.33em;
    }
    
    #afterh1, .afterh5 {
        width: 90%;
        font-size: 0.7em;
    }
    
    .call-to-action-prime {
        width: 320px;
    }
    
    .call-to-action-prime a {
        text-decoration: none;
    }
    
    .call-to-action-prime .button-round {
        width: 70%;
        float: none;
        display: block;
        margin: 20px auto;
    }
}

@media only screen and (max-device-width : 360px) {
    h4 {
        font-size: 1.1em;
    }
}

@media only screen and (max-device-width : 320px)
and (max-device-height : 240px){
    .prime, .contact {
        height: 260vh;
    }
    
    .advertisement, .mission {
        height: 160vh;
    }
    
    .card-holder {
        width: 240px;
    }
    
    .card-holder .card {
        width: 240px;
        height: 250px;
    }
    
    .advertisement .information .ad-text, .mission .information .ad-text {
        font-size: 0.8em;
        line-height: 17px;
        width: 260px;
    }
    
    h4 {
        font-size: 1em;
    }
}

@media only screen and (max-device-width : 240px)
and (max-device-height : 320px){
    body {
        font-size: 14px;
        line-height: 17px;
    }
    
    .prime {
        height: 220vh;
    }
    
    .contact {
        height: 195vh;
    }
    
    header .logo {
        margin-left: 10px;
    }
    
    h1 {
        font-size: 2em;
        margin-bottom: 20px;
    }
    
    #afterh1 {
        font-size: 0.75em;
    }
    
    .call-to-action-prime {
        width: 240px;
    }
    
    .call-to-action-prime .button-round {
        width: 85%;
        float: none;
        display: block;
        margin: 20px auto;
    }
    
    .advertisement, .mission {
        height: 125vh;
    }
    
    .card-holder {
        width: 200px;
    }
    
    .courses p {
        font-size: 1.8em;
    }
    
    .card-holder .card {
        width: 200px;
        height: 250px;
    }
    
    .advertisement .information .ad-text, .mission .information .ad-text {
        font-size: 0.8em;
        line-height: 17px;
        width: 220px;
    }
    
    h4 {
        font-size: 1.55em;
        text-align: center;
        margin-left: 0px;
    }
    
    .afterh4, .small-afterh4 {
        margin-left: 10px;
    }
    
    .contact .afterh5 {
        width: 90%;
    }
    
    .footer-buttons {
        width: 240px;
    }
    
    .social-holder-wrap {
        right: 7px;
    }
    
    .contact .button-round, .contact .button-round-lessmargin {
        width: 85%;
        float: none;
        display: block;
        margin: 20px auto;
    }
    
}