.container {
    overflow: visible;
}


/*
.sn-outer-wrapper {
    height: 100vh;
    width: 100%;
}*/


/* =======================================================================================================================================
																													   TEMPLATE - SPECIFIC
========================================================================================================================================== */


/* 																						      	    0_LEVEL
=========================================================================================================== */

body.zero_levels {
    overflow: hidden;
}

body.zero_levels .media_bg {
    width: 100%;
    height: 100%;
    z-index: 0;
    position: absolute;
}

body.zero_levels .bg_overlay_1 {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(7, 80, 103, 0.33);
    z-index: 1;
}

body.zero_levels .bg_overlay_2 {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("https://www.transparenttextures.com/patterns/axiom-pattern.png");
    opacity: 0.5;
    z-index: 2;
}

body.zero_levels #intro {
    width: 1000px !important;
    max-width: calc(100% - 60px) !important;
    position: absolute !important;
    z-index: 3 !important;
    top: 50% !important;
    left: 50% !important;
    -webkit-transform: translate(-50%, -50%) !important;
    -moz-transform: translate(-50%, -50%) !important;
    -ms-transform: translate(-50%, -50%) !important;
    -o-transform: translate(-50%, -50%) !important;
    transform: translate(-50%, -50%) !important;
    overflow: auto;
    max-height: calc(100vh - 230px) !important;
}

body.zero_levels .intro_text {
    font-family: 'Raleway', sans-serif;
    font-size: 17px;
    line-height: 25px;
    color: white;
}

body.zero_levels .intro_text li {
    list-style: none;
}

body.zero_levels .intro_text span:first-child {}

body.zero_levels .media_bg.image_bg {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}


/* =======================================================================================================================================
																															 	   GENERAL
========================================================================================================================================== */

.container:after {
    content: "";
    background: purple;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    z-index: -1;
}


/* 													 				BACKGROUNDS
=========================================================================================================== */

.sn-content-wrapper,
.container:after {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#134155+0,09222b+100 */
    /*background: #134155; /* Old browsers 
	background: -moz-linear-gradient(left, #134155 0%, #09222b 100%); 
	background: -webkit-linear-gradient(left, #134155 0%,#09222b 100%); 
	background: linear-gradient(to right, #134155 0%,#09222b 100%); 
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#134155', endColorstr='#09222b',GradientType=1 ); 
	
	*/
    background: #09222b;
}

.sn-content-wrapper:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    opacity: 0.5;
    background-image: url("https://www.transparenttextures.com/patterns/axiom-pattern.png");
}

.stack {
    height: auto !important;
}


/* 													 					FIXES FOR DAMNED SPACE AT BOTTOM
=========================================================================================================== */

.view-full .item {
    padding: 0px !important;
}

.view-full .move-items .stack.stack-prev,
.view-full .move-items .stack.stack-next {
    display: none !important;
}

.view-full .stack:not(.is-selected) {
    display: none;
}


/* =======================================================================================================================================
																											       HERO SECTION AND TITLES
========================================================================================================================================== */


/* 																						     		SLIDER
=========================================================================================================== */

.stack-slider {
    box-shadow: inset 0px -300px 100px -150px rgba(45, 45, 45, 0.79);
    -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;
}

.view-full .stack-slider {
    box-shadow: none;
}


/*																  		 TITLES
------------------------------------------------------------------------------- */

.stack-title a span {
    color: #fff;
    background: #011c23;
    padding: 5px 20px;
}

.is-selected .stack-title a span {
    color: #0b8db7;
}

.stack-title a span {
    font-family: cfhelvetica !important;
}


/*																 	WHEN OPENED
------------------------------------------------------------------------------- */

.view-full .hero>div:not(.intro_text):not(.intro_title) {
    background: #011c23 !important;
}

.view-full .stack.is-selected .stack-title::before {
    margin: -15px 0 0 -23px;
}


/* center the damn title */

.view-full .stack-title {
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 200%;
}

.view-full .stack-title a {
    font-family: cfhelvetica !important;
    font-size: 80px !important;
    margin-top: -55px;
    margin-left: -10px;
    -webkit-transition: all 0.4s ease-in-out 0.2s;
    -moz-transition: all 0.4s ease-in-out 0.2s;
    -ms-transition: all 0.4s ease-in-out 0.2s;
    -o-transition: all 0.4s ease-in-out 0.2s;
    transition: all 0.4s ease-in-out 0.2s;
    white-space: nowrap;
    /* fix */
}


/* 																									INTRO
=========================================================================================================== */

#intro {
    position: absolute;
    z-index: 1;
    top: 200px;
    left: 50%;
    width: 700px;
    max-width: calc(100% - 40px);
    padding: 15px 25px 25px 25px;
    background: rgba(1, 28, 35, 0.79) !important;
    border: 1px solid #0a6786;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.75);
    -webkit-transition: all 0.4s ease-in-out 0.2s;
    -moz-transition: all 0.4s ease-in-out 0.2s;
    -ms-transition: all 0.4s ease-in-out 0.2s;
    -o-transition: all 0.4s ease-in-out 0.2s;
    transition: all 0.4s ease-in-out 0.2s;
    -webkit-transform: translate(-50%, 0px);
    -moz-transform: translate(-50%, 0px);
    -ms-transform: translate(-50%, 0px);
    -o-transform: translate(-50%, 0px);
    transform: translate(-50%, 0px);
    opacity: 1;
    text-shadow: 0 0 3px black;
}

.intro_title {
    display: block;
    width: 100%;
    border-bottom: 1px solid rgb(12, 110, 142);
    padding-bottom: 11px;
    margin-bottom: 17px;
    font-family: cfhelvetica;
    font-size: 47px;
    color: #0b8db7;
    text-shadow: 0 0 3px black, 0 0 250px white;
}

.intro_text {
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    line-height: 23px;
}

.view-full #intro {
    -webkit-transform: translate(-50%, -20%);
    -moz-transform: translate(-50%, -20%);
    -ms-transform: translate(-50%, -20%);
    -o-transform: translate(-50%, -20%);
    transform: translate(-50%, -20%);
    opacity: 0;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}


/* 																		     click for modals not possible
=========================================================================================================== */

.flickity-enabled.is-draggable .item:after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 991;
    -webkit-transform: translateY(-20px);
    -moz-transform: translateY(-20px);
    -ms-transform: translateY(-20px);
    -o-transform: translateY(-20px);
    transform: translateY(-20px);
}


/* =======================================================================================================================================
																															  NIFTY MODALS
========================================================================================================================================== */


/* 																						      		  FIXES
=========================================================================================================== */

.overlay_is_on .md-overlay {
    visibility: visible !important;
    opacity: 1 !important;
}


/* =======================================================================================================================================
																																	  ITEM
========================================================================================================================================== */

.item:first-of-type {
    opacity: 1;
}

.move-items .is-selected .item {
    opacity: 1;
}

.item__title {
    visibility: hidden;
    opacity: 1;
}


/* =======================================================================================================================================
																															IMAGE EFFECT
========================================================================================================================================== */


/* IMAGES
---------------------------------------------------------------------------------------- */

.view-full .item>.item__content img {
    position: relative;
    border: none !important;
    overflow: hidden;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.item>.item__content img {
    box-shadow: none;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}


/*																  WHEN OPENED
------------------------------------------------------------------------------- */

.view-full .item>.item__content img {
    box-shadow: 20px 20px 0px rgba(146, 0, 0, 0.83), -20px -20px 0px rgb(222, 33, 33);
    -webkit-transition: all 0.4s ease-in-out 0.5s;
    -moz-transition: all 0.4s ease-in-out 0.5s;
    -ms-transition: all 0.4s ease-in-out 0.5s;
    -o-transition: all 0.4s ease-in-out 0.5s;
    transition: all 0.4s ease-in-out 0.5s;
}


/* =======================================================================================================================================
																															 	TEXTS CASE
========================================================================================================================================== */

.text_content {
    font-weight: normal !important;
    margin-top: 40px;
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    line-height: 23px;
}


/* =======================================================================================================================================
																															LINK EFFECT
========================================================================================================================================== */

.md-trigger {
    cursor: pointer;
}

.link_effect {
    width: auto;
    white-space: nowrap;
}

.link_effect a span {
    width: 100%;
    text-align: center;
}

.link_effect a span {
    background: #920000 !important;
    font-family: 'Anton', sans-serif !important;
    font-size: 28px;
    font-weight: normal;
    display: block;
}

.link_effect a span::before {
    background: #de2121 !important;
}

.view-full .item>.item__content:hover span::before,
.view-full .item>.item__content:focus span::before {
    background: #de2121 !important;
    color: white;
}

.view-full .item>.item__content:hover span,
.view-full .item>.item__content:focus span {
    -webkit-transform: rotateX(90deg) translateY(-22px);
    -moz-transform: rotateX(90deg) translateY(-22px);
    transform: rotateX(90deg) translateY(-22px);
}


/* =======================================================================================================================================
																																	 MODAL
========================================================================================================================================== */

.md-modal {
    width: 850px;
    max-width: 100%;
    min-width: 320px;
}

.md-content {
    color: #fff;
    background: #920000;
    box-shadow: 0 20px 70px -10px black;
    position: relative;
    border-radius: 3px;
    margin: 0 auto;
    border: 2px solid black;
}

.md-overlay {
    background: rgba(1, 28, 35, 0.85);
}


/* =======================================================================================================================================
																															  		FOOTER
========================================================================================================================================== */

#footer {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    z-index: 2;
}


/* =======================================================================================================================================
																												     RESPONSIVE ADAPTATION
========================================================================================================================================== */


/* 																						      	 ONE LEVELS
=========================================================================================================== */

@media(max-width: 820px) {
    .one_levels #intro {
        height: 250px;
        overflow-y: auto !important;
        top: 20px !important;
        padding: 15px 25px 25px 55px;
        border: none !important;
    }
}

@media(max-width: 750px) {
    .one_levels .intro_title {
        font-size: 20px;
    }
    .one_levels .intro_text {
        font-size: 14px;
        line-height: 21px;
    }
    .one_levels .stack-title a span {
        font-size: 17px;
    }
    .one_levels.view-full #intro {
        display: none !important;
    }
    .one_levels.view-full .item>.item__content img {
        display: none !important;
    }
    .one_levels .item:first-of-type .item__content::before,
    .one_levels .item:first-of-type .item__content::after {
        display: none !important;
    }
    .one_levels .text_content {
        height: 250px;
        overflow-Y: auto;
    }
    body.one_levels,
    .one_levels .container,
    .one_levels .item,
    .one_levels .item__content {
        overflow: hidden !important;
    }
    .one_levels .stack-title a {
        position: static;
        font-size: 40px !important;
        margin-top: 20px;
        width: 200px;
        white-space: pre-line !important;
    }
    .one_levels.view-full .stack.is-selected .stack-title::before {
        margin: -22px 0 0 -13px;
    }
    .one_levels.view-full .flickity-slider {
        -webkit-transform: none !important;
        -moz-transform: none !important;
        -ms-transform: none !important;
        -o-transform: none !important;
        transform: none !important;
    }
    .one_levels.view-full .stack.is-selected {
        left: 50% !important;
        -webkit-transform: translateX(-50%) !important;
        -moz-transform: translateX(-50%) !important;
        -ms-transform: translateX(-50%) !important;
        -o-transform: translateX(-50%) !important;
        transform: translateX(-50%) !important;
    }
}


/* 																						      	ZERO LEVELS
=========================================================================================================== */

@media(max-width:1170px) {
    #intro {
        margin-top: 40px;
    }
}

@media(max-width:880px) {
    .zero_levels .intro_title {
        font-size: 20px;
    }
    .zero_levels .intro_text {
        font-size: 14px !important;
        line-height: 21px !important;
    }
}

@media (max-width: 440px) {
    .zero_levels .intro_text {
        font-size: 12px !important;
        line-height: 20px !important;
    }
}

.intro_text xmp {
    white-space: pre-line;
    font-size: 14px;
    line-height: normal;
}