/*
=======================================================
Lightbox.js
Version: 0.0.6
Author: Victor Diego <victordieggo@gmail.com>
License: MIT
=======================================================
1. Base Styles
2. Buttons
3. Videos
4. Animations
=======================================================
*/

/*
-------------------------------------------------------
1. Base Styles
-------------------------------------------------------
*/

.remove-scroll {
  overflow: hidden;
}

.lightbox-hide {
  top: -9999px;
  left: -9999px;
  position: absolute;
  visibility: hidden;
}

.lightbox-container {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2em;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  position: fixed;
  align-items: center;
  justify-content: center;
  background-color: rgb(29, 29, 29);
  background-color: rgba(29, 29, 29, 0.8);
}

.lightbox-wrapper {
  position: relative;
}

.lightbox-image {
  max-height: 100vh;
  vertical-align: middle;
}

/*
-------------------------------------------------------
2. Buttons
-------------------------------------------------------
*/

.lightbox-btn {
  width: 2.2em;
  height: 2.2em;
  position: absolute;
  border-radius: 50%;
  transition: all 0.3s;
  background-color: #000;
  background-position: center;
  background-repeat: no-repeat;
}

.lightbox-btn:disabled {
  cursor: initial;
  background-color: #adadad;
}

.lightbox-btn-close {
  top: -0.8em;
  right: -0.8em;
  background-size: 40%;
  background-image: url('icons/icon-lightbox-close.svg');
}

.lightbox-btn-next,
.lightbox-btn-previous {
  top: calc(50% - (2.2em / 2));
  background-size: 25% 80%;
  background-image: url('icons/icon-lightbox-arrow.svg');
}

.lightbox-btn-previous {
  left: 1.5em;
  transform: rotate(180deg);
}

.lightbox-btn-next {
  right: 1.5em;
}

/*
-------------------------------------------------------
3. Videos
-------------------------------------------------------
*/

.lightbox-video-wrapper {
  width: 80vw;
  overflow: hidden;
  position: relative;
  padding-bottom: 56.25%;
}

.lightbox-video-player {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
}

/*
-------------------------------------------------------
4. Animations
-------------------------------------------------------
*/

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes createBox {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

@keyframes deleteBox {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(0);
  }
}

/* organisation */

*{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	position: relative;
}

.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.cf {
    *zoom: 1;
}

/* Generic styling */
.content{
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding:20px;
	min-height: 800px;
	background-color: #265833;
}
/*
a:focus{
	outline: 2px solid #f7f7f7;
}
*/
@media all and (max-width: 767px){
	.content{
		padding: 0 20px;
	}	
}
	
	.content ul li{
	list-style: none !important;		
}

.content ul{
	padding: 0;
	margin: 0;
	list-style: none;		
}

.content ul a{
	display: block;
	background: none;
	border: 1px solid #8bde96;
	text-align: center;
	overflow: hidden;
	font-size: .7em;
	text-decoration: none;
	font-weight: bold;
	color: #333;
	height: 70px;
	margin-bottom: -26px;

}


@media all and (max-width: 767px){
	ul a{
		font-size: 1em;
	}
}


ul a span{

	display: block;
}

/*
 
 */
h1 {
  text-align: center;
}
.administration > li > a{
	margin-bottom: 25px;
}

.director > li > a{
	width: 50%;
	margin: 0 auto 0px auto;
}

.subdirector:after{
	content: "";
	display: block;
	width: 0;
	height: 55px;
	background: red;
	border-left: 1px solid #8bde96;
	left: 50%;
	position: relative;
}

.subdirector,
.departments{
	position: absolute;
	width: 100%;
}

.subdirector > li:first-child,
.departments > li:first-child{	
	width: 18.59894921190893%;
	height: 15px;
	margin: 0px -2px 62px 3px;	
	padding-top: 5px;
	border-bottom: 0px solid #8bde96;
	z-index: 1;	
}

.subdirector > li:first-child{
	float: right;
	right: 31.2%;
}

.departments > li:first-child{	
	float: left;
	left: 31.2%;
}

.subdirector > li:first-child a,
.departments > li:first-child a{
	width: 100%;
}

.subdirector > li:first-child a{	
	left: 25px;
}

@media all and (max-width: 767px){
	.subdirector > li:first-child,
	.departments > li:first-child{
		width: 40%;	
	}

	.subdirector > li:first-child{
		right: 10%;
		margin-right: 2px;
	}

	.subdirector:after{
		left: 50%;
	}

	.departments > li:first-child{
		left: 10%;
		margin-left: 2px;
	}
}


.departments > li:first-child a{
	right: 25px;
}

.department:first-child,
.departments li:nth-child(2){
	margin-left: 0;
	clear: left;	
}

.departments:after{
	content: "";
	display: block;
	position: absolute;
	width: 76.5%;
	height: 22px;	
	border-top: 1px solid #8bde96;
	border-right: 1px solid #8bde96;
	border-left: 1px solid #8bde96;
	margin: 0 auto;
	top: 55px;
	left: 9.1%
}

@media all and (max-width: 767px){
	.departments:after{
		border-right: none;
		left: 0;
		width: 50%;
	}  
}

@media all and (min-width: 768px){
	.department:first-child:before,
   .department:last-child:before{
    border:none;
  }
}

.department:before{
	content: "";
	display: block;
	position: absolute;
	width: 0;
	height: 22px;
	border-left: 1px solid #8bde96;
	z-index: 1;
	top: -22px;
	left: 50%;
	
}

.department{
	border-left: 1px solid #8bde96;
	width: 18%;
	float: left;
	margin-left: 2%;
	margin-bottom: 60px;
}

.lt-ie8 .department{
	width: 18.25%;
}

@media all and (max-width: 767px){
	.department{
		float: none;
		width: 100%;
		margin-left: 0;
	}

	.department:before{
		content: "";
		display: block;
		position: absolute;
		width: 0;
		height: 60px;
		border-left: 1px solid #8bde96;
		z-index: 1;
		top: -60px;
		left: 0%;
		
	}

	.department:nth-child(2):before{
		display: none;
	}
}

.department > a{
	margin: 0 0 -16px -1px;
	z-index: 1;
}

.department > a:hover{	
	height: 80px;
}

.department > ul{
	margin-top: 0px;
	margin-bottom: 0px !important;
}
.department	p:last-of-type {
    margin-bottom: 0px !important;
}

.department li{	
	padding-left: 25px;
	border-bottom: 1px solid #8bde96;
	height: 80px;	
	list-style: none !important;
}

.department li a{
	background: none;
	top: 48px;	
	position: absolute;
	z-index: 1;
	width: 90%;
	height: 80px;
	vertical-align: middle;
	right: -1px;

    
}

.department li a:hover{
	
	height: 80px;
	width: 95%;
	top: 39px;
	background-image: none!important;
}

/* Department/ section colors */
ul.director li a {
  background: none; 
  color: #fff;
  text-transform: uppercase;
  border: 1px solid #8bde96;
}

.department.dep-a a,
.department.dep-b a,
.department.dep-c a,
.department.dep-d a,
.department.dep-e a,
ul.departments.cf li a,
ul.subdirector li a{
  background:none; 
  color: #fff;
  text-transform: uppercase;
  border: 1px solid #8bde96;
  align-content: center;
}

ul.sections li.section a {
  background: #265833;
  color: #fff;
  text-transform: uppercase;
  
}