::-webkit-scrollbar {
    width: 8px;
    height:8px;
}
::-webkit-scrollbar-track {
    background-color: #101820;
}
::-webkit-scrollbar-thumb {
    background-color: #9a8543;
}
::-webkit-scrollbar-thumb:hover {}

body{
    font: 14px/1.4 "Roboto", sans-serif;
    overflow-y: scroll;
    background: #101820;
    position: static;
}
.page{
    padding:0 102px;
}

.articleTop {
    height:380px;
}
.articleTop h1 {
    font: 10vh "Roboto";
    font-weight: 300;
    color: #fff;
    text-shadow: 1px 1px 0px rgba(16,24,32,0), 0 5px 30px rgba(0,6,20,0.5);
}

/*
TYPOGRAPHY
*/
p{
    line-height:1.5em;
}
img{
    vertical-align: middle;
    max-width:100%;
}
a{
    color: #9a8543;
    text-decoration: none;
}
.clickable{
    cursor:pointer;
}
b, strong{
    font-weight:700;
}
p a:hover{
    text-decoration: underline;
}
.bg-3 a{color:#fff;}

.invert{
    color:#fff;
}
h1, h2, h3{
    font-family: 'EB Garamond', serif;
    font-weight: 400;
}
h1{
    font-size:3em;
}
h2{
    font-size: 2.4em;
}
h3{
    font-size: 1.8em;
}
h4{
    font-size: 1.8em;
    font-weight: 300;
}

ul{
    list-style:none;
    padding:0;
}
.cms ul li{
    position:relative;
    padding-left:24px;
}
.cms ul li:before{
    position:absolute;
    left: 0px;
    content:"\2666";
    color:#9a8543;
}


/*
%FORM
*/
label{
    display:block;
    width:100%;
}
textarea{
    background:#101820;
    min-height:140px;
    resize: vertical;
    color:#fff;
    font: inherit;
}
button{
    cursor:pointer;
}
.inputs-wide{
    display:table;
    border-collapse: collapse;
    width:100%;
}
.inputs-wide label{
    width:100%;
    display:table-row;
    background: #101820;
    color:#fff;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.inputs-wide label > span{
    display: table-cell;
    vertical-align:top;
}
.inputs-wide label span i{
    color:#3db5e6;
}
.inputs-wide span:first-child{
    white-space: nowrap;
    padding:12px 8px;
    background:rgba(255,255,255,0.06);
    color: #fff;
}
.inputs-wide select{
    padding:10px 8px;
    border:0;
    width:100%;
    background: #101820;
    color: #fff;
    cursor:pointer;
}
.inputs-wide input[type=text]{
    padding:13px 8px 12px;
    border:0;
    width:100%;
    background: #101820;
    color: #fff;
    cursor:pointer;
}
.inputs-wide label:hover select{
    color: #3db5e6;
}

.moreOptions{
    position:relative;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    opacity:1;
    visibility: visible;
    transform: translateY(0);
    -webkit-transform: translateY(0);
}
.moreOptions.invisible{
    position:absolute;
    width:98%;
    width: calc(100% - 48px);
    visibility:hidden;
    opacity: 0;
    transform: translateY(-50px);
    -webkit-transform: translateY(-50px);
}

/*
%NS_
*/
.form_errors{
    display:none;
}
form.NS_avaliabilityForm label{
    display:inline-block;
    width:auto;
}
.button{
    padding: 9px 12px 9px;
}
.yachtThumbs{
    height:120px;
    overflow:hidden;
}
.yachtThumbs img{
    height:120px;
    width:120px;
}

/*
%TABLE
*/
table{
    width:100%;
    table-layout: fixed;
    border-collapse:collapse;
}
td{
    vertical-align:top;
    border:none;
}
.table th{
    font-weight:bold;
}
.table tr > th:first-child{
    text-align:left;
}
table.yachtDetails td{
    padding: 4px 0;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    /*border-bottom: 1px solid rgba(255,255,255,0.1);*/
}
table.yachtDetails td:first-child{
    text-transform: uppercase;
}
/*table.yachtDetails tr:hover td{
    color: #101820;
}*/


/*
%MENUS
*/
ul.horizontal{
    padding:0;
    margin:0;
}
ul.horizontal li{
    display:inline-block;
}
ul.horizontal li a{
    color:#fff;
    display:block;
    padding: 8px;
    cursor:pointer;
}
ul.horizontal li a.active{
    color: #9a8543;
    border-left:1px solid #9a8543;
}
a.active{

}

/*
%FITBOX
*/
[data-fitbox]{
    display:inline-block;
    margin-right:-4px;
}
[data-fitbox] img{
    width:100%;
}



#win-start{
    position: relative;
    height:500px;
    height: 84vh;
}
/*
%SEARCH
*/
#startSearch{
    background: red;
    height:0px;/*prevents overlapping with gallery slides - hover pause etc*/
}
#startSearch > *{
    height:500px;
    height: 84vh;
}

/*
%MAIN %GALLERY
*/
#mainGallery{
    position: absolute;
    z-index:2;
    top:0;
    width:100%;
    height: 100%;
    overflow:hidden;
    transform: translateZ(0);
    background: #3db5e6;
}
.slides{
    position:absolute;
    overflow:hidden;
    width:100%;
    height:100%;
}
#mainGallery .slide{
    position:absolute;
    left:0; right:0; top:0; bottom:0;
    height:100%;
    background: none no-repeat 50%;
    background-size: cover;    
    visibility:hidden;
    opacity:0;
    -webkit-transition: 0.6s;
    -moz-transition: 0.6s;
    -ms-transition: 0.6s;
    transition: 0.6s;
    -ms-transform: scale(0.95);
    -moz-transform: scale(0.95);
    -webkit-transform: scale(0.95);
    transform: scale(0.95);
    will-change: transform, opacity;
    -webkit-will-change: transform, opacity;
}
#mainGallery .slide.active{
    visibility: visible;
    opacity: 1;
    transform: scale(1);
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
}
#mainGallery .slide:after{
    position:absolute;
    top:0;
    left:0;
    z-index:-1;
    width:35vw;
    height: 100%;
    content: "";
    background:url(img/logo_trans.png) no-repeat 24px 5%;
    background-size: 40%;
}
#mainGallery .slideText{
    width:47%;
    height:auto;
    position:absolute;
    z-index:3;
    right:102px;
    top: 50%;
    transform: translate(100%, -50%);
    -webkit-transform: translate(100%, -50%);
    text-align:right;
    -webkit-transition: all 500ms cubic-bezier(0.230, 0.935, 0.470, 0.990); 
    -moz-transition: all 500ms cubic-bezier(0.230, 0.935, 0.470, 0.990); 
    -o-transition: all 500ms cubic-bezier(0.230, 0.935, 0.470, 0.990); 
    transition: all 500ms cubic-bezier(0.230, 0.935, 0.470, 0.990); /* custom */
    will-change: transform, opacity;
    -webkit-will-change: transform, opacity;
}
#mainGallery .slide.active .slideText{
    transform: translate(0%, -50%);
    -webkit-transform: translate(0%, -50%);
    -webkit-transition: 0.6s;
    -moz-transition: 0.6s;
    -ms-transition: 0.6s;
    transition: 0.6s;
}
#mainGallery .slideText h2{
    margin: 0;
    font: 12vh "Roboto";
    font-weight: 300;
    color: #fff;
    text-shadow: 1px 1px 0px rgba(16,24,32,0), 0 5px 30px rgba(0,6,20,0.5);
}
.specialButton,
#mainGallery .slideText a{
    position:relative;
    color:#fff;
    padding: 12px 32px 12px 12px;
    margin-right:24px;
    box-shadow: 1px 2px 1px rgba(0,0,0,0.4);
    overflow:hidden;
    white-space: nowrap;
}#mainGallery .slideText a{
    background: #9a8543;
}
.specialButton:after,
#mainGallery .slideText a:after{
    position: absolute;
    top: 0;
    bottom: 0;
    display: inline-block;
    font-family: "FontAwesome";
    content: "\f054";
    padding: 12px 8px;
    background:#fff;
    vertical-align:top;
    color: #9a8543;
    margin-left: 12px;
    transform: skew(-19deg);
    border-right: 4px solid #9a8543;
}

.slash:before,
#mainGallery .slideText h2:before{
    content: "";
    background: #fff;
    background: currentColor;
    height: 1em;
    width: 2px;
    margin-top: 0.25em;
    margin-left: -12px;
    position: absolute;
    transform: skew(-20deg);
}

.galleryBtns > *{
    position: absolute;
    width: 48px;
    height: 48px;
    display: block;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    transition: 0.3s;
    -webkit-transition: 0.3s;
    color: #fff;
    text-align: center;
    line-height: 48px;
    background: #9a8543; /*#9a8543*/;
}
.galleryBtns > *:hover{
    background: #3db5e6;
}
.galleryBtns > .next{
    right:0;
}
.galleryNav{
    position: absolute;
    z-index: 3;
    bottom:0px;
    width:100%;
    text-align:center;
    height:38px;
}
.galleryNavBtns{
    position:relative;
    background: #101820;
    display:inline-block;
    margin:0; padding:0;
    height:40px;
    text-align:center !important;
}
.galleryNavBtns:before,
.galleryNavBtns:after{
    content:"";
    position:absolute;
    top:0;
    width:56px;
    height:40px;
}.galleryNavBtns:before{
    left:-56px;
    background: url(img/shape-left.png) no-repeat right bottom;
}.galleryNavBtns:after{
    right:-56px;
    background: url(img/shape-right.png) no-repeat left bottom;
}
.galleryNavBtns >*{
    display: inline-block;
    background: #9a8543;
    border:3px solid #fff;
    border-radius:50%;
    margin: 12px 9px 12px 4px;
    width:16px;
    height:16px;
    padding: 0 4px;
    cursor:pointer;
    transition: 0.3s;
    -webkit-transition: 0.3s;
}
.galleryNavBtns >*:hover{
    background: #3db5e6;
}
.galleryNavBtns >*:last-child{
    margin-right: 4px;
}
.galleryNavBtns >*.active{
    background:#fff;
    transform: scale(1.3);
}



/*
EXTRAS
*/
.prettyAnchor a{
    color:#9a8543;
    font-weight:300;
    font-size:1.2em;
}
.prettyAnchor a:after{
    display: inline-block;
    position:relative;
    font-family: "FontAwesome";
    content: "\f054";
    transition: 0.3s;
    -webkit-transition: 0.3s;
    padding-left:4px;
}
.prettyAnchor a:hover:after{
    transform: translateX(4px);
    -webkit-transform: translateX(4px);
}



[class^=underline]{
    position:relative;
}
[class^=underline]:after{
    position:absolute;
    margin: 0 auto;
    left:0; right:0;
    bottom: -10px;
    content:"";
    width:36%;
    height:1px;
    background: rgba(255,255,255, 1);
    opacity:0.5;
}
[class^=underline]:before{
    position:absolute;
    margin: 0 auto;
    left:0; right:0;
    bottom: -12px;
    content:"";
    width:5px; height:5px;
    border-radius:50%;
    background: rgba(255,255,255, 1);
    opacity:0.5;
}
.underline-2:after{
    background: rgba(16,24,32, 0.3);
}
.underline-2:before{
    background: rgba(16,24,32, 0.3);
}

[style*='background-image']{
    background: none 50%;
    background-size: cover;
}

.newsBox{
    padding-top:120px;
    border-right:1px solid rgba(255,255,255,0.3);
}
.newsBox:hover{
    color:#fff;
}
.newsBox-sq{
    position:relative;
    overflow: hidden;
}
.newsBox-thumb,
.newsBox-date,
.newsBox-tag{
    float:left;
    width:76px;
    height:76px;
}
.newsBox-date{
    /*background: #8a8d8e;*/
    line-height:20px;
    padding:16px 9px;
}
.newsBox-date span{
    display: block;
}
.newsBox-date b{
    font-size:26px;
}
.newsBox-date span+span{ /*year*/
    font-size:26px;
    font-weight:100;
}
.newsBox-tag{
    width: auto;
    white-space: nowrap;
    font-size:26px;
    line-height:102px;
    font-weight: 100;
    padding-left:8px;
}





.yachtBox{
    border-right: 1px solid rgba(255,255,255,0.3);
}
.yachtBox img{
    width:100%;
    height:310px;
}
.yachtBox2 img{
    height:200px;
}
.yachtBox2 h4{
    margin:8px 0;
}
.yachtBox2 a{
    display:inline-block;
    margin:8px 0;
}
.badge-discount{
    background:#fff;
    border: 3px solid #9A8543;
    position: absolute;
    right:24px;
    top:-32px;
    width: 64px;
    height: 64px;
    line-height: 51px;
    color: #9A8543;
    text-align:center;
    font-weight:bold;
    font-size: 24px;
    border-radius:50%;
    letter-spacing: -2px;
    box-shadow: 0 0 0 4px #3db5e6;
}
.badge-discount sup{font-size:12px;}


#partners img{
    display:inline-block;
    vertical-align:middle;
    height: 56px !important;
    width: auto !important;
    margin: 4px 8px;
}


/*
GOOGLE MAP
*/
#map_wrapper {
    background:#3db5e6;
    position:relative;
    height: 460px;
    margin: 0px;
    padding: 0px;
}
#map_route,
#map_canvas {
    position:absolute;
    width: 100%;
    height: 100%;
    transform: translateZ(0);
}
/* google maps infoWindow **/
.info_content{
    color:#234;
    width:320px;
    padding-top:15px;
    padding-left:15px;
    padding-bottom:15px;
}
.info_content p{
    padding:0; margin:0;
}
.info_content h4{
    padding:12px 0; margin:0;
}
.info_content img.full{
    margin-right:0;
    width:auto;
    max-height:60px;
    height:auto;
}
.info_content a.btn{
    background:#3db5e6;
    color:#fff;
    font-weight:bold;
    display:inline-block;
    vertical-align:middle;
    margin-top:3px;
    padding:4px 10px;
}
div.gm-style-iw{ /* FIX scrollbar apperance */
    overflow:hidden !important;
}
/* ZOOM Custom controls (mapzoomcontrols.js and js.js) */
.customZoomControls{
    margin: 0 24px;
    width: 48px;
}
.customZoomControls-zoomIn,
.customZoomControls-zoomOut{
    user-select:none;
    -ms-user-select:none;
    -moz-user-select:none;
    -webkit-user-select:none;
    cursor : pointer;
    display:inline-block;
    text-align:center;
    width:48px;
    height:48px;
    line-height:48px;
    font-size:30px;
    font-weight:bold;
    background: #9a8543;
    color:#fff;
    margin:3px 0;
    -webkit-transition:0.3s;
    transition:0.3s;
    border: 2px solid transparent;
}
.customZoomControls > div:hover{
    border: 2px solid #fff;
}



/*
FANCYFORM
*/
.fancyform > * {
    margin: 0.5em 0;
}
.fancyform label{
    position:relative;
    display:block;
}
.fancyform label:after{
    content:"";
    position:absolute;
    bottom:1px;
    background:transparent;
    height:1px;
    width:0px;
    left:50%;
    position:relative;
    display:block;
    -webkit-transition:0.4s;
    transition:0.4s;
}
.fancyform label:hover:after{
    background: #444;
    left:0;
    width:100%;
}
.fancyform textarea{
    resize:vertical;
    min-height:6em;
}
.fancyform input[type=text],
.fancyform textarea{
    font:16px/1.2 sans-serif;
    color: #101820;
    box-sizing:border-box;
    width:100%;
    border:none;
    border-bottom:1px solid #fff;
    display:inline-block;
    vertical-align:top;
    padding:12px 0;
    background: rgba(255,255,255,0);
    -webkit-transition:0.3s;
    transition:0.3s;
}
.fancyform input[type=text]:focus,
.fancyform textarea:focus{
    outline:none;
    border-bottom:1px solid #101820;
}
/*Contact change a bit the styles */
#contact .fancyform input[type=text],
#contact .fancyform textarea{
    border-bottom:1px solid #fff;
}
#contact .fancyform input[type=text]:focus,
#contact .fancyform textarea:focus{
    outline:none;
    border-bottom:1px solid #fff;
}
#contact .fancyform label:hover:after{
    background: #fff;
    left: 0;
    width: 100%;
}
/* Placeholders */
.fancyform label > span.placeholder{
    position: absolute;
    left: 0;
    top: 13px;
    font-size: 14px;
    color: #fff;
    -webkit-transition: 0.3s;
    transition: 0.3s
}
.fancyform input[type=text]:focus+span.placeholder,
.fancyform textarea:focus+span,
.fancyform input[type=text].hasVal+span.placeholder,
.fancyform textarea.hasVal+span.placeholder{
    color:#fff;
    top:0;
    opacity:0.7;
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
}
.fancyform input[type=text]:focus+span.placeholder,
.fancyform textarea:focus+span.placeholder{
    color: #101820;
}
.btn-submit{
    cursor:pointer;
    display:inline-block;
    vertical-align:bottom;
    padding:12px;
    background: #fff;
    -webkit-transition:0.3s;
    transition:0.3s;
}
.btn-submit:hover{

}
.btn-submit i{
    -webkit-transition:0.3s;
    transition:0.3s;
}
.btn-submit:hover i{
    -webkit-transform: translateX(3px);
    transform: translateX(3px);
}



.video-full{
    position: fixed;
    left: 50%; 
    top: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    min-width: 100%; 
    min-height: 100%; 
    width: auto; 
    height: auto;
    z-index: -2; 
    overflow: hidden;
    background: #101820;
    background-size: cover;
}



/*
%EMAIL
*/
.batman{position:absolute; left:-99999px;}
.mail-send-submit{cursor:pointer;}
.mail-send-info{display:none; padding:10px 16px; color:#fff;}




/*
%GRID OVERRIDES
*/
.font-xl{
    font-weight:300;
}


.ico-32{
    height:32px;
    vertical-align:middle;
}


/*
%PAGE-SPECIFIC
*/
#about img.self-contained{
    width:210px;
    height:210px;
    padding: 0;
}
#about [class*=cell-] img{
    border: 2px solid #fff;
    box-shadow: 0 0 0 4px #9a8543;
    transition: 0.3s;
    -webkit-transition: 0.3s;
}
#about [class*=cell-]:hover img{
    box-shadow: 0 0 0 4px #3db5e6;
}


/*
%CSS %FX
*/
[data-cssfx]       {transition: 0.3s;-webkit-transition: 0.3s;}
[data-cssfx*="0.3"]{transition: 0.3s;-webkit-transition: 0.3s;}
[data-cssfx*="0.6"]{transition: 0.6s;-webkit-transition: 0.6s;}
[data-cssfx*="0.9"]{transition: 0.9s;-webkit-transition: 0.9s;}
[data-cssfx*="1.2"]{transition: 1.2s;-webkit-transition: 1.2s;}
[data-cssfx*="1.5"]{transition: 1.5s;-webkit-transition: 1.5s;}
[data-cssfx*="1.8"]{transition: 1.8s;-webkit-transition: 1.8s;}
[data-cssfx*="show"]{
    opacity:0;
    visibility: hidden;
}
[data-cssfx*="hide"]{
    opacity:1;
    visibility: visible;
}
/* %FADE */
[data-cssfx-hover]:hover [data-cssfx*="show"]{
    opacity:1;
    visibility: visible;
}
[data-cssfx-hover]:hover [data-cssfx*="hide"]{
    opacity:0;
    visibility: hidden;
}
/* %SCALE */
[data-cssfx-hover]:hover [data-cssfx*="scale"],
[data-cssfx-hover]:hover[data-cssfx*="scale"]{
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
}
/* %ROTATIONS */
[data-cssfx-hover]:hover [data-cssfx*="rotate5"]{
    transform: rotate(5deg);
    -webkit-transform: rotate(5deg);
}
[data-cssfx-hover]:hover [data-cssfx*="rotate-5"]{
    transform: rotate(-5deg);
    -webkit-transform: rotate(-5deg);
}


/*
%TABBED PAGES
*/
ul[data-slide]{
    list-style:none;
    padding:0;
    margin:0;
    overflow:auto;
}
ul[data-slide] li{
    float:left;
}
ul[data-slide] li a{
    display: block;
    text-align:center;
    padding:24px 16px;
    background: #9a8543;
    color:#fff;
    border-left:1px solid #fff;
    transition: 0.3s;
    -webkit-transition: 0.3s;
}
ul[data-slide] li a:hover{
    background: #9a8543;
    color:#fff;
    opacity:0.8;
}
ul[data-slide] li a.active{
    background:#fff;
    color:#9a8543;
}
[data-slide-pages]{
    position:relative;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    transition: 0.5s;
    white-space: nowrap;
    font-size: 0;
}
[data-slide-pages] > *{
    font-size: 1rem;
    white-space: normal;
    display: inline-block;
    vertical-align:top;
    width: 100%;
    min-height: 600px;
    min-height: calc(100vh - 148px);
}


/*
%NS_
%Pricelist Filters Labels
*/
.NS_filterSpinner{
    /*display:none;*/
}
.NS_filterWrapper{
    position:relative;
    padding:5px 10px;
    display:inline-block;
    background:#eee;
}
.NS_filterWrapper label{
    display:block;
    cursor:pointer;
}
.NS_filterWrapper .NS_filterDrop{
    white-space:nowrap;
    background:#eee;
    padding:10px;
    position:absolute;
    z-index:3;
    margin-top:5px;
    min-width:100%;
    left:0;
    visibility:hidden;
    opacity:0;
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
    -webkit-transition:0.3s;
    transition:0.3s;
}
.NS_filterWrapper:hover .NS_filterDrop{
    visibility:visible;
    opacity:1;
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    -webkit-transition:0.3s;
    transition:0.3s;
}
.NS_filterWrapper .stats{
    display:inline-block;
    vertical-align:middle;
    padding:2px 6px;
    border-radius:3px;
    background:rgba(0,0,0,0.05);
}
.NS_filterWrapper .stats.on{
    background: #3db5e6;
    color: #fff;
}
.labelsToggler{
    cursor:pointer;
}

/*
%NS_
%TABLE
*/
.NS_pricelist_table{
    table-layout: auto;
    border-collapse: collapse;
}
.NS_pricelist_table th{
    text-align:left;
    vertical-align: bottom;
    font-weight: 300;
    color: #9A8543;
}
.NS_pricelist_table td{
    vertical-align: middle;
    padding: 0;
    -webkit-transition:0.2s; transition:0.2s;
    position:relative;
    border-left:0;
    border-right:1px solid #9A8543;
    cursor:pointer;
}
.NS_pricelist_table tr:hover td{
    background:#fafafa;
}
.NS_pricelist_table td:nth-of-type(n+3):hover{
    color:#3db5e6;
}
.NS_pricelist_table td.yachtModelName{
    width: 180px;
    padding: 0 10px 0 20px;
}
.NS_pricelist_table .yachtImage{
    width:120px;
}
.NS_pricelist_table .yachtImage img{
    position:relative;
    width:120px;
    transition: 0.3s; -webkit-transition: 0.3s;
    background:#fff;
    border-bottom: 1px solid #fff;
}
.NS_pricelist_table tr:hover .yachtImage img{
    transform: scale(1.1); -webkit-transform: scale(1.1);
    z-index:2;
    box-shadow: 0 0 0 4px #fff;
}
.jQ_tdDate{
    position:absolute;
    top:0;
    padding:4px 12px;
    font-size:0.8em;
    display:none;
    background: #9A8543;
    color:#fff;
}

/*
%NS_
%STARS RATING EUMINIA
*/
span.stars,
span.stars>* {
    display: inline-block;
    vertical-align:top;
    background: url(img/stars.png) 0 -16px repeat-x;
    width: 80px;
    height: 16px;
}
span.stars>*{
    max-width:80px;
    background-position: 0 0;
}

/*
%DARKBOX
*/
[data-darkbox]{ /* add cursor to clickable darkbox items */
    cursor:pointer;
    backface-visibility:hidden;
}
#darkbox{
    position:fixed;
    z-index:9999;
    background:rgba(0,0,0,0.8) no-repeat none 50%;
    background-size: contain;
    box-shadow:0 0 0 3000px rgba(0,0,0,0.8);
    opacity:0; 
    visibility:hidden;
}
#darkbox.on{ 
    opacity:1;
    visibility:visible;
    height:90% !important;
    width:90% !important;
    left:5% !important;
    top:5% !important;
}
#darkbox:after{
    position:absolute;
    right:0; top:0;
    font-size:2em;
    content:"\2A2F";
    color:#fff;
    cursor:pointer;
}
/*prev next buttons*/
#darkbox_prev,
#darkbox_next{
    cursor:pointer;
    user-select:none; -webkit-user-select:none;
    position:absolute;
    top:50%;
    margin-top:-25px;
    height:50px;
    width:50px;
    -webkit-transition:0.3s; transition: 0.3s;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}
#darkbox_prev:hover,
#darkbox_next:hover{
    border-color: #09c;
}
#darkbox_prev{
    left: -2px;
    -o-transform: rotate(-135deg);
    -ms-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
}
#darkbox_next{
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    right: -2px;
}
#darkbox-description{
    position: absolute;
    width:100%;
    color:#fff;
    bottom:5px;
    text-align:right;
    text-shadow: 0 1px 1px #000;
}
#darkbox-description a{
    color:#fff;
    font-weight:bold;
}
#darkbox sub{font-size:10px;}

/*
%POPUP WINDOW
*/
#popup_window{
    position:fixed;
    background: rgba(0,0,0,0.7);
    display:none;
    left: 0;
    top: 0;
    bottom:0;
    right:0;
    z-index:999999;
    text-align:center;
}
#popup {
    background: #fff;
    margin: 25px auto; margin: 5vh auto;
    position: relative;
    display:inline-block;
    overflow:auto;
    padding:24px 0;
    text-align: left;
}
#popup_close{
    position:absolute;
    z-index:2;
    padding:8px;
    right:15px;
    top:10px;
    cursor:pointer;
    color: #9a8543;
    font-size:1.2em;
    cursor:pointer;
}
#popup_close:hover{ }
.popup_content{
    position:relative;
    max-width:1200px;
    padding:0 24px;
    width:80vw;
    display:none;
    max-height:450px;
    max-height:76vh;
    overflow-y:auto;
}
.popup_content_widthAuto{
    width:auto !important;
}

[data-href]{
    cursor:pointer;
}

/*
%ALERT BOX
*/
.alert-box{
    position:relative;
    padding: 8px 12px;
    background:rgba(255,255,255,0.1);
    padding-right:36px;
}
.alert-box i.fa-times{
    position:absolute;
    right:8px; top:5px;
    cursor:pointer;
}
.alert-box.error{
    background: #f00;
    color:#fff;
}
.alert-box.success{
    background: #3db5e6;
    color:#fff;
}
.alert-box.info{
    background: #3db5e6;
    color:#fff;
}

/*
%SOCIAL WALL
*/
#wall{
    margin:36px;
    border: 1px solid #eee;
    border-width: 1px 0 0 1px;
}
.box{
    position:relative;
    display:inline-block;
    height: 320px;
    width: 25%;
    vertical-align:top;
    border: 1px solid #eee;
    border-width: 0 1px 1px 0;
    transition: width 0.3s, height 0.3s;
    -webkit-transition: width 0.3s, height 0.3s;
}
.box:hover{
    z-index:1;
}
.box .postTitle{
    min-height: 1.7em;
}
.box .post{
    position:absolute;
    left:0; right:0; top:0; bottom:0;
    padding: 24px;
    color:#fff;
    font-weight: 300;
    line-height: 1.8em;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.box .postMessage::first-line{
    font-weight: 400;
}
.box .post .postInfo{
    color:#aaa;
    font-size:12px;
}
.box .post .postInfo span{
    float:right;
}
.box:hover .post{
    z-index:6;
    color: #fff;
}
.box:hover a{
    color: inherit;
}
.box .postImage{
    position:absolute;
    /*z-index:5;*/
    top:0; left:0; right:0; bottom:0;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    background: #2866B1 none 50% no-repeat;
    background-size: cover;
    /*opacity:0;*/
    box-shadow: none;
}
.box .postImage:after{
    content: "";
    position:absolute;
    top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.6);
}
.box:hover .postImage{
    top:-15px; left:-15px; right:-15px; bottom:-15px;
    padding:30px;
    opacity:1;
    box-shadow: 0 0 0 2px #fff;
}
.box .postLink{
    position:absolute;
    bottom:12px;
    right:12px;
    padding:12px;
    font-size:14px;
}

/*
%PALETTE
*/
.bg-1{background: #101820; color:#fff;}
.bg-1-3{background:rgba(16,24,32, 0.3);}
.bg-1-5{background:rgba(16,24,32, 0.5);}
.bg-1-7{background:rgba(16,24,32, 0.7); color:#fff;}
.bg-1-8{background:rgba(16,24,32, 0.8); color:#fff;}
.bg-1-9{background:rgba(16,24,32, 0.9); color:#fff;}
.bg-2{background: #3d3935; color:#fff;}
.bg-3{background: #9a8543; color:#fff;}
.bg-3-7{background:rgba(154,133,57,0.7); color:#fff;}
.bg-4{background: #8a8d8e; color:#fff;} .bg-4 a{color:#fff;}
.bg-4-7{background:rgba(138,142,142,0.7);}
.bg-4-8{background:rgba(138,142,142,0.8);}
.bg-5{background: #3db5e6; color:#fff;} .bg-5 a{color:#fff;}
.bg-5-2{background: rgba(60,180,230,0.2);}
.bg-5-7{background: rgba(60,180,230,0.7); color:#fff;}
.bg-5-8{background: rgba(60,180,230,0.8); color:#fff;}
.bg-5-9{background: rgba(60,180,230,0.9); color:#fff;}
.bg-g{background: #f1f3f7;}
.bg-w{background: #fff;}
.bg-w-1{background: rgba(255,255,255,0.1);}
.bg-w-6{background: rgba(255,255,255,0.6);}
.bg-w-8{background: rgba(255,255,255,0.8);}
.bg-w-9{background: rgba(255,255,255,0.9);}
.bg-b{background: #000;}
.bg-tw{background:#1DA1F2;}
.bg-fb{background:#3C568B;}
.bg-patt-1{
    background: url(img/patt-1.png);
}
.invert a{color:#fff;}
.bg-grad{
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#101820+0,101820+100&0.48+0,0.8+100 */
    background: -moz-linear-gradient(top,  rgba(16,24,32,0.48) 0%, rgba(16,24,32,0.8) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(16,24,32,0.48) 0%,rgba(16,24,32,0.8) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(16,24,32,0.48) 0%,rgba(16,24,32,0.8) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7a101820', endColorstr='#cc101820',GradientType=0 ); /* IE6-9 */
}
.bg-grad-2{
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#101820+0,101820+100&0.2+0,0.5+100 */
    background: -moz-linear-gradient(top,  rgba(16,24,32,0.2) 0%, rgba(16,24,32,0.5) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(16,24,32,0.2) 0%,rgba(16,24,32,0.5) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(16,24,32,0.2) 0%,rgba(16,24,32,0.5) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#33101820', endColorstr='#80101820',GradientType=0 ); /* IE6-9 */    
}
.color-1{color: #101820;}
.color-2{color: #3d3935;}
.color-3{color: #9a8543;}
.color-4{color: #8a8d8e;}
.color-5{color: #3db5e6;}
.color-w{color: #fff;}
.opacity-09{opacity:0.9;}
.opacity-08{opacity:0.8;}
.opacity-07{opacity:0.7;}
.opacity-06{opacity:0.6;}
.border-r-1-w{border-right: 1px solid rgba(255,255,255,0.3);}

.blend-0, .blend-normal{ mix-blend-mode: normal; }
.blend-1, .blend-multiply{ mix-blend-mode: multiply; }
.blend-2, .blend-screen{ mix-blend-mode: screen; }
.blend-3, .blend-overlay{ mix-blend-mode: overlay; }
.blend-4, .blend-darken{ mix-blend-mode: darken; }
.blend-5, .blend-lighten{ mix-blend-mode: lighten; }
.blend-6, .blend-color-dodge{ mix-blend-mode: color-dodge; }
.blend-7, .blend-color-burn{ mix-blend-mode: color-burn; }
.blend-8, .blend-hard-light{ mix-blend-mode: hard-light; }
.blend-9, .blend-soft-light{ mix-blend-mode: soft-light; }
.blend-10, .blend-difference{ mix-blend-mode: difference; }
.blend-11, .blend-exclusion{ mix-blend-mode: exclusion; }
.blend-12, .blend-hue{ mix-blend-mode: hue; }
.blend-13, .blend-saturation{ mix-blend-mode: saturation; }
.blend-14, .blend-color{ mix-blend-mode: color; }
.blend-15, .blend-luminosity{ mix-blend-mode: luminosity; }

/*
MAIN %MENU
*/
.logo{
    height: 56px;
    margin: 6px 24px 5px;
}
.logooverlay{
    position:absolute;
    z-index:1;
    top:0;
    left:0; width:100%;
    height:100%;
    opacity:0;
}
#menu-container{
    position: fixed;
    z-index:99;
    width:100%;
    top:0;
    left:0;
    background:#101820;
    box-shadow: 0 5px 10px rgba(0,0,0,0.3);
}
#menu ul{
    margin:0;
    padding: 0;
}
#menu li{
    position:relative;
    display:inline-block;
}
#menu li a{
    display:block;
    padding: 24px 12px;
    color:#fff;
    transition: 0.3s;
    white-space: nowrap;
    text-transform : uppercase;
}
#menu a.active{
    background:#9a8543;
    color:#fff;
}
#menu a:not(.active):hover{
    color:#fff;
    background:#9a8543 /*#3db5e6*/;
}

#menu li ul{
    visibility:hidden;
    opacity:0;
    position:absolute;
    display:none;
    transition:0.0s; -webkit-transition: 0.0s;
}
#menu li:hover{
    background:#3d3935;
}
#menu li:hover > ul{
    display:block;
    visibility: visible;
    opacity:1;
    background:#3d3935;
        transition:0s; -webkit-transition: 0s;
}
#menu li li{
    display: block;
}
#menu li li ul{
    right:100%;
    top:0;
}
#menu li li a{
    display:block;
    padding: 12px 32px;
}
#menu ul ul ul{
    max-height: 50vh;
    overflow-y:auto;
    overflow-x:hidden;
}




.jQ_Hslider_cell{
    transition:0.3s;
    -webkit-transition:0.3s;
}
.jQ_Hslider_cell:hover{
    background: #62c7ef;
}



/*
%MEDIA AND OVERRIDES
*/

.hide,
.hidden{
    display:none;
}


/* md */
@media (max-width: 1200px)  {

}

/* sm */
@media (max-width: 768px)  {
    #mainGallery .slideText h2 {
        font-size: calc(100vw / 12) ;
    }
    .galleryNav{
        border-bottom: 4px solid #101820;
    }

    /*
    %MENU %MOBILE
    */
    #mobileMenuButtons{
        position:absolute;
        height:0;
        left:0;
        right:0;
        top:0;
        font-size: 32px;
    }
    #mobileMenuButtons a{
        display:block;
        padding:8px;
        position:absolute;
        z-index:2;
        cursor:pointer;
    }
    #mobileMenuButtons a:nth-child(1){
        left:0;
    }
    #mobileMenuButtons a:nth-child(2){
        right:0;
    }
    #menu{
        visibility:hidden;
        opacity:0;
        position:fixed;
        top:0;
        bottom:0;
        transition: 0.3s;
        -webkit-transition: 0.3s;
        transform: translateY(-30px);
        -webkit-transform: translateY(-30px);
        background:rgba(16,24,32, 0.9);
    }
    #menu.open{
        visibility:visible;
        opacity:1;
        transform: translateY(0px);
        -webkit-transform: translateY(0px);
    }
    #menu > ul{
        position:absolute;
        top:50%;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        width:100%;
    }
    #menu ul ul{
        display:none;
    }
    #menu li{
        position:relative;
        display:block;
    }
    #menu li a{
        display:block;
        padding:8px 24px;
    }
}