@charset "utf-8";

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background-color: #222;
    border-left: 1px solid #013;
}
::-webkit-scrollbar-thumb {
    background-color: #1ae;
    border-left:1px solid #222;
}
::-webkit-scrollbar-thumb:hover {
    background-color: #2bf;
}

*{margin:0; padding:0;}

html, body{ height:100%; }
body{
    font: 200 1em/1.5 'Open Sans', Helvetica, Arial, sans-serif;
    color:#555;
    overflow-x:hidden;
    /*background:#06347b;*/
    background:#333333;
}


#email,
.hiddenField,
.batman{position:absolute;left:-99999px;}
#submit-form{cursor:pointer;}
.submitInfo{backgrund:#999; display:none;padding:10px;color:#fff;}

.row, .content{
}
.row:before, .content:before,
.row:after, .content:after {
    content: " ";
    display: table;
}
.row:after, .content:after {clear: both;}


.c1, .c2, .c3, .c4, .c5, .c6, .c7, .c8, .c9, .c10, .c11, .c12{
    display: inline-block;
    vertical-align:top;
    position: relative;
    float: left;
    margin: 5px 0.5%;
}
.c1 {width: 7.333%;}
.c2 {width: 15.666%;}
.c3 {width: 24%;}
.c4 {width: 32.333%;}
.c5 {width: 40.666%;}
.c6 {width: 49%}
.c7 {width: 57.333%;}
.c8 {width: 65.666%;}
.c9 {width: 74%;}
.c10{width: 82.333%;}
.c11{width: 90.666%;}
.c12{width: 99%;}

h1, h2, h3, h4, h5, h6{
    /*font-family: 'Oranienbaum', TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif;*/
    color: #373839; /*#06347b;*/
    font-weight:200;
    /*font-variant: small-caps;*/
}
h1, h2, h3{
    letter-spacing:-0.02em;
}
h3, h4{text-transform: uppercase;}
h1 { font-size:3em;   margin: 0.5em 0 1em 0; }
h2 { font-size:2.3em; margin: 0.6em 0; }
h3 { font-size:1.5em; margin: 0.4em 0; }
h4 { font-size:1.3em; margin: 0.3em 0; color:#999;}
p,
ul, ol { margin:0.4em 0; }
ul{
    list-style:none;
}
hr{
    display:block;
    margin:15px 0;
    background:#ddd;
    height:1px;
    border: none;
}
.article p{
    text-align:justify;
}
.article ul{
    list-style-type: none;
}
.article ul li{
    position:relative;
    padding-left: 1.7em;
    margin: 0.5em 0;
}
.article ul li:before{
    position:absolute;
    content: "•";
    left:0.7em;
}

a { text-decoration:none; color: #06347b ;}
a[href*='.pdf']{
    display:inline-block;
    width:90px;
    height:104px;
    font-size:1.1em;
    font-weight:400;
    color:#fff;
    padding: 15px 129px 15px 15px;
    background: rgba(227, 73, 71, 0.8) url("img/ico-pdf-large.jpg") no-repeat right 50% / auto 100%;
    transition: 0.4s;
}
a[href*='.pdf']:hover{
    transform: scale(1.07);
    color:#fff;
    background-color:  rgba(227, 73, 71, 0.6)
}
img { vertical-align:middle; }
img.articlePrimaryImage{
    height:400px;
    height:50vh;
    width:100%
}
a img { border:0; outline:none; }
.cms-article p img{
    /*border:10px solid #fff;
    box-shadow: 0 2px 3px -1px #777;*/
    height:220px;
    margin:0 1px 1px 0;
    display:inline-block;
}
input[type=button]{
    color:#fff;
    display:inline-block;
    vertical-align:middle;
    background: #184284;
    border-bottom:2px solid #041E46;
    border:none;
    padding:0.4em 10px;
}
/* QUOTES */
blockquote,
.blockquote,
.quote{
    font-family: Georgia, serif;
    font-size: 1em;
    font-style: italic;
    width: 26em;
    margin: 0.25em 0;
    padding: 0.25em 0 0.25em 2.5em;
    line-height: 1.45;
    position: relative;
    color: #667;
}
blockquote:before,
.blockquote:before,
.quote:before{
    display: block;
    content: "\201C";
    font-size: 80px;
    position: absolute;
    left: -12px;
    top: -20px;
    color: #7a7a7a;
}



#offerDIV{
    position:fixed;
    padding:1.1em;
    z-index:12;
    top:40px;
    right:50px;
    width:210px;
    background: rgba(255,255,255,0.3) url(img/pageLeftBg.png) center 0 / cover;
    color:#fff;
}
#offerDIV > *:first-child{
    margin-top:255px;
}
#offerDIV a{
    color:#fff;
}


/* ::: COLLAPSIBLE jQ */

[data-collapse]:hover,
[data-collapse-visible]:hover{
    border-left:4px solid #1ae;
    color:#1ae;
}
[data-collapse],
[data-collapse-visible]{
    border-left:4px solid transparent;
    position:relative;
    padding:0.4em 0;
    padding-left:21px;
    cursor:pointer;
    transition: 0.3s;
}
.collapse-active{
    border-left:4px solid #041E46 !important;
    color: #041E46;
}
[data-collapsible]{
    border-left:1px solid transparent;
    padding-left:25px;
}
[data-collapsible].collapsed,
[data-collapsible-visible].collapsed{
    border-left:1px solid #ddd;
}
.dropdowns [data-collapsible],
.dropdowns [data-collapsible-visible]{
    padding:15px 0 15px 24px;
}


table {
    font-size:0.8em;
    width:100%;
    border: 1px solid #f7f8f9;
    border-collapse:collapse;
}
table th {
    font-size:16px;
    background:#eee;
    border:1px solid #ddd;
    padding:15px;
    text-align:left;
}
table tr { background:#fff; }
table td { border: 1px solid #ddd; padding: 7px 15px; transition: 0.2s; vertical-align:top; }
table tr:hover { background:#ffffff; }

.hover-icon-goto:after{
    transition: 1s;
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:100%;
    background: rgba(255,255,255,0.3) url(img/icon_open.png) 50% / 20% no-repeat;
}
.hover-icon-goto:hover:after{
    height:100%;
}
.width-max{
    width:100%;
    padding-left:0;
    padding-right:0;
}
.btn{
    border:0;
    box-sizing: border-box;
    display:inline-block;
    vertical-align:middle;
    padding:5px 20px;
    cursor:pointer;
}
.btn > img{ vertical-align: 0px; }
.btn1{ background:#1DA8DF; color:#fff; border-bottom: 2px solid #041E46; }
.btn2{ background:#06347B; color:#fff; border-bottom: 2px solid #041E46; }
.btn3{ background:#2AB0EA; color:#fff !important; border-bottom: 2px solid #041E46; }
.btn4{ background:#Ca122d; color:#fff; border-bottom:2px solid #6D0513;}
.btn5{ background:#B01FC6; color:#fff; border-bottom:2px solid #700C7F;}
input{
    box-sizing: border-box;
    width:100%;
    padding:5px 3px;
}
input.clearable{
    background: #fff url(data:image/gif;base64,R0lGODlhBwAHAIAAAP///5KSkiH5BAAAAAAALAAAAAAHAAcAAAIMTICmsGrIXnLxuDMLADs=) no-repeat right -10px center;
    transition: background 0.4s;
    border:1px solid #ddd;
    padding-right:18px;
}
input.clearable.x  { background-position: right 5px center; } /* (jQ) Show icon */
input.clearable.onX{ cursor: pointer; }              /* (jQ) hover cursor style */

.text-right{text-align:right;}
.text-center{text-align:center;}
.text-small {font-size:70%;}

.content{
    padding:25px 80px;
    /*min-width:900px;*/
}
.content:nth-of-type(even){
    background:#f6f7f8;
    border-top: 1px solid #c5c7c9;
}


.ellipsis{
    position:relative;
    overflow:hidden;
    text-overflow: ellipsis;
}

#logo{ margin-top:53px; }

#menuLeft{
    position:fixed;
    left:0;
    top:0;
    background:no-repeat #041e46 url(img/menuShadow.png) right center / 29px 100% ;
    width:210px;
    height:100%;
    box-shadow: inset -2px 0 0 2px #013;
    z-index:3;
}

/* LANGUAGES MENU */
#menuLeft #bottomNav{
    position:absolute;
    width:100%;
    margin:0px;
    bottom:15px;
    left:0;
    font-size:0.8em;
    text-align:center;
}
#lan-menu{
    position:absolute;
    width:100%;
    height:20px;
    bottom:0;
    color:#ccc;
}
#lan-menu span{ color:#fff; }
#lan-menu ul{
    position:absolute;
    width:100%;
    padding:0;
    border-bottom: 30px solid transparent;
    bottom:0;
    right:0;
    list-style:none;

    transition:0.3s;
    visibility:hidden;
    opacity:0;
    transform: translate3d(0, 50px, 0);
}
#lan-menu:hover ul{
    visibility: visible;
    opacity:1;
    transform: translate3d(0, 0px, 0);
}
#lan-menu ul a{
    display:block;
    padding:4px 0;
    transition:0.2s;
    background:#fff;
}
#lan-menu ul a:hover{
    background:#f0f0f0;
}
#menuLeft p{
    padding-left:21px;
}
#menuLeft input{
    border:0;
    background-color:#041E46;
    border-bottom:1px solid #fff;
    color:#fff;
}


/* ::: NAVIGATION */

#mainNav{
    margin-top: 40px;
}
#menuLeft nav ul{
    list-style:none;
    padding:0;
}
/*#mainNav > li{ text-align:right; }*/
#mainNav li > a{
    text-shadow: 0 1px 0 #000;
    display: block;
    font-size: 0.8em;
    padding: 5px 21px;
    color: #fff;
    text-decoration: none;
    transition:  0.3s;
}
#mainNav li > a{ border-right:4px solid transparent; }
#mainNav li.active > a { border-right:4px solid #1ae; color:#1ae; }
#mainNav li:hover > a { border-right:4px solid #1ae; color:#1ae;}

#mainNav li li > a{ border-left:4px solid transparent; }
/*#mainNav > li li:hover > a { border-left:4px solid #1ae; color:#1ae;}*/

#mainNav:hover li.active a{
    border-right-color:transparent;
}
#mainNav > li > ul{
    margin-top:0;
    background:#06347b;
    position:absolute;
    z-index:20000000;
    top:0;
    left:210px;
    overflow:hidden;
    height:100%;
    display:none;
}
#mainNav > li:hover > ul{
    display:block; /*jQ*/
}
#mainNav li ul li:first-child{
    margin-top:174px;
}
#mainNav li ul li{
    position:relative;
    width:210px;
}
#mainNav li a span{
    color:rgba(255, 255, 255, 0.3);
    float:right;
    /*margin-top:-3px;*/
}

#mainNav [data-toptitle]:before{
    content: attr(data-toptitle);
    position:relative;
    display:block;
    top:75px;
    left:25px;
    width:100%;
    color:#fff;
}


.back-square{
    position:absolute;
    z-index:2;
    left:300px;
    margin-top:-47px;
    top:-1px;
    left:0px;
    display:block;
    position:relative;
    border:1px solid #fff;
    width:45px;
    height:45px;
    text-align:center;
    line-height:40px;
    color:#fff;
    font-size:2em;
    opacity:0.4;
    transition:0.23s;
}
.back-square:hover{
    opacity:0.9;
}



/* ::: jQ for horizMenu */
#jQ_fix_replacer{
    position: relative;
    height: 0;
}
.jQ_stickTop{ 
    position: fixed;
    width: calc(100% - 370px);
    z-index: 1;
    top: 0;
    transition: 0.4s;
}

/* ::: PAGE HORIZ MENU */
.horizMenu {
    border-bottom: 1px solid #ddd;
}
.horizMenu img{ /* SMALL ICON */
    vertical-align:baseline;
}
.horizMenu ul{
    overflow:hidden;
    float:left;
    padding-left:15px;
    border-left:1px solid #ddd;
}
.horizMenu li{
    display: inline-block;
    font-size: 0.8em;
    margin-right: 10px;
}
.horizMenu p{
    float:left;
}
.horizMenu li a{
    transition: 0.2s;
}
.horizMenu b{ /* the section title+link */
    text-transform: uppercase;
    margin-right:10px;
    color:#555;
}
.horizMenu li a:hover,
.horizMenu li.active a{
    color:#1ae;
}
/*.horizMenu li.active a{
    font-weight:bold;
}*/

/* ::: PAGE */
#page{
    position:relative;
    width: calc(100% - 210px);
    margin-left:210px;
    background:#fff;
}

/* ::: HELPERS */
.clearfix:before,
.clearfix:after {
    content:" ";
    display:table;
}
.clearfix:after { clear: both; }

/* ::: GALLERY */
.gallery{
    position:relative;
    height:600px;
    height:80vh;
}
.gallerySlides{
    position:relative;
    height:100%;
}
.gallerySlides > div{
    position:absolute;
    height:100%;
    width:100%;
    color:#fff;
}
.gallerySlides > div h2{
    font: 200 2.2em/1.2 'Open Sans', Helvetica, Arial, sans-serif;
    text-shadow: 0 1px 0 #000;
    font-size:7vh;
    margin-top:8%;
    width:70%;
}
.gallerySlides > div p{
    text-transform: uppercase;
    text-shadow: 0 1px 1px #012;
    color:#fff;
    padding:25px 0;
    font-size:1.3em;
    width: 45%;
    max-width:580px;
}
.gallerySlides > div > *{ /* gallery content */
    color:#fff;
    margin-left:80px;
}
.galleryNav{
    position: absolute;
    bottom:0px;
    width:100%;
    background:rgba(1, 20, 50, 0.82);
    border-bottom:1px solid #eee;
}
/* ::: Gallery thumbnails */
.galleryNavBtns{
    display:inline-block;
}
.galleryNavBtns span{
    cursor:pointer;
    position:relative;
    vertical-align:middle;
    display:inline-block;
    width: 70px;
    height: 70px;
    border-right:1px solid #124;
    background: #000 none no-repeat 50% / cover;
    transition: 0.3s;
    opacity:0.5;
}
.galleryNavBtns span.active{
    opacity: 1;
}
.galleryNavBtns span.active:before{
    content:"";
    border: 10px solid transparent;
    border-left: 10px solid #fff; 
    position:absolute;
    top:50%;
    left:0%;
    margin-top:-9px;
    transform: rotate(0.1deg);
}
.galleryNavBtns span:hover{
    opacity: 1;
}

.galBtn{
    cursor:pointer;
    display:inline-block;
    vertical-align:middle;
    text-align: center;
    color:#041E46;
    background:rgba(255,255,255,1);
    font-size:2em;
    width: 70px;
    height: 70px;
    line-height: 63px;
    transition: 0.3s;
    text-shadow: 0 1px 1px #013;
    margin-right:-3px;
}
.galBtn:hover{
    background: rgba(255,255,255,0.85);
}
.galProgress{
    position: absolute;
    z-index:2;
    top: 0;
    height: 3px;
    width: 0%;
    background: rgba(42, 176, 234, 0.7);
}


/* ::: FORMS */
form input, form textarea, form select {
    color: #444;
    border: 0;
    border-top:1px solid #ccc;
    font: 400 14px/1.1 'Open Sans', Helvetica, Arial, sans-serif;
    width: 400px;
    width: calc(100% - 135px);
    padding:7px;
    outline: 0;
    -webkit-box-shadow: inset 1px 1px 2px rgba(200,200,200,0.3);
    box-shadow: inset 1px 1px 2px rgba(200,200,200,0.3);
    background:#f1f2f3;
}
form input[type=submit]{
    font-size:16px; line-height:1.2em;
    border-left:0;
}
form input[type=submit]{
    width:auto !important;
}
form select{
    padding: 2px 5px;
}
form select option{
    padding:3px 9px;
}
textarea{
    box-sizing: border-box;
}
form {
    font: 400 14px/1.1 'Open Sans', Helvetica, Arial, sans-serif;
    padding:25px 0;
}
form label{
    display:inline-block;
    width:100%;
    margin:5px 0;
    vertical-align:middle;
}
form label span{
    color: #06347B;
    display:inline-block;
    padding:8px 0;
    float:left;
    width:120px;
    margin-right:15px;
}
form label input{
    float:left;
}


/* featured DIV with inset corners */
div.corners {
    background:
        -moz-radial-gradient(0 100%, circle, rgba(204,0,0,0) 14px, #c00 15px),
        -moz-radial-gradient(100% 100%, circle, rgba(204,0,0,0) 14px, #c00 15px),
        -moz-radial-gradient(100% 0, circle, rgba(204,0,0,0) 14px, #c00 15px),
        -moz-radial-gradient(0 0, circle, rgba(204,0,0,0) 14px, #c00 15px);
    background:
        -o-radial-gradient(0 100%, circle, rgba(204,0,0,0) 14px, #c00 15px),
        -o-radial-gradient(100% 100%, circle, rgba(204,0,0,0) 14px, #c00 15px),
        -o-radial-gradient(100% 0, circle, rgba(204,0,0,0) 14px, #c00 15px),
        -o-radial-gradient(0 0, circle, rgba(204,0,0,0) 14px, #c00 15px);
    background:
        -webkit-radial-gradient(0 100%, circle, rgba(204,0,0,0) 14px, #c00 15px),
        -webkit-radial-gradient(100% 100%, circle, rgba(204,0,0,0) 14px, #c00 15px),
        -webkit-radial-gradient(100% 0, circle, rgba(204,0,0,0) 14px, #c00 15px),
        -webkit-radial-gradient(0 0, circle, rgba(204,0,0,0) 14px, #c00 15px);
}

div.corners {
    background-position: bottom left, bottom right, top right, top left;
    -moz-background-size: 50% 50%;
    -webkit-background-size: 50% 50%;
    background-size: 50% 50%;
    background-repeat: no-repeat;
}






#social{
    position:fixed;
    z-index:13;
    right:0;
    top:40px;
}
#social > div{
    position:relative;
    right:0;
    height: 42px;
    display:inline-block;
    clear:both;
    float:right;
    margin-bottom:1px;
    padding-left:15px;
    width:42px;
}
#social:hover > div{
    width:auto;
}
#social img{
    position:absolute;
    z-index:2;
    right:0;
    width:42px;
}
#social > div > span{
    display:inline-block;
    height:42px;
    background:#fff;
    position:relative;
    white-space:nowrap;
    right:42px;
    right:-100%;
    height:42px;
    line-height:42px;
    padding:0 15px;
    padding-right:50px;
    transition: 0.3s;
    font-size:0.8em;
}
#social > div > span:before{
    position: absolute;
    content:" ";
    top: 0;
    height:42px;
    width:0;
    border-top:42px solid #fff;
    border-left:10px solid transparent;
    left: -10px;
}
#social > div:hover > span{
    right:0;
}
#social > div > span input{
    width: auto !important;
}

/* ::: PREFOOTER */
/* USED FOR CLIENTS */
#preFooter{
    border-top:1px solid #ddd;
}
#preFooter img{
    height:55px;
    margin-right:25px;
}


/* ::: FOOTER */

footer{
    background:#333;
    color:#aaa;
    font-size: 0.8em;
}
footer a{
    color:#fff;
}
footer table{
    table-layout: fixed;
    border-collapse: collapse;
    width:60%;
    float:left;
    border:none !important;
}
footer table, footer table tr{
    font-size: 1em;
    background:none;
}
footer table:hover, footer table tr:hover{
    background:none;
}

footer table td{
    width:12%;
    border:none;
    line-height:2em;
    border-left: 1px dotted rgba(100,100,100,0.3);
}

/* ::: INTERAKTIVNI VODIĆ */

#interactiveGuide{
    padding:35px 20px;
    background:#fff;
    width:450px;
    margin: 25px 0;
    border:1px solid #ddd;
}

#interactiveGuide a{
    position:relative;
    display:block;
    color:#fff;
}
#interactiveGuide a:after{
    content:"»";
    position:absolute;
    right:10px;
    top:-4px;
    width:30px;
    height:30px;
    line-height:27px;
    background:#fff;
    border-radius:50%;
    color:#1ae;
    text-align:center;
    cursor:pointer;
}
#guideOverflow{
    overflow:hidden;
    position:relative;
    width:450px;
}
#interactiveGuide > h2{
    padding-bottom:15px;
    margin-bottom:15px;
    border-bottom:1px solid #ddd;
}
#gn{
    margin-bottom:20px;
    font-size:0.8em;
}
#guideOverflow ul{
    margin: 0 !important;
    padding-top:0 !important;
}
#guideOverflow>ul{
    list-style:none;
}
#guideOverflow li{
    background:rgba(17, 170, 238, 1);
    transition:0.2s;
    color:#fff;
    cursor:pointer;
    margin:0 !important;
}
#guideOverflow>ul li{
    list-style:none;
    width:430px;
    padding:15px 10px;
    border-top:1px solid #ddd;
}
#guideOverflow>ul li ul{
    position:absolute;
    width:450px;
    left:450px;
    top:0;
    opacity:0;
    z-index:0;
}
#ggBack{
    display:inline-block;
    vertical-align:middle;
    margin-right:5px;
    width:30px;
    height:30px;
    line-height:27px;
    background:#1ae;
    border-radius:50%;
    color:#fff;
    text-align:center;
    cursor:pointer;
}
#ggBack.disabled{
    cursor:default;
    opacity:0;
    transition:0.3s;
}
.advance:hover{
    background:rgba(17, 170, 238, 1);
}



/* NAKNADNO DODAVANI KOD */
/* Obrazac ponude osiguranja */
#ypform label{
    width:auto;
}
#ypform td input[type=text],
#ypform td select{
    width: calc(100% - 24px);
}
span.text-red{color:#c00;}
.rad,
.ckb{
    cursor:pointer;
}
.rad > input,
.ckb > input{ /* HIDE ORG RADIO & CHECKBOX */
    visibility: hidden;
    position: absolute;
}
/* RADIO */
.rad > i{     /* DEFAULT <i> STYLE */
    font-size:0;
    color:transparent;
    display:inline-block;
    vertical-align:middle;
    width:16px;
    height:16px;
    border-radius:50%;
    border:1px solid #444;
    background:#eee;
    box-shadow: inset 0 0 0 8px #fff;
    transition: 0.2s;
}
.rad:hover > i{ /* HOVER <i> STYLE */
    background:#ddd;
    box-shadow: inset 0 0 0 3px #fff;
}
.rad > input:checked + i{ /* (RADIO CHECKED) <i> STYLE */
    background:   #1ae;
    box-shadow: inset 0 0 0 3px #fff;
}
/* CHECKBOX */
.ckb > i{     /* DEFAULT <i> STYLE */
    font-size:0;
    color:transparent;
    display:inline-block;
    vertical-align:middle;
    width:30px;
    height:16px;
    border-radius:10px;
    border:1px solid #444;
    background:#eee;
    box-shadow: inset 0 0 0 8px #fff;
    transition: 0.2s;
}
.ckb > input + i:after{
    content:"";
    display:inline-block;
    vertical-align:top;
    width:12px;
    height:12px;
    margin:2px;
    background:#ddd;
    border-radius:50%;
    transition:0.2s;
    margin-left:1px;
}
.ckb > input:checked + i:after{ /* (RADIO CHECKED) <i> STYLE */
    margin-left: 15px;
    background: #1ae;
}


td.padded, div.padded{padding-left:50px;}
span.padded{width:60%;display:inline-block;}
/* #end NAKNADNO DODAVANI KOD */





/* MOBILE MENU ICON */
.small-menu-toggler{
    position:fixed;
    z-index:9999999;
    top:0px;
    left:0px;
    z-index:11;
    font-size:1.8em;
    font-weight:bold;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
    -webkit-transform: translate3d(0px, 0px, 0px);
    transform: translate3d(0px, 0px, 0px);
}
.small-menu-toggler i{
    font-style:normal;
    position:absolute;
    left:10px;
    top:5px;
    color:#1ae;
    transition: 0.4s;
    z-index:10000;
}
.small-menu-toggler i.close{
    opacity:0;
    font-size:1.5em;
}
.small-menu-toggler.opened i.bars{
    opacity:0;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}
.small-menu-toggler.opened i.close{
    opacity:1;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}
.small-menu-toggler.opened ~ #menuLeft{
    -webkit-transform: translate3d(0px, 0px, 0px);
    transform: translate3d(0px, 0px, 0px);
}






/* MEDIA QUERIES */
br.large-hide{
    display:none;
}
.large-hide, .small-show{
    position:absolute;
    visibility: hidden;
}

/* medium- */
@media (max-width: 1024px)  {
    #menuLeft li a{
        /*font-size:1.1em !important;*/
    }
    #menuLeft{
        width:210px !important;
    }
    .medium-c4 {width: 33.333%;}
    .medium-c6 {width: 50%;}
    .medium-hide{
        visibility: hidden;
        position: absolute;
    }
    .medium-text-small{
        font-size:0.8em;
    }
}


/* small- */	
@media (max-width: 768px)  {
    body{
        position:static; /* prevent background flickering on scroll */
        background:#ffe;
    }
    h1{font-size:1.8em;}
    h2{font-size:1.5em;}
    h3{font-size:1.2em;}
    img.articlePrimaryImage{
        height:40vh;
        max-height: 300px;
    }
    #menuLeft{
        width: 80%;
        width: 80vw;
    }
    #mainNav li a{
        font-size:0.8em !important;
    }

    .small-c1 {width: 8.333%;}
    .small-c2 {width: 16.666%;}
    .small-c3 {width: 25%;}
    .small-c4 {width: 33.333%;}
    .small-c5 {width: 41.666%;}
    .small-c6 {width: 49%}
    .small-c7 {width: 58.333%;}
    .small-c8 {width: 65.666%;}
    .small-c9 {width: 75%;}
    .small-c10{width: 83.333%;}
    .small-c11{width: 91.666%;}
    .small-c12{width: 99%;}
    .small-hide{
        visibility:hidden;
        position:absolute;
        display:none;
    }
    .large-hide,
    .small-show{
        position: static  /*!important*/;
        visibility: visible /*!important*/;
    }

    /* mobile navigation */

    .small-menu-toggler{
        position:fixed;
        top:0px;
        left:4px;
        cursor:pointer;
        transition: 0.3s;
        -webkit-transition: 0.3s;
        opacity:0.8;
    }
    /*.small-menu-toggler:hover{
            opacity: 1;
    }*/

    .small-menu-toggler ~ #menuLeft{
        position:fixed;
        height:100vh !important;
        top:0;
        height:auto;
        margin-right:0;
        margin:0;
        max-width:100%;
        z-index:10;
        padding:0;
        transform: translate3d(0px, -105%, 0px);
        box-shadow: 0 2px 3px 0 rgba(0,0,0,0.4);
        -webkit-transition: transform  0.45s cubic-bezier(0.51, -0.39, 0.49, 1.32);
        transition: transform  0.45s cubic-bezier(0.51, -0.39, 0.49, 1.32);
        -webkit-transform: translate3d(-105%, 0px, 0px);
    }
    .small-menu-toggler ~ #menuLeft nav{
        padding-top: 25px;
    }
    #page{
        position:relative;
        width: 100%;
        margin-left:0px !important;
    }
    .content{
        padding:0 15px;
    }

    /*gal*/
    .gallery{
        height:60vh;
    }
    .gallerySlides > div > *{
        margin-left: 30px;
    }
    .gallerySlides h2{
        font-size:2em !important;
        width: calc(100% - 60px) !important;
    }
    .gallerySlides p{
        font-size:1em !important;
        width: calc(100% - 60px) !important;
    }

    /* footer */
    footer table{ width:100%; }

    .small-text-right{
        text-align:right;
    }
    .small-text-small{
        font-size:0.8em;
    }
    .small-overflow-x{
        overflow-x: scroll;
    }
    .small-overflow-x > *{
        min-width:600px;
    }

}














/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {

}

/* Smartphones (landscape) ----------- */
@media only screen 
and (min-width : 321px) {
    /* Styles */
}

/* Smartphones (portrait) ----------- */
@media only screen 
and (max-width : 320px) {
    /* Styles */
}

/* iPads (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) {
    /* Styles */
}

/* iPads (landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
    /* Styles */
}

/* iPads (portrait) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
    /* Styles */
}

/* Desktops and laptops ----------- */
@media only screen 
and (min-width : 1224px) {
    /* Styles */
}

/* Large screens ----------- */
@media only screen 
and (min-width : 1824px) {
    /* Styles */
}

/* iPhone 4 ----------- */
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
    /* Styles */
}
