@font-face {
    font-family: 'Arial Rounded';
    src: url('../fonts/arial_rounded_mt_bold-webfont.eot');
    src: url('../fonts/arial_rounded_mt_bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/arial_rounded_mt_bold-webfont.woff2') format('woff2'),
         url('../fonts/arial_rounded_mt_bold-webfont.woff') format('woff'),
         url('../fonts/arial_rounded_mt_bold-webfont.ttf') format('truetype'),
         url('../fonts/arial_rounded_mt_bold-webfont.svg#arial-rounded') format('svg');
    font-weight: normal;
    font-style: normal;
}

/**
 * Base Rules ! https://smacss.com/book/type-base
 */

*,
*:before,
*:after {
	box-sizing: border-box;
}

*:first-child {
	margin-top: 0;
}

*:last-child {
	margin-bottom: 0;
}

body,
html {
    height: 100%;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}


/**
 * Layout Rules ! https://smacss.com/book/type-layout
 */

.main-nav {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	    -ms-flex-direction: column;
	        flex-direction: column;
	height: 100vh;
}

.main-nav div {
	-webkit-box-flex: 1;
	-webkit-flex-grow: 1;
	    -ms-flex-positive: 1;
	        flex-grow: 1;
}

.antioquia-logo {
    display: none;
}

.navigation-item {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	-webkit-align-items: center;
	    -ms-flex-align: center;
	        align-items: center;
}

.navigation-item span {
	position: relative;
	z-index: 10;
}

.secondary {
	height: 100vh;
	padding: 5rem 3.125rem 7rem;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	    -ms-flex-direction: column;
	        flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
}

.secondary:nth-child(n+2) {
	/* display: none; */
}

.secondary .grid {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	-webkit-box-align: stretch;
	-webkit-align-items: stretch;
	    -ms-flex-align: stretch;
	        align-items: stretch;
	-webkit-box-flex: 1;
	-webkit-flex-grow: 1;
	    -ms-flex-positive: 1;
	        flex-grow: 1;
}

.secondary .grid .container {
    overflow: hidden;
	width: 33.33%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: stretch;
    -webkit-align-items: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
}

.secondary .grid .container .card {
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
}

.tertiary {
	height: 100vh;
	padding: 5rem 3.125rem 7rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    background-color: rgba(15,16,19,0.75);
}

.tertiary .container {
    display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
    height: 100%;
}

.tertiary .container .cover {
    width: 33.33%;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.tertiary .container .article-content {
    padding: 50px;
    overflow-y: auto;
    width: 66.66%;
}

.tertiary .container article {
    overflow-y: auto;
}

footer {
	padding: 0.75rem 1.875rem;
	width: 100%;
}

@media screen and (min-width: 64rem) {
	.main-nav {
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		-webkit-flex-direction: row;
		    -ms-flex-direction: row;
		        flex-direction: row;
	}

	.navigation-item {
		width: 20%;
	}

	.brand {
		-webkit-box-ordinal-group: 3;
		-webkit-order: 2;
		    -ms-flex-order: 2;
		        order: 2;
        z-index: 10;
	}

    .antioquia-logo {
        display: block;
        position: absolute;
        top: 56%;
        right: 5%;
    }

	.navigation-item:nth-child(2),
	.navigation-item:nth-child(3) {
		-webkit-box-ordinal-group: 2;
		-webkit-order: 1;
		    -ms-flex-order: 1;
		        order: 1;
	}

	.navigation-item:nth-child(4),
	.navigation-item:nth-child(5) {
		-webkit-box-ordinal-group: 4;
		-webkit-order: 3;
		    -ms-flex-order: 3;
		        order: 3;
	}

	footer {
		position: fixed;
		bottom: 0;
        z-index: 20;
	}

    footer p,
    footer img {
        display: inline-block;
        vertical-align: middle;
        margin: 0 1rem;
    }
}

/**
 * Module Rules ! https://smacss.com/book/type-module
 */

.focuspoint {
	position: relative;
	overflow: hidden;
}

.focuspoint img {
	position: absolute;
	left: 0;
	top: 0;
	margin: 0;
	display: block;
	width: auto;
	height: auto;
	min-width: 100%;
	min-height: 100%;
	max-height: none;
	max-width: none;
	z-index: -1;
}

/**
 * State Rules ! https://smacss.com/book/type-state
 */


/**
 * Theme Rules ! https://smacss.com/book/type-theme
 */

::-moz-selection {
	background-color: #409e4a;
	color: white;
	text-shadow: none;
}

::selection {
	background-color: #409e4a;
	color: white;
	text-shadow: none;
}

body {
	font-family: Arial, sans-serif;
	line-height: 1.4;
    background-color: #3b3b3b;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Arial Rounded', sans-serif;
	line-height: 1.2;
    font-weight: normal;
}

.brand:before {
    content: '';
    position: absolute;
    width: 120%;
    padding-bottom: 130%;
    background: #409e4a;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%);
    z-index: -1;
}

.navigation-item a {
	font-family: 'Arial Rounded', sans-serif;
	color: white;
	text-decoration: none;
	font-size: 1.5rem;
    line-height: 1.2;
}

.navigation-item:not(.brand) img {
    opacity: 1;
    -webkit-transition: opacity 0.35s;
            transition: opacity 0.35s;
}

.navigation-item:not(.brand):hover img {
    opacity: 0.25;
}

.navigation-item span {
	opacity: 0;
	-webkit-transition: opacity 0.35s;
	        transition: opacity 0.35s;
    display: block;
    text-align: center;
    padding: 0 1.875rem;
}

.navigation-item:hover span {
	opacity: 1;
}

.brand {
	background: #409e4a;
}

.brand a {
	color: white;
	text-decoration: none;
}

.secondary {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.secondary-title {
	color: white;
    text-shadow: 0 0 50px rgba(0,0,0,0.85);
}

.secondary .grid .container .card {
    background-color: rgba(40,145,40,0.85);
    padding: 1.125rem;
    margin: 0.125rem;
    overflow: hidden;
}

.card {
    font-family: 'Arial Rounded', sans-serif;
	color: white;
    position: relative;
}

.card h3 {
    color: white;
    font-size: 1rem;
    margin-bottom: 0;
}

.card h3:after {
    display: block;
    content: '';
    background-color: white;
    width: 30%;
    margin-top: 0.25rem;;
    height: 0.125rem;
    border-radius: 4px;
}

.card ul {
    margin-top: 0.5rem;
    padding: 0;
    list-style: none;
    font-size: 15px;
}

.card.featured,
.card.video,
.card.actors,
.card.promotors {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
        -ms-flex-pack: end;
            justify-content: flex-end;
}

.card a {
    color: #084104;
    text-decoration: none;
}

.card a:hover {
    text-decoration: underline;
}

.card.video span {
    color: white;
    z-index: 20;
    padding: 1.125rem 3rem 1.125rem 1.125rem;
    background-image: url(../img/video-icon.png), -webkit-linear-gradient(top, rgba(15,16,19,0) 0%, rgba(15,16,19,0.5) 100%);
    background-image: url(../img/video-icon.png), linear-gradient(to bottom, rgba(15,16,19,0) 0%,rgba(15,16,19,0.5) 100%);
    background-repeat: no-repeat, no-repeat;
    background-position: 95% center, center;
    cursor: pointer;
}

.card.video iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.card.video .video-cover,
.card.actors .actor-cover,
.card.promotors .promotor-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.card.promotors .promotor {
    height: 100%;
}

.button-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #409e4a;
    border-radius: 2px;
    color: white;
    font-family: 'Arial Rounded', sans-serif;
    font-weight: normal;
    font-size: 1.125rem;
    text-decoration: none;
    padding: 5px 20px;
    z-index: 50;
}

.button-menu .hamburger {
    margin-right: 3px;
}

.button-close {
    display: inline-block;
    position: absolute;
    right: 35px;
    top: 30px;
    background-color: white;
    color: #409e4a;
    border: 3px solid #409e4a;
    border-radius: 3px;
    padding: 0 4px;
    text-decoration: none;
    font-size: 2rem;
    line-height: 0.75;
    z-index: 50;
    -webkit-transition: background-color 0.25s, color 0.25s;
            transition: background-color 0.25s, color 0.25s;
}

.button-close:hover {
    color: white;
    background-color: #409e4a;
}

.tertiary .container {
    background-color: white;
    position: relative;
}

.secondary .grid .container .card.featured,
.secondary .grid .container .card.video,
.secondary .grid .container .card.actors,
.secondary .grid .container .card.promotors {
    padding: 0;
}

.secondary .grid .container .card.actors {
    -webkit-box-flex: 0;
    -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
            flex-grow: 0;
}

.secondary .grid .container .card.featured h2 {
    font-size: 30px;
    margin: 0;
    padding: 1.125rem;
    line-height: 1;
}

.secondary .grid .container .card.featured ul {
    background: white;
    padding: 1.125rem;
    margin: 0;
}

.secondary .grid .container .card.featured a {
    color: #289128;
}

#trabajamos-con-vocacion .grid,
#llegamos-lejos .grid {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -webkit-flex-direction: row-reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
}

.card .actor .actor-info,
.card .actor audio {
    position: relative;
    color: white;
    z-index: 20;
    display: block;
}

.card .actor .actor-info {
    padding: 30% 1.125rem 1.5rem;
    text-shadow: 0 0 8px rgba(0,0,0,0.85);
}

.card .actor .actor-info p {
    margin-top: 0.5rem;
}

.card.actors .owl-dots {
    position: absolute;
    z-index: 30;
    right: 15px;
    top: 10px;
}

.card.actors .owl-dot {
    background: #B4D9B4;
    height: 10px;
    width: 10px;
    display: inline-block;
    border-radius: 50%;
    margin: 2px;
    -webkit-transition: background 0.35s;
            transition: background 0.35s;
}

.card.actors .owl-dot.active {
    background: #289128;
}

.featured-container .actor {
    height: 75vh;
}

.featured-container .card .actor .actor-info {
    padding: 100% 1.125rem 1.5rem;
    text-align: center;
}

.featured-container .card h3:after {
    margin: 0 auto;
}

.featured-container .card.promotors a {
    text-decoration: none;
}

.card.featured h2 {
    text-shadow: 0 0 10px rgba(0,0,0,0.85)
}

.card .actor audio {
    width: 100%;
    padding: 1.125rem;
}

.credits .cover {
    display: none;
}

footer .button {
    display: inline-block;
    padding: 3px 7px;
    background: rgb(40,145,40);
    border-radius: 2px;
    text-decoration: none;
    color: white;
    margin-top: 6px;
}

.tertiary.credits .article-content,
.tertiary.infographic .article-content {
    width: 100%;
    text-align: center;
}

article h1,
article h2,
article h3,
article h4,
article h5,
article h6 {
    color: #409e4a;
}

footer {
	background-color: #3b3b3b;
	color: white;
	text-align: center;
    font-size: 0.75rem;
    font-family: 'Arial Rounded', sans-serif;
}

/*
Generic Styling, for Desktops/Laptops
*/
table {
  width: 100%;
  border-collapse: collapse;
}
th {
  background: #333;
  color: white;
  font-weight: bold;
}
td, th {
  padding: 20px;
  border: 1px solid #ccc;
  text-align: left;
}

.card .story,
.card .infography {
    font-size: 21px;
    margin: 10px 0;
    line-height: 1;
}

/*
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

	/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr {
		display: block;
	}

	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr {
		display: none;
	}

	tr { border: 1px solid #ccc; }

	td {
		/* Behave  like a "row" */
        padding: 10px;
		border: none;
		border-bottom: 1px solid #eee;
		position: relative;
		padding-left: 35%;
	}

	td:before {
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 10px;
		left: 10px;
		width: 35%;
		padding-right: 10px;
		white-space: nowrap;
	}

	/*
	Label the data
	*/
	td:nth-of-type(1):before { content: "Integrante"; }
	td:nth-of-type(2):before { content: "Propósito"; }
}



@media screen and (max-width: 1023px) {
    .content {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        overflow: hidden;
        height: 0;
    }

    .brand:before {
        display: none;
    }

    .secondary {
        padding: 5rem 1.5rem 5rem;
        position: absolute;
        height: auto;
    }

    .secondary .grid {
    	-webkit-box-orient: vertical;
    	-webkit-box-direction: normal;
    	-webkit-flex-direction: column;
    	    -ms-flex-direction: column;
    	        flex-direction: column;
    }

    #trabajamos-con-vocacion .grid,
    #llegamos-lejos .grid {
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -webkit-flex-direction: column-reverse;
            -ms-flex-direction: column-reverse;
                flex-direction: column-reverse;
    }

    .secondary .grid .container {
        width: 100%;
    }

    .card.video {
        min-height: 300px;
    }

    .secondary .grid .container .card.featured h2 {
        font-size: 22px;
        padding-top: 15rem;
    }

    .tertiary {
    	padding: 5rem 1rem 1rem;
    }

    .tertiary .container {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    .tertiary .container .cover {
        width: 100%;
        min-height: 100px;
    }

    .tertiary .container .article-content {
        width: 100%;
        padding: 20px;
    }

    .button-close {
        right: 15px;
        top: 10px;
    }

    footer {
        padding: 2rem 1.875rem;
    }
}
